1 2006-04-14 Patrick Lam <plam@mit.edu>
4 Actually, just add URW fonts as aliases for all of the PostScript
5 fonts. (reported by Miguel Rodriguez).
7 2006-04-13 Patrick Lam <plam@mit.edu>
10 Add an alias 'Standard Symbols L' for 'Symbol'.
12 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
15 * src/fcpat.c: (FcPatternFreeze):
16 Fix memory leak (Coverity defect #2089).
18 * src/fcfreetype.c: (GetScriptTags):
19 Ignore script if subtable is missing (Coverity defect #2088).
21 2006-04-12 Patrick Lam <plam@mit.edu>
22 * src/fccfg.c (FcConfigSubstituteWithPat):
24 Fix possible null pointer dereference (Coverity defect #784)
25 and memory leak (Coverity defects #785, #786).
27 2006-04-12 Patrick Lam <plam@mit.edu>
28 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
30 Don't copy FcCharSet if we're going to throw it away anyway.
31 (Reported by Kenichi Handa).
33 2006-04-11 Ming Zhao <ming@gentoo.org>
36 * src/fcname.c (FcObjectToPtrLookup):
38 Fix bad behaviour on realloc resulting in crash.
40 2006-04-11 Patrick Lam <plam@mit.edu>
41 * src/fccache.c (FcGlobalCacheReadDir):
43 Don't crash if config is null (Coverity defect #984).
45 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
48 * src/fccharset.c (FcCharSetPutLeaf):
49 * src/fclang.c (FcNameUnparseLangSet):
51 Missing bits from previous patches.
53 * src/fccharset.c (FcCharSetSubtractCount):
54 Remove extra semi-colon.
56 * src/fccfg.c (FcConfigBuildFonts):
57 Fix memory leak in error case (Coverity defects #776, #985).
59 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
60 Fix memory leaks (Coverity defects #779, #781)
61 and memory use after free (Coverity defect #780).
63 2006-04-11 Patrick Lam <plam@mit.edu>
64 * src/fccharset.c (FcCharSetPutLeaf):
66 Properly convert static charsets to dynamic charsets.
68 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
71 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
73 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
75 * src/fclang.c: (FcNameUnparseLangSet):
76 Fix memory leak (Coverity defect #1819).
78 * fc-lang/fc-lang.c: (scan):
79 prevent crash when invalid include line is parsed (Coverity defect
82 * fc-cat/fc-cat.c: (FcCacheFileRead):
83 Fix potential null pointer access (Coverity defect #1804).
85 * src/fcname.c: (FcObjectUnserialize):
86 Remove dead code (Coverity defect #1194).
88 * src/fcfreetype.c: (GetScriptTags):
89 Prevent potential null pointer access (Coverity defect #767),
90 ensure error value is read (Coverity defect #1195).
92 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
97 Survive missing docbook2pdf.
99 2006-04-10 Patrick Lam <plam@mit.edu>
101 * fc-glyphname/fc-glyphname.c:
104 Include more stub definitions to make HP-UX's C compiler happy.
106 2006-04-10 Patrick Lam <plam@mit.edu>
107 * src/fcname.c (FcObjectUnserialize):
109 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
111 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
114 * src/fccfg.c: (FcConfigEvaluate):
115 Fix string memory leak (Coverity defect #1823).
117 * src/fccache.c: (FcDirCacheUnlink):
118 Fix memory leak with hash collision (Coverity defect #1824).
120 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
123 * src/fccache.c: (FcGlobalCacheSave):
124 Don't leak header in non-error case (Coverity defect #1825).
126 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
129 * src/fcdir.c (FcDirScanConfig)
130 Don't leak in error cases (Coverity defects #777, #1826)
132 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
135 * src/fccache.c: (FcDirCacheWrite):
136 Fix double free (spotted by Coverity, CID #1965).
138 * fc-match/fc-match.c: (main):
139 Check if pattern is not null before using it (Coverity defect #1883).
141 * src/fccache.c: (FcDirCacheWrite):
142 Fix memory leak with hash collision (Coverity defect #1829).
144 * src/fccfg.c: (FcConfigBuildFonts):
145 Fix memory leak when bail cases (Coverity defect #1828).
147 * src/fccache.c: (FcGlobalCacheLoad):
148 Don't leak directory name (Coverity defect #1827).
150 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
152 * fc-cache/Makefile.am:
153 * fc-cat/Makefile.am:
154 * fc-list/Makefile.am:
155 * fc-match/Makefile.am:
157 LD_ADD missing dependencies for binaries. Reported by
160 2006-04-07 Patrick Lam <plam@mit.edu>
162 * fc-lang/fc-lang.c (main):
164 SGI compilation fixes (reported by Christoph Bauer):
165 1) reorder union definition of _FcChar;
168 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
171 * src/fccharset.c (FcCharSetNeededBytes):
172 * src/fcfs.c (FcFontSetNeededBytes):
174 * src/fclang.c (FcLangSetNeededBytesAlign):
175 * src/fcname.c (FcObjectNeededBytesAlign):
176 * src/fcpat.c (FcPatternNeededBytesAlign,
177 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
179 Portability fixes for HP-UX (reported by Christoph Bauer).
180 Replace '__inline__' by AC_C_INLINE and 'inline'.
181 Replace '__alignof__' by 'fc_alignof'.
183 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
187 Move up #include of config.h.
188 Fail if neither inttypes.h nor stdint.h is available.
191 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
192 Patrick Lam <plam@mit.edu>
194 * fc-cache/fc-cache.c:
196 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
197 FcDirCacheConsume, FcDirCacheProduce,
198 FcDirCacheWrite, FcCacheMachineSignature):
199 * src/fcfreetype.c (FcFreeTypeQuery):
200 * src/fontconfig.def.in:
202 Make fontconfig compile under MinGW:
203 1) remove unneeded #includes;
204 2) make use of mmap and sysconf conditional;
205 3) replace rand_r by srand/rand if needed;
206 4) use chsize instead of ftruncate; and
207 5) update libtool exports file
209 2006-04-07 Patrick Lam <plam@mit.edu>
210 * src/fcdir.c (FcDirScanConfig):
214 2006-04-06 Patrick Lam <plam@mit.edu>
215 * fc-match/.cvsignore:
216 * fc-match/Makefile.am:
217 * fc-match/fc-match.sgml:
219 Update documentation for fc-match (SGML-ize it).
220 (reported by Ilya Konstantinov)
222 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
228 Reduce amount of dirty rss by const'ing some data structures.
230 2006-04-06 Patrick Lam <plam@mit.edu>
231 * fc-cache/Makefile.am:
233 Don't fail if we can't create or remove
234 $(pkgcachedir) i.e. /var/cache/fontconfig.
235 (reported by Quanah Gibson-Mount).
237 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
240 * fc-glyphname/fc-glyphname.c:
241 * fc-lang/fc-lang.c (main):
242 * fc-match/fc-match.c:
243 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
245 * src/fcfreetype.c (FcFreeTypeQuery):
246 * src/fclang.c (FcFreeTypeLangSet):
249 Fix intel compiler warnings: make many variables static,
250 eliminate duplicate names, reduce variable scopes, unsigned/signed
253 2006-03-24 Mike Fabian <mfabian@suse.de>
255 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
257 Fix multiarch support (don't destroy multiarch files!)
259 2006-03-24 Patrick Lam <plam@mit.edu>
262 Require pkg-config. (Thanks Behdad;
263 better solution wanted for libxml2 detection!)
265 2006-03-22 Patrick Lam <plam@mit.edu>
268 On Windows, unlink before rename. Reported by Tim Evans.
270 2006-03-15 Patrick Lam <plam@mit.edu>
274 Fix typos in orth files. Reported by Denis Jacquerye.
276 2006-03-08 Patrick Lam <plam@mit.edu>
278 * config/config.guess:
281 Fix Makefile.am for removal of debian/ directory.
283 2006-03-08 Patrick Lam <plam@mit.edu>
286 Ignore debian/ directory for CVS.
288 2006-03-08 Patrick Lam <plam@mit.edu>
291 Now remove debian/ directory.
293 2006-03-08 Patrick Lam <plam@mit.edu>
296 Remove debian/ directory from sources. See Debian's subversion
297 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
300 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
304 * fc-lang/iso639-1, fc-lang/iso639-2:
306 Add orthography for Lingala.
308 2006-03-08 Carl Worth <cworth@cworth.org>
311 * conf.d/Makefile.am:
312 * conf.d/10LohitGujarati.conf:
314 Add a configuration file that disables hinting for the Lohit
315 Gujarati font (since the hinting distort some glyphs quite badly).
317 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
320 * src/fcdir.c (FcDirScanConfig):
322 Sort directory entries while scanning them from disk;
323 prevents Heisenbugs due to file ordering in a directory.
325 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
328 * src/fcfreetype.c (GetScriptTags):
329 * src/ftglue.c, src/ftglue.h:
331 Remove stuff we don't use, make get_{char,short,long} functions
332 of ftglue macros to be inlined.
335 * src/fcname.c (FcObjectSerialize):
337 Code cleanups (excess prototype, old-style function definition).
339 2006-03-05 Patrick Lam <plam@mit.edu>
340 * src/fcpat.c (FcPatternGetString):
342 Because we hacked FcPatternGet, we don't really need to expand the
343 filename again in FcPatternGetString.
345 2006-03-05 Patrick Lam <plam@mit.edu>
346 * src/fcpat.c (FcPatternGetString, FcPatternGet):
348 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
349 Make that work. Reported by Bernhard Rosenkraenzer.
351 2006-03-03 Patrick Lam <plam@mit.edu>
354 Include inttypes.h instead of stdint.h if appropriate.
356 2006-03-03 Patrick Lam <plam@mit.edu>
357 * fc-cat/fc-cat.c (FcFileIsDir):
358 * fc-glyphname/fc-flyphname.c:
360 More stub definitions and remove FcFileIsDir from fc-cat.
362 2006-03-03 Patrick Lam <plam@mit.edu>
365 Fix compilation on AIX with stub definitions (bug 6097).
367 2006-03-03 Patrick Lam <plam@mit.edu>
368 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
369 * src/fcfreetype.c (GetScriptTags):
370 * src/fcfs.c (FcFontSetDistributeBytes):
371 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
373 Get rid of C++-style comments.
375 2006-03-03 Patrick Lam <plam@mit.edu>
378 Enable creation of 2.3.94 Debian packages.
380 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
383 * src/fclang.c (FcCharSetForLang):
385 Fix suspicious return expression which causes junk
388 2006-02-24 Patrick Lam <plam@mit.edu>
392 * fontconfig/fontconfig.h:
394 Bump version to 2.3.94.
396 2006-02-24 Patrick Lam <plam@mit.edu>
401 2006-02-24 Patrick Lam <plam@mit.edu>
402 * conf.d/10-fonts-persian.conf:
404 Remove unconditional emboldening (per Behdad's instructions).
408 Add @s to hide some echos.
410 2006-02-24 Mike Fabian <mfabian@suse.de>
411 Takashi Iwai <tiwai@suse.de>
414 * src/fcfreetype.c (GetScriptTags):
416 Fix double-free on error case.
418 2006-02-21 Patrick Lam <plam@mit.edu>
419 * fc-lang/fc-lang.c (scan):
421 Strip \r and whitespace from input; fixes bug 3454.
423 2006-02-21 Patrick Lam <plam@mit.edu>
424 * fc-lang/fc-lang.c (main):
426 Allocate large arrays statically in fc-lang to fix crashes under
429 2006-02-21 Diego Petten <flameeyes@gentoo.org>
430 * src/fcfreetype.c (FcFreeTypeCharIndex):
432 Pass the buck; make fontconfig not crash on pango badness.
434 2006-02-21 Patrick Lam <plam@mit.edu>
435 * conf.d/10-fonts-persian.conf:
437 Use embeddedbitmap rather than rh_prefer_bitmap.
439 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
442 * src/fccache.c (FcDirCacheWrite):
443 * src/fcdir.c (FcFileScanConfig):
444 * src/fcfreetype.c (FcStringInPatternElement):
445 * src/fcxml.c (FcParseFamilies):
446 * src/ftglue.c (ftglue_face_goto_table):
448 Eliminate redundancies.
450 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
453 * fc-list/fc-list.c (main):
454 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
455 * src/fcstr.c (FcStrStr):
456 * src/fcxml.c (FcConfigSaveAttr):
458 Eliminate unused vars reported by Intel's compiler.
460 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
465 Remove one more archaic character.
467 2006-02-21 Ross Burton <ross@burtonini.com>
468 reviewed by: plam, keithp
470 * src/fcxml.c (FcParsePatelt):
472 Freeze patterns created by configuration file for tiny
473 memory savings (every little bit helps).
475 2006-02-21 Mike Fabian <mfabian@suse.de>
478 * fc-cat/fc-cat.c (main):
480 Initialize fontconfig library in fc-cat to avoid segfault.
482 2006-02-18 Patrick Lam <plam@mit.edu>
483 * fc-cache/fc-cache.c (scanDirs):
484 * src/fccache.c (FcCacheReadDirs):
485 * src/fcdir.c (FcDirScanConfig):
487 Fix the underlying cause of the below segfault (must usually
488 call FcDirCacheHasCurrentArch after FcDirCacheValid).
490 2006-02-18 Patrick Lam <plam@mit.edu>
491 * src/fccache.c (FcDirCacheHasCurrentArch):
493 Fix triggering of segfault caused by misreading cache files
494 (reported by fcrozat).
496 2006-02-17 Patrick Lam <plam@mit.edu>
497 * src/fcint.h (FC_CACHE_MAGIC):
499 Bump up magic version; we changed the binary format.
501 2006-02-17 Patrick Lam <plam@mit.edu>
502 * fc-cat/fc-cat.c (main):
504 Enable fc-cat to print out old-style cache info when given a
507 2006-02-16 Patrick Lam <plam@mit.edu>
508 * src/fccache.c (FcDirCacheHasCurrentArch):
510 Deal correctly with changing FC_CACHE_MAGIC.
512 2006-02-16 Patrick Lam <plam@mit.edu>
513 * fc-cache/fc-cache.c (usage, scanDirs, main):
515 Add -r --really-force option which blows away cache files and then
518 2006-02-16 Patrick Lam <plam@mit.edu>
519 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
521 Don't bail if fontconfig can't remove a dir cache file.
522 Skip the ID of a cache file when copying.
523 Eliminate 'source file too small' bug in FcDirCacheWrite.
525 2006-02-13 Patrick Lam <plam@mit.edu>
526 * src/fcfreetype.c (FcFreeTypeQuery):
528 Fix memory leak in error condition code.
530 2006-02-13 Mike Fabian <mfabian@suse.de>
532 * src/fcfreetype.c (FcFreeTypeQuery):
534 Skip bitmap fonts which can't even get it together enough to
535 declare a family name; this appears to reproduce previous
536 fontconfig behaviour.
538 2006-02-10 Takashi Iwai <tiwai@suse.de>
540 * src/fccache.c (FcDirCacheOpen):
542 Try to open /var/cache/fontconfig/[hashed name] before
543 fonts.cache-2 in a directory, because /var/cache/fontconfig
544 failures ought to be fixable, unlike fonts.cache-2 failures,
545 which may leave you screwed.
547 2006-02-10 Takashi Iwai <tiwai@suse.de>
549 * src/fcmatch.c (FcFontSetMatch):
551 Use a tri-state to mark the fonts which didn't get blocked but
552 were just missing an element, to distinguish them from the
553 fonts that do match the element.
555 2006-02-10 Takashi Iwai <tiwai@suse.de>
557 * src/fcmatch.c (FcFontSetMatch):
559 Don't kill fonts because they don't declare an element that's
562 2006-02-09 Patrick Lam <plam@mit.edu>
563 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
564 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
566 Define and pass O_BINARY to open if appropriate, for those
567 platforms that need it. Reported by Doodle.
569 2006-02-09 Patrick Lam <plam@mit.edu>
570 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
573 Fix problem with missing 'en' due to euro.patch: change
574 cache file format slightly to coincide with that generated
577 2006-02-07 Patrick Lam <plam@mit.edu>
578 * src/fccache.c (FcCacheReadDirs):
582 2006-02-07 Patrick Lam <plam@mit.edu>
583 * src/fcdir.c (FcDirScanConfig):
585 Don't reject dirs that can't be normalized (fixes lilypond, and
586 is correct in the context of application font directories.)
588 2006-02-07 Takashi Iwai <tiwai@suse.de>
591 * src/fccache.c (FcCacheReadDirs):
593 Use normalized directory name exclusively in FcCacheReadDirs.
595 2006-02-07 Dirk Mueller <dmueller@suse.com>
598 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
600 Perf optimizations. Inline FcValueCanonicalize,
601 reduce FcValueListPtrU usage, remove redundant cast.
603 2006-02-07 Takashi Iwai <tiwai@suse.de>
606 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
609 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
610 Declare extern for static arrays as arrays, not pointers.
611 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
613 2006-02-07 Dirk Mueller <dmueller@suse.com>
626 Add Euro sign to list of symbols required by European languages.
628 2006-02-07 Patrick Lam <plam@mit.edu>
629 * src/fccache.c (FcCacheReadString):
631 Fix hidden variable warning.
633 2006-02-07 Dirk Mueller <dmueller@suse.com>
636 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
638 Remove de-escaping logic because FcCacheWriteString
639 doesn't escape anyway. Do blockwise reading instead
640 of byte-wise for performance.
642 2006-02-06 Patrick Lam <plam@mit.edu>
643 Takashi Iwai <tiwai@suse.de>
645 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
647 Don't loop infinitely on recursive symlinks (client-side).
649 2006-02-06 Takashi Iwai <tiwai@suse.de>
651 * fc-cache/fc-cache.c (scanDirs, main):
653 Don't loop infinitely on recursive symlinks.
655 2006-02-06 Takashi Iwai <tiwai@suse.de>
657 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
658 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
659 FcGlobalCacheSave, FcCacheReadDirs):
662 Skip subdirs when skipping over stale bits of global cache.
663 Introduce state machine into FcGlobalCacheDir to avoid
664 doing inappropriate operations on global dir entries, e.g.
665 writing out an out-of-date cache entry.
667 2006-02-06 Takashi Iwai <tiwai@suse.de>
669 * src/fcdir.c (FcFileScanConfig):
671 Hoist FcFileIsDir check out of FcFileScanConfig loop.
673 2006-02-06 Takashi Iwai <tiwai@suse.de>
676 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
677 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
679 Don't rescan when trying to normalize a non-declared font dir.
680 Don't add font dirs multiple times (even if they're aliased).
682 2006-02-06 Dirk Mueller <dmueller@suse.de>
685 * src/fcfs.c (FcFontSetUnserialize):
687 Explain apples/oranges comparison and fix compilation error.
689 2006-02-06 Dirk Mueller <dmueller@suse.de>
692 * src/fcfs.c (FcFontSetUnserialize):
694 Insert check for integer overflow in # of fonts.
696 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
700 * fc-cache/Makefile.am:
701 * fc-cat/Makefile.am:
702 * fc-list/Makefile.am:
704 Make 'make distcheck' work with automake 1.6.3.
706 2006-02-03 Takashi IWAI <tiwai@suse.de>
709 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
712 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
713 FcDirCacheConsume, FcDirCacheWrite)
714 * src/fcxml.c (FcConfigMessage):
716 Check I/O call return values and eliminate unused variable
719 2006-02-03 Takashi Iwai <tiwai@suse.de>
722 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
726 2006-02-03 Dirk Mueller <dmueller@suse.de>
729 * src/fcfs.c (FcFontSetUnserialize):
731 Gracefully handle the case where a cache asserts that it
732 has a negative number of fonts, causing overflow.
734 2006-02-03 Patrick Lam <plam@mit.edu>
735 * src/fccache.c (FcDirCacheUnlink):
737 Fix double free in error case.
739 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
740 Stephan Kulow <coolo@suse.de>
743 * fc-cache/Makefile.am:
745 Replace 'stamp' target with mkinstalldirs.
747 2006-01-31 Mike Fabian <mfabian@suse.de>
750 * src/fccache.c (FcGlobalCacheLoad):
752 Toast broken global cache files.
754 2006-01-30 Patrick Lam <plam@mit.edu>
755 * src/fccache.c (FcGlobalCacheReadDir):
757 Actually use the directories that I added to the global cache.
760 2006-01-30 Mike Fabian <mfabian@suse.de>
763 * fc-cache/fc-cache.c (scanDirs):
765 Don't stop scanning if a directory in fonts.conf doesn't
766 exist, because subsequent directories might exist.
768 2006-01-30 Patrick Lam <plam@mit.edu>
769 * src/fccache.c (FcGlobalCacheLoad):
771 Make global cache work again after putting dir names into global
772 cache (I misplaced the recording of a file offset).
774 2006-01-30 Patrick Lam <plam@mit.edu>
775 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
777 Update fc-cat to handle subdir lists in global cache file.
779 * src/fccache.c (FcGlobalCacheLoad):
781 Another FcCacheReadString return value check.
783 2006-01-30 Mike Fabian <mfabian@suse.de>
786 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
787 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
789 Make fccache more resilient to broken cache files by checking
790 return value of FcCacheReadString all the time.
792 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
795 * fc-match/fc-match.1:
796 * fc-lang/fc-lang.man:
798 Remove references to dead fontconfig(3) manpages in
799 other fontconfig manpages.
801 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
804 * doc/fcpattern.fncs:
806 Fix world's tiniest typo in code example.
808 2006-01-29 Mike Fabian <mfabian@suse.de>
811 * src/fccache.c (FcGlobalCacheReadDir):
813 Fix global cache reads of subdirectories.
815 2006-01-29 Patrick Lam <plam@mit.edu>
817 Add documentation for FcConfigNormalizeFontDir.
819 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
820 FcGlobalCacheUpdate, FcGlobalCacheSave):
821 * src/fcdir.c (FcDirScanConfig):
824 Write directory information to global caches to fix make check
825 (reported by Ronny V. Vindenes). This changes the global cache
828 2006-01-27 Patrick Lam <plam@mit.edu>
829 * fc-cache/fc-cache.c (scanDirs):
830 * fontconfig/fontconfig.h:
832 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
834 Move FcConfigNormalizeFontDir call so that it doesn't result in
835 infinite recursion (reported by Ronny V. Vindenes).
837 2006-01-26 Patrick Lam <plam@mit.edu>
838 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
839 * src/fccfg.c (FcConfigNormalizeFontDir):
841 Add a couple of missing normalizations to make fc-cache work
842 right; only scan subdirectories once.
844 2006-01-26 Mike Fabian <mfabian@suse.de>
847 * src/fcacache.c (FcGlobalCacheReadDir):
849 Don't crash on non-existant directories in global cache.
851 2006-01-26 Patrick Lam <plam@mit.edu>
852 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
853 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
854 * src/fcdir.c (FcDirScanConfig):
855 * src/fcxml.c (FcEndElement):
857 Stop trampling the directory name when writing out caches.
858 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
859 subdirs when necessary. Don't scan directories that can't be
862 2006-01-25 Patrick Lam <plam@mit.edu>
863 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
864 * src/fccfg.c (FcConfigEvaluate):
865 * src/fcfreetype.c (FcPatternAddWithBinding):
867 Fix additional memory leaks reported by Ronny V. Vindenes: don't
868 invoke FcValueSave on hashed static strings in
869 FcPatternAddWithBinding.
871 Add another st_dev check in FcDirCacheOpen.
873 2006-01-24 James Su <james.su@gmail.com>
876 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
877 * fc-lang/zh_hk.orth:
879 Treat zh-hk fonts differently from zh-tw fonts. This patch may
880 cause fontconfig to treat A-X fonts differently from A-Y fonts;
881 please mail the fontconfig list if this causes any problems.
883 2006-01-24 Patrick Lam <plam@mit.edu>
884 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
885 * src/fcfreetype.c (FcFreeTypeQuery):
887 Fix memory leaks reported by Ronny V. Vindenes.
889 2006-01-19 Andreas Schwab <schwab@suse.de>
892 * src/fcpat.c (FcStrNeededBytes):
894 Fix for unaligned memory accesses.
896 2006-01-18 Mike Fabian <mfabian@suse.de>
899 * src/fcdir.c (FcDirScanConfig):
901 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
902 calls to avoid crashes.
904 2006-01-14 Patrick Lam <plam@mit.edu>
905 * src/fccache.c (FcDirCacheConsume):
907 Fix segfault when consuming zero-length caches in fc-cat
908 (which has no config, so FcConfigAddFontDir shouldn't be called.)
910 2006-01-14 Patrick Lam <plam@mit.edu>
911 * fc-cache/fc-cache.c (scanDirs):
912 * fontconfig/fontconfig.h:
913 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
914 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
915 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
916 * src/fcdir.c (FcDirScanConfig):
919 Compare device numbers as well as inodes.
920 Always normalize directory names before comparing them.
922 2006-01-11 Mike Fabian <mfabian@suse.de>
925 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
927 Allocate extra space for appended '/' in directory name.
929 2006-01-10 Patrick Lam <plam@mit.edu>
930 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
931 FcDirCacheValid, FcDirCacheHasCurrentArch,
932 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
933 * fc-cache/fc-cache.c (main):
935 Explicitly add font dirs to config.fontDirs even if they're empty.
936 Set current config in fc-cache.c.
937 Fix treatment of cache directory as read from cache file; don't
938 use string equality to determine if we have the right file,
941 2006-01-09 Patrick Lam <plam@mit.edu>
942 * fc-cache/fc-cache.c (scanDirs):
943 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
944 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
945 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
946 * src/fccfg.c (FcConfigNormalizeFontDir):
947 * src/fcdir.c (FcDirScanConfig):
950 Normalize font dirs by using the form, as given in fonts.conf, and
951 recorded in FcConfig's fontDirs string set, as canonical.
953 Actually update config.fontDirs as font directories are scanned.
955 2006-01-08 James Su <james.su@gmail.com>
956 * src/fcmatch.c (FcFontSetMatch):
958 Fix matching bug when multiple elements match; don't use
959 the sum of all scores, but the best score.
961 Also more perf opts, e.g. evaluate best over all font sets
962 rather than on a per-set basis (and other changes).
964 2006-01-08 Patrick Lam <plam@mit.edu>
965 * src/fccache.c (FcDirCacheConsume):
967 Properly skip past dir caches that contain zero fonts (as occurs
968 in global caches.) Reported by Mike Fabian.
970 2006-01-06 Patrick Lam <plam@mit.edu>
971 * src/fcdbg.c (FcPatternPrint):
973 Print out full pathname in fc-match -v as well. Reported by
976 2006-01-06 Mike Fabian <mfabian@suse.de>
979 * src/fcname.c (FcNameParse):
981 Fix bug where fc-match crashes when given __DUMMY__ property to
984 (I added the __DUMMY__ string to enable callers of
985 FcObjectToPtrLookup to distinguish an error return from a
986 successful return. -PL)
988 2006-01-05 Patrick Lam <plam@mit.edu>
991 Add self to AUTHORS list.
993 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
994 FcCacheFileRead, FcCachePrintSet, main):
995 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
996 FcGlobalCacheSave, FcCacheNextOffset,
997 FcDirCacheHasCurrentArch, FcDirCacheRead,
998 FcDirCacheConsume, FcDirCacheWrite):
1000 * src/fcpat.c (comment):
1002 Minor change to global cache file format to fix fc-cat bug
1003 reported by Frederic Crozat, and buglet with not globally caching
1004 directories with zero fonts cached.
1006 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1009 * src/fccfg.c (FcConfigEvaluate):
1011 Fix double-free which occurs because FcValueCanonicalize doesn't
1012 create an extra copy of the returned value, it only canonicalizes
1015 2006-01-02 Patrick Lam <plam@mit.edu>
1016 * doc/fontconfig-user.sgml:
1018 Fix version of .cache file (currently 1 -> currently 2). Reported
1021 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1024 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1026 Shut up GCC warnings on amd.
1028 2005-12-20 Patrick Lam <plam@mit.edu>
1032 * fontconfig/fontconfig.h:
1034 Bump version to 2.3.93.
1036 2005-12-20 Patrick Lam <plam@mit.edu>
1037 * src/fccharset.c (FcLangCharSetPopulate):
1038 * src/fcint.h (FcCacheBankToIndex):
1040 Avoid check on _fcBankId nullness and fix case where it used to
1043 2005-12-20 Patrick Lam <plam@mit.edu>
1044 * src/fcxml.c (FcConfigParseAndLoad):
1046 Use open instead of fopen (requested by Phil Race for Sun).
1048 2005-12-20 Patrick Lam <plam@mit.edu>
1049 * src/fccache.c (FcDirCacheWrite);
1050 * fc-cache/Makefile.am:
1052 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1055 2005-12-20 Patrick Lam <plam@mit.edu>
1056 * src/fcfreetype.c (FcFreeTypeQuery):
1058 Restore code to skip over PCF fonts that have no encoded
1060 (We guess that a font is PCF by presence of the PIXEL_SIZE
1063 2005-12-12 Patrick Lam <plam@mit.edu>
1064 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1066 Read and write the original location as a fallback for the
1067 hashed cache file locations. This is mostly for users to be
1068 able to have per-directory cache files.
1070 2005-12-12 Patrick Lam <plam@mit.edu>
1071 * fc-cache/fc-cache.c (scanDirs):
1072 * fc-cache/Makefile.am:
1073 * src/fccache.c (FcDirCacheHashName):
1075 Improve error message when fc-cache can't write the cache. Add
1076 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1077 create /var/cache/fontconfig when appropriate.
1079 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1082 * src/fcxml.c (FcConfigGetAttribute):
1084 Fix crash reported by Frederic Crozat when using libxml2.
1086 2005-12-09 Patrick Lam <plam@mit.edu>
1089 * fc-cache/Makefile.am:
1090 * fc-cat/Makefile.am:
1092 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1093 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1094 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1095 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1096 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1097 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1099 Migrate cache files from fonts directories to
1100 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1101 but requires that all caches get rebuilt.
1103 Also, autogen.sh now needs the additional parameter
1104 --localstatedir=/var.
1106 2005-12-07 Patrick Lam <plam@mit.edu>
1107 * src/fcpat.c (FcPatternAddString):
1109 Because we've changed FcPatternAddString to use FcStrStaticName
1110 and not FcValueSave, explicitly handle the case of a null string.
1112 2005-12-06 Patrick Lam <plam@mit.edu>
1113 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1117 2005-12-05 Patrick Lam <plam@mit.edu>
1118 * src/fcname.c (FcNameGetObjectType):
1120 Don't assign types to user object names.
1122 2005-12-05 Patrick Lam <plam@mit.edu>
1123 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1125 Don't free strings that have been returned from FcStrStaticName.
1127 2005-12-01 Patrick Lam <plam@mit.edu>
1128 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1130 Add codepath for reading global cache files as well.
1132 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1135 * conf.d/10-fonts.persian.conf:
1136 * conf.d/Makefile.am:
1138 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1140 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1143 * src/fcxml.c (FcConfigParseAndLoad):
1145 Only add a config file to the set of config files once.
1147 2005-11-29 Patrick Lam <plam@mit.edu>
1148 * src/fcint.h (FcCacheBankToIndex);
1150 Fix segfault by guarding array dereference.
1152 2005-11-29 Dirk Mueller <dmueller@suse.de>
1155 * fc-lang/fc-lang.c:
1156 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1157 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1161 Refactor FcCacheBankToIndex into an inlineable part
1162 (in fcint.h) which checks the front of the list and a
1163 non-inlineable part which finds and moves the appropriate element
1164 to the front of the list.
1166 2005-11-29 Patrick Lam <plam@mit.edu>
1167 * src/fccfg.c (FcConfigBuildFonts):
1168 * src/fccache.c (FcCacheReadDirs):
1170 Make the perf guys hate me a bit less: hoist the directory-name
1171 FcConfigAcceptFont check for cached fonts up to directory cache
1172 read time, rather than running it for each font.
1174 2005-11-29 Patrick Lam <plam@mit.edu>
1175 * src/fccfg.c (FcConfigBuildFonts):
1177 * src/fcpat.c (FcPatternFindFullFname):
1179 Don't make FcPatternFindFullFname available to fccfg, it's not
1180 really safe. Instead go through FcPatternGetString (sorry,
1181 perf guys.) Also, use globs for dirs as well.
1183 2005-11-28 Patrick Lam <plam@mit.edu>
1184 * src/fccfg.c (FcConfigBuildFonts):
1188 2005-11-28 Patrick Lam <plam@mit.edu>
1190 * src/fcpat.c (FcPatternFindFullFname):
1191 * src/fccfg.c (FcConfigBuildFonts):
1193 Fix problem dating back at least to 2.3.2 where globs weren't
1194 being applied to patterns loaded from a cache.
1196 2005-11-28 Patrick Lam <plam@mit.edu>
1197 * doc/fontconfig-user.sgml:
1199 Fix some obvious spelling mistakes.
1201 2005-11-28 Dirk Mueller <dmueller@suse.com>
1202 Stephan Kulow <coolo@suse.de>
1205 * src/fcmatch.c (FcFontSetMatch):
1207 Don't kill all fonts during match (oops!)
1210 2005-11-25 Dirk Mueller <dmueller@suse.com>
1211 Stephan Kulow <coolo@suse.de>
1212 Michael Matz <matz@suse.de>
1215 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1218 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1219 inline FcCompare into FcFontSetMatch and reorder the
1220 loops, adding a boolean array which blocks patterns from future
1221 consideration if they're known to not be best on some past
1224 2005-11-26 Dirk Mueller <dmueller@suse.com>
1227 * src/fcmatch.c (FcCompareValueList):
1229 Fix incorrect merge.
1231 2005-11-25 Patrick Lam <plam@mit.edu>
1232 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1234 Don't do random matching when bad objects are passed into
1237 2005-11-25 Patrick Lam <plam@mit.edu>
1239 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1240 FcPatternSerialize, FcPatternUnserialize,
1241 FcValueListEnsureBank, FcValueListDistributeBytes,
1242 FcValueListUnserialize):
1244 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1245 _fcPatternElts, _fcValueLists for consistency.
1247 2005-11-25 Dirk Mueller <dmueller@suse.com>
1252 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1254 2005-11-25 Patrick Lam <plam@mit.edu>
1256 * src/fccache.c (FcDirCacheConsume):
1257 * src/fccharset.c (FcCharSetUnserialize):
1258 * src/fcfs.c (FcFontSetUnserialize):
1259 * src/fclang.c (FcLangSetUnserialize):
1260 * src/fcname.c (FcObjectUnserialize):
1261 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1262 FcPatternUnserialize):
1264 Pass around FcCache *s to the Unserialize functions for extra
1265 consistency (and less overhead, for what that's worth).
1267 2005-11-24 Dirk Mueller <dmueller@suse.com>
1271 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1272 * src/fcname.c (FcNameUnparseValue):
1274 Inline the *PtrU functions to gain perf.
1275 Remove unneeded params for the FcCompare* functions.
1277 2005-11-24 Dirk Mueller <dmueller@suse.com>
1280 * src/fcint.h, fontconfig/fontconfig.h:
1282 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1284 * src/fcpat.c, src/fcint.h, src/fcname.c:
1286 Check for type validity during FcPatternAddWithBinding, don't
1287 verify type in FcFontMatch, don't call FcCanonicalize here
1288 (which always does a deep copy).
1290 2005-11-24 Dirk Mueller <dmueller@suse.com>
1293 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1294 * src/fcpat.c (FcPatternAddWithBinding):
1296 Make FcCompareString and FcCompareFamily less expensive.
1297 Only add a value for FC_FAMILY if the proposed value is a string.
1299 2005-11-24 Dirk Mueller <dmueller@suse.com>
1302 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1303 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1304 * src/fcint.h (FcDebug):
1306 Inline FcDebug invocations and only initialize once, in FcInit*.
1307 Improve debug msg in FcPatternPrint.
1309 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1312 * fontconfig/fontconfig.h:
1315 Minor code warning cleanups.
1317 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1320 * fc-match/fc-match.c (main):
1322 Make getopt_long accept -s parameter to fc-match as well.
1324 2005-11-21 Dirk Mueller <dmueller@suse.com>
1327 * src/fcmatch.c (FcCompareValueList):
1329 Manually perform inlining & partial redundancy elimination to
1330 reduce calls to FcValueListPtrU.
1332 2005-11-21 Dirk Mueller <dmueller@suse.com>
1335 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1336 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1338 Only invoke strlen() when really necessary.
1340 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1344 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1345 FcFontCapabilities):
1349 Get rid of the use of freetype internal headers in fcfreetype.c,
1350 since those headers will go away with freetype 2.2. Replace with
1351 public domain ftglue code from pango. Note that the patch removes
1352 some extra error checking in FT_Get_BDF_Property() and comments
1353 out the skipping of empty pcf fonts.
1355 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1358 * fc-lang/fc-lang.c (main):
1360 Further fix of patch from 2005-11-04: miscounted numbers count
1361 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1362 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1364 Removed leafidx_count and numbers_count since they are the same
1365 and replaced them with offset_count.
1367 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1370 * fc-cat/fc-cat.c (main):
1372 Don't crash when fc-cat invoked with no arguments.
1374 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1377 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1379 Fix invalid read access caused by premature free and
1380 GCC4 warnings in libxml2 codepath.
1382 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1385 * src/fccfg.c (FcConfigValues):
1387 List iteration not needed in FcConfigValues, since it's building
1388 up the list itself; we can just strip FcVoid elements during
1391 2005-11-17 Patrick Lam <plam@mit.edu>
1392 * src/fccfg.c (FcConfigValues):
1394 Fix crash on invalid constants in config files (forgot to update
1395 a pointer upon list iteration.)
1397 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1400 * src/fcxml.c (FcTypecheckExpr):
1402 Complain about invalid constants in config files.
1404 2005-11-17 Andreas Schwab <schwab@suse.de>
1407 * src/fccache.c (FcGlobalCacheSave):
1409 Don't add current_arch_start more than once.
1411 2005-11-16 Patrick Lam <plam@mit.edu>
1412 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1413 * src/fcfs.c (FcFontSetUnserialize):
1414 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1415 * src/fcpat.c (FcStrUnserialize):
1417 Fix ordering of ALIGN with respect to saving block_ptr; add
1418 another ALIGN to fcfs.c.
1420 2005-11-16 Patrick Lam <plam@mit.edu>
1421 * src/fccache.c (FcDirCacheProduce)
1423 Fix case where alignment bytes bumped up metadata->count
1424 causing unwarranted failures to write cache files.
1425 (Reported by Stephan Kulow).
1427 2005-11-16 Patrick Lam <plam@mit.edu>
1428 * src/fccache.c (FcDirCacheProduce):
1429 * src/fccharset.c (FcCharSetDistributeBytes):
1430 * src/fcfs.c (FcFontSetDistributeBytes):
1432 * src/fclang.c (FcLangSetDistributeBytes):
1433 * src/fcname.c (FcObjectDistributeBytes):
1434 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1437 Add *NeededBytesAlign(), which overestimates the padding which is
1438 later added by the new ALIGN macro. Fix alignment problems on
1439 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1440 version by Andreas Schwab).
1442 2005-11-16 Stephan Kulow <coolo@kde.org>
1447 Use sysconf to determine proper PAGESIZE value; this
1448 appears to be POSIX-compliant. (reported by Andreas Schwab)
1450 2005-11-04 Patrick Lam <plam@mit.edu>
1451 * fc-lang/fc-lang.c:
1456 Fix bug 2878 (excessive relocations at startup for charsets,
1457 reported by Ross Burton): fc-lang/fc-lang now creates the
1458 static form of the langset, not the dynamic form, so that
1459 the charsets should now be in .rodata.
1461 2005-11-04 Patrick Lam <plam@mit.edu>
1462 * src/fcdir.c (FcDirScanConfig):
1464 Add test for validity of directory caches that
1465 somehow got lost (reported by make distcheck).
1467 2005-11-04 Patrick Lam <plam@mit.edu>
1471 * fontconfig/fontconfig.h:
1473 Bump version to 2.3.92.
1475 2005-11-02 Patrick Lam <plam@mit.edu>
1476 * src/fcpat.c (FcPatternDuplicate):
1478 Fix argument ordering problem in call to FcPatternTransferFullFname.
1480 2005-11-02 Patrick Lam <plam@mit.edu>
1481 * src/fcfreetype.c (FcFreetypeQuery):
1482 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1483 FcPatternTransferFullFname):
1485 Fix warnings and embarrassing double-free error.
1487 2005-11-02 Zhe Su <zsu@novell.com>
1492 Change the rule for artificial emboldening in fonts.conf.in. This
1493 enables the support for artificial emboldening included in cairo.
1495 2005-11-02 Patrick Lam <plam@mit.edu>
1496 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1498 Don't zero out full names for FC_REF_CONSTANT fonts;
1499 also, duplicate full names when transferring, and free
1500 full names when freeing the associated font.
1501 Reported by Jinghua Luo.
1503 2005-11-02 Patrick Lam <plam@mit.edu>
1504 * fc-cache/fc-cache.c (scanDirs):
1505 * src/fcpat.c (FcValueListSerialize):
1507 Revert the previous patch and commit the correct patch:
1508 I forgot a canonicalization in FcValueListSerialize, so
1509 that it would choke on already-serialized input files. Duh!
1511 2005-11-02 Patrick Lam <plam@mit.edu>
1512 * fc-cache/fc-cache.c (scanDirs):
1514 Forcibly rescan a directory before writing a fresh local
1515 cache file for that directory, fixing the losing-fonts
1516 problem reported by Mike Fabian and also apparently the
1517 font cache file corruption.
1519 2005-11-02 Patrick Lam <plam@mit.edu>
1520 * src/fccache.c (FcGlobalCacheLoad):
1522 Fix thinko: actually, the whole global cache is stale
1523 if the global cache is older than the (newest) config file.
1525 2005-11-02 Patrick Lam <plam@mit.edu>
1526 * src/fccache.c (FcGlobalCacheLoad):
1527 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1530 Declare the global cache of a directory's contents to be stale if
1531 the directory is newer than the (newest) configuration file.
1533 2005-10-31 Patrick Lam <plam@mit.edu>
1535 * src/fclist.c (FcListAppend):
1536 * src/fcmatch.c (FcFontRenderPrepare):
1537 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1538 FcPatternFreeze, FcPatternBaseFreeze):
1540 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1541 applications continue breaking.
1543 2005-10-31 Patrick Lam <plam@mit.edu>
1544 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1545 * src/fcfreetype.c (FcFreeTypeQuery):
1547 Fix small memory error (tried to free argv); use basename and
1548 dirname correctly (they can modify their arguments).
1550 2005-10-31 Patrick Lam <plam@mit.edu>
1558 Reinstate basename patch, but keep a hash table linking FcPatterns
1559 to their fully-qualified font names for clients' benefit. Clients
1560 only pay for the font names once they request the FC_FILE property
1561 from an FcPattern, but the font name is malloc'd at that point (i.e.
1562 not mmapped: that's impossible, since it may vary between machines.)
1563 Clients do have to pay for a copy of the path name per cache file.
1565 Note that FcPatternGetString now does some rewriting if you ask
1566 for an FC_FILE, appending the pathname as appropriate.
1568 2005-10-31 Patrick Lam <plam@mit.edu>
1569 * src/fcfreetype.c (FcFreeTypeQuery):
1571 Revert basename patch, which breaks fontconfig clients on my system.
1573 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1576 * fontconfig/fonts.conf.in:
1577 * fontconfig/fontconfig.h:
1581 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1582 to load embedded bitmaps or not.
1584 2005-10-25 Patrick Lam <plam@mit.edu>
1585 * src/fcfreetype.c (FcFreeTypeQuery):
1587 Only add basename to patterns' FC_FILE element, not any part of
1590 2005-10-22 Patrick Lam <plam@mit.edu>
1593 Add some more consts, fixing more GCC4 warnings.
1595 2005-10-22 Zhe Su <zsu@novell.com>
1598 Support localized font family and style names.
1599 This has been reported to break old apps like xfd, but modern
1600 (gtk+/qt/mozilla) apps work fine.
1602 2005-10-21 Patrick Lam <plam@mit.edu>
1603 * src/fccache.c (FcGlobalCacheLoad):
1605 Destroy the global cache file if it's terminally broken. (reported by
1608 2005-10-21 Patrick Lam <plam@mit.edu>
1609 * fc-list/fc-list.c (main):
1610 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1611 * fontconfig/fontconfig.h:
1613 Prevent fc-list from escaping strings when printing them (reported by
1616 2005-10-20 Marcus Meissner <meissner@suse.de>
1619 * fontconfig/fontconfig.h:
1621 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1623 2005-10-14 Ross Burton <ross@burtonini.com>
1626 * fc-glyphname/fc-glyphname.c:
1629 Add consts to variables so as to move arrays into .rodata.
1631 2005-10-14 Mike Fabian <mfabian@suse.de>
1634 * src/fccache.c (FcDirCacheUnlink):
1636 Check existence of directory cache file before attempting to unlink.
1638 2005-10-13 Patrick Lam <plam@mit.edu>
1639 * src/fccache.c (FcDirCacheUnlink):
1641 Fix flipped return value on unlink. (Reported by Mike Fabian)
1643 2005-10-12 Patrick Lam <plam@mit.edu>
1646 * src/fcdir.c (FcDirScanConfig):
1649 When fc-cache is run without --force, use directory cache files
1650 to speed up fc-cache run time. (Reported by Mike Fabian)
1652 2005-10-06 Patrick Lam <plam@mit.edu>
1654 * src/fcname.c (FcObjectToPtr):
1655 * src/fcpat.c (FcStrStaticName):
1657 Add padding to make valgrind and glibc not hate each other
1658 when calling strlen().
1660 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1661 reviewed by: plam & keithp
1665 Modify config file to use Greek fonts before Asian fonts with
1668 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1669 reviewed by: plam & keithp
1673 Use libtool -no-undefined flag on all platforms.
1675 2005-10-05 Patrick Lam <plam@mit.edu>
1676 * src/fccache.c (FcCacheHaveBank):
1678 Implement move-to-front array for banks (perf regression
1679 reported by Ronny V. Vindenes).
1681 2005-10-04 Patrick Lam <plam@mit.edu>
1682 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1683 FcDirCacheHasCurrentArch):
1684 * fc-cache/fc-cache.c (scanDirs):
1685 * fontconfig/fontconfig.h:
1687 Add new API which unlinks directory caches and checks dir caches
1688 for existence of appropriate sections. Fix fc-cache to unlink
1689 stale cache files and save directory caches that lack relevant
1692 2005-10-03 Patrick Lam <plam@mit.edu>
1693 * src/fccache.c (FcDirCacheValid):
1695 Ensure that a directory cache has the appropriate section
1696 before reporting that it is valid (reported by Matthias Clasen).
1698 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1706 Use libxml2 if requested (with --enable-libxml2) or if
1707 expat is not available.
1709 2005-09-29 Patrick Lam <plam@mit.edu>
1710 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1712 Fix multi-arch cache files: compute the position for the
1713 block to be added using info from OrigFile, not NewFile.
1715 2005-09-28 Patrick Lam <plam@mit.edu>
1716 * src/fccache.c (FcCacheMachineSignature):
1718 Cast results of sizeof() to unsigned int to get rid of
1719 warnings on x86_64 (thanks Matthias Clasen).
1721 2005-09-27 Patrick Lam <plam@mit.edu>
1722 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1725 Use FcAtomic to rewrite cache files.
1727 2005-09-27 Patrick Lam <plam@mit.edu>
1729 * src/fccache.c (FcDirCacheWrite):
1731 Don't unlink the fonts.cache-2 file even if there's no data
1732 to write; just write an empty cache file. (thanks Lubos Lunak)
1734 2005-09-27 Patrick Lam <plam@mit.edu>
1736 * src/fccache.c (FcDirCacheWrite):
1738 Allocate room for the subdirectory names in each
1739 directory cache. Thanks to James Cloos for finding
1740 and diagnosing this bug!
1742 2005-09-22 Patrick Lam <plam@mit.edu>
1744 * fc-cache/fc-cache.sgml:
1745 * src/fccache.c (FcDirCacheWrite):
1746 * src/fccache.h (struct FcCache):
1748 Update documentation -- fc-cache's man page now says that you
1749 need to run fc-cache once per cached architecture; add some
1750 documentation to the FcCache structure.
1752 Make fc-cache write out fonts.cache-2 files for directories with
1753 no fonts (i.e. only subdirectories).
1755 2005-09-22 Patrick Lam <plam@mit.edu>
1757 * fc-cache/fc-cache.sgml:
1758 * fc-case/fc-case.c:
1759 * fc-glyphname/fc-glyphname.c:
1765 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1769 * fc-lang/fc-lang.c:
1770 * fontconfig/fcprivate.h:
1771 * fontconfig/fontconfig.h:
1785 Implement new mmaped cache for font information.
1786 Bump so revision to 2.3.90.
1788 2005-07-25 Keith Packard <keithp@keithp.com>
1790 * doc/fontconfig-user.sgml:
1791 * fc-glyphname/fc-glyphname.c: (scan), (main):
1792 * fc-lang/fc-lang.c: (FcConfigHome):
1793 * fc-match/fc-match.c: (main):
1794 * src/fccfg.c: (FcConfigHome):
1795 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1796 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1797 (addtag), (FcFontCapabilities):
1798 * src/fcpat.c: (FcValueListEntCreate):
1799 * src/fcstr.c: (FcStrCaseWalkerInit):
1800 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1802 Various GCC 4 cleanups for signed vs unsigned char
1804 Match only [0-9]*.conf files in <include>{directory}</include>
1805 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1807 2005-07-15 Carl Worth <cworth@cworth.org>
1810 * src/fcinit.c: (FcFini):
1811 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1814 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1815 Pull the FcObjectStateName hash table out to file scope, and add
1816 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1819 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1822 2005-06-16 Patrick Lam <plam@MIT.EDU>
1826 * src/fccfg.c: (FcConfigCompareValue):
1827 Make FcOpNotContains use FcStrStr for strings so that
1828 it matches semantics for !FcOpContains.
1830 2005-05-20 Keith Packard <keithp@keithp.com>
1834 Move fontconfig source package to libs as per override
1836 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1838 reviewed by: Mike Fabian
1841 The ka.orth file requires several characters which are not
1842 used anymore in modern Georgian and which are missing in the free
1843 Georgian TrueType fonts downloadable at:
1845 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1847 2005-04-27 Keith Packard <keithp@keithp.com>
1851 Update date to real 2.3.2 release date.
1852 Fix change attributions
1854 2005-04-27 Keith Packard <keithp@keithp.com>
1857 Bump so revision for 2.3.2
1858 * fc-cache/fc-cache.c: (scanDirs):
1859 Fix a few minor leaks in error cases.
1861 2005-04-23 Keith Packard <keithp@keithp.com>
1866 * fontconfig/fontconfig.h:
1867 Update for version 2.3.2
1869 2005-04-21 Keith Packard <keithp@keithp.com>
1871 * debian/fontconfig.postinst:
1872 Don't force bitmap font enable in default
1873 configuration; allows users to override this in
1883 * debian/po/pt_BR.po:
1884 * debian/po/templates.pot:
1886 * debian/po/zh_CN.po:
1887 Updated translations
1889 * fc-cache/fc-cache.c: (main):
1890 Destroy font configuration on exit to help valgrind
1893 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1894 (FcFreeTypeCheckGlyph):
1895 Use own transcoding routines in preference to iconv
1896 which appears to have leaks in some translators.
1897 Call iconv_close after using iconv (oops).
1899 Prefer unicode encoding of Euro char as some
1900 fonts mis-encode Euro in other ones.
1902 Must fetch bitmap glyphs to get width values
1903 to check for monospace/dual-width fonts.
1905 2005-04-13 Ross Burton <ross@burtonini.com>
1908 Check that a pattern isn't already frozen in FcPatternFreeze.
1910 2005-03-31 Ross Burton <ross@burtonini.com>
1915 Run all FcPattern objects through FcObjectStaticName, so that
1916 compares can be done on pointers instead of strings (#2659)
1918 2005-03-17 Tor Lillqvist <tml@novell.com>
1920 * src/fontconfig.def.in: Add the .dll to the dll name.
1922 2005-03-10 Keith Packard <keithp@keithp.com>
1924 * debian/README.Debian:
1925 Update to reflect configuration changes
1927 * debian/fontconfig.postinst:
1928 Fix Autohint vs Autohinter mistake
1929 * debian/fontconfig.templates:
1930 Adopt changes from Josselin Mouette for configuration descriptions
1931 Update debian to version 2.3.1-2
1933 2005-03-08 Keith Packard <keithp@keithp.com>
1937 Update debian for 2.3.1
1939 2005-03-09 Tor Lillqvist <tml@novell.com>
1941 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1944 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1947 2005-03-08 Keith Packard <keithp@keithp.com>
1951 * fontconfig/fontconfig.h:
1954 2005-03-05 Keith Packard <keithp@keithp.com>
1956 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1957 Include space and remove numbers from valid script tags.
1958 This ensures that tags like 'lao ' work while rejecting
1959 those which have any digits.
1960 Eliminate a spurious debugging variable (len)
1962 2005-03-05 Keith Packard <keithp@keithp.com>
1964 * src/fcfreetype.c: (addtag), (GetScriptTags),
1965 (FcFontCapabilities):
1966 Rework GSUB/GPOS script parsing to survive broken fonts.
1967 Thanks for the broken font go to Manish Singh
1969 2005-03-05 Keith Packard <keithp@keithp.com>
1974 * debian/fontconfig.config:
1975 * debian/fontconfig.templates:
1977 Include 2.3 release information in changelog
1978 Add Josselin Mouette as an Uploader
1979 Set hinting_type to low priority configuration option
1982 * debian/fontconfig.postinst:
1983 yes_bitmaps.conf -> yes-bitmaps.conf
1989 2005-03-02 Keith Packard <keithp@keithp.com>
1992 * conf.d/Makefile.am:
1993 * conf.d/autohint.conf:
1994 * conf.d/no-sub-pixel.conf:
1995 * conf.d/sub-pixel.conf:
1996 * conf.d/unhinted.conf:
1997 * debian/autohint.conf:
1998 * debian/fontconfig.install:
1999 * debian/fontconfig.postinst:
2000 * debian/fontconfig.templates:
2001 * debian/no-sub-pixel.conf:
2002 * debian/unhinted.conf:
2003 Move debian-specific conf file examples upstream.
2005 Sub-pixel configuration examples must smash subpixel value
2006 as Xft always sets it from X.
2008 Change sub-pixel rendering debconf descriptions from
2009 Enable/Disable to Always/Never.
2011 2005-03-02 Keith Packard <keithp@keithp.com>
2014 * conf.d/.cvsignore:
2016 Ignore more build detritus
2019 Add debian package construction stuff.
2021 * config/config.guess:
2022 * config/config.sub:
2023 Update to newer versions of these tools
2026 Get library manuals to build again (we love automake).
2028 * debian/README.Debian:
2029 * debian/autohint.conf:
2034 * debian/fontconfig-udeb.install:
2035 * debian/fontconfig.config:
2036 * debian/fontconfig.defoma:
2037 * debian/fontconfig.dirs:
2038 * debian/fontconfig.install:
2039 * debian/fontconfig.postinst:
2040 * debian/fontconfig.postrm:
2041 * debian/fontconfig.templates:
2042 * debian/libfontconfig1-dev.install:
2043 * debian/libfontconfig1.install:
2044 * debian/local.conf.md5sum:
2045 * debian/no-sub-pixel.conf:
2046 * debian/po/POTFILES.in:
2055 * debian/po/pt_BR.po:
2056 * debian/po/templates.pot:
2058 * debian/po/zh_CN.po:
2060 * debian/unhinted.conf:
2061 Update debian build system to switch maintainers and
2062 deal with 2.3 functionality
2064 2005-03-01 Keith Packard <keithp@keithp.com>
2068 * fontconfig/fontconfig.h:
2071 2005-03-01 Keith Packard <keithp@keithp.com>
2074 Generate and install PDF versions of the manuals
2076 * doc/fcpattern.fncs:
2079 * doc/fcstring.fncs:
2080 Add missing exported functions, fix data types
2082 * doc/fontconfig-devel.sgml:
2083 Add missing pattern elements.
2085 * doc/fontconfig-user.sgml:
2086 Add missing pattern elements. Document conf.d usage,
2087 clarify available orthography list. Fix some config file
2088 attributes. Complete list of constants.
2090 * fontconfig/fontconfig.h:
2091 Mark FC_SOURCE deprecated.
2093 * src/fcfreetype.c: (FcFreeTypeQuery):
2094 Don't set FC_SOURCE any longer.
2096 2005-02-28 Keith Packard <keithp@keithp.com>
2099 * conf.d/Makefile.am:
2101 * conf.d/no-bitmaps.conf:
2102 * conf.d/sub-pixel.conf:
2103 * conf.d/yes-bitmaps.conf:
2105 Create prototype /etc/fonts/conf.d directory with a few
2106 sample configuration files.
2107 Deprecate use of local.conf for local customizations in favor of
2108 this directory based scheme which is more easily integrated into
2109 installation systems.
2112 Tag FC_EMBOLDEN as a boolean variable
2114 2005-02-10 Keith Packard <keithp@keithp.com>
2116 reviewed by: pborelli@katamail.com
2118 * src/fcdir.c: (FcFileScanConfig):
2119 Free patterns from fonts which are rejected by configuration
2122 2005-01-28 Keith Packard <keithp@keithp.com>
2126 * fontconfig/fontconfig.h:
2127 Update for version 2.2.99
2129 2005-01-28 Keith Packard <keithp@keithp.com>
2132 Add a few pointers (#2284, #2285)
2134 2005-01-28 Keith Packard <keithp@keithp.com>
2137 * src/fcname.c: (FcNameBool):
2138 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2139 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2140 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2141 Polite typechecking for test and edit expressions. Helps
2142 catch errors in the font configuration. (bug 229)
2144 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2146 reviewed by: Keith Packard <keithp@keithp.com>
2149 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2151 2005-01-13 Keith Packard <keithp@keithp.com>
2153 * doc/fontconfig-user.sgml:
2154 Add SEE ALSO section (bug 2085)
2156 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2158 reviewed by: Keith Packard <keithp@keithp.com>
2163 * fc-case/Makefile.am:
2164 * fc-glyphname/Makefile.am:
2165 * fc-lang/Makefile.am:
2166 * src/fontconfig.def.in:
2167 Cross compiling fixes (bug 280)
2169 2005-01-13 Keith Packard <keithp@keithp.com>
2172 Update blanks list (Closes bug 86)
2174 2005-01-04 Keith Packard <keithp@keithp.com>
2176 * src/fccache.c: (FcCacheFontSetAdd):
2177 Verify that every font pattern loaded from cache has
2178 both FC_FILE and FC_FAMILY entries.
2179 Attempt to fix bug #2219.
2181 2004-12-29 Keith Packard <keithp@keithp.com>
2185 * fontconfig/fontconfig.h:
2186 Update for version 2.2.98
2188 2004-12-29 Keith Packard <keithp@keithp.com>
2190 * fontconfig/fontconfig.h:
2191 Document ASCII limitations of Fc character conversion macros
2192 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2193 Fix off-by-one error in utf-8 case walking code.
2194 Add FcStrDowncase (useful for testing case conversion functions)
2196 2004-12-29 Keith Packard <keithp@keithp.com>
2199 * fc-case/.cvsignore:
2200 clean up CVS ignore lists
2201 * fc-lang/iso-3166.txt:
2202 Add territory database
2204 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2206 Reviewed by: Keith Packard
2209 Remove Han characters from Korean orthography
2211 2004-12-29 Keith Packard <keithp@keithp.com>
2214 Reorder utility programs to make sure fc-case is run before fc-lang
2215 as fc-lang uses fcstr.c which uses fccase.h
2219 2004-12-29 Keith Packard <keithp@keithp.com>
2222 Adopt some RedHat suggestions for standard font configuration.
2226 * fc-case/CaseFolding.txt:
2227 * fc-case/Makefile.am:
2228 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2229 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2230 (dump), (parseRaw), (caseFoldReadRaw), (main):
2231 * fc-case/fccase.tmpl.h:
2232 Add new helper program 'fc-case' to construct case folding
2233 tables from standard Unicode CaseFolding.txt file
2236 * src/fclist.c: (FcListValueHash):
2237 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2238 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2239 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2240 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2241 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2242 Re-implement case insensitive functions with Unicode
2243 aware versions (including full case folding mappings)
2245 2004-12-13 Keith Packard <keithp@keithp.com>
2247 reviewed by: Owen Taylor <otaylor@redhat.com>
2249 * src/fcmatch.c: (FcFontSetSort):
2250 I changed FcFontSetSort to respect the generic aliases better
2251 in the face of language matching.
2253 What I did was to ammend the strict sort order used by FcFontSort so
2254 that it 'satisfies' the language specified in the pattern by locating
2255 the best matching font supporting each pattern language and then
2256 ignores language in the remaining fonts for purposes of matching.
2258 So, when asking for 'sans:lang=en', you'll get an English font first,
2259 and then the remaining fonts sorted with respect to the 'sans' alias
2260 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2262 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2264 reviewed by: Keith Packard <keithp@keithp.com>
2266 * fontconfig/fontconfig.h:
2269 Configuration changes to request synthetic emboldening of
2270 fonts. The actual emboldening code will live in Xft.
2272 2004-12-09 John Thacker <thacker@math.cornell.edu>
2274 reviewed by: Keith Packard <keithp@keithp.com>
2278 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2279 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2280 и), and don't even appear in KOI8-R. (The hypothesis that they
2281 don't appear in KOI8-R due to their similarity with Latin I and i is
2282 eliminated by their presence in KOI8-U.) I have a couple of fonts
2283 with Russian support that don't have the letter.
2285 Therefore, 0406 and 0456 should be removed from or commented out of
2288 2004-12-06 michael meeks <mmeeks@novell.com>
2290 Reviewed by: Keith Packard <keithp@keithp.com>
2292 * src/fcinit.c: (FcMemReport):
2294 * src/fclist.c: (FcObjectSetAdd):
2295 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2296 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2297 * src/fcxml.c: (FcParsePatelt):
2298 memoize strings and share a single copy for all uses. Note that
2299 this could be improved further by using statically allocated blocks
2300 and gluing multiple strings together, but I'm basically lazy.
2301 In my environment with 800 font files, I get a savings of about 90KB.
2303 2004-12-06 Keith Packard <keithp@keithp.com>
2307 * config/Makedefs.in:
2310 * doc/fcatomic.fncs:
2311 * doc/fcblanks.fncs:
2312 * doc/fccharset.fncs:
2313 * doc/fcconfig.fncs:
2314 * doc/fcconstant.fncs:
2316 * doc/fcfontset.fncs:
2317 * doc/fcfreetype.fncs:
2319 * doc/fcmatrix.fncs:
2320 * doc/fcobjectset.fncs:
2321 * doc/fcobjecttype.fncs:
2322 * doc/fcpattern.fncs:
2323 * doc/fcstring.fncs:
2324 * doc/fcstrset.fncs:
2326 * doc/fontconfig-devel.sgml:
2327 * doc/fontconfig-user.sgml:
2329 * doc/version.sgml.in:
2330 * fc-cache/Makefile.am:
2331 * fc-cache/fc-cache.c:
2332 * fc-glyphname/Makefile.am:
2333 * fc-glyphname/fc-glyphname.c:
2334 * fc-glyphname/fcglyphname.tmpl.h:
2335 * fc-lang/Makefile.am:
2345 * fc-lang/az_ir.orth:
2379 * fc-lang/fc-lang.c:
2380 * fc-lang/fc-lang.man:
2381 * fc-lang/fclang.tmpl.h:
2426 * fc-lang/ku_ir.orth:
2459 * fc-lang/ps_af.orth:
2460 * fc-lang/ps_pk.orth:
2489 * fc-lang/ti_er.orth:
2490 * fc-lang/ti_et.orth:
2516 * fc-lang/zh_cn.orth:
2517 * fc-lang/zh_hk.orth:
2518 * fc-lang/zh_mo.orth:
2519 * fc-lang/zh_sg.orth:
2520 * fc-lang/zh_tw.orth:
2522 * fc-list/Makefile.am:
2523 * fc-list/fc-list.c:
2524 * fc-match/Makefile.am:
2525 * fc-match/fc-match.1:
2526 * fc-match/fc-match.c:
2527 * fontconfig/fcfreetype.h:
2528 * fontconfig/fcprivate.h:
2529 * fontconfig/fontconfig.h:
2550 Change files from ISO-Latin-1 to UTF-8
2552 2004-12-04 Keith Packard <keithp@keithp.com>
2555 Update links to new freedesktop.org locations
2557 Add uninstall-local to get rid of fonts.conf and local.conf if they
2558 match the distributed versions. Fixes 'make distcheck'
2560 2004-12-04 Keith Packard <keithp@keithp.com>
2564 * fontconfig/fontconfig.h:
2565 Updates for version 2.2.97
2567 2004-12-04 Owen Taylor <otaylor@redhat.com>
2569 reviewed by: Keith Packard <keithp@keithp.com>
2571 * fc-cache/fc-cache.c: (main):
2572 Sleep for two seconds before exiting to make sure timestamps
2573 for future changes have distinct mod times in the file system.
2576 Add Punjabi orthography. Bug #1671.
2578 2004-12-04 Keith Packard <keithp@keithp.com>
2581 Just remove the FC_FONTDATE -- it has locale issues and
2582 annoys redhat multi-arch installs. Now that all X fonts are
2583 included without prejudice, the chances of the date being at
2584 all interesting are rather limited. Bug #505.
2586 Add copyright and license
2588 2004-12-04 Keith Packard <keithp@keithp.com>
2591 Change default set of fonts to include all of
2592 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2593 * doc/fontconfig-user.sgml:
2594 Document new <include>directory-name</include> semantics
2596 add <include ignore_missing="yes">conf.d</include>
2598 Add selectfont to ignore bitmap fonts, add comment for
2599 selectfont which accepts bitmap fonts.
2602 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2603 Allow <include> configuration elements to reference directories.
2604 Parse and load all files of the form [0-9]* in sorted order.
2606 2004-12-04 Keith Packard <keithp@keithp.com>
2609 Report command line for $srcdir/configure accurately.
2612 2004-12-04 Keith Packard <keithp@keithp.com>
2614 * src/fcfreetype.c: (FcFreeTypeQuery):
2615 Check for non-empty face->family_name and face->style_name
2616 before using those for the font. Empty names match everything.
2619 2004-12-04 Keith Packard <keithp@keithp.com>
2622 * fontconfig/fontconfig.h:
2623 * src/fcfreetype.c: (FcFreeTypeQuery):
2625 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2626 available. This provides font file format information (BDF, Type 1,
2627 PCF, TrueType) for each font. Closes #109.
2629 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2631 reviewed by: Keith Packard <keithp@keithp.com>
2633 * doc/fontconfig-user.sgml:
2636 * fontconfig/fontconfig.h:
2637 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2638 (GetScriptTags), (FcFontCapabilities):
2640 Add detection for font capabilities (bug #105)
2642 2004-12-04 Keith Packard <keithp@keithp.com>
2645 Move existing fonts.conf to fonts.conf.bak
2648 Add detection of iconv
2650 * doc/fcpattern.fncs:
2651 * doc/fontconfig-devel.sgml:
2652 * doc/fontconfig-user.sgml:
2654 Document new selectfont elements
2657 Switch to UTF-8 in comment
2659 * fontconfig/fontconfig.h:
2661 Add fullname, and family/style/fullname language entries
2663 * src/fccache.c: (FcCacheFontSetAdd):
2664 * src/fcdir.c: (FcFileScanConfig):
2665 Respect selectfont/*/glob
2668 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2669 (FcConfigCompareValue), (FcConfigPatternsAdd),
2670 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2671 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2672 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2673 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2674 Add support for selectfont
2676 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2677 (FcStringInPatternElement), (FcFreeTypeQuery):
2678 Add multi-lingual family/style/fullname support
2680 * src/fclist.c: (FcListPatternMatchAny):
2681 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2683 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2684 (FcObjectStaticName):
2685 Add new FcPatternRemove/FcPatternAppend.
2686 FcObjectStaticName stores computed pattern element names which
2687 are required to be static.
2689 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2694 Remove spurious / after $(DESTDIR)
2696 2004-06-30 Keith Packard <keithp@keithp.com>
2700 * fontconfig/fontconfig.h:
2703 2004-06-30 Keith Packard <keithp@keithp.com>
2705 Provided by: Lubos Lunak <l.lunak@suse.cz>
2707 * src/fccfg.c: (FcConfigUptoDate):
2708 However FcConfigUptoDate() doesn't seem to work. See the attached
2709 patch. First there's an obvious misplaced parenthesis making it
2710 return always false, and second, even this call fails to detect font
2711 changes (e.g. adding a new font to
2712 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2713 well. The problem seems to be triggered by my fonts.conf specifying
2714 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2715 doesn't include subdirs, unlike config->fontDirs.
2717 2004-06-03 Keith Packard <keithp@keithp.com>
2719 * fontconfig/fontconfig.h:
2720 Remove comma at end of FcResult enum definition.
2722 2004-05-29 Keith Packard <keithp@keithp.com>
2725 Add steps to md5sum release
2727 2004-05-29 Keith Packard <keithp@keithp.com>
2731 * fontconfig/fontconfig.h:
2734 2004-05-29 Keith Packard <keithp@keithp.com>
2736 * fontconfig/fontconfig.h:
2737 * src/fcmatch.c: (FcFontSetMatch):
2738 Add FcResultOutOfMemory to provide an accurate error when
2739 FcFontSetMatch fails in this way
2742 Make #warning about lacking various FreeType features indicate
2743 which version those features appeared so users know how to
2744 fix the problem (Thanks to Anton Tropashko)
2746 2004-05-05 Keith Packard <keithp@keithp.com>
2748 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2749 Replace MIN/MAX/ABS macros which happen to have come
2750 from FreeType with fontconfig-specific ones (FC_*)
2752 2004-04-23 Keith Packard <keithp@keithp.com>
2755 Extend release preparation instructions to include
2756 notification and distribution steps
2758 2004-04-23 Keith Packard <keithp@keithp.com>
2762 * fontconfig/fontconfig.h:
2763 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2765 2004-04-23 Keith Packard <keithp@keithp.com>
2768 Ignore a few more autotool files
2770 2004-04-14 Keith Packard <keithp@keithp.com>
2773 Add instructions for doing a release
2775 * fontconfig.spec.in:
2776 clean up .spec file; perhaps this will be useful to somebody...
2780 * fontconfig/fontconfig.h:
2783 * fc-lang/fc-lang.c:
2784 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2786 * fc-glyphname/Makefile.am:
2787 * fc-lang/Makefile.am:
2788 * fc-list/Makefile.am:
2789 * fc-match/Makefile.am:
2791 Add WARN_CFLAGS to pass -W flags for GCC systems
2793 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2794 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2795 Change various char types around to match across
2797 Fixed bug in using available_sizes[i].height which
2798 is in pixels, not 64ths of a pixel.
2800 2004-03-06 Keith Packard <keithp@keithp.com>
2802 * src/fcfreetype.c: (FcFreeTypeQuery):
2803 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2804 matches looking for explicit values prefer exact matches
2806 2004-03-02 Keith Packard <keithp@keithp.com>
2808 Supplied by: mfabian@suse.de (Mike FABIAN)
2810 * src/fcfreetype.c: (FcFreeTypeQuery):
2811 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2812 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2814 2004-02-21 Manish Singh <yosh@gimp.org>
2816 * fc-glyphname/fc-glyphname.c: (main):
2817 Cast strlen to int for printf, so we're 64-bit clean.
2819 2004-02-11 Keith Packard <keithp@keithp.com>
2822 * src/fcfreetype.c: (FcGetPixelSize):
2823 Ok, so I messed up the test for y_ppem. Let's see if I
2824 got it right this time.
2826 2004-02-10 Keith Packard <keithp@keithp.com>
2829 * src/fcfreetype.c: (FcGetPixelSize):
2830 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2831 FT_Bitmap_Size record. Add a configure.in test for this
2832 and change the code accordingly (using height instead).
2834 2004-02-06 Keith Packard <keithp@keithp.com>
2837 Add Low Saxon orthography
2838 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2840 * src/fccfg.c: (FcConfigNewestFile):
2841 Oops. Left 'newest.set' unset, which would miscompute
2844 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2845 (FcFreeTypeCheckGlyph):
2846 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2847 font properties (which report the wrong value in current FreeType)
2849 Don't attempt to check for empty glyphs in non-scalable fonts; they
2852 2004-02-01 Tor Lillqvist <tml@iki.fi>
2854 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2855 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2856 cache if config->cache is NULL, which happens if FcConfigHome() is
2857 NULL. Guard against that by using the temp folder in that case.
2859 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2861 * fc-lang/az_ir.orth:
2862 * fc-lang/ku_ir.orth:
2863 * fc-lang/ps_af.orth:
2864 * fc-lang/ps_pk.orth:
2865 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2866 (Afghan and Pakistani).
2868 Updated Urdu orthography with real data.
2870 2003-12-11 Carl Worth <cworth@east.isi.edu>
2872 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2875 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2877 (all-local): Remove excessive whitespace.
2879 * autogen.sh: Add 'set -e' to abort when any program fails,
2880 (avoids printing of 'now type make' after configure aborts).
2882 2003-11-17 Eric Christopherson <rakko@charter.net>
2884 reviewed by: Keith Packard <keithp@keithp.com>
2887 * fontconfig/fcfreetype.h:
2889 Switch to FreeType 2.1.7 style includes. Bug #150.
2891 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2893 * fc-list/fc-list.sgml: Add some example usages.
2895 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2898 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2901 2003-10-27 Keith Packard <keith@keithp.com>
2904 * fontconfig/fontconfig.h:
2905 Update to version 2.2.92
2907 2003-10-27 Keith Packard <keithp@keithp.com>
2912 * fc-cache/Makefile.am:
2913 * fc-glyphname/Makefile.am:
2914 * fc-lang/Makefile.am:
2915 * fc-list/Makefile.am:
2916 * fc-match/Makefile.am:
2919 Yet more cleanups to finish getting 'make distcheck' working
2920 This has been tested to ensure that it even works from a _build
2923 2003-10-26 Keith Packard <keithp@keithp.com>
2927 * fc-cache/Makefile.am:
2928 * fc-glyphname/Makefile.am:
2929 * fc-lang/Makefile.am:
2930 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2931 * fc-list/Makefile.am:
2932 * fc-match/Makefile.am:
2933 Attempts to fix 'make distcheck' work. Things are
2934 progressing pretty well, but there are still failures
2935 long into the process dealing with docs (as always).
2937 The big changes here are mostly to make $(srcdir) != "."
2938 work correctly, fixing the docbook related sections and
2939 fc-lang were particularily tricky. Docbook refuses to load
2940 system entities from anywhere other than where the original .sgml
2941 file was located, so no luck looking in "." for the
2942 configure-generated version.sgml and confdir.sgml files.
2944 fc-lang needed help finding .orth files; added a -d option
2945 to set the directory as the least evil of many options.
2947 Now to go use a faster machine and try and wring out the last
2950 2003-10-26 Keith Packard <keithp@keithp.com>
2954 2003-10-26 Keith Packard <keithp@keithp.com>
2957 Include confdir.sgml.in in EXTRA_DIST
2959 2003-10-09 Josselin Mouette <joss@debian.org>
2961 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2962 * fc-list/fc-list.sgml fc-list/Makefile.am:
2963 Replace fc-cache and fc-list manpages with more detailed, SGML
2966 2003-09-23 Owen Taylor <otaylor@redhat.com>
2968 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2969 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2970 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2973 2003-09-23 Owen Taylor <otaylor@redhat.com>
2975 * fc-lang/ka.orth: Remove Georgian capitals, they
2976 aren't used for normal writing. (Bug #116)
2978 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2980 * doc/fontconfig-devel.sgml:
2981 * doc/fontconfig-user.sgml:
2982 * fontconfig/fontconfig.h:
2984 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2985 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2987 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2988 monospace and dual-width fonts, allow roughly a 3% variance in the
2991 2003-08-31 Manish Singh <yosh@gimp.org>
2993 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2996 2003-08-15 Carl Worth <cworth@isi.edu>
2998 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2999 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3001 * src/fcpat.c (FcValueListEntDestroy): New function to support
3002 FcFini memory cleanup. Some statistics are not kept in
3004 (FcValueListFreeze): Move hashTable outside this function so it
3005 can be accessed by FcValueListThawAll.
3006 (FcValueListThawAll): New function complements FcValueListFreeze.
3007 (FcPatternBaseFreeze): Move hashTable outside this function so it
3008 can be accessed by FcPatternBaseThawAll.
3009 (FcPatternBaseThawAll): New function complements
3010 FcPatternBaseFreeze.
3011 (FcPatternThawAll): New function complements FcPatternFreeze.
3013 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3015 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3016 allocated FcCharLeafEnt "blocks" so they can be freed later.
3017 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3018 can be accessed by FcCharSetThawAllLeaf.
3019 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3020 (FcCharSetFreezeBase): Move hashTable outside this function so it
3021 can be accessed by FcCharSetThawAll.
3022 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3024 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3025 (FcConfigDestroy): Fic leak of FcBlanks.
3027 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3028 (main): Add call to FcFini when finished.
3030 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3031 static. Add prototypes.
3033 * doc/fcinit.fncs: Add documentation for FcFini function.
3035 * doc/edit-sgml.c: Mark several local functions as static. Add
3038 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3040 2003-06-15 Tor Lillqvist <tml@iki.fi>
3042 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3043 before comparing (needed on Windows).
3045 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3047 2003-06-13 Tor Lillqvist <tml@iki.fi>
3049 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3052 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3053 WINDOWSFONTDIR token.
3055 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3056 end, not to confuse libtool, which expects the EXPORTS line to be
3057 the first. Add FcConfigEnableHome.
3059 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3060 built as a DLL on Win32.
3062 2003-06-09 Keith Packard <keithp@keithp.com>
3064 * Tag version 2.2.90
3066 2003-06-09 Keith Packard <keithp@keithp.com>
3068 * Optimization in FcLangSetIndex was broken, occasionally
3069 returning a pointer to the wrong location on miss
3071 * Add fc-match to test font matching from the command line.
3073 2003-05-31 Keith Packard <keithp@keithp.com>
3075 * (Bug 85) add support for culmus fonts
3076 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3077 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3079 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3081 * Fix "contains" op for strings and langsets.
3083 2003-05-17 Keith Packard <keithp@keithp.com>
3085 * Fix build error with BDF prop local. Free langset after query
3087 2003-05-14 Keith Packard <keithp@keithp.com>
3089 * Extract spacing from XLFD atom
3091 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3093 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3094 disappeared in 1.30.
3096 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3098 2003-05-12 Keith Packard <keithp@keithp.com>
3100 * Use FcIsWidth to share code
3102 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3103 misclassifying some Han fonts as monospaced.
3105 2003-05-07 Keith Packard <keithp@keithp.com>
3107 * Add filename-based accept/reject to ammend available fonts.
3109 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3110 older FreeType releases.
3112 2003-05-06 Keith Packard <keithp@keithp.com>
3114 * Remove 0b82 and Tamil numbers from tamil
3115 orthography (Jungshik Shin <jshin@mailaps.org>)
3117 2003-05-04 Keith Packard <keithp@keithp.com>
3119 + Map glyph names in fonts with adobe custom encoding to unicode
3121 2003-05-02 Keith Packard <keithp@keithp.com>
3123 * Add FC_WEIGHT_BOOK as weight 75
3125 2003-04-30 Keith Packard <keithp@keithp.com>
3127 * Typo in bitstream foundry name
3129 2003-04-24 Keith Packard <keithp@keithp.com>
3131 * Eliminate italic_angle check for PS fonts
3133 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3135 * Getting closer to fixing /etc/fonts hard-coding.
3137 2003-04-22 Keith Packard <keithp@keithp.com>
3139 * Update autogen.sh to work with newer automake versions
3140 * Handle pattern elements moving during multiple edits
3142 2003-04-23 James Henstridge <james@daa.com.au>
3144 * doc/fontconfig-devel.sgml: close the <para> element.
3146 * doc/fcpattern.fncs: close the <para> element.
3148 * doc/func.sgml: close the <refsynopsisdiv> element.
3150 2003-04-22 Keith Packard <keithp@keithp.com
3152 * Update autogen.sh to work with newer automake versions
3153 * Handle pattern elements moving during multiple edits
3155 2003-04-17 Colin Walters <walters@debian.org>
3157 + Remove some unused variables, and initialize some other ones so
3158 gcc doesn't warn us.
3160 2003-04-16 Keith Packard <keithp@keithp.com>
3162 + tag version 2.1.94
3164 2003-04-16 Keith Packard <keithp@keithp.com>
3166 + add BDF property fetching support for foundry
3167 (from Juliusz Chroboczek)
3168 + add BDF property fetching support for width
3170 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3172 + Implemented foundry generation for Type 1 and TrueType
3174 2003-04-11 Gerard Escalante <g2@magestudios.net>
3176 + Retrieve information from Type1 FontInfo dictionaries
3178 2003-04-07 Colin Walters <walters@verbum.org>
3180 + src/Makefile.am: Fix dummy makefile target names when
3181 MS_LIB_AVAILABLE isn't set.
3183 2003-03-22 Tor Lillqvist <tml@iki.fi>
3185 Changes for Windows:
3187 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3189 + We don't want to hardcode the fonts.conf file location in the
3190 DLL, so we look up the DLL location at run-time in a DllMain()
3191 function. The fonts.conf location is deduced from that.
3193 + The colon can't be used as path separator on Windows,
3194 semicolon is used instead. File path components can be separated
3195 with either slash or backslash. Absolute paths can also begin
3196 with a drive letter.
3198 + Add internal function FcStrLastSlash that strrchr's the last
3199 slash, or backslash on Windows.
3201 + There is no link() on Windows. For atomicity checks, mkdir a
3202 lock directory instead.
3204 + In addition to HOME, also look for USERPROFILE.
3206 + Recognize the special font directory token WINDOWSFONTDIR, to
3207 use the system's font directory.
3209 + Remove the fontconfig-def.cpp that was obsolete. Add
3210 fontconfig.def(.in), without internal functions.
3212 + Add a fontconfig-zip(.in) script, used to build a binary
3215 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3216 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3217 to main package and man3/* to devel package
3219 + Added missing defattr(-, root, root) to main RPM package
3221 + Added HTML and text development documentation to -devel subpackage
3223 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3224 + Added back the configure macro options --disable-docs, otherwise
3225 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3226 version number) unconditionally, causing RPM to fail the build due
3227 to _unpackaged_files_terminate_build. We pick up the pregenerated
3228 docs with %doc already.
3230 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3231 + Removed commented out rpm macro define at top of spec file,
3232 replacing it with a simple explanation, since rpm macros are
3233 expanded by rpm even in comments.
3235 + Changed /usr/bin to _bindir in BuildRequires lines
3237 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3239 + Reorganized file manifest lists
3241 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3243 + fontconfig.spec.in: Improvements from Red Hat spec file.
3245 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3247 + docs/*.sgml: SGML fixes.
3249 Sat Mar 1 17:28:53 PST 2003 keithp
3250 + Ok, so the ChangeLog is a bit out of date
3252 + Lots of bugs fixed; most are in bugzilla, the
3253 biggest problems were in cache management where
3254 Owen discovered the library would lose badly when
3255 combining fonts-cache and ~/.fonts-cache data
3257 + Converted from autoconf to automake. This after
3258 getting patches accepted into libtool to allow
3259 the '-version-number' argument which lets
3260 packages set version numbers explicitly rather
3261 than the roundabout libtool way
3263 + Converted documentation to SGML using the docbook
3264 DTD. Now .txt and .html documents are installed
3265 in /usr/share/doc/fontconfig and there's no
3266 man page. Perhaps a man version can be written
3269 Sat Aug 31 15:21:22 PDT 2002 keithp
3270 + Xrender and Xft had several bugs related to
3271 rendering manually placed or poly-face text
3273 + Added more complete memory tracing in fontconfig
3274 Checked with (patched) mozilla and found no leaks
3276 + Updated Latin orthographies by comparing those from
3277 evertype.com with those from eki.ee. Tried to make
3278 sensible choices, including chars that occured in both
3279 and leaving some optional chars out that occured only
3282 Mon Aug 26 16:33:04 PDT 2002 keithp
3283 + Owen discovered that FcLangSetHasLang wasn't actually
3284 checking the language set.
3286 Mon Aug 26 13:37:23 PDT 2002 keithp
3287 + Append a version number to cache filenames
3289 Thu Aug 22 11:36:18 PDT 2002 keithp
3291 + Add "contains" and "not_contains" operators and elements to
3294 + Changed semantics of eq operator for LangSets to check for
3295 FcLangEqual so that any match will do
3297 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3298 of FcValueEqual to check for identical values when inserting into
3299 the results. This broke when the above semantic change was made,
3300 now it uses FcValueEqual which is "more correct" in any case.
3302 Thu Aug 22 00:32:29 PDT 2002 keithp
3304 + Reimplement FC_LANG as new datatype. Lists of strings
3305 was consuming over a megabyte of memory for 401 fonts.
3307 + Freeze patterns loaded from cache files. This shares
3308 common value lists and common patterns which saves
3309 considerable memory.
3311 + Change the denotation of 'constant' charsets to use special
3312 ref value instead of separate boolean.
3314 + Clean up leak tracing stuff, found several unannoted alloc/free
3317 Tue Aug 20 16:17:37 PDT 2002 keithp
3319 + Fix memory leak when parsing matrices from XML
3321 Mon Aug 19 11:57:27 PDT 2002 keithp
3323 + Fix autoconf files to pass FONTCONFIG_PATH on
3324 compile line so that ${prefix} gets substituted
3327 + Use getc_unlocked/putc_unlocked on systems that
3328 provide them to avoid damage done to stdio by posix
3330 + Eliminate FC_PATTERN and FcTypePattern in favor of
3331 an extended api for FcConfigSubstitute which takes
3332 both the font and the pattern.
3334 + Add 'sans serif' alias for 'sans-serif' as some apps
3335 can't handle hyphens in family names
3337 + Eliminate pretense of support for libxml2
3339 + Comment origins of Han orthographies
3341 Tue Jul 30 18:37:09 PDT 2002 keithp
3343 + Add binding property to edit element so that strong
3344 binding values may be inserted by the config file.
3345 The default remains weak.
3347 Sun 28 Jul 04:16:55 PDT 2002 keithp
3349 + Tagged release candidate 1 in the CVS tree and
3350 placed fcpackage.rc1.tar.gz for distribution
3352 Thu Aug 1 08:55:08 PDT 2002 keithp
3354 + Fixed autoconf builds to always specify install
3355 target files (for BSD). Also fixed to
3356 define FONTCONFIG_PATH in config.h so that
3357 nonstandard installs will actually work.