]> git.wh0rd.org - fontconfig.git/blob - ChangeLog
Eliminate pattern freezing
[fontconfig.git] / ChangeLog
1 2006-04-27 Keith Packard <keithp@keithp.com>
2
3 * src/fcinit.c: (FcMemReport):
4 * src/fcint.h:
5 * src/fcpat.c: (FcPatternFini):
6 * src/fcxml.c: (FcParsePatelt):
7 Eliminate pattern freezing
8
9 2006-04-27 Keith Packard <keithp@keithp.com>
10
11 reviewed by: Patrick Lam <plam@mit.edu>
12
13 * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName),
14 (FcDirCacheOpen), (FcDirCacheWrite):
15 * src/fcfreetype.c: (FcFreeTypeQuery):
16 * src/fcint.h:
17 * src/fclist.c: (FcListAppend):
18 * src/fcmatch.c: (FcFontRenderPrepare):
19 * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
20 (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
21 (FcStrUnserialize):
22 Make path names in cache files absolute (NB, cache format change)
23 Stop permitting cache files to be stored in font dirs.
24 Bump cache magic.
25 Don't include /fonts.cache-2 in cache hash construction.
26
27 2006-04-26 Keith Packard <keithp@keithp.com>
28
29 * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheOpen),
30 (FcDirCacheWrite):
31 * src/fcfreetype.c: (FcFreeTypeQuery):
32 * src/fcint.h:
33 * src/fclist.c: (FcListAppend):
34 * src/fcmatch.c: (FcFontRenderPrepare):
35 * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
36 (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
37 (FcStrUnserialize):
38
39 2006-04-25 Patrick Lam <plam@mit.edu>
40 * ChangeLog:
41 * README:
42 * configure.in:
43 * fontconfig/fontconfig.h:
44
45 Bump version to 2.3.95.
46
47 2006-04-25 Behdad Esfahbod <behdad@cs.toronto.edu>
48 reviewed by: plam
49
50 * configure.in:
51 * src/Makefile.am:
52 * src/fcfreetype.c:
53
54 Fix the issues with GNU libiconv vs. libc iconv (which especially
55 appear on Solarii). Approach suggested by Tim Mooney.
56
57 2006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
58 reviewed by: plam
59
60 * src/Makefile.am:
61
62 Include $(top_srcdir), $(top_srcdir)/src before anything else.
63
64 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
65 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
66 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
67 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
68 * src/fcstr.c, src/fcxml.c:
69
70 Shuffle order of includes for building out of srcdir on win32.
71
72 2006-04-20 Patrick Lam <plam@mit.edu>
73 * src/fcmatch.c (FcSortWalk):
74
75 Prevent terrible perf regression by getting the if-condition
76 right (reported by Wouter Bolsterlee).
77
78 2006-04-19 Patrick Lam <plam@mit.edu>
79 Dominic Lachowicz <cinamod@hotmail.com>
80
81 * src/fccache.c (FcDirCacheConsume):
82
83 Implement mmap-like code for Windows using MapViewOfFile.
84
85 2006-04-19 Patrick Lam <plam@mit.edu>
86 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
87
88 Bail gracefully if the cache file does not contain enough data.
89
90 2006-04-14 Patrick Lam <plam@mit.edu>
91 * fonts.conf.in:
92
93 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
94
95 2006-04-14 Patrick Lam <plam@mit.edu>
96 * src/fcname.c (FcObjectToPtrLookup):
97
98 Fix Gecko-exposed segfault from my last hack to
99 FcObjectToPtrLookup. Simplify code and get things straight.
100
101 2006-04-14 Patrick Lam <plam@mit.edu>
102 * fonts.conf.in:
103
104 Actually, just add URW fonts as aliases for all of the PostScript
105 fonts. (reported by Miguel Rodriguez).
106
107 2006-04-13 Patrick Lam <plam@mit.edu>
108 * fonts.conf.in:
109
110 Add an alias 'Standard Symbols L' for 'Symbol'.
111
112 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
113 reviewed by: plam
114
115 * src/fcpat.c: (FcPatternFreeze):
116 Fix memory leak (Coverity defect #2089).
117
118 * src/fcfreetype.c: (GetScriptTags):
119 Ignore script if subtable is missing (Coverity defect #2088).
120
121 2006-04-12 Patrick Lam <plam@mit.edu>
122 * src/fccfg.c (FcConfigSubstituteWithPat):
123
124 Fix possible null pointer dereference (Coverity defect #784)
125 and memory leak (Coverity defects #785, #786).
126
127 2006-04-12 Patrick Lam <plam@mit.edu>
128 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
129
130 Don't copy FcCharSet if we're going to throw it away anyway.
131 (Reported by Kenichi Handa).
132
133 2006-04-11 Ming Zhao <ming@gentoo.org>
134 reviewed by: plam
135
136 * src/fcname.c (FcObjectToPtrLookup):
137
138 Fix bad behaviour on realloc resulting in crash.
139
140 2006-04-11 Patrick Lam <plam@mit.edu>
141 * src/fccache.c (FcGlobalCacheReadDir):
142
143 Don't crash if config is null (Coverity defect #984).
144
145 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
146 reviewed by: plam
147
148 * src/fccharset.c (FcCharSetPutLeaf):
149 * src/fclang.c (FcNameUnparseLangSet):
150
151 Missing bits from previous patches.
152
153 * src/fccharset.c (FcCharSetSubtractCount):
154 Remove extra semi-colon.
155
156 * src/fccfg.c (FcConfigBuildFonts):
157 Fix memory leak in error case (Coverity defects #776, #985).
158
159 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
160 Fix memory leaks (Coverity defects #779, #781)
161 and memory use after free (Coverity defect #780).
162
163 2006-04-11 Patrick Lam <plam@mit.edu>
164 * src/fccharset.c (FcCharSetPutLeaf):
165
166 Properly convert static charsets to dynamic charsets.
167
168 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
169 reviewed by: plam
170
171 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
172 FcPatternFreeze):
173 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
174
175 * src/fclang.c: (FcNameUnparseLangSet):
176 Fix memory leak (Coverity defect #1819).
177
178 * fc-lang/fc-lang.c: (scan):
179 prevent crash when invalid include line is parsed (Coverity defect
180 #763).
181
182 * fc-cat/fc-cat.c: (FcCacheFileRead):
183 Fix potential null pointer access (Coverity defect #1804).
184
185 * src/fcname.c: (FcObjectUnserialize):
186 Remove dead code (Coverity defect #1194).
187
188 * src/fcfreetype.c: (GetScriptTags):
189 Prevent potential null pointer access (Coverity defect #767),
190 ensure error value is read (Coverity defect #1195).
191
192 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
193 reviewed by: plam
194
195 * doc/Makefile.am:
196
197 Survive missing docbook2pdf.
198
199 2006-04-10 Patrick Lam <plam@mit.edu>
200 * fc-case/fc-case.c:
201 * fc-glyphname/fc-glyphname.c:
202 * fc-lang/fc-lang.c:
203
204 Include more stub definitions to make HP-UX's C compiler happy.
205
206 2006-04-10 Patrick Lam <plam@mit.edu>
207 * src/fcname.c (FcObjectUnserialize):
208
209 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
210
211 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
212 reviewed by: plam
213
214 * src/fccfg.c: (FcConfigEvaluate):
215 Fix string memory leak (Coverity defect #1823).
216
217 * src/fccache.c: (FcDirCacheUnlink):
218 Fix memory leak with hash collision (Coverity defect #1824).
219
220 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
221 reviewed by: plam
222
223 * src/fccache.c: (FcGlobalCacheSave):
224 Don't leak header in non-error case (Coverity defect #1825).
225
226 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
227 reviewed by: plam
228
229 * src/fcdir.c (FcDirScanConfig)
230 Don't leak in error cases (Coverity defects #777, #1826)
231
232 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
233 reviewed by: plam
234
235 * src/fccache.c: (FcDirCacheWrite):
236 Fix double free (spotted by Coverity, CID #1965).
237
238 * fc-match/fc-match.c: (main):
239 Check if pattern is not null before using it (Coverity defect #1883).
240
241 * src/fccache.c: (FcDirCacheWrite):
242 Fix memory leak with hash collision (Coverity defect #1829).
243
244 * src/fccfg.c: (FcConfigBuildFonts):
245 Fix memory leak when bail cases (Coverity defect #1828).
246
247 * src/fccache.c: (FcGlobalCacheLoad):
248 Don't leak directory name (Coverity defect #1827).
249
250 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
251 reviewed by: plam
252 * fc-cache/Makefile.am:
253 * fc-cat/Makefile.am:
254 * fc-list/Makefile.am:
255 * fc-match/Makefile.am:
256
257 LD_ADD missing dependencies for binaries. Reported by
258 Edson Alves Pereira.
259
260 2006-04-07 Patrick Lam <plam@mit.edu>
261 * src/fcint.h:
262 * fc-lang/fc-lang.c (main):
263
264 SGI compilation fixes (reported by Christoph Bauer):
265 1) reorder union definition of _FcChar;
266 2) omit .stats =.
267
268 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
269 reviewed by: plam
270 * configure.in:
271 * src/fccharset.c (FcCharSetNeededBytes):
272 * src/fcfs.c (FcFontSetNeededBytes):
273 * src/fcint.h:
274 * src/fclang.c (FcLangSetNeededBytesAlign):
275 * src/fcname.c (FcObjectNeededBytesAlign):
276 * src/fcpat.c (FcPatternNeededBytesAlign,
277 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
278
279 Portability fixes for HP-UX (reported by Christoph Bauer).
280 Replace '__inline__' by AC_C_INLINE and 'inline'.
281 Replace '__alignof__' by 'fc_alignof'.
282
283 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
284 reviewed by: plam
285 * src/fcint.h:
286
287 Move up #include of config.h.
288 Fail if neither inttypes.h nor stdint.h is available.
289 Fixes bug 6171.
290
291 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
292 Patrick Lam <plam@mit.edu>
293 * configure.in:
294 * fc-cache/fc-cache.c:
295 * fc-cat/fc-cat.c:
296 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
297 FcDirCacheConsume, FcDirCacheProduce,
298 FcDirCacheWrite, FcCacheMachineSignature):
299 * src/fcfreetype.c (FcFreeTypeQuery):
300 * src/fontconfig.def.in:
301
302 Make fontconfig compile under MinGW:
303 1) remove unneeded #includes;
304 2) make use of mmap and sysconf conditional;
305 3) replace rand_r by srand/rand if needed;
306 4) use chsize instead of ftruncate; and
307 5) update libtool exports file
308
309 2006-04-07 Patrick Lam <plam@mit.edu>
310 * src/fcdir.c (FcDirScanConfig):
311
312 Eliminate warning.
313
314 2006-04-06 Patrick Lam <plam@mit.edu>
315 * fc-match/.cvsignore:
316 * fc-match/Makefile.am:
317 * fc-match/fc-match.sgml:
318
319 Update documentation for fc-match (SGML-ize it).
320 (reported by Ilya Konstantinov)
321
322 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
323 reviewed by: plam
324 * src/fcdefault.c:
325 * src/fcpat.c:
326 * src/fcxml.c:
327
328 Reduce amount of dirty rss by const'ing some data structures.
329
330 2006-04-06 Patrick Lam <plam@mit.edu>
331 * fc-cache/Makefile.am:
332
333 Don't fail if we can't create or remove
334 $(pkgcachedir) i.e. /var/cache/fontconfig.
335 (reported by Quanah Gibson-Mount).
336
337 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
338 reviewed by: plam
339 * fc-case/fc-case.c:
340 * fc-glyphname/fc-glyphname.c:
341 * fc-lang/fc-lang.c (main):
342 * fc-match/fc-match.c:
343 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
344 FcDirCacheWrite):
345 * src/fcfreetype.c (FcFreeTypeQuery):
346 * src/fclang.c (FcFreeTypeLangSet):
347 * src/fcxml.c:
348
349 Fix intel compiler warnings: make many variables static,
350 eliminate duplicate names, reduce variable scopes, unsigned/signed
351 printf formatting.
352
353 2006-03-24 Mike Fabian <mfabian@suse.de>
354 reviewed by: plam
355 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
356
357 Fix multiarch support (don't destroy multiarch files!)
358
359 2006-03-24 Patrick Lam <plam@mit.edu>
360 * configure.in:
361
362 Require pkg-config. (Thanks Behdad;
363 better solution wanted for libxml2 detection!)
364
365 2006-03-22 Patrick Lam <plam@mit.edu>
366 * src/fcatomic.c:
367
368 On Windows, unlink before rename. Reported by Tim Evans.
369
370 2006-03-15 Patrick Lam <plam@mit.edu>
371 * fc-lang/ab.orth:
372 * fc-lang/ibo.orth:
373
374 Fix typos in orth files. Reported by Denis Jacquerye.
375
376 2006-03-08 Patrick Lam <plam@mit.edu>
377 * Makefile.am:
378 * config/config.guess:
379 * config/config.sub:
380
381 Fix Makefile.am for removal of debian/ directory.
382
383 2006-03-08 Patrick Lam <plam@mit.edu>
384 * .cvsignore
385
386 Ignore debian/ directory for CVS.
387
388 2006-03-08 Patrick Lam <plam@mit.edu>
389 * debian/*
390
391 Now remove debian/ directory.
392
393 2006-03-08 Patrick Lam <plam@mit.edu>
394 * debian/po/*
395
396 Remove debian/ directory from sources. See Debian's subversion
397 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
398 instead.
399
400 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
401 reviewed by: plam
402
403 * fc-lang/ln.orth:
404 * fc-lang/iso639-1, fc-lang/iso639-2:
405
406 Add orthography for Lingala.
407
408 2006-03-08 Carl Worth <cworth@cworth.org>
409 reviewed by: keithp
410
411 * conf.d/Makefile.am:
412 * conf.d/10LohitGujarati.conf:
413
414 Add a configuration file that disables hinting for the Lohit
415 Gujarati font (since the hinting distort some glyphs quite badly).
416
417 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
418 reviewed by: plam
419
420 * src/fcdir.c (FcDirScanConfig):
421
422 Sort directory entries while scanning them from disk;
423 prevents Heisenbugs due to file ordering in a directory.
424
425 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
426 reviewed by: plam
427
428 * src/fcfreetype.c (GetScriptTags):
429 * src/ftglue.c, src/ftglue.h:
430
431 Remove stuff we don't use, make get_{char,short,long} functions
432 of ftglue macros to be inlined.
433
434 * src/fcint.h:
435 * src/fcname.c (FcObjectSerialize):
436
437 Code cleanups (excess prototype, old-style function definition).
438
439 2006-03-05 Patrick Lam <plam@mit.edu>
440 * src/fcpat.c (FcPatternGetString):
441
442 Because we hacked FcPatternGet, we don't really need to expand the
443 filename again in FcPatternGetString.
444
445 2006-03-05 Patrick Lam <plam@mit.edu>
446 * src/fcpat.c (FcPatternGetString, FcPatternGet):
447
448 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
449 Make that work. Reported by Bernhard Rosenkraenzer.
450
451 2006-03-03 Patrick Lam <plam@mit.edu>
452 * src/fcint.h:
453
454 Include inttypes.h instead of stdint.h if appropriate.
455
456 2006-03-03 Patrick Lam <plam@mit.edu>
457 * fc-cat/fc-cat.c (FcFileIsDir):
458 * fc-glyphname/fc-flyphname.c:
459
460 More stub definitions and remove FcFileIsDir from fc-cat.
461
462 2006-03-03 Patrick Lam <plam@mit.edu>
463 * fc-case/fc-case.c:
464
465 Fix compilation on AIX with stub definitions (bug 6097).
466
467 2006-03-03 Patrick Lam <plam@mit.edu>
468 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
469 * src/fcfreetype.c (GetScriptTags):
470 * src/fcfs.c (FcFontSetDistributeBytes):
471 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
472
473 Get rid of C++-style comments.
474
475 2006-03-03 Patrick Lam <plam@mit.edu>
476 * debian/changelog
477
478 Enable creation of 2.3.94 Debian packages.
479
480 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
481 reviewed by: plam
482
483 * src/fclang.c (FcCharSetForLang):
484
485 Fix suspicious return expression which causes junk
486 to be returned.
487
488 2006-02-24 Patrick Lam <plam@mit.edu>
489 * ChangeLog:
490 * README:
491 * configure.in:
492 * fontconfig/fontconfig.h:
493
494 Bump version to 2.3.94.
495
496 2006-02-24 Patrick Lam <plam@mit.edu>
497 * Makefile.am:
498
499 Fix placement of @s.
500
501 2006-02-24 Patrick Lam <plam@mit.edu>
502 * conf.d/10-fonts-persian.conf:
503
504 Remove unconditional emboldening (per Behdad's instructions).
505
506 * Makefile.am:
507
508 Add @s to hide some echos.
509
510 2006-02-24 Mike Fabian <mfabian@suse.de>
511 Takashi Iwai <tiwai@suse.de>
512 reviewed by: plam
513
514 * src/fcfreetype.c (GetScriptTags):
515
516 Fix double-free on error case.
517
518 2006-02-21 Patrick Lam <plam@mit.edu>
519 * fc-lang/fc-lang.c (scan):
520
521 Strip \r and whitespace from input; fixes bug 3454.
522
523 2006-02-21 Patrick Lam <plam@mit.edu>
524 * fc-lang/fc-lang.c (main):
525
526 Allocate large arrays statically in fc-lang to fix crashes under
527 MinGW/MSYS.
528
529 2006-02-21 Diego Petten <flameeyes@gentoo.org>
530 * src/fcfreetype.c (FcFreeTypeCharIndex):
531
532 Pass the buck; make fontconfig not crash on pango badness.
533
534 2006-02-21 Patrick Lam <plam@mit.edu>
535 * conf.d/10-fonts-persian.conf:
536
537 Use embeddedbitmap rather than rh_prefer_bitmap.
538
539 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
540 reviewed by: plam
541
542 * src/fccache.c (FcDirCacheWrite):
543 * src/fcdir.c (FcFileScanConfig):
544 * src/fcfreetype.c (FcStringInPatternElement):
545 * src/fcxml.c (FcParseFamilies):
546 * src/ftglue.c (ftglue_face_goto_table):
547
548 Eliminate redundancies.
549
550 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
551 reviewed by: plam
552
553 * fc-list/fc-list.c (main):
554 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
555 * src/fcstr.c (FcStrStr):
556 * src/fcxml.c (FcConfigSaveAttr):
557
558 Eliminate unused vars reported by Intel's compiler.
559
560 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
561 reviewed by: plam
562
563 * fc-lang/ka.orth:
564
565 Remove one more archaic character.
566
567 2006-02-21 Ross Burton <ross@burtonini.com>
568 reviewed by: plam, keithp
569
570 * src/fcxml.c (FcParsePatelt):
571
572 Freeze patterns created by configuration file for tiny
573 memory savings (every little bit helps).
574
575 2006-02-21 Mike Fabian <mfabian@suse.de>
576 reviewed by: plam
577
578 * fc-cat/fc-cat.c (main):
579
580 Initialize fontconfig library in fc-cat to avoid segfault.
581
582 2006-02-18 Patrick Lam <plam@mit.edu>
583 * fc-cache/fc-cache.c (scanDirs):
584 * src/fccache.c (FcCacheReadDirs):
585 * src/fcdir.c (FcDirScanConfig):
586
587 Fix the underlying cause of the below segfault (must usually
588 call FcDirCacheHasCurrentArch after FcDirCacheValid).
589
590 2006-02-18 Patrick Lam <plam@mit.edu>
591 * src/fccache.c (FcDirCacheHasCurrentArch):
592
593 Fix triggering of segfault caused by misreading cache files
594 (reported by fcrozat).
595
596 2006-02-17 Patrick Lam <plam@mit.edu>
597 * src/fcint.h (FC_CACHE_MAGIC):
598
599 Bump up magic version; we changed the binary format.
600
601 2006-02-17 Patrick Lam <plam@mit.edu>
602 * fc-cat/fc-cat.c (main):
603
604 Enable fc-cat to print out old-style cache info when given a
605 directory name.
606
607 2006-02-16 Patrick Lam <plam@mit.edu>
608 * src/fccache.c (FcDirCacheHasCurrentArch):
609
610 Deal correctly with changing FC_CACHE_MAGIC.
611
612 2006-02-16 Patrick Lam <plam@mit.edu>
613 * fc-cache/fc-cache.c (usage, scanDirs, main):
614
615 Add -r --really-force option which blows away cache files and then
616 regenerates them.
617
618 2006-02-16 Patrick Lam <plam@mit.edu>
619 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
620
621 Don't bail if fontconfig can't remove a dir cache file.
622 Skip the ID of a cache file when copying.
623 Eliminate 'source file too small' bug in FcDirCacheWrite.
624
625 2006-02-13 Patrick Lam <plam@mit.edu>
626 * src/fcfreetype.c (FcFreeTypeQuery):
627
628 Fix memory leak in error condition code.
629
630 2006-02-13 Mike Fabian <mfabian@suse.de>
631 reviewed by: plam
632 * src/fcfreetype.c (FcFreeTypeQuery):
633
634 Skip bitmap fonts which can't even get it together enough to
635 declare a family name; this appears to reproduce previous
636 fontconfig behaviour.
637
638 2006-02-10 Takashi Iwai <tiwai@suse.de>
639 reviewed by: plam
640 * src/fccache.c (FcDirCacheOpen):
641
642 Try to open /var/cache/fontconfig/[hashed name] before
643 fonts.cache-2 in a directory, because /var/cache/fontconfig
644 failures ought to be fixable, unlike fonts.cache-2 failures,
645 which may leave you screwed.
646
647 2006-02-10 Takashi Iwai <tiwai@suse.de>
648 reviewed by: plam
649 * src/fcmatch.c (FcFontSetMatch):
650
651 Use a tri-state to mark the fonts which didn't get blocked but
652 were just missing an element, to distinguish them from the
653 fonts that do match the element.
654
655 2006-02-10 Takashi Iwai <tiwai@suse.de>
656 reviewed by: plam
657 * src/fcmatch.c (FcFontSetMatch):
658
659 Don't kill fonts because they don't declare an element that's
660 being matched on.
661
662 2006-02-09 Patrick Lam <plam@mit.edu>
663 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
664 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
665
666 Define and pass O_BINARY to open if appropriate, for those
667 platforms that need it. Reported by Doodle.
668
669 2006-02-09 Patrick Lam <plam@mit.edu>
670 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
671 FcCharSetGetLeaf):
672
673 Fix problem with missing 'en' due to euro.patch: change
674 cache file format slightly to coincide with that generated
675 by fc-lang.
676
677 2006-02-07 Patrick Lam <plam@mit.edu>
678 * src/fccache.c (FcCacheReadDirs):
679
680 Fix warning.
681
682 2006-02-07 Patrick Lam <plam@mit.edu>
683 * src/fcdir.c (FcDirScanConfig):
684
685 Don't reject dirs that can't be normalized (fixes lilypond, and
686 is correct in the context of application font directories.)
687
688 2006-02-07 Takashi Iwai <tiwai@suse.de>
689 reviewed by: plam
690
691 * src/fccache.c (FcCacheReadDirs):
692
693 Use normalized directory name exclusively in FcCacheReadDirs.
694
695 2006-02-07 Dirk Mueller <dmueller@suse.com>
696 reviewed by: plam
697
698 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
699
700 Perf optimizations. Inline FcValueCanonicalize,
701 reduce FcValueListPtrU usage, remove redundant cast.
702
703 2006-02-07 Takashi Iwai <tiwai@suse.de>
704 reviewed by: plam
705
706 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
707 * fc-lang/fc-lang.c:
708
709 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
710 Declare extern for static arrays as arrays, not pointers.
711 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
712
713 2006-02-07 Dirk Mueller <dmueller@suse.com>
714 reviewed by: plam
715
716 * fc-lang/de.orth:
717 * fc-lang/el.orth:
718 * fc-lang/en.orth:
719 * fc-lang/es.orth:
720 * fc-lang/fi.orth:
721 * fc-lang/fr.orth:
722 * fc-lang/it.orth:
723 * fc-lang/nl.orth:
724 * fc-lang/pt.orth:
725
726 Add Euro sign to list of symbols required by European languages.
727
728 2006-02-07 Patrick Lam <plam@mit.edu>
729 * src/fccache.c (FcCacheReadString):
730
731 Fix hidden variable warning.
732
733 2006-02-07 Dirk Mueller <dmueller@suse.com>
734 reviewed by: plam
735
736 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
737
738 Remove de-escaping logic because FcCacheWriteString
739 doesn't escape anyway. Do blockwise reading instead
740 of byte-wise for performance.
741
742 2006-02-06 Patrick Lam <plam@mit.edu>
743 Takashi Iwai <tiwai@suse.de>
744
745 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
746
747 Don't loop infinitely on recursive symlinks (client-side).
748
749 2006-02-06 Takashi Iwai <tiwai@suse.de>
750 reviewed by: plam
751 * fc-cache/fc-cache.c (scanDirs, main):
752
753 Don't loop infinitely on recursive symlinks.
754
755 2006-02-06 Takashi Iwai <tiwai@suse.de>
756 reviewed by: plam
757 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
758 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
759 FcGlobalCacheSave, FcCacheReadDirs):
760 * src/fcint.h:
761
762 Skip subdirs when skipping over stale bits of global cache.
763 Introduce state machine into FcGlobalCacheDir to avoid
764 doing inappropriate operations on global dir entries, e.g.
765 writing out an out-of-date cache entry.
766
767 2006-02-06 Takashi Iwai <tiwai@suse.de>
768 reviewed by: plam
769 * src/fcdir.c (FcFileScanConfig):
770
771 Hoist FcFileIsDir check out of FcFileScanConfig loop.
772
773 2006-02-06 Takashi Iwai <tiwai@suse.de>
774 reviewed by: plam
775
776 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
777 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
778
779 Don't rescan when trying to normalize a non-declared font dir.
780 Don't add font dirs multiple times (even if they're aliased).
781
782 2006-02-06 Dirk Mueller <dmueller@suse.de>
783 reviewed by: plam
784
785 * src/fcfs.c (FcFontSetUnserialize):
786
787 Explain apples/oranges comparison and fix compilation error.
788
789 2006-02-06 Dirk Mueller <dmueller@suse.de>
790 reviewed by: plam
791
792 * src/fcfs.c (FcFontSetUnserialize):
793
794 Insert check for integer overflow in # of fonts.
795
796 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
797 reviewed by: plam
798
799 * doc/Makefile.am:
800 * fc-cache/Makefile.am:
801 * fc-cat/Makefile.am:
802 * fc-list/Makefile.am:
803
804 Make 'make distcheck' work with automake 1.6.3.
805
806 2006-02-03 Takashi IWAI <tiwai@suse.de>
807 reviewed by: plam
808
809 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
810 FcCacheFileRead):
811
812 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
813 FcDirCacheConsume, FcDirCacheWrite)
814 * src/fcxml.c (FcConfigMessage):
815
816 Check I/O call return values and eliminate unused variable
817 warnings.
818
819 2006-02-03 Takashi Iwai <tiwai@suse.de>
820 reviewed by: plam
821
822 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
823
824 Fix memory leak.
825
826 2006-02-03 Dirk Mueller <dmueller@suse.de>
827 reviewed by: plam
828
829 * src/fcfs.c (FcFontSetUnserialize):
830
831 Gracefully handle the case where a cache asserts that it
832 has a negative number of fonts, causing overflow.
833
834 2006-02-03 Patrick Lam <plam@mit.edu>
835 * src/fccache.c (FcDirCacheUnlink):
836
837 Fix double free in error case.
838
839 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
840 Stephan Kulow <coolo@suse.de>
841 reviewed by: plam
842
843 * fc-cache/Makefile.am:
844
845 Replace 'stamp' target with mkinstalldirs.
846
847 2006-01-31 Mike Fabian <mfabian@suse.de>
848 reviewed by: plam
849
850 * src/fccache.c (FcGlobalCacheLoad):
851
852 Toast broken global cache files.
853
854 2006-01-30 Patrick Lam <plam@mit.edu>
855 * src/fccache.c (FcGlobalCacheReadDir):
856
857 Actually use the directories that I added to the global cache.
858 Fixes 'make check'.
859
860 2006-01-30 Mike Fabian <mfabian@suse.de>
861 reviewed by: plam
862
863 * fc-cache/fc-cache.c (scanDirs):
864
865 Don't stop scanning if a directory in fonts.conf doesn't
866 exist, because subsequent directories might exist.
867
868 2006-01-30 Patrick Lam <plam@mit.edu>
869 * src/fccache.c (FcGlobalCacheLoad):
870
871 Make global cache work again after putting dir names into global
872 cache (I misplaced the recording of a file offset).
873
874 2006-01-30 Patrick Lam <plam@mit.edu>
875 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
876
877 Update fc-cat to handle subdir lists in global cache file.
878
879 * src/fccache.c (FcGlobalCacheLoad):
880
881 Another FcCacheReadString return value check.
882
883 2006-01-30 Mike Fabian <mfabian@suse.de>
884 reviewed by: plam
885
886 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
887 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
888
889 Make fccache more resilient to broken cache files by checking
890 return value of FcCacheReadString all the time.
891
892 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
893 reviewed by: plam
894
895 * fc-match/fc-match.1:
896 * fc-lang/fc-lang.man:
897
898 Remove references to dead fontconfig(3) manpages in
899 other fontconfig manpages.
900
901 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
902 reviewed by: plam
903
904 * doc/fcpattern.fncs:
905
906 Fix world's tiniest typo in code example.
907
908 2006-01-29 Mike Fabian <mfabian@suse.de>
909 reviewed by: plam
910
911 * src/fccache.c (FcGlobalCacheReadDir):
912
913 Fix global cache reads of subdirectories.
914
915 2006-01-29 Patrick Lam <plam@mit.edu>
916 * doc/fcconfig.fncs:
917 Add documentation for FcConfigNormalizeFontDir.
918
919 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
920 FcGlobalCacheUpdate, FcGlobalCacheSave):
921 * src/fcdir.c (FcDirScanConfig):
922 * src/fcint.h:
923
924 Write directory information to global caches to fix make check
925 (reported by Ronny V. Vindenes). This changes the global cache
926 format again.
927
928 2006-01-27 Patrick Lam <plam@mit.edu>
929 * fc-cache/fc-cache.c (scanDirs):
930 * fontconfig/fontconfig.h:
931 * src/fcint.h:
932 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
933
934 Move FcConfigNormalizeFontDir call so that it doesn't result in
935 infinite recursion (reported by Ronny V. Vindenes).
936
937 2006-01-26 Patrick Lam <plam@mit.edu>
938 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
939 * src/fccfg.c (FcConfigNormalizeFontDir):
940
941 Add a couple of missing normalizations to make fc-cache work
942 right; only scan subdirectories once.
943
944 2006-01-26 Mike Fabian <mfabian@suse.de>
945 reviewed by: plam
946
947 * src/fcacache.c (FcGlobalCacheReadDir):
948
949 Don't crash on non-existant directories in global cache.
950
951 2006-01-26 Patrick Lam <plam@mit.edu>
952 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
953 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
954 * src/fcdir.c (FcDirScanConfig):
955 * src/fcxml.c (FcEndElement):
956
957 Stop trampling the directory name when writing out caches.
958 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
959 subdirs when necessary. Don't scan directories that can't be
960 normalized.
961
962 2006-01-25 Patrick Lam <plam@mit.edu>
963 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
964 * src/fccfg.c (FcConfigEvaluate):
965 * src/fcfreetype.c (FcPatternAddWithBinding):
966
967 Fix additional memory leaks reported by Ronny V. Vindenes: don't
968 invoke FcValueSave on hashed static strings in
969 FcPatternAddWithBinding.
970
971 Add another st_dev check in FcDirCacheOpen.
972
973 2006-01-24 James Su <james.su@gmail.com>
974 reviewed by: plam
975
976 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
977 * fc-lang/zh_hk.orth:
978
979 Treat zh-hk fonts differently from zh-tw fonts. This patch may
980 cause fontconfig to treat A-X fonts differently from A-Y fonts;
981 please mail the fontconfig list if this causes any problems.
982
983 2006-01-24 Patrick Lam <plam@mit.edu>
984 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
985 * src/fcfreetype.c (FcFreeTypeQuery):
986
987 Fix memory leaks reported by Ronny V. Vindenes.
988
989 2006-01-19 Andreas Schwab <schwab@suse.de>
990 reviewed by: plam
991
992 * src/fcpat.c (FcStrNeededBytes):
993
994 Fix for unaligned memory accesses.
995
996 2006-01-18 Mike Fabian <mfabian@suse.de>
997 reviewed by: plam
998
999 * src/fcdir.c (FcDirScanConfig):
1000
1001 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
1002 calls to avoid crashes.
1003
1004 2006-01-14 Patrick Lam <plam@mit.edu>
1005 * src/fccache.c (FcDirCacheConsume):
1006
1007 Fix segfault when consuming zero-length caches in fc-cat
1008 (which has no config, so FcConfigAddFontDir shouldn't be called.)
1009
1010 2006-01-14 Patrick Lam <plam@mit.edu>
1011 * fc-cache/fc-cache.c (scanDirs):
1012 * fontconfig/fontconfig.h:
1013 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
1014 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
1015 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
1016 * src/fcdir.c (FcDirScanConfig):
1017 * src/fcint.h:
1018
1019 Compare device numbers as well as inodes.
1020 Always normalize directory names before comparing them.
1021
1022 2006-01-11 Mike Fabian <mfabian@suse.de>
1023 reviewed by: plam
1024
1025 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
1026
1027 Allocate extra space for appended '/' in directory name.
1028
1029 2006-01-10 Patrick Lam <plam@mit.edu>
1030 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
1031 FcDirCacheValid, FcDirCacheHasCurrentArch,
1032 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
1033 * fc-cache/fc-cache.c (main):
1034
1035 Explicitly add font dirs to config.fontDirs even if they're empty.
1036 Set current config in fc-cache.c.
1037 Fix treatment of cache directory as read from cache file; don't
1038 use string equality to determine if we have the right file,
1039 use inode equality.
1040
1041 2006-01-09 Patrick Lam <plam@mit.edu>
1042 * fc-cache/fc-cache.c (scanDirs):
1043 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1044 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
1045 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
1046 * src/fccfg.c (FcConfigNormalizeFontDir):
1047 * src/fcdir.c (FcDirScanConfig):
1048 * src/fcint.h:
1049
1050 Normalize font dirs by using the form, as given in fonts.conf, and
1051 recorded in FcConfig's fontDirs string set, as canonical.
1052
1053 Actually update config.fontDirs as font directories are scanned.
1054
1055 2006-01-08 James Su <james.su@gmail.com>
1056 * src/fcmatch.c (FcFontSetMatch):
1057
1058 Fix matching bug when multiple elements match; don't use
1059 the sum of all scores, but the best score.
1060
1061 Also more perf opts, e.g. evaluate best over all font sets
1062 rather than on a per-set basis (and other changes).
1063
1064 2006-01-08 Patrick Lam <plam@mit.edu>
1065 * src/fccache.c (FcDirCacheConsume):
1066
1067 Properly skip past dir caches that contain zero fonts (as occurs
1068 in global caches.) Reported by Mike Fabian.
1069
1070 2006-01-06 Patrick Lam <plam@mit.edu>
1071 * src/fcdbg.c (FcPatternPrint):
1072
1073 Print out full pathname in fc-match -v as well. Reported by
1074 Frederic Crozat.
1075
1076 2006-01-06 Mike Fabian <mfabian@suse.de>
1077 reviewed by: plam
1078
1079 * src/fcname.c (FcNameParse):
1080
1081 Fix bug where fc-match crashes when given __DUMMY__ property to
1082 match on.
1083
1084 (I added the __DUMMY__ string to enable callers of
1085 FcObjectToPtrLookup to distinguish an error return from a
1086 successful return. -PL)
1087
1088 2006-01-05 Patrick Lam <plam@mit.edu>
1089 * AUTHORS:
1090
1091 Add self to AUTHORS list.
1092
1093 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1094 FcCacheFileRead, FcCachePrintSet, main):
1095 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1096 FcGlobalCacheSave, FcCacheNextOffset,
1097 FcDirCacheHasCurrentArch, FcDirCacheRead,
1098 FcDirCacheConsume, FcDirCacheWrite):
1099 * src/fcint.h:
1100 * src/fcpat.c (comment):
1101
1102 Minor change to global cache file format to fix fc-cat bug
1103 reported by Frederic Crozat, and buglet with not globally caching
1104 directories with zero fonts cached.
1105
1106 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1107 reviewed by: plam
1108
1109 * src/fccfg.c (FcConfigEvaluate):
1110
1111 Fix double-free which occurs because FcValueCanonicalize doesn't
1112 create an extra copy of the returned value, it only canonicalizes
1113 it.
1114
1115 2006-01-02 Patrick Lam <plam@mit.edu>
1116 * doc/fontconfig-user.sgml:
1117
1118 Fix version of .cache file (currently 1 -> currently 2). Reported
1119 by Jim Osborn.
1120
1121 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1122 reviewed by: plam
1123
1124 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1125
1126 Shut up GCC warnings on amd.
1127
1128 2005-12-20 Patrick Lam <plam@mit.edu>
1129 * ChangeLog:
1130 * README:
1131 * configure.in:
1132 * fontconfig/fontconfig.h:
1133
1134 Bump version to 2.3.93.
1135
1136 2005-12-20 Patrick Lam <plam@mit.edu>
1137 * src/fccharset.c (FcLangCharSetPopulate):
1138 * src/fcint.h (FcCacheBankToIndex):
1139
1140 Avoid check on _fcBankId nullness and fix case where it used to
1141 crash.
1142
1143 2005-12-20 Patrick Lam <plam@mit.edu>
1144 * src/fcxml.c (FcConfigParseAndLoad):
1145
1146 Use open instead of fopen (requested by Phil Race for Sun).
1147
1148 2005-12-20 Patrick Lam <plam@mit.edu>
1149 * src/fccache.c (FcDirCacheWrite);
1150 * fc-cache/Makefile.am:
1151
1152 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1153 dir.
1154
1155 2005-12-20 Patrick Lam <plam@mit.edu>
1156 * src/fcfreetype.c (FcFreeTypeQuery):
1157
1158 Restore code to skip over PCF fonts that have no encoded
1159 characters.
1160 (We guess that a font is PCF by presence of the PIXEL_SIZE
1161 BDF property.)
1162
1163 2005-12-12 Patrick Lam <plam@mit.edu>
1164 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1165
1166 Read and write the original location as a fallback for the
1167 hashed cache file locations. This is mostly for users to be
1168 able to have per-directory cache files.
1169
1170 2005-12-12 Patrick Lam <plam@mit.edu>
1171 * fc-cache/fc-cache.c (scanDirs):
1172 * fc-cache/Makefile.am:
1173 * src/fccache.c (FcDirCacheHashName):
1174
1175 Improve error message when fc-cache can't write the cache. Add
1176 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1177 create /var/cache/fontconfig when appropriate.
1178
1179 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1180 reviewed by: plam
1181
1182 * src/fcxml.c (FcConfigGetAttribute):
1183
1184 Fix crash reported by Frederic Crozat when using libxml2.
1185
1186 2005-12-09 Patrick Lam <plam@mit.edu>
1187 * INSTALL:
1188 * configure.in:
1189 * fc-cache/Makefile.am:
1190 * fc-cat/Makefile.am:
1191 * src/Makefile.am:
1192 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1193 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1194 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1195 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1196 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1197 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1198
1199 Migrate cache files from fonts directories to
1200 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1201 but requires that all caches get rebuilt.
1202
1203 Also, autogen.sh now needs the additional parameter
1204 --localstatedir=/var.
1205
1206 2005-12-07 Patrick Lam <plam@mit.edu>
1207 * src/fcpat.c (FcPatternAddString):
1208
1209 Because we've changed FcPatternAddString to use FcStrStaticName
1210 and not FcValueSave, explicitly handle the case of a null string.
1211
1212 2005-12-06 Patrick Lam <plam@mit.edu>
1213 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1214
1215 Fix warnings.
1216
1217 2005-12-05 Patrick Lam <plam@mit.edu>
1218 * src/fcname.c (FcNameGetObjectType):
1219
1220 Don't assign types to user object names.
1221
1222 2005-12-05 Patrick Lam <plam@mit.edu>
1223 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1224
1225 Don't free strings that have been returned from FcStrStaticName.
1226
1227 2005-12-01 Patrick Lam <plam@mit.edu>
1228 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1229
1230 Add codepath for reading global cache files as well.
1231
1232 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1233 reviewed by: plam
1234
1235 * conf.d/10-fonts.persian.conf:
1236 * conf.d/Makefile.am:
1237
1238 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1239
1240 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1241 reviewed by: plam
1242
1243 * src/fcxml.c (FcConfigParseAndLoad):
1244
1245 Only add a config file to the set of config files once.
1246
1247 2005-11-29 Patrick Lam <plam@mit.edu>
1248 * src/fcint.h (FcCacheBankToIndex);
1249
1250 Fix segfault by guarding array dereference.
1251
1252 2005-11-29 Dirk Mueller <dmueller@suse.de>
1253 reviewed by: plam
1254
1255 * fc-lang/fc-lang.c:
1256 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1257 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1258 FcCacheAddBankDir):
1259 * src/fcint.h:
1260
1261 Refactor FcCacheBankToIndex into an inlineable part
1262 (in fcint.h) which checks the front of the list and a
1263 non-inlineable part which finds and moves the appropriate element
1264 to the front of the list.
1265
1266 2005-11-29 Patrick Lam <plam@mit.edu>
1267 * src/fccfg.c (FcConfigBuildFonts):
1268 * src/fccache.c (FcCacheReadDirs):
1269
1270 Make the perf guys hate me a bit less: hoist the directory-name
1271 FcConfigAcceptFont check for cached fonts up to directory cache
1272 read time, rather than running it for each font.
1273
1274 2005-11-29 Patrick Lam <plam@mit.edu>
1275 * src/fccfg.c (FcConfigBuildFonts):
1276 * src/fcint.h:
1277 * src/fcpat.c (FcPatternFindFullFname):
1278
1279 Don't make FcPatternFindFullFname available to fccfg, it's not
1280 really safe. Instead go through FcPatternGetString (sorry,
1281 perf guys.) Also, use globs for dirs as well.
1282
1283 2005-11-28 Patrick Lam <plam@mit.edu>
1284 * src/fccfg.c (FcConfigBuildFonts):
1285
1286 Fix segfault.
1287
1288 2005-11-28 Patrick Lam <plam@mit.edu>
1289 * src/fcint.h:
1290 * src/fcpat.c (FcPatternFindFullFname):
1291 * src/fccfg.c (FcConfigBuildFonts):
1292
1293 Fix problem dating back at least to 2.3.2 where globs weren't
1294 being applied to patterns loaded from a cache.
1295
1296 2005-11-28 Patrick Lam <plam@mit.edu>
1297 * doc/fontconfig-user.sgml:
1298
1299 Fix some obvious spelling mistakes.
1300
1301 2005-11-28 Dirk Mueller <dmueller@suse.com>
1302 Stephan Kulow <coolo@suse.de>
1303 reviewed by: plam
1304
1305 * src/fcmatch.c (FcFontSetMatch):
1306
1307 Don't kill all fonts during match (oops!)
1308
1309
1310 2005-11-25 Dirk Mueller <dmueller@suse.com>
1311 Stephan Kulow <coolo@suse.de>
1312 Michael Matz <matz@suse.de>
1313 reviewed by: plam
1314
1315 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1316 FcFontSetMatch):
1317
1318 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1319 inline FcCompare into FcFontSetMatch and reorder the
1320 loops, adding a boolean array which blocks patterns from future
1321 consideration if they're known to not be best on some past
1322 criterion.
1323
1324 2005-11-26 Dirk Mueller <dmueller@suse.com>
1325 reviewed by: plam
1326
1327 * src/fcmatch.c (FcCompareValueList):
1328
1329 Fix incorrect merge.
1330
1331 2005-11-25 Patrick Lam <plam@mit.edu>
1332 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1333
1334 Don't do random matching when bad objects are passed into
1335 FcCompareValueList.
1336
1337 2005-11-25 Patrick Lam <plam@mit.edu>
1338 * src/fcint.h:
1339 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1340 FcPatternSerialize, FcPatternUnserialize,
1341 FcValueListEnsureBank, FcValueListDistributeBytes,
1342 FcValueListUnserialize):
1343
1344 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1345 _fcPatternElts, _fcValueLists for consistency.
1346
1347 2005-11-25 Dirk Mueller <dmueller@suse.com>
1348 reviewed by: plam
1349
1350 * src/fcmatch.c:
1351
1352 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1353
1354 2005-11-25 Patrick Lam <plam@mit.edu>
1355 * src/fcint.h:
1356 * src/fccache.c (FcDirCacheConsume):
1357 * src/fccharset.c (FcCharSetUnserialize):
1358 * src/fcfs.c (FcFontSetUnserialize):
1359 * src/fclang.c (FcLangSetUnserialize):
1360 * src/fcname.c (FcObjectUnserialize):
1361 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1362 FcPatternUnserialize):
1363
1364 Pass around FcCache *s to the Unserialize functions for extra
1365 consistency (and less overhead, for what that's worth).
1366
1367 2005-11-24 Dirk Mueller <dmueller@suse.com>
1368 reviewed by: plam
1369
1370 * src/fcint.h:
1371 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1372 * src/fcname.c (FcNameUnparseValue):
1373
1374 Inline the *PtrU functions to gain perf.
1375 Remove unneeded params for the FcCompare* functions.
1376
1377 2005-11-24 Dirk Mueller <dmueller@suse.com>
1378 reviewed by: plam
1379
1380 * src/fcint.h, fontconfig/fontconfig.h:
1381
1382 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1383
1384 * src/fcpat.c, src/fcint.h, src/fcname.c:
1385
1386 Check for type validity during FcPatternAddWithBinding, don't
1387 verify type in FcFontMatch, don't call FcCanonicalize here
1388 (which always does a deep copy).
1389
1390 2005-11-24 Dirk Mueller <dmueller@suse.com>
1391 reviewed by: plam
1392
1393 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1394 * src/fcpat.c (FcPatternAddWithBinding):
1395
1396 Make FcCompareString and FcCompareFamily less expensive.
1397 Only add a value for FC_FAMILY if the proposed value is a string.
1398
1399 2005-11-24 Dirk Mueller <dmueller@suse.com>
1400 reviewed by: plam
1401
1402 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1403 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1404 * src/fcint.h (FcDebug):
1405
1406 Inline FcDebug invocations and only initialize once, in FcInit*.
1407 Improve debug msg in FcPatternPrint.
1408
1409 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1410 reviewed by: plam
1411
1412 * fontconfig/fontconfig.h:
1413 * fc-cat/fc-cat.c:
1414
1415 Minor code warning cleanups.
1416
1417 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1418 reviewed by: plam
1419
1420 * fc-match/fc-match.c (main):
1421
1422 Make getopt_long accept -s parameter to fc-match as well.
1423
1424 2005-11-21 Dirk Mueller <dmueller@suse.com>
1425 reviewed by: plam
1426
1427 * src/fcmatch.c (FcCompareValueList):
1428
1429 Manually perform inlining & partial redundancy elimination to
1430 reduce calls to FcValueListPtrU.
1431
1432 2005-11-21 Dirk Mueller <dmueller@suse.com>
1433 reviewed by: plam
1434
1435 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1436 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1437
1438 Only invoke strlen() when really necessary.
1439
1440 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1441 reviewed by: plam
1442
1443 * src/Makefile.am:
1444 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1445 FcFontCapabilities):
1446 * src/ftglue.c:
1447 * src/ftglue.h:
1448
1449 Get rid of the use of freetype internal headers in fcfreetype.c,
1450 since those headers will go away with freetype 2.2. Replace with
1451 public domain ftglue code from pango. Note that the patch removes
1452 some extra error checking in FT_Get_BDF_Property() and comments
1453 out the skipping of empty pcf fonts.
1454
1455 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1456 reviewed by: plam
1457
1458 * fc-lang/fc-lang.c (main):
1459
1460 Further fix of patch from 2005-11-04: miscounted numbers count
1461 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1462 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1463
1464 Removed leafidx_count and numbers_count since they are the same
1465 and replaced them with offset_count.
1466
1467 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1468 reviewed by: plam
1469
1470 * fc-cat/fc-cat.c (main):
1471
1472 Don't crash when fc-cat invoked with no arguments.
1473
1474 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1475 reviewed by: plam
1476
1477 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1478
1479 Fix invalid read access caused by premature free and
1480 GCC4 warnings in libxml2 codepath.
1481
1482 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1483 reviewed by: plam
1484
1485 * src/fccfg.c (FcConfigValues):
1486
1487 List iteration not needed in FcConfigValues, since it's building
1488 up the list itself; we can just strip FcVoid elements during
1489 construction.
1490
1491 2005-11-17 Patrick Lam <plam@mit.edu>
1492 * src/fccfg.c (FcConfigValues):
1493
1494 Fix crash on invalid constants in config files (forgot to update
1495 a pointer upon list iteration.)
1496
1497 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1498 reviewed by: plam
1499
1500 * src/fcxml.c (FcTypecheckExpr):
1501
1502 Complain about invalid constants in config files.
1503
1504 2005-11-17 Andreas Schwab <schwab@suse.de>
1505 reviewed by: plam
1506
1507 * src/fccache.c (FcGlobalCacheSave):
1508
1509 Don't add current_arch_start more than once.
1510
1511 2005-11-16 Patrick Lam <plam@mit.edu>
1512 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1513 * src/fcfs.c (FcFontSetUnserialize):
1514 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1515 * src/fcpat.c (FcStrUnserialize):
1516
1517 Fix ordering of ALIGN with respect to saving block_ptr; add
1518 another ALIGN to fcfs.c.
1519
1520 2005-11-16 Patrick Lam <plam@mit.edu>
1521 * src/fccache.c (FcDirCacheProduce)
1522
1523 Fix case where alignment bytes bumped up metadata->count
1524 causing unwarranted failures to write cache files.
1525 (Reported by Stephan Kulow).
1526
1527 2005-11-16 Patrick Lam <plam@mit.edu>
1528 * src/fccache.c (FcDirCacheProduce):
1529 * src/fccharset.c (FcCharSetDistributeBytes):
1530 * src/fcfs.c (FcFontSetDistributeBytes):
1531 * src/fcint.h:
1532 * src/fclang.c (FcLangSetDistributeBytes):
1533 * src/fcname.c (FcObjectDistributeBytes):
1534 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1535 FcStrNeededBytes):
1536
1537 Add *NeededBytesAlign(), which overestimates the padding which is
1538 later added by the new ALIGN macro. Fix alignment problems on
1539 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1540 version by Andreas Schwab).
1541
1542 2005-11-16 Stephan Kulow <coolo@kde.org>
1543 reviewed by: plam
1544
1545 * src/fccache.c:
1546
1547 Use sysconf to determine proper PAGESIZE value; this
1548 appears to be POSIX-compliant. (reported by Andreas Schwab)
1549
1550 2005-11-04 Patrick Lam <plam@mit.edu>
1551 * fc-lang/fc-lang.c:
1552 * src/fccharset.c:
1553 * src/fcint.h:
1554 * src/fclang.c:
1555
1556 Fix bug 2878 (excessive relocations at startup for charsets,
1557 reported by Ross Burton): fc-lang/fc-lang now creates the
1558 static form of the langset, not the dynamic form, so that
1559 the charsets should now be in .rodata.
1560
1561 2005-11-04 Patrick Lam <plam@mit.edu>
1562 * src/fcdir.c (FcDirScanConfig):
1563
1564 Add test for validity of directory caches that
1565 somehow got lost (reported by make distcheck).
1566
1567 2005-11-04 Patrick Lam <plam@mit.edu>
1568 * ChangeLog:
1569 * README:
1570 * configure.in:
1571 * fontconfig/fontconfig.h:
1572
1573 Bump version to 2.3.92.
1574
1575 2005-11-02 Patrick Lam <plam@mit.edu>
1576 * src/fcpat.c (FcPatternDuplicate):
1577
1578 Fix argument ordering problem in call to FcPatternTransferFullFname.
1579
1580 2005-11-02 Patrick Lam <plam@mit.edu>
1581 * src/fcfreetype.c (FcFreetypeQuery):
1582 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1583 FcPatternTransferFullFname):
1584
1585 Fix warnings and embarrassing double-free error.
1586
1587 2005-11-02 Zhe Su <zsu@novell.com>
1588 reviewed by: plam
1589
1590 * fonts.conf.in:
1591
1592 Change the rule for artificial emboldening in fonts.conf.in. This
1593 enables the support for artificial emboldening included in cairo.
1594
1595 2005-11-02 Patrick Lam <plam@mit.edu>
1596 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1597
1598 Don't zero out full names for FC_REF_CONSTANT fonts;
1599 also, duplicate full names when transferring, and free
1600 full names when freeing the associated font.
1601 Reported by Jinghua Luo.
1602
1603 2005-11-02 Patrick Lam <plam@mit.edu>
1604 * fc-cache/fc-cache.c (scanDirs):
1605 * src/fcpat.c (FcValueListSerialize):
1606
1607 Revert the previous patch and commit the correct patch:
1608 I forgot a canonicalization in FcValueListSerialize, so
1609 that it would choke on already-serialized input files. Duh!
1610
1611 2005-11-02 Patrick Lam <plam@mit.edu>
1612 * fc-cache/fc-cache.c (scanDirs):
1613
1614 Forcibly rescan a directory before writing a fresh local
1615 cache file for that directory, fixing the losing-fonts
1616 problem reported by Mike Fabian and also apparently the
1617 font cache file corruption.
1618
1619 2005-11-02 Patrick Lam <plam@mit.edu>
1620 * src/fccache.c (FcGlobalCacheLoad):
1621
1622 Fix thinko: actually, the whole global cache is stale
1623 if the global cache is older than the (newest) config file.
1624
1625 2005-11-02 Patrick Lam <plam@mit.edu>
1626 * src/fccache.c (FcGlobalCacheLoad):
1627 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1628 * src/fcint.h:
1629
1630 Declare the global cache of a directory's contents to be stale if
1631 the directory is newer than the (newest) configuration file.
1632
1633 2005-10-31 Patrick Lam <plam@mit.edu>
1634 * src/fcint.h:
1635 * src/fclist.c (FcListAppend):
1636 * src/fcmatch.c (FcFontRenderPrepare):
1637 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1638 FcPatternFreeze, FcPatternBaseFreeze):
1639
1640 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1641 applications continue breaking.
1642
1643 2005-10-31 Patrick Lam <plam@mit.edu>
1644 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1645 * src/fcfreetype.c (FcFreeTypeQuery):
1646
1647 Fix small memory error (tried to free argv); use basename and
1648 dirname correctly (they can modify their arguments).
1649
1650 2005-10-31 Patrick Lam <plam@mit.edu>
1651 * fc-cat/fc-cat.c:
1652 * src/fccache.c:
1653 * src/fcfreetype.c:
1654 * src/fcint.h:
1655 * src/fclist.c:
1656 * src/fcpat.c:
1657
1658 Reinstate basename patch, but keep a hash table linking FcPatterns
1659 to their fully-qualified font names for clients' benefit. Clients
1660 only pay for the font names once they request the FC_FILE property
1661 from an FcPattern, but the font name is malloc'd at that point (i.e.
1662 not mmapped: that's impossible, since it may vary between machines.)
1663 Clients do have to pay for a copy of the path name per cache file.
1664
1665 Note that FcPatternGetString now does some rewriting if you ask
1666 for an FC_FILE, appending the pathname as appropriate.
1667
1668 2005-10-31 Patrick Lam <plam@mit.edu>
1669 * src/fcfreetype.c (FcFreeTypeQuery):
1670
1671 Revert basename patch, which breaks fontconfig clients on my system.
1672
1673 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1674 reviewed by: plam
1675
1676 * fontconfig/fonts.conf.in:
1677 * fontconfig/fontconfig.h:
1678 * src/fcdefault.c:
1679 * src/fcname.c:
1680
1681 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1682 to load embedded bitmaps or not.
1683
1684 2005-10-25 Patrick Lam <plam@mit.edu>
1685 * src/fcfreetype.c (FcFreeTypeQuery):
1686
1687 Only add basename to patterns' FC_FILE element, not any part of
1688 the dirname.
1689
1690 2005-10-22 Patrick Lam <plam@mit.edu>
1691 * src/fcfreetype.c:
1692
1693 Add some more consts, fixing more GCC4 warnings.
1694
1695 2005-10-22 Zhe Su <zsu@novell.com>
1696 reviewed by: plam
1697
1698 Support localized font family and style names.
1699 This has been reported to break old apps like xfd, but modern
1700 (gtk+/qt/mozilla) apps work fine.
1701
1702 2005-10-21 Patrick Lam <plam@mit.edu>
1703 * src/fccache.c (FcGlobalCacheLoad):
1704
1705 Destroy the global cache file if it's terminally broken. (reported by
1706 Mike Fabian)
1707
1708 2005-10-21 Patrick Lam <plam@mit.edu>
1709 * fc-list/fc-list.c (main):
1710 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1711 * fontconfig/fontconfig.h:
1712
1713 Prevent fc-list from escaping strings when printing them (reported by
1714 Matthias Clasen).
1715
1716 2005-10-20 Marcus Meissner <meissner@suse.de>
1717 reviewed by: plam
1718
1719 * fontconfig/fontconfig.h:
1720
1721 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1722
1723 2005-10-14 Ross Burton <ross@burtonini.com>
1724 reviewed by: plam
1725
1726 * fc-glyphname/fc-glyphname.c:
1727 * src/fclang.c:
1728
1729 Add consts to variables so as to move arrays into .rodata.
1730
1731 2005-10-14 Mike Fabian <mfabian@suse.de>
1732 reviewed by: plam
1733
1734 * src/fccache.c (FcDirCacheUnlink):
1735
1736 Check existence of directory cache file before attempting to unlink.
1737
1738 2005-10-13 Patrick Lam <plam@mit.edu>
1739 * src/fccache.c (FcDirCacheUnlink):
1740
1741 Fix flipped return value on unlink. (Reported by Mike Fabian)
1742
1743 2005-10-12 Patrick Lam <plam@mit.edu>
1744
1745 * src/fccache.c:
1746 * src/fcdir.c (FcDirScanConfig):
1747 * src/fcint.h:
1748
1749 When fc-cache is run without --force, use directory cache files
1750 to speed up fc-cache run time. (Reported by Mike Fabian)
1751
1752 2005-10-06 Patrick Lam <plam@mit.edu>
1753
1754 * src/fcname.c (FcObjectToPtr):
1755 * src/fcpat.c (FcStrStaticName):
1756
1757 Add padding to make valgrind and glibc not hate each other
1758 when calling strlen().
1759
1760 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1761 reviewed by: plam & keithp
1762
1763 * fonts.conf.in:
1764
1765 Modify config file to use Greek fonts before Asian fonts with
1766 Greek glyphs.
1767
1768 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1769 reviewed by: plam & keithp
1770
1771 * src/Makefile.am:
1772
1773 Use libtool -no-undefined flag on all platforms.
1774
1775 2005-10-05 Patrick Lam <plam@mit.edu>
1776 * src/fccache.c (FcCacheHaveBank):
1777
1778 Implement move-to-front array for banks (perf regression
1779 reported by Ronny V. Vindenes).
1780
1781 2005-10-04 Patrick Lam <plam@mit.edu>
1782 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1783 FcDirCacheHasCurrentArch):
1784 * fc-cache/fc-cache.c (scanDirs):
1785 * fontconfig/fontconfig.h:
1786
1787 Add new API which unlinks directory caches and checks dir caches
1788 for existence of appropriate sections. Fix fc-cache to unlink
1789 stale cache files and save directory caches that lack relevant
1790 sections.
1791
1792 2005-10-03 Patrick Lam <plam@mit.edu>
1793 * src/fccache.c (FcDirCacheValid):
1794
1795 Ensure that a directory cache has the appropriate section
1796 before reporting that it is valid (reported by Matthias Clasen).
1797
1798 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1799
1800 reviewed by: plam
1801
1802 * configure.in:
1803 * src/Makefile.am:
1804 * src/fcxml.c:
1805
1806 Use libxml2 if requested (with --enable-libxml2) or if
1807 expat is not available.
1808
1809 2005-09-29 Patrick Lam <plam@mit.edu>
1810 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1811
1812 Fix multi-arch cache files: compute the position for the
1813 block to be added using info from OrigFile, not NewFile.
1814
1815 2005-09-28 Patrick Lam <plam@mit.edu>
1816 * src/fccache.c (FcCacheMachineSignature):
1817
1818 Cast results of sizeof() to unsigned int to get rid of
1819 warnings on x86_64 (thanks Matthias Clasen).
1820
1821 2005-09-27 Patrick Lam <plam@mit.edu>
1822 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1823 FcDirCacheWrite):
1824
1825 Use FcAtomic to rewrite cache files.
1826
1827 2005-09-27 Patrick Lam <plam@mit.edu>
1828
1829 * src/fccache.c (FcDirCacheWrite):
1830
1831 Don't unlink the fonts.cache-2 file even if there's no data
1832 to write; just write an empty cache file. (thanks Lubos Lunak)
1833
1834 2005-09-27 Patrick Lam <plam@mit.edu>
1835
1836 * src/fccache.c (FcDirCacheWrite):
1837
1838 Allocate room for the subdirectory names in each
1839 directory cache. Thanks to James Cloos for finding
1840 and diagnosing this bug!
1841
1842 2005-09-22 Patrick Lam <plam@mit.edu>
1843
1844 * fc-cache/fc-cache.sgml:
1845 * src/fccache.c (FcDirCacheWrite):
1846 * src/fccache.h (struct FcCache):
1847
1848 Update documentation -- fc-cache's man page now says that you
1849 need to run fc-cache once per cached architecture; add some
1850 documentation to the FcCache structure.
1851
1852 Make fc-cache write out fonts.cache-2 files for directories with
1853 no fonts (i.e. only subdirectories).
1854
1855 2005-09-22 Patrick Lam <plam@mit.edu>
1856 * doc/edit-sgml.c:
1857 * fc-cache/fc-cache.sgml:
1858 * fc-case/fc-case.c:
1859 * fc-glyphname/fc-glyphname.c:
1860 * src/fcdefault.c:
1861 * src/fcfreetype.c:
1862 * src/fcinit.c:
1863 * src/fcxml.c:
1864
1865 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1866
1867 * Makefile.am:
1868 * configure.in:
1869 * fc-lang/fc-lang.c:
1870 * fontconfig/fcprivate.h:
1871 * fontconfig/fontconfig.h:
1872 * src/fccache.c:
1873 * src/fccfg.c:
1874 * src/fccharset.c:
1875 * src/fcdbg.c:
1876 * src/fcdir.c:
1877 * src/fcfs.c:
1878 * src/fcint.h:
1879 * src/fclang.c:
1880 * src/fclist.c:
1881 * src/fcmatch.c:
1882 * src/fcname.c:
1883 * src/fcpat.c:
1884
1885 Implement new mmaped cache for font information.
1886 Bump so revision to 2.3.90.
1887
1888 2005-07-25 Keith Packard <keithp@keithp.com>
1889
1890 * doc/fontconfig-user.sgml:
1891 * fc-glyphname/fc-glyphname.c: (scan), (main):
1892 * fc-lang/fc-lang.c: (FcConfigHome):
1893 * fc-match/fc-match.c: (main):
1894 * src/fccfg.c: (FcConfigHome):
1895 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1896 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1897 (addtag), (FcFontCapabilities):
1898 * src/fcpat.c: (FcValueListEntCreate):
1899 * src/fcstr.c: (FcStrCaseWalkerInit):
1900 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1901
1902 Various GCC 4 cleanups for signed vs unsigned char
1903
1904 Match only [0-9]*.conf files in <include>{directory}</include>
1905 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1906
1907 2005-07-15 Carl Worth <cworth@cworth.org>
1908
1909 * src/fcint.h:
1910 * src/fcinit.c: (FcFini):
1911 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1912 FcPatternFini.
1913
1914 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1915 Pull the FcObjectStateName hash table out to file scope, and add
1916 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1917 as well.
1918
1919 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1920 fclose.
1921
1922 2005-06-16 Patrick Lam <plam@MIT.EDU>
1923
1924 reviewed by: keithp
1925
1926 * src/fccfg.c: (FcConfigCompareValue):
1927 Make FcOpNotContains use FcStrStr for strings so that
1928 it matches semantics for !FcOpContains.
1929
1930 2005-05-20 Keith Packard <keithp@keithp.com>
1931
1932 * debian/changelog:
1933 * debian/control:
1934 Move fontconfig source package to libs as per override
1935
1936 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1937
1938 reviewed by: Mike Fabian
1939
1940 * fc-lang/ka.orth:
1941 The ka.orth file requires several characters which are not
1942 used anymore in modern Georgian and which are missing in the free
1943 Georgian TrueType fonts downloadable at:
1944
1945 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1946
1947 2005-04-27 Keith Packard <keithp@keithp.com>
1948
1949 * README:
1950 * debian/changelog:
1951 Update date to real 2.3.2 release date.
1952 Fix change attributions
1953
1954 2005-04-27 Keith Packard <keithp@keithp.com>
1955
1956 * configure.in:
1957 Bump so revision for 2.3.2
1958 * fc-cache/fc-cache.c: (scanDirs):
1959 Fix a few minor leaks in error cases.
1960
1961 2005-04-23 Keith Packard <keithp@keithp.com>
1962
1963 * README:
1964 * configure.in:
1965 * debian/changelog:
1966 * fontconfig/fontconfig.h:
1967 Update for version 2.3.2
1968
1969 2005-04-21 Keith Packard <keithp@keithp.com>
1970
1971 * debian/fontconfig.postinst:
1972 Don't force bitmap font enable in default
1973 configuration; allows users to override this in
1974 ~/.fonts.conf
1975 * debian/po/cs.po:
1976 * debian/po/da.po:
1977 * debian/po/de.po:
1978 * debian/po/es.po:
1979 * debian/po/fr.po:
1980 * debian/po/ja.po:
1981 * debian/po/nl.po:
1982 * debian/po/pt.po:
1983 * debian/po/pt_BR.po:
1984 * debian/po/templates.pot:
1985 * debian/po/tr.po:
1986 * debian/po/zh_CN.po:
1987 Updated translations
1988
1989 * fc-cache/fc-cache.c: (main):
1990 Destroy font configuration on exit to help valgrind
1991
1992 * fonts.conf.in:
1993 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1994 (FcFreeTypeCheckGlyph):
1995 Use own transcoding routines in preference to iconv
1996 which appears to have leaks in some translators.
1997 Call iconv_close after using iconv (oops).
1998
1999 Prefer unicode encoding of Euro char as some
2000 fonts mis-encode Euro in other ones.
2001
2002 Must fetch bitmap glyphs to get width values
2003 to check for monospace/dual-width fonts.
2004
2005 2005-04-13 Ross Burton <ross@burtonini.com>
2006
2007 * src/fcpat.c:
2008 Check that a pattern isn't already frozen in FcPatternFreeze.
2009
2010 2005-03-31 Ross Burton <ross@burtonini.com>
2011
2012 * src/fclist.c:
2013 * src/fcmatch.c:
2014 * src/fcpat.c:
2015 Run all FcPattern objects through FcObjectStaticName, so that
2016 compares can be done on pointers instead of strings (#2659)
2017
2018 2005-03-17 Tor Lillqvist <tml@novell.com>
2019
2020 * src/fontconfig.def.in: Add the .dll to the dll name.
2021
2022 2005-03-10 Keith Packard <keithp@keithp.com>
2023
2024 * debian/README.Debian:
2025 Update to reflect configuration changes
2026 * debian/changelog:
2027 * debian/fontconfig.postinst:
2028 Fix Autohint vs Autohinter mistake
2029 * debian/fontconfig.templates:
2030 Adopt changes from Josselin Mouette for configuration descriptions
2031 Update debian to version 2.3.1-2
2032
2033 2005-03-08 Keith Packard <keithp@keithp.com>
2034
2035 * debian/changelog:
2036 * debian/rules:
2037 Update debian for 2.3.1
2038
2039 2005-03-09 Tor Lillqvist <tml@novell.com>
2040
2041 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
2042 put it, not "lib".
2043
2044 * src/fccfg.c (FcConfigFileExists): Check also drive letter
2045 prefix on Win32.
2046
2047 2005-03-08 Keith Packard <keithp@keithp.com>
2048
2049 * README:
2050 * configure.in:
2051 * fontconfig/fontconfig.h:
2052 Update for 2.3.1
2053
2054 2005-03-05 Keith Packard <keithp@keithp.com>
2055
2056 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
2057 Include space and remove numbers from valid script tags.
2058 This ensures that tags like 'lao ' work while rejecting
2059 those which have any digits.
2060 Eliminate a spurious debugging variable (len)
2061
2062 2005-03-05 Keith Packard <keithp@keithp.com>
2063
2064 * src/fcfreetype.c: (addtag), (GetScriptTags),
2065 (FcFontCapabilities):
2066 Rework GSUB/GPOS script parsing to survive broken fonts.
2067 Thanks for the broken font go to Manish Singh
2068
2069 2005-03-05 Keith Packard <keithp@keithp.com>
2070
2071 Josselin Mouette:
2072 * debian/changelog:
2073 * debian/control:
2074 * debian/fontconfig.config:
2075 * debian/fontconfig.templates:
2076 * debian/rules:
2077 Include 2.3 release information in changelog
2078 Add Josselin Mouette as an Uploader
2079 Set hinting_type to low priority configuration option
2080
2081 Manish Singh:
2082 * debian/fontconfig.postinst:
2083 yes_bitmaps.conf -> yes-bitmaps.conf
2084
2085 Funda Wang:
2086 * src/fcfreetype.c:
2087 Johap -> Johab
2088
2089 2005-03-02 Keith Packard <keithp@keithp.com>
2090
2091 * Makefile.am:
2092 * conf.d/Makefile.am:
2093 * conf.d/autohint.conf:
2094 * conf.d/no-sub-pixel.conf:
2095 * conf.d/sub-pixel.conf:
2096 * conf.d/unhinted.conf:
2097 * debian/autohint.conf:
2098 * debian/fontconfig.install:
2099 * debian/fontconfig.postinst:
2100 * debian/fontconfig.templates:
2101 * debian/no-sub-pixel.conf:
2102 * debian/unhinted.conf:
2103 Move debian-specific conf file examples upstream.
2104
2105 Sub-pixel configuration examples must smash subpixel value
2106 as Xft always sets it from X.
2107
2108 Change sub-pixel rendering debconf descriptions from
2109 Enable/Disable to Always/Never.
2110
2111 2005-03-02 Keith Packard <keithp@keithp.com>
2112
2113 * .cvsignore:
2114 * conf.d/.cvsignore:
2115 * doc/.cvsignore:
2116 Ignore more build detritus
2117
2118 * Makefile.am:
2119 Add debian package construction stuff.
2120
2121 * config/config.guess:
2122 * config/config.sub:
2123 Update to newer versions of these tools
2124
2125 * doc/Makefile.am:
2126 Get library manuals to build again (we love automake).
2127
2128 * debian/README.Debian:
2129 * debian/autohint.conf:
2130 * debian/changelog:
2131 * debian/compat:
2132 * debian/control:
2133 * debian/copyright:
2134 * debian/fontconfig-udeb.install:
2135 * debian/fontconfig.config:
2136 * debian/fontconfig.defoma:
2137 * debian/fontconfig.dirs:
2138 * debian/fontconfig.install:
2139 * debian/fontconfig.postinst:
2140 * debian/fontconfig.postrm:
2141 * debian/fontconfig.templates:
2142 * debian/libfontconfig1-dev.install:
2143 * debian/libfontconfig1.install:
2144 * debian/local.conf.md5sum:
2145 * debian/no-sub-pixel.conf:
2146 * debian/po/POTFILES.in:
2147 * debian/po/cs.po:
2148 * debian/po/da.po:
2149 * debian/po/de.po:
2150 * debian/po/es.po:
2151 * debian/po/fr.po:
2152 * debian/po/ja.po:
2153 * debian/po/nl.po:
2154 * debian/po/pt.po:
2155 * debian/po/pt_BR.po:
2156 * debian/po/templates.pot:
2157 * debian/po/tr.po:
2158 * debian/po/zh_CN.po:
2159 * debian/rules:
2160 * debian/unhinted.conf:
2161 Update debian build system to switch maintainers and
2162 deal with 2.3 functionality
2163
2164 2005-03-01 Keith Packard <keithp@keithp.com>
2165
2166 * README:
2167 * configure.in:
2168 * fontconfig/fontconfig.h:
2169 Update for 2.3.0
2170
2171 2005-03-01 Keith Packard <keithp@keithp.com>
2172
2173 * doc/Makefile.am:
2174 Generate and install PDF versions of the manuals
2175
2176 * doc/fcpattern.fncs:
2177 Fix formatting
2178
2179 * doc/fcstring.fncs:
2180 Add missing exported functions, fix data types
2181
2182 * doc/fontconfig-devel.sgml:
2183 Add missing pattern elements.
2184
2185 * doc/fontconfig-user.sgml:
2186 Add missing pattern elements. Document conf.d usage,
2187 clarify available orthography list. Fix some config file
2188 attributes. Complete list of constants.
2189
2190 * fontconfig/fontconfig.h:
2191 Mark FC_SOURCE deprecated.
2192
2193 * src/fcfreetype.c: (FcFreeTypeQuery):
2194 Don't set FC_SOURCE any longer.
2195
2196 2005-02-28 Keith Packard <keithp@keithp.com>
2197
2198 * Makefile.am:
2199 * conf.d/Makefile.am:
2200 * conf.d/README:
2201 * conf.d/no-bitmaps.conf:
2202 * conf.d/sub-pixel.conf:
2203 * conf.d/yes-bitmaps.conf:
2204 * configure.in:
2205 Create prototype /etc/fonts/conf.d directory with a few
2206 sample configuration files.
2207 Deprecate use of local.conf for local customizations in favor of
2208 this directory based scheme which is more easily integrated into
2209 installation systems.
2210
2211 * src/fcname.c:
2212 Tag FC_EMBOLDEN as a boolean variable
2213
2214 2005-02-10 Keith Packard <keithp@keithp.com>
2215
2216 reviewed by: pborelli@katamail.com
2217
2218 * src/fcdir.c: (FcFileScanConfig):
2219 Free patterns from fonts which are rejected by configuration
2220 (bug #2518)
2221
2222 2005-01-28 Keith Packard <keithp@keithp.com>
2223
2224 * README:
2225 * configure.in:
2226 * fontconfig/fontconfig.h:
2227 Update for version 2.2.99
2228
2229 2005-01-28 Keith Packard <keithp@keithp.com>
2230
2231 * README:
2232 Add a few pointers (#2284, #2285)
2233
2234 2005-01-28 Keith Packard <keithp@keithp.com>
2235
2236 * src/fcint.h:
2237 * src/fcname.c: (FcNameBool):
2238 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2239 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2240 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2241 Polite typechecking for test and edit expressions. Helps
2242 catch errors in the font configuration. (bug 229)
2243
2244 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2245
2246 reviewed by: Keith Packard <keithp@keithp.com>
2247
2248 * configure.in:
2249 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2250
2251 2005-01-13 Keith Packard <keithp@keithp.com>
2252
2253 * doc/fontconfig-user.sgml:
2254 Add SEE ALSO section (bug 2085)
2255
2256 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2257
2258 reviewed by: Keith Packard <keithp@keithp.com>
2259
2260 * Makefile.am:
2261 * configure.in:
2262 * doc/Makefile.am:
2263 * fc-case/Makefile.am:
2264 * fc-glyphname/Makefile.am:
2265 * fc-lang/Makefile.am:
2266 * src/fontconfig.def.in:
2267 Cross compiling fixes (bug 280)
2268
2269 2005-01-13 Keith Packard <keithp@keithp.com>
2270
2271 * fonts.conf.in:
2272 Update blanks list (Closes bug 86)
2273
2274 2005-01-04 Keith Packard <keithp@keithp.com>
2275
2276 * src/fccache.c: (FcCacheFontSetAdd):
2277 Verify that every font pattern loaded from cache has
2278 both FC_FILE and FC_FAMILY entries.
2279 Attempt to fix bug #2219.
2280
2281 2004-12-29 Keith Packard <keithp@keithp.com>
2282
2283 * README:
2284 * configure.in:
2285 * fontconfig/fontconfig.h:
2286 Update for version 2.2.98
2287
2288 2004-12-29 Keith Packard <keithp@keithp.com>
2289
2290 * fontconfig/fontconfig.h:
2291 Document ASCII limitations of Fc character conversion macros
2292 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2293 Fix off-by-one error in utf-8 case walking code.
2294 Add FcStrDowncase (useful for testing case conversion functions)
2295
2296 2004-12-29 Keith Packard <keithp@keithp.com>
2297
2298 * .cvsignore:
2299 * fc-case/.cvsignore:
2300 clean up CVS ignore lists
2301 * fc-lang/iso-3166.txt:
2302 Add territory database
2303
2304 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2305
2306 Reviewed by: Keith Packard
2307
2308 * fc-lang/ko.orth:
2309 Remove Han characters from Korean orthography
2310
2311 2004-12-29 Keith Packard <keithp@keithp.com>
2312
2313 * Makefile.am:
2314 Reorder utility programs to make sure fc-case is run before fc-lang
2315 as fc-lang uses fcstr.c which uses fccase.h
2316 * fonts.conf.in:
2317 Fix broken XML
2318
2319 2004-12-29 Keith Packard <keithp@keithp.com>
2320
2321 * fonts.conf.in:
2322 Adopt some RedHat suggestions for standard font configuration.
2323
2324 * Makefile.am:
2325 * configure.in:
2326 * fc-case/CaseFolding.txt:
2327 * fc-case/Makefile.am:
2328 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2329 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2330 (dump), (parseRaw), (caseFoldReadRaw), (main):
2331 * fc-case/fccase.tmpl.h:
2332 Add new helper program 'fc-case' to construct case folding
2333 tables from standard Unicode CaseFolding.txt file
2334
2335 * src/fcint.h:
2336 * src/fclist.c: (FcListValueHash):
2337 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2338 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2339 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2340 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2341 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2342 Re-implement case insensitive functions with Unicode
2343 aware versions (including full case folding mappings)
2344
2345 2004-12-13 Keith Packard <keithp@keithp.com>
2346
2347 reviewed by: Owen Taylor <otaylor@redhat.com>
2348
2349 * src/fcmatch.c: (FcFontSetSort):
2350 I changed FcFontSetSort to respect the generic aliases better
2351 in the face of language matching.
2352
2353 What I did was to ammend the strict sort order used by FcFontSort so
2354 that it 'satisfies' the language specified in the pattern by locating
2355 the best matching font supporting each pattern language and then
2356 ignores language in the remaining fonts for purposes of matching.
2357
2358 So, when asking for 'sans:lang=en', you'll get an English font first,
2359 and then the remaining fonts sorted with respect to the 'sans' alias
2360 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2361
2362 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2363
2364 reviewed by: Keith Packard <keithp@keithp.com>
2365
2366 * fontconfig/fontconfig.h:
2367 * fonts.conf.in:
2368
2369 Configuration changes to request synthetic emboldening of
2370 fonts. The actual emboldening code will live in Xft.
2371
2372 2004-12-09 John Thacker <thacker@math.cornell.edu>
2373
2374 reviewed by: Keith Packard <keithp@keithp.com>
2375
2376 * fc-lang/ru.orth:
2377
2378 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2379 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2380 и), and don't even appear in KOI8-R. (The hypothesis that they
2381 don't appear in KOI8-R due to their similarity with Latin I and i is
2382 eliminated by their presence in KOI8-U.) I have a couple of fonts
2383 with Russian support that don't have the letter.
2384
2385 Therefore, 0406 and 0456 should be removed from or commented out of
2386 ru.orth
2387
2388 2004-12-06 michael meeks <mmeeks@novell.com>
2389
2390 Reviewed by: Keith Packard <keithp@keithp.com>
2391
2392 * src/fcinit.c: (FcMemReport):
2393 * src/fcint.h:
2394 * src/fclist.c: (FcObjectSetAdd):
2395 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2396 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2397 * src/fcxml.c: (FcParsePatelt):
2398 memoize strings and share a single copy for all uses. Note that
2399 this could be improved further by using statically allocated blocks
2400 and gluing multiple strings together, but I'm basically lazy.
2401 In my environment with 800 font files, I get a savings of about 90KB.
2402
2403 2004-12-06 Keith Packard <keithp@keithp.com>
2404
2405 * COPYING:
2406 * Makefile.am:
2407 * config/Makedefs.in:
2408 * configure.in:
2409 * doc/edit-sgml.c:
2410 * doc/fcatomic.fncs:
2411 * doc/fcblanks.fncs:
2412 * doc/fccharset.fncs:
2413 * doc/fcconfig.fncs:
2414 * doc/fcconstant.fncs:
2415 * doc/fcfile.fncs:
2416 * doc/fcfontset.fncs:
2417 * doc/fcfreetype.fncs:
2418 * doc/fcinit.fncs:
2419 * doc/fcmatrix.fncs:
2420 * doc/fcobjectset.fncs:
2421 * doc/fcobjecttype.fncs:
2422 * doc/fcpattern.fncs:
2423 * doc/fcstring.fncs:
2424 * doc/fcstrset.fncs:
2425 * doc/fcvalue.fncs:
2426 * doc/fontconfig-devel.sgml:
2427 * doc/fontconfig-user.sgml:
2428 * doc/func.sgml:
2429 * doc/version.sgml.in:
2430 * fc-cache/Makefile.am:
2431 * fc-cache/fc-cache.c:
2432 * fc-glyphname/Makefile.am:
2433 * fc-glyphname/fc-glyphname.c:
2434 * fc-glyphname/fcglyphname.tmpl.h:
2435 * fc-lang/Makefile.am:
2436 * fc-lang/aa.orth:
2437 * fc-lang/ab.orth:
2438 * fc-lang/af.orth:
2439 * fc-lang/am.orth:
2440 * fc-lang/ar.orth:
2441 * fc-lang/ast.orth:
2442 * fc-lang/ava.orth:
2443 * fc-lang/ay.orth:
2444 * fc-lang/az.orth:
2445 * fc-lang/az_ir.orth:
2446 * fc-lang/ba.orth:
2447 * fc-lang/bam.orth:
2448 * fc-lang/be.orth:
2449 * fc-lang/bg.orth:
2450 * fc-lang/bh.orth:
2451 * fc-lang/bho.orth:
2452 * fc-lang/bi.orth:
2453 * fc-lang/bin.orth:
2454 * fc-lang/bn.orth:
2455 * fc-lang/bo.orth:
2456 * fc-lang/br.orth:
2457 * fc-lang/bs.orth:
2458 * fc-lang/bua.orth:
2459 * fc-lang/ca.orth:
2460 * fc-lang/ce.orth:
2461 * fc-lang/ch.orth:
2462 * fc-lang/chm.orth:
2463 * fc-lang/chr.orth:
2464 * fc-lang/co.orth:
2465 * fc-lang/cs.orth:
2466 * fc-lang/cu.orth:
2467 * fc-lang/cv.orth:
2468 * fc-lang/cy.orth:
2469 * fc-lang/da.orth:
2470 * fc-lang/de.orth:
2471 * fc-lang/dz.orth:
2472 * fc-lang/el.orth:
2473 * fc-lang/en.orth:
2474 * fc-lang/eo.orth:
2475 * fc-lang/es.orth:
2476 * fc-lang/et.orth:
2477 * fc-lang/eu.orth:
2478 * fc-lang/fa.orth:
2479 * fc-lang/fc-lang.c:
2480 * fc-lang/fc-lang.man:
2481 * fc-lang/fclang.tmpl.h:
2482 * fc-lang/fi.orth:
2483 * fc-lang/fj.orth:
2484 * fc-lang/fo.orth:
2485 * fc-lang/fr.orth:
2486 * fc-lang/ful.orth:
2487 * fc-lang/fur.orth:
2488 * fc-lang/fy.orth:
2489 * fc-lang/ga.orth:
2490 * fc-lang/gd.orth:
2491 * fc-lang/gez.orth:
2492 * fc-lang/gl.orth:
2493 * fc-lang/gn.orth:
2494 * fc-lang/gu.orth:
2495 * fc-lang/gv.orth:
2496 * fc-lang/ha.orth:
2497 * fc-lang/haw.orth:
2498 * fc-lang/he.orth:
2499 * fc-lang/hi.orth:
2500 * fc-lang/ho.orth:
2501 * fc-lang/hr.orth:
2502 * fc-lang/hu.orth:
2503 * fc-lang/hy.orth:
2504 * fc-lang/ia.orth:
2505 * fc-lang/ibo.orth:
2506 * fc-lang/id.orth:
2507 * fc-lang/ie.orth:
2508 * fc-lang/ik.orth:
2509 * fc-lang/io.orth:
2510 * fc-lang/is.orth:
2511 * fc-lang/iso639-2:
2512 * fc-lang/it.orth:
2513 * fc-lang/iu.orth:
2514 * fc-lang/ja.orth:
2515 * fc-lang/ka.orth:
2516 * fc-lang/kaa.orth:
2517 * fc-lang/ki.orth:
2518 * fc-lang/kk.orth:
2519 * fc-lang/kl.orth:
2520 * fc-lang/km.orth:
2521 * fc-lang/kn.orth:
2522 * fc-lang/ko.orth:
2523 * fc-lang/kok.orth:
2524 * fc-lang/ks.orth:
2525 * fc-lang/ku.orth:
2526 * fc-lang/ku_ir.orth:
2527 * fc-lang/kum.orth:
2528 * fc-lang/kv.orth:
2529 * fc-lang/kw.orth:
2530 * fc-lang/ky.orth:
2531 * fc-lang/la.orth:
2532 * fc-lang/lb.orth:
2533 * fc-lang/lez.orth:
2534 * fc-lang/lo.orth:
2535 * fc-lang/lt.orth:
2536 * fc-lang/lv.orth:
2537 * fc-lang/mg.orth:
2538 * fc-lang/mh.orth:
2539 * fc-lang/mi.orth:
2540 * fc-lang/mk.orth:
2541 * fc-lang/ml.orth:
2542 * fc-lang/mn.orth:
2543 * fc-lang/mo.orth:
2544 * fc-lang/mr.orth:
2545 * fc-lang/mt.orth:
2546 * fc-lang/my.orth:
2547 * fc-lang/nb.orth:
2548 * fc-lang/nds.orth:
2549 * fc-lang/ne.orth:
2550 * fc-lang/nl.orth:
2551 * fc-lang/nn.orth:
2552 * fc-lang/no.orth:
2553 * fc-lang/ny.orth:
2554 * fc-lang/oc.orth:
2555 * fc-lang/om.orth:
2556 * fc-lang/or.orth:
2557 * fc-lang/os.orth:
2558 * fc-lang/pl.orth:
2559 * fc-lang/ps_af.orth:
2560 * fc-lang/ps_pk.orth:
2561 * fc-lang/pt.orth:
2562 * fc-lang/rm.orth:
2563 * fc-lang/ro.orth:
2564 * fc-lang/ru.orth:
2565 * fc-lang/sa.orth:
2566 * fc-lang/sah.orth:
2567 * fc-lang/sco.orth:
2568 * fc-lang/se.orth:
2569 * fc-lang/sel.orth:
2570 * fc-lang/sh.orth:
2571 * fc-lang/si.orth:
2572 * fc-lang/sk.orth:
2573 * fc-lang/sl.orth:
2574 * fc-lang/sm.orth:
2575 * fc-lang/sma.orth:
2576 * fc-lang/smj.orth:
2577 * fc-lang/smn.orth:
2578 * fc-lang/sms.orth:
2579 * fc-lang/so.orth:
2580 * fc-lang/sq.orth:
2581 * fc-lang/sr.orth:
2582 * fc-lang/sv.orth:
2583 * fc-lang/sw.orth:
2584 * fc-lang/syr.orth:
2585 * fc-lang/ta.orth:
2586 * fc-lang/te.orth:
2587 * fc-lang/tg.orth:
2588 * fc-lang/th.orth:
2589 * fc-lang/ti_er.orth:
2590 * fc-lang/ti_et.orth:
2591 * fc-lang/tig.orth:
2592 * fc-lang/tk.orth:
2593 * fc-lang/tl.orth:
2594 * fc-lang/tn.orth:
2595 * fc-lang/to.orth:
2596 * fc-lang/tr.orth:
2597 * fc-lang/ts.orth:
2598 * fc-lang/tt.orth:
2599 * fc-lang/tw.orth:
2600 * fc-lang/tyv.orth:
2601 * fc-lang/ug.orth:
2602 * fc-lang/uk.orth:
2603 * fc-lang/ur.orth:
2604 * fc-lang/uz.orth:
2605 * fc-lang/ven.orth:
2606 * fc-lang/vi.orth:
2607 * fc-lang/vo.orth:
2608 * fc-lang/vot.orth:
2609 * fc-lang/wa.orth:
2610 * fc-lang/wen.orth:
2611 * fc-lang/wo.orth:
2612 * fc-lang/xh.orth:
2613 * fc-lang/yap.orth:
2614 * fc-lang/yi.orth:
2615 * fc-lang/yo.orth:
2616 * fc-lang/zh_cn.orth:
2617 * fc-lang/zh_hk.orth:
2618 * fc-lang/zh_mo.orth:
2619 * fc-lang/zh_sg.orth:
2620 * fc-lang/zh_tw.orth:
2621 * fc-lang/zu.orth:
2622 * fc-list/Makefile.am:
2623 * fc-list/fc-list.c:
2624 * fc-match/Makefile.am:
2625 * fc-match/fc-match.1:
2626 * fc-match/fc-match.c:
2627 * fontconfig/fcfreetype.h:
2628 * fontconfig/fcprivate.h:
2629 * fontconfig/fontconfig.h:
2630 * src/fcatomic.c:
2631 * src/fcblanks.c:
2632 * src/fccache.c:
2633 * src/fccfg.c:
2634 * src/fccharset.c:
2635 * src/fcdbg.c:
2636 * src/fcdefault.c:
2637 * src/fcdir.c:
2638 * src/fcfreetype.c:
2639 * src/fcfs.c:
2640 * src/fcinit.c:
2641 * src/fcint.h:
2642 * src/fclang.c:
2643 * src/fclist.c:
2644 * src/fcmatch.c:
2645 * src/fcmatrix.c:
2646 * src/fcname.c:
2647 * src/fcpat.c:
2648 * src/fcstr.c:
2649 * src/fcxml.c:
2650 Change files from ISO-Latin-1 to UTF-8
2651
2652 2004-12-04 Keith Packard <keithp@keithp.com>
2653
2654 * INSTALL:
2655 Update links to new freedesktop.org locations
2656 * Makefile.am:
2657 Add uninstall-local to get rid of fonts.conf and local.conf if they
2658 match the distributed versions. Fixes 'make distcheck'
2659
2660 2004-12-04 Keith Packard <keithp@keithp.com>
2661
2662 * README:
2663 * configure.in:
2664 * fontconfig/fontconfig.h:
2665 Updates for version 2.2.97
2666
2667 2004-12-04 Owen Taylor <otaylor@redhat.com>
2668
2669 reviewed by: Keith Packard <keithp@keithp.com>
2670
2671 * fc-cache/fc-cache.c: (main):
2672 Sleep for two seconds before exiting to make sure timestamps
2673 for future changes have distinct mod times in the file system.
2674 Bug #1982.
2675 * fc-lang/pa.orth:
2676 Add Punjabi orthography. Bug #1671.
2677
2678 2004-12-04 Keith Packard <keithp@keithp.com>
2679
2680 * fonts.conf.in:
2681 Just remove the FC_FONTDATE -- it has locale issues and
2682 annoys redhat multi-arch installs. Now that all X fonts are
2683 included without prejudice, the chances of the date being at
2684 all interesting are rather limited. Bug #505.
2685 * src/Makefile.am:
2686 Add copyright and license
2687
2688 2004-12-04 Keith Packard <keithp@keithp.com>
2689
2690 * configure.in:
2691 Change default set of fonts to include all of
2692 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2693 * doc/fontconfig-user.sgml:
2694 Document new <include>directory-name</include> semantics
2695 * fonts.conf.in:
2696 add <include ignore_missing="yes">conf.d</include>
2697 * local.conf:
2698 Add selectfont to ignore bitmap fonts, add comment for
2699 selectfont which accepts bitmap fonts.
2700 * src/fcdir.c:
2701 * src/fcint.h:
2702 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2703 Allow <include> configuration elements to reference directories.
2704 Parse and load all files of the form [0-9]* in sorted order.
2705
2706 2004-12-04 Keith Packard <keithp@keithp.com>
2707
2708 * autogen.sh:
2709 Report command line for $srcdir/configure accurately.
2710 Bug #212.
2711
2712 2004-12-04 Keith Packard <keithp@keithp.com>
2713
2714 * src/fcfreetype.c: (FcFreeTypeQuery):
2715 Check for non-empty face->family_name and face->style_name
2716 before using those for the font. Empty names match everything.
2717 Bug #210.
2718
2719 2004-12-04 Keith Packard <keithp@keithp.com>
2720
2721 * configure.in:
2722 * fontconfig/fontconfig.h:
2723 * src/fcfreetype.c: (FcFreeTypeQuery):
2724 * src/fcname.c:
2725 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2726 available. This provides font file format information (BDF, Type 1,
2727 PCF, TrueType) for each font. Closes #109.
2728
2729 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2730
2731 reviewed by: Keith Packard <keithp@keithp.com>
2732
2733 * doc/fontconfig-user.sgml:
2734 Fix typo.
2735
2736 * fontconfig/fontconfig.h:
2737 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2738 (GetScriptTags), (FcFontCapabilities):
2739 * src/fcname.c:
2740 Add detection for font capabilities (bug #105)
2741
2742 2004-12-04 Keith Packard <keithp@keithp.com>
2743
2744 * Makefile.am:
2745 Move existing fonts.conf to fonts.conf.bak
2746
2747 * configure.in:
2748 Add detection of iconv
2749
2750 * doc/fcpattern.fncs:
2751 * doc/fontconfig-devel.sgml:
2752 * doc/fontconfig-user.sgml:
2753 * fonts.dtd:
2754 Document new selectfont elements
2755
2756 * fc-lang/nb.orth:
2757 Switch to UTF-8 in comment
2758
2759 * fontconfig/fontconfig.h:
2760 * src/fcname.c:
2761 Add fullname, and family/style/fullname language entries
2762
2763 * src/fccache.c: (FcCacheFontSetAdd):
2764 * src/fcdir.c: (FcFileScanConfig):
2765 Respect selectfont/*/glob
2766
2767 * src/fcint.h:
2768 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2769 (FcConfigCompareValue), (FcConfigPatternsAdd),
2770 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2771 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2772 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2773 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2774 Add support for selectfont
2775
2776 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2777 (FcStringInPatternElement), (FcFreeTypeQuery):
2778 Add multi-lingual family/style/fullname support
2779
2780 * src/fclist.c: (FcListPatternMatchAny):
2781 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2782
2783 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2784 (FcObjectStaticName):
2785 Add new FcPatternRemove/FcPatternAppend.
2786 FcObjectStaticName stores computed pattern element names which
2787 are required to be static.
2788
2789 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2790
2791 reviewed by: keithp
2792
2793 * Makefile.am:
2794 Remove spurious / after $(DESTDIR)
2795
2796 2004-06-30 Keith Packard <keithp@keithp.com>
2797
2798 * README:
2799 * configure.in:
2800 * fontconfig/fontconfig.h:
2801 Update for 2.2.96
2802
2803 2004-06-30 Keith Packard <keithp@keithp.com>
2804
2805 Provided by: Lubos Lunak <l.lunak@suse.cz>
2806
2807 * src/fccfg.c: (FcConfigUptoDate):
2808 However FcConfigUptoDate() doesn't seem to work. See the attached
2809 patch. First there's an obvious misplaced parenthesis making it
2810 return always false, and second, even this call fails to detect font
2811 changes (e.g. adding a new font to
2812 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2813 well. The problem seems to be triggered by my fonts.conf specifying
2814 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2815 doesn't include subdirs, unlike config->fontDirs.
2816
2817 2004-06-03 Keith Packard <keithp@keithp.com>
2818
2819 * fontconfig/fontconfig.h:
2820 Remove comma at end of FcResult enum definition.
2821
2822 2004-05-29 Keith Packard <keithp@keithp.com>
2823
2824 * INSTALL:
2825 Add steps to md5sum release
2826
2827 2004-05-29 Keith Packard <keithp@keithp.com>
2828
2829 * README:
2830 * configure.in:
2831 * fontconfig/fontconfig.h:
2832 Update for 2.2.95
2833
2834 2004-05-29 Keith Packard <keithp@keithp.com>
2835
2836 * fontconfig/fontconfig.h:
2837 * src/fcmatch.c: (FcFontSetMatch):
2838 Add FcResultOutOfMemory to provide an accurate error when
2839 FcFontSetMatch fails in this way
2840
2841 * src/fcfreetype.c:
2842 Make #warning about lacking various FreeType features indicate
2843 which version those features appeared so users know how to
2844 fix the problem (Thanks to Anton Tropashko)
2845
2846 2004-05-05 Keith Packard <keithp@keithp.com>
2847
2848 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2849 Replace MIN/MAX/ABS macros which happen to have come
2850 from FreeType with fontconfig-specific ones (FC_*)
2851
2852 2004-04-23 Keith Packard <keithp@keithp.com>
2853
2854 * INSTALL:
2855 Extend release preparation instructions to include
2856 notification and distribution steps
2857
2858 2004-04-23 Keith Packard <keithp@keithp.com>
2859
2860 * README:
2861 * configure.in:
2862 * fontconfig/fontconfig.h:
2863 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2864
2865 2004-04-23 Keith Packard <keithp@keithp.com>
2866
2867 * .cvsignore:
2868 Ignore a few more autotool files
2869
2870 2004-04-14 Keith Packard <keithp@keithp.com>
2871
2872 * INSTALL:
2873 Add instructions for doing a release
2874
2875 * fontconfig.spec.in:
2876 clean up .spec file; perhaps this will be useful to somebody...
2877
2878 * README:
2879 * configure.in:
2880 * fontconfig/fontconfig.h:
2881 Update to 2.2.93
2882
2883 * fc-lang/fc-lang.c:
2884 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2885
2886 * fc-glyphname/Makefile.am:
2887 * fc-lang/Makefile.am:
2888 * fc-list/Makefile.am:
2889 * fc-match/Makefile.am:
2890 * src/Makefile.am:
2891 Add WARN_CFLAGS to pass -W flags for GCC systems
2892
2893 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2894 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2895 Change various char types around to match across
2896 function calls.
2897 Fixed bug in using available_sizes[i].height which
2898 is in pixels, not 64ths of a pixel.
2899
2900 2004-03-06 Keith Packard <keithp@keithp.com>
2901
2902 * src/fcfreetype.c: (FcFreeTypeQuery):
2903 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2904 matches looking for explicit values prefer exact matches
2905
2906 2004-03-02 Keith Packard <keithp@keithp.com>
2907
2908 Supplied by: mfabian@suse.de (Mike FABIAN)
2909
2910 * src/fcfreetype.c: (FcFreeTypeQuery):
2911 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2912 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2913
2914 2004-02-21 Manish Singh <yosh@gimp.org>
2915
2916 * fc-glyphname/fc-glyphname.c: (main):
2917 Cast strlen to int for printf, so we're 64-bit clean.
2918
2919 2004-02-11 Keith Packard <keithp@keithp.com>
2920
2921 * configure.in:
2922 * src/fcfreetype.c: (FcGetPixelSize):
2923 Ok, so I messed up the test for y_ppem. Let's see if I
2924 got it right this time.
2925
2926 2004-02-10 Keith Packard <keithp@keithp.com>
2927
2928 * configure.in:
2929 * src/fcfreetype.c: (FcGetPixelSize):
2930 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2931 FT_Bitmap_Size record. Add a configure.in test for this
2932 and change the code accordingly (using height instead).
2933
2934 2004-02-06 Keith Packard <keithp@keithp.com>
2935
2936 * fc-lang/nds.orth:
2937 Add Low Saxon orthography
2938 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2939
2940 * src/fccfg.c: (FcConfigNewestFile):
2941 Oops. Left 'newest.set' unset, which would miscompute
2942 the newest file
2943
2944 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2945 (FcFreeTypeCheckGlyph):
2946 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2947 font properties (which report the wrong value in current FreeType)
2948
2949 Don't attempt to check for empty glyphs in non-scalable fonts; they
2950 have no outlines...
2951
2952 2004-02-01 Tor Lillqvist <tml@iki.fi>
2953
2954 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2955 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2956 cache if config->cache is NULL, which happens if FcConfigHome() is
2957 NULL. Guard against that by using the temp folder in that case.
2958
2959 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2960
2961 * fc-lang/az_ir.orth:
2962 * fc-lang/ku_ir.orth:
2963 * fc-lang/ps_af.orth:
2964 * fc-lang/ps_pk.orth:
2965 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2966 (Afghan and Pakistani).
2967 * fc-lang/ur.orth:
2968 Updated Urdu orthography with real data.
2969
2970 2003-12-11 Carl Worth <cworth@east.isi.edu>
2971
2972 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2973 USEDOCBOOK' block.
2974
2975 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2976 USEDOCBOOK' block.
2977 (all-local): Remove excessive whitespace.
2978
2979 * autogen.sh: Add 'set -e' to abort when any program fails,
2980 (avoids printing of 'now type make' after configure aborts).
2981
2982 2003-11-17 Eric Christopherson <rakko@charter.net>
2983
2984 reviewed by: Keith Packard <keithp@keithp.com>
2985
2986 * doc/Makefile.am:
2987 * fontconfig/fcfreetype.h:
2988 * src/fcfreetype.c:
2989 Switch to FreeType 2.1.7 style includes. Bug #150.
2990
2991 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2992
2993 * fc-list/fc-list.sgml: Add some example usages.
2994
2995 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2996
2997 * src/fcxml.c:
2998 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2999 separators.
3000
3001 2003-10-27 Keith Packard <keith@keithp.com>
3002
3003 * configure.in:
3004 * fontconfig/fontconfig.h:
3005 Update to version 2.2.92
3006
3007 2003-10-27 Keith Packard <keithp@keithp.com>
3008
3009 * Makefile.am:
3010 * configure.in:
3011 * doc/Makefile.am:
3012 * fc-cache/Makefile.am:
3013 * fc-glyphname/Makefile.am:
3014 * fc-lang/Makefile.am:
3015 * fc-list/Makefile.am:
3016 * fc-match/Makefile.am:
3017 * test/Makefile.am:
3018 * test/run-test.sh:
3019 Yet more cleanups to finish getting 'make distcheck' working
3020 This has been tested to ensure that it even works from a _build
3021 directory.
3022
3023 2003-10-26 Keith Packard <keithp@keithp.com>
3024
3025 * configure.in:
3026 * doc/Makefile.am:
3027 * fc-cache/Makefile.am:
3028 * fc-glyphname/Makefile.am:
3029 * fc-lang/Makefile.am:
3030 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
3031 * fc-list/Makefile.am:
3032 * fc-match/Makefile.am:
3033 Attempts to fix 'make distcheck' work. Things are
3034 progressing pretty well, but there are still failures
3035 long into the process dealing with docs (as always).
3036
3037 The big changes here are mostly to make $(srcdir) != "."
3038 work correctly, fixing the docbook related sections and
3039 fc-lang were particularily tricky. Docbook refuses to load
3040 system entities from anywhere other than where the original .sgml
3041 file was located, so no luck looking in "." for the
3042 configure-generated version.sgml and confdir.sgml files.
3043
3044 fc-lang needed help finding .orth files; added a -d option
3045 to set the directory as the least evil of many options.
3046
3047 Now to go use a faster machine and try and wring out the last
3048 issues.
3049
3050 2003-10-26 Keith Packard <keithp@keithp.com>
3051
3052 Tag version 2.2.91
3053
3054 2003-10-26 Keith Packard <keithp@keithp.com>
3055
3056 * doc/Makefile.am:
3057 Include confdir.sgml.in in EXTRA_DIST
3058
3059 2003-10-09 Josselin Mouette <joss@debian.org>
3060
3061 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
3062 * fc-list/fc-list.sgml fc-list/Makefile.am:
3063 Replace fc-cache and fc-list manpages with more detailed, SGML
3064 versions.
3065
3066 2003-09-23 Owen Taylor <otaylor@redhat.com>
3067
3068 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3069 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3070 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3071 (Bug #117)
3072
3073 2003-09-23 Owen Taylor <otaylor@redhat.com>
3074
3075 * fc-lang/ka.orth: Remove Georgian capitals, they
3076 aren't used for normal writing. (Bug #116)
3077
3078 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3079
3080 * doc/fontconfig-devel.sgml:
3081 * doc/fontconfig-user.sgml:
3082 * fontconfig/fontconfig.h:
3083 * src/fcname.c:
3084 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3085 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3086
3087 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3088 monospace and dual-width fonts, allow roughly a 3% variance in the
3089 advances.
3090
3091 2003-08-31 Manish Singh <yosh@gimp.org>
3092
3093 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3094 use default config.
3095
3096 2003-08-15 Carl Worth <cworth@isi.edu>
3097
3098 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3099 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3100
3101 * src/fcpat.c (FcValueListEntDestroy): New function to support
3102 FcFini memory cleanup. Some statistics are not kept in
3103 synch. here.
3104 (FcValueListFreeze): Move hashTable outside this function so it
3105 can be accessed by FcValueListThawAll.
3106 (FcValueListThawAll): New function complements FcValueListFreeze.
3107 (FcPatternBaseFreeze): Move hashTable outside this function so it
3108 can be accessed by FcPatternBaseThawAll.
3109 (FcPatternBaseThawAll): New function complements
3110 FcPatternBaseFreeze.
3111 (FcPatternThawAll): New function complements FcPatternFreeze.
3112
3113 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3114
3115 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3116 allocated FcCharLeafEnt "blocks" so they can be freed later.
3117 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3118 can be accessed by FcCharSetThawAllLeaf.
3119 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3120 (FcCharSetFreezeBase): Move hashTable outside this function so it
3121 can be accessed by FcCharSetThawAll.
3122 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3123
3124 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3125 (FcConfigDestroy): Fic leak of FcBlanks.
3126
3127 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3128 (main): Add call to FcFini when finished.
3129
3130 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3131 static. Add prototypes.
3132
3133 * doc/fcinit.fncs: Add documentation for FcFini function.
3134
3135 * doc/edit-sgml.c: Mark several local functions as static. Add
3136 prototypes.
3137
3138 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3139
3140 2003-06-15 Tor Lillqvist <tml@iki.fi>
3141
3142 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3143 before comparing (needed on Windows).
3144
3145 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3146
3147 2003-06-13 Tor Lillqvist <tml@iki.fi>
3148
3149 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3150 man pages.
3151
3152 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3153 WINDOWSFONTDIR token.
3154
3155 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3156 end, not to confuse libtool, which expects the EXPORTS line to be
3157 the first. Add FcConfigEnableHome.
3158
3159 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3160 built as a DLL on Win32.
3161
3162 2003-06-09 Keith Packard <keithp@keithp.com>
3163
3164 * Tag version 2.2.90
3165
3166 2003-06-09 Keith Packard <keithp@keithp.com>
3167
3168 * Optimization in FcLangSetIndex was broken, occasionally
3169 returning a pointer to the wrong location on miss
3170
3171 * Add fc-match to test font matching from the command line.
3172
3173 2003-05-31 Keith Packard <keithp@keithp.com>
3174
3175 * (Bug 85) add support for culmus fonts
3176 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3177 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3178
3179 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3180
3181 * Fix "contains" op for strings and langsets.
3182
3183 2003-05-17 Keith Packard <keithp@keithp.com>
3184
3185 * Fix build error with BDF prop local. Free langset after query
3186
3187 2003-05-14 Keith Packard <keithp@keithp.com>
3188
3189 * Extract spacing from XLFD atom
3190
3191 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3192
3193 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3194 disappeared in 1.30.
3195
3196 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3197
3198 2003-05-12 Keith Packard <keithp@keithp.com>
3199
3200 * Use FcIsWidth to share code
3201
3202 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3203 misclassifying some Han fonts as monospaced.
3204
3205 2003-05-07 Keith Packard <keithp@keithp.com>
3206
3207 * Add filename-based accept/reject to ammend available fonts.
3208
3209 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3210 older FreeType releases.
3211
3212 2003-05-06 Keith Packard <keithp@keithp.com>
3213
3214 * Remove 0b82 and Tamil numbers from tamil
3215 orthography (Jungshik Shin <jshin@mailaps.org>)
3216
3217 2003-05-04 Keith Packard <keithp@keithp.com>
3218
3219 + Map glyph names in fonts with adobe custom encoding to unicode
3220
3221 2003-05-02 Keith Packard <keithp@keithp.com>
3222
3223 * Add FC_WEIGHT_BOOK as weight 75
3224
3225 2003-04-30 Keith Packard <keithp@keithp.com>
3226
3227 * Typo in bitstream foundry name
3228
3229 2003-04-24 Keith Packard <keithp@keithp.com>
3230
3231 * Eliminate italic_angle check for PS fonts
3232
3233 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3234
3235 * Getting closer to fixing /etc/fonts hard-coding.
3236
3237 2003-04-22 Keith Packard <keithp@keithp.com>
3238
3239 * Update autogen.sh to work with newer automake versions
3240 * Handle pattern elements moving during multiple edits
3241
3242 2003-04-23 James Henstridge <james@daa.com.au>
3243
3244 * doc/fontconfig-devel.sgml: close the <para> element.
3245
3246 * doc/fcpattern.fncs: close the <para> element.
3247
3248 * doc/func.sgml: close the <refsynopsisdiv> element.
3249
3250 2003-04-22 Keith Packard <keithp@keithp.com
3251
3252 * Update autogen.sh to work with newer automake versions
3253 * Handle pattern elements moving during multiple edits
3254
3255 2003-04-17 Colin Walters <walters@debian.org>
3256
3257 + Remove some unused variables, and initialize some other ones so
3258 gcc doesn't warn us.
3259
3260 2003-04-16 Keith Packard <keithp@keithp.com>
3261
3262 + tag version 2.1.94
3263
3264 2003-04-16 Keith Packard <keithp@keithp.com>
3265
3266 + add BDF property fetching support for foundry
3267 (from Juliusz Chroboczek)
3268 + add BDF property fetching support for width
3269
3270 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3271
3272 + Implemented foundry generation for Type 1 and TrueType
3273
3274 2003-04-11 Gerard Escalante <g2@magestudios.net>
3275
3276 + Retrieve information from Type1 FontInfo dictionaries
3277
3278 2003-04-07 Colin Walters <walters@verbum.org>
3279
3280 + src/Makefile.am: Fix dummy makefile target names when
3281 MS_LIB_AVAILABLE isn't set.
3282
3283 2003-03-22 Tor Lillqvist <tml@iki.fi>
3284
3285 Changes for Windows:
3286
3287 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3288
3289 + We don't want to hardcode the fonts.conf file location in the
3290 DLL, so we look up the DLL location at run-time in a DllMain()
3291 function. The fonts.conf location is deduced from that.
3292
3293 + The colon can't be used as path separator on Windows,
3294 semicolon is used instead. File path components can be separated
3295 with either slash or backslash. Absolute paths can also begin
3296 with a drive letter.
3297
3298 + Add internal function FcStrLastSlash that strrchr's the last
3299 slash, or backslash on Windows.
3300
3301 + There is no link() on Windows. For atomicity checks, mkdir a
3302 lock directory instead.
3303
3304 + In addition to HOME, also look for USERPROFILE.
3305
3306 + Recognize the special font directory token WINDOWSFONTDIR, to
3307 use the system's font directory.
3308
3309 + Remove the fontconfig-def.cpp that was obsolete. Add
3310 fontconfig.def(.in), without internal functions.
3311
3312 + Add a fontconfig-zip(.in) script, used to build a binary
3313 distribution.
3314
3315 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3316 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3317 to main package and man3/* to devel package
3318
3319 + Added missing defattr(-, root, root) to main RPM package
3320
3321 + Added HTML and text development documentation to -devel subpackage
3322
3323 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3324 + Added back the configure macro options --disable-docs, otherwise
3325 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3326 version number) unconditionally, causing RPM to fail the build due
3327 to _unpackaged_files_terminate_build. We pick up the pregenerated
3328 docs with %doc already.
3329
3330 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3331 + Removed commented out rpm macro define at top of spec file,
3332 replacing it with a simple explanation, since rpm macros are
3333 expanded by rpm even in comments.
3334
3335 + Changed /usr/bin to _bindir in BuildRequires lines
3336
3337 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3338
3339 + Reorganized file manifest lists
3340
3341 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3342
3343 + fontconfig.spec.in: Improvements from Red Hat spec file.
3344
3345 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3346
3347 + docs/*.sgml: SGML fixes.
3348
3349 Sat Mar 1 17:28:53 PST 2003 keithp
3350 + Ok, so the ChangeLog is a bit out of date
3351
3352 + Lots of bugs fixed; most are in bugzilla, the
3353 biggest problems were in cache management where
3354 Owen discovered the library would lose badly when
3355 combining fonts-cache and ~/.fonts-cache data
3356
3357 + Converted from autoconf to automake. This after
3358 getting patches accepted into libtool to allow
3359 the '-version-number' argument which lets
3360 packages set version numbers explicitly rather
3361 than the roundabout libtool way
3362
3363 + Converted documentation to SGML using the docbook
3364 DTD. Now .txt and .html documents are installed
3365 in /usr/share/doc/fontconfig and there's no
3366 man page. Perhaps a man version can be written
3367 at some point.
3368
3369 Sat Aug 31 15:21:22 PDT 2002 keithp
3370 + Xrender and Xft had several bugs related to
3371 rendering manually placed or poly-face text
3372
3373 + Added more complete memory tracing in fontconfig
3374 Checked with (patched) mozilla and found no leaks
3375
3376 + Updated Latin orthographies by comparing those from
3377 evertype.com with those from eki.ee. Tried to make
3378 sensible choices, including chars that occured in both
3379 and leaving some optional chars out that occured only
3380 in one.
3381
3382 Mon Aug 26 16:33:04 PDT 2002 keithp
3383 + Owen discovered that FcLangSetHasLang wasn't actually
3384 checking the language set.
3385
3386 Mon Aug 26 13:37:23 PDT 2002 keithp
3387 + Append a version number to cache filenames
3388
3389 Thu Aug 22 11:36:18 PDT 2002 keithp
3390
3391 + Add "contains" and "not_contains" operators and elements to
3392 font configuration
3393
3394 + Changed semantics of eq operator for LangSets to check for
3395 FcLangEqual so that any match will do
3396
3397 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3398 of FcValueEqual to check for identical values when inserting into
3399 the results. This broke when the above semantic change was made,
3400 now it uses FcValueEqual which is "more correct" in any case.
3401
3402 Thu Aug 22 00:32:29 PDT 2002 keithp
3403
3404 + Reimplement FC_LANG as new datatype. Lists of strings
3405 was consuming over a megabyte of memory for 401 fonts.
3406
3407 + Freeze patterns loaded from cache files. This shares
3408 common value lists and common patterns which saves
3409 considerable memory.
3410
3411 + Change the denotation of 'constant' charsets to use special
3412 ref value instead of separate boolean.
3413
3414 + Clean up leak tracing stuff, found several unannoted alloc/free
3415 calls
3416
3417 Tue Aug 20 16:17:37 PDT 2002 keithp
3418
3419 + Fix memory leak when parsing matrices from XML
3420
3421 Mon Aug 19 11:57:27 PDT 2002 keithp
3422
3423 + Fix autoconf files to pass FONTCONFIG_PATH on
3424 compile line so that ${prefix} gets substituted
3425 correctly.
3426
3427 + Use getc_unlocked/putc_unlocked on systems that
3428 provide them to avoid damage done to stdio by posix
3429
3430 + Eliminate FC_PATTERN and FcTypePattern in favor of
3431 an extended api for FcConfigSubstitute which takes
3432 both the font and the pattern.
3433
3434 + Add 'sans serif' alias for 'sans-serif' as some apps
3435 can't handle hyphens in family names
3436
3437 + Eliminate pretense of support for libxml2
3438
3439 + Comment origins of Han orthographies
3440
3441 Tue Jul 30 18:37:09 PDT 2002 keithp
3442
3443 + Add binding property to edit element so that strong
3444 binding values may be inserted by the config file.
3445 The default remains weak.
3446
3447 Sun 28 Jul 04:16:55 PDT 2002 keithp
3448
3449 + Tagged release candidate 1 in the CVS tree and
3450 placed fcpackage.rc1.tar.gz for distribution
3451
3452 Thu Aug 1 08:55:08 PDT 2002 keithp
3453
3454 + Fixed autoconf builds to always specify install
3455 target files (for BSD). Also fixed to
3456 define FONTCONFIG_PATH in config.h so that
3457 nonstandard installs will actually work.