1 2006-04-11 Ming Zhao <ming@gentoo.org>
4 * src/fcname.c (FcObjectToPtrLookup):
6 Fix bad behaviour on realloc resulting in crash.
8 2006-04-11 Patrick Lam <plam@mit.edu>
9 * src/fccache.c (FcGlobalCacheReadDir):
11 Don't crash if config is null (Coverity defect #984).
13 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
16 * src/fccharset.c (FcCharSetPutLeaf):
17 * src/fclang.c (FcNameUnparseLangSet):
19 Missing bits from previous patches.
21 * src/fccharset.c (FcCharSetSubtractCount):
22 Remove extra semi-colon.
24 * src/fccfg.c (FcConfigBuildFonts):
25 Fix memory leak in error case (Coverity defects #776, #985).
27 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
28 Fix memory leaks (Coverity defects #779, #781)
29 and memory use after free (Coverity defect #780).
31 2006-04-11 Patrick Lam <plam@mit.edu>
32 * src/fccharset.c (FcCharSetPutLeaf):
34 Properly convert static charsets to dynamic charsets.
36 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
39 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
41 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
43 * src/fclang.c: (FcNameUnparseLangSet):
44 Fix memory leak (Coverity defect #1819).
46 * fc-lang/fc-lang.c: (scan):
47 prevent crash when invalid include line is parsed (Coverity defect
50 * fc-cat/fc-cat.c: (FcCacheFileRead):
51 Fix potential null pointer access (Coverity defect #1804).
53 * src/fcname.c: (FcObjectUnserialize):
54 Remove dead code (Coverity defect #1194).
56 * src/fcfreetype.c: (GetScriptTags):
57 Prevent potential null pointer access (Coverity defect #767),
58 ensure error value is read (Coverity defect #1195).
60 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
65 Survive missing docbook2pdf.
67 2006-04-10 Patrick Lam <plam@mit.edu>
69 * fc-glyphname/fc-glyphname.c:
72 Include more stub definitions to make HP-UX's C compiler happy.
74 2006-04-10 Patrick Lam <plam@mit.edu>
75 * src/fcname.c (FcObjectUnserialize):
77 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
79 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
82 * src/fccfg.c: (FcConfigEvaluate):
83 Fix string memory leak (Coverity defect #1823).
85 * src/fccache.c: (FcDirCacheUnlink):
86 Fix memory leak with hash collision (Coverity defect #1824).
88 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
91 * src/fccache.c: (FcGlobalCacheSave):
92 Don't leak header in non-error case (Coverity defect #1825).
94 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
97 * src/fcdir.c (FcDirScanConfig)
98 Don't leak in error cases (Coverity defects #777, #1826)
100 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
103 * src/fccache.c: (FcDirCacheWrite):
104 Fix double free (spotted by Coverity, CID #1965).
106 * fc-match/fc-match.c: (main):
107 Check if pattern is not null before using it (Coverity defect #1883).
109 * src/fccache.c: (FcDirCacheWrite):
110 Fix memory leak with hash collision (Coverity defect #1829).
112 * src/fccfg.c: (FcConfigBuildFonts):
113 Fix memory leak when bail cases (Coverity defect #1828).
115 * src/fccache.c: (FcGlobalCacheLoad):
116 Don't leak directory name (Coverity defect #1827).
118 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
120 * fc-cache/Makefile.am:
121 * fc-cat/Makefile.am:
122 * fc-list/Makefile.am:
123 * fc-match/Makefile.am:
125 LD_ADD missing dependencies for binaries. Reported by
128 2006-04-07 Patrick Lam <plam@mit.edu>
130 * fc-lang/fc-lang.c (main):
132 SGI compilation fixes (reported by Christoph Bauer):
133 1) reorder union definition of _FcChar;
136 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
139 * src/fccharset.c (FcCharSetNeededBytes):
140 * src/fcfs.c (FcFontSetNeededBytes):
142 * src/fclang.c (FcLangSetNeededBytesAlign):
143 * src/fcname.c (FcObjectNeededBytesAlign):
144 * src/fcpat.c (FcPatternNeededBytesAlign,
145 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
147 Portability fixes for HP-UX (reported by Christoph Bauer).
148 Replace '__inline__' by AC_C_INLINE and 'inline'.
149 Replace '__alignof__' by 'fc_alignof'.
151 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
155 Move up #include of config.h.
156 Fail if neither inttypes.h nor stdint.h is available.
159 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
160 Patrick Lam <plam@mit.edu>
162 * fc-cache/fc-cache.c:
164 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
165 FcDirCacheConsume, FcDirCacheProduce,
166 FcDirCacheWrite, FcCacheMachineSignature):
167 * src/fcfreetype.c (FcFreeTypeQuery):
168 * src/fontconfig.def.in:
170 Make fontconfig compile under MinGW:
171 1) remove unneeded #includes;
172 2) make use of mmap and sysconf conditional;
173 3) replace rand_r by srand/rand if needed;
174 4) use chsize instead of ftruncate; and
175 5) update libtool exports file
177 2006-04-07 Patrick Lam <plam@mit.edu>
178 * src/fcdir.c (FcDirScanConfig):
182 2006-04-06 Patrick Lam <plam@mit.edu>
183 * fc-match/.cvsignore:
184 * fc-match/Makefile.am:
185 * fc-match/fc-match.sgml:
187 Update documentation for fc-match (SGML-ize it).
188 (reported by Ilya Konstantinov)
190 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
196 Reduce amount of dirty rss by const'ing some data structures.
198 2006-04-06 Patrick Lam <plam@mit.edu>
199 * fc-cache/Makefile.am:
201 Don't fail if we can't create or remove
202 $(pkgcachedir) i.e. /var/cache/fontconfig.
203 (reported by Quanah Gibson-Mount).
205 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
208 * fc-glyphname/fc-glyphname.c:
209 * fc-lang/fc-lang.c (main):
210 * fc-match/fc-match.c:
211 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
213 * src/fcfreetype.c (FcFreeTypeQuery):
214 * src/fclang.c (FcFreeTypeLangSet):
217 Fix intel compiler warnings: make many variables static,
218 eliminate duplicate names, reduce variable scopes, unsigned/signed
221 2006-03-24 Mike Fabian <mfabian@suse.de>
223 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
225 Fix multiarch support (don't destroy multiarch files!)
227 2006-03-24 Patrick Lam <plam@mit.edu>
230 Require pkg-config. (Thanks Behdad;
231 better solution wanted for libxml2 detection!)
233 2006-03-22 Patrick Lam <plam@mit.edu>
236 On Windows, unlink before rename. Reported by Tim Evans.
238 2006-03-15 Patrick Lam <plam@mit.edu>
242 Fix typos in orth files. Reported by Denis Jacquerye.
244 2006-03-08 Patrick Lam <plam@mit.edu>
246 * config/config.guess:
249 Fix Makefile.am for removal of debian/ directory.
251 2006-03-08 Patrick Lam <plam@mit.edu>
254 Ignore debian/ directory for CVS.
256 2006-03-08 Patrick Lam <plam@mit.edu>
259 Now remove debian/ directory.
261 2006-03-08 Patrick Lam <plam@mit.edu>
264 Remove debian/ directory from sources. See Debian's subversion
265 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
268 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
272 * fc-lang/iso639-1, fc-lang/iso639-2:
274 Add orthography for Lingala.
276 2006-03-08 Carl Worth <cworth@cworth.org>
279 * conf.d/Makefile.am:
280 * conf.d/10LohitGujarati.conf:
282 Add a configuration file that disables hinting for the Lohit
283 Gujarati font (since the hinting distort some glyphs quite badly).
285 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
288 * src/fcdir.c (FcDirScanConfig):
290 Sort directory entries while scanning them from disk;
291 prevents Heisenbugs due to file ordering in a directory.
293 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
296 * src/fcfreetype.c (GetScriptTags):
297 * src/ftglue.c, src/ftglue.h:
299 Remove stuff we don't use, make get_{char,short,long} functions
300 of ftglue macros to be inlined.
303 * src/fcname.c (FcObjectSerialize):
305 Code cleanups (excess prototype, old-style function definition).
307 2006-03-05 Patrick Lam <plam@mit.edu>
308 * src/fcpat.c (FcPatternGetString):
310 Because we hacked FcPatternGet, we don't really need to expand the
311 filename again in FcPatternGetString.
313 2006-03-05 Patrick Lam <plam@mit.edu>
314 * src/fcpat.c (FcPatternGetString, FcPatternGet):
316 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
317 Make that work. Reported by Bernhard Rosenkraenzer.
319 2006-03-03 Patrick Lam <plam@mit.edu>
322 Include inttypes.h instead of stdint.h if appropriate.
324 2006-03-03 Patrick Lam <plam@mit.edu>
325 * fc-cat/fc-cat.c (FcFileIsDir):
326 * fc-glyphname/fc-flyphname.c:
328 More stub definitions and remove FcFileIsDir from fc-cat.
330 2006-03-03 Patrick Lam <plam@mit.edu>
333 Fix compilation on AIX with stub definitions (bug 6097).
335 2006-03-03 Patrick Lam <plam@mit.edu>
336 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
337 * src/fcfreetype.c (GetScriptTags):
338 * src/fcfs.c (FcFontSetDistributeBytes):
339 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
341 Get rid of C++-style comments.
343 2006-03-03 Patrick Lam <plam@mit.edu>
346 Enable creation of 2.3.94 Debian packages.
348 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
351 * src/fclang.c (FcCharSetForLang):
353 Fix suspicious return expression which causes junk
356 2006-02-24 Patrick Lam <plam@mit.edu>
360 * fontconfig/fontconfig.h:
362 Bump version to 2.3.94.
364 2006-02-24 Patrick Lam <plam@mit.edu>
369 2006-02-24 Patrick Lam <plam@mit.edu>
370 * conf.d/10-fonts-persian.conf:
372 Remove unconditional emboldening (per Behdad's instructions).
376 Add @s to hide some echos.
378 2006-02-24 Mike Fabian <mfabian@suse.de>
379 Takashi Iwai <tiwai@suse.de>
382 * src/fcfreetype.c (GetScriptTags):
384 Fix double-free on error case.
386 2006-02-21 Patrick Lam <plam@mit.edu>
387 * fc-lang/fc-lang.c (scan):
389 Strip \r and whitespace from input; fixes bug 3454.
391 2006-02-21 Patrick Lam <plam@mit.edu>
392 * fc-lang/fc-lang.c (main):
394 Allocate large arrays statically in fc-lang to fix crashes under
397 2006-02-21 Diego Petten <flameeyes@gentoo.org>
398 * src/fcfreetype.c (FcFreeTypeCharIndex):
400 Pass the buck; make fontconfig not crash on pango badness.
402 2006-02-21 Patrick Lam <plam@mit.edu>
403 * conf.d/10-fonts-persian.conf:
405 Use embeddedbitmap rather than rh_prefer_bitmap.
407 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
410 * src/fccache.c (FcDirCacheWrite):
411 * src/fcdir.c (FcFileScanConfig):
412 * src/fcfreetype.c (FcStringInPatternElement):
413 * src/fcxml.c (FcParseFamilies):
414 * src/ftglue.c (ftglue_face_goto_table):
416 Eliminate redundancies.
418 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
421 * fc-list/fc-list.c (main):
422 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
423 * src/fcstr.c (FcStrStr):
424 * src/fcxml.c (FcConfigSaveAttr):
426 Eliminate unused vars reported by Intel's compiler.
428 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
433 Remove one more archaic character.
435 2006-02-21 Ross Burton <ross@burtonini.com>
436 reviewed by: plam, keithp
438 * src/fcxml.c (FcParsePatelt):
440 Freeze patterns created by configuration file for tiny
441 memory savings (every little bit helps).
443 2006-02-21 Mike Fabian <mfabian@suse.de>
446 * fc-cat/fc-cat.c (main):
448 Initialize fontconfig library in fc-cat to avoid segfault.
450 2006-02-18 Patrick Lam <plam@mit.edu>
451 * fc-cache/fc-cache.c (scanDirs):
452 * src/fccache.c (FcCacheReadDirs):
453 * src/fcdir.c (FcDirScanConfig):
455 Fix the underlying cause of the below segfault (must usually
456 call FcDirCacheHasCurrentArch after FcDirCacheValid).
458 2006-02-18 Patrick Lam <plam@mit.edu>
459 * src/fccache.c (FcDirCacheHasCurrentArch):
461 Fix triggering of segfault caused by misreading cache files
462 (reported by fcrozat).
464 2006-02-17 Patrick Lam <plam@mit.edu>
465 * src/fcint.h (FC_CACHE_MAGIC):
467 Bump up magic version; we changed the binary format.
469 2006-02-17 Patrick Lam <plam@mit.edu>
470 * fc-cat/fc-cat.c (main):
472 Enable fc-cat to print out old-style cache info when given a
475 2006-02-16 Patrick Lam <plam@mit.edu>
476 * src/fccache.c (FcDirCacheHasCurrentArch):
478 Deal correctly with changing FC_CACHE_MAGIC.
480 2006-02-16 Patrick Lam <plam@mit.edu>
481 * fc-cache/fc-cache.c (usage, scanDirs, main):
483 Add -r --really-force option which blows away cache files and then
486 2006-02-16 Patrick Lam <plam@mit.edu>
487 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
489 Don't bail if fontconfig can't remove a dir cache file.
490 Skip the ID of a cache file when copying.
491 Eliminate 'source file too small' bug in FcDirCacheWrite.
493 2006-02-13 Patrick Lam <plam@mit.edu>
494 * src/fcfreetype.c (FcFreeTypeQuery):
496 Fix memory leak in error condition code.
498 2006-02-13 Mike Fabian <mfabian@suse.de>
500 * src/fcfreetype.c (FcFreeTypeQuery):
502 Skip bitmap fonts which can't even get it together enough to
503 declare a family name; this appears to reproduce previous
504 fontconfig behaviour.
506 2006-02-10 Takashi Iwai <tiwai@suse.de>
508 * src/fccache.c (FcDirCacheOpen):
510 Try to open /var/cache/fontconfig/[hashed name] before
511 fonts.cache-2 in a directory, because /var/cache/fontconfig
512 failures ought to be fixable, unlike fonts.cache-2 failures,
513 which may leave you screwed.
515 2006-02-10 Takashi Iwai <tiwai@suse.de>
517 * src/fcmatch.c (FcFontSetMatch):
519 Use a tri-state to mark the fonts which didn't get blocked but
520 were just missing an element, to distinguish them from the
521 fonts that do match the element.
523 2006-02-10 Takashi Iwai <tiwai@suse.de>
525 * src/fcmatch.c (FcFontSetMatch):
527 Don't kill fonts because they don't declare an element that's
530 2006-02-09 Patrick Lam <plam@mit.edu>
531 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
532 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
534 Define and pass O_BINARY to open if appropriate, for those
535 platforms that need it. Reported by Doodle.
537 2006-02-09 Patrick Lam <plam@mit.edu>
538 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
541 Fix problem with missing 'en' due to euro.patch: change
542 cache file format slightly to coincide with that generated
545 2006-02-07 Patrick Lam <plam@mit.edu>
546 * src/fccache.c (FcCacheReadDirs):
550 2006-02-07 Patrick Lam <plam@mit.edu>
551 * src/fcdir.c (FcDirScanConfig):
553 Don't reject dirs that can't be normalized (fixes lilypond, and
554 is correct in the context of application font directories.)
556 2006-02-07 Takashi Iwai <tiwai@suse.de>
559 * src/fccache.c (FcCacheReadDirs):
561 Use normalized directory name exclusively in FcCacheReadDirs.
563 2006-02-07 Dirk Mueller <dmueller@suse.com>
566 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
568 Perf optimizations. Inline FcValueCanonicalize,
569 reduce FcValueListPtrU usage, remove redundant cast.
571 2006-02-07 Takashi Iwai <tiwai@suse.de>
574 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
577 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
578 Declare extern for static arrays as arrays, not pointers.
579 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
581 2006-02-07 Dirk Mueller <dmueller@suse.com>
594 Add Euro sign to list of symbols required by European languages.
596 2006-02-07 Patrick Lam <plam@mit.edu>
597 * src/fccache.c (FcCacheReadString):
599 Fix hidden variable warning.
601 2006-02-07 Dirk Mueller <dmueller@suse.com>
604 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
606 Remove de-escaping logic because FcCacheWriteString
607 doesn't escape anyway. Do blockwise reading instead
608 of byte-wise for performance.
610 2006-02-06 Patrick Lam <plam@mit.edu>
611 Takashi Iwai <tiwai@suse.de>
613 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
615 Don't loop infinitely on recursive symlinks (client-side).
617 2006-02-06 Takashi Iwai <tiwai@suse.de>
619 * fc-cache/fc-cache.c (scanDirs, main):
621 Don't loop infinitely on recursive symlinks.
623 2006-02-06 Takashi Iwai <tiwai@suse.de>
625 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
626 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
627 FcGlobalCacheSave, FcCacheReadDirs):
630 Skip subdirs when skipping over stale bits of global cache.
631 Introduce state machine into FcGlobalCacheDir to avoid
632 doing inappropriate operations on global dir entries, e.g.
633 writing out an out-of-date cache entry.
635 2006-02-06 Takashi Iwai <tiwai@suse.de>
637 * src/fcdir.c (FcFileScanConfig):
639 Hoist FcFileIsDir check out of FcFileScanConfig loop.
641 2006-02-06 Takashi Iwai <tiwai@suse.de>
644 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
645 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
647 Don't rescan when trying to normalize a non-declared font dir.
648 Don't add font dirs multiple times (even if they're aliased).
650 2006-02-06 Dirk Mueller <dmueller@suse.de>
653 * src/fcfs.c (FcFontSetUnserialize):
655 Explain apples/oranges comparison and fix compilation error.
657 2006-02-06 Dirk Mueller <dmueller@suse.de>
660 * src/fcfs.c (FcFontSetUnserialize):
662 Insert check for integer overflow in # of fonts.
664 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
668 * fc-cache/Makefile.am:
669 * fc-cat/Makefile.am:
670 * fc-list/Makefile.am:
672 Make 'make distcheck' work with automake 1.6.3.
674 2006-02-03 Takashi IWAI <tiwai@suse.de>
677 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
680 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
681 FcDirCacheConsume, FcDirCacheWrite)
682 * src/fcxml.c (FcConfigMessage):
684 Check I/O call return values and eliminate unused variable
687 2006-02-03 Takashi Iwai <tiwai@suse.de>
690 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
694 2006-02-03 Dirk Mueller <dmueller@suse.de>
697 * src/fcfs.c (FcFontSetUnserialize):
699 Gracefully handle the case where a cache asserts that it
700 has a negative number of fonts, causing overflow.
702 2006-02-03 Patrick Lam <plam@mit.edu>
703 * src/fccache.c (FcDirCacheUnlink):
705 Fix double free in error case.
707 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
708 Stephan Kulow <coolo@suse.de>
711 * fc-cache/Makefile.am:
713 Replace 'stamp' target with mkinstalldirs.
715 2006-01-31 Mike Fabian <mfabian@suse.de>
718 * src/fccache.c (FcGlobalCacheLoad):
720 Toast broken global cache files.
722 2006-01-30 Patrick Lam <plam@mit.edu>
723 * src/fccache.c (FcGlobalCacheReadDir):
725 Actually use the directories that I added to the global cache.
728 2006-01-30 Mike Fabian <mfabian@suse.de>
731 * fc-cache/fc-cache.c (scanDirs):
733 Don't stop scanning if a directory in fonts.conf doesn't
734 exist, because subsequent directories might exist.
736 2006-01-30 Patrick Lam <plam@mit.edu>
737 * src/fccache.c (FcGlobalCacheLoad):
739 Make global cache work again after putting dir names into global
740 cache (I misplaced the recording of a file offset).
742 2006-01-30 Patrick Lam <plam@mit.edu>
743 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
745 Update fc-cat to handle subdir lists in global cache file.
747 * src/fccache.c (FcGlobalCacheLoad):
749 Another FcCacheReadString return value check.
751 2006-01-30 Mike Fabian <mfabian@suse.de>
754 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
755 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
757 Make fccache more resilient to broken cache files by checking
758 return value of FcCacheReadString all the time.
760 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
763 * fc-match/fc-match.1:
764 * fc-lang/fc-lang.man:
766 Remove references to dead fontconfig(3) manpages in
767 other fontconfig manpages.
769 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
772 * doc/fcpattern.fncs:
774 Fix world's tiniest typo in code example.
776 2006-01-29 Mike Fabian <mfabian@suse.de>
779 * src/fccache.c (FcGlobalCacheReadDir):
781 Fix global cache reads of subdirectories.
783 2006-01-29 Patrick Lam <plam@mit.edu>
785 Add documentation for FcConfigNormalizeFontDir.
787 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
788 FcGlobalCacheUpdate, FcGlobalCacheSave):
789 * src/fcdir.c (FcDirScanConfig):
792 Write directory information to global caches to fix make check
793 (reported by Ronny V. Vindenes). This changes the global cache
796 2006-01-27 Patrick Lam <plam@mit.edu>
797 * fc-cache/fc-cache.c (scanDirs):
798 * fontconfig/fontconfig.h:
800 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
802 Move FcConfigNormalizeFontDir call so that it doesn't result in
803 infinite recursion (reported by Ronny V. Vindenes).
805 2006-01-26 Patrick Lam <plam@mit.edu>
806 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
807 * src/fccfg.c (FcConfigNormalizeFontDir):
809 Add a couple of missing normalizations to make fc-cache work
810 right; only scan subdirectories once.
812 2006-01-26 Mike Fabian <mfabian@suse.de>
815 * src/fcacache.c (FcGlobalCacheReadDir):
817 Don't crash on non-existant directories in global cache.
819 2006-01-26 Patrick Lam <plam@mit.edu>
820 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
821 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
822 * src/fcdir.c (FcDirScanConfig):
823 * src/fcxml.c (FcEndElement):
825 Stop trampling the directory name when writing out caches.
826 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
827 subdirs when necessary. Don't scan directories that can't be
830 2006-01-25 Patrick Lam <plam@mit.edu>
831 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
832 * src/fccfg.c (FcConfigEvaluate):
833 * src/fcfreetype.c (FcPatternAddWithBinding):
835 Fix additional memory leaks reported by Ronny V. Vindenes: don't
836 invoke FcValueSave on hashed static strings in
837 FcPatternAddWithBinding.
839 Add another st_dev check in FcDirCacheOpen.
841 2006-01-24 James Su <james.su@gmail.com>
844 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
845 * fc-lang/zh_hk.orth:
847 Treat zh-hk fonts differently from zh-tw fonts. This patch may
848 cause fontconfig to treat A-X fonts differently from A-Y fonts;
849 please mail the fontconfig list if this causes any problems.
851 2006-01-24 Patrick Lam <plam@mit.edu>
852 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
853 * src/fcfreetype.c (FcFreeTypeQuery):
855 Fix memory leaks reported by Ronny V. Vindenes.
857 2006-01-19 Andreas Schwab <schwab@suse.de>
860 * src/fcpat.c (FcStrNeededBytes):
862 Fix for unaligned memory accesses.
864 2006-01-18 Mike Fabian <mfabian@suse.de>
867 * src/fcdir.c (FcDirScanConfig):
869 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
870 calls to avoid crashes.
872 2006-01-14 Patrick Lam <plam@mit.edu>
873 * src/fccache.c (FcDirCacheConsume):
875 Fix segfault when consuming zero-length caches in fc-cat
876 (which has no config, so FcConfigAddFontDir shouldn't be called.)
878 2006-01-14 Patrick Lam <plam@mit.edu>
879 * fc-cache/fc-cache.c (scanDirs):
880 * fontconfig/fontconfig.h:
881 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
882 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
883 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
884 * src/fcdir.c (FcDirScanConfig):
887 Compare device numbers as well as inodes.
888 Always normalize directory names before comparing them.
890 2006-01-11 Mike Fabian <mfabian@suse.de>
893 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
895 Allocate extra space for appended '/' in directory name.
897 2006-01-10 Patrick Lam <plam@mit.edu>
898 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
899 FcDirCacheValid, FcDirCacheHasCurrentArch,
900 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
901 * fc-cache/fc-cache.c (main):
903 Explicitly add font dirs to config.fontDirs even if they're empty.
904 Set current config in fc-cache.c.
905 Fix treatment of cache directory as read from cache file; don't
906 use string equality to determine if we have the right file,
909 2006-01-09 Patrick Lam <plam@mit.edu>
910 * fc-cache/fc-cache.c (scanDirs):
911 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
912 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
913 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
914 * src/fccfg.c (FcConfigNormalizeFontDir):
915 * src/fcdir.c (FcDirScanConfig):
918 Normalize font dirs by using the form, as given in fonts.conf, and
919 recorded in FcConfig's fontDirs string set, as canonical.
921 Actually update config.fontDirs as font directories are scanned.
923 2006-01-08 James Su <james.su@gmail.com>
924 * src/fcmatch.c (FcFontSetMatch):
926 Fix matching bug when multiple elements match; don't use
927 the sum of all scores, but the best score.
929 Also more perf opts, e.g. evaluate best over all font sets
930 rather than on a per-set basis (and other changes).
932 2006-01-08 Patrick Lam <plam@mit.edu>
933 * src/fccache.c (FcDirCacheConsume):
935 Properly skip past dir caches that contain zero fonts (as occurs
936 in global caches.) Reported by Mike Fabian.
938 2006-01-06 Patrick Lam <plam@mit.edu>
939 * src/fcdbg.c (FcPatternPrint):
941 Print out full pathname in fc-match -v as well. Reported by
944 2006-01-06 Mike Fabian <mfabian@suse.de>
947 * src/fcname.c (FcNameParse):
949 Fix bug where fc-match crashes when given __DUMMY__ property to
952 (I added the __DUMMY__ string to enable callers of
953 FcObjectToPtrLookup to distinguish an error return from a
954 successful return. -PL)
956 2006-01-05 Patrick Lam <plam@mit.edu>
959 Add self to AUTHORS list.
961 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
962 FcCacheFileRead, FcCachePrintSet, main):
963 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
964 FcGlobalCacheSave, FcCacheNextOffset,
965 FcDirCacheHasCurrentArch, FcDirCacheRead,
966 FcDirCacheConsume, FcDirCacheWrite):
968 * src/fcpat.c (comment):
970 Minor change to global cache file format to fix fc-cat bug
971 reported by Frederic Crozat, and buglet with not globally caching
972 directories with zero fonts cached.
974 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
977 * src/fccfg.c (FcConfigEvaluate):
979 Fix double-free which occurs because FcValueCanonicalize doesn't
980 create an extra copy of the returned value, it only canonicalizes
983 2006-01-02 Patrick Lam <plam@mit.edu>
984 * doc/fontconfig-user.sgml:
986 Fix version of .cache file (currently 1 -> currently 2). Reported
989 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
992 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
994 Shut up GCC warnings on amd.
996 2005-12-20 Patrick Lam <plam@mit.edu>
1000 * fontconfig/fontconfig.h:
1002 Bump version to 2.3.93.
1004 2005-12-20 Patrick Lam <plam@mit.edu>
1005 * src/fccharset.c (FcLangCharSetPopulate):
1006 * src/fcint.h (FcCacheBankToIndex):
1008 Avoid check on _fcBankId nullness and fix case where it used to
1011 2005-12-20 Patrick Lam <plam@mit.edu>
1012 * src/fcxml.c (FcConfigParseAndLoad):
1014 Use open instead of fopen (requested by Phil Race for Sun).
1016 2005-12-20 Patrick Lam <plam@mit.edu>
1017 * src/fccache.c (FcDirCacheWrite);
1018 * fc-cache/Makefile.am:
1020 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1023 2005-12-20 Patrick Lam <plam@mit.edu>
1024 * src/fcfreetype.c (FcFreeTypeQuery):
1026 Restore code to skip over PCF fonts that have no encoded
1028 (We guess that a font is PCF by presence of the PIXEL_SIZE
1031 2005-12-12 Patrick Lam <plam@mit.edu>
1032 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1034 Read and write the original location as a fallback for the
1035 hashed cache file locations. This is mostly for users to be
1036 able to have per-directory cache files.
1038 2005-12-12 Patrick Lam <plam@mit.edu>
1039 * fc-cache/fc-cache.c (scanDirs):
1040 * fc-cache/Makefile.am:
1041 * src/fccache.c (FcDirCacheHashName):
1043 Improve error message when fc-cache can't write the cache. Add
1044 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1045 create /var/cache/fontconfig when appropriate.
1047 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1050 * src/fcxml.c (FcConfigGetAttribute):
1052 Fix crash reported by Frederic Crozat when using libxml2.
1054 2005-12-09 Patrick Lam <plam@mit.edu>
1057 * fc-cache/Makefile.am:
1058 * fc-cat/Makefile.am:
1060 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1061 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1062 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1063 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1064 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1065 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1067 Migrate cache files from fonts directories to
1068 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1069 but requires that all caches get rebuilt.
1071 Also, autogen.sh now needs the additional parameter
1072 --localstatedir=/var.
1074 2005-12-07 Patrick Lam <plam@mit.edu>
1075 * src/fcpat.c (FcPatternAddString):
1077 Because we've changed FcPatternAddString to use FcStrStaticName
1078 and not FcValueSave, explicitly handle the case of a null string.
1080 2005-12-06 Patrick Lam <plam@mit.edu>
1081 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1085 2005-12-05 Patrick Lam <plam@mit.edu>
1086 * src/fcname.c (FcNameGetObjectType):
1088 Don't assign types to user object names.
1090 2005-12-05 Patrick Lam <plam@mit.edu>
1091 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1093 Don't free strings that have been returned from FcStrStaticName.
1095 2005-12-01 Patrick Lam <plam@mit.edu>
1096 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1098 Add codepath for reading global cache files as well.
1100 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1103 * conf.d/10-fonts.persian.conf:
1104 * conf.d/Makefile.am:
1106 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1108 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1111 * src/fcxml.c (FcConfigParseAndLoad):
1113 Only add a config file to the set of config files once.
1115 2005-11-29 Patrick Lam <plam@mit.edu>
1116 * src/fcint.h (FcCacheBankToIndex);
1118 Fix segfault by guarding array dereference.
1120 2005-11-29 Dirk Mueller <dmueller@suse.de>
1123 * fc-lang/fc-lang.c:
1124 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1125 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1129 Refactor FcCacheBankToIndex into an inlineable part
1130 (in fcint.h) which checks the front of the list and a
1131 non-inlineable part which finds and moves the appropriate element
1132 to the front of the list.
1134 2005-11-29 Patrick Lam <plam@mit.edu>
1135 * src/fccfg.c (FcConfigBuildFonts):
1136 * src/fccache.c (FcCacheReadDirs):
1138 Make the perf guys hate me a bit less: hoist the directory-name
1139 FcConfigAcceptFont check for cached fonts up to directory cache
1140 read time, rather than running it for each font.
1142 2005-11-29 Patrick Lam <plam@mit.edu>
1143 * src/fccfg.c (FcConfigBuildFonts):
1145 * src/fcpat.c (FcPatternFindFullFname):
1147 Don't make FcPatternFindFullFname available to fccfg, it's not
1148 really safe. Instead go through FcPatternGetString (sorry,
1149 perf guys.) Also, use globs for dirs as well.
1151 2005-11-28 Patrick Lam <plam@mit.edu>
1152 * src/fccfg.c (FcConfigBuildFonts):
1156 2005-11-28 Patrick Lam <plam@mit.edu>
1158 * src/fcpat.c (FcPatternFindFullFname):
1159 * src/fccfg.c (FcConfigBuildFonts):
1161 Fix problem dating back at least to 2.3.2 where globs weren't
1162 being applied to patterns loaded from a cache.
1164 2005-11-28 Patrick Lam <plam@mit.edu>
1165 * doc/fontconfig-user.sgml:
1167 Fix some obvious spelling mistakes.
1169 2005-11-28 Dirk Mueller <dmueller@suse.com>
1170 Stephan Kulow <coolo@suse.de>
1173 * src/fcmatch.c (FcFontSetMatch):
1175 Don't kill all fonts during match (oops!)
1178 2005-11-25 Dirk Mueller <dmueller@suse.com>
1179 Stephan Kulow <coolo@suse.de>
1180 Michael Matz <matz@suse.de>
1183 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1186 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1187 inline FcCompare into FcFontSetMatch and reorder the
1188 loops, adding a boolean array which blocks patterns from future
1189 consideration if they're known to not be best on some past
1192 2005-11-26 Dirk Mueller <dmueller@suse.com>
1195 * src/fcmatch.c (FcCompareValueList):
1197 Fix incorrect merge.
1199 2005-11-25 Patrick Lam <plam@mit.edu>
1200 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1202 Don't do random matching when bad objects are passed into
1205 2005-11-25 Patrick Lam <plam@mit.edu>
1207 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1208 FcPatternSerialize, FcPatternUnserialize,
1209 FcValueListEnsureBank, FcValueListDistributeBytes,
1210 FcValueListUnserialize):
1212 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1213 _fcPatternElts, _fcValueLists for consistency.
1215 2005-11-25 Dirk Mueller <dmueller@suse.com>
1220 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1222 2005-11-25 Patrick Lam <plam@mit.edu>
1224 * src/fccache.c (FcDirCacheConsume):
1225 * src/fccharset.c (FcCharSetUnserialize):
1226 * src/fcfs.c (FcFontSetUnserialize):
1227 * src/fclang.c (FcLangSetUnserialize):
1228 * src/fcname.c (FcObjectUnserialize):
1229 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1230 FcPatternUnserialize):
1232 Pass around FcCache *s to the Unserialize functions for extra
1233 consistency (and less overhead, for what that's worth).
1235 2005-11-24 Dirk Mueller <dmueller@suse.com>
1239 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1240 * src/fcname.c (FcNameUnparseValue):
1242 Inline the *PtrU functions to gain perf.
1243 Remove unneeded params for the FcCompare* functions.
1245 2005-11-24 Dirk Mueller <dmueller@suse.com>
1248 * src/fcint.h, fontconfig/fontconfig.h:
1250 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1252 * src/fcpat.c, src/fcint.h, src/fcname.c:
1254 Check for type validity during FcPatternAddWithBinding, don't
1255 verify type in FcFontMatch, don't call FcCanonicalize here
1256 (which always does a deep copy).
1258 2005-11-24 Dirk Mueller <dmueller@suse.com>
1261 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1262 * src/fcpat.c (FcPatternAddWithBinding):
1264 Make FcCompareString and FcCompareFamily less expensive.
1265 Only add a value for FC_FAMILY if the proposed value is a string.
1267 2005-11-24 Dirk Mueller <dmueller@suse.com>
1270 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1271 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1272 * src/fcint.h (FcDebug):
1274 Inline FcDebug invocations and only initialize once, in FcInit*.
1275 Improve debug msg in FcPatternPrint.
1277 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1280 * fontconfig/fontconfig.h:
1283 Minor code warning cleanups.
1285 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1288 * fc-match/fc-match.c (main):
1290 Make getopt_long accept -s parameter to fc-match as well.
1292 2005-11-21 Dirk Mueller <dmueller@suse.com>
1295 * src/fcmatch.c (FcCompareValueList):
1297 Manually perform inlining & partial redundancy elimination to
1298 reduce calls to FcValueListPtrU.
1300 2005-11-21 Dirk Mueller <dmueller@suse.com>
1303 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1304 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1306 Only invoke strlen() when really necessary.
1308 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1312 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1313 FcFontCapabilities):
1317 Get rid of the use of freetype internal headers in fcfreetype.c,
1318 since those headers will go away with freetype 2.2. Replace with
1319 public domain ftglue code from pango. Note that the patch removes
1320 some extra error checking in FT_Get_BDF_Property() and comments
1321 out the skipping of empty pcf fonts.
1323 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1326 * fc-lang/fc-lang.c (main):
1328 Further fix of patch from 2005-11-04: miscounted numbers count
1329 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1330 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1332 Removed leafidx_count and numbers_count since they are the same
1333 and replaced them with offset_count.
1335 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1338 * fc-cat/fc-cat.c (main):
1340 Don't crash when fc-cat invoked with no arguments.
1342 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1345 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1347 Fix invalid read access caused by premature free and
1348 GCC4 warnings in libxml2 codepath.
1350 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1353 * src/fccfg.c (FcConfigValues):
1355 List iteration not needed in FcConfigValues, since it's building
1356 up the list itself; we can just strip FcVoid elements during
1359 2005-11-17 Patrick Lam <plam@mit.edu>
1360 * src/fccfg.c (FcConfigValues):
1362 Fix crash on invalid constants in config files (forgot to update
1363 a pointer upon list iteration.)
1365 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1368 * src/fcxml.c (FcTypecheckExpr):
1370 Complain about invalid constants in config files.
1372 2005-11-17 Andreas Schwab <schwab@suse.de>
1375 * src/fccache.c (FcGlobalCacheSave):
1377 Don't add current_arch_start more than once.
1379 2005-11-16 Patrick Lam <plam@mit.edu>
1380 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1381 * src/fcfs.c (FcFontSetUnserialize):
1382 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1383 * src/fcpat.c (FcStrUnserialize):
1385 Fix ordering of ALIGN with respect to saving block_ptr; add
1386 another ALIGN to fcfs.c.
1388 2005-11-16 Patrick Lam <plam@mit.edu>
1389 * src/fccache.c (FcDirCacheProduce)
1391 Fix case where alignment bytes bumped up metadata->count
1392 causing unwarranted failures to write cache files.
1393 (Reported by Stephan Kulow).
1395 2005-11-16 Patrick Lam <plam@mit.edu>
1396 * src/fccache.c (FcDirCacheProduce):
1397 * src/fccharset.c (FcCharSetDistributeBytes):
1398 * src/fcfs.c (FcFontSetDistributeBytes):
1400 * src/fclang.c (FcLangSetDistributeBytes):
1401 * src/fcname.c (FcObjectDistributeBytes):
1402 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1405 Add *NeededBytesAlign(), which overestimates the padding which is
1406 later added by the new ALIGN macro. Fix alignment problems on
1407 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1408 version by Andreas Schwab).
1410 2005-11-16 Stephan Kulow <coolo@kde.org>
1415 Use sysconf to determine proper PAGESIZE value; this
1416 appears to be POSIX-compliant. (reported by Andreas Schwab)
1418 2005-11-04 Patrick Lam <plam@mit.edu>
1419 * fc-lang/fc-lang.c:
1424 Fix bug 2878 (excessive relocations at startup for charsets,
1425 reported by Ross Burton): fc-lang/fc-lang now creates the
1426 static form of the langset, not the dynamic form, so that
1427 the charsets should now be in .rodata.
1429 2005-11-04 Patrick Lam <plam@mit.edu>
1430 * src/fcdir.c (FcDirScanConfig):
1432 Add test for validity of directory caches that
1433 somehow got lost (reported by make distcheck).
1435 2005-11-04 Patrick Lam <plam@mit.edu>
1439 * fontconfig/fontconfig.h:
1441 Bump version to 2.3.92.
1443 2005-11-02 Patrick Lam <plam@mit.edu>
1444 * src/fcpat.c (FcPatternDuplicate):
1446 Fix argument ordering problem in call to FcPatternTransferFullFname.
1448 2005-11-02 Patrick Lam <plam@mit.edu>
1449 * src/fcfreetype.c (FcFreetypeQuery):
1450 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1451 FcPatternTransferFullFname):
1453 Fix warnings and embarrassing double-free error.
1455 2005-11-02 Zhe Su <zsu@novell.com>
1460 Change the rule for artificial emboldening in fonts.conf.in. This
1461 enables the support for artificial emboldening included in cairo.
1463 2005-11-02 Patrick Lam <plam@mit.edu>
1464 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1466 Don't zero out full names for FC_REF_CONSTANT fonts;
1467 also, duplicate full names when transferring, and free
1468 full names when freeing the associated font.
1469 Reported by Jinghua Luo.
1471 2005-11-02 Patrick Lam <plam@mit.edu>
1472 * fc-cache/fc-cache.c (scanDirs):
1473 * src/fcpat.c (FcValueListSerialize):
1475 Revert the previous patch and commit the correct patch:
1476 I forgot a canonicalization in FcValueListSerialize, so
1477 that it would choke on already-serialized input files. Duh!
1479 2005-11-02 Patrick Lam <plam@mit.edu>
1480 * fc-cache/fc-cache.c (scanDirs):
1482 Forcibly rescan a directory before writing a fresh local
1483 cache file for that directory, fixing the losing-fonts
1484 problem reported by Mike Fabian and also apparently the
1485 font cache file corruption.
1487 2005-11-02 Patrick Lam <plam@mit.edu>
1488 * src/fccache.c (FcGlobalCacheLoad):
1490 Fix thinko: actually, the whole global cache is stale
1491 if the global cache is older than the (newest) config file.
1493 2005-11-02 Patrick Lam <plam@mit.edu>
1494 * src/fccache.c (FcGlobalCacheLoad):
1495 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1498 Declare the global cache of a directory's contents to be stale if
1499 the directory is newer than the (newest) configuration file.
1501 2005-10-31 Patrick Lam <plam@mit.edu>
1503 * src/fclist.c (FcListAppend):
1504 * src/fcmatch.c (FcFontRenderPrepare):
1505 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1506 FcPatternFreeze, FcPatternBaseFreeze):
1508 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1509 applications continue breaking.
1511 2005-10-31 Patrick Lam <plam@mit.edu>
1512 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1513 * src/fcfreetype.c (FcFreeTypeQuery):
1515 Fix small memory error (tried to free argv); use basename and
1516 dirname correctly (they can modify their arguments).
1518 2005-10-31 Patrick Lam <plam@mit.edu>
1526 Reinstate basename patch, but keep a hash table linking FcPatterns
1527 to their fully-qualified font names for clients' benefit. Clients
1528 only pay for the font names once they request the FC_FILE property
1529 from an FcPattern, but the font name is malloc'd at that point (i.e.
1530 not mmapped: that's impossible, since it may vary between machines.)
1531 Clients do have to pay for a copy of the path name per cache file.
1533 Note that FcPatternGetString now does some rewriting if you ask
1534 for an FC_FILE, appending the pathname as appropriate.
1536 2005-10-31 Patrick Lam <plam@mit.edu>
1537 * src/fcfreetype.c (FcFreeTypeQuery):
1539 Revert basename patch, which breaks fontconfig clients on my system.
1541 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1544 * fontconfig/fonts.conf.in:
1545 * fontconfig/fontconfig.h:
1549 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1550 to load embedded bitmaps or not.
1552 2005-10-25 Patrick Lam <plam@mit.edu>
1553 * src/fcfreetype.c (FcFreeTypeQuery):
1555 Only add basename to patterns' FC_FILE element, not any part of
1558 2005-10-22 Patrick Lam <plam@mit.edu>
1561 Add some more consts, fixing more GCC4 warnings.
1563 2005-10-22 Zhe Su <zsu@novell.com>
1566 Support localized font family and style names.
1567 This has been reported to break old apps like xfd, but modern
1568 (gtk+/qt/mozilla) apps work fine.
1570 2005-10-21 Patrick Lam <plam@mit.edu>
1571 * src/fccache.c (FcGlobalCacheLoad):
1573 Destroy the global cache file if it's terminally broken. (reported by
1576 2005-10-21 Patrick Lam <plam@mit.edu>
1577 * fc-list/fc-list.c (main):
1578 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1579 * fontconfig/fontconfig.h:
1581 Prevent fc-list from escaping strings when printing them (reported by
1584 2005-10-20 Marcus Meissner <meissner@suse.de>
1587 * fontconfig/fontconfig.h:
1589 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1591 2005-10-14 Ross Burton <ross@burtonini.com>
1594 * fc-glyphname/fc-glyphname.c:
1597 Add consts to variables so as to move arrays into .rodata.
1599 2005-10-14 Mike Fabian <mfabian@suse.de>
1602 * src/fccache.c (FcDirCacheUnlink):
1604 Check existence of directory cache file before attempting to unlink.
1606 2005-10-13 Patrick Lam <plam@mit.edu>
1607 * src/fccache.c (FcDirCacheUnlink):
1609 Fix flipped return value on unlink. (Reported by Mike Fabian)
1611 2005-10-12 Patrick Lam <plam@mit.edu>
1614 * src/fcdir.c (FcDirScanConfig):
1617 When fc-cache is run without --force, use directory cache files
1618 to speed up fc-cache run time. (Reported by Mike Fabian)
1620 2005-10-06 Patrick Lam <plam@mit.edu>
1622 * src/fcname.c (FcObjectToPtr):
1623 * src/fcpat.c (FcStrStaticName):
1625 Add padding to make valgrind and glibc not hate each other
1626 when calling strlen().
1628 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1629 reviewed by: plam & keithp
1633 Modify config file to use Greek fonts before Asian fonts with
1636 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1637 reviewed by: plam & keithp
1641 Use libtool -no-undefined flag on all platforms.
1643 2005-10-05 Patrick Lam <plam@mit.edu>
1644 * src/fccache.c (FcCacheHaveBank):
1646 Implement move-to-front array for banks (perf regression
1647 reported by Ronny V. Vindenes).
1649 2005-10-04 Patrick Lam <plam@mit.edu>
1650 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1651 FcDirCacheHasCurrentArch):
1652 * fc-cache/fc-cache.c (scanDirs):
1653 * fontconfig/fontconfig.h:
1655 Add new API which unlinks directory caches and checks dir caches
1656 for existence of appropriate sections. Fix fc-cache to unlink
1657 stale cache files and save directory caches that lack relevant
1660 2005-10-03 Patrick Lam <plam@mit.edu>
1661 * src/fccache.c (FcDirCacheValid):
1663 Ensure that a directory cache has the appropriate section
1664 before reporting that it is valid (reported by Matthias Clasen).
1666 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1674 Use libxml2 if requested (with --enable-libxml2) or if
1675 expat is not available.
1677 2005-09-29 Patrick Lam <plam@mit.edu>
1678 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1680 Fix multi-arch cache files: compute the position for the
1681 block to be added using info from OrigFile, not NewFile.
1683 2005-09-28 Patrick Lam <plam@mit.edu>
1684 * src/fccache.c (FcCacheMachineSignature):
1686 Cast results of sizeof() to unsigned int to get rid of
1687 warnings on x86_64 (thanks Matthias Clasen).
1689 2005-09-27 Patrick Lam <plam@mit.edu>
1690 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1693 Use FcAtomic to rewrite cache files.
1695 2005-09-27 Patrick Lam <plam@mit.edu>
1697 * src/fccache.c (FcDirCacheWrite):
1699 Don't unlink the fonts.cache-2 file even if there's no data
1700 to write; just write an empty cache file. (thanks Lubos Lunak)
1702 2005-09-27 Patrick Lam <plam@mit.edu>
1704 * src/fccache.c (FcDirCacheWrite):
1706 Allocate room for the subdirectory names in each
1707 directory cache. Thanks to James Cloos for finding
1708 and diagnosing this bug!
1710 2005-09-22 Patrick Lam <plam@mit.edu>
1712 * fc-cache/fc-cache.sgml:
1713 * src/fccache.c (FcDirCacheWrite):
1714 * src/fccache.h (struct FcCache):
1716 Update documentation -- fc-cache's man page now says that you
1717 need to run fc-cache once per cached architecture; add some
1718 documentation to the FcCache structure.
1720 Make fc-cache write out fonts.cache-2 files for directories with
1721 no fonts (i.e. only subdirectories).
1723 2005-09-22 Patrick Lam <plam@mit.edu>
1725 * fc-cache/fc-cache.sgml:
1726 * fc-case/fc-case.c:
1727 * fc-glyphname/fc-glyphname.c:
1733 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1737 * fc-lang/fc-lang.c:
1738 * fontconfig/fcprivate.h:
1739 * fontconfig/fontconfig.h:
1753 Implement new mmaped cache for font information.
1754 Bump so revision to 2.3.90.
1756 2005-07-25 Keith Packard <keithp@keithp.com>
1758 * doc/fontconfig-user.sgml:
1759 * fc-glyphname/fc-glyphname.c: (scan), (main):
1760 * fc-lang/fc-lang.c: (FcConfigHome):
1761 * fc-match/fc-match.c: (main):
1762 * src/fccfg.c: (FcConfigHome):
1763 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1764 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1765 (addtag), (FcFontCapabilities):
1766 * src/fcpat.c: (FcValueListEntCreate):
1767 * src/fcstr.c: (FcStrCaseWalkerInit):
1768 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1770 Various GCC 4 cleanups for signed vs unsigned char
1772 Match only [0-9]*.conf files in <include>{directory}</include>
1773 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1775 2005-07-15 Carl Worth <cworth@cworth.org>
1778 * src/fcinit.c: (FcFini):
1779 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1782 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1783 Pull the FcObjectStateName hash table out to file scope, and add
1784 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1787 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1790 2005-06-16 Patrick Lam <plam@MIT.EDU>
1794 * src/fccfg.c: (FcConfigCompareValue):
1795 Make FcOpNotContains use FcStrStr for strings so that
1796 it matches semantics for !FcOpContains.
1798 2005-05-20 Keith Packard <keithp@keithp.com>
1802 Move fontconfig source package to libs as per override
1804 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1806 reviewed by: Mike Fabian
1809 The ka.orth file requires several characters which are not
1810 used anymore in modern Georgian and which are missing in the free
1811 Georgian TrueType fonts downloadable at:
1813 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1815 2005-04-27 Keith Packard <keithp@keithp.com>
1819 Update date to real 2.3.2 release date.
1820 Fix change attributions
1822 2005-04-27 Keith Packard <keithp@keithp.com>
1825 Bump so revision for 2.3.2
1826 * fc-cache/fc-cache.c: (scanDirs):
1827 Fix a few minor leaks in error cases.
1829 2005-04-23 Keith Packard <keithp@keithp.com>
1834 * fontconfig/fontconfig.h:
1835 Update for version 2.3.2
1837 2005-04-21 Keith Packard <keithp@keithp.com>
1839 * debian/fontconfig.postinst:
1840 Don't force bitmap font enable in default
1841 configuration; allows users to override this in
1851 * debian/po/pt_BR.po:
1852 * debian/po/templates.pot:
1854 * debian/po/zh_CN.po:
1855 Updated translations
1857 * fc-cache/fc-cache.c: (main):
1858 Destroy font configuration on exit to help valgrind
1861 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1862 (FcFreeTypeCheckGlyph):
1863 Use own transcoding routines in preference to iconv
1864 which appears to have leaks in some translators.
1865 Call iconv_close after using iconv (oops).
1867 Prefer unicode encoding of Euro char as some
1868 fonts mis-encode Euro in other ones.
1870 Must fetch bitmap glyphs to get width values
1871 to check for monospace/dual-width fonts.
1873 2005-04-13 Ross Burton <ross@burtonini.com>
1876 Check that a pattern isn't already frozen in FcPatternFreeze.
1878 2005-03-31 Ross Burton <ross@burtonini.com>
1883 Run all FcPattern objects through FcObjectStaticName, so that
1884 compares can be done on pointers instead of strings (#2659)
1886 2005-03-17 Tor Lillqvist <tml@novell.com>
1888 * src/fontconfig.def.in: Add the .dll to the dll name.
1890 2005-03-10 Keith Packard <keithp@keithp.com>
1892 * debian/README.Debian:
1893 Update to reflect configuration changes
1895 * debian/fontconfig.postinst:
1896 Fix Autohint vs Autohinter mistake
1897 * debian/fontconfig.templates:
1898 Adopt changes from Josselin Mouette for configuration descriptions
1899 Update debian to version 2.3.1-2
1901 2005-03-08 Keith Packard <keithp@keithp.com>
1905 Update debian for 2.3.1
1907 2005-03-09 Tor Lillqvist <tml@novell.com>
1909 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1912 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1915 2005-03-08 Keith Packard <keithp@keithp.com>
1919 * fontconfig/fontconfig.h:
1922 2005-03-05 Keith Packard <keithp@keithp.com>
1924 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1925 Include space and remove numbers from valid script tags.
1926 This ensures that tags like 'lao ' work while rejecting
1927 those which have any digits.
1928 Eliminate a spurious debugging variable (len)
1930 2005-03-05 Keith Packard <keithp@keithp.com>
1932 * src/fcfreetype.c: (addtag), (GetScriptTags),
1933 (FcFontCapabilities):
1934 Rework GSUB/GPOS script parsing to survive broken fonts.
1935 Thanks for the broken font go to Manish Singh
1937 2005-03-05 Keith Packard <keithp@keithp.com>
1942 * debian/fontconfig.config:
1943 * debian/fontconfig.templates:
1945 Include 2.3 release information in changelog
1946 Add Josselin Mouette as an Uploader
1947 Set hinting_type to low priority configuration option
1950 * debian/fontconfig.postinst:
1951 yes_bitmaps.conf -> yes-bitmaps.conf
1957 2005-03-02 Keith Packard <keithp@keithp.com>
1960 * conf.d/Makefile.am:
1961 * conf.d/autohint.conf:
1962 * conf.d/no-sub-pixel.conf:
1963 * conf.d/sub-pixel.conf:
1964 * conf.d/unhinted.conf:
1965 * debian/autohint.conf:
1966 * debian/fontconfig.install:
1967 * debian/fontconfig.postinst:
1968 * debian/fontconfig.templates:
1969 * debian/no-sub-pixel.conf:
1970 * debian/unhinted.conf:
1971 Move debian-specific conf file examples upstream.
1973 Sub-pixel configuration examples must smash subpixel value
1974 as Xft always sets it from X.
1976 Change sub-pixel rendering debconf descriptions from
1977 Enable/Disable to Always/Never.
1979 2005-03-02 Keith Packard <keithp@keithp.com>
1982 * conf.d/.cvsignore:
1984 Ignore more build detritus
1987 Add debian package construction stuff.
1989 * config/config.guess:
1990 * config/config.sub:
1991 Update to newer versions of these tools
1994 Get library manuals to build again (we love automake).
1996 * debian/README.Debian:
1997 * debian/autohint.conf:
2002 * debian/fontconfig-udeb.install:
2003 * debian/fontconfig.config:
2004 * debian/fontconfig.defoma:
2005 * debian/fontconfig.dirs:
2006 * debian/fontconfig.install:
2007 * debian/fontconfig.postinst:
2008 * debian/fontconfig.postrm:
2009 * debian/fontconfig.templates:
2010 * debian/libfontconfig1-dev.install:
2011 * debian/libfontconfig1.install:
2012 * debian/local.conf.md5sum:
2013 * debian/no-sub-pixel.conf:
2014 * debian/po/POTFILES.in:
2023 * debian/po/pt_BR.po:
2024 * debian/po/templates.pot:
2026 * debian/po/zh_CN.po:
2028 * debian/unhinted.conf:
2029 Update debian build system to switch maintainers and
2030 deal with 2.3 functionality
2032 2005-03-01 Keith Packard <keithp@keithp.com>
2036 * fontconfig/fontconfig.h:
2039 2005-03-01 Keith Packard <keithp@keithp.com>
2042 Generate and install PDF versions of the manuals
2044 * doc/fcpattern.fncs:
2047 * doc/fcstring.fncs:
2048 Add missing exported functions, fix data types
2050 * doc/fontconfig-devel.sgml:
2051 Add missing pattern elements.
2053 * doc/fontconfig-user.sgml:
2054 Add missing pattern elements. Document conf.d usage,
2055 clarify available orthography list. Fix some config file
2056 attributes. Complete list of constants.
2058 * fontconfig/fontconfig.h:
2059 Mark FC_SOURCE deprecated.
2061 * src/fcfreetype.c: (FcFreeTypeQuery):
2062 Don't set FC_SOURCE any longer.
2064 2005-02-28 Keith Packard <keithp@keithp.com>
2067 * conf.d/Makefile.am:
2069 * conf.d/no-bitmaps.conf:
2070 * conf.d/sub-pixel.conf:
2071 * conf.d/yes-bitmaps.conf:
2073 Create prototype /etc/fonts/conf.d directory with a few
2074 sample configuration files.
2075 Deprecate use of local.conf for local customizations in favor of
2076 this directory based scheme which is more easily integrated into
2077 installation systems.
2080 Tag FC_EMBOLDEN as a boolean variable
2082 2005-02-10 Keith Packard <keithp@keithp.com>
2084 reviewed by: pborelli@katamail.com
2086 * src/fcdir.c: (FcFileScanConfig):
2087 Free patterns from fonts which are rejected by configuration
2090 2005-01-28 Keith Packard <keithp@keithp.com>
2094 * fontconfig/fontconfig.h:
2095 Update for version 2.2.99
2097 2005-01-28 Keith Packard <keithp@keithp.com>
2100 Add a few pointers (#2284, #2285)
2102 2005-01-28 Keith Packard <keithp@keithp.com>
2105 * src/fcname.c: (FcNameBool):
2106 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2107 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2108 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2109 Polite typechecking for test and edit expressions. Helps
2110 catch errors in the font configuration. (bug 229)
2112 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2114 reviewed by: Keith Packard <keithp@keithp.com>
2117 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2119 2005-01-13 Keith Packard <keithp@keithp.com>
2121 * doc/fontconfig-user.sgml:
2122 Add SEE ALSO section (bug 2085)
2124 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2126 reviewed by: Keith Packard <keithp@keithp.com>
2131 * fc-case/Makefile.am:
2132 * fc-glyphname/Makefile.am:
2133 * fc-lang/Makefile.am:
2134 * src/fontconfig.def.in:
2135 Cross compiling fixes (bug 280)
2137 2005-01-13 Keith Packard <keithp@keithp.com>
2140 Update blanks list (Closes bug 86)
2142 2005-01-04 Keith Packard <keithp@keithp.com>
2144 * src/fccache.c: (FcCacheFontSetAdd):
2145 Verify that every font pattern loaded from cache has
2146 both FC_FILE and FC_FAMILY entries.
2147 Attempt to fix bug #2219.
2149 2004-12-29 Keith Packard <keithp@keithp.com>
2153 * fontconfig/fontconfig.h:
2154 Update for version 2.2.98
2156 2004-12-29 Keith Packard <keithp@keithp.com>
2158 * fontconfig/fontconfig.h:
2159 Document ASCII limitations of Fc character conversion macros
2160 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2161 Fix off-by-one error in utf-8 case walking code.
2162 Add FcStrDowncase (useful for testing case conversion functions)
2164 2004-12-29 Keith Packard <keithp@keithp.com>
2167 * fc-case/.cvsignore:
2168 clean up CVS ignore lists
2169 * fc-lang/iso-3166.txt:
2170 Add territory database
2172 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2174 Reviewed by: Keith Packard
2177 Remove Han characters from Korean orthography
2179 2004-12-29 Keith Packard <keithp@keithp.com>
2182 Reorder utility programs to make sure fc-case is run before fc-lang
2183 as fc-lang uses fcstr.c which uses fccase.h
2187 2004-12-29 Keith Packard <keithp@keithp.com>
2190 Adopt some RedHat suggestions for standard font configuration.
2194 * fc-case/CaseFolding.txt:
2195 * fc-case/Makefile.am:
2196 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2197 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2198 (dump), (parseRaw), (caseFoldReadRaw), (main):
2199 * fc-case/fccase.tmpl.h:
2200 Add new helper program 'fc-case' to construct case folding
2201 tables from standard Unicode CaseFolding.txt file
2204 * src/fclist.c: (FcListValueHash):
2205 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2206 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2207 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2208 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2209 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2210 Re-implement case insensitive functions with Unicode
2211 aware versions (including full case folding mappings)
2213 2004-12-13 Keith Packard <keithp@keithp.com>
2215 reviewed by: Owen Taylor <otaylor@redhat.com>
2217 * src/fcmatch.c: (FcFontSetSort):
2218 I changed FcFontSetSort to respect the generic aliases better
2219 in the face of language matching.
2221 What I did was to ammend the strict sort order used by FcFontSort so
2222 that it 'satisfies' the language specified in the pattern by locating
2223 the best matching font supporting each pattern language and then
2224 ignores language in the remaining fonts for purposes of matching.
2226 So, when asking for 'sans:lang=en', you'll get an English font first,
2227 and then the remaining fonts sorted with respect to the 'sans' alias
2228 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2230 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2232 reviewed by: Keith Packard <keithp@keithp.com>
2234 * fontconfig/fontconfig.h:
2237 Configuration changes to request synthetic emboldening of
2238 fonts. The actual emboldening code will live in Xft.
2240 2004-12-09 John Thacker <thacker@math.cornell.edu>
2242 reviewed by: Keith Packard <keithp@keithp.com>
2246 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2247 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2248 и), and don't even appear in KOI8-R. (The hypothesis that they
2249 don't appear in KOI8-R due to their similarity with Latin I and i is
2250 eliminated by their presence in KOI8-U.) I have a couple of fonts
2251 with Russian support that don't have the letter.
2253 Therefore, 0406 and 0456 should be removed from or commented out of
2256 2004-12-06 michael meeks <mmeeks@novell.com>
2258 Reviewed by: Keith Packard <keithp@keithp.com>
2260 * src/fcinit.c: (FcMemReport):
2262 * src/fclist.c: (FcObjectSetAdd):
2263 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2264 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2265 * src/fcxml.c: (FcParsePatelt):
2266 memoize strings and share a single copy for all uses. Note that
2267 this could be improved further by using statically allocated blocks
2268 and gluing multiple strings together, but I'm basically lazy.
2269 In my environment with 800 font files, I get a savings of about 90KB.
2271 2004-12-06 Keith Packard <keithp@keithp.com>
2275 * config/Makedefs.in:
2278 * doc/fcatomic.fncs:
2279 * doc/fcblanks.fncs:
2280 * doc/fccharset.fncs:
2281 * doc/fcconfig.fncs:
2282 * doc/fcconstant.fncs:
2284 * doc/fcfontset.fncs:
2285 * doc/fcfreetype.fncs:
2287 * doc/fcmatrix.fncs:
2288 * doc/fcobjectset.fncs:
2289 * doc/fcobjecttype.fncs:
2290 * doc/fcpattern.fncs:
2291 * doc/fcstring.fncs:
2292 * doc/fcstrset.fncs:
2294 * doc/fontconfig-devel.sgml:
2295 * doc/fontconfig-user.sgml:
2297 * doc/version.sgml.in:
2298 * fc-cache/Makefile.am:
2299 * fc-cache/fc-cache.c:
2300 * fc-glyphname/Makefile.am:
2301 * fc-glyphname/fc-glyphname.c:
2302 * fc-glyphname/fcglyphname.tmpl.h:
2303 * fc-lang/Makefile.am:
2313 * fc-lang/az_ir.orth:
2347 * fc-lang/fc-lang.c:
2348 * fc-lang/fc-lang.man:
2349 * fc-lang/fclang.tmpl.h:
2394 * fc-lang/ku_ir.orth:
2427 * fc-lang/ps_af.orth:
2428 * fc-lang/ps_pk.orth:
2457 * fc-lang/ti_er.orth:
2458 * fc-lang/ti_et.orth:
2484 * fc-lang/zh_cn.orth:
2485 * fc-lang/zh_hk.orth:
2486 * fc-lang/zh_mo.orth:
2487 * fc-lang/zh_sg.orth:
2488 * fc-lang/zh_tw.orth:
2490 * fc-list/Makefile.am:
2491 * fc-list/fc-list.c:
2492 * fc-match/Makefile.am:
2493 * fc-match/fc-match.1:
2494 * fc-match/fc-match.c:
2495 * fontconfig/fcfreetype.h:
2496 * fontconfig/fcprivate.h:
2497 * fontconfig/fontconfig.h:
2518 Change files from ISO-Latin-1 to UTF-8
2520 2004-12-04 Keith Packard <keithp@keithp.com>
2523 Update links to new freedesktop.org locations
2525 Add uninstall-local to get rid of fonts.conf and local.conf if they
2526 match the distributed versions. Fixes 'make distcheck'
2528 2004-12-04 Keith Packard <keithp@keithp.com>
2532 * fontconfig/fontconfig.h:
2533 Updates for version 2.2.97
2535 2004-12-04 Owen Taylor <otaylor@redhat.com>
2537 reviewed by: Keith Packard <keithp@keithp.com>
2539 * fc-cache/fc-cache.c: (main):
2540 Sleep for two seconds before exiting to make sure timestamps
2541 for future changes have distinct mod times in the file system.
2544 Add Punjabi orthography. Bug #1671.
2546 2004-12-04 Keith Packard <keithp@keithp.com>
2549 Just remove the FC_FONTDATE -- it has locale issues and
2550 annoys redhat multi-arch installs. Now that all X fonts are
2551 included without prejudice, the chances of the date being at
2552 all interesting are rather limited. Bug #505.
2554 Add copyright and license
2556 2004-12-04 Keith Packard <keithp@keithp.com>
2559 Change default set of fonts to include all of
2560 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2561 * doc/fontconfig-user.sgml:
2562 Document new <include>directory-name</include> semantics
2564 add <include ignore_missing="yes">conf.d</include>
2566 Add selectfont to ignore bitmap fonts, add comment for
2567 selectfont which accepts bitmap fonts.
2570 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2571 Allow <include> configuration elements to reference directories.
2572 Parse and load all files of the form [0-9]* in sorted order.
2574 2004-12-04 Keith Packard <keithp@keithp.com>
2577 Report command line for $srcdir/configure accurately.
2580 2004-12-04 Keith Packard <keithp@keithp.com>
2582 * src/fcfreetype.c: (FcFreeTypeQuery):
2583 Check for non-empty face->family_name and face->style_name
2584 before using those for the font. Empty names match everything.
2587 2004-12-04 Keith Packard <keithp@keithp.com>
2590 * fontconfig/fontconfig.h:
2591 * src/fcfreetype.c: (FcFreeTypeQuery):
2593 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2594 available. This provides font file format information (BDF, Type 1,
2595 PCF, TrueType) for each font. Closes #109.
2597 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2599 reviewed by: Keith Packard <keithp@keithp.com>
2601 * doc/fontconfig-user.sgml:
2604 * fontconfig/fontconfig.h:
2605 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2606 (GetScriptTags), (FcFontCapabilities):
2608 Add detection for font capabilities (bug #105)
2610 2004-12-04 Keith Packard <keithp@keithp.com>
2613 Move existing fonts.conf to fonts.conf.bak
2616 Add detection of iconv
2618 * doc/fcpattern.fncs:
2619 * doc/fontconfig-devel.sgml:
2620 * doc/fontconfig-user.sgml:
2622 Document new selectfont elements
2625 Switch to UTF-8 in comment
2627 * fontconfig/fontconfig.h:
2629 Add fullname, and family/style/fullname language entries
2631 * src/fccache.c: (FcCacheFontSetAdd):
2632 * src/fcdir.c: (FcFileScanConfig):
2633 Respect selectfont/*/glob
2636 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2637 (FcConfigCompareValue), (FcConfigPatternsAdd),
2638 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2639 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2640 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2641 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2642 Add support for selectfont
2644 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2645 (FcStringInPatternElement), (FcFreeTypeQuery):
2646 Add multi-lingual family/style/fullname support
2648 * src/fclist.c: (FcListPatternMatchAny):
2649 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2651 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2652 (FcObjectStaticName):
2653 Add new FcPatternRemove/FcPatternAppend.
2654 FcObjectStaticName stores computed pattern element names which
2655 are required to be static.
2657 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2662 Remove spurious / after $(DESTDIR)
2664 2004-06-30 Keith Packard <keithp@keithp.com>
2668 * fontconfig/fontconfig.h:
2671 2004-06-30 Keith Packard <keithp@keithp.com>
2673 Provided by: Lubos Lunak <l.lunak@suse.cz>
2675 * src/fccfg.c: (FcConfigUptoDate):
2676 However FcConfigUptoDate() doesn't seem to work. See the attached
2677 patch. First there's an obvious misplaced parenthesis making it
2678 return always false, and second, even this call fails to detect font
2679 changes (e.g. adding a new font to
2680 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2681 well. The problem seems to be triggered by my fonts.conf specifying
2682 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2683 doesn't include subdirs, unlike config->fontDirs.
2685 2004-06-03 Keith Packard <keithp@keithp.com>
2687 * fontconfig/fontconfig.h:
2688 Remove comma at end of FcResult enum definition.
2690 2004-05-29 Keith Packard <keithp@keithp.com>
2693 Add steps to md5sum release
2695 2004-05-29 Keith Packard <keithp@keithp.com>
2699 * fontconfig/fontconfig.h:
2702 2004-05-29 Keith Packard <keithp@keithp.com>
2704 * fontconfig/fontconfig.h:
2705 * src/fcmatch.c: (FcFontSetMatch):
2706 Add FcResultOutOfMemory to provide an accurate error when
2707 FcFontSetMatch fails in this way
2710 Make #warning about lacking various FreeType features indicate
2711 which version those features appeared so users know how to
2712 fix the problem (Thanks to Anton Tropashko)
2714 2004-05-05 Keith Packard <keithp@keithp.com>
2716 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2717 Replace MIN/MAX/ABS macros which happen to have come
2718 from FreeType with fontconfig-specific ones (FC_*)
2720 2004-04-23 Keith Packard <keithp@keithp.com>
2723 Extend release preparation instructions to include
2724 notification and distribution steps
2726 2004-04-23 Keith Packard <keithp@keithp.com>
2730 * fontconfig/fontconfig.h:
2731 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2733 2004-04-23 Keith Packard <keithp@keithp.com>
2736 Ignore a few more autotool files
2738 2004-04-14 Keith Packard <keithp@keithp.com>
2741 Add instructions for doing a release
2743 * fontconfig.spec.in:
2744 clean up .spec file; perhaps this will be useful to somebody...
2748 * fontconfig/fontconfig.h:
2751 * fc-lang/fc-lang.c:
2752 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2754 * fc-glyphname/Makefile.am:
2755 * fc-lang/Makefile.am:
2756 * fc-list/Makefile.am:
2757 * fc-match/Makefile.am:
2759 Add WARN_CFLAGS to pass -W flags for GCC systems
2761 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2762 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2763 Change various char types around to match across
2765 Fixed bug in using available_sizes[i].height which
2766 is in pixels, not 64ths of a pixel.
2768 2004-03-06 Keith Packard <keithp@keithp.com>
2770 * src/fcfreetype.c: (FcFreeTypeQuery):
2771 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2772 matches looking for explicit values prefer exact matches
2774 2004-03-02 Keith Packard <keithp@keithp.com>
2776 Supplied by: mfabian@suse.de (Mike FABIAN)
2778 * src/fcfreetype.c: (FcFreeTypeQuery):
2779 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2780 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2782 2004-02-21 Manish Singh <yosh@gimp.org>
2784 * fc-glyphname/fc-glyphname.c: (main):
2785 Cast strlen to int for printf, so we're 64-bit clean.
2787 2004-02-11 Keith Packard <keithp@keithp.com>
2790 * src/fcfreetype.c: (FcGetPixelSize):
2791 Ok, so I messed up the test for y_ppem. Let's see if I
2792 got it right this time.
2794 2004-02-10 Keith Packard <keithp@keithp.com>
2797 * src/fcfreetype.c: (FcGetPixelSize):
2798 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2799 FT_Bitmap_Size record. Add a configure.in test for this
2800 and change the code accordingly (using height instead).
2802 2004-02-06 Keith Packard <keithp@keithp.com>
2805 Add Low Saxon orthography
2806 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2808 * src/fccfg.c: (FcConfigNewestFile):
2809 Oops. Left 'newest.set' unset, which would miscompute
2812 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2813 (FcFreeTypeCheckGlyph):
2814 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2815 font properties (which report the wrong value in current FreeType)
2817 Don't attempt to check for empty glyphs in non-scalable fonts; they
2820 2004-02-01 Tor Lillqvist <tml@iki.fi>
2822 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2823 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2824 cache if config->cache is NULL, which happens if FcConfigHome() is
2825 NULL. Guard against that by using the temp folder in that case.
2827 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2829 * fc-lang/az_ir.orth:
2830 * fc-lang/ku_ir.orth:
2831 * fc-lang/ps_af.orth:
2832 * fc-lang/ps_pk.orth:
2833 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2834 (Afghan and Pakistani).
2836 Updated Urdu orthography with real data.
2838 2003-12-11 Carl Worth <cworth@east.isi.edu>
2840 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2843 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2845 (all-local): Remove excessive whitespace.
2847 * autogen.sh: Add 'set -e' to abort when any program fails,
2848 (avoids printing of 'now type make' after configure aborts).
2850 2003-11-17 Eric Christopherson <rakko@charter.net>
2852 reviewed by: Keith Packard <keithp@keithp.com>
2855 * fontconfig/fcfreetype.h:
2857 Switch to FreeType 2.1.7 style includes. Bug #150.
2859 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2861 * fc-list/fc-list.sgml: Add some example usages.
2863 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2866 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2869 2003-10-27 Keith Packard <keith@keithp.com>
2872 * fontconfig/fontconfig.h:
2873 Update to version 2.2.92
2875 2003-10-27 Keith Packard <keithp@keithp.com>
2880 * fc-cache/Makefile.am:
2881 * fc-glyphname/Makefile.am:
2882 * fc-lang/Makefile.am:
2883 * fc-list/Makefile.am:
2884 * fc-match/Makefile.am:
2887 Yet more cleanups to finish getting 'make distcheck' working
2888 This has been tested to ensure that it even works from a _build
2891 2003-10-26 Keith Packard <keithp@keithp.com>
2895 * fc-cache/Makefile.am:
2896 * fc-glyphname/Makefile.am:
2897 * fc-lang/Makefile.am:
2898 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2899 * fc-list/Makefile.am:
2900 * fc-match/Makefile.am:
2901 Attempts to fix 'make distcheck' work. Things are
2902 progressing pretty well, but there are still failures
2903 long into the process dealing with docs (as always).
2905 The big changes here are mostly to make $(srcdir) != "."
2906 work correctly, fixing the docbook related sections and
2907 fc-lang were particularily tricky. Docbook refuses to load
2908 system entities from anywhere other than where the original .sgml
2909 file was located, so no luck looking in "." for the
2910 configure-generated version.sgml and confdir.sgml files.
2912 fc-lang needed help finding .orth files; added a -d option
2913 to set the directory as the least evil of many options.
2915 Now to go use a faster machine and try and wring out the last
2918 2003-10-26 Keith Packard <keithp@keithp.com>
2922 2003-10-26 Keith Packard <keithp@keithp.com>
2925 Include confdir.sgml.in in EXTRA_DIST
2927 2003-10-09 Josselin Mouette <joss@debian.org>
2929 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2930 * fc-list/fc-list.sgml fc-list/Makefile.am:
2931 Replace fc-cache and fc-list manpages with more detailed, SGML
2934 2003-09-23 Owen Taylor <otaylor@redhat.com>
2936 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2937 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2938 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2941 2003-09-23 Owen Taylor <otaylor@redhat.com>
2943 * fc-lang/ka.orth: Remove Georgian capitals, they
2944 aren't used for normal writing. (Bug #116)
2946 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2948 * doc/fontconfig-devel.sgml:
2949 * doc/fontconfig-user.sgml:
2950 * fontconfig/fontconfig.h:
2952 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2953 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2955 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2956 monospace and dual-width fonts, allow roughly a 3% variance in the
2959 2003-08-31 Manish Singh <yosh@gimp.org>
2961 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2964 2003-08-15 Carl Worth <cworth@isi.edu>
2966 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2967 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2969 * src/fcpat.c (FcValueListEntDestroy): New function to support
2970 FcFini memory cleanup. Some statistics are not kept in
2972 (FcValueListFreeze): Move hashTable outside this function so it
2973 can be accessed by FcValueListThawAll.
2974 (FcValueListThawAll): New function complements FcValueListFreeze.
2975 (FcPatternBaseFreeze): Move hashTable outside this function so it
2976 can be accessed by FcPatternBaseThawAll.
2977 (FcPatternBaseThawAll): New function complements
2978 FcPatternBaseFreeze.
2979 (FcPatternThawAll): New function complements FcPatternFreeze.
2981 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2983 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2984 allocated FcCharLeafEnt "blocks" so they can be freed later.
2985 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2986 can be accessed by FcCharSetThawAllLeaf.
2987 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2988 (FcCharSetFreezeBase): Move hashTable outside this function so it
2989 can be accessed by FcCharSetThawAll.
2990 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2992 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2993 (FcConfigDestroy): Fic leak of FcBlanks.
2995 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2996 (main): Add call to FcFini when finished.
2998 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2999 static. Add prototypes.
3001 * doc/fcinit.fncs: Add documentation for FcFini function.
3003 * doc/edit-sgml.c: Mark several local functions as static. Add
3006 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3008 2003-06-15 Tor Lillqvist <tml@iki.fi>
3010 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3011 before comparing (needed on Windows).
3013 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3015 2003-06-13 Tor Lillqvist <tml@iki.fi>
3017 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3020 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3021 WINDOWSFONTDIR token.
3023 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3024 end, not to confuse libtool, which expects the EXPORTS line to be
3025 the first. Add FcConfigEnableHome.
3027 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3028 built as a DLL on Win32.
3030 2003-06-09 Keith Packard <keithp@keithp.com>
3032 * Tag version 2.2.90
3034 2003-06-09 Keith Packard <keithp@keithp.com>
3036 * Optimization in FcLangSetIndex was broken, occasionally
3037 returning a pointer to the wrong location on miss
3039 * Add fc-match to test font matching from the command line.
3041 2003-05-31 Keith Packard <keithp@keithp.com>
3043 * (Bug 85) add support for culmus fonts
3044 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3045 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3047 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3049 * Fix "contains" op for strings and langsets.
3051 2003-05-17 Keith Packard <keithp@keithp.com>
3053 * Fix build error with BDF prop local. Free langset after query
3055 2003-05-14 Keith Packard <keithp@keithp.com>
3057 * Extract spacing from XLFD atom
3059 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3061 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3062 disappeared in 1.30.
3064 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3066 2003-05-12 Keith Packard <keithp@keithp.com>
3068 * Use FcIsWidth to share code
3070 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3071 misclassifying some Han fonts as monospaced.
3073 2003-05-07 Keith Packard <keithp@keithp.com>
3075 * Add filename-based accept/reject to ammend available fonts.
3077 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3078 older FreeType releases.
3080 2003-05-06 Keith Packard <keithp@keithp.com>
3082 * Remove 0b82 and Tamil numbers from tamil
3083 orthography (Jungshik Shin <jshin@mailaps.org>)
3085 2003-05-04 Keith Packard <keithp@keithp.com>
3087 + Map glyph names in fonts with adobe custom encoding to unicode
3089 2003-05-02 Keith Packard <keithp@keithp.com>
3091 * Add FC_WEIGHT_BOOK as weight 75
3093 2003-04-30 Keith Packard <keithp@keithp.com>
3095 * Typo in bitstream foundry name
3097 2003-04-24 Keith Packard <keithp@keithp.com>
3099 * Eliminate italic_angle check for PS fonts
3101 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3103 * Getting closer to fixing /etc/fonts hard-coding.
3105 2003-04-22 Keith Packard <keithp@keithp.com>
3107 * Update autogen.sh to work with newer automake versions
3108 * Handle pattern elements moving during multiple edits
3110 2003-04-23 James Henstridge <james@daa.com.au>
3112 * doc/fontconfig-devel.sgml: close the <para> element.
3114 * doc/fcpattern.fncs: close the <para> element.
3116 * doc/func.sgml: close the <refsynopsisdiv> element.
3118 2003-04-22 Keith Packard <keithp@keithp.com
3120 * Update autogen.sh to work with newer automake versions
3121 * Handle pattern elements moving during multiple edits
3123 2003-04-17 Colin Walters <walters@debian.org>
3125 + Remove some unused variables, and initialize some other ones so
3126 gcc doesn't warn us.
3128 2003-04-16 Keith Packard <keithp@keithp.com>
3130 + tag version 2.1.94
3132 2003-04-16 Keith Packard <keithp@keithp.com>
3134 + add BDF property fetching support for foundry
3135 (from Juliusz Chroboczek)
3136 + add BDF property fetching support for width
3138 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3140 + Implemented foundry generation for Type 1 and TrueType
3142 2003-04-11 Gerard Escalante <g2@magestudios.net>
3144 + Retrieve information from Type1 FontInfo dictionaries
3146 2003-04-07 Colin Walters <walters@verbum.org>
3148 + src/Makefile.am: Fix dummy makefile target names when
3149 MS_LIB_AVAILABLE isn't set.
3151 2003-03-22 Tor Lillqvist <tml@iki.fi>
3153 Changes for Windows:
3155 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3157 + We don't want to hardcode the fonts.conf file location in the
3158 DLL, so we look up the DLL location at run-time in a DllMain()
3159 function. The fonts.conf location is deduced from that.
3161 + The colon can't be used as path separator on Windows,
3162 semicolon is used instead. File path components can be separated
3163 with either slash or backslash. Absolute paths can also begin
3164 with a drive letter.
3166 + Add internal function FcStrLastSlash that strrchr's the last
3167 slash, or backslash on Windows.
3169 + There is no link() on Windows. For atomicity checks, mkdir a
3170 lock directory instead.
3172 + In addition to HOME, also look for USERPROFILE.
3174 + Recognize the special font directory token WINDOWSFONTDIR, to
3175 use the system's font directory.
3177 + Remove the fontconfig-def.cpp that was obsolete. Add
3178 fontconfig.def(.in), without internal functions.
3180 + Add a fontconfig-zip(.in) script, used to build a binary
3183 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3184 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3185 to main package and man3/* to devel package
3187 + Added missing defattr(-, root, root) to main RPM package
3189 + Added HTML and text development documentation to -devel subpackage
3191 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3192 + Added back the configure macro options --disable-docs, otherwise
3193 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3194 version number) unconditionally, causing RPM to fail the build due
3195 to _unpackaged_files_terminate_build. We pick up the pregenerated
3196 docs with %doc already.
3198 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3199 + Removed commented out rpm macro define at top of spec file,
3200 replacing it with a simple explanation, since rpm macros are
3201 expanded by rpm even in comments.
3203 + Changed /usr/bin to _bindir in BuildRequires lines
3205 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3207 + Reorganized file manifest lists
3209 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3211 + fontconfig.spec.in: Improvements from Red Hat spec file.
3213 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3215 + docs/*.sgml: SGML fixes.
3217 Sat Mar 1 17:28:53 PST 2003 keithp
3218 + Ok, so the ChangeLog is a bit out of date
3220 + Lots of bugs fixed; most are in bugzilla, the
3221 biggest problems were in cache management where
3222 Owen discovered the library would lose badly when
3223 combining fonts-cache and ~/.fonts-cache data
3225 + Converted from autoconf to automake. This after
3226 getting patches accepted into libtool to allow
3227 the '-version-number' argument which lets
3228 packages set version numbers explicitly rather
3229 than the roundabout libtool way
3231 + Converted documentation to SGML using the docbook
3232 DTD. Now .txt and .html documents are installed
3233 in /usr/share/doc/fontconfig and there's no
3234 man page. Perhaps a man version can be written
3237 Sat Aug 31 15:21:22 PDT 2002 keithp
3238 + Xrender and Xft had several bugs related to
3239 rendering manually placed or poly-face text
3241 + Added more complete memory tracing in fontconfig
3242 Checked with (patched) mozilla and found no leaks
3244 + Updated Latin orthographies by comparing those from
3245 evertype.com with those from eki.ee. Tried to make
3246 sensible choices, including chars that occured in both
3247 and leaving some optional chars out that occured only
3250 Mon Aug 26 16:33:04 PDT 2002 keithp
3251 + Owen discovered that FcLangSetHasLang wasn't actually
3252 checking the language set.
3254 Mon Aug 26 13:37:23 PDT 2002 keithp
3255 + Append a version number to cache filenames
3257 Thu Aug 22 11:36:18 PDT 2002 keithp
3259 + Add "contains" and "not_contains" operators and elements to
3262 + Changed semantics of eq operator for LangSets to check for
3263 FcLangEqual so that any match will do
3265 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3266 of FcValueEqual to check for identical values when inserting into
3267 the results. This broke when the above semantic change was made,
3268 now it uses FcValueEqual which is "more correct" in any case.
3270 Thu Aug 22 00:32:29 PDT 2002 keithp
3272 + Reimplement FC_LANG as new datatype. Lists of strings
3273 was consuming over a megabyte of memory for 401 fonts.
3275 + Freeze patterns loaded from cache files. This shares
3276 common value lists and common patterns which saves
3277 considerable memory.
3279 + Change the denotation of 'constant' charsets to use special
3280 ref value instead of separate boolean.
3282 + Clean up leak tracing stuff, found several unannoted alloc/free
3285 Tue Aug 20 16:17:37 PDT 2002 keithp
3287 + Fix memory leak when parsing matrices from XML
3289 Mon Aug 19 11:57:27 PDT 2002 keithp
3291 + Fix autoconf files to pass FONTCONFIG_PATH on
3292 compile line so that ${prefix} gets substituted
3295 + Use getc_unlocked/putc_unlocked on systems that
3296 provide them to avoid damage done to stdio by posix
3298 + Eliminate FC_PATTERN and FcTypePattern in favor of
3299 an extended api for FcConfigSubstitute which takes
3300 both the font and the pattern.
3302 + Add 'sans serif' alias for 'sans-serif' as some apps
3303 can't handle hyphens in family names
3305 + Eliminate pretense of support for libxml2
3307 + Comment origins of Han orthographies
3309 Tue Jul 30 18:37:09 PDT 2002 keithp
3311 + Add binding property to edit element so that strong
3312 binding values may be inserted by the config file.
3313 The default remains weak.
3315 Sun 28 Jul 04:16:55 PDT 2002 keithp
3317 + Tagged release candidate 1 in the CVS tree and
3318 placed fcpackage.rc1.tar.gz for distribution
3320 Thu Aug 1 08:55:08 PDT 2002 keithp
3322 + Fixed autoconf builds to always specify install
3323 target files (for BSD). Also fixed to
3324 define FONTCONFIG_PATH in config.h so that
3325 nonstandard installs will actually work.