1 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
5 Move up #include of config.h.
6 Fail if neither inttypes.h nor stdint.h is available.
9 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
10 Patrick Lam <plam@mit.edu>
12 * fc-cache/fc-cache.c:
14 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
15 FcDirCacheConsume, FcDirCacheProduce,
16 FcDirCacheWrite, FcCacheMachineSignature):
17 * src/fcfreetype.c (FcFreeTypeQuery):
18 * src/fontconfig.def.in:
20 Make fontconfig compile under MinGW:
21 1) remove unneeded #includes;
22 2) make use of mmap and sysconf conditional;
23 3) replace rand_r by srand/rand if needed;
24 4) use chsize instead of ftruncate; and
25 5) update libtool exports file
27 2006-04-07 Patrick Lam <plam@mit.edu>
28 * src/fcdir.c (FcDirScanConfig):
32 2006-04-06 Patrick Lam <plam@mit.edu>
33 * fc-match/.cvsignore:
34 * fc-match/Makefile.am:
35 * fc-match/fc-match.sgml:
37 Update documentation for fc-match (SGML-ize it).
38 (reported by Ilya Konstantinov)
40 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
46 Reduce amount of dirty rss by const'ing some data structures.
48 2006-04-06 Patrick Lam <plam@mit.edu>
49 * fc-cache/Makefile.am:
51 Don't fail if we can't create or remove
52 $(pkgcachedir) i.e. /var/cache/fontconfig.
53 (reported by Quanah Gibson-Mount).
55 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
58 * fc-glyphname/fc-glyphname.c:
59 * fc-lang/fc-lang.c (main):
60 * fc-match/fc-match.c:
61 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
63 * src/fcfreetype.c (FcFreeTypeQuery):
64 * src/fclang.c (FcFreeTypeLangSet):
67 Fix intel compiler warnings: make many variables static,
68 eliminate duplicate names, reduce variable scopes, unsigned/signed
71 2006-03-24 Mike Fabian <mfabian@suse.de>
73 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
75 Fix multiarch support (don't destroy multiarch files!)
77 2006-03-24 Patrick Lam <plam@mit.edu>
80 Require pkg-config. (Thanks Behdad;
81 better solution wanted for libxml2 detection!)
83 2006-03-22 Patrick Lam <plam@mit.edu>
86 On Windows, unlink before rename. Reported by Tim Evans.
88 2006-03-15 Patrick Lam <plam@mit.edu>
92 Fix typos in orth files. Reported by Denis Jacquerye.
94 2006-03-08 Patrick Lam <plam@mit.edu>
96 * config/config.guess:
99 Fix Makefile.am for removal of debian/ directory.
101 2006-03-08 Patrick Lam <plam@mit.edu>
104 Ignore debian/ directory for CVS.
106 2006-03-08 Patrick Lam <plam@mit.edu>
109 Now remove debian/ directory.
111 2006-03-08 Patrick Lam <plam@mit.edu>
114 Remove debian/ directory from sources. See Debian's subversion
115 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
118 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
122 * fc-lang/iso639-1, fc-lang/iso639-2:
124 Add orthography for Lingala.
126 2006-03-08 Carl Worth <cworth@cworth.org>
129 * conf.d/Makefile.am:
130 * conf.d/10LohitGujarati.conf:
132 Add a configuration file that disables hinting for the Lohit
133 Gujarati font (since the hinting distort some glyphs quite badly).
135 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
138 * src/fcdir.c (FcDirScanConfig):
140 Sort directory entries while scanning them from disk;
141 prevents Heisenbugs due to file ordering in a directory.
143 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
146 * src/fcfreetype.c (GetScriptTags):
147 * src/ftglue.c, src/ftglue.h:
149 Remove stuff we don't use, make get_{char,short,long} functions
150 of ftglue macros to be inlined.
153 * src/fcname.c (FcObjectSerialize):
155 Code cleanups (excess prototype, old-style function definition).
157 2006-03-05 Patrick Lam <plam@mit.edu>
158 * src/fcpat.c (FcPatternGetString):
160 Because we hacked FcPatternGet, we don't really need to expand the
161 filename again in FcPatternGetString.
163 2006-03-05 Patrick Lam <plam@mit.edu>
164 * src/fcpat.c (FcPatternGetString, FcPatternGet):
166 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
167 Make that work. Reported by Bernhard Rosenkraenzer.
169 2006-03-03 Patrick Lam <plam@mit.edu>
172 Include inttypes.h instead of stdint.h if appropriate.
174 2006-03-03 Patrick Lam <plam@mit.edu>
175 * fc-cat/fc-cat.c (FcFileIsDir):
176 * fc-glyphname/fc-flyphname.c:
178 More stub definitions and remove FcFileIsDir from fc-cat.
180 2006-03-03 Patrick Lam <plam@mit.edu>
183 Fix compilation on AIX with stub definitions (bug 6097).
185 2006-03-03 Patrick Lam <plam@mit.edu>
186 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
187 * src/fcfreetype.c (GetScriptTags):
188 * src/fcfs.c (FcFontSetDistributeBytes):
189 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
191 Get rid of C++-style comments.
193 2006-03-03 Patrick Lam <plam@mit.edu>
196 Enable creation of 2.3.94 Debian packages.
198 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
201 * src/fclang.c (FcCharSetForLang):
203 Fix suspicious return expression which causes junk
206 2006-02-24 Patrick Lam <plam@mit.edu>
210 * fontconfig/fontconfig.h:
212 Bump version to 2.3.94.
214 2006-02-24 Patrick Lam <plam@mit.edu>
219 2006-02-24 Patrick Lam <plam@mit.edu>
220 * conf.d/10-fonts-persian.conf:
222 Remove unconditional emboldening (per Behdad's instructions).
226 Add @s to hide some echos.
228 2006-02-24 Mike Fabian <mfabian@suse.de>
229 Takashi Iwai <tiwai@suse.de>
232 * src/fcfreetype.c (GetScriptTags):
234 Fix double-free on error case.
236 2006-02-21 Patrick Lam <plam@mit.edu>
237 * fc-lang/fc-lang.c (scan):
239 Strip \r and whitespace from input; fixes bug 3454.
241 2006-02-21 Patrick Lam <plam@mit.edu>
242 * fc-lang/fc-lang.c (main):
244 Allocate large arrays statically in fc-lang to fix crashes under
247 2006-02-21 Diego Petten <flameeyes@gentoo.org>
248 * src/fcfreetype.c (FcFreeTypeCharIndex):
250 Pass the buck; make fontconfig not crash on pango badness.
252 2006-02-21 Patrick Lam <plam@mit.edu>
253 * conf.d/10-fonts-persian.conf:
255 Use embeddedbitmap rather than rh_prefer_bitmap.
257 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
260 * src/fccache.c (FcDirCacheWrite):
261 * src/fcdir.c (FcFileScanConfig):
262 * src/fcfreetype.c (FcStringInPatternElement):
263 * src/fcxml.c (FcParseFamilies):
264 * src/ftglue.c (ftglue_face_goto_table):
266 Eliminate redundancies.
268 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
271 * fc-list/fc-list.c (main):
272 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
273 * src/fcstr.c (FcStrStr):
274 * src/fcxml.c (FcConfigSaveAttr):
276 Eliminate unused vars reported by Intel's compiler.
278 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
283 Remove one more archaic character.
285 2006-02-21 Ross Burton <ross@burtonini.com>
286 reviewed by: plam, keithp
288 * src/fcxml.c (FcParsePatelt):
290 Freeze patterns created by configuration file for tiny
291 memory savings (every little bit helps).
293 2006-02-21 Mike Fabian <mfabian@suse.de>
296 * fc-cat/fc-cat.c (main):
298 Initialize fontconfig library in fc-cat to avoid segfault.
300 2006-02-18 Patrick Lam <plam@mit.edu>
301 * fc-cache/fc-cache.c (scanDirs):
302 * src/fccache.c (FcCacheReadDirs):
303 * src/fcdir.c (FcDirScanConfig):
305 Fix the underlying cause of the below segfault (must usually
306 call FcDirCacheHasCurrentArch after FcDirCacheValid).
308 2006-02-18 Patrick Lam <plam@mit.edu>
309 * src/fccache.c (FcDirCacheHasCurrentArch):
311 Fix triggering of segfault caused by misreading cache files
312 (reported by fcrozat).
314 2006-02-17 Patrick Lam <plam@mit.edu>
315 * src/fcint.h (FC_CACHE_MAGIC):
317 Bump up magic version; we changed the binary format.
319 2006-02-17 Patrick Lam <plam@mit.edu>
320 * fc-cat/fc-cat.c (main):
322 Enable fc-cat to print out old-style cache info when given a
325 2006-02-16 Patrick Lam <plam@mit.edu>
326 * src/fccache.c (FcDirCacheHasCurrentArch):
328 Deal correctly with changing FC_CACHE_MAGIC.
330 2006-02-16 Patrick Lam <plam@mit.edu>
331 * fc-cache/fc-cache.c (usage, scanDirs, main):
333 Add -r --really-force option which blows away cache files and then
336 2006-02-16 Patrick Lam <plam@mit.edu>
337 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
339 Don't bail if fontconfig can't remove a dir cache file.
340 Skip the ID of a cache file when copying.
341 Eliminate 'source file too small' bug in FcDirCacheWrite.
343 2006-02-13 Patrick Lam <plam@mit.edu>
344 * src/fcfreetype.c (FcFreeTypeQuery):
346 Fix memory leak in error condition code.
348 2006-02-13 Mike Fabian <mfabian@suse.de>
350 * src/fcfreetype.c (FcFreeTypeQuery):
352 Skip bitmap fonts which can't even get it together enough to
353 declare a family name; this appears to reproduce previous
354 fontconfig behaviour.
356 2006-02-10 Takashi Iwai <tiwai@suse.de>
358 * src/fccache.c (FcDirCacheOpen):
360 Try to open /var/cache/fontconfig/[hashed name] before
361 fonts.cache-2 in a directory, because /var/cache/fontconfig
362 failures ought to be fixable, unlike fonts.cache-2 failures,
363 which may leave you screwed.
365 2006-02-10 Takashi Iwai <tiwai@suse.de>
367 * src/fcmatch.c (FcFontSetMatch):
369 Use a tri-state to mark the fonts which didn't get blocked but
370 were just missing an element, to distinguish them from the
371 fonts that do match the element.
373 2006-02-10 Takashi Iwai <tiwai@suse.de>
375 * src/fcmatch.c (FcFontSetMatch):
377 Don't kill fonts because they don't declare an element that's
380 2006-02-09 Patrick Lam <plam@mit.edu>
381 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
382 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
384 Define and pass O_BINARY to open if appropriate, for those
385 platforms that need it. Reported by Doodle.
387 2006-02-09 Patrick Lam <plam@mit.edu>
388 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
391 Fix problem with missing 'en' due to euro.patch: change
392 cache file format slightly to coincide with that generated
395 2006-02-07 Patrick Lam <plam@mit.edu>
396 * src/fccache.c (FcCacheReadDirs):
400 2006-02-07 Patrick Lam <plam@mit.edu>
401 * src/fcdir.c (FcDirScanConfig):
403 Don't reject dirs that can't be normalized (fixes lilypond, and
404 is correct in the context of application font directories.)
406 2006-02-07 Takashi Iwai <tiwai@suse.de>
409 * src/fccache.c (FcCacheReadDirs):
411 Use normalized directory name exclusively in FcCacheReadDirs.
413 2006-02-07 Dirk Mueller <dmueller@suse.com>
416 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
418 Perf optimizations. Inline FcValueCanonicalize,
419 reduce FcValueListPtrU usage, remove redundant cast.
421 2006-02-07 Takashi Iwai <tiwai@suse.de>
424 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
427 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
428 Declare extern for static arrays as arrays, not pointers.
429 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
431 2006-02-07 Dirk Mueller <dmueller@suse.com>
444 Add Euro sign to list of symbols required by European languages.
446 2006-02-07 Patrick Lam <plam@mit.edu>
447 * src/fccache.c (FcCacheReadString):
449 Fix hidden variable warning.
451 2006-02-07 Dirk Mueller <dmueller@suse.com>
454 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
456 Remove de-escaping logic because FcCacheWriteString
457 doesn't escape anyway. Do blockwise reading instead
458 of byte-wise for performance.
460 2006-02-06 Patrick Lam <plam@mit.edu>
461 Takashi Iwai <tiwai@suse.de>
463 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
465 Don't loop infinitely on recursive symlinks (client-side).
467 2006-02-06 Takashi Iwai <tiwai@suse.de>
469 * fc-cache/fc-cache.c (scanDirs, main):
471 Don't loop infinitely on recursive symlinks.
473 2006-02-06 Takashi Iwai <tiwai@suse.de>
475 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
476 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
477 FcGlobalCacheSave, FcCacheReadDirs):
480 Skip subdirs when skipping over stale bits of global cache.
481 Introduce state machine into FcGlobalCacheDir to avoid
482 doing inappropriate operations on global dir entries, e.g.
483 writing out an out-of-date cache entry.
485 2006-02-06 Takashi Iwai <tiwai@suse.de>
487 * src/fcdir.c (FcFileScanConfig):
489 Hoist FcFileIsDir check out of FcFileScanConfig loop.
491 2006-02-06 Takashi Iwai <tiwai@suse.de>
494 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
495 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
497 Don't rescan when trying to normalize a non-declared font dir.
498 Don't add font dirs multiple times (even if they're aliased).
500 2006-02-06 Dirk Mueller <dmueller@suse.de>
503 * src/fcfs.c (FcFontSetUnserialize):
505 Explain apples/oranges comparison and fix compilation error.
507 2006-02-06 Dirk Mueller <dmueller@suse.de>
510 * src/fcfs.c (FcFontSetUnserialize):
512 Insert check for integer overflow in # of fonts.
514 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
518 * fc-cache/Makefile.am:
519 * fc-cat/Makefile.am:
520 * fc-list/Makefile.am:
522 Make 'make distcheck' work with automake 1.6.3.
524 2006-02-03 Takashi IWAI <tiwai@suse.de>
527 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
530 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
531 FcDirCacheConsume, FcDirCacheWrite)
532 * src/fcxml.c (FcConfigMessage):
534 Check I/O call return values and eliminate unused variable
537 2006-02-03 Takashi Iwai <tiwai@suse.de>
540 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
544 2006-02-03 Dirk Mueller <dmueller@suse.de>
547 * src/fcfs.c (FcFontSetUnserialize):
549 Gracefully handle the case where a cache asserts that it
550 has a negative number of fonts, causing overflow.
552 2006-02-03 Patrick Lam <plam@mit.edu>
553 * src/fccache.c (FcDirCacheUnlink):
555 Fix double free in error case.
557 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
558 Stephan Kulow <coolo@suse.de>
561 * fc-cache/Makefile.am:
563 Replace 'stamp' target with mkinstalldirs.
565 2006-01-31 Mike Fabian <mfabian@suse.de>
568 * src/fccache.c (FcGlobalCacheLoad):
570 Toast broken global cache files.
572 2006-01-30 Patrick Lam <plam@mit.edu>
573 * src/fccache.c (FcGlobalCacheReadDir):
575 Actually use the directories that I added to the global cache.
578 2006-01-30 Mike Fabian <mfabian@suse.de>
581 * fc-cache/fc-cache.c (scanDirs):
583 Don't stop scanning if a directory in fonts.conf doesn't
584 exist, because subsequent directories might exist.
586 2006-01-30 Patrick Lam <plam@mit.edu>
587 * src/fccache.c (FcGlobalCacheLoad):
589 Make global cache work again after putting dir names into global
590 cache (I misplaced the recording of a file offset).
592 2006-01-30 Patrick Lam <plam@mit.edu>
593 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
595 Update fc-cat to handle subdir lists in global cache file.
597 * src/fccache.c (FcGlobalCacheLoad):
599 Another FcCacheReadString return value check.
601 2006-01-30 Mike Fabian <mfabian@suse.de>
604 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
605 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
607 Make fccache more resilient to broken cache files by checking
608 return value of FcCacheReadString all the time.
610 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
613 * fc-match/fc-match.1:
614 * fc-lang/fc-lang.man:
616 Remove references to dead fontconfig(3) manpages in
617 other fontconfig manpages.
619 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
622 * doc/fcpattern.fncs:
624 Fix world's tiniest typo in code example.
626 2006-01-29 Mike Fabian <mfabian@suse.de>
629 * src/fccache.c (FcGlobalCacheReadDir):
631 Fix global cache reads of subdirectories.
633 2006-01-29 Patrick Lam <plam@mit.edu>
635 Add documentation for FcConfigNormalizeFontDir.
637 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
638 FcGlobalCacheUpdate, FcGlobalCacheSave):
639 * src/fcdir.c (FcDirScanConfig):
642 Write directory information to global caches to fix make check
643 (reported by Ronny V. Vindenes). This changes the global cache
646 2006-01-27 Patrick Lam <plam@mit.edu>
647 * fc-cache/fc-cache.c (scanDirs):
648 * fontconfig/fontconfig.h:
650 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
652 Move FcConfigNormalizeFontDir call so that it doesn't result in
653 infinite recursion (reported by Ronny V. Vindenes).
655 2006-01-26 Patrick Lam <plam@mit.edu>
656 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
657 * src/fccfg.c (FcConfigNormalizeFontDir):
659 Add a couple of missing normalizations to make fc-cache work
660 right; only scan subdirectories once.
662 2006-01-26 Mike Fabian <mfabian@suse.de>
665 * src/fcacache.c (FcGlobalCacheReadDir):
667 Don't crash on non-existant directories in global cache.
669 2006-01-26 Patrick Lam <plam@mit.edu>
670 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
671 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
672 * src/fcdir.c (FcDirScanConfig):
673 * src/fcxml.c (FcEndElement):
675 Stop trampling the directory name when writing out caches.
676 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
677 subdirs when necessary. Don't scan directories that can't be
680 2006-01-25 Patrick Lam <plam@mit.edu>
681 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
682 * src/fccfg.c (FcConfigEvaluate):
683 * src/fcfreetype.c (FcPatternAddWithBinding):
685 Fix additional memory leaks reported by Ronny V. Vindenes: don't
686 invoke FcValueSave on hashed static strings in
687 FcPatternAddWithBinding.
689 Add another st_dev check in FcDirCacheOpen.
691 2006-01-24 James Su <james.su@gmail.com>
694 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
695 * fc-lang/zh_hk.orth:
697 Treat zh-hk fonts differently from zh-tw fonts. This patch may
698 cause fontconfig to treat A-X fonts differently from A-Y fonts;
699 please mail the fontconfig list if this causes any problems.
701 2006-01-24 Patrick Lam <plam@mit.edu>
702 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
703 * src/fcfreetype.c (FcFreeTypeQuery):
705 Fix memory leaks reported by Ronny V. Vindenes.
707 2006-01-19 Andreas Schwab <schwab@suse.de>
710 * src/fcpat.c (FcStrNeededBytes):
712 Fix for unaligned memory accesses.
714 2006-01-18 Mike Fabian <mfabian@suse.de>
717 * src/fcdir.c (FcDirScanConfig):
719 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
720 calls to avoid crashes.
722 2006-01-14 Patrick Lam <plam@mit.edu>
723 * src/fccache.c (FcDirCacheConsume):
725 Fix segfault when consuming zero-length caches in fc-cat
726 (which has no config, so FcConfigAddFontDir shouldn't be called.)
728 2006-01-14 Patrick Lam <plam@mit.edu>
729 * fc-cache/fc-cache.c (scanDirs):
730 * fontconfig/fontconfig.h:
731 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
732 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
733 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
734 * src/fcdir.c (FcDirScanConfig):
737 Compare device numbers as well as inodes.
738 Always normalize directory names before comparing them.
740 2006-01-11 Mike Fabian <mfabian@suse.de>
743 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
745 Allocate extra space for appended '/' in directory name.
747 2006-01-10 Patrick Lam <plam@mit.edu>
748 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
749 FcDirCacheValid, FcDirCacheHasCurrentArch,
750 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
751 * fc-cache/fc-cache.c (main):
753 Explicitly add font dirs to config.fontDirs even if they're empty.
754 Set current config in fc-cache.c.
755 Fix treatment of cache directory as read from cache file; don't
756 use string equality to determine if we have the right file,
759 2006-01-09 Patrick Lam <plam@mit.edu>
760 * fc-cache/fc-cache.c (scanDirs):
761 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
762 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
763 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
764 * src/fccfg.c (FcConfigNormalizeFontDir):
765 * src/fcdir.c (FcDirScanConfig):
768 Normalize font dirs by using the form, as given in fonts.conf, and
769 recorded in FcConfig's fontDirs string set, as canonical.
771 Actually update config.fontDirs as font directories are scanned.
773 2006-01-08 James Su <james.su@gmail.com>
774 * src/fcmatch.c (FcFontSetMatch):
776 Fix matching bug when multiple elements match; don't use
777 the sum of all scores, but the best score.
779 Also more perf opts, e.g. evaluate best over all font sets
780 rather than on a per-set basis (and other changes).
782 2006-01-08 Patrick Lam <plam@mit.edu>
783 * src/fccache.c (FcDirCacheConsume):
785 Properly skip past dir caches that contain zero fonts (as occurs
786 in global caches.) Reported by Mike Fabian.
788 2006-01-06 Patrick Lam <plam@mit.edu>
789 * src/fcdbg.c (FcPatternPrint):
791 Print out full pathname in fc-match -v as well. Reported by
794 2006-01-06 Mike Fabian <mfabian@suse.de>
797 * src/fcname.c (FcNameParse):
799 Fix bug where fc-match crashes when given __DUMMY__ property to
802 (I added the __DUMMY__ string to enable callers of
803 FcObjectToPtrLookup to distinguish an error return from a
804 successful return. -PL)
806 2006-01-05 Patrick Lam <plam@mit.edu>
809 Add self to AUTHORS list.
811 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
812 FcCacheFileRead, FcCachePrintSet, main):
813 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
814 FcGlobalCacheSave, FcCacheNextOffset,
815 FcDirCacheHasCurrentArch, FcDirCacheRead,
816 FcDirCacheConsume, FcDirCacheWrite):
818 * src/fcpat.c (comment):
820 Minor change to global cache file format to fix fc-cat bug
821 reported by Frederic Crozat, and buglet with not globally caching
822 directories with zero fonts cached.
824 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
827 * src/fccfg.c (FcConfigEvaluate):
829 Fix double-free which occurs because FcValueCanonicalize doesn't
830 create an extra copy of the returned value, it only canonicalizes
833 2006-01-02 Patrick Lam <plam@mit.edu>
834 * doc/fontconfig-user.sgml:
836 Fix version of .cache file (currently 1 -> currently 2). Reported
839 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
842 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
844 Shut up GCC warnings on amd.
846 2005-12-20 Patrick Lam <plam@mit.edu>
850 * fontconfig/fontconfig.h:
852 Bump version to 2.3.93.
854 2005-12-20 Patrick Lam <plam@mit.edu>
855 * src/fccharset.c (FcLangCharSetPopulate):
856 * src/fcint.h (FcCacheBankToIndex):
858 Avoid check on _fcBankId nullness and fix case where it used to
861 2005-12-20 Patrick Lam <plam@mit.edu>
862 * src/fcxml.c (FcConfigParseAndLoad):
864 Use open instead of fopen (requested by Phil Race for Sun).
866 2005-12-20 Patrick Lam <plam@mit.edu>
867 * src/fccache.c (FcDirCacheWrite);
868 * fc-cache/Makefile.am:
870 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
873 2005-12-20 Patrick Lam <plam@mit.edu>
874 * src/fcfreetype.c (FcFreeTypeQuery):
876 Restore code to skip over PCF fonts that have no encoded
878 (We guess that a font is PCF by presence of the PIXEL_SIZE
881 2005-12-12 Patrick Lam <plam@mit.edu>
882 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
884 Read and write the original location as a fallback for the
885 hashed cache file locations. This is mostly for users to be
886 able to have per-directory cache files.
888 2005-12-12 Patrick Lam <plam@mit.edu>
889 * fc-cache/fc-cache.c (scanDirs):
890 * fc-cache/Makefile.am:
891 * src/fccache.c (FcDirCacheHashName):
893 Improve error message when fc-cache can't write the cache. Add
894 missing slash. Reported by Behdad. Incorporate Behdad's patch to
895 create /var/cache/fontconfig when appropriate.
897 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
900 * src/fcxml.c (FcConfigGetAttribute):
902 Fix crash reported by Frederic Crozat when using libxml2.
904 2005-12-09 Patrick Lam <plam@mit.edu>
907 * fc-cache/Makefile.am:
908 * fc-cat/Makefile.am:
910 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
911 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
912 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
913 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
914 FcDirCacheHasCurrentArch, FcDirCacheHashName,
915 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
917 Migrate cache files from fonts directories to
918 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
919 but requires that all caches get rebuilt.
921 Also, autogen.sh now needs the additional parameter
922 --localstatedir=/var.
924 2005-12-07 Patrick Lam <plam@mit.edu>
925 * src/fcpat.c (FcPatternAddString):
927 Because we've changed FcPatternAddString to use FcStrStaticName
928 and not FcValueSave, explicitly handle the case of a null string.
930 2005-12-06 Patrick Lam <plam@mit.edu>
931 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
935 2005-12-05 Patrick Lam <plam@mit.edu>
936 * src/fcname.c (FcNameGetObjectType):
938 Don't assign types to user object names.
940 2005-12-05 Patrick Lam <plam@mit.edu>
941 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
943 Don't free strings that have been returned from FcStrStaticName.
945 2005-12-01 Patrick Lam <plam@mit.edu>
946 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
948 Add codepath for reading global cache files as well.
950 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
953 * conf.d/10-fonts.persian.conf:
954 * conf.d/Makefile.am:
956 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
958 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
961 * src/fcxml.c (FcConfigParseAndLoad):
963 Only add a config file to the set of config files once.
965 2005-11-29 Patrick Lam <plam@mit.edu>
966 * src/fcint.h (FcCacheBankToIndex);
968 Fix segfault by guarding array dereference.
970 2005-11-29 Dirk Mueller <dmueller@suse.de>
974 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
975 FcCacheBankToIndex, FcCacheBankToIndexMTF,
979 Refactor FcCacheBankToIndex into an inlineable part
980 (in fcint.h) which checks the front of the list and a
981 non-inlineable part which finds and moves the appropriate element
982 to the front of the list.
984 2005-11-29 Patrick Lam <plam@mit.edu>
985 * src/fccfg.c (FcConfigBuildFonts):
986 * src/fccache.c (FcCacheReadDirs):
988 Make the perf guys hate me a bit less: hoist the directory-name
989 FcConfigAcceptFont check for cached fonts up to directory cache
990 read time, rather than running it for each font.
992 2005-11-29 Patrick Lam <plam@mit.edu>
993 * src/fccfg.c (FcConfigBuildFonts):
995 * src/fcpat.c (FcPatternFindFullFname):
997 Don't make FcPatternFindFullFname available to fccfg, it's not
998 really safe. Instead go through FcPatternGetString (sorry,
999 perf guys.) Also, use globs for dirs as well.
1001 2005-11-28 Patrick Lam <plam@mit.edu>
1002 * src/fccfg.c (FcConfigBuildFonts):
1006 2005-11-28 Patrick Lam <plam@mit.edu>
1008 * src/fcpat.c (FcPatternFindFullFname):
1009 * src/fccfg.c (FcConfigBuildFonts):
1011 Fix problem dating back at least to 2.3.2 where globs weren't
1012 being applied to patterns loaded from a cache.
1014 2005-11-28 Patrick Lam <plam@mit.edu>
1015 * doc/fontconfig-user.sgml:
1017 Fix some obvious spelling mistakes.
1019 2005-11-28 Dirk Mueller <dmueller@suse.com>
1020 Stephan Kulow <coolo@suse.de>
1023 * src/fcmatch.c (FcFontSetMatch):
1025 Don't kill all fonts during match (oops!)
1028 2005-11-25 Dirk Mueller <dmueller@suse.com>
1029 Stephan Kulow <coolo@suse.de>
1030 Michael Matz <matz@suse.de>
1033 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1036 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1037 inline FcCompare into FcFontSetMatch and reorder the
1038 loops, adding a boolean array which blocks patterns from future
1039 consideration if they're known to not be best on some past
1042 2005-11-26 Dirk Mueller <dmueller@suse.com>
1045 * src/fcmatch.c (FcCompareValueList):
1047 Fix incorrect merge.
1049 2005-11-25 Patrick Lam <plam@mit.edu>
1050 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1052 Don't do random matching when bad objects are passed into
1055 2005-11-25 Patrick Lam <plam@mit.edu>
1057 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1058 FcPatternSerialize, FcPatternUnserialize,
1059 FcValueListEnsureBank, FcValueListDistributeBytes,
1060 FcValueListUnserialize):
1062 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1063 _fcPatternElts, _fcValueLists for consistency.
1065 2005-11-25 Dirk Mueller <dmueller@suse.com>
1070 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1072 2005-11-25 Patrick Lam <plam@mit.edu>
1074 * src/fccache.c (FcDirCacheConsume):
1075 * src/fccharset.c (FcCharSetUnserialize):
1076 * src/fcfs.c (FcFontSetUnserialize):
1077 * src/fclang.c (FcLangSetUnserialize):
1078 * src/fcname.c (FcObjectUnserialize):
1079 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1080 FcPatternUnserialize):
1082 Pass around FcCache *s to the Unserialize functions for extra
1083 consistency (and less overhead, for what that's worth).
1085 2005-11-24 Dirk Mueller <dmueller@suse.com>
1089 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1090 * src/fcname.c (FcNameUnparseValue):
1092 Inline the *PtrU functions to gain perf.
1093 Remove unneeded params for the FcCompare* functions.
1095 2005-11-24 Dirk Mueller <dmueller@suse.com>
1098 * src/fcint.h, fontconfig/fontconfig.h:
1100 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1102 * src/fcpat.c, src/fcint.h, src/fcname.c:
1104 Check for type validity during FcPatternAddWithBinding, don't
1105 verify type in FcFontMatch, don't call FcCanonicalize here
1106 (which always does a deep copy).
1108 2005-11-24 Dirk Mueller <dmueller@suse.com>
1111 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1112 * src/fcpat.c (FcPatternAddWithBinding):
1114 Make FcCompareString and FcCompareFamily less expensive.
1115 Only add a value for FC_FAMILY if the proposed value is a string.
1117 2005-11-24 Dirk Mueller <dmueller@suse.com>
1120 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1121 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1122 * src/fcint.h (FcDebug):
1124 Inline FcDebug invocations and only initialize once, in FcInit*.
1125 Improve debug msg in FcPatternPrint.
1127 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1130 * fontconfig/fontconfig.h:
1133 Minor code warning cleanups.
1135 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1138 * fc-match/fc-match.c (main):
1140 Make getopt_long accept -s parameter to fc-match as well.
1142 2005-11-21 Dirk Mueller <dmueller@suse.com>
1145 * src/fcmatch.c (FcCompareValueList):
1147 Manually perform inlining & partial redundancy elimination to
1148 reduce calls to FcValueListPtrU.
1150 2005-11-21 Dirk Mueller <dmueller@suse.com>
1153 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1154 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1156 Only invoke strlen() when really necessary.
1158 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1162 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1163 FcFontCapabilities):
1167 Get rid of the use of freetype internal headers in fcfreetype.c,
1168 since those headers will go away with freetype 2.2. Replace with
1169 public domain ftglue code from pango. Note that the patch removes
1170 some extra error checking in FT_Get_BDF_Property() and comments
1171 out the skipping of empty pcf fonts.
1173 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1176 * fc-lang/fc-lang.c (main):
1178 Further fix of patch from 2005-11-04: miscounted numbers count
1179 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1180 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1182 Removed leafidx_count and numbers_count since they are the same
1183 and replaced them with offset_count.
1185 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1188 * fc-cat/fc-cat.c (main):
1190 Don't crash when fc-cat invoked with no arguments.
1192 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1195 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1197 Fix invalid read access caused by premature free and
1198 GCC4 warnings in libxml2 codepath.
1200 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1203 * src/fccfg.c (FcConfigValues):
1205 List iteration not needed in FcConfigValues, since it's building
1206 up the list itself; we can just strip FcVoid elements during
1209 2005-11-17 Patrick Lam <plam@mit.edu>
1210 * src/fccfg.c (FcConfigValues):
1212 Fix crash on invalid constants in config files (forgot to update
1213 a pointer upon list iteration.)
1215 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1218 * src/fcxml.c (FcTypecheckExpr):
1220 Complain about invalid constants in config files.
1222 2005-11-17 Andreas Schwab <schwab@suse.de>
1225 * src/fccache.c (FcGlobalCacheSave):
1227 Don't add current_arch_start more than once.
1229 2005-11-16 Patrick Lam <plam@mit.edu>
1230 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1231 * src/fcfs.c (FcFontSetUnserialize):
1232 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1233 * src/fcpat.c (FcStrUnserialize):
1235 Fix ordering of ALIGN with respect to saving block_ptr; add
1236 another ALIGN to fcfs.c.
1238 2005-11-16 Patrick Lam <plam@mit.edu>
1239 * src/fccache.c (FcDirCacheProduce)
1241 Fix case where alignment bytes bumped up metadata->count
1242 causing unwarranted failures to write cache files.
1243 (Reported by Stephan Kulow).
1245 2005-11-16 Patrick Lam <plam@mit.edu>
1246 * src/fccache.c (FcDirCacheProduce):
1247 * src/fccharset.c (FcCharSetDistributeBytes):
1248 * src/fcfs.c (FcFontSetDistributeBytes):
1250 * src/fclang.c (FcLangSetDistributeBytes):
1251 * src/fcname.c (FcObjectDistributeBytes):
1252 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1255 Add *NeededBytesAlign(), which overestimates the padding which is
1256 later added by the new ALIGN macro. Fix alignment problems on
1257 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1258 version by Andreas Schwab).
1260 2005-11-16 Stephan Kulow <coolo@kde.org>
1265 Use sysconf to determine proper PAGESIZE value; this
1266 appears to be POSIX-compliant. (reported by Andreas Schwab)
1268 2005-11-04 Patrick Lam <plam@mit.edu>
1269 * fc-lang/fc-lang.c:
1274 Fix bug 2878 (excessive relocations at startup for charsets,
1275 reported by Ross Burton): fc-lang/fc-lang now creates the
1276 static form of the langset, not the dynamic form, so that
1277 the charsets should now be in .rodata.
1279 2005-11-04 Patrick Lam <plam@mit.edu>
1280 * src/fcdir.c (FcDirScanConfig):
1282 Add test for validity of directory caches that
1283 somehow got lost (reported by make distcheck).
1285 2005-11-04 Patrick Lam <plam@mit.edu>
1289 * fontconfig/fontconfig.h:
1291 Bump version to 2.3.92.
1293 2005-11-02 Patrick Lam <plam@mit.edu>
1294 * src/fcpat.c (FcPatternDuplicate):
1296 Fix argument ordering problem in call to FcPatternTransferFullFname.
1298 2005-11-02 Patrick Lam <plam@mit.edu>
1299 * src/fcfreetype.c (FcFreetypeQuery):
1300 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1301 FcPatternTransferFullFname):
1303 Fix warnings and embarrassing double-free error.
1305 2005-11-02 Zhe Su <zsu@novell.com>
1310 Change the rule for artificial emboldening in fonts.conf.in. This
1311 enables the support for artificial emboldening included in cairo.
1313 2005-11-02 Patrick Lam <plam@mit.edu>
1314 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1316 Don't zero out full names for FC_REF_CONSTANT fonts;
1317 also, duplicate full names when transferring, and free
1318 full names when freeing the associated font.
1319 Reported by Jinghua Luo.
1321 2005-11-02 Patrick Lam <plam@mit.edu>
1322 * fc-cache/fc-cache.c (scanDirs):
1323 * src/fcpat.c (FcValueListSerialize):
1325 Revert the previous patch and commit the correct patch:
1326 I forgot a canonicalization in FcValueListSerialize, so
1327 that it would choke on already-serialized input files. Duh!
1329 2005-11-02 Patrick Lam <plam@mit.edu>
1330 * fc-cache/fc-cache.c (scanDirs):
1332 Forcibly rescan a directory before writing a fresh local
1333 cache file for that directory, fixing the losing-fonts
1334 problem reported by Mike Fabian and also apparently the
1335 font cache file corruption.
1337 2005-11-02 Patrick Lam <plam@mit.edu>
1338 * src/fccache.c (FcGlobalCacheLoad):
1340 Fix thinko: actually, the whole global cache is stale
1341 if the global cache is older than the (newest) config file.
1343 2005-11-02 Patrick Lam <plam@mit.edu>
1344 * src/fccache.c (FcGlobalCacheLoad):
1345 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1348 Declare the global cache of a directory's contents to be stale if
1349 the directory is newer than the (newest) configuration file.
1351 2005-10-31 Patrick Lam <plam@mit.edu>
1353 * src/fclist.c (FcListAppend):
1354 * src/fcmatch.c (FcFontRenderPrepare):
1355 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1356 FcPatternFreeze, FcPatternBaseFreeze):
1358 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1359 applications continue breaking.
1361 2005-10-31 Patrick Lam <plam@mit.edu>
1362 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1363 * src/fcfreetype.c (FcFreeTypeQuery):
1365 Fix small memory error (tried to free argv); use basename and
1366 dirname correctly (they can modify their arguments).
1368 2005-10-31 Patrick Lam <plam@mit.edu>
1376 Reinstate basename patch, but keep a hash table linking FcPatterns
1377 to their fully-qualified font names for clients' benefit. Clients
1378 only pay for the font names once they request the FC_FILE property
1379 from an FcPattern, but the font name is malloc'd at that point (i.e.
1380 not mmapped: that's impossible, since it may vary between machines.)
1381 Clients do have to pay for a copy of the path name per cache file.
1383 Note that FcPatternGetString now does some rewriting if you ask
1384 for an FC_FILE, appending the pathname as appropriate.
1386 2005-10-31 Patrick Lam <plam@mit.edu>
1387 * src/fcfreetype.c (FcFreeTypeQuery):
1389 Revert basename patch, which breaks fontconfig clients on my system.
1391 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1394 * fontconfig/fonts.conf.in:
1395 * fontconfig/fontconfig.h:
1399 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1400 to load embedded bitmaps or not.
1402 2005-10-25 Patrick Lam <plam@mit.edu>
1403 * src/fcfreetype.c (FcFreeTypeQuery):
1405 Only add basename to patterns' FC_FILE element, not any part of
1408 2005-10-22 Patrick Lam <plam@mit.edu>
1411 Add some more consts, fixing more GCC4 warnings.
1413 2005-10-22 Zhe Su <zsu@novell.com>
1416 Support localized font family and style names.
1417 This has been reported to break old apps like xfd, but modern
1418 (gtk+/qt/mozilla) apps work fine.
1420 2005-10-21 Patrick Lam <plam@mit.edu>
1421 * src/fccache.c (FcGlobalCacheLoad):
1423 Destroy the global cache file if it's terminally broken. (reported by
1426 2005-10-21 Patrick Lam <plam@mit.edu>
1427 * fc-list/fc-list.c (main):
1428 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1429 * fontconfig/fontconfig.h:
1431 Prevent fc-list from escaping strings when printing them (reported by
1434 2005-10-20 Marcus Meissner <meissner@suse.de>
1437 * fontconfig/fontconfig.h:
1439 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1441 2005-10-14 Ross Burton <ross@burtonini.com>
1444 * fc-glyphname/fc-glyphname.c:
1447 Add consts to variables so as to move arrays into .rodata.
1449 2005-10-14 Mike Fabian <mfabian@suse.de>
1452 * src/fccache.c (FcDirCacheUnlink):
1454 Check existence of directory cache file before attempting to unlink.
1456 2005-10-13 Patrick Lam <plam@mit.edu>
1457 * src/fccache.c (FcDirCacheUnlink):
1459 Fix flipped return value on unlink. (Reported by Mike Fabian)
1461 2005-10-12 Patrick Lam <plam@mit.edu>
1464 * src/fcdir.c (FcDirScanConfig):
1467 When fc-cache is run without --force, use directory cache files
1468 to speed up fc-cache run time. (Reported by Mike Fabian)
1470 2005-10-06 Patrick Lam <plam@mit.edu>
1472 * src/fcname.c (FcObjectToPtr):
1473 * src/fcpat.c (FcStrStaticName):
1475 Add padding to make valgrind and glibc not hate each other
1476 when calling strlen().
1478 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1479 reviewed by: plam & keithp
1483 Modify config file to use Greek fonts before Asian fonts with
1486 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1487 reviewed by: plam & keithp
1491 Use libtool -no-undefined flag on all platforms.
1493 2005-10-05 Patrick Lam <plam@mit.edu>
1494 * src/fccache.c (FcCacheHaveBank):
1496 Implement move-to-front array for banks (perf regression
1497 reported by Ronny V. Vindenes).
1499 2005-10-04 Patrick Lam <plam@mit.edu>
1500 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1501 FcDirCacheHasCurrentArch):
1502 * fc-cache/fc-cache.c (scanDirs):
1503 * fontconfig/fontconfig.h:
1505 Add new API which unlinks directory caches and checks dir caches
1506 for existence of appropriate sections. Fix fc-cache to unlink
1507 stale cache files and save directory caches that lack relevant
1510 2005-10-03 Patrick Lam <plam@mit.edu>
1511 * src/fccache.c (FcDirCacheValid):
1513 Ensure that a directory cache has the appropriate section
1514 before reporting that it is valid (reported by Matthias Clasen).
1516 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1524 Use libxml2 if requested (with --enable-libxml2) or if
1525 expat is not available.
1527 2005-09-29 Patrick Lam <plam@mit.edu>
1528 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1530 Fix multi-arch cache files: compute the position for the
1531 block to be added using info from OrigFile, not NewFile.
1533 2005-09-28 Patrick Lam <plam@mit.edu>
1534 * src/fccache.c (FcCacheMachineSignature):
1536 Cast results of sizeof() to unsigned int to get rid of
1537 warnings on x86_64 (thanks Matthias Clasen).
1539 2005-09-27 Patrick Lam <plam@mit.edu>
1540 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1543 Use FcAtomic to rewrite cache files.
1545 2005-09-27 Patrick Lam <plam@mit.edu>
1547 * src/fccache.c (FcDirCacheWrite):
1549 Don't unlink the fonts.cache-2 file even if there's no data
1550 to write; just write an empty cache file. (thanks Lubos Lunak)
1552 2005-09-27 Patrick Lam <plam@mit.edu>
1554 * src/fccache.c (FcDirCacheWrite):
1556 Allocate room for the subdirectory names in each
1557 directory cache. Thanks to James Cloos for finding
1558 and diagnosing this bug!
1560 2005-09-22 Patrick Lam <plam@mit.edu>
1562 * fc-cache/fc-cache.sgml:
1563 * src/fccache.c (FcDirCacheWrite):
1564 * src/fccache.h (struct FcCache):
1566 Update documentation -- fc-cache's man page now says that you
1567 need to run fc-cache once per cached architecture; add some
1568 documentation to the FcCache structure.
1570 Make fc-cache write out fonts.cache-2 files for directories with
1571 no fonts (i.e. only subdirectories).
1573 2005-09-22 Patrick Lam <plam@mit.edu>
1575 * fc-cache/fc-cache.sgml:
1576 * fc-case/fc-case.c:
1577 * fc-glyphname/fc-glyphname.c:
1583 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1587 * fc-lang/fc-lang.c:
1588 * fontconfig/fcprivate.h:
1589 * fontconfig/fontconfig.h:
1603 Implement new mmaped cache for font information.
1604 Bump so revision to 2.3.90.
1606 2005-07-25 Keith Packard <keithp@keithp.com>
1608 * doc/fontconfig-user.sgml:
1609 * fc-glyphname/fc-glyphname.c: (scan), (main):
1610 * fc-lang/fc-lang.c: (FcConfigHome):
1611 * fc-match/fc-match.c: (main):
1612 * src/fccfg.c: (FcConfigHome):
1613 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1614 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1615 (addtag), (FcFontCapabilities):
1616 * src/fcpat.c: (FcValueListEntCreate):
1617 * src/fcstr.c: (FcStrCaseWalkerInit):
1618 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1620 Various GCC 4 cleanups for signed vs unsigned char
1622 Match only [0-9]*.conf files in <include>{directory}</include>
1623 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1625 2005-07-15 Carl Worth <cworth@cworth.org>
1628 * src/fcinit.c: (FcFini):
1629 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1632 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1633 Pull the FcObjectStateName hash table out to file scope, and add
1634 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1637 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1640 2005-06-16 Patrick Lam <plam@MIT.EDU>
1644 * src/fccfg.c: (FcConfigCompareValue):
1645 Make FcOpNotContains use FcStrStr for strings so that
1646 it matches semantics for !FcOpContains.
1648 2005-05-20 Keith Packard <keithp@keithp.com>
1652 Move fontconfig source package to libs as per override
1654 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1656 reviewed by: Mike Fabian
1659 The ka.orth file requires several characters which are not
1660 used anymore in modern Georgian and which are missing in the free
1661 Georgian TrueType fonts downloadable at:
1663 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1665 2005-04-27 Keith Packard <keithp@keithp.com>
1669 Update date to real 2.3.2 release date.
1670 Fix change attributions
1672 2005-04-27 Keith Packard <keithp@keithp.com>
1675 Bump so revision for 2.3.2
1676 * fc-cache/fc-cache.c: (scanDirs):
1677 Fix a few minor leaks in error cases.
1679 2005-04-23 Keith Packard <keithp@keithp.com>
1684 * fontconfig/fontconfig.h:
1685 Update for version 2.3.2
1687 2005-04-21 Keith Packard <keithp@keithp.com>
1689 * debian/fontconfig.postinst:
1690 Don't force bitmap font enable in default
1691 configuration; allows users to override this in
1701 * debian/po/pt_BR.po:
1702 * debian/po/templates.pot:
1704 * debian/po/zh_CN.po:
1705 Updated translations
1707 * fc-cache/fc-cache.c: (main):
1708 Destroy font configuration on exit to help valgrind
1711 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1712 (FcFreeTypeCheckGlyph):
1713 Use own transcoding routines in preference to iconv
1714 which appears to have leaks in some translators.
1715 Call iconv_close after using iconv (oops).
1717 Prefer unicode encoding of Euro char as some
1718 fonts mis-encode Euro in other ones.
1720 Must fetch bitmap glyphs to get width values
1721 to check for monospace/dual-width fonts.
1723 2005-04-13 Ross Burton <ross@burtonini.com>
1726 Check that a pattern isn't already frozen in FcPatternFreeze.
1728 2005-03-31 Ross Burton <ross@burtonini.com>
1733 Run all FcPattern objects through FcObjectStaticName, so that
1734 compares can be done on pointers instead of strings (#2659)
1736 2005-03-17 Tor Lillqvist <tml@novell.com>
1738 * src/fontconfig.def.in: Add the .dll to the dll name.
1740 2005-03-10 Keith Packard <keithp@keithp.com>
1742 * debian/README.Debian:
1743 Update to reflect configuration changes
1745 * debian/fontconfig.postinst:
1746 Fix Autohint vs Autohinter mistake
1747 * debian/fontconfig.templates:
1748 Adopt changes from Josselin Mouette for configuration descriptions
1749 Update debian to version 2.3.1-2
1751 2005-03-08 Keith Packard <keithp@keithp.com>
1755 Update debian for 2.3.1
1757 2005-03-09 Tor Lillqvist <tml@novell.com>
1759 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1762 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1765 2005-03-08 Keith Packard <keithp@keithp.com>
1769 * fontconfig/fontconfig.h:
1772 2005-03-05 Keith Packard <keithp@keithp.com>
1774 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1775 Include space and remove numbers from valid script tags.
1776 This ensures that tags like 'lao ' work while rejecting
1777 those which have any digits.
1778 Eliminate a spurious debugging variable (len)
1780 2005-03-05 Keith Packard <keithp@keithp.com>
1782 * src/fcfreetype.c: (addtag), (GetScriptTags),
1783 (FcFontCapabilities):
1784 Rework GSUB/GPOS script parsing to survive broken fonts.
1785 Thanks for the broken font go to Manish Singh
1787 2005-03-05 Keith Packard <keithp@keithp.com>
1792 * debian/fontconfig.config:
1793 * debian/fontconfig.templates:
1795 Include 2.3 release information in changelog
1796 Add Josselin Mouette as an Uploader
1797 Set hinting_type to low priority configuration option
1800 * debian/fontconfig.postinst:
1801 yes_bitmaps.conf -> yes-bitmaps.conf
1807 2005-03-02 Keith Packard <keithp@keithp.com>
1810 * conf.d/Makefile.am:
1811 * conf.d/autohint.conf:
1812 * conf.d/no-sub-pixel.conf:
1813 * conf.d/sub-pixel.conf:
1814 * conf.d/unhinted.conf:
1815 * debian/autohint.conf:
1816 * debian/fontconfig.install:
1817 * debian/fontconfig.postinst:
1818 * debian/fontconfig.templates:
1819 * debian/no-sub-pixel.conf:
1820 * debian/unhinted.conf:
1821 Move debian-specific conf file examples upstream.
1823 Sub-pixel configuration examples must smash subpixel value
1824 as Xft always sets it from X.
1826 Change sub-pixel rendering debconf descriptions from
1827 Enable/Disable to Always/Never.
1829 2005-03-02 Keith Packard <keithp@keithp.com>
1832 * conf.d/.cvsignore:
1834 Ignore more build detritus
1837 Add debian package construction stuff.
1839 * config/config.guess:
1840 * config/config.sub:
1841 Update to newer versions of these tools
1844 Get library manuals to build again (we love automake).
1846 * debian/README.Debian:
1847 * debian/autohint.conf:
1852 * debian/fontconfig-udeb.install:
1853 * debian/fontconfig.config:
1854 * debian/fontconfig.defoma:
1855 * debian/fontconfig.dirs:
1856 * debian/fontconfig.install:
1857 * debian/fontconfig.postinst:
1858 * debian/fontconfig.postrm:
1859 * debian/fontconfig.templates:
1860 * debian/libfontconfig1-dev.install:
1861 * debian/libfontconfig1.install:
1862 * debian/local.conf.md5sum:
1863 * debian/no-sub-pixel.conf:
1864 * debian/po/POTFILES.in:
1873 * debian/po/pt_BR.po:
1874 * debian/po/templates.pot:
1876 * debian/po/zh_CN.po:
1878 * debian/unhinted.conf:
1879 Update debian build system to switch maintainers and
1880 deal with 2.3 functionality
1882 2005-03-01 Keith Packard <keithp@keithp.com>
1886 * fontconfig/fontconfig.h:
1889 2005-03-01 Keith Packard <keithp@keithp.com>
1892 Generate and install PDF versions of the manuals
1894 * doc/fcpattern.fncs:
1897 * doc/fcstring.fncs:
1898 Add missing exported functions, fix data types
1900 * doc/fontconfig-devel.sgml:
1901 Add missing pattern elements.
1903 * doc/fontconfig-user.sgml:
1904 Add missing pattern elements. Document conf.d usage,
1905 clarify available orthography list. Fix some config file
1906 attributes. Complete list of constants.
1908 * fontconfig/fontconfig.h:
1909 Mark FC_SOURCE deprecated.
1911 * src/fcfreetype.c: (FcFreeTypeQuery):
1912 Don't set FC_SOURCE any longer.
1914 2005-02-28 Keith Packard <keithp@keithp.com>
1917 * conf.d/Makefile.am:
1919 * conf.d/no-bitmaps.conf:
1920 * conf.d/sub-pixel.conf:
1921 * conf.d/yes-bitmaps.conf:
1923 Create prototype /etc/fonts/conf.d directory with a few
1924 sample configuration files.
1925 Deprecate use of local.conf for local customizations in favor of
1926 this directory based scheme which is more easily integrated into
1927 installation systems.
1930 Tag FC_EMBOLDEN as a boolean variable
1932 2005-02-10 Keith Packard <keithp@keithp.com>
1934 reviewed by: pborelli@katamail.com
1936 * src/fcdir.c: (FcFileScanConfig):
1937 Free patterns from fonts which are rejected by configuration
1940 2005-01-28 Keith Packard <keithp@keithp.com>
1944 * fontconfig/fontconfig.h:
1945 Update for version 2.2.99
1947 2005-01-28 Keith Packard <keithp@keithp.com>
1950 Add a few pointers (#2284, #2285)
1952 2005-01-28 Keith Packard <keithp@keithp.com>
1955 * src/fcname.c: (FcNameBool):
1956 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1957 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1958 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1959 Polite typechecking for test and edit expressions. Helps
1960 catch errors in the font configuration. (bug 229)
1962 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1964 reviewed by: Keith Packard <keithp@keithp.com>
1967 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1969 2005-01-13 Keith Packard <keithp@keithp.com>
1971 * doc/fontconfig-user.sgml:
1972 Add SEE ALSO section (bug 2085)
1974 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1976 reviewed by: Keith Packard <keithp@keithp.com>
1981 * fc-case/Makefile.am:
1982 * fc-glyphname/Makefile.am:
1983 * fc-lang/Makefile.am:
1984 * src/fontconfig.def.in:
1985 Cross compiling fixes (bug 280)
1987 2005-01-13 Keith Packard <keithp@keithp.com>
1990 Update blanks list (Closes bug 86)
1992 2005-01-04 Keith Packard <keithp@keithp.com>
1994 * src/fccache.c: (FcCacheFontSetAdd):
1995 Verify that every font pattern loaded from cache has
1996 both FC_FILE and FC_FAMILY entries.
1997 Attempt to fix bug #2219.
1999 2004-12-29 Keith Packard <keithp@keithp.com>
2003 * fontconfig/fontconfig.h:
2004 Update for version 2.2.98
2006 2004-12-29 Keith Packard <keithp@keithp.com>
2008 * fontconfig/fontconfig.h:
2009 Document ASCII limitations of Fc character conversion macros
2010 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2011 Fix off-by-one error in utf-8 case walking code.
2012 Add FcStrDowncase (useful for testing case conversion functions)
2014 2004-12-29 Keith Packard <keithp@keithp.com>
2017 * fc-case/.cvsignore:
2018 clean up CVS ignore lists
2019 * fc-lang/iso-3166.txt:
2020 Add territory database
2022 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2024 Reviewed by: Keith Packard
2027 Remove Han characters from Korean orthography
2029 2004-12-29 Keith Packard <keithp@keithp.com>
2032 Reorder utility programs to make sure fc-case is run before fc-lang
2033 as fc-lang uses fcstr.c which uses fccase.h
2037 2004-12-29 Keith Packard <keithp@keithp.com>
2040 Adopt some RedHat suggestions for standard font configuration.
2044 * fc-case/CaseFolding.txt:
2045 * fc-case/Makefile.am:
2046 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2047 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2048 (dump), (parseRaw), (caseFoldReadRaw), (main):
2049 * fc-case/fccase.tmpl.h:
2050 Add new helper program 'fc-case' to construct case folding
2051 tables from standard Unicode CaseFolding.txt file
2054 * src/fclist.c: (FcListValueHash):
2055 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2056 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2057 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2058 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2059 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2060 Re-implement case insensitive functions with Unicode
2061 aware versions (including full case folding mappings)
2063 2004-12-13 Keith Packard <keithp@keithp.com>
2065 reviewed by: Owen Taylor <otaylor@redhat.com>
2067 * src/fcmatch.c: (FcFontSetSort):
2068 I changed FcFontSetSort to respect the generic aliases better
2069 in the face of language matching.
2071 What I did was to ammend the strict sort order used by FcFontSort so
2072 that it 'satisfies' the language specified in the pattern by locating
2073 the best matching font supporting each pattern language and then
2074 ignores language in the remaining fonts for purposes of matching.
2076 So, when asking for 'sans:lang=en', you'll get an English font first,
2077 and then the remaining fonts sorted with respect to the 'sans' alias
2078 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2080 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2082 reviewed by: Keith Packard <keithp@keithp.com>
2084 * fontconfig/fontconfig.h:
2087 Configuration changes to request synthetic emboldening of
2088 fonts. The actual emboldening code will live in Xft.
2090 2004-12-09 John Thacker <thacker@math.cornell.edu>
2092 reviewed by: Keith Packard <keithp@keithp.com>
2096 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2097 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2098 и), and don't even appear in KOI8-R. (The hypothesis that they
2099 don't appear in KOI8-R due to their similarity with Latin I and i is
2100 eliminated by their presence in KOI8-U.) I have a couple of fonts
2101 with Russian support that don't have the letter.
2103 Therefore, 0406 and 0456 should be removed from or commented out of
2106 2004-12-06 michael meeks <mmeeks@novell.com>
2108 Reviewed by: Keith Packard <keithp@keithp.com>
2110 * src/fcinit.c: (FcMemReport):
2112 * src/fclist.c: (FcObjectSetAdd):
2113 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2114 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2115 * src/fcxml.c: (FcParsePatelt):
2116 memoize strings and share a single copy for all uses. Note that
2117 this could be improved further by using statically allocated blocks
2118 and gluing multiple strings together, but I'm basically lazy.
2119 In my environment with 800 font files, I get a savings of about 90KB.
2121 2004-12-06 Keith Packard <keithp@keithp.com>
2125 * config/Makedefs.in:
2128 * doc/fcatomic.fncs:
2129 * doc/fcblanks.fncs:
2130 * doc/fccharset.fncs:
2131 * doc/fcconfig.fncs:
2132 * doc/fcconstant.fncs:
2134 * doc/fcfontset.fncs:
2135 * doc/fcfreetype.fncs:
2137 * doc/fcmatrix.fncs:
2138 * doc/fcobjectset.fncs:
2139 * doc/fcobjecttype.fncs:
2140 * doc/fcpattern.fncs:
2141 * doc/fcstring.fncs:
2142 * doc/fcstrset.fncs:
2144 * doc/fontconfig-devel.sgml:
2145 * doc/fontconfig-user.sgml:
2147 * doc/version.sgml.in:
2148 * fc-cache/Makefile.am:
2149 * fc-cache/fc-cache.c:
2150 * fc-glyphname/Makefile.am:
2151 * fc-glyphname/fc-glyphname.c:
2152 * fc-glyphname/fcglyphname.tmpl.h:
2153 * fc-lang/Makefile.am:
2163 * fc-lang/az_ir.orth:
2197 * fc-lang/fc-lang.c:
2198 * fc-lang/fc-lang.man:
2199 * fc-lang/fclang.tmpl.h:
2244 * fc-lang/ku_ir.orth:
2277 * fc-lang/ps_af.orth:
2278 * fc-lang/ps_pk.orth:
2307 * fc-lang/ti_er.orth:
2308 * fc-lang/ti_et.orth:
2334 * fc-lang/zh_cn.orth:
2335 * fc-lang/zh_hk.orth:
2336 * fc-lang/zh_mo.orth:
2337 * fc-lang/zh_sg.orth:
2338 * fc-lang/zh_tw.orth:
2340 * fc-list/Makefile.am:
2341 * fc-list/fc-list.c:
2342 * fc-match/Makefile.am:
2343 * fc-match/fc-match.1:
2344 * fc-match/fc-match.c:
2345 * fontconfig/fcfreetype.h:
2346 * fontconfig/fcprivate.h:
2347 * fontconfig/fontconfig.h:
2368 Change files from ISO-Latin-1 to UTF-8
2370 2004-12-04 Keith Packard <keithp@keithp.com>
2373 Update links to new freedesktop.org locations
2375 Add uninstall-local to get rid of fonts.conf and local.conf if they
2376 match the distributed versions. Fixes 'make distcheck'
2378 2004-12-04 Keith Packard <keithp@keithp.com>
2382 * fontconfig/fontconfig.h:
2383 Updates for version 2.2.97
2385 2004-12-04 Owen Taylor <otaylor@redhat.com>
2387 reviewed by: Keith Packard <keithp@keithp.com>
2389 * fc-cache/fc-cache.c: (main):
2390 Sleep for two seconds before exiting to make sure timestamps
2391 for future changes have distinct mod times in the file system.
2394 Add Punjabi orthography. Bug #1671.
2396 2004-12-04 Keith Packard <keithp@keithp.com>
2399 Just remove the FC_FONTDATE -- it has locale issues and
2400 annoys redhat multi-arch installs. Now that all X fonts are
2401 included without prejudice, the chances of the date being at
2402 all interesting are rather limited. Bug #505.
2404 Add copyright and license
2406 2004-12-04 Keith Packard <keithp@keithp.com>
2409 Change default set of fonts to include all of
2410 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2411 * doc/fontconfig-user.sgml:
2412 Document new <include>directory-name</include> semantics
2414 add <include ignore_missing="yes">conf.d</include>
2416 Add selectfont to ignore bitmap fonts, add comment for
2417 selectfont which accepts bitmap fonts.
2420 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2421 Allow <include> configuration elements to reference directories.
2422 Parse and load all files of the form [0-9]* in sorted order.
2424 2004-12-04 Keith Packard <keithp@keithp.com>
2427 Report command line for $srcdir/configure accurately.
2430 2004-12-04 Keith Packard <keithp@keithp.com>
2432 * src/fcfreetype.c: (FcFreeTypeQuery):
2433 Check for non-empty face->family_name and face->style_name
2434 before using those for the font. Empty names match everything.
2437 2004-12-04 Keith Packard <keithp@keithp.com>
2440 * fontconfig/fontconfig.h:
2441 * src/fcfreetype.c: (FcFreeTypeQuery):
2443 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2444 available. This provides font file format information (BDF, Type 1,
2445 PCF, TrueType) for each font. Closes #109.
2447 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2449 reviewed by: Keith Packard <keithp@keithp.com>
2451 * doc/fontconfig-user.sgml:
2454 * fontconfig/fontconfig.h:
2455 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2456 (GetScriptTags), (FcFontCapabilities):
2458 Add detection for font capabilities (bug #105)
2460 2004-12-04 Keith Packard <keithp@keithp.com>
2463 Move existing fonts.conf to fonts.conf.bak
2466 Add detection of iconv
2468 * doc/fcpattern.fncs:
2469 * doc/fontconfig-devel.sgml:
2470 * doc/fontconfig-user.sgml:
2472 Document new selectfont elements
2475 Switch to UTF-8 in comment
2477 * fontconfig/fontconfig.h:
2479 Add fullname, and family/style/fullname language entries
2481 * src/fccache.c: (FcCacheFontSetAdd):
2482 * src/fcdir.c: (FcFileScanConfig):
2483 Respect selectfont/*/glob
2486 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2487 (FcConfigCompareValue), (FcConfigPatternsAdd),
2488 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2489 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2490 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2491 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2492 Add support for selectfont
2494 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2495 (FcStringInPatternElement), (FcFreeTypeQuery):
2496 Add multi-lingual family/style/fullname support
2498 * src/fclist.c: (FcListPatternMatchAny):
2499 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2501 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2502 (FcObjectStaticName):
2503 Add new FcPatternRemove/FcPatternAppend.
2504 FcObjectStaticName stores computed pattern element names which
2505 are required to be static.
2507 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2512 Remove spurious / after $(DESTDIR)
2514 2004-06-30 Keith Packard <keithp@keithp.com>
2518 * fontconfig/fontconfig.h:
2521 2004-06-30 Keith Packard <keithp@keithp.com>
2523 Provided by: Lubos Lunak <l.lunak@suse.cz>
2525 * src/fccfg.c: (FcConfigUptoDate):
2526 However FcConfigUptoDate() doesn't seem to work. See the attached
2527 patch. First there's an obvious misplaced parenthesis making it
2528 return always false, and second, even this call fails to detect font
2529 changes (e.g. adding a new font to
2530 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2531 well. The problem seems to be triggered by my fonts.conf specifying
2532 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2533 doesn't include subdirs, unlike config->fontDirs.
2535 2004-06-03 Keith Packard <keithp@keithp.com>
2537 * fontconfig/fontconfig.h:
2538 Remove comma at end of FcResult enum definition.
2540 2004-05-29 Keith Packard <keithp@keithp.com>
2543 Add steps to md5sum release
2545 2004-05-29 Keith Packard <keithp@keithp.com>
2549 * fontconfig/fontconfig.h:
2552 2004-05-29 Keith Packard <keithp@keithp.com>
2554 * fontconfig/fontconfig.h:
2555 * src/fcmatch.c: (FcFontSetMatch):
2556 Add FcResultOutOfMemory to provide an accurate error when
2557 FcFontSetMatch fails in this way
2560 Make #warning about lacking various FreeType features indicate
2561 which version those features appeared so users know how to
2562 fix the problem (Thanks to Anton Tropashko)
2564 2004-05-05 Keith Packard <keithp@keithp.com>
2566 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2567 Replace MIN/MAX/ABS macros which happen to have come
2568 from FreeType with fontconfig-specific ones (FC_*)
2570 2004-04-23 Keith Packard <keithp@keithp.com>
2573 Extend release preparation instructions to include
2574 notification and distribution steps
2576 2004-04-23 Keith Packard <keithp@keithp.com>
2580 * fontconfig/fontconfig.h:
2581 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2583 2004-04-23 Keith Packard <keithp@keithp.com>
2586 Ignore a few more autotool files
2588 2004-04-14 Keith Packard <keithp@keithp.com>
2591 Add instructions for doing a release
2593 * fontconfig.spec.in:
2594 clean up .spec file; perhaps this will be useful to somebody...
2598 * fontconfig/fontconfig.h:
2601 * fc-lang/fc-lang.c:
2602 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2604 * fc-glyphname/Makefile.am:
2605 * fc-lang/Makefile.am:
2606 * fc-list/Makefile.am:
2607 * fc-match/Makefile.am:
2609 Add WARN_CFLAGS to pass -W flags for GCC systems
2611 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2612 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2613 Change various char types around to match across
2615 Fixed bug in using available_sizes[i].height which
2616 is in pixels, not 64ths of a pixel.
2618 2004-03-06 Keith Packard <keithp@keithp.com>
2620 * src/fcfreetype.c: (FcFreeTypeQuery):
2621 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2622 matches looking for explicit values prefer exact matches
2624 2004-03-02 Keith Packard <keithp@keithp.com>
2626 Supplied by: mfabian@suse.de (Mike FABIAN)
2628 * src/fcfreetype.c: (FcFreeTypeQuery):
2629 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2630 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2632 2004-02-21 Manish Singh <yosh@gimp.org>
2634 * fc-glyphname/fc-glyphname.c: (main):
2635 Cast strlen to int for printf, so we're 64-bit clean.
2637 2004-02-11 Keith Packard <keithp@keithp.com>
2640 * src/fcfreetype.c: (FcGetPixelSize):
2641 Ok, so I messed up the test for y_ppem. Let's see if I
2642 got it right this time.
2644 2004-02-10 Keith Packard <keithp@keithp.com>
2647 * src/fcfreetype.c: (FcGetPixelSize):
2648 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2649 FT_Bitmap_Size record. Add a configure.in test for this
2650 and change the code accordingly (using height instead).
2652 2004-02-06 Keith Packard <keithp@keithp.com>
2655 Add Low Saxon orthography
2656 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2658 * src/fccfg.c: (FcConfigNewestFile):
2659 Oops. Left 'newest.set' unset, which would miscompute
2662 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2663 (FcFreeTypeCheckGlyph):
2664 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2665 font properties (which report the wrong value in current FreeType)
2667 Don't attempt to check for empty glyphs in non-scalable fonts; they
2670 2004-02-01 Tor Lillqvist <tml@iki.fi>
2672 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2673 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2674 cache if config->cache is NULL, which happens if FcConfigHome() is
2675 NULL. Guard against that by using the temp folder in that case.
2677 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2679 * fc-lang/az_ir.orth:
2680 * fc-lang/ku_ir.orth:
2681 * fc-lang/ps_af.orth:
2682 * fc-lang/ps_pk.orth:
2683 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2684 (Afghan and Pakistani).
2686 Updated Urdu orthography with real data.
2688 2003-12-11 Carl Worth <cworth@east.isi.edu>
2690 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2693 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2695 (all-local): Remove excessive whitespace.
2697 * autogen.sh: Add 'set -e' to abort when any program fails,
2698 (avoids printing of 'now type make' after configure aborts).
2700 2003-11-17 Eric Christopherson <rakko@charter.net>
2702 reviewed by: Keith Packard <keithp@keithp.com>
2705 * fontconfig/fcfreetype.h:
2707 Switch to FreeType 2.1.7 style includes. Bug #150.
2709 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2711 * fc-list/fc-list.sgml: Add some example usages.
2713 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2716 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2719 2003-10-27 Keith Packard <keith@keithp.com>
2722 * fontconfig/fontconfig.h:
2723 Update to version 2.2.92
2725 2003-10-27 Keith Packard <keithp@keithp.com>
2730 * fc-cache/Makefile.am:
2731 * fc-glyphname/Makefile.am:
2732 * fc-lang/Makefile.am:
2733 * fc-list/Makefile.am:
2734 * fc-match/Makefile.am:
2737 Yet more cleanups to finish getting 'make distcheck' working
2738 This has been tested to ensure that it even works from a _build
2741 2003-10-26 Keith Packard <keithp@keithp.com>
2745 * fc-cache/Makefile.am:
2746 * fc-glyphname/Makefile.am:
2747 * fc-lang/Makefile.am:
2748 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2749 * fc-list/Makefile.am:
2750 * fc-match/Makefile.am:
2751 Attempts to fix 'make distcheck' work. Things are
2752 progressing pretty well, but there are still failures
2753 long into the process dealing with docs (as always).
2755 The big changes here are mostly to make $(srcdir) != "."
2756 work correctly, fixing the docbook related sections and
2757 fc-lang were particularily tricky. Docbook refuses to load
2758 system entities from anywhere other than where the original .sgml
2759 file was located, so no luck looking in "." for the
2760 configure-generated version.sgml and confdir.sgml files.
2762 fc-lang needed help finding .orth files; added a -d option
2763 to set the directory as the least evil of many options.
2765 Now to go use a faster machine and try and wring out the last
2768 2003-10-26 Keith Packard <keithp@keithp.com>
2772 2003-10-26 Keith Packard <keithp@keithp.com>
2775 Include confdir.sgml.in in EXTRA_DIST
2777 2003-10-09 Josselin Mouette <joss@debian.org>
2779 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2780 * fc-list/fc-list.sgml fc-list/Makefile.am:
2781 Replace fc-cache and fc-list manpages with more detailed, SGML
2784 2003-09-23 Owen Taylor <otaylor@redhat.com>
2786 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2787 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2788 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2791 2003-09-23 Owen Taylor <otaylor@redhat.com>
2793 * fc-lang/ka.orth: Remove Georgian capitals, they
2794 aren't used for normal writing. (Bug #116)
2796 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2798 * doc/fontconfig-devel.sgml:
2799 * doc/fontconfig-user.sgml:
2800 * fontconfig/fontconfig.h:
2802 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2803 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2805 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2806 monospace and dual-width fonts, allow roughly a 3% variance in the
2809 2003-08-31 Manish Singh <yosh@gimp.org>
2811 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2814 2003-08-15 Carl Worth <cworth@isi.edu>
2816 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2817 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2819 * src/fcpat.c (FcValueListEntDestroy): New function to support
2820 FcFini memory cleanup. Some statistics are not kept in
2822 (FcValueListFreeze): Move hashTable outside this function so it
2823 can be accessed by FcValueListThawAll.
2824 (FcValueListThawAll): New function complements FcValueListFreeze.
2825 (FcPatternBaseFreeze): Move hashTable outside this function so it
2826 can be accessed by FcPatternBaseThawAll.
2827 (FcPatternBaseThawAll): New function complements
2828 FcPatternBaseFreeze.
2829 (FcPatternThawAll): New function complements FcPatternFreeze.
2831 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2833 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2834 allocated FcCharLeafEnt "blocks" so they can be freed later.
2835 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2836 can be accessed by FcCharSetThawAllLeaf.
2837 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2838 (FcCharSetFreezeBase): Move hashTable outside this function so it
2839 can be accessed by FcCharSetThawAll.
2840 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2842 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2843 (FcConfigDestroy): Fic leak of FcBlanks.
2845 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2846 (main): Add call to FcFini when finished.
2848 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2849 static. Add prototypes.
2851 * doc/fcinit.fncs: Add documentation for FcFini function.
2853 * doc/edit-sgml.c: Mark several local functions as static. Add
2856 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2858 2003-06-15 Tor Lillqvist <tml@iki.fi>
2860 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2861 before comparing (needed on Windows).
2863 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2865 2003-06-13 Tor Lillqvist <tml@iki.fi>
2867 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2870 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2871 WINDOWSFONTDIR token.
2873 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2874 end, not to confuse libtool, which expects the EXPORTS line to be
2875 the first. Add FcConfigEnableHome.
2877 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2878 built as a DLL on Win32.
2880 2003-06-09 Keith Packard <keithp@keithp.com>
2882 * Tag version 2.2.90
2884 2003-06-09 Keith Packard <keithp@keithp.com>
2886 * Optimization in FcLangSetIndex was broken, occasionally
2887 returning a pointer to the wrong location on miss
2889 * Add fc-match to test font matching from the command line.
2891 2003-05-31 Keith Packard <keithp@keithp.com>
2893 * (Bug 85) add support for culmus fonts
2894 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2895 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2897 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2899 * Fix "contains" op for strings and langsets.
2901 2003-05-17 Keith Packard <keithp@keithp.com>
2903 * Fix build error with BDF prop local. Free langset after query
2905 2003-05-14 Keith Packard <keithp@keithp.com>
2907 * Extract spacing from XLFD atom
2909 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2911 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2912 disappeared in 1.30.
2914 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2916 2003-05-12 Keith Packard <keithp@keithp.com>
2918 * Use FcIsWidth to share code
2920 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2921 misclassifying some Han fonts as monospaced.
2923 2003-05-07 Keith Packard <keithp@keithp.com>
2925 * Add filename-based accept/reject to ammend available fonts.
2927 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2928 older FreeType releases.
2930 2003-05-06 Keith Packard <keithp@keithp.com>
2932 * Remove 0b82 and Tamil numbers from tamil
2933 orthography (Jungshik Shin <jshin@mailaps.org>)
2935 2003-05-04 Keith Packard <keithp@keithp.com>
2937 + Map glyph names in fonts with adobe custom encoding to unicode
2939 2003-05-02 Keith Packard <keithp@keithp.com>
2941 * Add FC_WEIGHT_BOOK as weight 75
2943 2003-04-30 Keith Packard <keithp@keithp.com>
2945 * Typo in bitstream foundry name
2947 2003-04-24 Keith Packard <keithp@keithp.com>
2949 * Eliminate italic_angle check for PS fonts
2951 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2953 * Getting closer to fixing /etc/fonts hard-coding.
2955 2003-04-22 Keith Packard <keithp@keithp.com>
2957 * Update autogen.sh to work with newer automake versions
2958 * Handle pattern elements moving during multiple edits
2960 2003-04-23 James Henstridge <james@daa.com.au>
2962 * doc/fontconfig-devel.sgml: close the <para> element.
2964 * doc/fcpattern.fncs: close the <para> element.
2966 * doc/func.sgml: close the <refsynopsisdiv> element.
2968 2003-04-22 Keith Packard <keithp@keithp.com
2970 * Update autogen.sh to work with newer automake versions
2971 * Handle pattern elements moving during multiple edits
2973 2003-04-17 Colin Walters <walters@debian.org>
2975 + Remove some unused variables, and initialize some other ones so
2976 gcc doesn't warn us.
2978 2003-04-16 Keith Packard <keithp@keithp.com>
2980 + tag version 2.1.94
2982 2003-04-16 Keith Packard <keithp@keithp.com>
2984 + add BDF property fetching support for foundry
2985 (from Juliusz Chroboczek)
2986 + add BDF property fetching support for width
2988 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2990 + Implemented foundry generation for Type 1 and TrueType
2992 2003-04-11 Gerard Escalante <g2@magestudios.net>
2994 + Retrieve information from Type1 FontInfo dictionaries
2996 2003-04-07 Colin Walters <walters@verbum.org>
2998 + src/Makefile.am: Fix dummy makefile target names when
2999 MS_LIB_AVAILABLE isn't set.
3001 2003-03-22 Tor Lillqvist <tml@iki.fi>
3003 Changes for Windows:
3005 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3007 + We don't want to hardcode the fonts.conf file location in the
3008 DLL, so we look up the DLL location at run-time in a DllMain()
3009 function. The fonts.conf location is deduced from that.
3011 + The colon can't be used as path separator on Windows,
3012 semicolon is used instead. File path components can be separated
3013 with either slash or backslash. Absolute paths can also begin
3014 with a drive letter.
3016 + Add internal function FcStrLastSlash that strrchr's the last
3017 slash, or backslash on Windows.
3019 + There is no link() on Windows. For atomicity checks, mkdir a
3020 lock directory instead.
3022 + In addition to HOME, also look for USERPROFILE.
3024 + Recognize the special font directory token WINDOWSFONTDIR, to
3025 use the system's font directory.
3027 + Remove the fontconfig-def.cpp that was obsolete. Add
3028 fontconfig.def(.in), without internal functions.
3030 + Add a fontconfig-zip(.in) script, used to build a binary
3033 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3034 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3035 to main package and man3/* to devel package
3037 + Added missing defattr(-, root, root) to main RPM package
3039 + Added HTML and text development documentation to -devel subpackage
3041 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3042 + Added back the configure macro options --disable-docs, otherwise
3043 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3044 version number) unconditionally, causing RPM to fail the build due
3045 to _unpackaged_files_terminate_build. We pick up the pregenerated
3046 docs with %doc already.
3048 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3049 + Removed commented out rpm macro define at top of spec file,
3050 replacing it with a simple explanation, since rpm macros are
3051 expanded by rpm even in comments.
3053 + Changed /usr/bin to _bindir in BuildRequires lines
3055 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3057 + Reorganized file manifest lists
3059 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3061 + fontconfig.spec.in: Improvements from Red Hat spec file.
3063 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3065 + docs/*.sgml: SGML fixes.
3067 Sat Mar 1 17:28:53 PST 2003 keithp
3068 + Ok, so the ChangeLog is a bit out of date
3070 + Lots of bugs fixed; most are in bugzilla, the
3071 biggest problems were in cache management where
3072 Owen discovered the library would lose badly when
3073 combining fonts-cache and ~/.fonts-cache data
3075 + Converted from autoconf to automake. This after
3076 getting patches accepted into libtool to allow
3077 the '-version-number' argument which lets
3078 packages set version numbers explicitly rather
3079 than the roundabout libtool way
3081 + Converted documentation to SGML using the docbook
3082 DTD. Now .txt and .html documents are installed
3083 in /usr/share/doc/fontconfig and there's no
3084 man page. Perhaps a man version can be written
3087 Sat Aug 31 15:21:22 PDT 2002 keithp
3088 + Xrender and Xft had several bugs related to
3089 rendering manually placed or poly-face text
3091 + Added more complete memory tracing in fontconfig
3092 Checked with (patched) mozilla and found no leaks
3094 + Updated Latin orthographies by comparing those from
3095 evertype.com with those from eki.ee. Tried to make
3096 sensible choices, including chars that occured in both
3097 and leaving some optional chars out that occured only
3100 Mon Aug 26 16:33:04 PDT 2002 keithp
3101 + Owen discovered that FcLangSetHasLang wasn't actually
3102 checking the language set.
3104 Mon Aug 26 13:37:23 PDT 2002 keithp
3105 + Append a version number to cache filenames
3107 Thu Aug 22 11:36:18 PDT 2002 keithp
3109 + Add "contains" and "not_contains" operators and elements to
3112 + Changed semantics of eq operator for LangSets to check for
3113 FcLangEqual so that any match will do
3115 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3116 of FcValueEqual to check for identical values when inserting into
3117 the results. This broke when the above semantic change was made,
3118 now it uses FcValueEqual which is "more correct" in any case.
3120 Thu Aug 22 00:32:29 PDT 2002 keithp
3122 + Reimplement FC_LANG as new datatype. Lists of strings
3123 was consuming over a megabyte of memory for 401 fonts.
3125 + Freeze patterns loaded from cache files. This shares
3126 common value lists and common patterns which saves
3127 considerable memory.
3129 + Change the denotation of 'constant' charsets to use special
3130 ref value instead of separate boolean.
3132 + Clean up leak tracing stuff, found several unannoted alloc/free
3135 Tue Aug 20 16:17:37 PDT 2002 keithp
3137 + Fix memory leak when parsing matrices from XML
3139 Mon Aug 19 11:57:27 PDT 2002 keithp
3141 + Fix autoconf files to pass FONTCONFIG_PATH on
3142 compile line so that ${prefix} gets substituted
3145 + Use getc_unlocked/putc_unlocked on systems that
3146 provide them to avoid damage done to stdio by posix
3148 + Eliminate FC_PATTERN and FcTypePattern in favor of
3149 an extended api for FcConfigSubstitute which takes
3150 both the font and the pattern.
3152 + Add 'sans serif' alias for 'sans-serif' as some apps
3153 can't handle hyphens in family names
3155 + Eliminate pretense of support for libxml2
3157 + Comment origins of Han orthographies
3159 Tue Jul 30 18:37:09 PDT 2002 keithp
3161 + Add binding property to edit element so that strong
3162 binding values may be inserted by the config file.
3163 The default remains weak.
3165 Sun 28 Jul 04:16:55 PDT 2002 keithp
3167 + Tagged release candidate 1 in the CVS tree and
3168 placed fcpackage.rc1.tar.gz for distribution
3170 Thu Aug 1 08:55:08 PDT 2002 keithp
3172 + Fixed autoconf builds to always specify install
3173 target files (for BSD). Also fixed to
3174 define FONTCONFIG_PATH in config.h so that
3175 nonstandard installs will actually work.