1 2006-04-13 Patrick Lam <plam@mit.edu>
4 Add an alias 'Standard Symbols L' for 'Symbol'.
6 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
9 * src/fcpat.c: (FcPatternFreeze):
10 Fix memory leak (Coverity defect #2089).
12 * src/fcfreetype.c: (GetScriptTags):
13 Ignore script if subtable is missing (Coverity defect #2088).
15 2006-04-12 Patrick Lam <plam@mit.edu>
16 * src/fccfg.c (FcConfigSubstituteWithPat):
18 Fix possible null pointer dereference (Coverity defect #784)
19 and memory leak (Coverity defects #785, #786).
21 2006-04-12 Patrick Lam <plam@mit.edu>
22 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
24 Don't copy FcCharSet if we're going to throw it away anyway.
25 (Reported by Kenichi Handa).
27 2006-04-11 Ming Zhao <ming@gentoo.org>
30 * src/fcname.c (FcObjectToPtrLookup):
32 Fix bad behaviour on realloc resulting in crash.
34 2006-04-11 Patrick Lam <plam@mit.edu>
35 * src/fccache.c (FcGlobalCacheReadDir):
37 Don't crash if config is null (Coverity defect #984).
39 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
42 * src/fccharset.c (FcCharSetPutLeaf):
43 * src/fclang.c (FcNameUnparseLangSet):
45 Missing bits from previous patches.
47 * src/fccharset.c (FcCharSetSubtractCount):
48 Remove extra semi-colon.
50 * src/fccfg.c (FcConfigBuildFonts):
51 Fix memory leak in error case (Coverity defects #776, #985).
53 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
54 Fix memory leaks (Coverity defects #779, #781)
55 and memory use after free (Coverity defect #780).
57 2006-04-11 Patrick Lam <plam@mit.edu>
58 * src/fccharset.c (FcCharSetPutLeaf):
60 Properly convert static charsets to dynamic charsets.
62 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
65 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
67 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
69 * src/fclang.c: (FcNameUnparseLangSet):
70 Fix memory leak (Coverity defect #1819).
72 * fc-lang/fc-lang.c: (scan):
73 prevent crash when invalid include line is parsed (Coverity defect
76 * fc-cat/fc-cat.c: (FcCacheFileRead):
77 Fix potential null pointer access (Coverity defect #1804).
79 * src/fcname.c: (FcObjectUnserialize):
80 Remove dead code (Coverity defect #1194).
82 * src/fcfreetype.c: (GetScriptTags):
83 Prevent potential null pointer access (Coverity defect #767),
84 ensure error value is read (Coverity defect #1195).
86 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
91 Survive missing docbook2pdf.
93 2006-04-10 Patrick Lam <plam@mit.edu>
95 * fc-glyphname/fc-glyphname.c:
98 Include more stub definitions to make HP-UX's C compiler happy.
100 2006-04-10 Patrick Lam <plam@mit.edu>
101 * src/fcname.c (FcObjectUnserialize):
103 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
105 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
108 * src/fccfg.c: (FcConfigEvaluate):
109 Fix string memory leak (Coverity defect #1823).
111 * src/fccache.c: (FcDirCacheUnlink):
112 Fix memory leak with hash collision (Coverity defect #1824).
114 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
117 * src/fccache.c: (FcGlobalCacheSave):
118 Don't leak header in non-error case (Coverity defect #1825).
120 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
123 * src/fcdir.c (FcDirScanConfig)
124 Don't leak in error cases (Coverity defects #777, #1826)
126 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
129 * src/fccache.c: (FcDirCacheWrite):
130 Fix double free (spotted by Coverity, CID #1965).
132 * fc-match/fc-match.c: (main):
133 Check if pattern is not null before using it (Coverity defect #1883).
135 * src/fccache.c: (FcDirCacheWrite):
136 Fix memory leak with hash collision (Coverity defect #1829).
138 * src/fccfg.c: (FcConfigBuildFonts):
139 Fix memory leak when bail cases (Coverity defect #1828).
141 * src/fccache.c: (FcGlobalCacheLoad):
142 Don't leak directory name (Coverity defect #1827).
144 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
146 * fc-cache/Makefile.am:
147 * fc-cat/Makefile.am:
148 * fc-list/Makefile.am:
149 * fc-match/Makefile.am:
151 LD_ADD missing dependencies for binaries. Reported by
154 2006-04-07 Patrick Lam <plam@mit.edu>
156 * fc-lang/fc-lang.c (main):
158 SGI compilation fixes (reported by Christoph Bauer):
159 1) reorder union definition of _FcChar;
162 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
165 * src/fccharset.c (FcCharSetNeededBytes):
166 * src/fcfs.c (FcFontSetNeededBytes):
168 * src/fclang.c (FcLangSetNeededBytesAlign):
169 * src/fcname.c (FcObjectNeededBytesAlign):
170 * src/fcpat.c (FcPatternNeededBytesAlign,
171 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
173 Portability fixes for HP-UX (reported by Christoph Bauer).
174 Replace '__inline__' by AC_C_INLINE and 'inline'.
175 Replace '__alignof__' by 'fc_alignof'.
177 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
181 Move up #include of config.h.
182 Fail if neither inttypes.h nor stdint.h is available.
185 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
186 Patrick Lam <plam@mit.edu>
188 * fc-cache/fc-cache.c:
190 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
191 FcDirCacheConsume, FcDirCacheProduce,
192 FcDirCacheWrite, FcCacheMachineSignature):
193 * src/fcfreetype.c (FcFreeTypeQuery):
194 * src/fontconfig.def.in:
196 Make fontconfig compile under MinGW:
197 1) remove unneeded #includes;
198 2) make use of mmap and sysconf conditional;
199 3) replace rand_r by srand/rand if needed;
200 4) use chsize instead of ftruncate; and
201 5) update libtool exports file
203 2006-04-07 Patrick Lam <plam@mit.edu>
204 * src/fcdir.c (FcDirScanConfig):
208 2006-04-06 Patrick Lam <plam@mit.edu>
209 * fc-match/.cvsignore:
210 * fc-match/Makefile.am:
211 * fc-match/fc-match.sgml:
213 Update documentation for fc-match (SGML-ize it).
214 (reported by Ilya Konstantinov)
216 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
222 Reduce amount of dirty rss by const'ing some data structures.
224 2006-04-06 Patrick Lam <plam@mit.edu>
225 * fc-cache/Makefile.am:
227 Don't fail if we can't create or remove
228 $(pkgcachedir) i.e. /var/cache/fontconfig.
229 (reported by Quanah Gibson-Mount).
231 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
234 * fc-glyphname/fc-glyphname.c:
235 * fc-lang/fc-lang.c (main):
236 * fc-match/fc-match.c:
237 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
239 * src/fcfreetype.c (FcFreeTypeQuery):
240 * src/fclang.c (FcFreeTypeLangSet):
243 Fix intel compiler warnings: make many variables static,
244 eliminate duplicate names, reduce variable scopes, unsigned/signed
247 2006-03-24 Mike Fabian <mfabian@suse.de>
249 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
251 Fix multiarch support (don't destroy multiarch files!)
253 2006-03-24 Patrick Lam <plam@mit.edu>
256 Require pkg-config. (Thanks Behdad;
257 better solution wanted for libxml2 detection!)
259 2006-03-22 Patrick Lam <plam@mit.edu>
262 On Windows, unlink before rename. Reported by Tim Evans.
264 2006-03-15 Patrick Lam <plam@mit.edu>
268 Fix typos in orth files. Reported by Denis Jacquerye.
270 2006-03-08 Patrick Lam <plam@mit.edu>
272 * config/config.guess:
275 Fix Makefile.am for removal of debian/ directory.
277 2006-03-08 Patrick Lam <plam@mit.edu>
280 Ignore debian/ directory for CVS.
282 2006-03-08 Patrick Lam <plam@mit.edu>
285 Now remove debian/ directory.
287 2006-03-08 Patrick Lam <plam@mit.edu>
290 Remove debian/ directory from sources. See Debian's subversion
291 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
294 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
298 * fc-lang/iso639-1, fc-lang/iso639-2:
300 Add orthography for Lingala.
302 2006-03-08 Carl Worth <cworth@cworth.org>
305 * conf.d/Makefile.am:
306 * conf.d/10LohitGujarati.conf:
308 Add a configuration file that disables hinting for the Lohit
309 Gujarati font (since the hinting distort some glyphs quite badly).
311 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
314 * src/fcdir.c (FcDirScanConfig):
316 Sort directory entries while scanning them from disk;
317 prevents Heisenbugs due to file ordering in a directory.
319 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
322 * src/fcfreetype.c (GetScriptTags):
323 * src/ftglue.c, src/ftglue.h:
325 Remove stuff we don't use, make get_{char,short,long} functions
326 of ftglue macros to be inlined.
329 * src/fcname.c (FcObjectSerialize):
331 Code cleanups (excess prototype, old-style function definition).
333 2006-03-05 Patrick Lam <plam@mit.edu>
334 * src/fcpat.c (FcPatternGetString):
336 Because we hacked FcPatternGet, we don't really need to expand the
337 filename again in FcPatternGetString.
339 2006-03-05 Patrick Lam <plam@mit.edu>
340 * src/fcpat.c (FcPatternGetString, FcPatternGet):
342 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
343 Make that work. Reported by Bernhard Rosenkraenzer.
345 2006-03-03 Patrick Lam <plam@mit.edu>
348 Include inttypes.h instead of stdint.h if appropriate.
350 2006-03-03 Patrick Lam <plam@mit.edu>
351 * fc-cat/fc-cat.c (FcFileIsDir):
352 * fc-glyphname/fc-flyphname.c:
354 More stub definitions and remove FcFileIsDir from fc-cat.
356 2006-03-03 Patrick Lam <plam@mit.edu>
359 Fix compilation on AIX with stub definitions (bug 6097).
361 2006-03-03 Patrick Lam <plam@mit.edu>
362 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
363 * src/fcfreetype.c (GetScriptTags):
364 * src/fcfs.c (FcFontSetDistributeBytes):
365 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
367 Get rid of C++-style comments.
369 2006-03-03 Patrick Lam <plam@mit.edu>
372 Enable creation of 2.3.94 Debian packages.
374 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
377 * src/fclang.c (FcCharSetForLang):
379 Fix suspicious return expression which causes junk
382 2006-02-24 Patrick Lam <plam@mit.edu>
386 * fontconfig/fontconfig.h:
388 Bump version to 2.3.94.
390 2006-02-24 Patrick Lam <plam@mit.edu>
395 2006-02-24 Patrick Lam <plam@mit.edu>
396 * conf.d/10-fonts-persian.conf:
398 Remove unconditional emboldening (per Behdad's instructions).
402 Add @s to hide some echos.
404 2006-02-24 Mike Fabian <mfabian@suse.de>
405 Takashi Iwai <tiwai@suse.de>
408 * src/fcfreetype.c (GetScriptTags):
410 Fix double-free on error case.
412 2006-02-21 Patrick Lam <plam@mit.edu>
413 * fc-lang/fc-lang.c (scan):
415 Strip \r and whitespace from input; fixes bug 3454.
417 2006-02-21 Patrick Lam <plam@mit.edu>
418 * fc-lang/fc-lang.c (main):
420 Allocate large arrays statically in fc-lang to fix crashes under
423 2006-02-21 Diego Petten <flameeyes@gentoo.org>
424 * src/fcfreetype.c (FcFreeTypeCharIndex):
426 Pass the buck; make fontconfig not crash on pango badness.
428 2006-02-21 Patrick Lam <plam@mit.edu>
429 * conf.d/10-fonts-persian.conf:
431 Use embeddedbitmap rather than rh_prefer_bitmap.
433 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
436 * src/fccache.c (FcDirCacheWrite):
437 * src/fcdir.c (FcFileScanConfig):
438 * src/fcfreetype.c (FcStringInPatternElement):
439 * src/fcxml.c (FcParseFamilies):
440 * src/ftglue.c (ftglue_face_goto_table):
442 Eliminate redundancies.
444 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
447 * fc-list/fc-list.c (main):
448 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
449 * src/fcstr.c (FcStrStr):
450 * src/fcxml.c (FcConfigSaveAttr):
452 Eliminate unused vars reported by Intel's compiler.
454 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
459 Remove one more archaic character.
461 2006-02-21 Ross Burton <ross@burtonini.com>
462 reviewed by: plam, keithp
464 * src/fcxml.c (FcParsePatelt):
466 Freeze patterns created by configuration file for tiny
467 memory savings (every little bit helps).
469 2006-02-21 Mike Fabian <mfabian@suse.de>
472 * fc-cat/fc-cat.c (main):
474 Initialize fontconfig library in fc-cat to avoid segfault.
476 2006-02-18 Patrick Lam <plam@mit.edu>
477 * fc-cache/fc-cache.c (scanDirs):
478 * src/fccache.c (FcCacheReadDirs):
479 * src/fcdir.c (FcDirScanConfig):
481 Fix the underlying cause of the below segfault (must usually
482 call FcDirCacheHasCurrentArch after FcDirCacheValid).
484 2006-02-18 Patrick Lam <plam@mit.edu>
485 * src/fccache.c (FcDirCacheHasCurrentArch):
487 Fix triggering of segfault caused by misreading cache files
488 (reported by fcrozat).
490 2006-02-17 Patrick Lam <plam@mit.edu>
491 * src/fcint.h (FC_CACHE_MAGIC):
493 Bump up magic version; we changed the binary format.
495 2006-02-17 Patrick Lam <plam@mit.edu>
496 * fc-cat/fc-cat.c (main):
498 Enable fc-cat to print out old-style cache info when given a
501 2006-02-16 Patrick Lam <plam@mit.edu>
502 * src/fccache.c (FcDirCacheHasCurrentArch):
504 Deal correctly with changing FC_CACHE_MAGIC.
506 2006-02-16 Patrick Lam <plam@mit.edu>
507 * fc-cache/fc-cache.c (usage, scanDirs, main):
509 Add -r --really-force option which blows away cache files and then
512 2006-02-16 Patrick Lam <plam@mit.edu>
513 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
515 Don't bail if fontconfig can't remove a dir cache file.
516 Skip the ID of a cache file when copying.
517 Eliminate 'source file too small' bug in FcDirCacheWrite.
519 2006-02-13 Patrick Lam <plam@mit.edu>
520 * src/fcfreetype.c (FcFreeTypeQuery):
522 Fix memory leak in error condition code.
524 2006-02-13 Mike Fabian <mfabian@suse.de>
526 * src/fcfreetype.c (FcFreeTypeQuery):
528 Skip bitmap fonts which can't even get it together enough to
529 declare a family name; this appears to reproduce previous
530 fontconfig behaviour.
532 2006-02-10 Takashi Iwai <tiwai@suse.de>
534 * src/fccache.c (FcDirCacheOpen):
536 Try to open /var/cache/fontconfig/[hashed name] before
537 fonts.cache-2 in a directory, because /var/cache/fontconfig
538 failures ought to be fixable, unlike fonts.cache-2 failures,
539 which may leave you screwed.
541 2006-02-10 Takashi Iwai <tiwai@suse.de>
543 * src/fcmatch.c (FcFontSetMatch):
545 Use a tri-state to mark the fonts which didn't get blocked but
546 were just missing an element, to distinguish them from the
547 fonts that do match the element.
549 2006-02-10 Takashi Iwai <tiwai@suse.de>
551 * src/fcmatch.c (FcFontSetMatch):
553 Don't kill fonts because they don't declare an element that's
556 2006-02-09 Patrick Lam <plam@mit.edu>
557 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
558 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
560 Define and pass O_BINARY to open if appropriate, for those
561 platforms that need it. Reported by Doodle.
563 2006-02-09 Patrick Lam <plam@mit.edu>
564 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
567 Fix problem with missing 'en' due to euro.patch: change
568 cache file format slightly to coincide with that generated
571 2006-02-07 Patrick Lam <plam@mit.edu>
572 * src/fccache.c (FcCacheReadDirs):
576 2006-02-07 Patrick Lam <plam@mit.edu>
577 * src/fcdir.c (FcDirScanConfig):
579 Don't reject dirs that can't be normalized (fixes lilypond, and
580 is correct in the context of application font directories.)
582 2006-02-07 Takashi Iwai <tiwai@suse.de>
585 * src/fccache.c (FcCacheReadDirs):
587 Use normalized directory name exclusively in FcCacheReadDirs.
589 2006-02-07 Dirk Mueller <dmueller@suse.com>
592 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
594 Perf optimizations. Inline FcValueCanonicalize,
595 reduce FcValueListPtrU usage, remove redundant cast.
597 2006-02-07 Takashi Iwai <tiwai@suse.de>
600 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
603 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
604 Declare extern for static arrays as arrays, not pointers.
605 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
607 2006-02-07 Dirk Mueller <dmueller@suse.com>
620 Add Euro sign to list of symbols required by European languages.
622 2006-02-07 Patrick Lam <plam@mit.edu>
623 * src/fccache.c (FcCacheReadString):
625 Fix hidden variable warning.
627 2006-02-07 Dirk Mueller <dmueller@suse.com>
630 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
632 Remove de-escaping logic because FcCacheWriteString
633 doesn't escape anyway. Do blockwise reading instead
634 of byte-wise for performance.
636 2006-02-06 Patrick Lam <plam@mit.edu>
637 Takashi Iwai <tiwai@suse.de>
639 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
641 Don't loop infinitely on recursive symlinks (client-side).
643 2006-02-06 Takashi Iwai <tiwai@suse.de>
645 * fc-cache/fc-cache.c (scanDirs, main):
647 Don't loop infinitely on recursive symlinks.
649 2006-02-06 Takashi Iwai <tiwai@suse.de>
651 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
652 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
653 FcGlobalCacheSave, FcCacheReadDirs):
656 Skip subdirs when skipping over stale bits of global cache.
657 Introduce state machine into FcGlobalCacheDir to avoid
658 doing inappropriate operations on global dir entries, e.g.
659 writing out an out-of-date cache entry.
661 2006-02-06 Takashi Iwai <tiwai@suse.de>
663 * src/fcdir.c (FcFileScanConfig):
665 Hoist FcFileIsDir check out of FcFileScanConfig loop.
667 2006-02-06 Takashi Iwai <tiwai@suse.de>
670 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
671 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
673 Don't rescan when trying to normalize a non-declared font dir.
674 Don't add font dirs multiple times (even if they're aliased).
676 2006-02-06 Dirk Mueller <dmueller@suse.de>
679 * src/fcfs.c (FcFontSetUnserialize):
681 Explain apples/oranges comparison and fix compilation error.
683 2006-02-06 Dirk Mueller <dmueller@suse.de>
686 * src/fcfs.c (FcFontSetUnserialize):
688 Insert check for integer overflow in # of fonts.
690 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
694 * fc-cache/Makefile.am:
695 * fc-cat/Makefile.am:
696 * fc-list/Makefile.am:
698 Make 'make distcheck' work with automake 1.6.3.
700 2006-02-03 Takashi IWAI <tiwai@suse.de>
703 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
706 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
707 FcDirCacheConsume, FcDirCacheWrite)
708 * src/fcxml.c (FcConfigMessage):
710 Check I/O call return values and eliminate unused variable
713 2006-02-03 Takashi Iwai <tiwai@suse.de>
716 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
720 2006-02-03 Dirk Mueller <dmueller@suse.de>
723 * src/fcfs.c (FcFontSetUnserialize):
725 Gracefully handle the case where a cache asserts that it
726 has a negative number of fonts, causing overflow.
728 2006-02-03 Patrick Lam <plam@mit.edu>
729 * src/fccache.c (FcDirCacheUnlink):
731 Fix double free in error case.
733 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
734 Stephan Kulow <coolo@suse.de>
737 * fc-cache/Makefile.am:
739 Replace 'stamp' target with mkinstalldirs.
741 2006-01-31 Mike Fabian <mfabian@suse.de>
744 * src/fccache.c (FcGlobalCacheLoad):
746 Toast broken global cache files.
748 2006-01-30 Patrick Lam <plam@mit.edu>
749 * src/fccache.c (FcGlobalCacheReadDir):
751 Actually use the directories that I added to the global cache.
754 2006-01-30 Mike Fabian <mfabian@suse.de>
757 * fc-cache/fc-cache.c (scanDirs):
759 Don't stop scanning if a directory in fonts.conf doesn't
760 exist, because subsequent directories might exist.
762 2006-01-30 Patrick Lam <plam@mit.edu>
763 * src/fccache.c (FcGlobalCacheLoad):
765 Make global cache work again after putting dir names into global
766 cache (I misplaced the recording of a file offset).
768 2006-01-30 Patrick Lam <plam@mit.edu>
769 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
771 Update fc-cat to handle subdir lists in global cache file.
773 * src/fccache.c (FcGlobalCacheLoad):
775 Another FcCacheReadString return value check.
777 2006-01-30 Mike Fabian <mfabian@suse.de>
780 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
781 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
783 Make fccache more resilient to broken cache files by checking
784 return value of FcCacheReadString all the time.
786 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
789 * fc-match/fc-match.1:
790 * fc-lang/fc-lang.man:
792 Remove references to dead fontconfig(3) manpages in
793 other fontconfig manpages.
795 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
798 * doc/fcpattern.fncs:
800 Fix world's tiniest typo in code example.
802 2006-01-29 Mike Fabian <mfabian@suse.de>
805 * src/fccache.c (FcGlobalCacheReadDir):
807 Fix global cache reads of subdirectories.
809 2006-01-29 Patrick Lam <plam@mit.edu>
811 Add documentation for FcConfigNormalizeFontDir.
813 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
814 FcGlobalCacheUpdate, FcGlobalCacheSave):
815 * src/fcdir.c (FcDirScanConfig):
818 Write directory information to global caches to fix make check
819 (reported by Ronny V. Vindenes). This changes the global cache
822 2006-01-27 Patrick Lam <plam@mit.edu>
823 * fc-cache/fc-cache.c (scanDirs):
824 * fontconfig/fontconfig.h:
826 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
828 Move FcConfigNormalizeFontDir call so that it doesn't result in
829 infinite recursion (reported by Ronny V. Vindenes).
831 2006-01-26 Patrick Lam <plam@mit.edu>
832 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
833 * src/fccfg.c (FcConfigNormalizeFontDir):
835 Add a couple of missing normalizations to make fc-cache work
836 right; only scan subdirectories once.
838 2006-01-26 Mike Fabian <mfabian@suse.de>
841 * src/fcacache.c (FcGlobalCacheReadDir):
843 Don't crash on non-existant directories in global cache.
845 2006-01-26 Patrick Lam <plam@mit.edu>
846 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
847 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
848 * src/fcdir.c (FcDirScanConfig):
849 * src/fcxml.c (FcEndElement):
851 Stop trampling the directory name when writing out caches.
852 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
853 subdirs when necessary. Don't scan directories that can't be
856 2006-01-25 Patrick Lam <plam@mit.edu>
857 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
858 * src/fccfg.c (FcConfigEvaluate):
859 * src/fcfreetype.c (FcPatternAddWithBinding):
861 Fix additional memory leaks reported by Ronny V. Vindenes: don't
862 invoke FcValueSave on hashed static strings in
863 FcPatternAddWithBinding.
865 Add another st_dev check in FcDirCacheOpen.
867 2006-01-24 James Su <james.su@gmail.com>
870 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
871 * fc-lang/zh_hk.orth:
873 Treat zh-hk fonts differently from zh-tw fonts. This patch may
874 cause fontconfig to treat A-X fonts differently from A-Y fonts;
875 please mail the fontconfig list if this causes any problems.
877 2006-01-24 Patrick Lam <plam@mit.edu>
878 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
879 * src/fcfreetype.c (FcFreeTypeQuery):
881 Fix memory leaks reported by Ronny V. Vindenes.
883 2006-01-19 Andreas Schwab <schwab@suse.de>
886 * src/fcpat.c (FcStrNeededBytes):
888 Fix for unaligned memory accesses.
890 2006-01-18 Mike Fabian <mfabian@suse.de>
893 * src/fcdir.c (FcDirScanConfig):
895 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
896 calls to avoid crashes.
898 2006-01-14 Patrick Lam <plam@mit.edu>
899 * src/fccache.c (FcDirCacheConsume):
901 Fix segfault when consuming zero-length caches in fc-cat
902 (which has no config, so FcConfigAddFontDir shouldn't be called.)
904 2006-01-14 Patrick Lam <plam@mit.edu>
905 * fc-cache/fc-cache.c (scanDirs):
906 * fontconfig/fontconfig.h:
907 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
908 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
909 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
910 * src/fcdir.c (FcDirScanConfig):
913 Compare device numbers as well as inodes.
914 Always normalize directory names before comparing them.
916 2006-01-11 Mike Fabian <mfabian@suse.de>
919 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
921 Allocate extra space for appended '/' in directory name.
923 2006-01-10 Patrick Lam <plam@mit.edu>
924 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
925 FcDirCacheValid, FcDirCacheHasCurrentArch,
926 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
927 * fc-cache/fc-cache.c (main):
929 Explicitly add font dirs to config.fontDirs even if they're empty.
930 Set current config in fc-cache.c.
931 Fix treatment of cache directory as read from cache file; don't
932 use string equality to determine if we have the right file,
935 2006-01-09 Patrick Lam <plam@mit.edu>
936 * fc-cache/fc-cache.c (scanDirs):
937 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
938 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
939 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
940 * src/fccfg.c (FcConfigNormalizeFontDir):
941 * src/fcdir.c (FcDirScanConfig):
944 Normalize font dirs by using the form, as given in fonts.conf, and
945 recorded in FcConfig's fontDirs string set, as canonical.
947 Actually update config.fontDirs as font directories are scanned.
949 2006-01-08 James Su <james.su@gmail.com>
950 * src/fcmatch.c (FcFontSetMatch):
952 Fix matching bug when multiple elements match; don't use
953 the sum of all scores, but the best score.
955 Also more perf opts, e.g. evaluate best over all font sets
956 rather than on a per-set basis (and other changes).
958 2006-01-08 Patrick Lam <plam@mit.edu>
959 * src/fccache.c (FcDirCacheConsume):
961 Properly skip past dir caches that contain zero fonts (as occurs
962 in global caches.) Reported by Mike Fabian.
964 2006-01-06 Patrick Lam <plam@mit.edu>
965 * src/fcdbg.c (FcPatternPrint):
967 Print out full pathname in fc-match -v as well. Reported by
970 2006-01-06 Mike Fabian <mfabian@suse.de>
973 * src/fcname.c (FcNameParse):
975 Fix bug where fc-match crashes when given __DUMMY__ property to
978 (I added the __DUMMY__ string to enable callers of
979 FcObjectToPtrLookup to distinguish an error return from a
980 successful return. -PL)
982 2006-01-05 Patrick Lam <plam@mit.edu>
985 Add self to AUTHORS list.
987 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
988 FcCacheFileRead, FcCachePrintSet, main):
989 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
990 FcGlobalCacheSave, FcCacheNextOffset,
991 FcDirCacheHasCurrentArch, FcDirCacheRead,
992 FcDirCacheConsume, FcDirCacheWrite):
994 * src/fcpat.c (comment):
996 Minor change to global cache file format to fix fc-cat bug
997 reported by Frederic Crozat, and buglet with not globally caching
998 directories with zero fonts cached.
1000 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1003 * src/fccfg.c (FcConfigEvaluate):
1005 Fix double-free which occurs because FcValueCanonicalize doesn't
1006 create an extra copy of the returned value, it only canonicalizes
1009 2006-01-02 Patrick Lam <plam@mit.edu>
1010 * doc/fontconfig-user.sgml:
1012 Fix version of .cache file (currently 1 -> currently 2). Reported
1015 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1018 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1020 Shut up GCC warnings on amd.
1022 2005-12-20 Patrick Lam <plam@mit.edu>
1026 * fontconfig/fontconfig.h:
1028 Bump version to 2.3.93.
1030 2005-12-20 Patrick Lam <plam@mit.edu>
1031 * src/fccharset.c (FcLangCharSetPopulate):
1032 * src/fcint.h (FcCacheBankToIndex):
1034 Avoid check on _fcBankId nullness and fix case where it used to
1037 2005-12-20 Patrick Lam <plam@mit.edu>
1038 * src/fcxml.c (FcConfigParseAndLoad):
1040 Use open instead of fopen (requested by Phil Race for Sun).
1042 2005-12-20 Patrick Lam <plam@mit.edu>
1043 * src/fccache.c (FcDirCacheWrite);
1044 * fc-cache/Makefile.am:
1046 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1049 2005-12-20 Patrick Lam <plam@mit.edu>
1050 * src/fcfreetype.c (FcFreeTypeQuery):
1052 Restore code to skip over PCF fonts that have no encoded
1054 (We guess that a font is PCF by presence of the PIXEL_SIZE
1057 2005-12-12 Patrick Lam <plam@mit.edu>
1058 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1060 Read and write the original location as a fallback for the
1061 hashed cache file locations. This is mostly for users to be
1062 able to have per-directory cache files.
1064 2005-12-12 Patrick Lam <plam@mit.edu>
1065 * fc-cache/fc-cache.c (scanDirs):
1066 * fc-cache/Makefile.am:
1067 * src/fccache.c (FcDirCacheHashName):
1069 Improve error message when fc-cache can't write the cache. Add
1070 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1071 create /var/cache/fontconfig when appropriate.
1073 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1076 * src/fcxml.c (FcConfigGetAttribute):
1078 Fix crash reported by Frederic Crozat when using libxml2.
1080 2005-12-09 Patrick Lam <plam@mit.edu>
1083 * fc-cache/Makefile.am:
1084 * fc-cat/Makefile.am:
1086 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1087 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1088 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1089 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1090 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1091 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1093 Migrate cache files from fonts directories to
1094 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1095 but requires that all caches get rebuilt.
1097 Also, autogen.sh now needs the additional parameter
1098 --localstatedir=/var.
1100 2005-12-07 Patrick Lam <plam@mit.edu>
1101 * src/fcpat.c (FcPatternAddString):
1103 Because we've changed FcPatternAddString to use FcStrStaticName
1104 and not FcValueSave, explicitly handle the case of a null string.
1106 2005-12-06 Patrick Lam <plam@mit.edu>
1107 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1111 2005-12-05 Patrick Lam <plam@mit.edu>
1112 * src/fcname.c (FcNameGetObjectType):
1114 Don't assign types to user object names.
1116 2005-12-05 Patrick Lam <plam@mit.edu>
1117 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1119 Don't free strings that have been returned from FcStrStaticName.
1121 2005-12-01 Patrick Lam <plam@mit.edu>
1122 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1124 Add codepath for reading global cache files as well.
1126 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1129 * conf.d/10-fonts.persian.conf:
1130 * conf.d/Makefile.am:
1132 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1134 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1137 * src/fcxml.c (FcConfigParseAndLoad):
1139 Only add a config file to the set of config files once.
1141 2005-11-29 Patrick Lam <plam@mit.edu>
1142 * src/fcint.h (FcCacheBankToIndex);
1144 Fix segfault by guarding array dereference.
1146 2005-11-29 Dirk Mueller <dmueller@suse.de>
1149 * fc-lang/fc-lang.c:
1150 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1151 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1155 Refactor FcCacheBankToIndex into an inlineable part
1156 (in fcint.h) which checks the front of the list and a
1157 non-inlineable part which finds and moves the appropriate element
1158 to the front of the list.
1160 2005-11-29 Patrick Lam <plam@mit.edu>
1161 * src/fccfg.c (FcConfigBuildFonts):
1162 * src/fccache.c (FcCacheReadDirs):
1164 Make the perf guys hate me a bit less: hoist the directory-name
1165 FcConfigAcceptFont check for cached fonts up to directory cache
1166 read time, rather than running it for each font.
1168 2005-11-29 Patrick Lam <plam@mit.edu>
1169 * src/fccfg.c (FcConfigBuildFonts):
1171 * src/fcpat.c (FcPatternFindFullFname):
1173 Don't make FcPatternFindFullFname available to fccfg, it's not
1174 really safe. Instead go through FcPatternGetString (sorry,
1175 perf guys.) Also, use globs for dirs as well.
1177 2005-11-28 Patrick Lam <plam@mit.edu>
1178 * src/fccfg.c (FcConfigBuildFonts):
1182 2005-11-28 Patrick Lam <plam@mit.edu>
1184 * src/fcpat.c (FcPatternFindFullFname):
1185 * src/fccfg.c (FcConfigBuildFonts):
1187 Fix problem dating back at least to 2.3.2 where globs weren't
1188 being applied to patterns loaded from a cache.
1190 2005-11-28 Patrick Lam <plam@mit.edu>
1191 * doc/fontconfig-user.sgml:
1193 Fix some obvious spelling mistakes.
1195 2005-11-28 Dirk Mueller <dmueller@suse.com>
1196 Stephan Kulow <coolo@suse.de>
1199 * src/fcmatch.c (FcFontSetMatch):
1201 Don't kill all fonts during match (oops!)
1204 2005-11-25 Dirk Mueller <dmueller@suse.com>
1205 Stephan Kulow <coolo@suse.de>
1206 Michael Matz <matz@suse.de>
1209 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1212 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1213 inline FcCompare into FcFontSetMatch and reorder the
1214 loops, adding a boolean array which blocks patterns from future
1215 consideration if they're known to not be best on some past
1218 2005-11-26 Dirk Mueller <dmueller@suse.com>
1221 * src/fcmatch.c (FcCompareValueList):
1223 Fix incorrect merge.
1225 2005-11-25 Patrick Lam <plam@mit.edu>
1226 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1228 Don't do random matching when bad objects are passed into
1231 2005-11-25 Patrick Lam <plam@mit.edu>
1233 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1234 FcPatternSerialize, FcPatternUnserialize,
1235 FcValueListEnsureBank, FcValueListDistributeBytes,
1236 FcValueListUnserialize):
1238 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1239 _fcPatternElts, _fcValueLists for consistency.
1241 2005-11-25 Dirk Mueller <dmueller@suse.com>
1246 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1248 2005-11-25 Patrick Lam <plam@mit.edu>
1250 * src/fccache.c (FcDirCacheConsume):
1251 * src/fccharset.c (FcCharSetUnserialize):
1252 * src/fcfs.c (FcFontSetUnserialize):
1253 * src/fclang.c (FcLangSetUnserialize):
1254 * src/fcname.c (FcObjectUnserialize):
1255 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1256 FcPatternUnserialize):
1258 Pass around FcCache *s to the Unserialize functions for extra
1259 consistency (and less overhead, for what that's worth).
1261 2005-11-24 Dirk Mueller <dmueller@suse.com>
1265 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1266 * src/fcname.c (FcNameUnparseValue):
1268 Inline the *PtrU functions to gain perf.
1269 Remove unneeded params for the FcCompare* functions.
1271 2005-11-24 Dirk Mueller <dmueller@suse.com>
1274 * src/fcint.h, fontconfig/fontconfig.h:
1276 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1278 * src/fcpat.c, src/fcint.h, src/fcname.c:
1280 Check for type validity during FcPatternAddWithBinding, don't
1281 verify type in FcFontMatch, don't call FcCanonicalize here
1282 (which always does a deep copy).
1284 2005-11-24 Dirk Mueller <dmueller@suse.com>
1287 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1288 * src/fcpat.c (FcPatternAddWithBinding):
1290 Make FcCompareString and FcCompareFamily less expensive.
1291 Only add a value for FC_FAMILY if the proposed value is a string.
1293 2005-11-24 Dirk Mueller <dmueller@suse.com>
1296 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1297 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1298 * src/fcint.h (FcDebug):
1300 Inline FcDebug invocations and only initialize once, in FcInit*.
1301 Improve debug msg in FcPatternPrint.
1303 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1306 * fontconfig/fontconfig.h:
1309 Minor code warning cleanups.
1311 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1314 * fc-match/fc-match.c (main):
1316 Make getopt_long accept -s parameter to fc-match as well.
1318 2005-11-21 Dirk Mueller <dmueller@suse.com>
1321 * src/fcmatch.c (FcCompareValueList):
1323 Manually perform inlining & partial redundancy elimination to
1324 reduce calls to FcValueListPtrU.
1326 2005-11-21 Dirk Mueller <dmueller@suse.com>
1329 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1330 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1332 Only invoke strlen() when really necessary.
1334 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1338 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1339 FcFontCapabilities):
1343 Get rid of the use of freetype internal headers in fcfreetype.c,
1344 since those headers will go away with freetype 2.2. Replace with
1345 public domain ftglue code from pango. Note that the patch removes
1346 some extra error checking in FT_Get_BDF_Property() and comments
1347 out the skipping of empty pcf fonts.
1349 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1352 * fc-lang/fc-lang.c (main):
1354 Further fix of patch from 2005-11-04: miscounted numbers count
1355 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1356 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1358 Removed leafidx_count and numbers_count since they are the same
1359 and replaced them with offset_count.
1361 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1364 * fc-cat/fc-cat.c (main):
1366 Don't crash when fc-cat invoked with no arguments.
1368 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1371 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1373 Fix invalid read access caused by premature free and
1374 GCC4 warnings in libxml2 codepath.
1376 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1379 * src/fccfg.c (FcConfigValues):
1381 List iteration not needed in FcConfigValues, since it's building
1382 up the list itself; we can just strip FcVoid elements during
1385 2005-11-17 Patrick Lam <plam@mit.edu>
1386 * src/fccfg.c (FcConfigValues):
1388 Fix crash on invalid constants in config files (forgot to update
1389 a pointer upon list iteration.)
1391 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1394 * src/fcxml.c (FcTypecheckExpr):
1396 Complain about invalid constants in config files.
1398 2005-11-17 Andreas Schwab <schwab@suse.de>
1401 * src/fccache.c (FcGlobalCacheSave):
1403 Don't add current_arch_start more than once.
1405 2005-11-16 Patrick Lam <plam@mit.edu>
1406 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1407 * src/fcfs.c (FcFontSetUnserialize):
1408 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1409 * src/fcpat.c (FcStrUnserialize):
1411 Fix ordering of ALIGN with respect to saving block_ptr; add
1412 another ALIGN to fcfs.c.
1414 2005-11-16 Patrick Lam <plam@mit.edu>
1415 * src/fccache.c (FcDirCacheProduce)
1417 Fix case where alignment bytes bumped up metadata->count
1418 causing unwarranted failures to write cache files.
1419 (Reported by Stephan Kulow).
1421 2005-11-16 Patrick Lam <plam@mit.edu>
1422 * src/fccache.c (FcDirCacheProduce):
1423 * src/fccharset.c (FcCharSetDistributeBytes):
1424 * src/fcfs.c (FcFontSetDistributeBytes):
1426 * src/fclang.c (FcLangSetDistributeBytes):
1427 * src/fcname.c (FcObjectDistributeBytes):
1428 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1431 Add *NeededBytesAlign(), which overestimates the padding which is
1432 later added by the new ALIGN macro. Fix alignment problems on
1433 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1434 version by Andreas Schwab).
1436 2005-11-16 Stephan Kulow <coolo@kde.org>
1441 Use sysconf to determine proper PAGESIZE value; this
1442 appears to be POSIX-compliant. (reported by Andreas Schwab)
1444 2005-11-04 Patrick Lam <plam@mit.edu>
1445 * fc-lang/fc-lang.c:
1450 Fix bug 2878 (excessive relocations at startup for charsets,
1451 reported by Ross Burton): fc-lang/fc-lang now creates the
1452 static form of the langset, not the dynamic form, so that
1453 the charsets should now be in .rodata.
1455 2005-11-04 Patrick Lam <plam@mit.edu>
1456 * src/fcdir.c (FcDirScanConfig):
1458 Add test for validity of directory caches that
1459 somehow got lost (reported by make distcheck).
1461 2005-11-04 Patrick Lam <plam@mit.edu>
1465 * fontconfig/fontconfig.h:
1467 Bump version to 2.3.92.
1469 2005-11-02 Patrick Lam <plam@mit.edu>
1470 * src/fcpat.c (FcPatternDuplicate):
1472 Fix argument ordering problem in call to FcPatternTransferFullFname.
1474 2005-11-02 Patrick Lam <plam@mit.edu>
1475 * src/fcfreetype.c (FcFreetypeQuery):
1476 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1477 FcPatternTransferFullFname):
1479 Fix warnings and embarrassing double-free error.
1481 2005-11-02 Zhe Su <zsu@novell.com>
1486 Change the rule for artificial emboldening in fonts.conf.in. This
1487 enables the support for artificial emboldening included in cairo.
1489 2005-11-02 Patrick Lam <plam@mit.edu>
1490 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1492 Don't zero out full names for FC_REF_CONSTANT fonts;
1493 also, duplicate full names when transferring, and free
1494 full names when freeing the associated font.
1495 Reported by Jinghua Luo.
1497 2005-11-02 Patrick Lam <plam@mit.edu>
1498 * fc-cache/fc-cache.c (scanDirs):
1499 * src/fcpat.c (FcValueListSerialize):
1501 Revert the previous patch and commit the correct patch:
1502 I forgot a canonicalization in FcValueListSerialize, so
1503 that it would choke on already-serialized input files. Duh!
1505 2005-11-02 Patrick Lam <plam@mit.edu>
1506 * fc-cache/fc-cache.c (scanDirs):
1508 Forcibly rescan a directory before writing a fresh local
1509 cache file for that directory, fixing the losing-fonts
1510 problem reported by Mike Fabian and also apparently the
1511 font cache file corruption.
1513 2005-11-02 Patrick Lam <plam@mit.edu>
1514 * src/fccache.c (FcGlobalCacheLoad):
1516 Fix thinko: actually, the whole global cache is stale
1517 if the global cache is older than the (newest) config file.
1519 2005-11-02 Patrick Lam <plam@mit.edu>
1520 * src/fccache.c (FcGlobalCacheLoad):
1521 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1524 Declare the global cache of a directory's contents to be stale if
1525 the directory is newer than the (newest) configuration file.
1527 2005-10-31 Patrick Lam <plam@mit.edu>
1529 * src/fclist.c (FcListAppend):
1530 * src/fcmatch.c (FcFontRenderPrepare):
1531 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1532 FcPatternFreeze, FcPatternBaseFreeze):
1534 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1535 applications continue breaking.
1537 2005-10-31 Patrick Lam <plam@mit.edu>
1538 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1539 * src/fcfreetype.c (FcFreeTypeQuery):
1541 Fix small memory error (tried to free argv); use basename and
1542 dirname correctly (they can modify their arguments).
1544 2005-10-31 Patrick Lam <plam@mit.edu>
1552 Reinstate basename patch, but keep a hash table linking FcPatterns
1553 to their fully-qualified font names for clients' benefit. Clients
1554 only pay for the font names once they request the FC_FILE property
1555 from an FcPattern, but the font name is malloc'd at that point (i.e.
1556 not mmapped: that's impossible, since it may vary between machines.)
1557 Clients do have to pay for a copy of the path name per cache file.
1559 Note that FcPatternGetString now does some rewriting if you ask
1560 for an FC_FILE, appending the pathname as appropriate.
1562 2005-10-31 Patrick Lam <plam@mit.edu>
1563 * src/fcfreetype.c (FcFreeTypeQuery):
1565 Revert basename patch, which breaks fontconfig clients on my system.
1567 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1570 * fontconfig/fonts.conf.in:
1571 * fontconfig/fontconfig.h:
1575 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1576 to load embedded bitmaps or not.
1578 2005-10-25 Patrick Lam <plam@mit.edu>
1579 * src/fcfreetype.c (FcFreeTypeQuery):
1581 Only add basename to patterns' FC_FILE element, not any part of
1584 2005-10-22 Patrick Lam <plam@mit.edu>
1587 Add some more consts, fixing more GCC4 warnings.
1589 2005-10-22 Zhe Su <zsu@novell.com>
1592 Support localized font family and style names.
1593 This has been reported to break old apps like xfd, but modern
1594 (gtk+/qt/mozilla) apps work fine.
1596 2005-10-21 Patrick Lam <plam@mit.edu>
1597 * src/fccache.c (FcGlobalCacheLoad):
1599 Destroy the global cache file if it's terminally broken. (reported by
1602 2005-10-21 Patrick Lam <plam@mit.edu>
1603 * fc-list/fc-list.c (main):
1604 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1605 * fontconfig/fontconfig.h:
1607 Prevent fc-list from escaping strings when printing them (reported by
1610 2005-10-20 Marcus Meissner <meissner@suse.de>
1613 * fontconfig/fontconfig.h:
1615 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1617 2005-10-14 Ross Burton <ross@burtonini.com>
1620 * fc-glyphname/fc-glyphname.c:
1623 Add consts to variables so as to move arrays into .rodata.
1625 2005-10-14 Mike Fabian <mfabian@suse.de>
1628 * src/fccache.c (FcDirCacheUnlink):
1630 Check existence of directory cache file before attempting to unlink.
1632 2005-10-13 Patrick Lam <plam@mit.edu>
1633 * src/fccache.c (FcDirCacheUnlink):
1635 Fix flipped return value on unlink. (Reported by Mike Fabian)
1637 2005-10-12 Patrick Lam <plam@mit.edu>
1640 * src/fcdir.c (FcDirScanConfig):
1643 When fc-cache is run without --force, use directory cache files
1644 to speed up fc-cache run time. (Reported by Mike Fabian)
1646 2005-10-06 Patrick Lam <plam@mit.edu>
1648 * src/fcname.c (FcObjectToPtr):
1649 * src/fcpat.c (FcStrStaticName):
1651 Add padding to make valgrind and glibc not hate each other
1652 when calling strlen().
1654 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1655 reviewed by: plam & keithp
1659 Modify config file to use Greek fonts before Asian fonts with
1662 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1663 reviewed by: plam & keithp
1667 Use libtool -no-undefined flag on all platforms.
1669 2005-10-05 Patrick Lam <plam@mit.edu>
1670 * src/fccache.c (FcCacheHaveBank):
1672 Implement move-to-front array for banks (perf regression
1673 reported by Ronny V. Vindenes).
1675 2005-10-04 Patrick Lam <plam@mit.edu>
1676 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1677 FcDirCacheHasCurrentArch):
1678 * fc-cache/fc-cache.c (scanDirs):
1679 * fontconfig/fontconfig.h:
1681 Add new API which unlinks directory caches and checks dir caches
1682 for existence of appropriate sections. Fix fc-cache to unlink
1683 stale cache files and save directory caches that lack relevant
1686 2005-10-03 Patrick Lam <plam@mit.edu>
1687 * src/fccache.c (FcDirCacheValid):
1689 Ensure that a directory cache has the appropriate section
1690 before reporting that it is valid (reported by Matthias Clasen).
1692 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1700 Use libxml2 if requested (with --enable-libxml2) or if
1701 expat is not available.
1703 2005-09-29 Patrick Lam <plam@mit.edu>
1704 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1706 Fix multi-arch cache files: compute the position for the
1707 block to be added using info from OrigFile, not NewFile.
1709 2005-09-28 Patrick Lam <plam@mit.edu>
1710 * src/fccache.c (FcCacheMachineSignature):
1712 Cast results of sizeof() to unsigned int to get rid of
1713 warnings on x86_64 (thanks Matthias Clasen).
1715 2005-09-27 Patrick Lam <plam@mit.edu>
1716 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1719 Use FcAtomic to rewrite cache files.
1721 2005-09-27 Patrick Lam <plam@mit.edu>
1723 * src/fccache.c (FcDirCacheWrite):
1725 Don't unlink the fonts.cache-2 file even if there's no data
1726 to write; just write an empty cache file. (thanks Lubos Lunak)
1728 2005-09-27 Patrick Lam <plam@mit.edu>
1730 * src/fccache.c (FcDirCacheWrite):
1732 Allocate room for the subdirectory names in each
1733 directory cache. Thanks to James Cloos for finding
1734 and diagnosing this bug!
1736 2005-09-22 Patrick Lam <plam@mit.edu>
1738 * fc-cache/fc-cache.sgml:
1739 * src/fccache.c (FcDirCacheWrite):
1740 * src/fccache.h (struct FcCache):
1742 Update documentation -- fc-cache's man page now says that you
1743 need to run fc-cache once per cached architecture; add some
1744 documentation to the FcCache structure.
1746 Make fc-cache write out fonts.cache-2 files for directories with
1747 no fonts (i.e. only subdirectories).
1749 2005-09-22 Patrick Lam <plam@mit.edu>
1751 * fc-cache/fc-cache.sgml:
1752 * fc-case/fc-case.c:
1753 * fc-glyphname/fc-glyphname.c:
1759 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1763 * fc-lang/fc-lang.c:
1764 * fontconfig/fcprivate.h:
1765 * fontconfig/fontconfig.h:
1779 Implement new mmaped cache for font information.
1780 Bump so revision to 2.3.90.
1782 2005-07-25 Keith Packard <keithp@keithp.com>
1784 * doc/fontconfig-user.sgml:
1785 * fc-glyphname/fc-glyphname.c: (scan), (main):
1786 * fc-lang/fc-lang.c: (FcConfigHome):
1787 * fc-match/fc-match.c: (main):
1788 * src/fccfg.c: (FcConfigHome):
1789 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1790 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1791 (addtag), (FcFontCapabilities):
1792 * src/fcpat.c: (FcValueListEntCreate):
1793 * src/fcstr.c: (FcStrCaseWalkerInit):
1794 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1796 Various GCC 4 cleanups for signed vs unsigned char
1798 Match only [0-9]*.conf files in <include>{directory}</include>
1799 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1801 2005-07-15 Carl Worth <cworth@cworth.org>
1804 * src/fcinit.c: (FcFini):
1805 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1808 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1809 Pull the FcObjectStateName hash table out to file scope, and add
1810 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1813 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1816 2005-06-16 Patrick Lam <plam@MIT.EDU>
1820 * src/fccfg.c: (FcConfigCompareValue):
1821 Make FcOpNotContains use FcStrStr for strings so that
1822 it matches semantics for !FcOpContains.
1824 2005-05-20 Keith Packard <keithp@keithp.com>
1828 Move fontconfig source package to libs as per override
1830 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1832 reviewed by: Mike Fabian
1835 The ka.orth file requires several characters which are not
1836 used anymore in modern Georgian and which are missing in the free
1837 Georgian TrueType fonts downloadable at:
1839 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1841 2005-04-27 Keith Packard <keithp@keithp.com>
1845 Update date to real 2.3.2 release date.
1846 Fix change attributions
1848 2005-04-27 Keith Packard <keithp@keithp.com>
1851 Bump so revision for 2.3.2
1852 * fc-cache/fc-cache.c: (scanDirs):
1853 Fix a few minor leaks in error cases.
1855 2005-04-23 Keith Packard <keithp@keithp.com>
1860 * fontconfig/fontconfig.h:
1861 Update for version 2.3.2
1863 2005-04-21 Keith Packard <keithp@keithp.com>
1865 * debian/fontconfig.postinst:
1866 Don't force bitmap font enable in default
1867 configuration; allows users to override this in
1877 * debian/po/pt_BR.po:
1878 * debian/po/templates.pot:
1880 * debian/po/zh_CN.po:
1881 Updated translations
1883 * fc-cache/fc-cache.c: (main):
1884 Destroy font configuration on exit to help valgrind
1887 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1888 (FcFreeTypeCheckGlyph):
1889 Use own transcoding routines in preference to iconv
1890 which appears to have leaks in some translators.
1891 Call iconv_close after using iconv (oops).
1893 Prefer unicode encoding of Euro char as some
1894 fonts mis-encode Euro in other ones.
1896 Must fetch bitmap glyphs to get width values
1897 to check for monospace/dual-width fonts.
1899 2005-04-13 Ross Burton <ross@burtonini.com>
1902 Check that a pattern isn't already frozen in FcPatternFreeze.
1904 2005-03-31 Ross Burton <ross@burtonini.com>
1909 Run all FcPattern objects through FcObjectStaticName, so that
1910 compares can be done on pointers instead of strings (#2659)
1912 2005-03-17 Tor Lillqvist <tml@novell.com>
1914 * src/fontconfig.def.in: Add the .dll to the dll name.
1916 2005-03-10 Keith Packard <keithp@keithp.com>
1918 * debian/README.Debian:
1919 Update to reflect configuration changes
1921 * debian/fontconfig.postinst:
1922 Fix Autohint vs Autohinter mistake
1923 * debian/fontconfig.templates:
1924 Adopt changes from Josselin Mouette for configuration descriptions
1925 Update debian to version 2.3.1-2
1927 2005-03-08 Keith Packard <keithp@keithp.com>
1931 Update debian for 2.3.1
1933 2005-03-09 Tor Lillqvist <tml@novell.com>
1935 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1938 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1941 2005-03-08 Keith Packard <keithp@keithp.com>
1945 * fontconfig/fontconfig.h:
1948 2005-03-05 Keith Packard <keithp@keithp.com>
1950 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1951 Include space and remove numbers from valid script tags.
1952 This ensures that tags like 'lao ' work while rejecting
1953 those which have any digits.
1954 Eliminate a spurious debugging variable (len)
1956 2005-03-05 Keith Packard <keithp@keithp.com>
1958 * src/fcfreetype.c: (addtag), (GetScriptTags),
1959 (FcFontCapabilities):
1960 Rework GSUB/GPOS script parsing to survive broken fonts.
1961 Thanks for the broken font go to Manish Singh
1963 2005-03-05 Keith Packard <keithp@keithp.com>
1968 * debian/fontconfig.config:
1969 * debian/fontconfig.templates:
1971 Include 2.3 release information in changelog
1972 Add Josselin Mouette as an Uploader
1973 Set hinting_type to low priority configuration option
1976 * debian/fontconfig.postinst:
1977 yes_bitmaps.conf -> yes-bitmaps.conf
1983 2005-03-02 Keith Packard <keithp@keithp.com>
1986 * conf.d/Makefile.am:
1987 * conf.d/autohint.conf:
1988 * conf.d/no-sub-pixel.conf:
1989 * conf.d/sub-pixel.conf:
1990 * conf.d/unhinted.conf:
1991 * debian/autohint.conf:
1992 * debian/fontconfig.install:
1993 * debian/fontconfig.postinst:
1994 * debian/fontconfig.templates:
1995 * debian/no-sub-pixel.conf:
1996 * debian/unhinted.conf:
1997 Move debian-specific conf file examples upstream.
1999 Sub-pixel configuration examples must smash subpixel value
2000 as Xft always sets it from X.
2002 Change sub-pixel rendering debconf descriptions from
2003 Enable/Disable to Always/Never.
2005 2005-03-02 Keith Packard <keithp@keithp.com>
2008 * conf.d/.cvsignore:
2010 Ignore more build detritus
2013 Add debian package construction stuff.
2015 * config/config.guess:
2016 * config/config.sub:
2017 Update to newer versions of these tools
2020 Get library manuals to build again (we love automake).
2022 * debian/README.Debian:
2023 * debian/autohint.conf:
2028 * debian/fontconfig-udeb.install:
2029 * debian/fontconfig.config:
2030 * debian/fontconfig.defoma:
2031 * debian/fontconfig.dirs:
2032 * debian/fontconfig.install:
2033 * debian/fontconfig.postinst:
2034 * debian/fontconfig.postrm:
2035 * debian/fontconfig.templates:
2036 * debian/libfontconfig1-dev.install:
2037 * debian/libfontconfig1.install:
2038 * debian/local.conf.md5sum:
2039 * debian/no-sub-pixel.conf:
2040 * debian/po/POTFILES.in:
2049 * debian/po/pt_BR.po:
2050 * debian/po/templates.pot:
2052 * debian/po/zh_CN.po:
2054 * debian/unhinted.conf:
2055 Update debian build system to switch maintainers and
2056 deal with 2.3 functionality
2058 2005-03-01 Keith Packard <keithp@keithp.com>
2062 * fontconfig/fontconfig.h:
2065 2005-03-01 Keith Packard <keithp@keithp.com>
2068 Generate and install PDF versions of the manuals
2070 * doc/fcpattern.fncs:
2073 * doc/fcstring.fncs:
2074 Add missing exported functions, fix data types
2076 * doc/fontconfig-devel.sgml:
2077 Add missing pattern elements.
2079 * doc/fontconfig-user.sgml:
2080 Add missing pattern elements. Document conf.d usage,
2081 clarify available orthography list. Fix some config file
2082 attributes. Complete list of constants.
2084 * fontconfig/fontconfig.h:
2085 Mark FC_SOURCE deprecated.
2087 * src/fcfreetype.c: (FcFreeTypeQuery):
2088 Don't set FC_SOURCE any longer.
2090 2005-02-28 Keith Packard <keithp@keithp.com>
2093 * conf.d/Makefile.am:
2095 * conf.d/no-bitmaps.conf:
2096 * conf.d/sub-pixel.conf:
2097 * conf.d/yes-bitmaps.conf:
2099 Create prototype /etc/fonts/conf.d directory with a few
2100 sample configuration files.
2101 Deprecate use of local.conf for local customizations in favor of
2102 this directory based scheme which is more easily integrated into
2103 installation systems.
2106 Tag FC_EMBOLDEN as a boolean variable
2108 2005-02-10 Keith Packard <keithp@keithp.com>
2110 reviewed by: pborelli@katamail.com
2112 * src/fcdir.c: (FcFileScanConfig):
2113 Free patterns from fonts which are rejected by configuration
2116 2005-01-28 Keith Packard <keithp@keithp.com>
2120 * fontconfig/fontconfig.h:
2121 Update for version 2.2.99
2123 2005-01-28 Keith Packard <keithp@keithp.com>
2126 Add a few pointers (#2284, #2285)
2128 2005-01-28 Keith Packard <keithp@keithp.com>
2131 * src/fcname.c: (FcNameBool):
2132 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2133 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2134 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2135 Polite typechecking for test and edit expressions. Helps
2136 catch errors in the font configuration. (bug 229)
2138 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2140 reviewed by: Keith Packard <keithp@keithp.com>
2143 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2145 2005-01-13 Keith Packard <keithp@keithp.com>
2147 * doc/fontconfig-user.sgml:
2148 Add SEE ALSO section (bug 2085)
2150 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2152 reviewed by: Keith Packard <keithp@keithp.com>
2157 * fc-case/Makefile.am:
2158 * fc-glyphname/Makefile.am:
2159 * fc-lang/Makefile.am:
2160 * src/fontconfig.def.in:
2161 Cross compiling fixes (bug 280)
2163 2005-01-13 Keith Packard <keithp@keithp.com>
2166 Update blanks list (Closes bug 86)
2168 2005-01-04 Keith Packard <keithp@keithp.com>
2170 * src/fccache.c: (FcCacheFontSetAdd):
2171 Verify that every font pattern loaded from cache has
2172 both FC_FILE and FC_FAMILY entries.
2173 Attempt to fix bug #2219.
2175 2004-12-29 Keith Packard <keithp@keithp.com>
2179 * fontconfig/fontconfig.h:
2180 Update for version 2.2.98
2182 2004-12-29 Keith Packard <keithp@keithp.com>
2184 * fontconfig/fontconfig.h:
2185 Document ASCII limitations of Fc character conversion macros
2186 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2187 Fix off-by-one error in utf-8 case walking code.
2188 Add FcStrDowncase (useful for testing case conversion functions)
2190 2004-12-29 Keith Packard <keithp@keithp.com>
2193 * fc-case/.cvsignore:
2194 clean up CVS ignore lists
2195 * fc-lang/iso-3166.txt:
2196 Add territory database
2198 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2200 Reviewed by: Keith Packard
2203 Remove Han characters from Korean orthography
2205 2004-12-29 Keith Packard <keithp@keithp.com>
2208 Reorder utility programs to make sure fc-case is run before fc-lang
2209 as fc-lang uses fcstr.c which uses fccase.h
2213 2004-12-29 Keith Packard <keithp@keithp.com>
2216 Adopt some RedHat suggestions for standard font configuration.
2220 * fc-case/CaseFolding.txt:
2221 * fc-case/Makefile.am:
2222 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2223 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2224 (dump), (parseRaw), (caseFoldReadRaw), (main):
2225 * fc-case/fccase.tmpl.h:
2226 Add new helper program 'fc-case' to construct case folding
2227 tables from standard Unicode CaseFolding.txt file
2230 * src/fclist.c: (FcListValueHash):
2231 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2232 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2233 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2234 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2235 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2236 Re-implement case insensitive functions with Unicode
2237 aware versions (including full case folding mappings)
2239 2004-12-13 Keith Packard <keithp@keithp.com>
2241 reviewed by: Owen Taylor <otaylor@redhat.com>
2243 * src/fcmatch.c: (FcFontSetSort):
2244 I changed FcFontSetSort to respect the generic aliases better
2245 in the face of language matching.
2247 What I did was to ammend the strict sort order used by FcFontSort so
2248 that it 'satisfies' the language specified in the pattern by locating
2249 the best matching font supporting each pattern language and then
2250 ignores language in the remaining fonts for purposes of matching.
2252 So, when asking for 'sans:lang=en', you'll get an English font first,
2253 and then the remaining fonts sorted with respect to the 'sans' alias
2254 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2256 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2258 reviewed by: Keith Packard <keithp@keithp.com>
2260 * fontconfig/fontconfig.h:
2263 Configuration changes to request synthetic emboldening of
2264 fonts. The actual emboldening code will live in Xft.
2266 2004-12-09 John Thacker <thacker@math.cornell.edu>
2268 reviewed by: Keith Packard <keithp@keithp.com>
2272 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2273 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2274 и), and don't even appear in KOI8-R. (The hypothesis that they
2275 don't appear in KOI8-R due to their similarity with Latin I and i is
2276 eliminated by their presence in KOI8-U.) I have a couple of fonts
2277 with Russian support that don't have the letter.
2279 Therefore, 0406 and 0456 should be removed from or commented out of
2282 2004-12-06 michael meeks <mmeeks@novell.com>
2284 Reviewed by: Keith Packard <keithp@keithp.com>
2286 * src/fcinit.c: (FcMemReport):
2288 * src/fclist.c: (FcObjectSetAdd):
2289 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2290 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2291 * src/fcxml.c: (FcParsePatelt):
2292 memoize strings and share a single copy for all uses. Note that
2293 this could be improved further by using statically allocated blocks
2294 and gluing multiple strings together, but I'm basically lazy.
2295 In my environment with 800 font files, I get a savings of about 90KB.
2297 2004-12-06 Keith Packard <keithp@keithp.com>
2301 * config/Makedefs.in:
2304 * doc/fcatomic.fncs:
2305 * doc/fcblanks.fncs:
2306 * doc/fccharset.fncs:
2307 * doc/fcconfig.fncs:
2308 * doc/fcconstant.fncs:
2310 * doc/fcfontset.fncs:
2311 * doc/fcfreetype.fncs:
2313 * doc/fcmatrix.fncs:
2314 * doc/fcobjectset.fncs:
2315 * doc/fcobjecttype.fncs:
2316 * doc/fcpattern.fncs:
2317 * doc/fcstring.fncs:
2318 * doc/fcstrset.fncs:
2320 * doc/fontconfig-devel.sgml:
2321 * doc/fontconfig-user.sgml:
2323 * doc/version.sgml.in:
2324 * fc-cache/Makefile.am:
2325 * fc-cache/fc-cache.c:
2326 * fc-glyphname/Makefile.am:
2327 * fc-glyphname/fc-glyphname.c:
2328 * fc-glyphname/fcglyphname.tmpl.h:
2329 * fc-lang/Makefile.am:
2339 * fc-lang/az_ir.orth:
2373 * fc-lang/fc-lang.c:
2374 * fc-lang/fc-lang.man:
2375 * fc-lang/fclang.tmpl.h:
2420 * fc-lang/ku_ir.orth:
2453 * fc-lang/ps_af.orth:
2454 * fc-lang/ps_pk.orth:
2483 * fc-lang/ti_er.orth:
2484 * fc-lang/ti_et.orth:
2510 * fc-lang/zh_cn.orth:
2511 * fc-lang/zh_hk.orth:
2512 * fc-lang/zh_mo.orth:
2513 * fc-lang/zh_sg.orth:
2514 * fc-lang/zh_tw.orth:
2516 * fc-list/Makefile.am:
2517 * fc-list/fc-list.c:
2518 * fc-match/Makefile.am:
2519 * fc-match/fc-match.1:
2520 * fc-match/fc-match.c:
2521 * fontconfig/fcfreetype.h:
2522 * fontconfig/fcprivate.h:
2523 * fontconfig/fontconfig.h:
2544 Change files from ISO-Latin-1 to UTF-8
2546 2004-12-04 Keith Packard <keithp@keithp.com>
2549 Update links to new freedesktop.org locations
2551 Add uninstall-local to get rid of fonts.conf and local.conf if they
2552 match the distributed versions. Fixes 'make distcheck'
2554 2004-12-04 Keith Packard <keithp@keithp.com>
2558 * fontconfig/fontconfig.h:
2559 Updates for version 2.2.97
2561 2004-12-04 Owen Taylor <otaylor@redhat.com>
2563 reviewed by: Keith Packard <keithp@keithp.com>
2565 * fc-cache/fc-cache.c: (main):
2566 Sleep for two seconds before exiting to make sure timestamps
2567 for future changes have distinct mod times in the file system.
2570 Add Punjabi orthography. Bug #1671.
2572 2004-12-04 Keith Packard <keithp@keithp.com>
2575 Just remove the FC_FONTDATE -- it has locale issues and
2576 annoys redhat multi-arch installs. Now that all X fonts are
2577 included without prejudice, the chances of the date being at
2578 all interesting are rather limited. Bug #505.
2580 Add copyright and license
2582 2004-12-04 Keith Packard <keithp@keithp.com>
2585 Change default set of fonts to include all of
2586 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2587 * doc/fontconfig-user.sgml:
2588 Document new <include>directory-name</include> semantics
2590 add <include ignore_missing="yes">conf.d</include>
2592 Add selectfont to ignore bitmap fonts, add comment for
2593 selectfont which accepts bitmap fonts.
2596 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2597 Allow <include> configuration elements to reference directories.
2598 Parse and load all files of the form [0-9]* in sorted order.
2600 2004-12-04 Keith Packard <keithp@keithp.com>
2603 Report command line for $srcdir/configure accurately.
2606 2004-12-04 Keith Packard <keithp@keithp.com>
2608 * src/fcfreetype.c: (FcFreeTypeQuery):
2609 Check for non-empty face->family_name and face->style_name
2610 before using those for the font. Empty names match everything.
2613 2004-12-04 Keith Packard <keithp@keithp.com>
2616 * fontconfig/fontconfig.h:
2617 * src/fcfreetype.c: (FcFreeTypeQuery):
2619 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2620 available. This provides font file format information (BDF, Type 1,
2621 PCF, TrueType) for each font. Closes #109.
2623 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2625 reviewed by: Keith Packard <keithp@keithp.com>
2627 * doc/fontconfig-user.sgml:
2630 * fontconfig/fontconfig.h:
2631 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2632 (GetScriptTags), (FcFontCapabilities):
2634 Add detection for font capabilities (bug #105)
2636 2004-12-04 Keith Packard <keithp@keithp.com>
2639 Move existing fonts.conf to fonts.conf.bak
2642 Add detection of iconv
2644 * doc/fcpattern.fncs:
2645 * doc/fontconfig-devel.sgml:
2646 * doc/fontconfig-user.sgml:
2648 Document new selectfont elements
2651 Switch to UTF-8 in comment
2653 * fontconfig/fontconfig.h:
2655 Add fullname, and family/style/fullname language entries
2657 * src/fccache.c: (FcCacheFontSetAdd):
2658 * src/fcdir.c: (FcFileScanConfig):
2659 Respect selectfont/*/glob
2662 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2663 (FcConfigCompareValue), (FcConfigPatternsAdd),
2664 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2665 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2666 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2667 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2668 Add support for selectfont
2670 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2671 (FcStringInPatternElement), (FcFreeTypeQuery):
2672 Add multi-lingual family/style/fullname support
2674 * src/fclist.c: (FcListPatternMatchAny):
2675 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2677 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2678 (FcObjectStaticName):
2679 Add new FcPatternRemove/FcPatternAppend.
2680 FcObjectStaticName stores computed pattern element names which
2681 are required to be static.
2683 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2688 Remove spurious / after $(DESTDIR)
2690 2004-06-30 Keith Packard <keithp@keithp.com>
2694 * fontconfig/fontconfig.h:
2697 2004-06-30 Keith Packard <keithp@keithp.com>
2699 Provided by: Lubos Lunak <l.lunak@suse.cz>
2701 * src/fccfg.c: (FcConfigUptoDate):
2702 However FcConfigUptoDate() doesn't seem to work. See the attached
2703 patch. First there's an obvious misplaced parenthesis making it
2704 return always false, and second, even this call fails to detect font
2705 changes (e.g. adding a new font to
2706 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2707 well. The problem seems to be triggered by my fonts.conf specifying
2708 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2709 doesn't include subdirs, unlike config->fontDirs.
2711 2004-06-03 Keith Packard <keithp@keithp.com>
2713 * fontconfig/fontconfig.h:
2714 Remove comma at end of FcResult enum definition.
2716 2004-05-29 Keith Packard <keithp@keithp.com>
2719 Add steps to md5sum release
2721 2004-05-29 Keith Packard <keithp@keithp.com>
2725 * fontconfig/fontconfig.h:
2728 2004-05-29 Keith Packard <keithp@keithp.com>
2730 * fontconfig/fontconfig.h:
2731 * src/fcmatch.c: (FcFontSetMatch):
2732 Add FcResultOutOfMemory to provide an accurate error when
2733 FcFontSetMatch fails in this way
2736 Make #warning about lacking various FreeType features indicate
2737 which version those features appeared so users know how to
2738 fix the problem (Thanks to Anton Tropashko)
2740 2004-05-05 Keith Packard <keithp@keithp.com>
2742 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2743 Replace MIN/MAX/ABS macros which happen to have come
2744 from FreeType with fontconfig-specific ones (FC_*)
2746 2004-04-23 Keith Packard <keithp@keithp.com>
2749 Extend release preparation instructions to include
2750 notification and distribution steps
2752 2004-04-23 Keith Packard <keithp@keithp.com>
2756 * fontconfig/fontconfig.h:
2757 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2759 2004-04-23 Keith Packard <keithp@keithp.com>
2762 Ignore a few more autotool files
2764 2004-04-14 Keith Packard <keithp@keithp.com>
2767 Add instructions for doing a release
2769 * fontconfig.spec.in:
2770 clean up .spec file; perhaps this will be useful to somebody...
2774 * fontconfig/fontconfig.h:
2777 * fc-lang/fc-lang.c:
2778 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2780 * fc-glyphname/Makefile.am:
2781 * fc-lang/Makefile.am:
2782 * fc-list/Makefile.am:
2783 * fc-match/Makefile.am:
2785 Add WARN_CFLAGS to pass -W flags for GCC systems
2787 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2788 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2789 Change various char types around to match across
2791 Fixed bug in using available_sizes[i].height which
2792 is in pixels, not 64ths of a pixel.
2794 2004-03-06 Keith Packard <keithp@keithp.com>
2796 * src/fcfreetype.c: (FcFreeTypeQuery):
2797 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2798 matches looking for explicit values prefer exact matches
2800 2004-03-02 Keith Packard <keithp@keithp.com>
2802 Supplied by: mfabian@suse.de (Mike FABIAN)
2804 * src/fcfreetype.c: (FcFreeTypeQuery):
2805 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2806 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2808 2004-02-21 Manish Singh <yosh@gimp.org>
2810 * fc-glyphname/fc-glyphname.c: (main):
2811 Cast strlen to int for printf, so we're 64-bit clean.
2813 2004-02-11 Keith Packard <keithp@keithp.com>
2816 * src/fcfreetype.c: (FcGetPixelSize):
2817 Ok, so I messed up the test for y_ppem. Let's see if I
2818 got it right this time.
2820 2004-02-10 Keith Packard <keithp@keithp.com>
2823 * src/fcfreetype.c: (FcGetPixelSize):
2824 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2825 FT_Bitmap_Size record. Add a configure.in test for this
2826 and change the code accordingly (using height instead).
2828 2004-02-06 Keith Packard <keithp@keithp.com>
2831 Add Low Saxon orthography
2832 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2834 * src/fccfg.c: (FcConfigNewestFile):
2835 Oops. Left 'newest.set' unset, which would miscompute
2838 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2839 (FcFreeTypeCheckGlyph):
2840 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2841 font properties (which report the wrong value in current FreeType)
2843 Don't attempt to check for empty glyphs in non-scalable fonts; they
2846 2004-02-01 Tor Lillqvist <tml@iki.fi>
2848 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2849 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2850 cache if config->cache is NULL, which happens if FcConfigHome() is
2851 NULL. Guard against that by using the temp folder in that case.
2853 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2855 * fc-lang/az_ir.orth:
2856 * fc-lang/ku_ir.orth:
2857 * fc-lang/ps_af.orth:
2858 * fc-lang/ps_pk.orth:
2859 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2860 (Afghan and Pakistani).
2862 Updated Urdu orthography with real data.
2864 2003-12-11 Carl Worth <cworth@east.isi.edu>
2866 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2869 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2871 (all-local): Remove excessive whitespace.
2873 * autogen.sh: Add 'set -e' to abort when any program fails,
2874 (avoids printing of 'now type make' after configure aborts).
2876 2003-11-17 Eric Christopherson <rakko@charter.net>
2878 reviewed by: Keith Packard <keithp@keithp.com>
2881 * fontconfig/fcfreetype.h:
2883 Switch to FreeType 2.1.7 style includes. Bug #150.
2885 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2887 * fc-list/fc-list.sgml: Add some example usages.
2889 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2892 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2895 2003-10-27 Keith Packard <keith@keithp.com>
2898 * fontconfig/fontconfig.h:
2899 Update to version 2.2.92
2901 2003-10-27 Keith Packard <keithp@keithp.com>
2906 * fc-cache/Makefile.am:
2907 * fc-glyphname/Makefile.am:
2908 * fc-lang/Makefile.am:
2909 * fc-list/Makefile.am:
2910 * fc-match/Makefile.am:
2913 Yet more cleanups to finish getting 'make distcheck' working
2914 This has been tested to ensure that it even works from a _build
2917 2003-10-26 Keith Packard <keithp@keithp.com>
2921 * fc-cache/Makefile.am:
2922 * fc-glyphname/Makefile.am:
2923 * fc-lang/Makefile.am:
2924 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2925 * fc-list/Makefile.am:
2926 * fc-match/Makefile.am:
2927 Attempts to fix 'make distcheck' work. Things are
2928 progressing pretty well, but there are still failures
2929 long into the process dealing with docs (as always).
2931 The big changes here are mostly to make $(srcdir) != "."
2932 work correctly, fixing the docbook related sections and
2933 fc-lang were particularily tricky. Docbook refuses to load
2934 system entities from anywhere other than where the original .sgml
2935 file was located, so no luck looking in "." for the
2936 configure-generated version.sgml and confdir.sgml files.
2938 fc-lang needed help finding .orth files; added a -d option
2939 to set the directory as the least evil of many options.
2941 Now to go use a faster machine and try and wring out the last
2944 2003-10-26 Keith Packard <keithp@keithp.com>
2948 2003-10-26 Keith Packard <keithp@keithp.com>
2951 Include confdir.sgml.in in EXTRA_DIST
2953 2003-10-09 Josselin Mouette <joss@debian.org>
2955 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2956 * fc-list/fc-list.sgml fc-list/Makefile.am:
2957 Replace fc-cache and fc-list manpages with more detailed, SGML
2960 2003-09-23 Owen Taylor <otaylor@redhat.com>
2962 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2963 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2964 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2967 2003-09-23 Owen Taylor <otaylor@redhat.com>
2969 * fc-lang/ka.orth: Remove Georgian capitals, they
2970 aren't used for normal writing. (Bug #116)
2972 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2974 * doc/fontconfig-devel.sgml:
2975 * doc/fontconfig-user.sgml:
2976 * fontconfig/fontconfig.h:
2978 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2979 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2981 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2982 monospace and dual-width fonts, allow roughly a 3% variance in the
2985 2003-08-31 Manish Singh <yosh@gimp.org>
2987 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2990 2003-08-15 Carl Worth <cworth@isi.edu>
2992 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2993 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2995 * src/fcpat.c (FcValueListEntDestroy): New function to support
2996 FcFini memory cleanup. Some statistics are not kept in
2998 (FcValueListFreeze): Move hashTable outside this function so it
2999 can be accessed by FcValueListThawAll.
3000 (FcValueListThawAll): New function complements FcValueListFreeze.
3001 (FcPatternBaseFreeze): Move hashTable outside this function so it
3002 can be accessed by FcPatternBaseThawAll.
3003 (FcPatternBaseThawAll): New function complements
3004 FcPatternBaseFreeze.
3005 (FcPatternThawAll): New function complements FcPatternFreeze.
3007 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3009 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3010 allocated FcCharLeafEnt "blocks" so they can be freed later.
3011 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3012 can be accessed by FcCharSetThawAllLeaf.
3013 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3014 (FcCharSetFreezeBase): Move hashTable outside this function so it
3015 can be accessed by FcCharSetThawAll.
3016 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3018 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3019 (FcConfigDestroy): Fic leak of FcBlanks.
3021 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3022 (main): Add call to FcFini when finished.
3024 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3025 static. Add prototypes.
3027 * doc/fcinit.fncs: Add documentation for FcFini function.
3029 * doc/edit-sgml.c: Mark several local functions as static. Add
3032 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3034 2003-06-15 Tor Lillqvist <tml@iki.fi>
3036 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3037 before comparing (needed on Windows).
3039 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3041 2003-06-13 Tor Lillqvist <tml@iki.fi>
3043 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3046 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3047 WINDOWSFONTDIR token.
3049 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3050 end, not to confuse libtool, which expects the EXPORTS line to be
3051 the first. Add FcConfigEnableHome.
3053 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3054 built as a DLL on Win32.
3056 2003-06-09 Keith Packard <keithp@keithp.com>
3058 * Tag version 2.2.90
3060 2003-06-09 Keith Packard <keithp@keithp.com>
3062 * Optimization in FcLangSetIndex was broken, occasionally
3063 returning a pointer to the wrong location on miss
3065 * Add fc-match to test font matching from the command line.
3067 2003-05-31 Keith Packard <keithp@keithp.com>
3069 * (Bug 85) add support for culmus fonts
3070 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3071 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3073 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3075 * Fix "contains" op for strings and langsets.
3077 2003-05-17 Keith Packard <keithp@keithp.com>
3079 * Fix build error with BDF prop local. Free langset after query
3081 2003-05-14 Keith Packard <keithp@keithp.com>
3083 * Extract spacing from XLFD atom
3085 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3087 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3088 disappeared in 1.30.
3090 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3092 2003-05-12 Keith Packard <keithp@keithp.com>
3094 * Use FcIsWidth to share code
3096 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3097 misclassifying some Han fonts as monospaced.
3099 2003-05-07 Keith Packard <keithp@keithp.com>
3101 * Add filename-based accept/reject to ammend available fonts.
3103 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3104 older FreeType releases.
3106 2003-05-06 Keith Packard <keithp@keithp.com>
3108 * Remove 0b82 and Tamil numbers from tamil
3109 orthography (Jungshik Shin <jshin@mailaps.org>)
3111 2003-05-04 Keith Packard <keithp@keithp.com>
3113 + Map glyph names in fonts with adobe custom encoding to unicode
3115 2003-05-02 Keith Packard <keithp@keithp.com>
3117 * Add FC_WEIGHT_BOOK as weight 75
3119 2003-04-30 Keith Packard <keithp@keithp.com>
3121 * Typo in bitstream foundry name
3123 2003-04-24 Keith Packard <keithp@keithp.com>
3125 * Eliminate italic_angle check for PS fonts
3127 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3129 * Getting closer to fixing /etc/fonts hard-coding.
3131 2003-04-22 Keith Packard <keithp@keithp.com>
3133 * Update autogen.sh to work with newer automake versions
3134 * Handle pattern elements moving during multiple edits
3136 2003-04-23 James Henstridge <james@daa.com.au>
3138 * doc/fontconfig-devel.sgml: close the <para> element.
3140 * doc/fcpattern.fncs: close the <para> element.
3142 * doc/func.sgml: close the <refsynopsisdiv> element.
3144 2003-04-22 Keith Packard <keithp@keithp.com
3146 * Update autogen.sh to work with newer automake versions
3147 * Handle pattern elements moving during multiple edits
3149 2003-04-17 Colin Walters <walters@debian.org>
3151 + Remove some unused variables, and initialize some other ones so
3152 gcc doesn't warn us.
3154 2003-04-16 Keith Packard <keithp@keithp.com>
3156 + tag version 2.1.94
3158 2003-04-16 Keith Packard <keithp@keithp.com>
3160 + add BDF property fetching support for foundry
3161 (from Juliusz Chroboczek)
3162 + add BDF property fetching support for width
3164 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3166 + Implemented foundry generation for Type 1 and TrueType
3168 2003-04-11 Gerard Escalante <g2@magestudios.net>
3170 + Retrieve information from Type1 FontInfo dictionaries
3172 2003-04-07 Colin Walters <walters@verbum.org>
3174 + src/Makefile.am: Fix dummy makefile target names when
3175 MS_LIB_AVAILABLE isn't set.
3177 2003-03-22 Tor Lillqvist <tml@iki.fi>
3179 Changes for Windows:
3181 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3183 + We don't want to hardcode the fonts.conf file location in the
3184 DLL, so we look up the DLL location at run-time in a DllMain()
3185 function. The fonts.conf location is deduced from that.
3187 + The colon can't be used as path separator on Windows,
3188 semicolon is used instead. File path components can be separated
3189 with either slash or backslash. Absolute paths can also begin
3190 with a drive letter.
3192 + Add internal function FcStrLastSlash that strrchr's the last
3193 slash, or backslash on Windows.
3195 + There is no link() on Windows. For atomicity checks, mkdir a
3196 lock directory instead.
3198 + In addition to HOME, also look for USERPROFILE.
3200 + Recognize the special font directory token WINDOWSFONTDIR, to
3201 use the system's font directory.
3203 + Remove the fontconfig-def.cpp that was obsolete. Add
3204 fontconfig.def(.in), without internal functions.
3206 + Add a fontconfig-zip(.in) script, used to build a binary
3209 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3210 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3211 to main package and man3/* to devel package
3213 + Added missing defattr(-, root, root) to main RPM package
3215 + Added HTML and text development documentation to -devel subpackage
3217 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3218 + Added back the configure macro options --disable-docs, otherwise
3219 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3220 version number) unconditionally, causing RPM to fail the build due
3221 to _unpackaged_files_terminate_build. We pick up the pregenerated
3222 docs with %doc already.
3224 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3225 + Removed commented out rpm macro define at top of spec file,
3226 replacing it with a simple explanation, since rpm macros are
3227 expanded by rpm even in comments.
3229 + Changed /usr/bin to _bindir in BuildRequires lines
3231 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3233 + Reorganized file manifest lists
3235 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3237 + fontconfig.spec.in: Improvements from Red Hat spec file.
3239 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3241 + docs/*.sgml: SGML fixes.
3243 Sat Mar 1 17:28:53 PST 2003 keithp
3244 + Ok, so the ChangeLog is a bit out of date
3246 + Lots of bugs fixed; most are in bugzilla, the
3247 biggest problems were in cache management where
3248 Owen discovered the library would lose badly when
3249 combining fonts-cache and ~/.fonts-cache data
3251 + Converted from autoconf to automake. This after
3252 getting patches accepted into libtool to allow
3253 the '-version-number' argument which lets
3254 packages set version numbers explicitly rather
3255 than the roundabout libtool way
3257 + Converted documentation to SGML using the docbook
3258 DTD. Now .txt and .html documents are installed
3259 in /usr/share/doc/fontconfig and there's no
3260 man page. Perhaps a man version can be written
3263 Sat Aug 31 15:21:22 PDT 2002 keithp
3264 + Xrender and Xft had several bugs related to
3265 rendering manually placed or poly-face text
3267 + Added more complete memory tracing in fontconfig
3268 Checked with (patched) mozilla and found no leaks
3270 + Updated Latin orthographies by comparing those from
3271 evertype.com with those from eki.ee. Tried to make
3272 sensible choices, including chars that occured in both
3273 and leaving some optional chars out that occured only
3276 Mon Aug 26 16:33:04 PDT 2002 keithp
3277 + Owen discovered that FcLangSetHasLang wasn't actually
3278 checking the language set.
3280 Mon Aug 26 13:37:23 PDT 2002 keithp
3281 + Append a version number to cache filenames
3283 Thu Aug 22 11:36:18 PDT 2002 keithp
3285 + Add "contains" and "not_contains" operators and elements to
3288 + Changed semantics of eq operator for LangSets to check for
3289 FcLangEqual so that any match will do
3291 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3292 of FcValueEqual to check for identical values when inserting into
3293 the results. This broke when the above semantic change was made,
3294 now it uses FcValueEqual which is "more correct" in any case.
3296 Thu Aug 22 00:32:29 PDT 2002 keithp
3298 + Reimplement FC_LANG as new datatype. Lists of strings
3299 was consuming over a megabyte of memory for 401 fonts.
3301 + Freeze patterns loaded from cache files. This shares
3302 common value lists and common patterns which saves
3303 considerable memory.
3305 + Change the denotation of 'constant' charsets to use special
3306 ref value instead of separate boolean.
3308 + Clean up leak tracing stuff, found several unannoted alloc/free
3311 Tue Aug 20 16:17:37 PDT 2002 keithp
3313 + Fix memory leak when parsing matrices from XML
3315 Mon Aug 19 11:57:27 PDT 2002 keithp
3317 + Fix autoconf files to pass FONTCONFIG_PATH on
3318 compile line so that ${prefix} gets substituted
3321 + Use getc_unlocked/putc_unlocked on systems that
3322 provide them to avoid damage done to stdio by posix
3324 + Eliminate FC_PATTERN and FcTypePattern in favor of
3325 an extended api for FcConfigSubstitute which takes
3326 both the font and the pattern.
3328 + Add 'sans serif' alias for 'sans-serif' as some apps
3329 can't handle hyphens in family names
3331 + Eliminate pretense of support for libxml2
3333 + Comment origins of Han orthographies
3335 Tue Jul 30 18:37:09 PDT 2002 keithp
3337 + Add binding property to edit element so that strong
3338 binding values may be inserted by the config file.
3339 The default remains weak.
3341 Sun 28 Jul 04:16:55 PDT 2002 keithp
3343 + Tagged release candidate 1 in the CVS tree and
3344 placed fcpackage.rc1.tar.gz for distribution
3346 Thu Aug 1 08:55:08 PDT 2002 keithp
3348 + Fixed autoconf builds to always specify install
3349 target files (for BSD). Also fixed to
3350 define FONTCONFIG_PATH in config.h so that
3351 nonstandard installs will actually work.