1 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
2 Patrick Lam <plam@mit.edu>
6 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
7 FcDirCacheConsume, FcDirCacheProduce,
8 FcDirCacheWrite, FcCacheMachineSignature):
9 * src/fcfreetype.c (FcFreeTypeQuery):
10 * src/fontconfig.def.in:
12 Make fontconfig compile under MinGW:
13 1) remove unneeded #includes;
14 2) make use of mmap and sysconf conditional;
15 3) replace rand_r by srand/rand if needed;
16 4) use chsize instead of ftruncate; and
17 5) update libtool exports file
19 2006-04-07 Patrick Lam <plam@mit.edu>
20 * src/fcdir.c (FcDirScanConfig):
24 2006-04-06 Patrick Lam <plam@mit.edu>
25 * fc-match/.cvsignore:
26 * fc-match/Makefile.am:
27 * fc-match/fc-match.sgml:
29 Update documentation for fc-match (SGML-ize it).
30 (reported by Ilya Konstantinov)
32 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
38 Reduce amount of dirty rss by const'ing some data structures.
40 2006-04-06 Patrick Lam <plam@mit.edu>
41 * fc-cache/Makefile.am:
43 Don't fail if we can't create or remove
44 $(pkgcachedir) i.e. /var/cache/fontconfig.
45 (reported by Quanah Gibson-Mount).
47 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
50 * fc-glyphname/fc-glyphname.c:
51 * fc-lang/fc-lang.c (main):
52 * fc-match/fc-match.c:
53 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
55 * src/fcfreetype.c (FcFreeTypeQuery):
56 * src/fclang.c (FcFreeTypeLangSet):
59 Fix intel compiler warnings: make many variables static,
60 eliminate duplicate names, reduce variable scopes, unsigned/signed
63 2006-03-24 Mike Fabian <mfabian@suse.de>
65 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
67 Fix multiarch support (don't destroy multiarch files!)
69 2006-03-24 Patrick Lam <plam@mit.edu>
72 Require pkg-config. (Thanks Behdad;
73 better solution wanted for libxml2 detection!)
75 2006-03-22 Patrick Lam <plam@mit.edu>
78 On Windows, unlink before rename. Reported by Tim Evans.
80 2006-03-15 Patrick Lam <plam@mit.edu>
84 Fix typos in orth files. Reported by Denis Jacquerye.
86 2006-03-08 Patrick Lam <plam@mit.edu>
88 * config/config.guess:
91 Fix Makefile.am for removal of debian/ directory.
93 2006-03-08 Patrick Lam <plam@mit.edu>
96 Ignore debian/ directory for CVS.
98 2006-03-08 Patrick Lam <plam@mit.edu>
101 Now remove debian/ directory.
103 2006-03-08 Patrick Lam <plam@mit.edu>
106 Remove debian/ directory from sources. See Debian's subversion
107 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
110 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
114 * fc-lang/iso639-1, fc-lang/iso639-2:
116 Add orthography for Lingala.
118 2006-03-08 Carl Worth <cworth@cworth.org>
121 * conf.d/Makefile.am:
122 * conf.d/10LohitGujarati.conf:
124 Add a configuration file that disables hinting for the Lohit
125 Gujarati font (since the hinting distort some glyphs quite badly).
127 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
130 * src/fcdir.c (FcDirScanConfig):
132 Sort directory entries while scanning them from disk;
133 prevents Heisenbugs due to file ordering in a directory.
135 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
138 * src/fcfreetype.c (GetScriptTags):
139 * src/ftglue.c, src/ftglue.h:
141 Remove stuff we don't use, make get_{char,short,long} functions
142 of ftglue macros to be inlined.
145 * src/fcname.c (FcObjectSerialize):
147 Code cleanups (excess prototype, old-style function definition).
149 2006-03-05 Patrick Lam <plam@mit.edu>
150 * src/fcpat.c (FcPatternGetString):
152 Because we hacked FcPatternGet, we don't really need to expand the
153 filename again in FcPatternGetString.
155 2006-03-05 Patrick Lam <plam@mit.edu>
156 * src/fcpat.c (FcPatternGetString, FcPatternGet):
158 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
159 Make that work. Reported by Bernhard Rosenkraenzer.
161 2006-03-03 Patrick Lam <plam@mit.edu>
164 Include inttypes.h instead of stdint.h if appropriate.
166 2006-03-03 Patrick Lam <plam@mit.edu>
167 * fc-cat/fc-cat.c (FcFileIsDir):
168 * fc-glyphname/fc-flyphname.c:
170 More stub definitions and remove FcFileIsDir from fc-cat.
172 2006-03-03 Patrick Lam <plam@mit.edu>
175 Fix compilation on AIX with stub definitions (bug 6097).
177 2006-03-03 Patrick Lam <plam@mit.edu>
178 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
179 * src/fcfreetype.c (GetScriptTags):
180 * src/fcfs.c (FcFontSetDistributeBytes):
181 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
183 Get rid of C++-style comments.
185 2006-03-03 Patrick Lam <plam@mit.edu>
188 Enable creation of 2.3.94 Debian packages.
190 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
193 * src/fclang.c (FcCharSetForLang):
195 Fix suspicious return expression which causes junk
198 2006-02-24 Patrick Lam <plam@mit.edu>
202 * fontconfig/fontconfig.h:
204 Bump version to 2.3.94.
206 2006-02-24 Patrick Lam <plam@mit.edu>
211 2006-02-24 Patrick Lam <plam@mit.edu>
212 * conf.d/10-fonts-persian.conf:
214 Remove unconditional emboldening (per Behdad's instructions).
218 Add @s to hide some echos.
220 2006-02-24 Mike Fabian <mfabian@suse.de>
221 Takashi Iwai <tiwai@suse.de>
224 * src/fcfreetype.c (GetScriptTags):
226 Fix double-free on error case.
228 2006-02-21 Patrick Lam <plam@mit.edu>
229 * fc-lang/fc-lang.c (scan):
231 Strip \r and whitespace from input; fixes bug 3454.
233 2006-02-21 Patrick Lam <plam@mit.edu>
234 * fc-lang/fc-lang.c (main):
236 Allocate large arrays statically in fc-lang to fix crashes under
239 2006-02-21 Diego Petten <flameeyes@gentoo.org>
240 * src/fcfreetype.c (FcFreeTypeCharIndex):
242 Pass the buck; make fontconfig not crash on pango badness.
244 2006-02-21 Patrick Lam <plam@mit.edu>
245 * conf.d/10-fonts-persian.conf:
247 Use embeddedbitmap rather than rh_prefer_bitmap.
249 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
252 * src/fccache.c (FcDirCacheWrite):
253 * src/fcdir.c (FcFileScanConfig):
254 * src/fcfreetype.c (FcStringInPatternElement):
255 * src/fcxml.c (FcParseFamilies):
256 * src/ftglue.c (ftglue_face_goto_table):
258 Eliminate redundancies.
260 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
263 * fc-list/fc-list.c (main):
264 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
265 * src/fcstr.c (FcStrStr):
266 * src/fcxml.c (FcConfigSaveAttr):
268 Eliminate unused vars reported by Intel's compiler.
270 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
275 Remove one more archaic character.
277 2006-02-21 Ross Burton <ross@burtonini.com>
278 reviewed by: plam, keithp
280 * src/fcxml.c (FcParsePatelt):
282 Freeze patterns created by configuration file for tiny
283 memory savings (every little bit helps).
285 2006-02-21 Mike Fabian <mfabian@suse.de>
288 * fc-cat/fc-cat.c (main):
290 Initialize fontconfig library in fc-cat to avoid segfault.
292 2006-02-18 Patrick Lam <plam@mit.edu>
293 * fc-cache/fc-cache.c (scanDirs):
294 * src/fccache.c (FcCacheReadDirs):
295 * src/fcdir.c (FcDirScanConfig):
297 Fix the underlying cause of the below segfault (must usually
298 call FcDirCacheHasCurrentArch after FcDirCacheValid).
300 2006-02-18 Patrick Lam <plam@mit.edu>
301 * src/fccache.c (FcDirCacheHasCurrentArch):
303 Fix triggering of segfault caused by misreading cache files
304 (reported by fcrozat).
306 2006-02-17 Patrick Lam <plam@mit.edu>
307 * src/fcint.h (FC_CACHE_MAGIC):
309 Bump up magic version; we changed the binary format.
311 2006-02-17 Patrick Lam <plam@mit.edu>
312 * fc-cat/fc-cat.c (main):
314 Enable fc-cat to print out old-style cache info when given a
317 2006-02-16 Patrick Lam <plam@mit.edu>
318 * src/fccache.c (FcDirCacheHasCurrentArch):
320 Deal correctly with changing FC_CACHE_MAGIC.
322 2006-02-16 Patrick Lam <plam@mit.edu>
323 * fc-cache/fc-cache.c (usage, scanDirs, main):
325 Add -r --really-force option which blows away cache files and then
328 2006-02-16 Patrick Lam <plam@mit.edu>
329 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
331 Don't bail if fontconfig can't remove a dir cache file.
332 Skip the ID of a cache file when copying.
333 Eliminate 'source file too small' bug in FcDirCacheWrite.
335 2006-02-13 Patrick Lam <plam@mit.edu>
336 * src/fcfreetype.c (FcFreeTypeQuery):
338 Fix memory leak in error condition code.
340 2006-02-13 Mike Fabian <mfabian@suse.de>
342 * src/fcfreetype.c (FcFreeTypeQuery):
344 Skip bitmap fonts which can't even get it together enough to
345 declare a family name; this appears to reproduce previous
346 fontconfig behaviour.
348 2006-02-10 Takashi Iwai <tiwai@suse.de>
350 * src/fccache.c (FcDirCacheOpen):
352 Try to open /var/cache/fontconfig/[hashed name] before
353 fonts.cache-2 in a directory, because /var/cache/fontconfig
354 failures ought to be fixable, unlike fonts.cache-2 failures,
355 which may leave you screwed.
357 2006-02-10 Takashi Iwai <tiwai@suse.de>
359 * src/fcmatch.c (FcFontSetMatch):
361 Use a tri-state to mark the fonts which didn't get blocked but
362 were just missing an element, to distinguish them from the
363 fonts that do match the element.
365 2006-02-10 Takashi Iwai <tiwai@suse.de>
367 * src/fcmatch.c (FcFontSetMatch):
369 Don't kill fonts because they don't declare an element that's
372 2006-02-09 Patrick Lam <plam@mit.edu>
373 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
374 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
376 Define and pass O_BINARY to open if appropriate, for those
377 platforms that need it. Reported by Doodle.
379 2006-02-09 Patrick Lam <plam@mit.edu>
380 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
383 Fix problem with missing 'en' due to euro.patch: change
384 cache file format slightly to coincide with that generated
387 2006-02-07 Patrick Lam <plam@mit.edu>
388 * src/fccache.c (FcCacheReadDirs):
392 2006-02-07 Patrick Lam <plam@mit.edu>
393 * src/fcdir.c (FcDirScanConfig):
395 Don't reject dirs that can't be normalized (fixes lilypond, and
396 is correct in the context of application font directories.)
398 2006-02-07 Takashi Iwai <tiwai@suse.de>
401 * src/fccache.c (FcCacheReadDirs):
403 Use normalized directory name exclusively in FcCacheReadDirs.
405 2006-02-07 Dirk Mueller <dmueller@suse.com>
408 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
410 Perf optimizations. Inline FcValueCanonicalize,
411 reduce FcValueListPtrU usage, remove redundant cast.
413 2006-02-07 Takashi Iwai <tiwai@suse.de>
416 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
419 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
420 Declare extern for static arrays as arrays, not pointers.
421 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
423 2006-02-07 Dirk Mueller <dmueller@suse.com>
436 Add Euro sign to list of symbols required by European languages.
438 2006-02-07 Patrick Lam <plam@mit.edu>
439 * src/fccache.c (FcCacheReadString):
441 Fix hidden variable warning.
443 2006-02-07 Dirk Mueller <dmueller@suse.com>
446 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
448 Remove de-escaping logic because FcCacheWriteString
449 doesn't escape anyway. Do blockwise reading instead
450 of byte-wise for performance.
452 2006-02-06 Patrick Lam <plam@mit.edu>
453 Takashi Iwai <tiwai@suse.de>
455 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
457 Don't loop infinitely on recursive symlinks (client-side).
459 2006-02-06 Takashi Iwai <tiwai@suse.de>
461 * fc-cache/fc-cache.c (scanDirs, main):
463 Don't loop infinitely on recursive symlinks.
465 2006-02-06 Takashi Iwai <tiwai@suse.de>
467 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
468 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
469 FcGlobalCacheSave, FcCacheReadDirs):
472 Skip subdirs when skipping over stale bits of global cache.
473 Introduce state machine into FcGlobalCacheDir to avoid
474 doing inappropriate operations on global dir entries, e.g.
475 writing out an out-of-date cache entry.
477 2006-02-06 Takashi Iwai <tiwai@suse.de>
479 * src/fcdir.c (FcFileScanConfig):
481 Hoist FcFileIsDir check out of FcFileScanConfig loop.
483 2006-02-06 Takashi Iwai <tiwai@suse.de>
486 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
487 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
489 Don't rescan when trying to normalize a non-declared font dir.
490 Don't add font dirs multiple times (even if they're aliased).
492 2006-02-06 Dirk Mueller <dmueller@suse.de>
495 * src/fcfs.c (FcFontSetUnserialize):
497 Explain apples/oranges comparison and fix compilation error.
499 2006-02-06 Dirk Mueller <dmueller@suse.de>
502 * src/fcfs.c (FcFontSetUnserialize):
504 Insert check for integer overflow in # of fonts.
506 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
510 * fc-cache/Makefile.am:
511 * fc-cat/Makefile.am:
512 * fc-list/Makefile.am:
514 Make 'make distcheck' work with automake 1.6.3.
516 2006-02-03 Takashi IWAI <tiwai@suse.de>
519 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
522 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
523 FcDirCacheConsume, FcDirCacheWrite)
524 * src/fcxml.c (FcConfigMessage):
526 Check I/O call return values and eliminate unused variable
529 2006-02-03 Takashi Iwai <tiwai@suse.de>
532 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
536 2006-02-03 Dirk Mueller <dmueller@suse.de>
539 * src/fcfs.c (FcFontSetUnserialize):
541 Gracefully handle the case where a cache asserts that it
542 has a negative number of fonts, causing overflow.
544 2006-02-03 Patrick Lam <plam@mit.edu>
545 * src/fccache.c (FcDirCacheUnlink):
547 Fix double free in error case.
549 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
550 Stephan Kulow <coolo@suse.de>
553 * fc-cache/Makefile.am:
555 Replace 'stamp' target with mkinstalldirs.
557 2006-01-31 Mike Fabian <mfabian@suse.de>
560 * src/fccache.c (FcGlobalCacheLoad):
562 Toast broken global cache files.
564 2006-01-30 Patrick Lam <plam@mit.edu>
565 * src/fccache.c (FcGlobalCacheReadDir):
567 Actually use the directories that I added to the global cache.
570 2006-01-30 Mike Fabian <mfabian@suse.de>
573 * fc-cache/fc-cache.c (scanDirs):
575 Don't stop scanning if a directory in fonts.conf doesn't
576 exist, because subsequent directories might exist.
578 2006-01-30 Patrick Lam <plam@mit.edu>
579 * src/fccache.c (FcGlobalCacheLoad):
581 Make global cache work again after putting dir names into global
582 cache (I misplaced the recording of a file offset).
584 2006-01-30 Patrick Lam <plam@mit.edu>
585 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
587 Update fc-cat to handle subdir lists in global cache file.
589 * src/fccache.c (FcGlobalCacheLoad):
591 Another FcCacheReadString return value check.
593 2006-01-30 Mike Fabian <mfabian@suse.de>
596 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
597 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
599 Make fccache more resilient to broken cache files by checking
600 return value of FcCacheReadString all the time.
602 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
605 * fc-match/fc-match.1:
606 * fc-lang/fc-lang.man:
608 Remove references to dead fontconfig(3) manpages in
609 other fontconfig manpages.
611 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
614 * doc/fcpattern.fncs:
616 Fix world's tiniest typo in code example.
618 2006-01-29 Mike Fabian <mfabian@suse.de>
621 * src/fccache.c (FcGlobalCacheReadDir):
623 Fix global cache reads of subdirectories.
625 2006-01-29 Patrick Lam <plam@mit.edu>
627 Add documentation for FcConfigNormalizeFontDir.
629 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
630 FcGlobalCacheUpdate, FcGlobalCacheSave):
631 * src/fcdir.c (FcDirScanConfig):
634 Write directory information to global caches to fix make check
635 (reported by Ronny V. Vindenes). This changes the global cache
638 2006-01-27 Patrick Lam <plam@mit.edu>
639 * fc-cache/fc-cache.c (scanDirs):
640 * fontconfig/fontconfig.h:
642 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
644 Move FcConfigNormalizeFontDir call so that it doesn't result in
645 infinite recursion (reported by Ronny V. Vindenes).
647 2006-01-26 Patrick Lam <plam@mit.edu>
648 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
649 * src/fccfg.c (FcConfigNormalizeFontDir):
651 Add a couple of missing normalizations to make fc-cache work
652 right; only scan subdirectories once.
654 2006-01-26 Mike Fabian <mfabian@suse.de>
657 * src/fcacache.c (FcGlobalCacheReadDir):
659 Don't crash on non-existant directories in global cache.
661 2006-01-26 Patrick Lam <plam@mit.edu>
662 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
663 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
664 * src/fcdir.c (FcDirScanConfig):
665 * src/fcxml.c (FcEndElement):
667 Stop trampling the directory name when writing out caches.
668 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
669 subdirs when necessary. Don't scan directories that can't be
672 2006-01-25 Patrick Lam <plam@mit.edu>
673 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
674 * src/fccfg.c (FcConfigEvaluate):
675 * src/fcfreetype.c (FcPatternAddWithBinding):
677 Fix additional memory leaks reported by Ronny V. Vindenes: don't
678 invoke FcValueSave on hashed static strings in
679 FcPatternAddWithBinding.
681 Add another st_dev check in FcDirCacheOpen.
683 2006-01-24 James Su <james.su@gmail.com>
686 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
687 * fc-lang/zh_hk.orth:
689 Treat zh-hk fonts differently from zh-tw fonts. This patch may
690 cause fontconfig to treat A-X fonts differently from A-Y fonts;
691 please mail the fontconfig list if this causes any problems.
693 2006-01-24 Patrick Lam <plam@mit.edu>
694 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
695 * src/fcfreetype.c (FcFreeTypeQuery):
697 Fix memory leaks reported by Ronny V. Vindenes.
699 2006-01-19 Andreas Schwab <schwab@suse.de>
702 * src/fcpat.c (FcStrNeededBytes):
704 Fix for unaligned memory accesses.
706 2006-01-18 Mike Fabian <mfabian@suse.de>
709 * src/fcdir.c (FcDirScanConfig):
711 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
712 calls to avoid crashes.
714 2006-01-14 Patrick Lam <plam@mit.edu>
715 * src/fccache.c (FcDirCacheConsume):
717 Fix segfault when consuming zero-length caches in fc-cat
718 (which has no config, so FcConfigAddFontDir shouldn't be called.)
720 2006-01-14 Patrick Lam <plam@mit.edu>
721 * fc-cache/fc-cache.c (scanDirs):
722 * fontconfig/fontconfig.h:
723 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
724 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
725 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
726 * src/fcdir.c (FcDirScanConfig):
729 Compare device numbers as well as inodes.
730 Always normalize directory names before comparing them.
732 2006-01-11 Mike Fabian <mfabian@suse.de>
735 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
737 Allocate extra space for appended '/' in directory name.
739 2006-01-10 Patrick Lam <plam@mit.edu>
740 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
741 FcDirCacheValid, FcDirCacheHasCurrentArch,
742 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
743 * fc-cache/fc-cache.c (main):
745 Explicitly add font dirs to config.fontDirs even if they're empty.
746 Set current config in fc-cache.c.
747 Fix treatment of cache directory as read from cache file; don't
748 use string equality to determine if we have the right file,
751 2006-01-09 Patrick Lam <plam@mit.edu>
752 * fc-cache/fc-cache.c (scanDirs):
753 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
754 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
755 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
756 * src/fccfg.c (FcConfigNormalizeFontDir):
757 * src/fcdir.c (FcDirScanConfig):
760 Normalize font dirs by using the form, as given in fonts.conf, and
761 recorded in FcConfig's fontDirs string set, as canonical.
763 Actually update config.fontDirs as font directories are scanned.
765 2006-01-08 James Su <james.su@gmail.com>
766 * src/fcmatch.c (FcFontSetMatch):
768 Fix matching bug when multiple elements match; don't use
769 the sum of all scores, but the best score.
771 Also more perf opts, e.g. evaluate best over all font sets
772 rather than on a per-set basis (and other changes).
774 2006-01-08 Patrick Lam <plam@mit.edu>
775 * src/fccache.c (FcDirCacheConsume):
777 Properly skip past dir caches that contain zero fonts (as occurs
778 in global caches.) Reported by Mike Fabian.
780 2006-01-06 Patrick Lam <plam@mit.edu>
781 * src/fcdbg.c (FcPatternPrint):
783 Print out full pathname in fc-match -v as well. Reported by
786 2006-01-06 Mike Fabian <mfabian@suse.de>
789 * src/fcname.c (FcNameParse):
791 Fix bug where fc-match crashes when given __DUMMY__ property to
794 (I added the __DUMMY__ string to enable callers of
795 FcObjectToPtrLookup to distinguish an error return from a
796 successful return. -PL)
798 2006-01-05 Patrick Lam <plam@mit.edu>
801 Add self to AUTHORS list.
803 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
804 FcCacheFileRead, FcCachePrintSet, main):
805 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
806 FcGlobalCacheSave, FcCacheNextOffset,
807 FcDirCacheHasCurrentArch, FcDirCacheRead,
808 FcDirCacheConsume, FcDirCacheWrite):
810 * src/fcpat.c (comment):
812 Minor change to global cache file format to fix fc-cat bug
813 reported by Frederic Crozat, and buglet with not globally caching
814 directories with zero fonts cached.
816 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
819 * src/fccfg.c (FcConfigEvaluate):
821 Fix double-free which occurs because FcValueCanonicalize doesn't
822 create an extra copy of the returned value, it only canonicalizes
825 2006-01-02 Patrick Lam <plam@mit.edu>
826 * doc/fontconfig-user.sgml:
828 Fix version of .cache file (currently 1 -> currently 2). Reported
831 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
834 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
836 Shut up GCC warnings on amd.
838 2005-12-20 Patrick Lam <plam@mit.edu>
842 * fontconfig/fontconfig.h:
844 Bump version to 2.3.93.
846 2005-12-20 Patrick Lam <plam@mit.edu>
847 * src/fccharset.c (FcLangCharSetPopulate):
848 * src/fcint.h (FcCacheBankToIndex):
850 Avoid check on _fcBankId nullness and fix case where it used to
853 2005-12-20 Patrick Lam <plam@mit.edu>
854 * src/fcxml.c (FcConfigParseAndLoad):
856 Use open instead of fopen (requested by Phil Race for Sun).
858 2005-12-20 Patrick Lam <plam@mit.edu>
859 * src/fccache.c (FcDirCacheWrite);
860 * fc-cache/Makefile.am:
862 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
865 2005-12-20 Patrick Lam <plam@mit.edu>
866 * src/fcfreetype.c (FcFreeTypeQuery):
868 Restore code to skip over PCF fonts that have no encoded
870 (We guess that a font is PCF by presence of the PIXEL_SIZE
873 2005-12-12 Patrick Lam <plam@mit.edu>
874 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
876 Read and write the original location as a fallback for the
877 hashed cache file locations. This is mostly for users to be
878 able to have per-directory cache files.
880 2005-12-12 Patrick Lam <plam@mit.edu>
881 * fc-cache/fc-cache.c (scanDirs):
882 * fc-cache/Makefile.am:
883 * src/fccache.c (FcDirCacheHashName):
885 Improve error message when fc-cache can't write the cache. Add
886 missing slash. Reported by Behdad. Incorporate Behdad's patch to
887 create /var/cache/fontconfig when appropriate.
889 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
892 * src/fcxml.c (FcConfigGetAttribute):
894 Fix crash reported by Frederic Crozat when using libxml2.
896 2005-12-09 Patrick Lam <plam@mit.edu>
899 * fc-cache/Makefile.am:
900 * fc-cat/Makefile.am:
902 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
903 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
904 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
905 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
906 FcDirCacheHasCurrentArch, FcDirCacheHashName,
907 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
909 Migrate cache files from fonts directories to
910 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
911 but requires that all caches get rebuilt.
913 Also, autogen.sh now needs the additional parameter
914 --localstatedir=/var.
916 2005-12-07 Patrick Lam <plam@mit.edu>
917 * src/fcpat.c (FcPatternAddString):
919 Because we've changed FcPatternAddString to use FcStrStaticName
920 and not FcValueSave, explicitly handle the case of a null string.
922 2005-12-06 Patrick Lam <plam@mit.edu>
923 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
927 2005-12-05 Patrick Lam <plam@mit.edu>
928 * src/fcname.c (FcNameGetObjectType):
930 Don't assign types to user object names.
932 2005-12-05 Patrick Lam <plam@mit.edu>
933 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
935 Don't free strings that have been returned from FcStrStaticName.
937 2005-12-01 Patrick Lam <plam@mit.edu>
938 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
940 Add codepath for reading global cache files as well.
942 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
945 * conf.d/10-fonts.persian.conf:
946 * conf.d/Makefile.am:
948 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
950 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
953 * src/fcxml.c (FcConfigParseAndLoad):
955 Only add a config file to the set of config files once.
957 2005-11-29 Patrick Lam <plam@mit.edu>
958 * src/fcint.h (FcCacheBankToIndex);
960 Fix segfault by guarding array dereference.
962 2005-11-29 Dirk Mueller <dmueller@suse.de>
966 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
967 FcCacheBankToIndex, FcCacheBankToIndexMTF,
971 Refactor FcCacheBankToIndex into an inlineable part
972 (in fcint.h) which checks the front of the list and a
973 non-inlineable part which finds and moves the appropriate element
974 to the front of the list.
976 2005-11-29 Patrick Lam <plam@mit.edu>
977 * src/fccfg.c (FcConfigBuildFonts):
978 * src/fccache.c (FcCacheReadDirs):
980 Make the perf guys hate me a bit less: hoist the directory-name
981 FcConfigAcceptFont check for cached fonts up to directory cache
982 read time, rather than running it for each font.
984 2005-11-29 Patrick Lam <plam@mit.edu>
985 * src/fccfg.c (FcConfigBuildFonts):
987 * src/fcpat.c (FcPatternFindFullFname):
989 Don't make FcPatternFindFullFname available to fccfg, it's not
990 really safe. Instead go through FcPatternGetString (sorry,
991 perf guys.) Also, use globs for dirs as well.
993 2005-11-28 Patrick Lam <plam@mit.edu>
994 * src/fccfg.c (FcConfigBuildFonts):
998 2005-11-28 Patrick Lam <plam@mit.edu>
1000 * src/fcpat.c (FcPatternFindFullFname):
1001 * src/fccfg.c (FcConfigBuildFonts):
1003 Fix problem dating back at least to 2.3.2 where globs weren't
1004 being applied to patterns loaded from a cache.
1006 2005-11-28 Patrick Lam <plam@mit.edu>
1007 * doc/fontconfig-user.sgml:
1009 Fix some obvious spelling mistakes.
1011 2005-11-28 Dirk Mueller <dmueller@suse.com>
1012 Stephan Kulow <coolo@suse.de>
1015 * src/fcmatch.c (FcFontSetMatch):
1017 Don't kill all fonts during match (oops!)
1020 2005-11-25 Dirk Mueller <dmueller@suse.com>
1021 Stephan Kulow <coolo@suse.de>
1022 Michael Matz <matz@suse.de>
1025 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1028 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1029 inline FcCompare into FcFontSetMatch and reorder the
1030 loops, adding a boolean array which blocks patterns from future
1031 consideration if they're known to not be best on some past
1034 2005-11-26 Dirk Mueller <dmueller@suse.com>
1037 * src/fcmatch.c (FcCompareValueList):
1039 Fix incorrect merge.
1041 2005-11-25 Patrick Lam <plam@mit.edu>
1042 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1044 Don't do random matching when bad objects are passed into
1047 2005-11-25 Patrick Lam <plam@mit.edu>
1049 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1050 FcPatternSerialize, FcPatternUnserialize,
1051 FcValueListEnsureBank, FcValueListDistributeBytes,
1052 FcValueListUnserialize):
1054 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1055 _fcPatternElts, _fcValueLists for consistency.
1057 2005-11-25 Dirk Mueller <dmueller@suse.com>
1062 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1064 2005-11-25 Patrick Lam <plam@mit.edu>
1066 * src/fccache.c (FcDirCacheConsume):
1067 * src/fccharset.c (FcCharSetUnserialize):
1068 * src/fcfs.c (FcFontSetUnserialize):
1069 * src/fclang.c (FcLangSetUnserialize):
1070 * src/fcname.c (FcObjectUnserialize):
1071 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1072 FcPatternUnserialize):
1074 Pass around FcCache *s to the Unserialize functions for extra
1075 consistency (and less overhead, for what that's worth).
1077 2005-11-24 Dirk Mueller <dmueller@suse.com>
1081 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1082 * src/fcname.c (FcNameUnparseValue):
1084 Inline the *PtrU functions to gain perf.
1085 Remove unneeded params for the FcCompare* functions.
1087 2005-11-24 Dirk Mueller <dmueller@suse.com>
1090 * src/fcint.h, fontconfig/fontconfig.h:
1092 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1094 * src/fcpat.c, src/fcint.h, src/fcname.c:
1096 Check for type validity during FcPatternAddWithBinding, don't
1097 verify type in FcFontMatch, don't call FcCanonicalize here
1098 (which always does a deep copy).
1100 2005-11-24 Dirk Mueller <dmueller@suse.com>
1103 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1104 * src/fcpat.c (FcPatternAddWithBinding):
1106 Make FcCompareString and FcCompareFamily less expensive.
1107 Only add a value for FC_FAMILY if the proposed value is a string.
1109 2005-11-24 Dirk Mueller <dmueller@suse.com>
1112 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1113 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1114 * src/fcint.h (FcDebug):
1116 Inline FcDebug invocations and only initialize once, in FcInit*.
1117 Improve debug msg in FcPatternPrint.
1119 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1122 * fontconfig/fontconfig.h:
1125 Minor code warning cleanups.
1127 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1130 * fc-match/fc-match.c (main):
1132 Make getopt_long accept -s parameter to fc-match as well.
1134 2005-11-21 Dirk Mueller <dmueller@suse.com>
1137 * src/fcmatch.c (FcCompareValueList):
1139 Manually perform inlining & partial redundancy elimination to
1140 reduce calls to FcValueListPtrU.
1142 2005-11-21 Dirk Mueller <dmueller@suse.com>
1145 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1146 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1148 Only invoke strlen() when really necessary.
1150 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1154 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1155 FcFontCapabilities):
1159 Get rid of the use of freetype internal headers in fcfreetype.c,
1160 since those headers will go away with freetype 2.2. Replace with
1161 public domain ftglue code from pango. Note that the patch removes
1162 some extra error checking in FT_Get_BDF_Property() and comments
1163 out the skipping of empty pcf fonts.
1165 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1168 * fc-lang/fc-lang.c (main):
1170 Further fix of patch from 2005-11-04: miscounted numbers count
1171 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1172 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1174 Removed leafidx_count and numbers_count since they are the same
1175 and replaced them with offset_count.
1177 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1180 * fc-cat/fc-cat.c (main):
1182 Don't crash when fc-cat invoked with no arguments.
1184 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1187 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1189 Fix invalid read access caused by premature free and
1190 GCC4 warnings in libxml2 codepath.
1192 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1195 * src/fccfg.c (FcConfigValues):
1197 List iteration not needed in FcConfigValues, since it's building
1198 up the list itself; we can just strip FcVoid elements during
1201 2005-11-17 Patrick Lam <plam@mit.edu>
1202 * src/fccfg.c (FcConfigValues):
1204 Fix crash on invalid constants in config files (forgot to update
1205 a pointer upon list iteration.)
1207 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1210 * src/fcxml.c (FcTypecheckExpr):
1212 Complain about invalid constants in config files.
1214 2005-11-17 Andreas Schwab <schwab@suse.de>
1217 * src/fccache.c (FcGlobalCacheSave):
1219 Don't add current_arch_start more than once.
1221 2005-11-16 Patrick Lam <plam@mit.edu>
1222 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1223 * src/fcfs.c (FcFontSetUnserialize):
1224 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1225 * src/fcpat.c (FcStrUnserialize):
1227 Fix ordering of ALIGN with respect to saving block_ptr; add
1228 another ALIGN to fcfs.c.
1230 2005-11-16 Patrick Lam <plam@mit.edu>
1231 * src/fccache.c (FcDirCacheProduce)
1233 Fix case where alignment bytes bumped up metadata->count
1234 causing unwarranted failures to write cache files.
1235 (Reported by Stephan Kulow).
1237 2005-11-16 Patrick Lam <plam@mit.edu>
1238 * src/fccache.c (FcDirCacheProduce):
1239 * src/fccharset.c (FcCharSetDistributeBytes):
1240 * src/fcfs.c (FcFontSetDistributeBytes):
1242 * src/fclang.c (FcLangSetDistributeBytes):
1243 * src/fcname.c (FcObjectDistributeBytes):
1244 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1247 Add *NeededBytesAlign(), which overestimates the padding which is
1248 later added by the new ALIGN macro. Fix alignment problems on
1249 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1250 version by Andreas Schwab).
1252 2005-11-16 Stephan Kulow <coolo@kde.org>
1257 Use sysconf to determine proper PAGESIZE value; this
1258 appears to be POSIX-compliant. (reported by Andreas Schwab)
1260 2005-11-04 Patrick Lam <plam@mit.edu>
1261 * fc-lang/fc-lang.c:
1266 Fix bug 2878 (excessive relocations at startup for charsets,
1267 reported by Ross Burton): fc-lang/fc-lang now creates the
1268 static form of the langset, not the dynamic form, so that
1269 the charsets should now be in .rodata.
1271 2005-11-04 Patrick Lam <plam@mit.edu>
1272 * src/fcdir.c (FcDirScanConfig):
1274 Add test for validity of directory caches that
1275 somehow got lost (reported by make distcheck).
1277 2005-11-04 Patrick Lam <plam@mit.edu>
1281 * fontconfig/fontconfig.h:
1283 Bump version to 2.3.92.
1285 2005-11-02 Patrick Lam <plam@mit.edu>
1286 * src/fcpat.c (FcPatternDuplicate):
1288 Fix argument ordering problem in call to FcPatternTransferFullFname.
1290 2005-11-02 Patrick Lam <plam@mit.edu>
1291 * src/fcfreetype.c (FcFreetypeQuery):
1292 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1293 FcPatternTransferFullFname):
1295 Fix warnings and embarrassing double-free error.
1297 2005-11-02 Zhe Su <zsu@novell.com>
1302 Change the rule for artificial emboldening in fonts.conf.in. This
1303 enables the support for artificial emboldening included in cairo.
1305 2005-11-02 Patrick Lam <plam@mit.edu>
1306 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1308 Don't zero out full names for FC_REF_CONSTANT fonts;
1309 also, duplicate full names when transferring, and free
1310 full names when freeing the associated font.
1311 Reported by Jinghua Luo.
1313 2005-11-02 Patrick Lam <plam@mit.edu>
1314 * fc-cache/fc-cache.c (scanDirs):
1315 * src/fcpat.c (FcValueListSerialize):
1317 Revert the previous patch and commit the correct patch:
1318 I forgot a canonicalization in FcValueListSerialize, so
1319 that it would choke on already-serialized input files. Duh!
1321 2005-11-02 Patrick Lam <plam@mit.edu>
1322 * fc-cache/fc-cache.c (scanDirs):
1324 Forcibly rescan a directory before writing a fresh local
1325 cache file for that directory, fixing the losing-fonts
1326 problem reported by Mike Fabian and also apparently the
1327 font cache file corruption.
1329 2005-11-02 Patrick Lam <plam@mit.edu>
1330 * src/fccache.c (FcGlobalCacheLoad):
1332 Fix thinko: actually, the whole global cache is stale
1333 if the global cache is older than the (newest) config file.
1335 2005-11-02 Patrick Lam <plam@mit.edu>
1336 * src/fccache.c (FcGlobalCacheLoad):
1337 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1340 Declare the global cache of a directory's contents to be stale if
1341 the directory is newer than the (newest) configuration file.
1343 2005-10-31 Patrick Lam <plam@mit.edu>
1345 * src/fclist.c (FcListAppend):
1346 * src/fcmatch.c (FcFontRenderPrepare):
1347 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1348 FcPatternFreeze, FcPatternBaseFreeze):
1350 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1351 applications continue breaking.
1353 2005-10-31 Patrick Lam <plam@mit.edu>
1354 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1355 * src/fcfreetype.c (FcFreeTypeQuery):
1357 Fix small memory error (tried to free argv); use basename and
1358 dirname correctly (they can modify their arguments).
1360 2005-10-31 Patrick Lam <plam@mit.edu>
1368 Reinstate basename patch, but keep a hash table linking FcPatterns
1369 to their fully-qualified font names for clients' benefit. Clients
1370 only pay for the font names once they request the FC_FILE property
1371 from an FcPattern, but the font name is malloc'd at that point (i.e.
1372 not mmapped: that's impossible, since it may vary between machines.)
1373 Clients do have to pay for a copy of the path name per cache file.
1375 Note that FcPatternGetString now does some rewriting if you ask
1376 for an FC_FILE, appending the pathname as appropriate.
1378 2005-10-31 Patrick Lam <plam@mit.edu>
1379 * src/fcfreetype.c (FcFreeTypeQuery):
1381 Revert basename patch, which breaks fontconfig clients on my system.
1383 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1386 * fontconfig/fonts.conf.in:
1387 * fontconfig/fontconfig.h:
1391 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1392 to load embedded bitmaps or not.
1394 2005-10-25 Patrick Lam <plam@mit.edu>
1395 * src/fcfreetype.c (FcFreeTypeQuery):
1397 Only add basename to patterns' FC_FILE element, not any part of
1400 2005-10-22 Patrick Lam <plam@mit.edu>
1403 Add some more consts, fixing more GCC4 warnings.
1405 2005-10-22 Zhe Su <zsu@novell.com>
1408 Support localized font family and style names.
1409 This has been reported to break old apps like xfd, but modern
1410 (gtk+/qt/mozilla) apps work fine.
1412 2005-10-21 Patrick Lam <plam@mit.edu>
1413 * src/fccache.c (FcGlobalCacheLoad):
1415 Destroy the global cache file if it's terminally broken. (reported by
1418 2005-10-21 Patrick Lam <plam@mit.edu>
1419 * fc-list/fc-list.c (main):
1420 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1421 * fontconfig/fontconfig.h:
1423 Prevent fc-list from escaping strings when printing them (reported by
1426 2005-10-20 Marcus Meissner <meissner@suse.de>
1429 * fontconfig/fontconfig.h:
1431 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1433 2005-10-14 Ross Burton <ross@burtonini.com>
1436 * fc-glyphname/fc-glyphname.c:
1439 Add consts to variables so as to move arrays into .rodata.
1441 2005-10-14 Mike Fabian <mfabian@suse.de>
1444 * src/fccache.c (FcDirCacheUnlink):
1446 Check existence of directory cache file before attempting to unlink.
1448 2005-10-13 Patrick Lam <plam@mit.edu>
1449 * src/fccache.c (FcDirCacheUnlink):
1451 Fix flipped return value on unlink. (Reported by Mike Fabian)
1453 2005-10-12 Patrick Lam <plam@mit.edu>
1456 * src/fcdir.c (FcDirScanConfig):
1459 When fc-cache is run without --force, use directory cache files
1460 to speed up fc-cache run time. (Reported by Mike Fabian)
1462 2005-10-06 Patrick Lam <plam@mit.edu>
1464 * src/fcname.c (FcObjectToPtr):
1465 * src/fcpat.c (FcStrStaticName):
1467 Add padding to make valgrind and glibc not hate each other
1468 when calling strlen().
1470 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1471 reviewed by: plam & keithp
1475 Modify config file to use Greek fonts before Asian fonts with
1478 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1479 reviewed by: plam & keithp
1483 Use libtool -no-undefined flag on all platforms.
1485 2005-10-05 Patrick Lam <plam@mit.edu>
1486 * src/fccache.c (FcCacheHaveBank):
1488 Implement move-to-front array for banks (perf regression
1489 reported by Ronny V. Vindenes).
1491 2005-10-04 Patrick Lam <plam@mit.edu>
1492 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1493 FcDirCacheHasCurrentArch):
1494 * fc-cache/fc-cache.c (scanDirs):
1495 * fontconfig/fontconfig.h:
1497 Add new API which unlinks directory caches and checks dir caches
1498 for existence of appropriate sections. Fix fc-cache to unlink
1499 stale cache files and save directory caches that lack relevant
1502 2005-10-03 Patrick Lam <plam@mit.edu>
1503 * src/fccache.c (FcDirCacheValid):
1505 Ensure that a directory cache has the appropriate section
1506 before reporting that it is valid (reported by Matthias Clasen).
1508 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1516 Use libxml2 if requested (with --enable-libxml2) or if
1517 expat is not available.
1519 2005-09-29 Patrick Lam <plam@mit.edu>
1520 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1522 Fix multi-arch cache files: compute the position for the
1523 block to be added using info from OrigFile, not NewFile.
1525 2005-09-28 Patrick Lam <plam@mit.edu>
1526 * src/fccache.c (FcCacheMachineSignature):
1528 Cast results of sizeof() to unsigned int to get rid of
1529 warnings on x86_64 (thanks Matthias Clasen).
1531 2005-09-27 Patrick Lam <plam@mit.edu>
1532 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1535 Use FcAtomic to rewrite cache files.
1537 2005-09-27 Patrick Lam <plam@mit.edu>
1539 * src/fccache.c (FcDirCacheWrite):
1541 Don't unlink the fonts.cache-2 file even if there's no data
1542 to write; just write an empty cache file. (thanks Lubos Lunak)
1544 2005-09-27 Patrick Lam <plam@mit.edu>
1546 * src/fccache.c (FcDirCacheWrite):
1548 Allocate room for the subdirectory names in each
1549 directory cache. Thanks to James Cloos for finding
1550 and diagnosing this bug!
1552 2005-09-22 Patrick Lam <plam@mit.edu>
1554 * fc-cache/fc-cache.sgml:
1555 * src/fccache.c (FcDirCacheWrite):
1556 * src/fccache.h (struct FcCache):
1558 Update documentation -- fc-cache's man page now says that you
1559 need to run fc-cache once per cached architecture; add some
1560 documentation to the FcCache structure.
1562 Make fc-cache write out fonts.cache-2 files for directories with
1563 no fonts (i.e. only subdirectories).
1565 2005-09-22 Patrick Lam <plam@mit.edu>
1567 * fc-cache/fc-cache.sgml:
1568 * fc-case/fc-case.c:
1569 * fc-glyphname/fc-glyphname.c:
1575 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1579 * fc-lang/fc-lang.c:
1580 * fontconfig/fcprivate.h:
1581 * fontconfig/fontconfig.h:
1595 Implement new mmaped cache for font information.
1596 Bump so revision to 2.3.90.
1598 2005-07-25 Keith Packard <keithp@keithp.com>
1600 * doc/fontconfig-user.sgml:
1601 * fc-glyphname/fc-glyphname.c: (scan), (main):
1602 * fc-lang/fc-lang.c: (FcConfigHome):
1603 * fc-match/fc-match.c: (main):
1604 * src/fccfg.c: (FcConfigHome):
1605 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1606 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1607 (addtag), (FcFontCapabilities):
1608 * src/fcpat.c: (FcValueListEntCreate):
1609 * src/fcstr.c: (FcStrCaseWalkerInit):
1610 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1612 Various GCC 4 cleanups for signed vs unsigned char
1614 Match only [0-9]*.conf files in <include>{directory}</include>
1615 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1617 2005-07-15 Carl Worth <cworth@cworth.org>
1620 * src/fcinit.c: (FcFini):
1621 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1624 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1625 Pull the FcObjectStateName hash table out to file scope, and add
1626 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1629 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1632 2005-06-16 Patrick Lam <plam@MIT.EDU>
1636 * src/fccfg.c: (FcConfigCompareValue):
1637 Make FcOpNotContains use FcStrStr for strings so that
1638 it matches semantics for !FcOpContains.
1640 2005-05-20 Keith Packard <keithp@keithp.com>
1644 Move fontconfig source package to libs as per override
1646 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1648 reviewed by: Mike Fabian
1651 The ka.orth file requires several characters which are not
1652 used anymore in modern Georgian and which are missing in the free
1653 Georgian TrueType fonts downloadable at:
1655 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1657 2005-04-27 Keith Packard <keithp@keithp.com>
1661 Update date to real 2.3.2 release date.
1662 Fix change attributions
1664 2005-04-27 Keith Packard <keithp@keithp.com>
1667 Bump so revision for 2.3.2
1668 * fc-cache/fc-cache.c: (scanDirs):
1669 Fix a few minor leaks in error cases.
1671 2005-04-23 Keith Packard <keithp@keithp.com>
1676 * fontconfig/fontconfig.h:
1677 Update for version 2.3.2
1679 2005-04-21 Keith Packard <keithp@keithp.com>
1681 * debian/fontconfig.postinst:
1682 Don't force bitmap font enable in default
1683 configuration; allows users to override this in
1693 * debian/po/pt_BR.po:
1694 * debian/po/templates.pot:
1696 * debian/po/zh_CN.po:
1697 Updated translations
1699 * fc-cache/fc-cache.c: (main):
1700 Destroy font configuration on exit to help valgrind
1703 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1704 (FcFreeTypeCheckGlyph):
1705 Use own transcoding routines in preference to iconv
1706 which appears to have leaks in some translators.
1707 Call iconv_close after using iconv (oops).
1709 Prefer unicode encoding of Euro char as some
1710 fonts mis-encode Euro in other ones.
1712 Must fetch bitmap glyphs to get width values
1713 to check for monospace/dual-width fonts.
1715 2005-04-13 Ross Burton <ross@burtonini.com>
1718 Check that a pattern isn't already frozen in FcPatternFreeze.
1720 2005-03-31 Ross Burton <ross@burtonini.com>
1725 Run all FcPattern objects through FcObjectStaticName, so that
1726 compares can be done on pointers instead of strings (#2659)
1728 2005-03-17 Tor Lillqvist <tml@novell.com>
1730 * src/fontconfig.def.in: Add the .dll to the dll name.
1732 2005-03-10 Keith Packard <keithp@keithp.com>
1734 * debian/README.Debian:
1735 Update to reflect configuration changes
1737 * debian/fontconfig.postinst:
1738 Fix Autohint vs Autohinter mistake
1739 * debian/fontconfig.templates:
1740 Adopt changes from Josselin Mouette for configuration descriptions
1741 Update debian to version 2.3.1-2
1743 2005-03-08 Keith Packard <keithp@keithp.com>
1747 Update debian for 2.3.1
1749 2005-03-09 Tor Lillqvist <tml@novell.com>
1751 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1754 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1757 2005-03-08 Keith Packard <keithp@keithp.com>
1761 * fontconfig/fontconfig.h:
1764 2005-03-05 Keith Packard <keithp@keithp.com>
1766 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1767 Include space and remove numbers from valid script tags.
1768 This ensures that tags like 'lao ' work while rejecting
1769 those which have any digits.
1770 Eliminate a spurious debugging variable (len)
1772 2005-03-05 Keith Packard <keithp@keithp.com>
1774 * src/fcfreetype.c: (addtag), (GetScriptTags),
1775 (FcFontCapabilities):
1776 Rework GSUB/GPOS script parsing to survive broken fonts.
1777 Thanks for the broken font go to Manish Singh
1779 2005-03-05 Keith Packard <keithp@keithp.com>
1784 * debian/fontconfig.config:
1785 * debian/fontconfig.templates:
1787 Include 2.3 release information in changelog
1788 Add Josselin Mouette as an Uploader
1789 Set hinting_type to low priority configuration option
1792 * debian/fontconfig.postinst:
1793 yes_bitmaps.conf -> yes-bitmaps.conf
1799 2005-03-02 Keith Packard <keithp@keithp.com>
1802 * conf.d/Makefile.am:
1803 * conf.d/autohint.conf:
1804 * conf.d/no-sub-pixel.conf:
1805 * conf.d/sub-pixel.conf:
1806 * conf.d/unhinted.conf:
1807 * debian/autohint.conf:
1808 * debian/fontconfig.install:
1809 * debian/fontconfig.postinst:
1810 * debian/fontconfig.templates:
1811 * debian/no-sub-pixel.conf:
1812 * debian/unhinted.conf:
1813 Move debian-specific conf file examples upstream.
1815 Sub-pixel configuration examples must smash subpixel value
1816 as Xft always sets it from X.
1818 Change sub-pixel rendering debconf descriptions from
1819 Enable/Disable to Always/Never.
1821 2005-03-02 Keith Packard <keithp@keithp.com>
1824 * conf.d/.cvsignore:
1826 Ignore more build detritus
1829 Add debian package construction stuff.
1831 * config/config.guess:
1832 * config/config.sub:
1833 Update to newer versions of these tools
1836 Get library manuals to build again (we love automake).
1838 * debian/README.Debian:
1839 * debian/autohint.conf:
1844 * debian/fontconfig-udeb.install:
1845 * debian/fontconfig.config:
1846 * debian/fontconfig.defoma:
1847 * debian/fontconfig.dirs:
1848 * debian/fontconfig.install:
1849 * debian/fontconfig.postinst:
1850 * debian/fontconfig.postrm:
1851 * debian/fontconfig.templates:
1852 * debian/libfontconfig1-dev.install:
1853 * debian/libfontconfig1.install:
1854 * debian/local.conf.md5sum:
1855 * debian/no-sub-pixel.conf:
1856 * debian/po/POTFILES.in:
1865 * debian/po/pt_BR.po:
1866 * debian/po/templates.pot:
1868 * debian/po/zh_CN.po:
1870 * debian/unhinted.conf:
1871 Update debian build system to switch maintainers and
1872 deal with 2.3 functionality
1874 2005-03-01 Keith Packard <keithp@keithp.com>
1878 * fontconfig/fontconfig.h:
1881 2005-03-01 Keith Packard <keithp@keithp.com>
1884 Generate and install PDF versions of the manuals
1886 * doc/fcpattern.fncs:
1889 * doc/fcstring.fncs:
1890 Add missing exported functions, fix data types
1892 * doc/fontconfig-devel.sgml:
1893 Add missing pattern elements.
1895 * doc/fontconfig-user.sgml:
1896 Add missing pattern elements. Document conf.d usage,
1897 clarify available orthography list. Fix some config file
1898 attributes. Complete list of constants.
1900 * fontconfig/fontconfig.h:
1901 Mark FC_SOURCE deprecated.
1903 * src/fcfreetype.c: (FcFreeTypeQuery):
1904 Don't set FC_SOURCE any longer.
1906 2005-02-28 Keith Packard <keithp@keithp.com>
1909 * conf.d/Makefile.am:
1911 * conf.d/no-bitmaps.conf:
1912 * conf.d/sub-pixel.conf:
1913 * conf.d/yes-bitmaps.conf:
1915 Create prototype /etc/fonts/conf.d directory with a few
1916 sample configuration files.
1917 Deprecate use of local.conf for local customizations in favor of
1918 this directory based scheme which is more easily integrated into
1919 installation systems.
1922 Tag FC_EMBOLDEN as a boolean variable
1924 2005-02-10 Keith Packard <keithp@keithp.com>
1926 reviewed by: pborelli@katamail.com
1928 * src/fcdir.c: (FcFileScanConfig):
1929 Free patterns from fonts which are rejected by configuration
1932 2005-01-28 Keith Packard <keithp@keithp.com>
1936 * fontconfig/fontconfig.h:
1937 Update for version 2.2.99
1939 2005-01-28 Keith Packard <keithp@keithp.com>
1942 Add a few pointers (#2284, #2285)
1944 2005-01-28 Keith Packard <keithp@keithp.com>
1947 * src/fcname.c: (FcNameBool):
1948 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1949 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1950 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1951 Polite typechecking for test and edit expressions. Helps
1952 catch errors in the font configuration. (bug 229)
1954 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1956 reviewed by: Keith Packard <keithp@keithp.com>
1959 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1961 2005-01-13 Keith Packard <keithp@keithp.com>
1963 * doc/fontconfig-user.sgml:
1964 Add SEE ALSO section (bug 2085)
1966 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1968 reviewed by: Keith Packard <keithp@keithp.com>
1973 * fc-case/Makefile.am:
1974 * fc-glyphname/Makefile.am:
1975 * fc-lang/Makefile.am:
1976 * src/fontconfig.def.in:
1977 Cross compiling fixes (bug 280)
1979 2005-01-13 Keith Packard <keithp@keithp.com>
1982 Update blanks list (Closes bug 86)
1984 2005-01-04 Keith Packard <keithp@keithp.com>
1986 * src/fccache.c: (FcCacheFontSetAdd):
1987 Verify that every font pattern loaded from cache has
1988 both FC_FILE and FC_FAMILY entries.
1989 Attempt to fix bug #2219.
1991 2004-12-29 Keith Packard <keithp@keithp.com>
1995 * fontconfig/fontconfig.h:
1996 Update for version 2.2.98
1998 2004-12-29 Keith Packard <keithp@keithp.com>
2000 * fontconfig/fontconfig.h:
2001 Document ASCII limitations of Fc character conversion macros
2002 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2003 Fix off-by-one error in utf-8 case walking code.
2004 Add FcStrDowncase (useful for testing case conversion functions)
2006 2004-12-29 Keith Packard <keithp@keithp.com>
2009 * fc-case/.cvsignore:
2010 clean up CVS ignore lists
2011 * fc-lang/iso-3166.txt:
2012 Add territory database
2014 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2016 Reviewed by: Keith Packard
2019 Remove Han characters from Korean orthography
2021 2004-12-29 Keith Packard <keithp@keithp.com>
2024 Reorder utility programs to make sure fc-case is run before fc-lang
2025 as fc-lang uses fcstr.c which uses fccase.h
2029 2004-12-29 Keith Packard <keithp@keithp.com>
2032 Adopt some RedHat suggestions for standard font configuration.
2036 * fc-case/CaseFolding.txt:
2037 * fc-case/Makefile.am:
2038 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2039 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2040 (dump), (parseRaw), (caseFoldReadRaw), (main):
2041 * fc-case/fccase.tmpl.h:
2042 Add new helper program 'fc-case' to construct case folding
2043 tables from standard Unicode CaseFolding.txt file
2046 * src/fclist.c: (FcListValueHash):
2047 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2048 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2049 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2050 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2051 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2052 Re-implement case insensitive functions with Unicode
2053 aware versions (including full case folding mappings)
2055 2004-12-13 Keith Packard <keithp@keithp.com>
2057 reviewed by: Owen Taylor <otaylor@redhat.com>
2059 * src/fcmatch.c: (FcFontSetSort):
2060 I changed FcFontSetSort to respect the generic aliases better
2061 in the face of language matching.
2063 What I did was to ammend the strict sort order used by FcFontSort so
2064 that it 'satisfies' the language specified in the pattern by locating
2065 the best matching font supporting each pattern language and then
2066 ignores language in the remaining fonts for purposes of matching.
2068 So, when asking for 'sans:lang=en', you'll get an English font first,
2069 and then the remaining fonts sorted with respect to the 'sans' alias
2070 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2072 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2074 reviewed by: Keith Packard <keithp@keithp.com>
2076 * fontconfig/fontconfig.h:
2079 Configuration changes to request synthetic emboldening of
2080 fonts. The actual emboldening code will live in Xft.
2082 2004-12-09 John Thacker <thacker@math.cornell.edu>
2084 reviewed by: Keith Packard <keithp@keithp.com>
2088 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2089 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2090 и), and don't even appear in KOI8-R. (The hypothesis that they
2091 don't appear in KOI8-R due to their similarity with Latin I and i is
2092 eliminated by their presence in KOI8-U.) I have a couple of fonts
2093 with Russian support that don't have the letter.
2095 Therefore, 0406 and 0456 should be removed from or commented out of
2098 2004-12-06 michael meeks <mmeeks@novell.com>
2100 Reviewed by: Keith Packard <keithp@keithp.com>
2102 * src/fcinit.c: (FcMemReport):
2104 * src/fclist.c: (FcObjectSetAdd):
2105 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2106 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2107 * src/fcxml.c: (FcParsePatelt):
2108 memoize strings and share a single copy for all uses. Note that
2109 this could be improved further by using statically allocated blocks
2110 and gluing multiple strings together, but I'm basically lazy.
2111 In my environment with 800 font files, I get a savings of about 90KB.
2113 2004-12-06 Keith Packard <keithp@keithp.com>
2117 * config/Makedefs.in:
2120 * doc/fcatomic.fncs:
2121 * doc/fcblanks.fncs:
2122 * doc/fccharset.fncs:
2123 * doc/fcconfig.fncs:
2124 * doc/fcconstant.fncs:
2126 * doc/fcfontset.fncs:
2127 * doc/fcfreetype.fncs:
2129 * doc/fcmatrix.fncs:
2130 * doc/fcobjectset.fncs:
2131 * doc/fcobjecttype.fncs:
2132 * doc/fcpattern.fncs:
2133 * doc/fcstring.fncs:
2134 * doc/fcstrset.fncs:
2136 * doc/fontconfig-devel.sgml:
2137 * doc/fontconfig-user.sgml:
2139 * doc/version.sgml.in:
2140 * fc-cache/Makefile.am:
2141 * fc-cache/fc-cache.c:
2142 * fc-glyphname/Makefile.am:
2143 * fc-glyphname/fc-glyphname.c:
2144 * fc-glyphname/fcglyphname.tmpl.h:
2145 * fc-lang/Makefile.am:
2155 * fc-lang/az_ir.orth:
2189 * fc-lang/fc-lang.c:
2190 * fc-lang/fc-lang.man:
2191 * fc-lang/fclang.tmpl.h:
2236 * fc-lang/ku_ir.orth:
2269 * fc-lang/ps_af.orth:
2270 * fc-lang/ps_pk.orth:
2299 * fc-lang/ti_er.orth:
2300 * fc-lang/ti_et.orth:
2326 * fc-lang/zh_cn.orth:
2327 * fc-lang/zh_hk.orth:
2328 * fc-lang/zh_mo.orth:
2329 * fc-lang/zh_sg.orth:
2330 * fc-lang/zh_tw.orth:
2332 * fc-list/Makefile.am:
2333 * fc-list/fc-list.c:
2334 * fc-match/Makefile.am:
2335 * fc-match/fc-match.1:
2336 * fc-match/fc-match.c:
2337 * fontconfig/fcfreetype.h:
2338 * fontconfig/fcprivate.h:
2339 * fontconfig/fontconfig.h:
2360 Change files from ISO-Latin-1 to UTF-8
2362 2004-12-04 Keith Packard <keithp@keithp.com>
2365 Update links to new freedesktop.org locations
2367 Add uninstall-local to get rid of fonts.conf and local.conf if they
2368 match the distributed versions. Fixes 'make distcheck'
2370 2004-12-04 Keith Packard <keithp@keithp.com>
2374 * fontconfig/fontconfig.h:
2375 Updates for version 2.2.97
2377 2004-12-04 Owen Taylor <otaylor@redhat.com>
2379 reviewed by: Keith Packard <keithp@keithp.com>
2381 * fc-cache/fc-cache.c: (main):
2382 Sleep for two seconds before exiting to make sure timestamps
2383 for future changes have distinct mod times in the file system.
2386 Add Punjabi orthography. Bug #1671.
2388 2004-12-04 Keith Packard <keithp@keithp.com>
2391 Just remove the FC_FONTDATE -- it has locale issues and
2392 annoys redhat multi-arch installs. Now that all X fonts are
2393 included without prejudice, the chances of the date being at
2394 all interesting are rather limited. Bug #505.
2396 Add copyright and license
2398 2004-12-04 Keith Packard <keithp@keithp.com>
2401 Change default set of fonts to include all of
2402 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2403 * doc/fontconfig-user.sgml:
2404 Document new <include>directory-name</include> semantics
2406 add <include ignore_missing="yes">conf.d</include>
2408 Add selectfont to ignore bitmap fonts, add comment for
2409 selectfont which accepts bitmap fonts.
2412 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2413 Allow <include> configuration elements to reference directories.
2414 Parse and load all files of the form [0-9]* in sorted order.
2416 2004-12-04 Keith Packard <keithp@keithp.com>
2419 Report command line for $srcdir/configure accurately.
2422 2004-12-04 Keith Packard <keithp@keithp.com>
2424 * src/fcfreetype.c: (FcFreeTypeQuery):
2425 Check for non-empty face->family_name and face->style_name
2426 before using those for the font. Empty names match everything.
2429 2004-12-04 Keith Packard <keithp@keithp.com>
2432 * fontconfig/fontconfig.h:
2433 * src/fcfreetype.c: (FcFreeTypeQuery):
2435 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2436 available. This provides font file format information (BDF, Type 1,
2437 PCF, TrueType) for each font. Closes #109.
2439 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2441 reviewed by: Keith Packard <keithp@keithp.com>
2443 * doc/fontconfig-user.sgml:
2446 * fontconfig/fontconfig.h:
2447 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2448 (GetScriptTags), (FcFontCapabilities):
2450 Add detection for font capabilities (bug #105)
2452 2004-12-04 Keith Packard <keithp@keithp.com>
2455 Move existing fonts.conf to fonts.conf.bak
2458 Add detection of iconv
2460 * doc/fcpattern.fncs:
2461 * doc/fontconfig-devel.sgml:
2462 * doc/fontconfig-user.sgml:
2464 Document new selectfont elements
2467 Switch to UTF-8 in comment
2469 * fontconfig/fontconfig.h:
2471 Add fullname, and family/style/fullname language entries
2473 * src/fccache.c: (FcCacheFontSetAdd):
2474 * src/fcdir.c: (FcFileScanConfig):
2475 Respect selectfont/*/glob
2478 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2479 (FcConfigCompareValue), (FcConfigPatternsAdd),
2480 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2481 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2482 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2483 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2484 Add support for selectfont
2486 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2487 (FcStringInPatternElement), (FcFreeTypeQuery):
2488 Add multi-lingual family/style/fullname support
2490 * src/fclist.c: (FcListPatternMatchAny):
2491 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2493 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2494 (FcObjectStaticName):
2495 Add new FcPatternRemove/FcPatternAppend.
2496 FcObjectStaticName stores computed pattern element names which
2497 are required to be static.
2499 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2504 Remove spurious / after $(DESTDIR)
2506 2004-06-30 Keith Packard <keithp@keithp.com>
2510 * fontconfig/fontconfig.h:
2513 2004-06-30 Keith Packard <keithp@keithp.com>
2515 Provided by: Lubos Lunak <l.lunak@suse.cz>
2517 * src/fccfg.c: (FcConfigUptoDate):
2518 However FcConfigUptoDate() doesn't seem to work. See the attached
2519 patch. First there's an obvious misplaced parenthesis making it
2520 return always false, and second, even this call fails to detect font
2521 changes (e.g. adding a new font to
2522 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2523 well. The problem seems to be triggered by my fonts.conf specifying
2524 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2525 doesn't include subdirs, unlike config->fontDirs.
2527 2004-06-03 Keith Packard <keithp@keithp.com>
2529 * fontconfig/fontconfig.h:
2530 Remove comma at end of FcResult enum definition.
2532 2004-05-29 Keith Packard <keithp@keithp.com>
2535 Add steps to md5sum release
2537 2004-05-29 Keith Packard <keithp@keithp.com>
2541 * fontconfig/fontconfig.h:
2544 2004-05-29 Keith Packard <keithp@keithp.com>
2546 * fontconfig/fontconfig.h:
2547 * src/fcmatch.c: (FcFontSetMatch):
2548 Add FcResultOutOfMemory to provide an accurate error when
2549 FcFontSetMatch fails in this way
2552 Make #warning about lacking various FreeType features indicate
2553 which version those features appeared so users know how to
2554 fix the problem (Thanks to Anton Tropashko)
2556 2004-05-05 Keith Packard <keithp@keithp.com>
2558 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2559 Replace MIN/MAX/ABS macros which happen to have come
2560 from FreeType with fontconfig-specific ones (FC_*)
2562 2004-04-23 Keith Packard <keithp@keithp.com>
2565 Extend release preparation instructions to include
2566 notification and distribution steps
2568 2004-04-23 Keith Packard <keithp@keithp.com>
2572 * fontconfig/fontconfig.h:
2573 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2575 2004-04-23 Keith Packard <keithp@keithp.com>
2578 Ignore a few more autotool files
2580 2004-04-14 Keith Packard <keithp@keithp.com>
2583 Add instructions for doing a release
2585 * fontconfig.spec.in:
2586 clean up .spec file; perhaps this will be useful to somebody...
2590 * fontconfig/fontconfig.h:
2593 * fc-lang/fc-lang.c:
2594 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2596 * fc-glyphname/Makefile.am:
2597 * fc-lang/Makefile.am:
2598 * fc-list/Makefile.am:
2599 * fc-match/Makefile.am:
2601 Add WARN_CFLAGS to pass -W flags for GCC systems
2603 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2604 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2605 Change various char types around to match across
2607 Fixed bug in using available_sizes[i].height which
2608 is in pixels, not 64ths of a pixel.
2610 2004-03-06 Keith Packard <keithp@keithp.com>
2612 * src/fcfreetype.c: (FcFreeTypeQuery):
2613 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2614 matches looking for explicit values prefer exact matches
2616 2004-03-02 Keith Packard <keithp@keithp.com>
2618 Supplied by: mfabian@suse.de (Mike FABIAN)
2620 * src/fcfreetype.c: (FcFreeTypeQuery):
2621 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2622 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2624 2004-02-21 Manish Singh <yosh@gimp.org>
2626 * fc-glyphname/fc-glyphname.c: (main):
2627 Cast strlen to int for printf, so we're 64-bit clean.
2629 2004-02-11 Keith Packard <keithp@keithp.com>
2632 * src/fcfreetype.c: (FcGetPixelSize):
2633 Ok, so I messed up the test for y_ppem. Let's see if I
2634 got it right this time.
2636 2004-02-10 Keith Packard <keithp@keithp.com>
2639 * src/fcfreetype.c: (FcGetPixelSize):
2640 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2641 FT_Bitmap_Size record. Add a configure.in test for this
2642 and change the code accordingly (using height instead).
2644 2004-02-06 Keith Packard <keithp@keithp.com>
2647 Add Low Saxon orthography
2648 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2650 * src/fccfg.c: (FcConfigNewestFile):
2651 Oops. Left 'newest.set' unset, which would miscompute
2654 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2655 (FcFreeTypeCheckGlyph):
2656 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2657 font properties (which report the wrong value in current FreeType)
2659 Don't attempt to check for empty glyphs in non-scalable fonts; they
2662 2004-02-01 Tor Lillqvist <tml@iki.fi>
2664 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2665 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2666 cache if config->cache is NULL, which happens if FcConfigHome() is
2667 NULL. Guard against that by using the temp folder in that case.
2669 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2671 * fc-lang/az_ir.orth:
2672 * fc-lang/ku_ir.orth:
2673 * fc-lang/ps_af.orth:
2674 * fc-lang/ps_pk.orth:
2675 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2676 (Afghan and Pakistani).
2678 Updated Urdu orthography with real data.
2680 2003-12-11 Carl Worth <cworth@east.isi.edu>
2682 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2685 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2687 (all-local): Remove excessive whitespace.
2689 * autogen.sh: Add 'set -e' to abort when any program fails,
2690 (avoids printing of 'now type make' after configure aborts).
2692 2003-11-17 Eric Christopherson <rakko@charter.net>
2694 reviewed by: Keith Packard <keithp@keithp.com>
2697 * fontconfig/fcfreetype.h:
2699 Switch to FreeType 2.1.7 style includes. Bug #150.
2701 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2703 * fc-list/fc-list.sgml: Add some example usages.
2705 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2708 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2711 2003-10-27 Keith Packard <keith@keithp.com>
2714 * fontconfig/fontconfig.h:
2715 Update to version 2.2.92
2717 2003-10-27 Keith Packard <keithp@keithp.com>
2722 * fc-cache/Makefile.am:
2723 * fc-glyphname/Makefile.am:
2724 * fc-lang/Makefile.am:
2725 * fc-list/Makefile.am:
2726 * fc-match/Makefile.am:
2729 Yet more cleanups to finish getting 'make distcheck' working
2730 This has been tested to ensure that it even works from a _build
2733 2003-10-26 Keith Packard <keithp@keithp.com>
2737 * fc-cache/Makefile.am:
2738 * fc-glyphname/Makefile.am:
2739 * fc-lang/Makefile.am:
2740 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2741 * fc-list/Makefile.am:
2742 * fc-match/Makefile.am:
2743 Attempts to fix 'make distcheck' work. Things are
2744 progressing pretty well, but there are still failures
2745 long into the process dealing with docs (as always).
2747 The big changes here are mostly to make $(srcdir) != "."
2748 work correctly, fixing the docbook related sections and
2749 fc-lang were particularily tricky. Docbook refuses to load
2750 system entities from anywhere other than where the original .sgml
2751 file was located, so no luck looking in "." for the
2752 configure-generated version.sgml and confdir.sgml files.
2754 fc-lang needed help finding .orth files; added a -d option
2755 to set the directory as the least evil of many options.
2757 Now to go use a faster machine and try and wring out the last
2760 2003-10-26 Keith Packard <keithp@keithp.com>
2764 2003-10-26 Keith Packard <keithp@keithp.com>
2767 Include confdir.sgml.in in EXTRA_DIST
2769 2003-10-09 Josselin Mouette <joss@debian.org>
2771 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2772 * fc-list/fc-list.sgml fc-list/Makefile.am:
2773 Replace fc-cache and fc-list manpages with more detailed, SGML
2776 2003-09-23 Owen Taylor <otaylor@redhat.com>
2778 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2779 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2780 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2783 2003-09-23 Owen Taylor <otaylor@redhat.com>
2785 * fc-lang/ka.orth: Remove Georgian capitals, they
2786 aren't used for normal writing. (Bug #116)
2788 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2790 * doc/fontconfig-devel.sgml:
2791 * doc/fontconfig-user.sgml:
2792 * fontconfig/fontconfig.h:
2794 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2795 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2797 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2798 monospace and dual-width fonts, allow roughly a 3% variance in the
2801 2003-08-31 Manish Singh <yosh@gimp.org>
2803 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2806 2003-08-15 Carl Worth <cworth@isi.edu>
2808 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2809 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2811 * src/fcpat.c (FcValueListEntDestroy): New function to support
2812 FcFini memory cleanup. Some statistics are not kept in
2814 (FcValueListFreeze): Move hashTable outside this function so it
2815 can be accessed by FcValueListThawAll.
2816 (FcValueListThawAll): New function complements FcValueListFreeze.
2817 (FcPatternBaseFreeze): Move hashTable outside this function so it
2818 can be accessed by FcPatternBaseThawAll.
2819 (FcPatternBaseThawAll): New function complements
2820 FcPatternBaseFreeze.
2821 (FcPatternThawAll): New function complements FcPatternFreeze.
2823 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2825 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2826 allocated FcCharLeafEnt "blocks" so they can be freed later.
2827 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2828 can be accessed by FcCharSetThawAllLeaf.
2829 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2830 (FcCharSetFreezeBase): Move hashTable outside this function so it
2831 can be accessed by FcCharSetThawAll.
2832 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2834 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2835 (FcConfigDestroy): Fic leak of FcBlanks.
2837 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2838 (main): Add call to FcFini when finished.
2840 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2841 static. Add prototypes.
2843 * doc/fcinit.fncs: Add documentation for FcFini function.
2845 * doc/edit-sgml.c: Mark several local functions as static. Add
2848 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2850 2003-06-15 Tor Lillqvist <tml@iki.fi>
2852 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2853 before comparing (needed on Windows).
2855 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2857 2003-06-13 Tor Lillqvist <tml@iki.fi>
2859 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2862 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2863 WINDOWSFONTDIR token.
2865 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2866 end, not to confuse libtool, which expects the EXPORTS line to be
2867 the first. Add FcConfigEnableHome.
2869 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2870 built as a DLL on Win32.
2872 2003-06-09 Keith Packard <keithp@keithp.com>
2874 * Tag version 2.2.90
2876 2003-06-09 Keith Packard <keithp@keithp.com>
2878 * Optimization in FcLangSetIndex was broken, occasionally
2879 returning a pointer to the wrong location on miss
2881 * Add fc-match to test font matching from the command line.
2883 2003-05-31 Keith Packard <keithp@keithp.com>
2885 * (Bug 85) add support for culmus fonts
2886 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2887 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2889 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2891 * Fix "contains" op for strings and langsets.
2893 2003-05-17 Keith Packard <keithp@keithp.com>
2895 * Fix build error with BDF prop local. Free langset after query
2897 2003-05-14 Keith Packard <keithp@keithp.com>
2899 * Extract spacing from XLFD atom
2901 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2903 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2904 disappeared in 1.30.
2906 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2908 2003-05-12 Keith Packard <keithp@keithp.com>
2910 * Use FcIsWidth to share code
2912 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2913 misclassifying some Han fonts as monospaced.
2915 2003-05-07 Keith Packard <keithp@keithp.com>
2917 * Add filename-based accept/reject to ammend available fonts.
2919 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2920 older FreeType releases.
2922 2003-05-06 Keith Packard <keithp@keithp.com>
2924 * Remove 0b82 and Tamil numbers from tamil
2925 orthography (Jungshik Shin <jshin@mailaps.org>)
2927 2003-05-04 Keith Packard <keithp@keithp.com>
2929 + Map glyph names in fonts with adobe custom encoding to unicode
2931 2003-05-02 Keith Packard <keithp@keithp.com>
2933 * Add FC_WEIGHT_BOOK as weight 75
2935 2003-04-30 Keith Packard <keithp@keithp.com>
2937 * Typo in bitstream foundry name
2939 2003-04-24 Keith Packard <keithp@keithp.com>
2941 * Eliminate italic_angle check for PS fonts
2943 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2945 * Getting closer to fixing /etc/fonts hard-coding.
2947 2003-04-22 Keith Packard <keithp@keithp.com>
2949 * Update autogen.sh to work with newer automake versions
2950 * Handle pattern elements moving during multiple edits
2952 2003-04-23 James Henstridge <james@daa.com.au>
2954 * doc/fontconfig-devel.sgml: close the <para> element.
2956 * doc/fcpattern.fncs: close the <para> element.
2958 * doc/func.sgml: close the <refsynopsisdiv> element.
2960 2003-04-22 Keith Packard <keithp@keithp.com
2962 * Update autogen.sh to work with newer automake versions
2963 * Handle pattern elements moving during multiple edits
2965 2003-04-17 Colin Walters <walters@debian.org>
2967 + Remove some unused variables, and initialize some other ones so
2968 gcc doesn't warn us.
2970 2003-04-16 Keith Packard <keithp@keithp.com>
2972 + tag version 2.1.94
2974 2003-04-16 Keith Packard <keithp@keithp.com>
2976 + add BDF property fetching support for foundry
2977 (from Juliusz Chroboczek)
2978 + add BDF property fetching support for width
2980 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2982 + Implemented foundry generation for Type 1 and TrueType
2984 2003-04-11 Gerard Escalante <g2@magestudios.net>
2986 + Retrieve information from Type1 FontInfo dictionaries
2988 2003-04-07 Colin Walters <walters@verbum.org>
2990 + src/Makefile.am: Fix dummy makefile target names when
2991 MS_LIB_AVAILABLE isn't set.
2993 2003-03-22 Tor Lillqvist <tml@iki.fi>
2995 Changes for Windows:
2997 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2999 + We don't want to hardcode the fonts.conf file location in the
3000 DLL, so we look up the DLL location at run-time in a DllMain()
3001 function. The fonts.conf location is deduced from that.
3003 + The colon can't be used as path separator on Windows,
3004 semicolon is used instead. File path components can be separated
3005 with either slash or backslash. Absolute paths can also begin
3006 with a drive letter.
3008 + Add internal function FcStrLastSlash that strrchr's the last
3009 slash, or backslash on Windows.
3011 + There is no link() on Windows. For atomicity checks, mkdir a
3012 lock directory instead.
3014 + In addition to HOME, also look for USERPROFILE.
3016 + Recognize the special font directory token WINDOWSFONTDIR, to
3017 use the system's font directory.
3019 + Remove the fontconfig-def.cpp that was obsolete. Add
3020 fontconfig.def(.in), without internal functions.
3022 + Add a fontconfig-zip(.in) script, used to build a binary
3025 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3026 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3027 to main package and man3/* to devel package
3029 + Added missing defattr(-, root, root) to main RPM package
3031 + Added HTML and text development documentation to -devel subpackage
3033 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3034 + Added back the configure macro options --disable-docs, otherwise
3035 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3036 version number) unconditionally, causing RPM to fail the build due
3037 to _unpackaged_files_terminate_build. We pick up the pregenerated
3038 docs with %doc already.
3040 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3041 + Removed commented out rpm macro define at top of spec file,
3042 replacing it with a simple explanation, since rpm macros are
3043 expanded by rpm even in comments.
3045 + Changed /usr/bin to _bindir in BuildRequires lines
3047 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3049 + Reorganized file manifest lists
3051 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3053 + fontconfig.spec.in: Improvements from Red Hat spec file.
3055 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3057 + docs/*.sgml: SGML fixes.
3059 Sat Mar 1 17:28:53 PST 2003 keithp
3060 + Ok, so the ChangeLog is a bit out of date
3062 + Lots of bugs fixed; most are in bugzilla, the
3063 biggest problems were in cache management where
3064 Owen discovered the library would lose badly when
3065 combining fonts-cache and ~/.fonts-cache data
3067 + Converted from autoconf to automake. This after
3068 getting patches accepted into libtool to allow
3069 the '-version-number' argument which lets
3070 packages set version numbers explicitly rather
3071 than the roundabout libtool way
3073 + Converted documentation to SGML using the docbook
3074 DTD. Now .txt and .html documents are installed
3075 in /usr/share/doc/fontconfig and there's no
3076 man page. Perhaps a man version can be written
3079 Sat Aug 31 15:21:22 PDT 2002 keithp
3080 + Xrender and Xft had several bugs related to
3081 rendering manually placed or poly-face text
3083 + Added more complete memory tracing in fontconfig
3084 Checked with (patched) mozilla and found no leaks
3086 + Updated Latin orthographies by comparing those from
3087 evertype.com with those from eki.ee. Tried to make
3088 sensible choices, including chars that occured in both
3089 and leaving some optional chars out that occured only
3092 Mon Aug 26 16:33:04 PDT 2002 keithp
3093 + Owen discovered that FcLangSetHasLang wasn't actually
3094 checking the language set.
3096 Mon Aug 26 13:37:23 PDT 2002 keithp
3097 + Append a version number to cache filenames
3099 Thu Aug 22 11:36:18 PDT 2002 keithp
3101 + Add "contains" and "not_contains" operators and elements to
3104 + Changed semantics of eq operator for LangSets to check for
3105 FcLangEqual so that any match will do
3107 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3108 of FcValueEqual to check for identical values when inserting into
3109 the results. This broke when the above semantic change was made,
3110 now it uses FcValueEqual which is "more correct" in any case.
3112 Thu Aug 22 00:32:29 PDT 2002 keithp
3114 + Reimplement FC_LANG as new datatype. Lists of strings
3115 was consuming over a megabyte of memory for 401 fonts.
3117 + Freeze patterns loaded from cache files. This shares
3118 common value lists and common patterns which saves
3119 considerable memory.
3121 + Change the denotation of 'constant' charsets to use special
3122 ref value instead of separate boolean.
3124 + Clean up leak tracing stuff, found several unannoted alloc/free
3127 Tue Aug 20 16:17:37 PDT 2002 keithp
3129 + Fix memory leak when parsing matrices from XML
3131 Mon Aug 19 11:57:27 PDT 2002 keithp
3133 + Fix autoconf files to pass FONTCONFIG_PATH on
3134 compile line so that ${prefix} gets substituted
3137 + Use getc_unlocked/putc_unlocked on systems that
3138 provide them to avoid damage done to stdio by posix
3140 + Eliminate FC_PATTERN and FcTypePattern in favor of
3141 an extended api for FcConfigSubstitute which takes
3142 both the font and the pattern.
3144 + Add 'sans serif' alias for 'sans-serif' as some apps
3145 can't handle hyphens in family names
3147 + Eliminate pretense of support for libxml2
3149 + Comment origins of Han orthographies
3151 Tue Jul 30 18:37:09 PDT 2002 keithp
3153 + Add binding property to edit element so that strong
3154 binding values may be inserted by the config file.
3155 The default remains weak.
3157 Sun 28 Jul 04:16:55 PDT 2002 keithp
3159 + Tagged release candidate 1 in the CVS tree and
3160 placed fcpackage.rc1.tar.gz for distribution
3162 Thu Aug 1 08:55:08 PDT 2002 keithp
3164 + Fixed autoconf builds to always specify install
3165 target files (for BSD). Also fixed to
3166 define FONTCONFIG_PATH in config.h so that
3167 nonstandard installs will actually work.