1 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
4 * fc-glyphname/fc-glyphname.c:
5 * fc-lang/fc-lang.c (main):
7 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
9 * src/fcfreetype.c (FcFreeTypeQuery):
10 * src/fclang.c (FcFreeTypeLangSet):
13 Fix intel compiler warnings: make many variables static,
14 eliminate duplicate names, reduce variable scopes, unsigned/signed
17 2006-03-24 Mike Fabian <mfabian@suse.de>
19 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
21 Fix multiarch support (don't destroy multiarch files!)
23 2006-03-24 Patrick Lam <plam@mit.edu>
26 Require pkg-config. (Thanks Behdad;
27 better solution wanted for libxml2 detection!)
29 2006-03-22 Patrick Lam <plam@mit.edu>
32 On Windows, unlink before rename. Reported by Tim Evans.
34 2006-03-15 Patrick Lam <plam@mit.edu>
38 Fix typos in orth files. Reported by Denis Jacquerye.
40 2006-03-08 Patrick Lam <plam@mit.edu>
42 * config/config.guess:
45 Fix Makefile.am for removal of debian/ directory.
47 2006-03-08 Patrick Lam <plam@mit.edu>
50 Ignore debian/ directory for CVS.
52 2006-03-08 Patrick Lam <plam@mit.edu>
55 Now remove debian/ directory.
57 2006-03-08 Patrick Lam <plam@mit.edu>
60 Remove debian/ directory from sources. See Debian's subversion
61 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
64 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
68 * fc-lang/iso639-1, fc-lang/iso639-2:
70 Add orthography for Lingala.
72 2006-03-08 Carl Worth <cworth@cworth.org>
76 * conf.d/10LohitGujarati.conf:
78 Add a configuration file that disables hinting for the Lohit
79 Gujarati font (since the hinting distort some glyphs quite badly).
81 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
84 * src/fcdir.c (FcDirScanConfig):
86 Sort directory entries while scanning them from disk;
87 prevents Heisenbugs due to file ordering in a directory.
89 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
92 * src/fcfreetype.c (GetScriptTags):
93 * src/ftglue.c, src/ftglue.h:
95 Remove stuff we don't use, make get_{char,short,long} functions
96 of ftglue macros to be inlined.
99 * src/fcname.c (FcObjectSerialize):
101 Code cleanups (excess prototype, old-style function definition).
103 2006-03-05 Patrick Lam <plam@mit.edu>
104 * src/fcpat.c (FcPatternGetString):
106 Because we hacked FcPatternGet, we don't really need to expand the
107 filename again in FcPatternGetString.
109 2006-03-05 Patrick Lam <plam@mit.edu>
110 * src/fcpat.c (FcPatternGetString, FcPatternGet):
112 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
113 Make that work. Reported by Bernhard Rosenkraenzer.
115 2006-03-03 Patrick Lam <plam@mit.edu>
118 Include inttypes.h instead of stdint.h if appropriate.
120 2006-03-03 Patrick Lam <plam@mit.edu>
121 * fc-cat/fc-cat.c (FcFileIsDir):
122 * fc-glyphname/fc-flyphname.c:
124 More stub definitions and remove FcFileIsDir from fc-cat.
126 2006-03-03 Patrick Lam <plam@mit.edu>
129 Fix compilation on AIX with stub definitions (bug 6097).
131 2006-03-03 Patrick Lam <plam@mit.edu>
132 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
133 * src/fcfreetype.c (GetScriptTags):
134 * src/fcfs.c (FcFontSetDistributeBytes):
135 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
137 Get rid of C++-style comments.
139 2006-03-03 Patrick Lam <plam@mit.edu>
142 Enable creation of 2.3.94 Debian packages.
144 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
147 * src/fclang.c (FcCharSetForLang):
149 Fix suspicious return expression which causes junk
152 2006-02-24 Patrick Lam <plam@mit.edu>
156 * fontconfig/fontconfig.h:
158 Bump version to 2.3.94.
160 2006-02-24 Patrick Lam <plam@mit.edu>
165 2006-02-24 Patrick Lam <plam@mit.edu>
166 * conf.d/10-fonts-persian.conf:
168 Remove unconditional emboldening (per Behdad's instructions).
172 Add @s to hide some echos.
174 2006-02-24 Mike Fabian <mfabian@suse.de>
175 Takashi Iwai <tiwai@suse.de>
178 * src/fcfreetype.c (GetScriptTags):
180 Fix double-free on error case.
182 2006-02-21 Patrick Lam <plam@mit.edu>
183 * fc-lang/fc-lang.c (scan):
185 Strip \r and whitespace from input; fixes bug 3454.
187 2006-02-21 Patrick Lam <plam@mit.edu>
188 * fc-lang/fc-lang.c (main):
190 Allocate large arrays statically in fc-lang to fix crashes under
193 2006-02-21 Diego Petten <flameeyes@gentoo.org>
194 * src/fcfreetype.c (FcFreeTypeCharIndex):
196 Pass the buck; make fontconfig not crash on pango badness.
198 2006-02-21 Patrick Lam <plam@mit.edu>
199 * conf.d/10-fonts-persian.conf:
201 Use embeddedbitmap rather than rh_prefer_bitmap.
203 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
206 * src/fccache.c (FcDirCacheWrite):
207 * src/fcdir.c (FcFileScanConfig):
208 * src/fcfreetype.c (FcStringInPatternElement):
209 * src/fcxml.c (FcParseFamilies):
210 * src/ftglue.c (ftglue_face_goto_table):
212 Eliminate redundancies.
214 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
217 * fc-list/fc-list.c (main):
218 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
219 * src/fcstr.c (FcStrStr):
220 * src/fcxml.c (FcConfigSaveAttr):
222 Eliminate unused vars reported by Intel's compiler.
224 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
229 Remove one more archaic character.
231 2006-02-21 Ross Burton <ross@burtonini.com>
232 reviewed by: plam, keithp
234 * src/fcxml.c (FcParsePatelt):
236 Freeze patterns created by configuration file for tiny
237 memory savings (every little bit helps).
239 2006-02-21 Mike Fabian <mfabian@suse.de>
242 * fc-cat/fc-cat.c (main):
244 Initialize fontconfig library in fc-cat to avoid segfault.
246 2006-02-18 Patrick Lam <plam@mit.edu>
247 * fc-cache/fc-cache.c (scanDirs):
248 * src/fccache.c (FcCacheReadDirs):
249 * src/fcdir.c (FcDirScanConfig):
251 Fix the underlying cause of the below segfault (must usually
252 call FcDirCacheHasCurrentArch after FcDirCacheValid).
254 2006-02-18 Patrick Lam <plam@mit.edu>
255 * src/fccache.c (FcDirCacheHasCurrentArch):
257 Fix triggering of segfault caused by misreading cache files
258 (reported by fcrozat).
260 2006-02-17 Patrick Lam <plam@mit.edu>
261 * src/fcint.h (FC_CACHE_MAGIC):
263 Bump up magic version; we changed the binary format.
265 2006-02-17 Patrick Lam <plam@mit.edu>
266 * fc-cat/fc-cat.c (main):
268 Enable fc-cat to print out old-style cache info when given a
271 2006-02-16 Patrick Lam <plam@mit.edu>
272 * src/fccache.c (FcDirCacheHasCurrentArch):
274 Deal correctly with changing FC_CACHE_MAGIC.
276 2006-02-16 Patrick Lam <plam@mit.edu>
277 * fc-cache/fc-cache.c (usage, scanDirs, main):
279 Add -r --really-force option which blows away cache files and then
282 2006-02-16 Patrick Lam <plam@mit.edu>
283 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
285 Don't bail if fontconfig can't remove a dir cache file.
286 Skip the ID of a cache file when copying.
287 Eliminate 'source file too small' bug in FcDirCacheWrite.
289 2006-02-13 Patrick Lam <plam@mit.edu>
290 * src/fcfreetype.c (FcFreeTypeQuery):
292 Fix memory leak in error condition code.
294 2006-02-13 Mike Fabian <mfabian@suse.de>
296 * src/fcfreetype.c (FcFreeTypeQuery):
298 Skip bitmap fonts which can't even get it together enough to
299 declare a family name; this appears to reproduce previous
300 fontconfig behaviour.
302 2006-02-10 Takashi Iwai <tiwai@suse.de>
304 * src/fccache.c (FcDirCacheOpen):
306 Try to open /var/cache/fontconfig/[hashed name] before
307 fonts.cache-2 in a directory, because /var/cache/fontconfig
308 failures ought to be fixable, unlike fonts.cache-2 failures,
309 which may leave you screwed.
311 2006-02-10 Takashi Iwai <tiwai@suse.de>
313 * src/fcmatch.c (FcFontSetMatch):
315 Use a tri-state to mark the fonts which didn't get blocked but
316 were just missing an element, to distinguish them from the
317 fonts that do match the element.
319 2006-02-10 Takashi Iwai <tiwai@suse.de>
321 * src/fcmatch.c (FcFontSetMatch):
323 Don't kill fonts because they don't declare an element that's
326 2006-02-09 Patrick Lam <plam@mit.edu>
327 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
328 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
330 Define and pass O_BINARY to open if appropriate, for those
331 platforms that need it. Reported by Doodle.
333 2006-02-09 Patrick Lam <plam@mit.edu>
334 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
337 Fix problem with missing 'en' due to euro.patch: change
338 cache file format slightly to coincide with that generated
341 2006-02-07 Patrick Lam <plam@mit.edu>
342 * src/fccache.c (FcCacheReadDirs):
346 2006-02-07 Patrick Lam <plam@mit.edu>
347 * src/fcdir.c (FcDirScanConfig):
349 Don't reject dirs that can't be normalized (fixes lilypond, and
350 is correct in the context of application font directories.)
352 2006-02-07 Takashi Iwai <tiwai@suse.de>
355 * src/fccache.c (FcCacheReadDirs):
357 Use normalized directory name exclusively in FcCacheReadDirs.
359 2006-02-07 Dirk Mueller <dmueller@suse.com>
362 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
364 Perf optimizations. Inline FcValueCanonicalize,
365 reduce FcValueListPtrU usage, remove redundant cast.
367 2006-02-07 Takashi Iwai <tiwai@suse.de>
370 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
373 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
374 Declare extern for static arrays as arrays, not pointers.
375 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
377 2006-02-07 Dirk Mueller <dmueller@suse.com>
390 Add Euro sign to list of symbols required by European languages.
392 2006-02-07 Patrick Lam <plam@mit.edu>
393 * src/fccache.c (FcCacheReadString):
395 Fix hidden variable warning.
397 2006-02-07 Dirk Mueller <dmueller@suse.com>
400 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
402 Remove de-escaping logic because FcCacheWriteString
403 doesn't escape anyway. Do blockwise reading instead
404 of byte-wise for performance.
406 2006-02-06 Patrick Lam <plam@mit.edu>
407 Takashi Iwai <tiwai@suse.de>
409 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
411 Don't loop infinitely on recursive symlinks (client-side).
413 2006-02-06 Takashi Iwai <tiwai@suse.de>
415 * fc-cache/fc-cache.c (scanDirs, main):
417 Don't loop infinitely on recursive symlinks.
419 2006-02-06 Takashi Iwai <tiwai@suse.de>
421 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
422 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
423 FcGlobalCacheSave, FcCacheReadDirs):
426 Skip subdirs when skipping over stale bits of global cache.
427 Introduce state machine into FcGlobalCacheDir to avoid
428 doing inappropriate operations on global dir entries, e.g.
429 writing out an out-of-date cache entry.
431 2006-02-06 Takashi Iwai <tiwai@suse.de>
433 * src/fcdir.c (FcFileScanConfig):
435 Hoist FcFileIsDir check out of FcFileScanConfig loop.
437 2006-02-06 Takashi Iwai <tiwai@suse.de>
440 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
441 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
443 Don't rescan when trying to normalize a non-declared font dir.
444 Don't add font dirs multiple times (even if they're aliased).
446 2006-02-06 Dirk Mueller <dmueller@suse.de>
449 * src/fcfs.c (FcFontSetUnserialize):
451 Explain apples/oranges comparison and fix compilation error.
453 2006-02-06 Dirk Mueller <dmueller@suse.de>
456 * src/fcfs.c (FcFontSetUnserialize):
458 Insert check for integer overflow in # of fonts.
460 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
464 * fc-cache/Makefile.am:
465 * fc-cat/Makefile.am:
466 * fc-list/Makefile.am:
468 Make 'make distcheck' work with automake 1.6.3.
470 2006-02-03 Takashi IWAI <tiwai@suse.de>
473 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
476 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
477 FcDirCacheConsume, FcDirCacheWrite)
478 * src/fcxml.c (FcConfigMessage):
480 Check I/O call return values and eliminate unused variable
483 2006-02-03 Takashi Iwai <tiwai@suse.de>
486 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
490 2006-02-03 Dirk Mueller <dmueller@suse.de>
493 * src/fcfs.c (FcFontSetUnserialize):
495 Gracefully handle the case where a cache asserts that it
496 has a negative number of fonts, causing overflow.
498 2006-02-03 Patrick Lam <plam@mit.edu>
499 * src/fccache.c (FcDirCacheUnlink):
501 Fix double free in error case.
503 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
504 Stephan Kulow <coolo@suse.de>
507 * fc-cache/Makefile.am:
509 Replace 'stamp' target with mkinstalldirs.
511 2006-01-31 Mike Fabian <mfabian@suse.de>
514 * src/fccache.c (FcGlobalCacheLoad):
516 Toast broken global cache files.
518 2006-01-30 Patrick Lam <plam@mit.edu>
519 * src/fccache.c (FcGlobalCacheReadDir):
521 Actually use the directories that I added to the global cache.
524 2006-01-30 Mike Fabian <mfabian@suse.de>
527 * fc-cache/fc-cache.c (scanDirs):
529 Don't stop scanning if a directory in fonts.conf doesn't
530 exist, because subsequent directories might exist.
532 2006-01-30 Patrick Lam <plam@mit.edu>
533 * src/fccache.c (FcGlobalCacheLoad):
535 Make global cache work again after putting dir names into global
536 cache (I misplaced the recording of a file offset).
538 2006-01-30 Patrick Lam <plam@mit.edu>
539 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
541 Update fc-cat to handle subdir lists in global cache file.
543 * src/fccache.c (FcGlobalCacheLoad):
545 Another FcCacheReadString return value check.
547 2006-01-30 Mike Fabian <mfabian@suse.de>
550 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
551 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
553 Make fccache more resilient to broken cache files by checking
554 return value of FcCacheReadString all the time.
556 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
559 * fc-match/fc-match.1:
560 * fc-lang/fc-lang.man:
562 Remove references to dead fontconfig(3) manpages in
563 other fontconfig manpages.
565 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
568 * doc/fcpattern.fncs:
570 Fix world's tiniest typo in code example.
572 2006-01-29 Mike Fabian <mfabian@suse.de>
575 * src/fccache.c (FcGlobalCacheReadDir):
577 Fix global cache reads of subdirectories.
579 2006-01-29 Patrick Lam <plam@mit.edu>
581 Add documentation for FcConfigNormalizeFontDir.
583 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
584 FcGlobalCacheUpdate, FcGlobalCacheSave):
585 * src/fcdir.c (FcDirScanConfig):
588 Write directory information to global caches to fix make check
589 (reported by Ronny V. Vindenes). This changes the global cache
592 2006-01-27 Patrick Lam <plam@mit.edu>
593 * fc-cache/fc-cache.c (scanDirs):
594 * fontconfig/fontconfig.h:
596 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
598 Move FcConfigNormalizeFontDir call so that it doesn't result in
599 infinite recursion (reported by Ronny V. Vindenes).
601 2006-01-26 Patrick Lam <plam@mit.edu>
602 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
603 * src/fccfg.c (FcConfigNormalizeFontDir):
605 Add a couple of missing normalizations to make fc-cache work
606 right; only scan subdirectories once.
608 2006-01-26 Mike Fabian <mfabian@suse.de>
611 * src/fcacache.c (FcGlobalCacheReadDir):
613 Don't crash on non-existant directories in global cache.
615 2006-01-26 Patrick Lam <plam@mit.edu>
616 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
617 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
618 * src/fcdir.c (FcDirScanConfig):
619 * src/fcxml.c (FcEndElement):
621 Stop trampling the directory name when writing out caches.
622 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
623 subdirs when necessary. Don't scan directories that can't be
626 2006-01-25 Patrick Lam <plam@mit.edu>
627 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
628 * src/fccfg.c (FcConfigEvaluate):
629 * src/fcfreetype.c (FcPatternAddWithBinding):
631 Fix additional memory leaks reported by Ronny V. Vindenes: don't
632 invoke FcValueSave on hashed static strings in
633 FcPatternAddWithBinding.
635 Add another st_dev check in FcDirCacheOpen.
637 2006-01-24 James Su <james.su@gmail.com>
640 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
641 * fc-lang/zh_hk.orth:
643 Treat zh-hk fonts differently from zh-tw fonts. This patch may
644 cause fontconfig to treat A-X fonts differently from A-Y fonts;
645 please mail the fontconfig list if this causes any problems.
647 2006-01-24 Patrick Lam <plam@mit.edu>
648 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
649 * src/fcfreetype.c (FcFreeTypeQuery):
651 Fix memory leaks reported by Ronny V. Vindenes.
653 2006-01-19 Andreas Schwab <schwab@suse.de>
656 * src/fcpat.c (FcStrNeededBytes):
658 Fix for unaligned memory accesses.
660 2006-01-18 Mike Fabian <mfabian@suse.de>
663 * src/fcdir.c (FcDirScanConfig):
665 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
666 calls to avoid crashes.
668 2006-01-14 Patrick Lam <plam@mit.edu>
669 * src/fccache.c (FcDirCacheConsume):
671 Fix segfault when consuming zero-length caches in fc-cat
672 (which has no config, so FcConfigAddFontDir shouldn't be called.)
674 2006-01-14 Patrick Lam <plam@mit.edu>
675 * fc-cache/fc-cache.c (scanDirs):
676 * fontconfig/fontconfig.h:
677 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
678 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
679 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
680 * src/fcdir.c (FcDirScanConfig):
683 Compare device numbers as well as inodes.
684 Always normalize directory names before comparing them.
686 2006-01-11 Mike Fabian <mfabian@suse.de>
689 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
691 Allocate extra space for appended '/' in directory name.
693 2006-01-10 Patrick Lam <plam@mit.edu>
694 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
695 FcDirCacheValid, FcDirCacheHasCurrentArch,
696 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
697 * fc-cache/fc-cache.c (main):
699 Explicitly add font dirs to config.fontDirs even if they're empty.
700 Set current config in fc-cache.c.
701 Fix treatment of cache directory as read from cache file; don't
702 use string equality to determine if we have the right file,
705 2006-01-09 Patrick Lam <plam@mit.edu>
706 * fc-cache/fc-cache.c (scanDirs):
707 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
708 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
709 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
710 * src/fccfg.c (FcConfigNormalizeFontDir):
711 * src/fcdir.c (FcDirScanConfig):
714 Normalize font dirs by using the form, as given in fonts.conf, and
715 recorded in FcConfig's fontDirs string set, as canonical.
717 Actually update config.fontDirs as font directories are scanned.
719 2006-01-08 James Su <james.su@gmail.com>
720 * src/fcmatch.c (FcFontSetMatch):
722 Fix matching bug when multiple elements match; don't use
723 the sum of all scores, but the best score.
725 Also more perf opts, e.g. evaluate best over all font sets
726 rather than on a per-set basis (and other changes).
728 2006-01-08 Patrick Lam <plam@mit.edu>
729 * src/fccache.c (FcDirCacheConsume):
731 Properly skip past dir caches that contain zero fonts (as occurs
732 in global caches.) Reported by Mike Fabian.
734 2006-01-06 Patrick Lam <plam@mit.edu>
735 * src/fcdbg.c (FcPatternPrint):
737 Print out full pathname in fc-match -v as well. Reported by
740 2006-01-06 Mike Fabian <mfabian@suse.de>
743 * src/fcname.c (FcNameParse):
745 Fix bug where fc-match crashes when given __DUMMY__ property to
748 (I added the __DUMMY__ string to enable callers of
749 FcObjectToPtrLookup to distinguish an error return from a
750 successful return. -PL)
752 2006-01-05 Patrick Lam <plam@mit.edu>
755 Add self to AUTHORS list.
757 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
758 FcCacheFileRead, FcCachePrintSet, main):
759 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
760 FcGlobalCacheSave, FcCacheNextOffset,
761 FcDirCacheHasCurrentArch, FcDirCacheRead,
762 FcDirCacheConsume, FcDirCacheWrite):
764 * src/fcpat.c (comment):
766 Minor change to global cache file format to fix fc-cat bug
767 reported by Frederic Crozat, and buglet with not globally caching
768 directories with zero fonts cached.
770 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
773 * src/fccfg.c (FcConfigEvaluate):
775 Fix double-free which occurs because FcValueCanonicalize doesn't
776 create an extra copy of the returned value, it only canonicalizes
779 2006-01-02 Patrick Lam <plam@mit.edu>
780 * doc/fontconfig-user.sgml:
782 Fix version of .cache file (currently 1 -> currently 2). Reported
785 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
788 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
790 Shut up GCC warnings on amd.
792 2005-12-20 Patrick Lam <plam@mit.edu>
796 * fontconfig/fontconfig.h:
798 Bump version to 2.3.93.
800 2005-12-20 Patrick Lam <plam@mit.edu>
801 * src/fccharset.c (FcLangCharSetPopulate):
802 * src/fcint.h (FcCacheBankToIndex):
804 Avoid check on _fcBankId nullness and fix case where it used to
807 2005-12-20 Patrick Lam <plam@mit.edu>
808 * src/fcxml.c (FcConfigParseAndLoad):
810 Use open instead of fopen (requested by Phil Race for Sun).
812 2005-12-20 Patrick Lam <plam@mit.edu>
813 * src/fccache.c (FcDirCacheWrite);
814 * fc-cache/Makefile.am:
816 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
819 2005-12-20 Patrick Lam <plam@mit.edu>
820 * src/fcfreetype.c (FcFreeTypeQuery):
822 Restore code to skip over PCF fonts that have no encoded
824 (We guess that a font is PCF by presence of the PIXEL_SIZE
827 2005-12-12 Patrick Lam <plam@mit.edu>
828 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
830 Read and write the original location as a fallback for the
831 hashed cache file locations. This is mostly for users to be
832 able to have per-directory cache files.
834 2005-12-12 Patrick Lam <plam@mit.edu>
835 * fc-cache/fc-cache.c (scanDirs):
836 * fc-cache/Makefile.am:
837 * src/fccache.c (FcDirCacheHashName):
839 Improve error message when fc-cache can't write the cache. Add
840 missing slash. Reported by Behdad. Incorporate Behdad's patch to
841 create /var/cache/fontconfig when appropriate.
843 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
846 * src/fcxml.c (FcConfigGetAttribute):
848 Fix crash reported by Frederic Crozat when using libxml2.
850 2005-12-09 Patrick Lam <plam@mit.edu>
853 * fc-cache/Makefile.am:
854 * fc-cat/Makefile.am:
856 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
857 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
858 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
859 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
860 FcDirCacheHasCurrentArch, FcDirCacheHashName,
861 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
863 Migrate cache files from fonts directories to
864 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
865 but requires that all caches get rebuilt.
867 Also, autogen.sh now needs the additional parameter
868 --localstatedir=/var.
870 2005-12-07 Patrick Lam <plam@mit.edu>
871 * src/fcpat.c (FcPatternAddString):
873 Because we've changed FcPatternAddString to use FcStrStaticName
874 and not FcValueSave, explicitly handle the case of a null string.
876 2005-12-06 Patrick Lam <plam@mit.edu>
877 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
881 2005-12-05 Patrick Lam <plam@mit.edu>
882 * src/fcname.c (FcNameGetObjectType):
884 Don't assign types to user object names.
886 2005-12-05 Patrick Lam <plam@mit.edu>
887 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
889 Don't free strings that have been returned from FcStrStaticName.
891 2005-12-01 Patrick Lam <plam@mit.edu>
892 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
894 Add codepath for reading global cache files as well.
896 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
899 * conf.d/10-fonts.persian.conf:
900 * conf.d/Makefile.am:
902 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
904 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
907 * src/fcxml.c (FcConfigParseAndLoad):
909 Only add a config file to the set of config files once.
911 2005-11-29 Patrick Lam <plam@mit.edu>
912 * src/fcint.h (FcCacheBankToIndex);
914 Fix segfault by guarding array dereference.
916 2005-11-29 Dirk Mueller <dmueller@suse.de>
920 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
921 FcCacheBankToIndex, FcCacheBankToIndexMTF,
925 Refactor FcCacheBankToIndex into an inlineable part
926 (in fcint.h) which checks the front of the list and a
927 non-inlineable part which finds and moves the appropriate element
928 to the front of the list.
930 2005-11-29 Patrick Lam <plam@mit.edu>
931 * src/fccfg.c (FcConfigBuildFonts):
932 * src/fccache.c (FcCacheReadDirs):
934 Make the perf guys hate me a bit less: hoist the directory-name
935 FcConfigAcceptFont check for cached fonts up to directory cache
936 read time, rather than running it for each font.
938 2005-11-29 Patrick Lam <plam@mit.edu>
939 * src/fccfg.c (FcConfigBuildFonts):
941 * src/fcpat.c (FcPatternFindFullFname):
943 Don't make FcPatternFindFullFname available to fccfg, it's not
944 really safe. Instead go through FcPatternGetString (sorry,
945 perf guys.) Also, use globs for dirs as well.
947 2005-11-28 Patrick Lam <plam@mit.edu>
948 * src/fccfg.c (FcConfigBuildFonts):
952 2005-11-28 Patrick Lam <plam@mit.edu>
954 * src/fcpat.c (FcPatternFindFullFname):
955 * src/fccfg.c (FcConfigBuildFonts):
957 Fix problem dating back at least to 2.3.2 where globs weren't
958 being applied to patterns loaded from a cache.
960 2005-11-28 Patrick Lam <plam@mit.edu>
961 * doc/fontconfig-user.sgml:
963 Fix some obvious spelling mistakes.
965 2005-11-28 Dirk Mueller <dmueller@suse.com>
966 Stephan Kulow <coolo@suse.de>
969 * src/fcmatch.c (FcFontSetMatch):
971 Don't kill all fonts during match (oops!)
974 2005-11-25 Dirk Mueller <dmueller@suse.com>
975 Stephan Kulow <coolo@suse.de>
976 Michael Matz <matz@suse.de>
979 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
982 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
983 inline FcCompare into FcFontSetMatch and reorder the
984 loops, adding a boolean array which blocks patterns from future
985 consideration if they're known to not be best on some past
988 2005-11-26 Dirk Mueller <dmueller@suse.com>
991 * src/fcmatch.c (FcCompareValueList):
995 2005-11-25 Patrick Lam <plam@mit.edu>
996 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
998 Don't do random matching when bad objects are passed into
1001 2005-11-25 Patrick Lam <plam@mit.edu>
1003 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1004 FcPatternSerialize, FcPatternUnserialize,
1005 FcValueListEnsureBank, FcValueListDistributeBytes,
1006 FcValueListUnserialize):
1008 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1009 _fcPatternElts, _fcValueLists for consistency.
1011 2005-11-25 Dirk Mueller <dmueller@suse.com>
1016 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1018 2005-11-25 Patrick Lam <plam@mit.edu>
1020 * src/fccache.c (FcDirCacheConsume):
1021 * src/fccharset.c (FcCharSetUnserialize):
1022 * src/fcfs.c (FcFontSetUnserialize):
1023 * src/fclang.c (FcLangSetUnserialize):
1024 * src/fcname.c (FcObjectUnserialize):
1025 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1026 FcPatternUnserialize):
1028 Pass around FcCache *s to the Unserialize functions for extra
1029 consistency (and less overhead, for what that's worth).
1031 2005-11-24 Dirk Mueller <dmueller@suse.com>
1035 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1036 * src/fcname.c (FcNameUnparseValue):
1038 Inline the *PtrU functions to gain perf.
1039 Remove unneeded params for the FcCompare* functions.
1041 2005-11-24 Dirk Mueller <dmueller@suse.com>
1044 * src/fcint.h, fontconfig/fontconfig.h:
1046 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1048 * src/fcpat.c, src/fcint.h, src/fcname.c:
1050 Check for type validity during FcPatternAddWithBinding, don't
1051 verify type in FcFontMatch, don't call FcCanonicalize here
1052 (which always does a deep copy).
1054 2005-11-24 Dirk Mueller <dmueller@suse.com>
1057 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1058 * src/fcpat.c (FcPatternAddWithBinding):
1060 Make FcCompareString and FcCompareFamily less expensive.
1061 Only add a value for FC_FAMILY if the proposed value is a string.
1063 2005-11-24 Dirk Mueller <dmueller@suse.com>
1066 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1067 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1068 * src/fcint.h (FcDebug):
1070 Inline FcDebug invocations and only initialize once, in FcInit*.
1071 Improve debug msg in FcPatternPrint.
1073 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1076 * fontconfig/fontconfig.h:
1079 Minor code warning cleanups.
1081 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1084 * fc-match/fc-match.c (main):
1086 Make getopt_long accept -s parameter to fc-match as well.
1088 2005-11-21 Dirk Mueller <dmueller@suse.com>
1091 * src/fcmatch.c (FcCompareValueList):
1093 Manually perform inlining & partial redundancy elimination to
1094 reduce calls to FcValueListPtrU.
1096 2005-11-21 Dirk Mueller <dmueller@suse.com>
1099 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1100 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1102 Only invoke strlen() when really necessary.
1104 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1108 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1109 FcFontCapabilities):
1113 Get rid of the use of freetype internal headers in fcfreetype.c,
1114 since those headers will go away with freetype 2.2. Replace with
1115 public domain ftglue code from pango. Note that the patch removes
1116 some extra error checking in FT_Get_BDF_Property() and comments
1117 out the skipping of empty pcf fonts.
1119 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1122 * fc-lang/fc-lang.c (main):
1124 Further fix of patch from 2005-11-04: miscounted numbers count
1125 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1126 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1128 Removed leafidx_count and numbers_count since they are the same
1129 and replaced them with offset_count.
1131 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1134 * fc-cat/fc-cat.c (main):
1136 Don't crash when fc-cat invoked with no arguments.
1138 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1141 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1143 Fix invalid read access caused by premature free and
1144 GCC4 warnings in libxml2 codepath.
1146 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1149 * src/fccfg.c (FcConfigValues):
1151 List iteration not needed in FcConfigValues, since it's building
1152 up the list itself; we can just strip FcVoid elements during
1155 2005-11-17 Patrick Lam <plam@mit.edu>
1156 * src/fccfg.c (FcConfigValues):
1158 Fix crash on invalid constants in config files (forgot to update
1159 a pointer upon list iteration.)
1161 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1164 * src/fcxml.c (FcTypecheckExpr):
1166 Complain about invalid constants in config files.
1168 2005-11-17 Andreas Schwab <schwab@suse.de>
1171 * src/fccache.c (FcGlobalCacheSave):
1173 Don't add current_arch_start more than once.
1175 2005-11-16 Patrick Lam <plam@mit.edu>
1176 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1177 * src/fcfs.c (FcFontSetUnserialize):
1178 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1179 * src/fcpat.c (FcStrUnserialize):
1181 Fix ordering of ALIGN with respect to saving block_ptr; add
1182 another ALIGN to fcfs.c.
1184 2005-11-16 Patrick Lam <plam@mit.edu>
1185 * src/fccache.c (FcDirCacheProduce)
1187 Fix case where alignment bytes bumped up metadata->count
1188 causing unwarranted failures to write cache files.
1189 (Reported by Stephan Kulow).
1191 2005-11-16 Patrick Lam <plam@mit.edu>
1192 * src/fccache.c (FcDirCacheProduce):
1193 * src/fccharset.c (FcCharSetDistributeBytes):
1194 * src/fcfs.c (FcFontSetDistributeBytes):
1196 * src/fclang.c (FcLangSetDistributeBytes):
1197 * src/fcname.c (FcObjectDistributeBytes):
1198 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1201 Add *NeededBytesAlign(), which overestimates the padding which is
1202 later added by the new ALIGN macro. Fix alignment problems on
1203 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1204 version by Andreas Schwab).
1206 2005-11-16 Stephan Kulow <coolo@kde.org>
1211 Use sysconf to determine proper PAGESIZE value; this
1212 appears to be POSIX-compliant. (reported by Andreas Schwab)
1214 2005-11-04 Patrick Lam <plam@mit.edu>
1215 * fc-lang/fc-lang.c:
1220 Fix bug 2878 (excessive relocations at startup for charsets,
1221 reported by Ross Burton): fc-lang/fc-lang now creates the
1222 static form of the langset, not the dynamic form, so that
1223 the charsets should now be in .rodata.
1225 2005-11-04 Patrick Lam <plam@mit.edu>
1226 * src/fcdir.c (FcDirScanConfig):
1228 Add test for validity of directory caches that
1229 somehow got lost (reported by make distcheck).
1231 2005-11-04 Patrick Lam <plam@mit.edu>
1235 * fontconfig/fontconfig.h:
1237 Bump version to 2.3.92.
1239 2005-11-02 Patrick Lam <plam@mit.edu>
1240 * src/fcpat.c (FcPatternDuplicate):
1242 Fix argument ordering problem in call to FcPatternTransferFullFname.
1244 2005-11-02 Patrick Lam <plam@mit.edu>
1245 * src/fcfreetype.c (FcFreetypeQuery):
1246 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1247 FcPatternTransferFullFname):
1249 Fix warnings and embarrassing double-free error.
1251 2005-11-02 Zhe Su <zsu@novell.com>
1256 Change the rule for artificial emboldening in fonts.conf.in. This
1257 enables the support for artificial emboldening included in cairo.
1259 2005-11-02 Patrick Lam <plam@mit.edu>
1260 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1262 Don't zero out full names for FC_REF_CONSTANT fonts;
1263 also, duplicate full names when transferring, and free
1264 full names when freeing the associated font.
1265 Reported by Jinghua Luo.
1267 2005-11-02 Patrick Lam <plam@mit.edu>
1268 * fc-cache/fc-cache.c (scanDirs):
1269 * src/fcpat.c (FcValueListSerialize):
1271 Revert the previous patch and commit the correct patch:
1272 I forgot a canonicalization in FcValueListSerialize, so
1273 that it would choke on already-serialized input files. Duh!
1275 2005-11-02 Patrick Lam <plam@mit.edu>
1276 * fc-cache/fc-cache.c (scanDirs):
1278 Forcibly rescan a directory before writing a fresh local
1279 cache file for that directory, fixing the losing-fonts
1280 problem reported by Mike Fabian and also apparently the
1281 font cache file corruption.
1283 2005-11-02 Patrick Lam <plam@mit.edu>
1284 * src/fccache.c (FcGlobalCacheLoad):
1286 Fix thinko: actually, the whole global cache is stale
1287 if the global cache is older than the (newest) config file.
1289 2005-11-02 Patrick Lam <plam@mit.edu>
1290 * src/fccache.c (FcGlobalCacheLoad):
1291 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1294 Declare the global cache of a directory's contents to be stale if
1295 the directory is newer than the (newest) configuration file.
1297 2005-10-31 Patrick Lam <plam@mit.edu>
1299 * src/fclist.c (FcListAppend):
1300 * src/fcmatch.c (FcFontRenderPrepare):
1301 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1302 FcPatternFreeze, FcPatternBaseFreeze):
1304 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1305 applications continue breaking.
1307 2005-10-31 Patrick Lam <plam@mit.edu>
1308 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1309 * src/fcfreetype.c (FcFreeTypeQuery):
1311 Fix small memory error (tried to free argv); use basename and
1312 dirname correctly (they can modify their arguments).
1314 2005-10-31 Patrick Lam <plam@mit.edu>
1322 Reinstate basename patch, but keep a hash table linking FcPatterns
1323 to their fully-qualified font names for clients' benefit. Clients
1324 only pay for the font names once they request the FC_FILE property
1325 from an FcPattern, but the font name is malloc'd at that point (i.e.
1326 not mmapped: that's impossible, since it may vary between machines.)
1327 Clients do have to pay for a copy of the path name per cache file.
1329 Note that FcPatternGetString now does some rewriting if you ask
1330 for an FC_FILE, appending the pathname as appropriate.
1332 2005-10-31 Patrick Lam <plam@mit.edu>
1333 * src/fcfreetype.c (FcFreeTypeQuery):
1335 Revert basename patch, which breaks fontconfig clients on my system.
1337 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1340 * fontconfig/fonts.conf.in:
1341 * fontconfig/fontconfig.h:
1345 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1346 to load embedded bitmaps or not.
1348 2005-10-25 Patrick Lam <plam@mit.edu>
1349 * src/fcfreetype.c (FcFreeTypeQuery):
1351 Only add basename to patterns' FC_FILE element, not any part of
1354 2005-10-22 Patrick Lam <plam@mit.edu>
1357 Add some more consts, fixing more GCC4 warnings.
1359 2005-10-22 Zhe Su <zsu@novell.com>
1362 Support localized font family and style names.
1363 This has been reported to break old apps like xfd, but modern
1364 (gtk+/qt/mozilla) apps work fine.
1366 2005-10-21 Patrick Lam <plam@mit.edu>
1367 * src/fccache.c (FcGlobalCacheLoad):
1369 Destroy the global cache file if it's terminally broken. (reported by
1372 2005-10-21 Patrick Lam <plam@mit.edu>
1373 * fc-list/fc-list.c (main):
1374 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1375 * fontconfig/fontconfig.h:
1377 Prevent fc-list from escaping strings when printing them (reported by
1380 2005-10-20 Marcus Meissner <meissner@suse.de>
1383 * fontconfig/fontconfig.h:
1385 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1387 2005-10-14 Ross Burton <ross@burtonini.com>
1390 * fc-glyphname/fc-glyphname.c:
1393 Add consts to variables so as to move arrays into .rodata.
1395 2005-10-14 Mike Fabian <mfabian@suse.de>
1398 * src/fccache.c (FcDirCacheUnlink):
1400 Check existence of directory cache file before attempting to unlink.
1402 2005-10-13 Patrick Lam <plam@mit.edu>
1403 * src/fccache.c (FcDirCacheUnlink):
1405 Fix flipped return value on unlink. (Reported by Mike Fabian)
1407 2005-10-12 Patrick Lam <plam@mit.edu>
1410 * src/fcdir.c (FcDirScanConfig):
1413 When fc-cache is run without --force, use directory cache files
1414 to speed up fc-cache run time. (Reported by Mike Fabian)
1416 2005-10-06 Patrick Lam <plam@mit.edu>
1418 * src/fcname.c (FcObjectToPtr):
1419 * src/fcpat.c (FcStrStaticName):
1421 Add padding to make valgrind and glibc not hate each other
1422 when calling strlen().
1424 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1425 reviewed by: plam & keithp
1429 Modify config file to use Greek fonts before Asian fonts with
1432 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1433 reviewed by: plam & keithp
1437 Use libtool -no-undefined flag on all platforms.
1439 2005-10-05 Patrick Lam <plam@mit.edu>
1440 * src/fccache.c (FcCacheHaveBank):
1442 Implement move-to-front array for banks (perf regression
1443 reported by Ronny V. Vindenes).
1445 2005-10-04 Patrick Lam <plam@mit.edu>
1446 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1447 FcDirCacheHasCurrentArch):
1448 * fc-cache/fc-cache.c (scanDirs):
1449 * fontconfig/fontconfig.h:
1451 Add new API which unlinks directory caches and checks dir caches
1452 for existence of appropriate sections. Fix fc-cache to unlink
1453 stale cache files and save directory caches that lack relevant
1456 2005-10-03 Patrick Lam <plam@mit.edu>
1457 * src/fccache.c (FcDirCacheValid):
1459 Ensure that a directory cache has the appropriate section
1460 before reporting that it is valid (reported by Matthias Clasen).
1462 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1470 Use libxml2 if requested (with --enable-libxml2) or if
1471 expat is not available.
1473 2005-09-29 Patrick Lam <plam@mit.edu>
1474 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1476 Fix multi-arch cache files: compute the position for the
1477 block to be added using info from OrigFile, not NewFile.
1479 2005-09-28 Patrick Lam <plam@mit.edu>
1480 * src/fccache.c (FcCacheMachineSignature):
1482 Cast results of sizeof() to unsigned int to get rid of
1483 warnings on x86_64 (thanks Matthias Clasen).
1485 2005-09-27 Patrick Lam <plam@mit.edu>
1486 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1489 Use FcAtomic to rewrite cache files.
1491 2005-09-27 Patrick Lam <plam@mit.edu>
1493 * src/fccache.c (FcDirCacheWrite):
1495 Don't unlink the fonts.cache-2 file even if there's no data
1496 to write; just write an empty cache file. (thanks Lubos Lunak)
1498 2005-09-27 Patrick Lam <plam@mit.edu>
1500 * src/fccache.c (FcDirCacheWrite):
1502 Allocate room for the subdirectory names in each
1503 directory cache. Thanks to James Cloos for finding
1504 and diagnosing this bug!
1506 2005-09-22 Patrick Lam <plam@mit.edu>
1508 * fc-cache/fc-cache.sgml:
1509 * src/fccache.c (FcDirCacheWrite):
1510 * src/fccache.h (struct FcCache):
1512 Update documentation -- fc-cache's man page now says that you
1513 need to run fc-cache once per cached architecture; add some
1514 documentation to the FcCache structure.
1516 Make fc-cache write out fonts.cache-2 files for directories with
1517 no fonts (i.e. only subdirectories).
1519 2005-09-22 Patrick Lam <plam@mit.edu>
1521 * fc-cache/fc-cache.sgml:
1522 * fc-case/fc-case.c:
1523 * fc-glyphname/fc-glyphname.c:
1529 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1533 * fc-lang/fc-lang.c:
1534 * fontconfig/fcprivate.h:
1535 * fontconfig/fontconfig.h:
1549 Implement new mmaped cache for font information.
1550 Bump so revision to 2.3.90.
1552 2005-07-25 Keith Packard <keithp@keithp.com>
1554 * doc/fontconfig-user.sgml:
1555 * fc-glyphname/fc-glyphname.c: (scan), (main):
1556 * fc-lang/fc-lang.c: (FcConfigHome):
1557 * fc-match/fc-match.c: (main):
1558 * src/fccfg.c: (FcConfigHome):
1559 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1560 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1561 (addtag), (FcFontCapabilities):
1562 * src/fcpat.c: (FcValueListEntCreate):
1563 * src/fcstr.c: (FcStrCaseWalkerInit):
1564 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1566 Various GCC 4 cleanups for signed vs unsigned char
1568 Match only [0-9]*.conf files in <include>{directory}</include>
1569 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1571 2005-07-15 Carl Worth <cworth@cworth.org>
1574 * src/fcinit.c: (FcFini):
1575 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1578 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1579 Pull the FcObjectStateName hash table out to file scope, and add
1580 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1583 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1586 2005-06-16 Patrick Lam <plam@MIT.EDU>
1590 * src/fccfg.c: (FcConfigCompareValue):
1591 Make FcOpNotContains use FcStrStr for strings so that
1592 it matches semantics for !FcOpContains.
1594 2005-05-20 Keith Packard <keithp@keithp.com>
1598 Move fontconfig source package to libs as per override
1600 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1602 reviewed by: Mike Fabian
1605 The ka.orth file requires several characters which are not
1606 used anymore in modern Georgian and which are missing in the free
1607 Georgian TrueType fonts downloadable at:
1609 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1611 2005-04-27 Keith Packard <keithp@keithp.com>
1615 Update date to real 2.3.2 release date.
1616 Fix change attributions
1618 2005-04-27 Keith Packard <keithp@keithp.com>
1621 Bump so revision for 2.3.2
1622 * fc-cache/fc-cache.c: (scanDirs):
1623 Fix a few minor leaks in error cases.
1625 2005-04-23 Keith Packard <keithp@keithp.com>
1630 * fontconfig/fontconfig.h:
1631 Update for version 2.3.2
1633 2005-04-21 Keith Packard <keithp@keithp.com>
1635 * debian/fontconfig.postinst:
1636 Don't force bitmap font enable in default
1637 configuration; allows users to override this in
1647 * debian/po/pt_BR.po:
1648 * debian/po/templates.pot:
1650 * debian/po/zh_CN.po:
1651 Updated translations
1653 * fc-cache/fc-cache.c: (main):
1654 Destroy font configuration on exit to help valgrind
1657 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1658 (FcFreeTypeCheckGlyph):
1659 Use own transcoding routines in preference to iconv
1660 which appears to have leaks in some translators.
1661 Call iconv_close after using iconv (oops).
1663 Prefer unicode encoding of Euro char as some
1664 fonts mis-encode Euro in other ones.
1666 Must fetch bitmap glyphs to get width values
1667 to check for monospace/dual-width fonts.
1669 2005-04-13 Ross Burton <ross@burtonini.com>
1672 Check that a pattern isn't already frozen in FcPatternFreeze.
1674 2005-03-31 Ross Burton <ross@burtonini.com>
1679 Run all FcPattern objects through FcObjectStaticName, so that
1680 compares can be done on pointers instead of strings (#2659)
1682 2005-03-17 Tor Lillqvist <tml@novell.com>
1684 * src/fontconfig.def.in: Add the .dll to the dll name.
1686 2005-03-10 Keith Packard <keithp@keithp.com>
1688 * debian/README.Debian:
1689 Update to reflect configuration changes
1691 * debian/fontconfig.postinst:
1692 Fix Autohint vs Autohinter mistake
1693 * debian/fontconfig.templates:
1694 Adopt changes from Josselin Mouette for configuration descriptions
1695 Update debian to version 2.3.1-2
1697 2005-03-08 Keith Packard <keithp@keithp.com>
1701 Update debian for 2.3.1
1703 2005-03-09 Tor Lillqvist <tml@novell.com>
1705 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1708 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1711 2005-03-08 Keith Packard <keithp@keithp.com>
1715 * fontconfig/fontconfig.h:
1718 2005-03-05 Keith Packard <keithp@keithp.com>
1720 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1721 Include space and remove numbers from valid script tags.
1722 This ensures that tags like 'lao ' work while rejecting
1723 those which have any digits.
1724 Eliminate a spurious debugging variable (len)
1726 2005-03-05 Keith Packard <keithp@keithp.com>
1728 * src/fcfreetype.c: (addtag), (GetScriptTags),
1729 (FcFontCapabilities):
1730 Rework GSUB/GPOS script parsing to survive broken fonts.
1731 Thanks for the broken font go to Manish Singh
1733 2005-03-05 Keith Packard <keithp@keithp.com>
1738 * debian/fontconfig.config:
1739 * debian/fontconfig.templates:
1741 Include 2.3 release information in changelog
1742 Add Josselin Mouette as an Uploader
1743 Set hinting_type to low priority configuration option
1746 * debian/fontconfig.postinst:
1747 yes_bitmaps.conf -> yes-bitmaps.conf
1753 2005-03-02 Keith Packard <keithp@keithp.com>
1756 * conf.d/Makefile.am:
1757 * conf.d/autohint.conf:
1758 * conf.d/no-sub-pixel.conf:
1759 * conf.d/sub-pixel.conf:
1760 * conf.d/unhinted.conf:
1761 * debian/autohint.conf:
1762 * debian/fontconfig.install:
1763 * debian/fontconfig.postinst:
1764 * debian/fontconfig.templates:
1765 * debian/no-sub-pixel.conf:
1766 * debian/unhinted.conf:
1767 Move debian-specific conf file examples upstream.
1769 Sub-pixel configuration examples must smash subpixel value
1770 as Xft always sets it from X.
1772 Change sub-pixel rendering debconf descriptions from
1773 Enable/Disable to Always/Never.
1775 2005-03-02 Keith Packard <keithp@keithp.com>
1778 * conf.d/.cvsignore:
1780 Ignore more build detritus
1783 Add debian package construction stuff.
1785 * config/config.guess:
1786 * config/config.sub:
1787 Update to newer versions of these tools
1790 Get library manuals to build again (we love automake).
1792 * debian/README.Debian:
1793 * debian/autohint.conf:
1798 * debian/fontconfig-udeb.install:
1799 * debian/fontconfig.config:
1800 * debian/fontconfig.defoma:
1801 * debian/fontconfig.dirs:
1802 * debian/fontconfig.install:
1803 * debian/fontconfig.postinst:
1804 * debian/fontconfig.postrm:
1805 * debian/fontconfig.templates:
1806 * debian/libfontconfig1-dev.install:
1807 * debian/libfontconfig1.install:
1808 * debian/local.conf.md5sum:
1809 * debian/no-sub-pixel.conf:
1810 * debian/po/POTFILES.in:
1819 * debian/po/pt_BR.po:
1820 * debian/po/templates.pot:
1822 * debian/po/zh_CN.po:
1824 * debian/unhinted.conf:
1825 Update debian build system to switch maintainers and
1826 deal with 2.3 functionality
1828 2005-03-01 Keith Packard <keithp@keithp.com>
1832 * fontconfig/fontconfig.h:
1835 2005-03-01 Keith Packard <keithp@keithp.com>
1838 Generate and install PDF versions of the manuals
1840 * doc/fcpattern.fncs:
1843 * doc/fcstring.fncs:
1844 Add missing exported functions, fix data types
1846 * doc/fontconfig-devel.sgml:
1847 Add missing pattern elements.
1849 * doc/fontconfig-user.sgml:
1850 Add missing pattern elements. Document conf.d usage,
1851 clarify available orthography list. Fix some config file
1852 attributes. Complete list of constants.
1854 * fontconfig/fontconfig.h:
1855 Mark FC_SOURCE deprecated.
1857 * src/fcfreetype.c: (FcFreeTypeQuery):
1858 Don't set FC_SOURCE any longer.
1860 2005-02-28 Keith Packard <keithp@keithp.com>
1863 * conf.d/Makefile.am:
1865 * conf.d/no-bitmaps.conf:
1866 * conf.d/sub-pixel.conf:
1867 * conf.d/yes-bitmaps.conf:
1869 Create prototype /etc/fonts/conf.d directory with a few
1870 sample configuration files.
1871 Deprecate use of local.conf for local customizations in favor of
1872 this directory based scheme which is more easily integrated into
1873 installation systems.
1876 Tag FC_EMBOLDEN as a boolean variable
1878 2005-02-10 Keith Packard <keithp@keithp.com>
1880 reviewed by: pborelli@katamail.com
1882 * src/fcdir.c: (FcFileScanConfig):
1883 Free patterns from fonts which are rejected by configuration
1886 2005-01-28 Keith Packard <keithp@keithp.com>
1890 * fontconfig/fontconfig.h:
1891 Update for version 2.2.99
1893 2005-01-28 Keith Packard <keithp@keithp.com>
1896 Add a few pointers (#2284, #2285)
1898 2005-01-28 Keith Packard <keithp@keithp.com>
1901 * src/fcname.c: (FcNameBool):
1902 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1903 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1904 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1905 Polite typechecking for test and edit expressions. Helps
1906 catch errors in the font configuration. (bug 229)
1908 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1910 reviewed by: Keith Packard <keithp@keithp.com>
1913 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1915 2005-01-13 Keith Packard <keithp@keithp.com>
1917 * doc/fontconfig-user.sgml:
1918 Add SEE ALSO section (bug 2085)
1920 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1922 reviewed by: Keith Packard <keithp@keithp.com>
1927 * fc-case/Makefile.am:
1928 * fc-glyphname/Makefile.am:
1929 * fc-lang/Makefile.am:
1930 * src/fontconfig.def.in:
1931 Cross compiling fixes (bug 280)
1933 2005-01-13 Keith Packard <keithp@keithp.com>
1936 Update blanks list (Closes bug 86)
1938 2005-01-04 Keith Packard <keithp@keithp.com>
1940 * src/fccache.c: (FcCacheFontSetAdd):
1941 Verify that every font pattern loaded from cache has
1942 both FC_FILE and FC_FAMILY entries.
1943 Attempt to fix bug #2219.
1945 2004-12-29 Keith Packard <keithp@keithp.com>
1949 * fontconfig/fontconfig.h:
1950 Update for version 2.2.98
1952 2004-12-29 Keith Packard <keithp@keithp.com>
1954 * fontconfig/fontconfig.h:
1955 Document ASCII limitations of Fc character conversion macros
1956 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1957 Fix off-by-one error in utf-8 case walking code.
1958 Add FcStrDowncase (useful for testing case conversion functions)
1960 2004-12-29 Keith Packard <keithp@keithp.com>
1963 * fc-case/.cvsignore:
1964 clean up CVS ignore lists
1965 * fc-lang/iso-3166.txt:
1966 Add territory database
1968 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1970 Reviewed by: Keith Packard
1973 Remove Han characters from Korean orthography
1975 2004-12-29 Keith Packard <keithp@keithp.com>
1978 Reorder utility programs to make sure fc-case is run before fc-lang
1979 as fc-lang uses fcstr.c which uses fccase.h
1983 2004-12-29 Keith Packard <keithp@keithp.com>
1986 Adopt some RedHat suggestions for standard font configuration.
1990 * fc-case/CaseFolding.txt:
1991 * fc-case/Makefile.am:
1992 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1993 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1994 (dump), (parseRaw), (caseFoldReadRaw), (main):
1995 * fc-case/fccase.tmpl.h:
1996 Add new helper program 'fc-case' to construct case folding
1997 tables from standard Unicode CaseFolding.txt file
2000 * src/fclist.c: (FcListValueHash):
2001 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2002 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2003 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2004 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2005 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2006 Re-implement case insensitive functions with Unicode
2007 aware versions (including full case folding mappings)
2009 2004-12-13 Keith Packard <keithp@keithp.com>
2011 reviewed by: Owen Taylor <otaylor@redhat.com>
2013 * src/fcmatch.c: (FcFontSetSort):
2014 I changed FcFontSetSort to respect the generic aliases better
2015 in the face of language matching.
2017 What I did was to ammend the strict sort order used by FcFontSort so
2018 that it 'satisfies' the language specified in the pattern by locating
2019 the best matching font supporting each pattern language and then
2020 ignores language in the remaining fonts for purposes of matching.
2022 So, when asking for 'sans:lang=en', you'll get an English font first,
2023 and then the remaining fonts sorted with respect to the 'sans' alias
2024 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2026 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2028 reviewed by: Keith Packard <keithp@keithp.com>
2030 * fontconfig/fontconfig.h:
2033 Configuration changes to request synthetic emboldening of
2034 fonts. The actual emboldening code will live in Xft.
2036 2004-12-09 John Thacker <thacker@math.cornell.edu>
2038 reviewed by: Keith Packard <keithp@keithp.com>
2042 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2043 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2044 и), and don't even appear in KOI8-R. (The hypothesis that they
2045 don't appear in KOI8-R due to their similarity with Latin I and i is
2046 eliminated by their presence in KOI8-U.) I have a couple of fonts
2047 with Russian support that don't have the letter.
2049 Therefore, 0406 and 0456 should be removed from or commented out of
2052 2004-12-06 michael meeks <mmeeks@novell.com>
2054 Reviewed by: Keith Packard <keithp@keithp.com>
2056 * src/fcinit.c: (FcMemReport):
2058 * src/fclist.c: (FcObjectSetAdd):
2059 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2060 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2061 * src/fcxml.c: (FcParsePatelt):
2062 memoize strings and share a single copy for all uses. Note that
2063 this could be improved further by using statically allocated blocks
2064 and gluing multiple strings together, but I'm basically lazy.
2065 In my environment with 800 font files, I get a savings of about 90KB.
2067 2004-12-06 Keith Packard <keithp@keithp.com>
2071 * config/Makedefs.in:
2074 * doc/fcatomic.fncs:
2075 * doc/fcblanks.fncs:
2076 * doc/fccharset.fncs:
2077 * doc/fcconfig.fncs:
2078 * doc/fcconstant.fncs:
2080 * doc/fcfontset.fncs:
2081 * doc/fcfreetype.fncs:
2083 * doc/fcmatrix.fncs:
2084 * doc/fcobjectset.fncs:
2085 * doc/fcobjecttype.fncs:
2086 * doc/fcpattern.fncs:
2087 * doc/fcstring.fncs:
2088 * doc/fcstrset.fncs:
2090 * doc/fontconfig-devel.sgml:
2091 * doc/fontconfig-user.sgml:
2093 * doc/version.sgml.in:
2094 * fc-cache/Makefile.am:
2095 * fc-cache/fc-cache.c:
2096 * fc-glyphname/Makefile.am:
2097 * fc-glyphname/fc-glyphname.c:
2098 * fc-glyphname/fcglyphname.tmpl.h:
2099 * fc-lang/Makefile.am:
2109 * fc-lang/az_ir.orth:
2143 * fc-lang/fc-lang.c:
2144 * fc-lang/fc-lang.man:
2145 * fc-lang/fclang.tmpl.h:
2190 * fc-lang/ku_ir.orth:
2223 * fc-lang/ps_af.orth:
2224 * fc-lang/ps_pk.orth:
2253 * fc-lang/ti_er.orth:
2254 * fc-lang/ti_et.orth:
2280 * fc-lang/zh_cn.orth:
2281 * fc-lang/zh_hk.orth:
2282 * fc-lang/zh_mo.orth:
2283 * fc-lang/zh_sg.orth:
2284 * fc-lang/zh_tw.orth:
2286 * fc-list/Makefile.am:
2287 * fc-list/fc-list.c:
2288 * fc-match/Makefile.am:
2289 * fc-match/fc-match.1:
2290 * fc-match/fc-match.c:
2291 * fontconfig/fcfreetype.h:
2292 * fontconfig/fcprivate.h:
2293 * fontconfig/fontconfig.h:
2314 Change files from ISO-Latin-1 to UTF-8
2316 2004-12-04 Keith Packard <keithp@keithp.com>
2319 Update links to new freedesktop.org locations
2321 Add uninstall-local to get rid of fonts.conf and local.conf if they
2322 match the distributed versions. Fixes 'make distcheck'
2324 2004-12-04 Keith Packard <keithp@keithp.com>
2328 * fontconfig/fontconfig.h:
2329 Updates for version 2.2.97
2331 2004-12-04 Owen Taylor <otaylor@redhat.com>
2333 reviewed by: Keith Packard <keithp@keithp.com>
2335 * fc-cache/fc-cache.c: (main):
2336 Sleep for two seconds before exiting to make sure timestamps
2337 for future changes have distinct mod times in the file system.
2340 Add Punjabi orthography. Bug #1671.
2342 2004-12-04 Keith Packard <keithp@keithp.com>
2345 Just remove the FC_FONTDATE -- it has locale issues and
2346 annoys redhat multi-arch installs. Now that all X fonts are
2347 included without prejudice, the chances of the date being at
2348 all interesting are rather limited. Bug #505.
2350 Add copyright and license
2352 2004-12-04 Keith Packard <keithp@keithp.com>
2355 Change default set of fonts to include all of
2356 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2357 * doc/fontconfig-user.sgml:
2358 Document new <include>directory-name</include> semantics
2360 add <include ignore_missing="yes">conf.d</include>
2362 Add selectfont to ignore bitmap fonts, add comment for
2363 selectfont which accepts bitmap fonts.
2366 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2367 Allow <include> configuration elements to reference directories.
2368 Parse and load all files of the form [0-9]* in sorted order.
2370 2004-12-04 Keith Packard <keithp@keithp.com>
2373 Report command line for $srcdir/configure accurately.
2376 2004-12-04 Keith Packard <keithp@keithp.com>
2378 * src/fcfreetype.c: (FcFreeTypeQuery):
2379 Check for non-empty face->family_name and face->style_name
2380 before using those for the font. Empty names match everything.
2383 2004-12-04 Keith Packard <keithp@keithp.com>
2386 * fontconfig/fontconfig.h:
2387 * src/fcfreetype.c: (FcFreeTypeQuery):
2389 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2390 available. This provides font file format information (BDF, Type 1,
2391 PCF, TrueType) for each font. Closes #109.
2393 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2395 reviewed by: Keith Packard <keithp@keithp.com>
2397 * doc/fontconfig-user.sgml:
2400 * fontconfig/fontconfig.h:
2401 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2402 (GetScriptTags), (FcFontCapabilities):
2404 Add detection for font capabilities (bug #105)
2406 2004-12-04 Keith Packard <keithp@keithp.com>
2409 Move existing fonts.conf to fonts.conf.bak
2412 Add detection of iconv
2414 * doc/fcpattern.fncs:
2415 * doc/fontconfig-devel.sgml:
2416 * doc/fontconfig-user.sgml:
2418 Document new selectfont elements
2421 Switch to UTF-8 in comment
2423 * fontconfig/fontconfig.h:
2425 Add fullname, and family/style/fullname language entries
2427 * src/fccache.c: (FcCacheFontSetAdd):
2428 * src/fcdir.c: (FcFileScanConfig):
2429 Respect selectfont/*/glob
2432 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2433 (FcConfigCompareValue), (FcConfigPatternsAdd),
2434 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2435 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2436 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2437 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2438 Add support for selectfont
2440 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2441 (FcStringInPatternElement), (FcFreeTypeQuery):
2442 Add multi-lingual family/style/fullname support
2444 * src/fclist.c: (FcListPatternMatchAny):
2445 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2447 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2448 (FcObjectStaticName):
2449 Add new FcPatternRemove/FcPatternAppend.
2450 FcObjectStaticName stores computed pattern element names which
2451 are required to be static.
2453 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2458 Remove spurious / after $(DESTDIR)
2460 2004-06-30 Keith Packard <keithp@keithp.com>
2464 * fontconfig/fontconfig.h:
2467 2004-06-30 Keith Packard <keithp@keithp.com>
2469 Provided by: Lubos Lunak <l.lunak@suse.cz>
2471 * src/fccfg.c: (FcConfigUptoDate):
2472 However FcConfigUptoDate() doesn't seem to work. See the attached
2473 patch. First there's an obvious misplaced parenthesis making it
2474 return always false, and second, even this call fails to detect font
2475 changes (e.g. adding a new font to
2476 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2477 well. The problem seems to be triggered by my fonts.conf specifying
2478 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2479 doesn't include subdirs, unlike config->fontDirs.
2481 2004-06-03 Keith Packard <keithp@keithp.com>
2483 * fontconfig/fontconfig.h:
2484 Remove comma at end of FcResult enum definition.
2486 2004-05-29 Keith Packard <keithp@keithp.com>
2489 Add steps to md5sum release
2491 2004-05-29 Keith Packard <keithp@keithp.com>
2495 * fontconfig/fontconfig.h:
2498 2004-05-29 Keith Packard <keithp@keithp.com>
2500 * fontconfig/fontconfig.h:
2501 * src/fcmatch.c: (FcFontSetMatch):
2502 Add FcResultOutOfMemory to provide an accurate error when
2503 FcFontSetMatch fails in this way
2506 Make #warning about lacking various FreeType features indicate
2507 which version those features appeared so users know how to
2508 fix the problem (Thanks to Anton Tropashko)
2510 2004-05-05 Keith Packard <keithp@keithp.com>
2512 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2513 Replace MIN/MAX/ABS macros which happen to have come
2514 from FreeType with fontconfig-specific ones (FC_*)
2516 2004-04-23 Keith Packard <keithp@keithp.com>
2519 Extend release preparation instructions to include
2520 notification and distribution steps
2522 2004-04-23 Keith Packard <keithp@keithp.com>
2526 * fontconfig/fontconfig.h:
2527 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2529 2004-04-23 Keith Packard <keithp@keithp.com>
2532 Ignore a few more autotool files
2534 2004-04-14 Keith Packard <keithp@keithp.com>
2537 Add instructions for doing a release
2539 * fontconfig.spec.in:
2540 clean up .spec file; perhaps this will be useful to somebody...
2544 * fontconfig/fontconfig.h:
2547 * fc-lang/fc-lang.c:
2548 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2550 * fc-glyphname/Makefile.am:
2551 * fc-lang/Makefile.am:
2552 * fc-list/Makefile.am:
2553 * fc-match/Makefile.am:
2555 Add WARN_CFLAGS to pass -W flags for GCC systems
2557 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2558 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2559 Change various char types around to match across
2561 Fixed bug in using available_sizes[i].height which
2562 is in pixels, not 64ths of a pixel.
2564 2004-03-06 Keith Packard <keithp@keithp.com>
2566 * src/fcfreetype.c: (FcFreeTypeQuery):
2567 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2568 matches looking for explicit values prefer exact matches
2570 2004-03-02 Keith Packard <keithp@keithp.com>
2572 Supplied by: mfabian@suse.de (Mike FABIAN)
2574 * src/fcfreetype.c: (FcFreeTypeQuery):
2575 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2576 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2578 2004-02-21 Manish Singh <yosh@gimp.org>
2580 * fc-glyphname/fc-glyphname.c: (main):
2581 Cast strlen to int for printf, so we're 64-bit clean.
2583 2004-02-11 Keith Packard <keithp@keithp.com>
2586 * src/fcfreetype.c: (FcGetPixelSize):
2587 Ok, so I messed up the test for y_ppem. Let's see if I
2588 got it right this time.
2590 2004-02-10 Keith Packard <keithp@keithp.com>
2593 * src/fcfreetype.c: (FcGetPixelSize):
2594 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2595 FT_Bitmap_Size record. Add a configure.in test for this
2596 and change the code accordingly (using height instead).
2598 2004-02-06 Keith Packard <keithp@keithp.com>
2601 Add Low Saxon orthography
2602 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2604 * src/fccfg.c: (FcConfigNewestFile):
2605 Oops. Left 'newest.set' unset, which would miscompute
2608 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2609 (FcFreeTypeCheckGlyph):
2610 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2611 font properties (which report the wrong value in current FreeType)
2613 Don't attempt to check for empty glyphs in non-scalable fonts; they
2616 2004-02-01 Tor Lillqvist <tml@iki.fi>
2618 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2619 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2620 cache if config->cache is NULL, which happens if FcConfigHome() is
2621 NULL. Guard against that by using the temp folder in that case.
2623 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2625 * fc-lang/az_ir.orth:
2626 * fc-lang/ku_ir.orth:
2627 * fc-lang/ps_af.orth:
2628 * fc-lang/ps_pk.orth:
2629 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2630 (Afghan and Pakistani).
2632 Updated Urdu orthography with real data.
2634 2003-12-11 Carl Worth <cworth@east.isi.edu>
2636 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2639 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2641 (all-local): Remove excessive whitespace.
2643 * autogen.sh: Add 'set -e' to abort when any program fails,
2644 (avoids printing of 'now type make' after configure aborts).
2646 2003-11-17 Eric Christopherson <rakko@charter.net>
2648 reviewed by: Keith Packard <keithp@keithp.com>
2651 * fontconfig/fcfreetype.h:
2653 Switch to FreeType 2.1.7 style includes. Bug #150.
2655 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2657 * fc-list/fc-list.sgml: Add some example usages.
2659 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2662 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2665 2003-10-27 Keith Packard <keith@keithp.com>
2668 * fontconfig/fontconfig.h:
2669 Update to version 2.2.92
2671 2003-10-27 Keith Packard <keithp@keithp.com>
2676 * fc-cache/Makefile.am:
2677 * fc-glyphname/Makefile.am:
2678 * fc-lang/Makefile.am:
2679 * fc-list/Makefile.am:
2680 * fc-match/Makefile.am:
2683 Yet more cleanups to finish getting 'make distcheck' working
2684 This has been tested to ensure that it even works from a _build
2687 2003-10-26 Keith Packard <keithp@keithp.com>
2691 * fc-cache/Makefile.am:
2692 * fc-glyphname/Makefile.am:
2693 * fc-lang/Makefile.am:
2694 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2695 * fc-list/Makefile.am:
2696 * fc-match/Makefile.am:
2697 Attempts to fix 'make distcheck' work. Things are
2698 progressing pretty well, but there are still failures
2699 long into the process dealing with docs (as always).
2701 The big changes here are mostly to make $(srcdir) != "."
2702 work correctly, fixing the docbook related sections and
2703 fc-lang were particularily tricky. Docbook refuses to load
2704 system entities from anywhere other than where the original .sgml
2705 file was located, so no luck looking in "." for the
2706 configure-generated version.sgml and confdir.sgml files.
2708 fc-lang needed help finding .orth files; added a -d option
2709 to set the directory as the least evil of many options.
2711 Now to go use a faster machine and try and wring out the last
2714 2003-10-26 Keith Packard <keithp@keithp.com>
2718 2003-10-26 Keith Packard <keithp@keithp.com>
2721 Include confdir.sgml.in in EXTRA_DIST
2723 2003-10-09 Josselin Mouette <joss@debian.org>
2725 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2726 * fc-list/fc-list.sgml fc-list/Makefile.am:
2727 Replace fc-cache and fc-list manpages with more detailed, SGML
2730 2003-09-23 Owen Taylor <otaylor@redhat.com>
2732 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2733 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2734 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2737 2003-09-23 Owen Taylor <otaylor@redhat.com>
2739 * fc-lang/ka.orth: Remove Georgian capitals, they
2740 aren't used for normal writing. (Bug #116)
2742 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2744 * doc/fontconfig-devel.sgml:
2745 * doc/fontconfig-user.sgml:
2746 * fontconfig/fontconfig.h:
2748 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2749 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2751 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2752 monospace and dual-width fonts, allow roughly a 3% variance in the
2755 2003-08-31 Manish Singh <yosh@gimp.org>
2757 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2760 2003-08-15 Carl Worth <cworth@isi.edu>
2762 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2763 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2765 * src/fcpat.c (FcValueListEntDestroy): New function to support
2766 FcFini memory cleanup. Some statistics are not kept in
2768 (FcValueListFreeze): Move hashTable outside this function so it
2769 can be accessed by FcValueListThawAll.
2770 (FcValueListThawAll): New function complements FcValueListFreeze.
2771 (FcPatternBaseFreeze): Move hashTable outside this function so it
2772 can be accessed by FcPatternBaseThawAll.
2773 (FcPatternBaseThawAll): New function complements
2774 FcPatternBaseFreeze.
2775 (FcPatternThawAll): New function complements FcPatternFreeze.
2777 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2779 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2780 allocated FcCharLeafEnt "blocks" so they can be freed later.
2781 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2782 can be accessed by FcCharSetThawAllLeaf.
2783 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2784 (FcCharSetFreezeBase): Move hashTable outside this function so it
2785 can be accessed by FcCharSetThawAll.
2786 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2788 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2789 (FcConfigDestroy): Fic leak of FcBlanks.
2791 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2792 (main): Add call to FcFini when finished.
2794 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2795 static. Add prototypes.
2797 * doc/fcinit.fncs: Add documentation for FcFini function.
2799 * doc/edit-sgml.c: Mark several local functions as static. Add
2802 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2804 2003-06-15 Tor Lillqvist <tml@iki.fi>
2806 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2807 before comparing (needed on Windows).
2809 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2811 2003-06-13 Tor Lillqvist <tml@iki.fi>
2813 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2816 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2817 WINDOWSFONTDIR token.
2819 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2820 end, not to confuse libtool, which expects the EXPORTS line to be
2821 the first. Add FcConfigEnableHome.
2823 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2824 built as a DLL on Win32.
2826 2003-06-09 Keith Packard <keithp@keithp.com>
2828 * Tag version 2.2.90
2830 2003-06-09 Keith Packard <keithp@keithp.com>
2832 * Optimization in FcLangSetIndex was broken, occasionally
2833 returning a pointer to the wrong location on miss
2835 * Add fc-match to test font matching from the command line.
2837 2003-05-31 Keith Packard <keithp@keithp.com>
2839 * (Bug 85) add support for culmus fonts
2840 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2841 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2843 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2845 * Fix "contains" op for strings and langsets.
2847 2003-05-17 Keith Packard <keithp@keithp.com>
2849 * Fix build error with BDF prop local. Free langset after query
2851 2003-05-14 Keith Packard <keithp@keithp.com>
2853 * Extract spacing from XLFD atom
2855 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2857 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2858 disappeared in 1.30.
2860 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2862 2003-05-12 Keith Packard <keithp@keithp.com>
2864 * Use FcIsWidth to share code
2866 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2867 misclassifying some Han fonts as monospaced.
2869 2003-05-07 Keith Packard <keithp@keithp.com>
2871 * Add filename-based accept/reject to ammend available fonts.
2873 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2874 older FreeType releases.
2876 2003-05-06 Keith Packard <keithp@keithp.com>
2878 * Remove 0b82 and Tamil numbers from tamil
2879 orthography (Jungshik Shin <jshin@mailaps.org>)
2881 2003-05-04 Keith Packard <keithp@keithp.com>
2883 + Map glyph names in fonts with adobe custom encoding to unicode
2885 2003-05-02 Keith Packard <keithp@keithp.com>
2887 * Add FC_WEIGHT_BOOK as weight 75
2889 2003-04-30 Keith Packard <keithp@keithp.com>
2891 * Typo in bitstream foundry name
2893 2003-04-24 Keith Packard <keithp@keithp.com>
2895 * Eliminate italic_angle check for PS fonts
2897 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2899 * Getting closer to fixing /etc/fonts hard-coding.
2901 2003-04-22 Keith Packard <keithp@keithp.com>
2903 * Update autogen.sh to work with newer automake versions
2904 * Handle pattern elements moving during multiple edits
2906 2003-04-23 James Henstridge <james@daa.com.au>
2908 * doc/fontconfig-devel.sgml: close the <para> element.
2910 * doc/fcpattern.fncs: close the <para> element.
2912 * doc/func.sgml: close the <refsynopsisdiv> element.
2914 2003-04-22 Keith Packard <keithp@keithp.com
2916 * Update autogen.sh to work with newer automake versions
2917 * Handle pattern elements moving during multiple edits
2919 2003-04-17 Colin Walters <walters@debian.org>
2921 + Remove some unused variables, and initialize some other ones so
2922 gcc doesn't warn us.
2924 2003-04-16 Keith Packard <keithp@keithp.com>
2926 + tag version 2.1.94
2928 2003-04-16 Keith Packard <keithp@keithp.com>
2930 + add BDF property fetching support for foundry
2931 (from Juliusz Chroboczek)
2932 + add BDF property fetching support for width
2934 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2936 + Implemented foundry generation for Type 1 and TrueType
2938 2003-04-11 Gerard Escalante <g2@magestudios.net>
2940 + Retrieve information from Type1 FontInfo dictionaries
2942 2003-04-07 Colin Walters <walters@verbum.org>
2944 + src/Makefile.am: Fix dummy makefile target names when
2945 MS_LIB_AVAILABLE isn't set.
2947 2003-03-22 Tor Lillqvist <tml@iki.fi>
2949 Changes for Windows:
2951 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2953 + We don't want to hardcode the fonts.conf file location in the
2954 DLL, so we look up the DLL location at run-time in a DllMain()
2955 function. The fonts.conf location is deduced from that.
2957 + The colon can't be used as path separator on Windows,
2958 semicolon is used instead. File path components can be separated
2959 with either slash or backslash. Absolute paths can also begin
2960 with a drive letter.
2962 + Add internal function FcStrLastSlash that strrchr's the last
2963 slash, or backslash on Windows.
2965 + There is no link() on Windows. For atomicity checks, mkdir a
2966 lock directory instead.
2968 + In addition to HOME, also look for USERPROFILE.
2970 + Recognize the special font directory token WINDOWSFONTDIR, to
2971 use the system's font directory.
2973 + Remove the fontconfig-def.cpp that was obsolete. Add
2974 fontconfig.def(.in), without internal functions.
2976 + Add a fontconfig-zip(.in) script, used to build a binary
2979 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2980 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2981 to main package and man3/* to devel package
2983 + Added missing defattr(-, root, root) to main RPM package
2985 + Added HTML and text development documentation to -devel subpackage
2987 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2988 + Added back the configure macro options --disable-docs, otherwise
2989 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2990 version number) unconditionally, causing RPM to fail the build due
2991 to _unpackaged_files_terminate_build. We pick up the pregenerated
2992 docs with %doc already.
2994 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2995 + Removed commented out rpm macro define at top of spec file,
2996 replacing it with a simple explanation, since rpm macros are
2997 expanded by rpm even in comments.
2999 + Changed /usr/bin to _bindir in BuildRequires lines
3001 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3003 + Reorganized file manifest lists
3005 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3007 + fontconfig.spec.in: Improvements from Red Hat spec file.
3009 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3011 + docs/*.sgml: SGML fixes.
3013 Sat Mar 1 17:28:53 PST 2003 keithp
3014 + Ok, so the ChangeLog is a bit out of date
3016 + Lots of bugs fixed; most are in bugzilla, the
3017 biggest problems were in cache management where
3018 Owen discovered the library would lose badly when
3019 combining fonts-cache and ~/.fonts-cache data
3021 + Converted from autoconf to automake. This after
3022 getting patches accepted into libtool to allow
3023 the '-version-number' argument which lets
3024 packages set version numbers explicitly rather
3025 than the roundabout libtool way
3027 + Converted documentation to SGML using the docbook
3028 DTD. Now .txt and .html documents are installed
3029 in /usr/share/doc/fontconfig and there's no
3030 man page. Perhaps a man version can be written
3033 Sat Aug 31 15:21:22 PDT 2002 keithp
3034 + Xrender and Xft had several bugs related to
3035 rendering manually placed or poly-face text
3037 + Added more complete memory tracing in fontconfig
3038 Checked with (patched) mozilla and found no leaks
3040 + Updated Latin orthographies by comparing those from
3041 evertype.com with those from eki.ee. Tried to make
3042 sensible choices, including chars that occured in both
3043 and leaving some optional chars out that occured only
3046 Mon Aug 26 16:33:04 PDT 2002 keithp
3047 + Owen discovered that FcLangSetHasLang wasn't actually
3048 checking the language set.
3050 Mon Aug 26 13:37:23 PDT 2002 keithp
3051 + Append a version number to cache filenames
3053 Thu Aug 22 11:36:18 PDT 2002 keithp
3055 + Add "contains" and "not_contains" operators and elements to
3058 + Changed semantics of eq operator for LangSets to check for
3059 FcLangEqual so that any match will do
3061 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3062 of FcValueEqual to check for identical values when inserting into
3063 the results. This broke when the above semantic change was made,
3064 now it uses FcValueEqual which is "more correct" in any case.
3066 Thu Aug 22 00:32:29 PDT 2002 keithp
3068 + Reimplement FC_LANG as new datatype. Lists of strings
3069 was consuming over a megabyte of memory for 401 fonts.
3071 + Freeze patterns loaded from cache files. This shares
3072 common value lists and common patterns which saves
3073 considerable memory.
3075 + Change the denotation of 'constant' charsets to use special
3076 ref value instead of separate boolean.
3078 + Clean up leak tracing stuff, found several unannoted alloc/free
3081 Tue Aug 20 16:17:37 PDT 2002 keithp
3083 + Fix memory leak when parsing matrices from XML
3085 Mon Aug 19 11:57:27 PDT 2002 keithp
3087 + Fix autoconf files to pass FONTCONFIG_PATH on
3088 compile line so that ${prefix} gets substituted
3091 + Use getc_unlocked/putc_unlocked on systems that
3092 provide them to avoid damage done to stdio by posix
3094 + Eliminate FC_PATTERN and FcTypePattern in favor of
3095 an extended api for FcConfigSubstitute which takes
3096 both the font and the pattern.
3098 + Add 'sans serif' alias for 'sans-serif' as some apps
3099 can't handle hyphens in family names
3101 + Eliminate pretense of support for libxml2
3103 + Comment origins of Han orthographies
3105 Tue Jul 30 18:37:09 PDT 2002 keithp
3107 + Add binding property to edit element so that strong
3108 binding values may be inserted by the config file.
3109 The default remains weak.
3111 Sun 28 Jul 04:16:55 PDT 2002 keithp
3113 + Tagged release candidate 1 in the CVS tree and
3114 placed fcpackage.rc1.tar.gz for distribution
3116 Thu Aug 1 08:55:08 PDT 2002 keithp
3118 + Fixed autoconf builds to always specify install
3119 target files (for BSD). Also fixed to
3120 define FONTCONFIG_PATH in config.h so that
3121 nonstandard installs will actually work.