1 2006-04-14 Patrick Lam <plam@mit.edu>
4 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
6 2006-04-14 Patrick Lam <plam@mit.edu>
7 * src/fcname.c (FcObjectToPtrLookup):
9 Fix Gecko-exposed segfault from my last hack to
10 FcObjectToPtrLookup. Simplify code and get things straight.
12 2006-04-14 Patrick Lam <plam@mit.edu>
15 Actually, just add URW fonts as aliases for all of the PostScript
16 fonts. (reported by Miguel Rodriguez).
18 2006-04-13 Patrick Lam <plam@mit.edu>
21 Add an alias 'Standard Symbols L' for 'Symbol'.
23 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
26 * src/fcpat.c: (FcPatternFreeze):
27 Fix memory leak (Coverity defect #2089).
29 * src/fcfreetype.c: (GetScriptTags):
30 Ignore script if subtable is missing (Coverity defect #2088).
32 2006-04-12 Patrick Lam <plam@mit.edu>
33 * src/fccfg.c (FcConfigSubstituteWithPat):
35 Fix possible null pointer dereference (Coverity defect #784)
36 and memory leak (Coverity defects #785, #786).
38 2006-04-12 Patrick Lam <plam@mit.edu>
39 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
41 Don't copy FcCharSet if we're going to throw it away anyway.
42 (Reported by Kenichi Handa).
44 2006-04-11 Ming Zhao <ming@gentoo.org>
47 * src/fcname.c (FcObjectToPtrLookup):
49 Fix bad behaviour on realloc resulting in crash.
51 2006-04-11 Patrick Lam <plam@mit.edu>
52 * src/fccache.c (FcGlobalCacheReadDir):
54 Don't crash if config is null (Coverity defect #984).
56 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
59 * src/fccharset.c (FcCharSetPutLeaf):
60 * src/fclang.c (FcNameUnparseLangSet):
62 Missing bits from previous patches.
64 * src/fccharset.c (FcCharSetSubtractCount):
65 Remove extra semi-colon.
67 * src/fccfg.c (FcConfigBuildFonts):
68 Fix memory leak in error case (Coverity defects #776, #985).
70 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
71 Fix memory leaks (Coverity defects #779, #781)
72 and memory use after free (Coverity defect #780).
74 2006-04-11 Patrick Lam <plam@mit.edu>
75 * src/fccharset.c (FcCharSetPutLeaf):
77 Properly convert static charsets to dynamic charsets.
79 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
82 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
84 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
86 * src/fclang.c: (FcNameUnparseLangSet):
87 Fix memory leak (Coverity defect #1819).
89 * fc-lang/fc-lang.c: (scan):
90 prevent crash when invalid include line is parsed (Coverity defect
93 * fc-cat/fc-cat.c: (FcCacheFileRead):
94 Fix potential null pointer access (Coverity defect #1804).
96 * src/fcname.c: (FcObjectUnserialize):
97 Remove dead code (Coverity defect #1194).
99 * src/fcfreetype.c: (GetScriptTags):
100 Prevent potential null pointer access (Coverity defect #767),
101 ensure error value is read (Coverity defect #1195).
103 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
108 Survive missing docbook2pdf.
110 2006-04-10 Patrick Lam <plam@mit.edu>
112 * fc-glyphname/fc-glyphname.c:
115 Include more stub definitions to make HP-UX's C compiler happy.
117 2006-04-10 Patrick Lam <plam@mit.edu>
118 * src/fcname.c (FcObjectUnserialize):
120 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
122 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
125 * src/fccfg.c: (FcConfigEvaluate):
126 Fix string memory leak (Coverity defect #1823).
128 * src/fccache.c: (FcDirCacheUnlink):
129 Fix memory leak with hash collision (Coverity defect #1824).
131 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
134 * src/fccache.c: (FcGlobalCacheSave):
135 Don't leak header in non-error case (Coverity defect #1825).
137 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
140 * src/fcdir.c (FcDirScanConfig)
141 Don't leak in error cases (Coverity defects #777, #1826)
143 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
146 * src/fccache.c: (FcDirCacheWrite):
147 Fix double free (spotted by Coverity, CID #1965).
149 * fc-match/fc-match.c: (main):
150 Check if pattern is not null before using it (Coverity defect #1883).
152 * src/fccache.c: (FcDirCacheWrite):
153 Fix memory leak with hash collision (Coverity defect #1829).
155 * src/fccfg.c: (FcConfigBuildFonts):
156 Fix memory leak when bail cases (Coverity defect #1828).
158 * src/fccache.c: (FcGlobalCacheLoad):
159 Don't leak directory name (Coverity defect #1827).
161 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
163 * fc-cache/Makefile.am:
164 * fc-cat/Makefile.am:
165 * fc-list/Makefile.am:
166 * fc-match/Makefile.am:
168 LD_ADD missing dependencies for binaries. Reported by
171 2006-04-07 Patrick Lam <plam@mit.edu>
173 * fc-lang/fc-lang.c (main):
175 SGI compilation fixes (reported by Christoph Bauer):
176 1) reorder union definition of _FcChar;
179 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
182 * src/fccharset.c (FcCharSetNeededBytes):
183 * src/fcfs.c (FcFontSetNeededBytes):
185 * src/fclang.c (FcLangSetNeededBytesAlign):
186 * src/fcname.c (FcObjectNeededBytesAlign):
187 * src/fcpat.c (FcPatternNeededBytesAlign,
188 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
190 Portability fixes for HP-UX (reported by Christoph Bauer).
191 Replace '__inline__' by AC_C_INLINE and 'inline'.
192 Replace '__alignof__' by 'fc_alignof'.
194 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
198 Move up #include of config.h.
199 Fail if neither inttypes.h nor stdint.h is available.
202 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
203 Patrick Lam <plam@mit.edu>
205 * fc-cache/fc-cache.c:
207 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
208 FcDirCacheConsume, FcDirCacheProduce,
209 FcDirCacheWrite, FcCacheMachineSignature):
210 * src/fcfreetype.c (FcFreeTypeQuery):
211 * src/fontconfig.def.in:
213 Make fontconfig compile under MinGW:
214 1) remove unneeded #includes;
215 2) make use of mmap and sysconf conditional;
216 3) replace rand_r by srand/rand if needed;
217 4) use chsize instead of ftruncate; and
218 5) update libtool exports file
220 2006-04-07 Patrick Lam <plam@mit.edu>
221 * src/fcdir.c (FcDirScanConfig):
225 2006-04-06 Patrick Lam <plam@mit.edu>
226 * fc-match/.cvsignore:
227 * fc-match/Makefile.am:
228 * fc-match/fc-match.sgml:
230 Update documentation for fc-match (SGML-ize it).
231 (reported by Ilya Konstantinov)
233 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
239 Reduce amount of dirty rss by const'ing some data structures.
241 2006-04-06 Patrick Lam <plam@mit.edu>
242 * fc-cache/Makefile.am:
244 Don't fail if we can't create or remove
245 $(pkgcachedir) i.e. /var/cache/fontconfig.
246 (reported by Quanah Gibson-Mount).
248 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
251 * fc-glyphname/fc-glyphname.c:
252 * fc-lang/fc-lang.c (main):
253 * fc-match/fc-match.c:
254 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
256 * src/fcfreetype.c (FcFreeTypeQuery):
257 * src/fclang.c (FcFreeTypeLangSet):
260 Fix intel compiler warnings: make many variables static,
261 eliminate duplicate names, reduce variable scopes, unsigned/signed
264 2006-03-24 Mike Fabian <mfabian@suse.de>
266 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
268 Fix multiarch support (don't destroy multiarch files!)
270 2006-03-24 Patrick Lam <plam@mit.edu>
273 Require pkg-config. (Thanks Behdad;
274 better solution wanted for libxml2 detection!)
276 2006-03-22 Patrick Lam <plam@mit.edu>
279 On Windows, unlink before rename. Reported by Tim Evans.
281 2006-03-15 Patrick Lam <plam@mit.edu>
285 Fix typos in orth files. Reported by Denis Jacquerye.
287 2006-03-08 Patrick Lam <plam@mit.edu>
289 * config/config.guess:
292 Fix Makefile.am for removal of debian/ directory.
294 2006-03-08 Patrick Lam <plam@mit.edu>
297 Ignore debian/ directory for CVS.
299 2006-03-08 Patrick Lam <plam@mit.edu>
302 Now remove debian/ directory.
304 2006-03-08 Patrick Lam <plam@mit.edu>
307 Remove debian/ directory from sources. See Debian's subversion
308 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
311 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
315 * fc-lang/iso639-1, fc-lang/iso639-2:
317 Add orthography for Lingala.
319 2006-03-08 Carl Worth <cworth@cworth.org>
322 * conf.d/Makefile.am:
323 * conf.d/10LohitGujarati.conf:
325 Add a configuration file that disables hinting for the Lohit
326 Gujarati font (since the hinting distort some glyphs quite badly).
328 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
331 * src/fcdir.c (FcDirScanConfig):
333 Sort directory entries while scanning them from disk;
334 prevents Heisenbugs due to file ordering in a directory.
336 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
339 * src/fcfreetype.c (GetScriptTags):
340 * src/ftglue.c, src/ftglue.h:
342 Remove stuff we don't use, make get_{char,short,long} functions
343 of ftglue macros to be inlined.
346 * src/fcname.c (FcObjectSerialize):
348 Code cleanups (excess prototype, old-style function definition).
350 2006-03-05 Patrick Lam <plam@mit.edu>
351 * src/fcpat.c (FcPatternGetString):
353 Because we hacked FcPatternGet, we don't really need to expand the
354 filename again in FcPatternGetString.
356 2006-03-05 Patrick Lam <plam@mit.edu>
357 * src/fcpat.c (FcPatternGetString, FcPatternGet):
359 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
360 Make that work. Reported by Bernhard Rosenkraenzer.
362 2006-03-03 Patrick Lam <plam@mit.edu>
365 Include inttypes.h instead of stdint.h if appropriate.
367 2006-03-03 Patrick Lam <plam@mit.edu>
368 * fc-cat/fc-cat.c (FcFileIsDir):
369 * fc-glyphname/fc-flyphname.c:
371 More stub definitions and remove FcFileIsDir from fc-cat.
373 2006-03-03 Patrick Lam <plam@mit.edu>
376 Fix compilation on AIX with stub definitions (bug 6097).
378 2006-03-03 Patrick Lam <plam@mit.edu>
379 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
380 * src/fcfreetype.c (GetScriptTags):
381 * src/fcfs.c (FcFontSetDistributeBytes):
382 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
384 Get rid of C++-style comments.
386 2006-03-03 Patrick Lam <plam@mit.edu>
389 Enable creation of 2.3.94 Debian packages.
391 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
394 * src/fclang.c (FcCharSetForLang):
396 Fix suspicious return expression which causes junk
399 2006-02-24 Patrick Lam <plam@mit.edu>
403 * fontconfig/fontconfig.h:
405 Bump version to 2.3.94.
407 2006-02-24 Patrick Lam <plam@mit.edu>
412 2006-02-24 Patrick Lam <plam@mit.edu>
413 * conf.d/10-fonts-persian.conf:
415 Remove unconditional emboldening (per Behdad's instructions).
419 Add @s to hide some echos.
421 2006-02-24 Mike Fabian <mfabian@suse.de>
422 Takashi Iwai <tiwai@suse.de>
425 * src/fcfreetype.c (GetScriptTags):
427 Fix double-free on error case.
429 2006-02-21 Patrick Lam <plam@mit.edu>
430 * fc-lang/fc-lang.c (scan):
432 Strip \r and whitespace from input; fixes bug 3454.
434 2006-02-21 Patrick Lam <plam@mit.edu>
435 * fc-lang/fc-lang.c (main):
437 Allocate large arrays statically in fc-lang to fix crashes under
440 2006-02-21 Diego Petten <flameeyes@gentoo.org>
441 * src/fcfreetype.c (FcFreeTypeCharIndex):
443 Pass the buck; make fontconfig not crash on pango badness.
445 2006-02-21 Patrick Lam <plam@mit.edu>
446 * conf.d/10-fonts-persian.conf:
448 Use embeddedbitmap rather than rh_prefer_bitmap.
450 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
453 * src/fccache.c (FcDirCacheWrite):
454 * src/fcdir.c (FcFileScanConfig):
455 * src/fcfreetype.c (FcStringInPatternElement):
456 * src/fcxml.c (FcParseFamilies):
457 * src/ftglue.c (ftglue_face_goto_table):
459 Eliminate redundancies.
461 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
464 * fc-list/fc-list.c (main):
465 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
466 * src/fcstr.c (FcStrStr):
467 * src/fcxml.c (FcConfigSaveAttr):
469 Eliminate unused vars reported by Intel's compiler.
471 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
476 Remove one more archaic character.
478 2006-02-21 Ross Burton <ross@burtonini.com>
479 reviewed by: plam, keithp
481 * src/fcxml.c (FcParsePatelt):
483 Freeze patterns created by configuration file for tiny
484 memory savings (every little bit helps).
486 2006-02-21 Mike Fabian <mfabian@suse.de>
489 * fc-cat/fc-cat.c (main):
491 Initialize fontconfig library in fc-cat to avoid segfault.
493 2006-02-18 Patrick Lam <plam@mit.edu>
494 * fc-cache/fc-cache.c (scanDirs):
495 * src/fccache.c (FcCacheReadDirs):
496 * src/fcdir.c (FcDirScanConfig):
498 Fix the underlying cause of the below segfault (must usually
499 call FcDirCacheHasCurrentArch after FcDirCacheValid).
501 2006-02-18 Patrick Lam <plam@mit.edu>
502 * src/fccache.c (FcDirCacheHasCurrentArch):
504 Fix triggering of segfault caused by misreading cache files
505 (reported by fcrozat).
507 2006-02-17 Patrick Lam <plam@mit.edu>
508 * src/fcint.h (FC_CACHE_MAGIC):
510 Bump up magic version; we changed the binary format.
512 2006-02-17 Patrick Lam <plam@mit.edu>
513 * fc-cat/fc-cat.c (main):
515 Enable fc-cat to print out old-style cache info when given a
518 2006-02-16 Patrick Lam <plam@mit.edu>
519 * src/fccache.c (FcDirCacheHasCurrentArch):
521 Deal correctly with changing FC_CACHE_MAGIC.
523 2006-02-16 Patrick Lam <plam@mit.edu>
524 * fc-cache/fc-cache.c (usage, scanDirs, main):
526 Add -r --really-force option which blows away cache files and then
529 2006-02-16 Patrick Lam <plam@mit.edu>
530 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
532 Don't bail if fontconfig can't remove a dir cache file.
533 Skip the ID of a cache file when copying.
534 Eliminate 'source file too small' bug in FcDirCacheWrite.
536 2006-02-13 Patrick Lam <plam@mit.edu>
537 * src/fcfreetype.c (FcFreeTypeQuery):
539 Fix memory leak in error condition code.
541 2006-02-13 Mike Fabian <mfabian@suse.de>
543 * src/fcfreetype.c (FcFreeTypeQuery):
545 Skip bitmap fonts which can't even get it together enough to
546 declare a family name; this appears to reproduce previous
547 fontconfig behaviour.
549 2006-02-10 Takashi Iwai <tiwai@suse.de>
551 * src/fccache.c (FcDirCacheOpen):
553 Try to open /var/cache/fontconfig/[hashed name] before
554 fonts.cache-2 in a directory, because /var/cache/fontconfig
555 failures ought to be fixable, unlike fonts.cache-2 failures,
556 which may leave you screwed.
558 2006-02-10 Takashi Iwai <tiwai@suse.de>
560 * src/fcmatch.c (FcFontSetMatch):
562 Use a tri-state to mark the fonts which didn't get blocked but
563 were just missing an element, to distinguish them from the
564 fonts that do match the element.
566 2006-02-10 Takashi Iwai <tiwai@suse.de>
568 * src/fcmatch.c (FcFontSetMatch):
570 Don't kill fonts because they don't declare an element that's
573 2006-02-09 Patrick Lam <plam@mit.edu>
574 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
575 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
577 Define and pass O_BINARY to open if appropriate, for those
578 platforms that need it. Reported by Doodle.
580 2006-02-09 Patrick Lam <plam@mit.edu>
581 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
584 Fix problem with missing 'en' due to euro.patch: change
585 cache file format slightly to coincide with that generated
588 2006-02-07 Patrick Lam <plam@mit.edu>
589 * src/fccache.c (FcCacheReadDirs):
593 2006-02-07 Patrick Lam <plam@mit.edu>
594 * src/fcdir.c (FcDirScanConfig):
596 Don't reject dirs that can't be normalized (fixes lilypond, and
597 is correct in the context of application font directories.)
599 2006-02-07 Takashi Iwai <tiwai@suse.de>
602 * src/fccache.c (FcCacheReadDirs):
604 Use normalized directory name exclusively in FcCacheReadDirs.
606 2006-02-07 Dirk Mueller <dmueller@suse.com>
609 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
611 Perf optimizations. Inline FcValueCanonicalize,
612 reduce FcValueListPtrU usage, remove redundant cast.
614 2006-02-07 Takashi Iwai <tiwai@suse.de>
617 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
620 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
621 Declare extern for static arrays as arrays, not pointers.
622 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
624 2006-02-07 Dirk Mueller <dmueller@suse.com>
637 Add Euro sign to list of symbols required by European languages.
639 2006-02-07 Patrick Lam <plam@mit.edu>
640 * src/fccache.c (FcCacheReadString):
642 Fix hidden variable warning.
644 2006-02-07 Dirk Mueller <dmueller@suse.com>
647 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
649 Remove de-escaping logic because FcCacheWriteString
650 doesn't escape anyway. Do blockwise reading instead
651 of byte-wise for performance.
653 2006-02-06 Patrick Lam <plam@mit.edu>
654 Takashi Iwai <tiwai@suse.de>
656 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
658 Don't loop infinitely on recursive symlinks (client-side).
660 2006-02-06 Takashi Iwai <tiwai@suse.de>
662 * fc-cache/fc-cache.c (scanDirs, main):
664 Don't loop infinitely on recursive symlinks.
666 2006-02-06 Takashi Iwai <tiwai@suse.de>
668 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
669 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
670 FcGlobalCacheSave, FcCacheReadDirs):
673 Skip subdirs when skipping over stale bits of global cache.
674 Introduce state machine into FcGlobalCacheDir to avoid
675 doing inappropriate operations on global dir entries, e.g.
676 writing out an out-of-date cache entry.
678 2006-02-06 Takashi Iwai <tiwai@suse.de>
680 * src/fcdir.c (FcFileScanConfig):
682 Hoist FcFileIsDir check out of FcFileScanConfig loop.
684 2006-02-06 Takashi Iwai <tiwai@suse.de>
687 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
688 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
690 Don't rescan when trying to normalize a non-declared font dir.
691 Don't add font dirs multiple times (even if they're aliased).
693 2006-02-06 Dirk Mueller <dmueller@suse.de>
696 * src/fcfs.c (FcFontSetUnserialize):
698 Explain apples/oranges comparison and fix compilation error.
700 2006-02-06 Dirk Mueller <dmueller@suse.de>
703 * src/fcfs.c (FcFontSetUnserialize):
705 Insert check for integer overflow in # of fonts.
707 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
711 * fc-cache/Makefile.am:
712 * fc-cat/Makefile.am:
713 * fc-list/Makefile.am:
715 Make 'make distcheck' work with automake 1.6.3.
717 2006-02-03 Takashi IWAI <tiwai@suse.de>
720 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
723 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
724 FcDirCacheConsume, FcDirCacheWrite)
725 * src/fcxml.c (FcConfigMessage):
727 Check I/O call return values and eliminate unused variable
730 2006-02-03 Takashi Iwai <tiwai@suse.de>
733 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
737 2006-02-03 Dirk Mueller <dmueller@suse.de>
740 * src/fcfs.c (FcFontSetUnserialize):
742 Gracefully handle the case where a cache asserts that it
743 has a negative number of fonts, causing overflow.
745 2006-02-03 Patrick Lam <plam@mit.edu>
746 * src/fccache.c (FcDirCacheUnlink):
748 Fix double free in error case.
750 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
751 Stephan Kulow <coolo@suse.de>
754 * fc-cache/Makefile.am:
756 Replace 'stamp' target with mkinstalldirs.
758 2006-01-31 Mike Fabian <mfabian@suse.de>
761 * src/fccache.c (FcGlobalCacheLoad):
763 Toast broken global cache files.
765 2006-01-30 Patrick Lam <plam@mit.edu>
766 * src/fccache.c (FcGlobalCacheReadDir):
768 Actually use the directories that I added to the global cache.
771 2006-01-30 Mike Fabian <mfabian@suse.de>
774 * fc-cache/fc-cache.c (scanDirs):
776 Don't stop scanning if a directory in fonts.conf doesn't
777 exist, because subsequent directories might exist.
779 2006-01-30 Patrick Lam <plam@mit.edu>
780 * src/fccache.c (FcGlobalCacheLoad):
782 Make global cache work again after putting dir names into global
783 cache (I misplaced the recording of a file offset).
785 2006-01-30 Patrick Lam <plam@mit.edu>
786 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
788 Update fc-cat to handle subdir lists in global cache file.
790 * src/fccache.c (FcGlobalCacheLoad):
792 Another FcCacheReadString return value check.
794 2006-01-30 Mike Fabian <mfabian@suse.de>
797 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
798 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
800 Make fccache more resilient to broken cache files by checking
801 return value of FcCacheReadString all the time.
803 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
806 * fc-match/fc-match.1:
807 * fc-lang/fc-lang.man:
809 Remove references to dead fontconfig(3) manpages in
810 other fontconfig manpages.
812 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
815 * doc/fcpattern.fncs:
817 Fix world's tiniest typo in code example.
819 2006-01-29 Mike Fabian <mfabian@suse.de>
822 * src/fccache.c (FcGlobalCacheReadDir):
824 Fix global cache reads of subdirectories.
826 2006-01-29 Patrick Lam <plam@mit.edu>
828 Add documentation for FcConfigNormalizeFontDir.
830 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
831 FcGlobalCacheUpdate, FcGlobalCacheSave):
832 * src/fcdir.c (FcDirScanConfig):
835 Write directory information to global caches to fix make check
836 (reported by Ronny V. Vindenes). This changes the global cache
839 2006-01-27 Patrick Lam <plam@mit.edu>
840 * fc-cache/fc-cache.c (scanDirs):
841 * fontconfig/fontconfig.h:
843 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
845 Move FcConfigNormalizeFontDir call so that it doesn't result in
846 infinite recursion (reported by Ronny V. Vindenes).
848 2006-01-26 Patrick Lam <plam@mit.edu>
849 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
850 * src/fccfg.c (FcConfigNormalizeFontDir):
852 Add a couple of missing normalizations to make fc-cache work
853 right; only scan subdirectories once.
855 2006-01-26 Mike Fabian <mfabian@suse.de>
858 * src/fcacache.c (FcGlobalCacheReadDir):
860 Don't crash on non-existant directories in global cache.
862 2006-01-26 Patrick Lam <plam@mit.edu>
863 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
864 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
865 * src/fcdir.c (FcDirScanConfig):
866 * src/fcxml.c (FcEndElement):
868 Stop trampling the directory name when writing out caches.
869 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
870 subdirs when necessary. Don't scan directories that can't be
873 2006-01-25 Patrick Lam <plam@mit.edu>
874 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
875 * src/fccfg.c (FcConfigEvaluate):
876 * src/fcfreetype.c (FcPatternAddWithBinding):
878 Fix additional memory leaks reported by Ronny V. Vindenes: don't
879 invoke FcValueSave on hashed static strings in
880 FcPatternAddWithBinding.
882 Add another st_dev check in FcDirCacheOpen.
884 2006-01-24 James Su <james.su@gmail.com>
887 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
888 * fc-lang/zh_hk.orth:
890 Treat zh-hk fonts differently from zh-tw fonts. This patch may
891 cause fontconfig to treat A-X fonts differently from A-Y fonts;
892 please mail the fontconfig list if this causes any problems.
894 2006-01-24 Patrick Lam <plam@mit.edu>
895 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
896 * src/fcfreetype.c (FcFreeTypeQuery):
898 Fix memory leaks reported by Ronny V. Vindenes.
900 2006-01-19 Andreas Schwab <schwab@suse.de>
903 * src/fcpat.c (FcStrNeededBytes):
905 Fix for unaligned memory accesses.
907 2006-01-18 Mike Fabian <mfabian@suse.de>
910 * src/fcdir.c (FcDirScanConfig):
912 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
913 calls to avoid crashes.
915 2006-01-14 Patrick Lam <plam@mit.edu>
916 * src/fccache.c (FcDirCacheConsume):
918 Fix segfault when consuming zero-length caches in fc-cat
919 (which has no config, so FcConfigAddFontDir shouldn't be called.)
921 2006-01-14 Patrick Lam <plam@mit.edu>
922 * fc-cache/fc-cache.c (scanDirs):
923 * fontconfig/fontconfig.h:
924 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
925 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
926 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
927 * src/fcdir.c (FcDirScanConfig):
930 Compare device numbers as well as inodes.
931 Always normalize directory names before comparing them.
933 2006-01-11 Mike Fabian <mfabian@suse.de>
936 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
938 Allocate extra space for appended '/' in directory name.
940 2006-01-10 Patrick Lam <plam@mit.edu>
941 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
942 FcDirCacheValid, FcDirCacheHasCurrentArch,
943 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
944 * fc-cache/fc-cache.c (main):
946 Explicitly add font dirs to config.fontDirs even if they're empty.
947 Set current config in fc-cache.c.
948 Fix treatment of cache directory as read from cache file; don't
949 use string equality to determine if we have the right file,
952 2006-01-09 Patrick Lam <plam@mit.edu>
953 * fc-cache/fc-cache.c (scanDirs):
954 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
955 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
956 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
957 * src/fccfg.c (FcConfigNormalizeFontDir):
958 * src/fcdir.c (FcDirScanConfig):
961 Normalize font dirs by using the form, as given in fonts.conf, and
962 recorded in FcConfig's fontDirs string set, as canonical.
964 Actually update config.fontDirs as font directories are scanned.
966 2006-01-08 James Su <james.su@gmail.com>
967 * src/fcmatch.c (FcFontSetMatch):
969 Fix matching bug when multiple elements match; don't use
970 the sum of all scores, but the best score.
972 Also more perf opts, e.g. evaluate best over all font sets
973 rather than on a per-set basis (and other changes).
975 2006-01-08 Patrick Lam <plam@mit.edu>
976 * src/fccache.c (FcDirCacheConsume):
978 Properly skip past dir caches that contain zero fonts (as occurs
979 in global caches.) Reported by Mike Fabian.
981 2006-01-06 Patrick Lam <plam@mit.edu>
982 * src/fcdbg.c (FcPatternPrint):
984 Print out full pathname in fc-match -v as well. Reported by
987 2006-01-06 Mike Fabian <mfabian@suse.de>
990 * src/fcname.c (FcNameParse):
992 Fix bug where fc-match crashes when given __DUMMY__ property to
995 (I added the __DUMMY__ string to enable callers of
996 FcObjectToPtrLookup to distinguish an error return from a
997 successful return. -PL)
999 2006-01-05 Patrick Lam <plam@mit.edu>
1002 Add self to AUTHORS list.
1004 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1005 FcCacheFileRead, FcCachePrintSet, main):
1006 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1007 FcGlobalCacheSave, FcCacheNextOffset,
1008 FcDirCacheHasCurrentArch, FcDirCacheRead,
1009 FcDirCacheConsume, FcDirCacheWrite):
1011 * src/fcpat.c (comment):
1013 Minor change to global cache file format to fix fc-cat bug
1014 reported by Frederic Crozat, and buglet with not globally caching
1015 directories with zero fonts cached.
1017 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1020 * src/fccfg.c (FcConfigEvaluate):
1022 Fix double-free which occurs because FcValueCanonicalize doesn't
1023 create an extra copy of the returned value, it only canonicalizes
1026 2006-01-02 Patrick Lam <plam@mit.edu>
1027 * doc/fontconfig-user.sgml:
1029 Fix version of .cache file (currently 1 -> currently 2). Reported
1032 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1035 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1037 Shut up GCC warnings on amd.
1039 2005-12-20 Patrick Lam <plam@mit.edu>
1043 * fontconfig/fontconfig.h:
1045 Bump version to 2.3.93.
1047 2005-12-20 Patrick Lam <plam@mit.edu>
1048 * src/fccharset.c (FcLangCharSetPopulate):
1049 * src/fcint.h (FcCacheBankToIndex):
1051 Avoid check on _fcBankId nullness and fix case where it used to
1054 2005-12-20 Patrick Lam <plam@mit.edu>
1055 * src/fcxml.c (FcConfigParseAndLoad):
1057 Use open instead of fopen (requested by Phil Race for Sun).
1059 2005-12-20 Patrick Lam <plam@mit.edu>
1060 * src/fccache.c (FcDirCacheWrite);
1061 * fc-cache/Makefile.am:
1063 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1066 2005-12-20 Patrick Lam <plam@mit.edu>
1067 * src/fcfreetype.c (FcFreeTypeQuery):
1069 Restore code to skip over PCF fonts that have no encoded
1071 (We guess that a font is PCF by presence of the PIXEL_SIZE
1074 2005-12-12 Patrick Lam <plam@mit.edu>
1075 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1077 Read and write the original location as a fallback for the
1078 hashed cache file locations. This is mostly for users to be
1079 able to have per-directory cache files.
1081 2005-12-12 Patrick Lam <plam@mit.edu>
1082 * fc-cache/fc-cache.c (scanDirs):
1083 * fc-cache/Makefile.am:
1084 * src/fccache.c (FcDirCacheHashName):
1086 Improve error message when fc-cache can't write the cache. Add
1087 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1088 create /var/cache/fontconfig when appropriate.
1090 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1093 * src/fcxml.c (FcConfigGetAttribute):
1095 Fix crash reported by Frederic Crozat when using libxml2.
1097 2005-12-09 Patrick Lam <plam@mit.edu>
1100 * fc-cache/Makefile.am:
1101 * fc-cat/Makefile.am:
1103 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1104 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1105 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1106 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1107 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1108 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1110 Migrate cache files from fonts directories to
1111 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1112 but requires that all caches get rebuilt.
1114 Also, autogen.sh now needs the additional parameter
1115 --localstatedir=/var.
1117 2005-12-07 Patrick Lam <plam@mit.edu>
1118 * src/fcpat.c (FcPatternAddString):
1120 Because we've changed FcPatternAddString to use FcStrStaticName
1121 and not FcValueSave, explicitly handle the case of a null string.
1123 2005-12-06 Patrick Lam <plam@mit.edu>
1124 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1128 2005-12-05 Patrick Lam <plam@mit.edu>
1129 * src/fcname.c (FcNameGetObjectType):
1131 Don't assign types to user object names.
1133 2005-12-05 Patrick Lam <plam@mit.edu>
1134 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1136 Don't free strings that have been returned from FcStrStaticName.
1138 2005-12-01 Patrick Lam <plam@mit.edu>
1139 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1141 Add codepath for reading global cache files as well.
1143 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1146 * conf.d/10-fonts.persian.conf:
1147 * conf.d/Makefile.am:
1149 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1151 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1154 * src/fcxml.c (FcConfigParseAndLoad):
1156 Only add a config file to the set of config files once.
1158 2005-11-29 Patrick Lam <plam@mit.edu>
1159 * src/fcint.h (FcCacheBankToIndex);
1161 Fix segfault by guarding array dereference.
1163 2005-11-29 Dirk Mueller <dmueller@suse.de>
1166 * fc-lang/fc-lang.c:
1167 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1168 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1172 Refactor FcCacheBankToIndex into an inlineable part
1173 (in fcint.h) which checks the front of the list and a
1174 non-inlineable part which finds and moves the appropriate element
1175 to the front of the list.
1177 2005-11-29 Patrick Lam <plam@mit.edu>
1178 * src/fccfg.c (FcConfigBuildFonts):
1179 * src/fccache.c (FcCacheReadDirs):
1181 Make the perf guys hate me a bit less: hoist the directory-name
1182 FcConfigAcceptFont check for cached fonts up to directory cache
1183 read time, rather than running it for each font.
1185 2005-11-29 Patrick Lam <plam@mit.edu>
1186 * src/fccfg.c (FcConfigBuildFonts):
1188 * src/fcpat.c (FcPatternFindFullFname):
1190 Don't make FcPatternFindFullFname available to fccfg, it's not
1191 really safe. Instead go through FcPatternGetString (sorry,
1192 perf guys.) Also, use globs for dirs as well.
1194 2005-11-28 Patrick Lam <plam@mit.edu>
1195 * src/fccfg.c (FcConfigBuildFonts):
1199 2005-11-28 Patrick Lam <plam@mit.edu>
1201 * src/fcpat.c (FcPatternFindFullFname):
1202 * src/fccfg.c (FcConfigBuildFonts):
1204 Fix problem dating back at least to 2.3.2 where globs weren't
1205 being applied to patterns loaded from a cache.
1207 2005-11-28 Patrick Lam <plam@mit.edu>
1208 * doc/fontconfig-user.sgml:
1210 Fix some obvious spelling mistakes.
1212 2005-11-28 Dirk Mueller <dmueller@suse.com>
1213 Stephan Kulow <coolo@suse.de>
1216 * src/fcmatch.c (FcFontSetMatch):
1218 Don't kill all fonts during match (oops!)
1221 2005-11-25 Dirk Mueller <dmueller@suse.com>
1222 Stephan Kulow <coolo@suse.de>
1223 Michael Matz <matz@suse.de>
1226 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1229 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1230 inline FcCompare into FcFontSetMatch and reorder the
1231 loops, adding a boolean array which blocks patterns from future
1232 consideration if they're known to not be best on some past
1235 2005-11-26 Dirk Mueller <dmueller@suse.com>
1238 * src/fcmatch.c (FcCompareValueList):
1240 Fix incorrect merge.
1242 2005-11-25 Patrick Lam <plam@mit.edu>
1243 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1245 Don't do random matching when bad objects are passed into
1248 2005-11-25 Patrick Lam <plam@mit.edu>
1250 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1251 FcPatternSerialize, FcPatternUnserialize,
1252 FcValueListEnsureBank, FcValueListDistributeBytes,
1253 FcValueListUnserialize):
1255 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1256 _fcPatternElts, _fcValueLists for consistency.
1258 2005-11-25 Dirk Mueller <dmueller@suse.com>
1263 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1265 2005-11-25 Patrick Lam <plam@mit.edu>
1267 * src/fccache.c (FcDirCacheConsume):
1268 * src/fccharset.c (FcCharSetUnserialize):
1269 * src/fcfs.c (FcFontSetUnserialize):
1270 * src/fclang.c (FcLangSetUnserialize):
1271 * src/fcname.c (FcObjectUnserialize):
1272 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1273 FcPatternUnserialize):
1275 Pass around FcCache *s to the Unserialize functions for extra
1276 consistency (and less overhead, for what that's worth).
1278 2005-11-24 Dirk Mueller <dmueller@suse.com>
1282 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1283 * src/fcname.c (FcNameUnparseValue):
1285 Inline the *PtrU functions to gain perf.
1286 Remove unneeded params for the FcCompare* functions.
1288 2005-11-24 Dirk Mueller <dmueller@suse.com>
1291 * src/fcint.h, fontconfig/fontconfig.h:
1293 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1295 * src/fcpat.c, src/fcint.h, src/fcname.c:
1297 Check for type validity during FcPatternAddWithBinding, don't
1298 verify type in FcFontMatch, don't call FcCanonicalize here
1299 (which always does a deep copy).
1301 2005-11-24 Dirk Mueller <dmueller@suse.com>
1304 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1305 * src/fcpat.c (FcPatternAddWithBinding):
1307 Make FcCompareString and FcCompareFamily less expensive.
1308 Only add a value for FC_FAMILY if the proposed value is a string.
1310 2005-11-24 Dirk Mueller <dmueller@suse.com>
1313 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1314 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1315 * src/fcint.h (FcDebug):
1317 Inline FcDebug invocations and only initialize once, in FcInit*.
1318 Improve debug msg in FcPatternPrint.
1320 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1323 * fontconfig/fontconfig.h:
1326 Minor code warning cleanups.
1328 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1331 * fc-match/fc-match.c (main):
1333 Make getopt_long accept -s parameter to fc-match as well.
1335 2005-11-21 Dirk Mueller <dmueller@suse.com>
1338 * src/fcmatch.c (FcCompareValueList):
1340 Manually perform inlining & partial redundancy elimination to
1341 reduce calls to FcValueListPtrU.
1343 2005-11-21 Dirk Mueller <dmueller@suse.com>
1346 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1347 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1349 Only invoke strlen() when really necessary.
1351 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1355 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1356 FcFontCapabilities):
1360 Get rid of the use of freetype internal headers in fcfreetype.c,
1361 since those headers will go away with freetype 2.2. Replace with
1362 public domain ftglue code from pango. Note that the patch removes
1363 some extra error checking in FT_Get_BDF_Property() and comments
1364 out the skipping of empty pcf fonts.
1366 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1369 * fc-lang/fc-lang.c (main):
1371 Further fix of patch from 2005-11-04: miscounted numbers count
1372 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1373 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1375 Removed leafidx_count and numbers_count since they are the same
1376 and replaced them with offset_count.
1378 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1381 * fc-cat/fc-cat.c (main):
1383 Don't crash when fc-cat invoked with no arguments.
1385 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1388 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1390 Fix invalid read access caused by premature free and
1391 GCC4 warnings in libxml2 codepath.
1393 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1396 * src/fccfg.c (FcConfigValues):
1398 List iteration not needed in FcConfigValues, since it's building
1399 up the list itself; we can just strip FcVoid elements during
1402 2005-11-17 Patrick Lam <plam@mit.edu>
1403 * src/fccfg.c (FcConfigValues):
1405 Fix crash on invalid constants in config files (forgot to update
1406 a pointer upon list iteration.)
1408 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1411 * src/fcxml.c (FcTypecheckExpr):
1413 Complain about invalid constants in config files.
1415 2005-11-17 Andreas Schwab <schwab@suse.de>
1418 * src/fccache.c (FcGlobalCacheSave):
1420 Don't add current_arch_start more than once.
1422 2005-11-16 Patrick Lam <plam@mit.edu>
1423 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1424 * src/fcfs.c (FcFontSetUnserialize):
1425 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1426 * src/fcpat.c (FcStrUnserialize):
1428 Fix ordering of ALIGN with respect to saving block_ptr; add
1429 another ALIGN to fcfs.c.
1431 2005-11-16 Patrick Lam <plam@mit.edu>
1432 * src/fccache.c (FcDirCacheProduce)
1434 Fix case where alignment bytes bumped up metadata->count
1435 causing unwarranted failures to write cache files.
1436 (Reported by Stephan Kulow).
1438 2005-11-16 Patrick Lam <plam@mit.edu>
1439 * src/fccache.c (FcDirCacheProduce):
1440 * src/fccharset.c (FcCharSetDistributeBytes):
1441 * src/fcfs.c (FcFontSetDistributeBytes):
1443 * src/fclang.c (FcLangSetDistributeBytes):
1444 * src/fcname.c (FcObjectDistributeBytes):
1445 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1448 Add *NeededBytesAlign(), which overestimates the padding which is
1449 later added by the new ALIGN macro. Fix alignment problems on
1450 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1451 version by Andreas Schwab).
1453 2005-11-16 Stephan Kulow <coolo@kde.org>
1458 Use sysconf to determine proper PAGESIZE value; this
1459 appears to be POSIX-compliant. (reported by Andreas Schwab)
1461 2005-11-04 Patrick Lam <plam@mit.edu>
1462 * fc-lang/fc-lang.c:
1467 Fix bug 2878 (excessive relocations at startup for charsets,
1468 reported by Ross Burton): fc-lang/fc-lang now creates the
1469 static form of the langset, not the dynamic form, so that
1470 the charsets should now be in .rodata.
1472 2005-11-04 Patrick Lam <plam@mit.edu>
1473 * src/fcdir.c (FcDirScanConfig):
1475 Add test for validity of directory caches that
1476 somehow got lost (reported by make distcheck).
1478 2005-11-04 Patrick Lam <plam@mit.edu>
1482 * fontconfig/fontconfig.h:
1484 Bump version to 2.3.92.
1486 2005-11-02 Patrick Lam <plam@mit.edu>
1487 * src/fcpat.c (FcPatternDuplicate):
1489 Fix argument ordering problem in call to FcPatternTransferFullFname.
1491 2005-11-02 Patrick Lam <plam@mit.edu>
1492 * src/fcfreetype.c (FcFreetypeQuery):
1493 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1494 FcPatternTransferFullFname):
1496 Fix warnings and embarrassing double-free error.
1498 2005-11-02 Zhe Su <zsu@novell.com>
1503 Change the rule for artificial emboldening in fonts.conf.in. This
1504 enables the support for artificial emboldening included in cairo.
1506 2005-11-02 Patrick Lam <plam@mit.edu>
1507 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1509 Don't zero out full names for FC_REF_CONSTANT fonts;
1510 also, duplicate full names when transferring, and free
1511 full names when freeing the associated font.
1512 Reported by Jinghua Luo.
1514 2005-11-02 Patrick Lam <plam@mit.edu>
1515 * fc-cache/fc-cache.c (scanDirs):
1516 * src/fcpat.c (FcValueListSerialize):
1518 Revert the previous patch and commit the correct patch:
1519 I forgot a canonicalization in FcValueListSerialize, so
1520 that it would choke on already-serialized input files. Duh!
1522 2005-11-02 Patrick Lam <plam@mit.edu>
1523 * fc-cache/fc-cache.c (scanDirs):
1525 Forcibly rescan a directory before writing a fresh local
1526 cache file for that directory, fixing the losing-fonts
1527 problem reported by Mike Fabian and also apparently the
1528 font cache file corruption.
1530 2005-11-02 Patrick Lam <plam@mit.edu>
1531 * src/fccache.c (FcGlobalCacheLoad):
1533 Fix thinko: actually, the whole global cache is stale
1534 if the global cache is older than the (newest) config file.
1536 2005-11-02 Patrick Lam <plam@mit.edu>
1537 * src/fccache.c (FcGlobalCacheLoad):
1538 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1541 Declare the global cache of a directory's contents to be stale if
1542 the directory is newer than the (newest) configuration file.
1544 2005-10-31 Patrick Lam <plam@mit.edu>
1546 * src/fclist.c (FcListAppend):
1547 * src/fcmatch.c (FcFontRenderPrepare):
1548 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1549 FcPatternFreeze, FcPatternBaseFreeze):
1551 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1552 applications continue breaking.
1554 2005-10-31 Patrick Lam <plam@mit.edu>
1555 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1556 * src/fcfreetype.c (FcFreeTypeQuery):
1558 Fix small memory error (tried to free argv); use basename and
1559 dirname correctly (they can modify their arguments).
1561 2005-10-31 Patrick Lam <plam@mit.edu>
1569 Reinstate basename patch, but keep a hash table linking FcPatterns
1570 to their fully-qualified font names for clients' benefit. Clients
1571 only pay for the font names once they request the FC_FILE property
1572 from an FcPattern, but the font name is malloc'd at that point (i.e.
1573 not mmapped: that's impossible, since it may vary between machines.)
1574 Clients do have to pay for a copy of the path name per cache file.
1576 Note that FcPatternGetString now does some rewriting if you ask
1577 for an FC_FILE, appending the pathname as appropriate.
1579 2005-10-31 Patrick Lam <plam@mit.edu>
1580 * src/fcfreetype.c (FcFreeTypeQuery):
1582 Revert basename patch, which breaks fontconfig clients on my system.
1584 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1587 * fontconfig/fonts.conf.in:
1588 * fontconfig/fontconfig.h:
1592 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1593 to load embedded bitmaps or not.
1595 2005-10-25 Patrick Lam <plam@mit.edu>
1596 * src/fcfreetype.c (FcFreeTypeQuery):
1598 Only add basename to patterns' FC_FILE element, not any part of
1601 2005-10-22 Patrick Lam <plam@mit.edu>
1604 Add some more consts, fixing more GCC4 warnings.
1606 2005-10-22 Zhe Su <zsu@novell.com>
1609 Support localized font family and style names.
1610 This has been reported to break old apps like xfd, but modern
1611 (gtk+/qt/mozilla) apps work fine.
1613 2005-10-21 Patrick Lam <plam@mit.edu>
1614 * src/fccache.c (FcGlobalCacheLoad):
1616 Destroy the global cache file if it's terminally broken. (reported by
1619 2005-10-21 Patrick Lam <plam@mit.edu>
1620 * fc-list/fc-list.c (main):
1621 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1622 * fontconfig/fontconfig.h:
1624 Prevent fc-list from escaping strings when printing them (reported by
1627 2005-10-20 Marcus Meissner <meissner@suse.de>
1630 * fontconfig/fontconfig.h:
1632 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1634 2005-10-14 Ross Burton <ross@burtonini.com>
1637 * fc-glyphname/fc-glyphname.c:
1640 Add consts to variables so as to move arrays into .rodata.
1642 2005-10-14 Mike Fabian <mfabian@suse.de>
1645 * src/fccache.c (FcDirCacheUnlink):
1647 Check existence of directory cache file before attempting to unlink.
1649 2005-10-13 Patrick Lam <plam@mit.edu>
1650 * src/fccache.c (FcDirCacheUnlink):
1652 Fix flipped return value on unlink. (Reported by Mike Fabian)
1654 2005-10-12 Patrick Lam <plam@mit.edu>
1657 * src/fcdir.c (FcDirScanConfig):
1660 When fc-cache is run without --force, use directory cache files
1661 to speed up fc-cache run time. (Reported by Mike Fabian)
1663 2005-10-06 Patrick Lam <plam@mit.edu>
1665 * src/fcname.c (FcObjectToPtr):
1666 * src/fcpat.c (FcStrStaticName):
1668 Add padding to make valgrind and glibc not hate each other
1669 when calling strlen().
1671 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1672 reviewed by: plam & keithp
1676 Modify config file to use Greek fonts before Asian fonts with
1679 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1680 reviewed by: plam & keithp
1684 Use libtool -no-undefined flag on all platforms.
1686 2005-10-05 Patrick Lam <plam@mit.edu>
1687 * src/fccache.c (FcCacheHaveBank):
1689 Implement move-to-front array for banks (perf regression
1690 reported by Ronny V. Vindenes).
1692 2005-10-04 Patrick Lam <plam@mit.edu>
1693 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1694 FcDirCacheHasCurrentArch):
1695 * fc-cache/fc-cache.c (scanDirs):
1696 * fontconfig/fontconfig.h:
1698 Add new API which unlinks directory caches and checks dir caches
1699 for existence of appropriate sections. Fix fc-cache to unlink
1700 stale cache files and save directory caches that lack relevant
1703 2005-10-03 Patrick Lam <plam@mit.edu>
1704 * src/fccache.c (FcDirCacheValid):
1706 Ensure that a directory cache has the appropriate section
1707 before reporting that it is valid (reported by Matthias Clasen).
1709 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1717 Use libxml2 if requested (with --enable-libxml2) or if
1718 expat is not available.
1720 2005-09-29 Patrick Lam <plam@mit.edu>
1721 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1723 Fix multi-arch cache files: compute the position for the
1724 block to be added using info from OrigFile, not NewFile.
1726 2005-09-28 Patrick Lam <plam@mit.edu>
1727 * src/fccache.c (FcCacheMachineSignature):
1729 Cast results of sizeof() to unsigned int to get rid of
1730 warnings on x86_64 (thanks Matthias Clasen).
1732 2005-09-27 Patrick Lam <plam@mit.edu>
1733 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1736 Use FcAtomic to rewrite cache files.
1738 2005-09-27 Patrick Lam <plam@mit.edu>
1740 * src/fccache.c (FcDirCacheWrite):
1742 Don't unlink the fonts.cache-2 file even if there's no data
1743 to write; just write an empty cache file. (thanks Lubos Lunak)
1745 2005-09-27 Patrick Lam <plam@mit.edu>
1747 * src/fccache.c (FcDirCacheWrite):
1749 Allocate room for the subdirectory names in each
1750 directory cache. Thanks to James Cloos for finding
1751 and diagnosing this bug!
1753 2005-09-22 Patrick Lam <plam@mit.edu>
1755 * fc-cache/fc-cache.sgml:
1756 * src/fccache.c (FcDirCacheWrite):
1757 * src/fccache.h (struct FcCache):
1759 Update documentation -- fc-cache's man page now says that you
1760 need to run fc-cache once per cached architecture; add some
1761 documentation to the FcCache structure.
1763 Make fc-cache write out fonts.cache-2 files for directories with
1764 no fonts (i.e. only subdirectories).
1766 2005-09-22 Patrick Lam <plam@mit.edu>
1768 * fc-cache/fc-cache.sgml:
1769 * fc-case/fc-case.c:
1770 * fc-glyphname/fc-glyphname.c:
1776 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1780 * fc-lang/fc-lang.c:
1781 * fontconfig/fcprivate.h:
1782 * fontconfig/fontconfig.h:
1796 Implement new mmaped cache for font information.
1797 Bump so revision to 2.3.90.
1799 2005-07-25 Keith Packard <keithp@keithp.com>
1801 * doc/fontconfig-user.sgml:
1802 * fc-glyphname/fc-glyphname.c: (scan), (main):
1803 * fc-lang/fc-lang.c: (FcConfigHome):
1804 * fc-match/fc-match.c: (main):
1805 * src/fccfg.c: (FcConfigHome):
1806 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1807 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1808 (addtag), (FcFontCapabilities):
1809 * src/fcpat.c: (FcValueListEntCreate):
1810 * src/fcstr.c: (FcStrCaseWalkerInit):
1811 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1813 Various GCC 4 cleanups for signed vs unsigned char
1815 Match only [0-9]*.conf files in <include>{directory}</include>
1816 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1818 2005-07-15 Carl Worth <cworth@cworth.org>
1821 * src/fcinit.c: (FcFini):
1822 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1825 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1826 Pull the FcObjectStateName hash table out to file scope, and add
1827 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1830 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1833 2005-06-16 Patrick Lam <plam@MIT.EDU>
1837 * src/fccfg.c: (FcConfigCompareValue):
1838 Make FcOpNotContains use FcStrStr for strings so that
1839 it matches semantics for !FcOpContains.
1841 2005-05-20 Keith Packard <keithp@keithp.com>
1845 Move fontconfig source package to libs as per override
1847 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1849 reviewed by: Mike Fabian
1852 The ka.orth file requires several characters which are not
1853 used anymore in modern Georgian and which are missing in the free
1854 Georgian TrueType fonts downloadable at:
1856 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1858 2005-04-27 Keith Packard <keithp@keithp.com>
1862 Update date to real 2.3.2 release date.
1863 Fix change attributions
1865 2005-04-27 Keith Packard <keithp@keithp.com>
1868 Bump so revision for 2.3.2
1869 * fc-cache/fc-cache.c: (scanDirs):
1870 Fix a few minor leaks in error cases.
1872 2005-04-23 Keith Packard <keithp@keithp.com>
1877 * fontconfig/fontconfig.h:
1878 Update for version 2.3.2
1880 2005-04-21 Keith Packard <keithp@keithp.com>
1882 * debian/fontconfig.postinst:
1883 Don't force bitmap font enable in default
1884 configuration; allows users to override this in
1894 * debian/po/pt_BR.po:
1895 * debian/po/templates.pot:
1897 * debian/po/zh_CN.po:
1898 Updated translations
1900 * fc-cache/fc-cache.c: (main):
1901 Destroy font configuration on exit to help valgrind
1904 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1905 (FcFreeTypeCheckGlyph):
1906 Use own transcoding routines in preference to iconv
1907 which appears to have leaks in some translators.
1908 Call iconv_close after using iconv (oops).
1910 Prefer unicode encoding of Euro char as some
1911 fonts mis-encode Euro in other ones.
1913 Must fetch bitmap glyphs to get width values
1914 to check for monospace/dual-width fonts.
1916 2005-04-13 Ross Burton <ross@burtonini.com>
1919 Check that a pattern isn't already frozen in FcPatternFreeze.
1921 2005-03-31 Ross Burton <ross@burtonini.com>
1926 Run all FcPattern objects through FcObjectStaticName, so that
1927 compares can be done on pointers instead of strings (#2659)
1929 2005-03-17 Tor Lillqvist <tml@novell.com>
1931 * src/fontconfig.def.in: Add the .dll to the dll name.
1933 2005-03-10 Keith Packard <keithp@keithp.com>
1935 * debian/README.Debian:
1936 Update to reflect configuration changes
1938 * debian/fontconfig.postinst:
1939 Fix Autohint vs Autohinter mistake
1940 * debian/fontconfig.templates:
1941 Adopt changes from Josselin Mouette for configuration descriptions
1942 Update debian to version 2.3.1-2
1944 2005-03-08 Keith Packard <keithp@keithp.com>
1948 Update debian for 2.3.1
1950 2005-03-09 Tor Lillqvist <tml@novell.com>
1952 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1955 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1958 2005-03-08 Keith Packard <keithp@keithp.com>
1962 * fontconfig/fontconfig.h:
1965 2005-03-05 Keith Packard <keithp@keithp.com>
1967 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1968 Include space and remove numbers from valid script tags.
1969 This ensures that tags like 'lao ' work while rejecting
1970 those which have any digits.
1971 Eliminate a spurious debugging variable (len)
1973 2005-03-05 Keith Packard <keithp@keithp.com>
1975 * src/fcfreetype.c: (addtag), (GetScriptTags),
1976 (FcFontCapabilities):
1977 Rework GSUB/GPOS script parsing to survive broken fonts.
1978 Thanks for the broken font go to Manish Singh
1980 2005-03-05 Keith Packard <keithp@keithp.com>
1985 * debian/fontconfig.config:
1986 * debian/fontconfig.templates:
1988 Include 2.3 release information in changelog
1989 Add Josselin Mouette as an Uploader
1990 Set hinting_type to low priority configuration option
1993 * debian/fontconfig.postinst:
1994 yes_bitmaps.conf -> yes-bitmaps.conf
2000 2005-03-02 Keith Packard <keithp@keithp.com>
2003 * conf.d/Makefile.am:
2004 * conf.d/autohint.conf:
2005 * conf.d/no-sub-pixel.conf:
2006 * conf.d/sub-pixel.conf:
2007 * conf.d/unhinted.conf:
2008 * debian/autohint.conf:
2009 * debian/fontconfig.install:
2010 * debian/fontconfig.postinst:
2011 * debian/fontconfig.templates:
2012 * debian/no-sub-pixel.conf:
2013 * debian/unhinted.conf:
2014 Move debian-specific conf file examples upstream.
2016 Sub-pixel configuration examples must smash subpixel value
2017 as Xft always sets it from X.
2019 Change sub-pixel rendering debconf descriptions from
2020 Enable/Disable to Always/Never.
2022 2005-03-02 Keith Packard <keithp@keithp.com>
2025 * conf.d/.cvsignore:
2027 Ignore more build detritus
2030 Add debian package construction stuff.
2032 * config/config.guess:
2033 * config/config.sub:
2034 Update to newer versions of these tools
2037 Get library manuals to build again (we love automake).
2039 * debian/README.Debian:
2040 * debian/autohint.conf:
2045 * debian/fontconfig-udeb.install:
2046 * debian/fontconfig.config:
2047 * debian/fontconfig.defoma:
2048 * debian/fontconfig.dirs:
2049 * debian/fontconfig.install:
2050 * debian/fontconfig.postinst:
2051 * debian/fontconfig.postrm:
2052 * debian/fontconfig.templates:
2053 * debian/libfontconfig1-dev.install:
2054 * debian/libfontconfig1.install:
2055 * debian/local.conf.md5sum:
2056 * debian/no-sub-pixel.conf:
2057 * debian/po/POTFILES.in:
2066 * debian/po/pt_BR.po:
2067 * debian/po/templates.pot:
2069 * debian/po/zh_CN.po:
2071 * debian/unhinted.conf:
2072 Update debian build system to switch maintainers and
2073 deal with 2.3 functionality
2075 2005-03-01 Keith Packard <keithp@keithp.com>
2079 * fontconfig/fontconfig.h:
2082 2005-03-01 Keith Packard <keithp@keithp.com>
2085 Generate and install PDF versions of the manuals
2087 * doc/fcpattern.fncs:
2090 * doc/fcstring.fncs:
2091 Add missing exported functions, fix data types
2093 * doc/fontconfig-devel.sgml:
2094 Add missing pattern elements.
2096 * doc/fontconfig-user.sgml:
2097 Add missing pattern elements. Document conf.d usage,
2098 clarify available orthography list. Fix some config file
2099 attributes. Complete list of constants.
2101 * fontconfig/fontconfig.h:
2102 Mark FC_SOURCE deprecated.
2104 * src/fcfreetype.c: (FcFreeTypeQuery):
2105 Don't set FC_SOURCE any longer.
2107 2005-02-28 Keith Packard <keithp@keithp.com>
2110 * conf.d/Makefile.am:
2112 * conf.d/no-bitmaps.conf:
2113 * conf.d/sub-pixel.conf:
2114 * conf.d/yes-bitmaps.conf:
2116 Create prototype /etc/fonts/conf.d directory with a few
2117 sample configuration files.
2118 Deprecate use of local.conf for local customizations in favor of
2119 this directory based scheme which is more easily integrated into
2120 installation systems.
2123 Tag FC_EMBOLDEN as a boolean variable
2125 2005-02-10 Keith Packard <keithp@keithp.com>
2127 reviewed by: pborelli@katamail.com
2129 * src/fcdir.c: (FcFileScanConfig):
2130 Free patterns from fonts which are rejected by configuration
2133 2005-01-28 Keith Packard <keithp@keithp.com>
2137 * fontconfig/fontconfig.h:
2138 Update for version 2.2.99
2140 2005-01-28 Keith Packard <keithp@keithp.com>
2143 Add a few pointers (#2284, #2285)
2145 2005-01-28 Keith Packard <keithp@keithp.com>
2148 * src/fcname.c: (FcNameBool):
2149 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2150 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2151 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2152 Polite typechecking for test and edit expressions. Helps
2153 catch errors in the font configuration. (bug 229)
2155 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2157 reviewed by: Keith Packard <keithp@keithp.com>
2160 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2162 2005-01-13 Keith Packard <keithp@keithp.com>
2164 * doc/fontconfig-user.sgml:
2165 Add SEE ALSO section (bug 2085)
2167 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2169 reviewed by: Keith Packard <keithp@keithp.com>
2174 * fc-case/Makefile.am:
2175 * fc-glyphname/Makefile.am:
2176 * fc-lang/Makefile.am:
2177 * src/fontconfig.def.in:
2178 Cross compiling fixes (bug 280)
2180 2005-01-13 Keith Packard <keithp@keithp.com>
2183 Update blanks list (Closes bug 86)
2185 2005-01-04 Keith Packard <keithp@keithp.com>
2187 * src/fccache.c: (FcCacheFontSetAdd):
2188 Verify that every font pattern loaded from cache has
2189 both FC_FILE and FC_FAMILY entries.
2190 Attempt to fix bug #2219.
2192 2004-12-29 Keith Packard <keithp@keithp.com>
2196 * fontconfig/fontconfig.h:
2197 Update for version 2.2.98
2199 2004-12-29 Keith Packard <keithp@keithp.com>
2201 * fontconfig/fontconfig.h:
2202 Document ASCII limitations of Fc character conversion macros
2203 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2204 Fix off-by-one error in utf-8 case walking code.
2205 Add FcStrDowncase (useful for testing case conversion functions)
2207 2004-12-29 Keith Packard <keithp@keithp.com>
2210 * fc-case/.cvsignore:
2211 clean up CVS ignore lists
2212 * fc-lang/iso-3166.txt:
2213 Add territory database
2215 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2217 Reviewed by: Keith Packard
2220 Remove Han characters from Korean orthography
2222 2004-12-29 Keith Packard <keithp@keithp.com>
2225 Reorder utility programs to make sure fc-case is run before fc-lang
2226 as fc-lang uses fcstr.c which uses fccase.h
2230 2004-12-29 Keith Packard <keithp@keithp.com>
2233 Adopt some RedHat suggestions for standard font configuration.
2237 * fc-case/CaseFolding.txt:
2238 * fc-case/Makefile.am:
2239 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2240 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2241 (dump), (parseRaw), (caseFoldReadRaw), (main):
2242 * fc-case/fccase.tmpl.h:
2243 Add new helper program 'fc-case' to construct case folding
2244 tables from standard Unicode CaseFolding.txt file
2247 * src/fclist.c: (FcListValueHash):
2248 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2249 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2250 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2251 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2252 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2253 Re-implement case insensitive functions with Unicode
2254 aware versions (including full case folding mappings)
2256 2004-12-13 Keith Packard <keithp@keithp.com>
2258 reviewed by: Owen Taylor <otaylor@redhat.com>
2260 * src/fcmatch.c: (FcFontSetSort):
2261 I changed FcFontSetSort to respect the generic aliases better
2262 in the face of language matching.
2264 What I did was to ammend the strict sort order used by FcFontSort so
2265 that it 'satisfies' the language specified in the pattern by locating
2266 the best matching font supporting each pattern language and then
2267 ignores language in the remaining fonts for purposes of matching.
2269 So, when asking for 'sans:lang=en', you'll get an English font first,
2270 and then the remaining fonts sorted with respect to the 'sans' alias
2271 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2273 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2275 reviewed by: Keith Packard <keithp@keithp.com>
2277 * fontconfig/fontconfig.h:
2280 Configuration changes to request synthetic emboldening of
2281 fonts. The actual emboldening code will live in Xft.
2283 2004-12-09 John Thacker <thacker@math.cornell.edu>
2285 reviewed by: Keith Packard <keithp@keithp.com>
2289 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2290 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2291 и), and don't even appear in KOI8-R. (The hypothesis that they
2292 don't appear in KOI8-R due to their similarity with Latin I and i is
2293 eliminated by their presence in KOI8-U.) I have a couple of fonts
2294 with Russian support that don't have the letter.
2296 Therefore, 0406 and 0456 should be removed from or commented out of
2299 2004-12-06 michael meeks <mmeeks@novell.com>
2301 Reviewed by: Keith Packard <keithp@keithp.com>
2303 * src/fcinit.c: (FcMemReport):
2305 * src/fclist.c: (FcObjectSetAdd):
2306 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2307 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2308 * src/fcxml.c: (FcParsePatelt):
2309 memoize strings and share a single copy for all uses. Note that
2310 this could be improved further by using statically allocated blocks
2311 and gluing multiple strings together, but I'm basically lazy.
2312 In my environment with 800 font files, I get a savings of about 90KB.
2314 2004-12-06 Keith Packard <keithp@keithp.com>
2318 * config/Makedefs.in:
2321 * doc/fcatomic.fncs:
2322 * doc/fcblanks.fncs:
2323 * doc/fccharset.fncs:
2324 * doc/fcconfig.fncs:
2325 * doc/fcconstant.fncs:
2327 * doc/fcfontset.fncs:
2328 * doc/fcfreetype.fncs:
2330 * doc/fcmatrix.fncs:
2331 * doc/fcobjectset.fncs:
2332 * doc/fcobjecttype.fncs:
2333 * doc/fcpattern.fncs:
2334 * doc/fcstring.fncs:
2335 * doc/fcstrset.fncs:
2337 * doc/fontconfig-devel.sgml:
2338 * doc/fontconfig-user.sgml:
2340 * doc/version.sgml.in:
2341 * fc-cache/Makefile.am:
2342 * fc-cache/fc-cache.c:
2343 * fc-glyphname/Makefile.am:
2344 * fc-glyphname/fc-glyphname.c:
2345 * fc-glyphname/fcglyphname.tmpl.h:
2346 * fc-lang/Makefile.am:
2356 * fc-lang/az_ir.orth:
2390 * fc-lang/fc-lang.c:
2391 * fc-lang/fc-lang.man:
2392 * fc-lang/fclang.tmpl.h:
2437 * fc-lang/ku_ir.orth:
2470 * fc-lang/ps_af.orth:
2471 * fc-lang/ps_pk.orth:
2500 * fc-lang/ti_er.orth:
2501 * fc-lang/ti_et.orth:
2527 * fc-lang/zh_cn.orth:
2528 * fc-lang/zh_hk.orth:
2529 * fc-lang/zh_mo.orth:
2530 * fc-lang/zh_sg.orth:
2531 * fc-lang/zh_tw.orth:
2533 * fc-list/Makefile.am:
2534 * fc-list/fc-list.c:
2535 * fc-match/Makefile.am:
2536 * fc-match/fc-match.1:
2537 * fc-match/fc-match.c:
2538 * fontconfig/fcfreetype.h:
2539 * fontconfig/fcprivate.h:
2540 * fontconfig/fontconfig.h:
2561 Change files from ISO-Latin-1 to UTF-8
2563 2004-12-04 Keith Packard <keithp@keithp.com>
2566 Update links to new freedesktop.org locations
2568 Add uninstall-local to get rid of fonts.conf and local.conf if they
2569 match the distributed versions. Fixes 'make distcheck'
2571 2004-12-04 Keith Packard <keithp@keithp.com>
2575 * fontconfig/fontconfig.h:
2576 Updates for version 2.2.97
2578 2004-12-04 Owen Taylor <otaylor@redhat.com>
2580 reviewed by: Keith Packard <keithp@keithp.com>
2582 * fc-cache/fc-cache.c: (main):
2583 Sleep for two seconds before exiting to make sure timestamps
2584 for future changes have distinct mod times in the file system.
2587 Add Punjabi orthography. Bug #1671.
2589 2004-12-04 Keith Packard <keithp@keithp.com>
2592 Just remove the FC_FONTDATE -- it has locale issues and
2593 annoys redhat multi-arch installs. Now that all X fonts are
2594 included without prejudice, the chances of the date being at
2595 all interesting are rather limited. Bug #505.
2597 Add copyright and license
2599 2004-12-04 Keith Packard <keithp@keithp.com>
2602 Change default set of fonts to include all of
2603 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2604 * doc/fontconfig-user.sgml:
2605 Document new <include>directory-name</include> semantics
2607 add <include ignore_missing="yes">conf.d</include>
2609 Add selectfont to ignore bitmap fonts, add comment for
2610 selectfont which accepts bitmap fonts.
2613 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2614 Allow <include> configuration elements to reference directories.
2615 Parse and load all files of the form [0-9]* in sorted order.
2617 2004-12-04 Keith Packard <keithp@keithp.com>
2620 Report command line for $srcdir/configure accurately.
2623 2004-12-04 Keith Packard <keithp@keithp.com>
2625 * src/fcfreetype.c: (FcFreeTypeQuery):
2626 Check for non-empty face->family_name and face->style_name
2627 before using those for the font. Empty names match everything.
2630 2004-12-04 Keith Packard <keithp@keithp.com>
2633 * fontconfig/fontconfig.h:
2634 * src/fcfreetype.c: (FcFreeTypeQuery):
2636 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2637 available. This provides font file format information (BDF, Type 1,
2638 PCF, TrueType) for each font. Closes #109.
2640 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2642 reviewed by: Keith Packard <keithp@keithp.com>
2644 * doc/fontconfig-user.sgml:
2647 * fontconfig/fontconfig.h:
2648 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2649 (GetScriptTags), (FcFontCapabilities):
2651 Add detection for font capabilities (bug #105)
2653 2004-12-04 Keith Packard <keithp@keithp.com>
2656 Move existing fonts.conf to fonts.conf.bak
2659 Add detection of iconv
2661 * doc/fcpattern.fncs:
2662 * doc/fontconfig-devel.sgml:
2663 * doc/fontconfig-user.sgml:
2665 Document new selectfont elements
2668 Switch to UTF-8 in comment
2670 * fontconfig/fontconfig.h:
2672 Add fullname, and family/style/fullname language entries
2674 * src/fccache.c: (FcCacheFontSetAdd):
2675 * src/fcdir.c: (FcFileScanConfig):
2676 Respect selectfont/*/glob
2679 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2680 (FcConfigCompareValue), (FcConfigPatternsAdd),
2681 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2682 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2683 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2684 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2685 Add support for selectfont
2687 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2688 (FcStringInPatternElement), (FcFreeTypeQuery):
2689 Add multi-lingual family/style/fullname support
2691 * src/fclist.c: (FcListPatternMatchAny):
2692 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2694 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2695 (FcObjectStaticName):
2696 Add new FcPatternRemove/FcPatternAppend.
2697 FcObjectStaticName stores computed pattern element names which
2698 are required to be static.
2700 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2705 Remove spurious / after $(DESTDIR)
2707 2004-06-30 Keith Packard <keithp@keithp.com>
2711 * fontconfig/fontconfig.h:
2714 2004-06-30 Keith Packard <keithp@keithp.com>
2716 Provided by: Lubos Lunak <l.lunak@suse.cz>
2718 * src/fccfg.c: (FcConfigUptoDate):
2719 However FcConfigUptoDate() doesn't seem to work. See the attached
2720 patch. First there's an obvious misplaced parenthesis making it
2721 return always false, and second, even this call fails to detect font
2722 changes (e.g. adding a new font to
2723 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2724 well. The problem seems to be triggered by my fonts.conf specifying
2725 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2726 doesn't include subdirs, unlike config->fontDirs.
2728 2004-06-03 Keith Packard <keithp@keithp.com>
2730 * fontconfig/fontconfig.h:
2731 Remove comma at end of FcResult enum definition.
2733 2004-05-29 Keith Packard <keithp@keithp.com>
2736 Add steps to md5sum release
2738 2004-05-29 Keith Packard <keithp@keithp.com>
2742 * fontconfig/fontconfig.h:
2745 2004-05-29 Keith Packard <keithp@keithp.com>
2747 * fontconfig/fontconfig.h:
2748 * src/fcmatch.c: (FcFontSetMatch):
2749 Add FcResultOutOfMemory to provide an accurate error when
2750 FcFontSetMatch fails in this way
2753 Make #warning about lacking various FreeType features indicate
2754 which version those features appeared so users know how to
2755 fix the problem (Thanks to Anton Tropashko)
2757 2004-05-05 Keith Packard <keithp@keithp.com>
2759 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2760 Replace MIN/MAX/ABS macros which happen to have come
2761 from FreeType with fontconfig-specific ones (FC_*)
2763 2004-04-23 Keith Packard <keithp@keithp.com>
2766 Extend release preparation instructions to include
2767 notification and distribution steps
2769 2004-04-23 Keith Packard <keithp@keithp.com>
2773 * fontconfig/fontconfig.h:
2774 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2776 2004-04-23 Keith Packard <keithp@keithp.com>
2779 Ignore a few more autotool files
2781 2004-04-14 Keith Packard <keithp@keithp.com>
2784 Add instructions for doing a release
2786 * fontconfig.spec.in:
2787 clean up .spec file; perhaps this will be useful to somebody...
2791 * fontconfig/fontconfig.h:
2794 * fc-lang/fc-lang.c:
2795 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2797 * fc-glyphname/Makefile.am:
2798 * fc-lang/Makefile.am:
2799 * fc-list/Makefile.am:
2800 * fc-match/Makefile.am:
2802 Add WARN_CFLAGS to pass -W flags for GCC systems
2804 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2805 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2806 Change various char types around to match across
2808 Fixed bug in using available_sizes[i].height which
2809 is in pixels, not 64ths of a pixel.
2811 2004-03-06 Keith Packard <keithp@keithp.com>
2813 * src/fcfreetype.c: (FcFreeTypeQuery):
2814 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2815 matches looking for explicit values prefer exact matches
2817 2004-03-02 Keith Packard <keithp@keithp.com>
2819 Supplied by: mfabian@suse.de (Mike FABIAN)
2821 * src/fcfreetype.c: (FcFreeTypeQuery):
2822 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2823 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2825 2004-02-21 Manish Singh <yosh@gimp.org>
2827 * fc-glyphname/fc-glyphname.c: (main):
2828 Cast strlen to int for printf, so we're 64-bit clean.
2830 2004-02-11 Keith Packard <keithp@keithp.com>
2833 * src/fcfreetype.c: (FcGetPixelSize):
2834 Ok, so I messed up the test for y_ppem. Let's see if I
2835 got it right this time.
2837 2004-02-10 Keith Packard <keithp@keithp.com>
2840 * src/fcfreetype.c: (FcGetPixelSize):
2841 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2842 FT_Bitmap_Size record. Add a configure.in test for this
2843 and change the code accordingly (using height instead).
2845 2004-02-06 Keith Packard <keithp@keithp.com>
2848 Add Low Saxon orthography
2849 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2851 * src/fccfg.c: (FcConfigNewestFile):
2852 Oops. Left 'newest.set' unset, which would miscompute
2855 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2856 (FcFreeTypeCheckGlyph):
2857 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2858 font properties (which report the wrong value in current FreeType)
2860 Don't attempt to check for empty glyphs in non-scalable fonts; they
2863 2004-02-01 Tor Lillqvist <tml@iki.fi>
2865 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2866 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2867 cache if config->cache is NULL, which happens if FcConfigHome() is
2868 NULL. Guard against that by using the temp folder in that case.
2870 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2872 * fc-lang/az_ir.orth:
2873 * fc-lang/ku_ir.orth:
2874 * fc-lang/ps_af.orth:
2875 * fc-lang/ps_pk.orth:
2876 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2877 (Afghan and Pakistani).
2879 Updated Urdu orthography with real data.
2881 2003-12-11 Carl Worth <cworth@east.isi.edu>
2883 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2886 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2888 (all-local): Remove excessive whitespace.
2890 * autogen.sh: Add 'set -e' to abort when any program fails,
2891 (avoids printing of 'now type make' after configure aborts).
2893 2003-11-17 Eric Christopherson <rakko@charter.net>
2895 reviewed by: Keith Packard <keithp@keithp.com>
2898 * fontconfig/fcfreetype.h:
2900 Switch to FreeType 2.1.7 style includes. Bug #150.
2902 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2904 * fc-list/fc-list.sgml: Add some example usages.
2906 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2909 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2912 2003-10-27 Keith Packard <keith@keithp.com>
2915 * fontconfig/fontconfig.h:
2916 Update to version 2.2.92
2918 2003-10-27 Keith Packard <keithp@keithp.com>
2923 * fc-cache/Makefile.am:
2924 * fc-glyphname/Makefile.am:
2925 * fc-lang/Makefile.am:
2926 * fc-list/Makefile.am:
2927 * fc-match/Makefile.am:
2930 Yet more cleanups to finish getting 'make distcheck' working
2931 This has been tested to ensure that it even works from a _build
2934 2003-10-26 Keith Packard <keithp@keithp.com>
2938 * fc-cache/Makefile.am:
2939 * fc-glyphname/Makefile.am:
2940 * fc-lang/Makefile.am:
2941 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2942 * fc-list/Makefile.am:
2943 * fc-match/Makefile.am:
2944 Attempts to fix 'make distcheck' work. Things are
2945 progressing pretty well, but there are still failures
2946 long into the process dealing with docs (as always).
2948 The big changes here are mostly to make $(srcdir) != "."
2949 work correctly, fixing the docbook related sections and
2950 fc-lang were particularily tricky. Docbook refuses to load
2951 system entities from anywhere other than where the original .sgml
2952 file was located, so no luck looking in "." for the
2953 configure-generated version.sgml and confdir.sgml files.
2955 fc-lang needed help finding .orth files; added a -d option
2956 to set the directory as the least evil of many options.
2958 Now to go use a faster machine and try and wring out the last
2961 2003-10-26 Keith Packard <keithp@keithp.com>
2965 2003-10-26 Keith Packard <keithp@keithp.com>
2968 Include confdir.sgml.in in EXTRA_DIST
2970 2003-10-09 Josselin Mouette <joss@debian.org>
2972 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2973 * fc-list/fc-list.sgml fc-list/Makefile.am:
2974 Replace fc-cache and fc-list manpages with more detailed, SGML
2977 2003-09-23 Owen Taylor <otaylor@redhat.com>
2979 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2980 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2981 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2984 2003-09-23 Owen Taylor <otaylor@redhat.com>
2986 * fc-lang/ka.orth: Remove Georgian capitals, they
2987 aren't used for normal writing. (Bug #116)
2989 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2991 * doc/fontconfig-devel.sgml:
2992 * doc/fontconfig-user.sgml:
2993 * fontconfig/fontconfig.h:
2995 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2996 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2998 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2999 monospace and dual-width fonts, allow roughly a 3% variance in the
3002 2003-08-31 Manish Singh <yosh@gimp.org>
3004 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3007 2003-08-15 Carl Worth <cworth@isi.edu>
3009 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3010 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3012 * src/fcpat.c (FcValueListEntDestroy): New function to support
3013 FcFini memory cleanup. Some statistics are not kept in
3015 (FcValueListFreeze): Move hashTable outside this function so it
3016 can be accessed by FcValueListThawAll.
3017 (FcValueListThawAll): New function complements FcValueListFreeze.
3018 (FcPatternBaseFreeze): Move hashTable outside this function so it
3019 can be accessed by FcPatternBaseThawAll.
3020 (FcPatternBaseThawAll): New function complements
3021 FcPatternBaseFreeze.
3022 (FcPatternThawAll): New function complements FcPatternFreeze.
3024 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3026 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3027 allocated FcCharLeafEnt "blocks" so they can be freed later.
3028 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3029 can be accessed by FcCharSetThawAllLeaf.
3030 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3031 (FcCharSetFreezeBase): Move hashTable outside this function so it
3032 can be accessed by FcCharSetThawAll.
3033 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3035 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3036 (FcConfigDestroy): Fic leak of FcBlanks.
3038 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3039 (main): Add call to FcFini when finished.
3041 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3042 static. Add prototypes.
3044 * doc/fcinit.fncs: Add documentation for FcFini function.
3046 * doc/edit-sgml.c: Mark several local functions as static. Add
3049 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3051 2003-06-15 Tor Lillqvist <tml@iki.fi>
3053 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3054 before comparing (needed on Windows).
3056 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3058 2003-06-13 Tor Lillqvist <tml@iki.fi>
3060 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3063 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3064 WINDOWSFONTDIR token.
3066 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3067 end, not to confuse libtool, which expects the EXPORTS line to be
3068 the first. Add FcConfigEnableHome.
3070 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3071 built as a DLL on Win32.
3073 2003-06-09 Keith Packard <keithp@keithp.com>
3075 * Tag version 2.2.90
3077 2003-06-09 Keith Packard <keithp@keithp.com>
3079 * Optimization in FcLangSetIndex was broken, occasionally
3080 returning a pointer to the wrong location on miss
3082 * Add fc-match to test font matching from the command line.
3084 2003-05-31 Keith Packard <keithp@keithp.com>
3086 * (Bug 85) add support for culmus fonts
3087 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3088 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3090 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3092 * Fix "contains" op for strings and langsets.
3094 2003-05-17 Keith Packard <keithp@keithp.com>
3096 * Fix build error with BDF prop local. Free langset after query
3098 2003-05-14 Keith Packard <keithp@keithp.com>
3100 * Extract spacing from XLFD atom
3102 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3104 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3105 disappeared in 1.30.
3107 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3109 2003-05-12 Keith Packard <keithp@keithp.com>
3111 * Use FcIsWidth to share code
3113 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3114 misclassifying some Han fonts as monospaced.
3116 2003-05-07 Keith Packard <keithp@keithp.com>
3118 * Add filename-based accept/reject to ammend available fonts.
3120 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3121 older FreeType releases.
3123 2003-05-06 Keith Packard <keithp@keithp.com>
3125 * Remove 0b82 and Tamil numbers from tamil
3126 orthography (Jungshik Shin <jshin@mailaps.org>)
3128 2003-05-04 Keith Packard <keithp@keithp.com>
3130 + Map glyph names in fonts with adobe custom encoding to unicode
3132 2003-05-02 Keith Packard <keithp@keithp.com>
3134 * Add FC_WEIGHT_BOOK as weight 75
3136 2003-04-30 Keith Packard <keithp@keithp.com>
3138 * Typo in bitstream foundry name
3140 2003-04-24 Keith Packard <keithp@keithp.com>
3142 * Eliminate italic_angle check for PS fonts
3144 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3146 * Getting closer to fixing /etc/fonts hard-coding.
3148 2003-04-22 Keith Packard <keithp@keithp.com>
3150 * Update autogen.sh to work with newer automake versions
3151 * Handle pattern elements moving during multiple edits
3153 2003-04-23 James Henstridge <james@daa.com.au>
3155 * doc/fontconfig-devel.sgml: close the <para> element.
3157 * doc/fcpattern.fncs: close the <para> element.
3159 * doc/func.sgml: close the <refsynopsisdiv> element.
3161 2003-04-22 Keith Packard <keithp@keithp.com
3163 * Update autogen.sh to work with newer automake versions
3164 * Handle pattern elements moving during multiple edits
3166 2003-04-17 Colin Walters <walters@debian.org>
3168 + Remove some unused variables, and initialize some other ones so
3169 gcc doesn't warn us.
3171 2003-04-16 Keith Packard <keithp@keithp.com>
3173 + tag version 2.1.94
3175 2003-04-16 Keith Packard <keithp@keithp.com>
3177 + add BDF property fetching support for foundry
3178 (from Juliusz Chroboczek)
3179 + add BDF property fetching support for width
3181 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3183 + Implemented foundry generation for Type 1 and TrueType
3185 2003-04-11 Gerard Escalante <g2@magestudios.net>
3187 + Retrieve information from Type1 FontInfo dictionaries
3189 2003-04-07 Colin Walters <walters@verbum.org>
3191 + src/Makefile.am: Fix dummy makefile target names when
3192 MS_LIB_AVAILABLE isn't set.
3194 2003-03-22 Tor Lillqvist <tml@iki.fi>
3196 Changes for Windows:
3198 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3200 + We don't want to hardcode the fonts.conf file location in the
3201 DLL, so we look up the DLL location at run-time in a DllMain()
3202 function. The fonts.conf location is deduced from that.
3204 + The colon can't be used as path separator on Windows,
3205 semicolon is used instead. File path components can be separated
3206 with either slash or backslash. Absolute paths can also begin
3207 with a drive letter.
3209 + Add internal function FcStrLastSlash that strrchr's the last
3210 slash, or backslash on Windows.
3212 + There is no link() on Windows. For atomicity checks, mkdir a
3213 lock directory instead.
3215 + In addition to HOME, also look for USERPROFILE.
3217 + Recognize the special font directory token WINDOWSFONTDIR, to
3218 use the system's font directory.
3220 + Remove the fontconfig-def.cpp that was obsolete. Add
3221 fontconfig.def(.in), without internal functions.
3223 + Add a fontconfig-zip(.in) script, used to build a binary
3226 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3227 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3228 to main package and man3/* to devel package
3230 + Added missing defattr(-, root, root) to main RPM package
3232 + Added HTML and text development documentation to -devel subpackage
3234 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3235 + Added back the configure macro options --disable-docs, otherwise
3236 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3237 version number) unconditionally, causing RPM to fail the build due
3238 to _unpackaged_files_terminate_build. We pick up the pregenerated
3239 docs with %doc already.
3241 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3242 + Removed commented out rpm macro define at top of spec file,
3243 replacing it with a simple explanation, since rpm macros are
3244 expanded by rpm even in comments.
3246 + Changed /usr/bin to _bindir in BuildRequires lines
3248 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3250 + Reorganized file manifest lists
3252 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3254 + fontconfig.spec.in: Improvements from Red Hat spec file.
3256 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3258 + docs/*.sgml: SGML fixes.
3260 Sat Mar 1 17:28:53 PST 2003 keithp
3261 + Ok, so the ChangeLog is a bit out of date
3263 + Lots of bugs fixed; most are in bugzilla, the
3264 biggest problems were in cache management where
3265 Owen discovered the library would lose badly when
3266 combining fonts-cache and ~/.fonts-cache data
3268 + Converted from autoconf to automake. This after
3269 getting patches accepted into libtool to allow
3270 the '-version-number' argument which lets
3271 packages set version numbers explicitly rather
3272 than the roundabout libtool way
3274 + Converted documentation to SGML using the docbook
3275 DTD. Now .txt and .html documents are installed
3276 in /usr/share/doc/fontconfig and there's no
3277 man page. Perhaps a man version can be written
3280 Sat Aug 31 15:21:22 PDT 2002 keithp
3281 + Xrender and Xft had several bugs related to
3282 rendering manually placed or poly-face text
3284 + Added more complete memory tracing in fontconfig
3285 Checked with (patched) mozilla and found no leaks
3287 + Updated Latin orthographies by comparing those from
3288 evertype.com with those from eki.ee. Tried to make
3289 sensible choices, including chars that occured in both
3290 and leaving some optional chars out that occured only
3293 Mon Aug 26 16:33:04 PDT 2002 keithp
3294 + Owen discovered that FcLangSetHasLang wasn't actually
3295 checking the language set.
3297 Mon Aug 26 13:37:23 PDT 2002 keithp
3298 + Append a version number to cache filenames
3300 Thu Aug 22 11:36:18 PDT 2002 keithp
3302 + Add "contains" and "not_contains" operators and elements to
3305 + Changed semantics of eq operator for LangSets to check for
3306 FcLangEqual so that any match will do
3308 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3309 of FcValueEqual to check for identical values when inserting into
3310 the results. This broke when the above semantic change was made,
3311 now it uses FcValueEqual which is "more correct" in any case.
3313 Thu Aug 22 00:32:29 PDT 2002 keithp
3315 + Reimplement FC_LANG as new datatype. Lists of strings
3316 was consuming over a megabyte of memory for 401 fonts.
3318 + Freeze patterns loaded from cache files. This shares
3319 common value lists and common patterns which saves
3320 considerable memory.
3322 + Change the denotation of 'constant' charsets to use special
3323 ref value instead of separate boolean.
3325 + Clean up leak tracing stuff, found several unannoted alloc/free
3328 Tue Aug 20 16:17:37 PDT 2002 keithp
3330 + Fix memory leak when parsing matrices from XML
3332 Mon Aug 19 11:57:27 PDT 2002 keithp
3334 + Fix autoconf files to pass FONTCONFIG_PATH on
3335 compile line so that ${prefix} gets substituted
3338 + Use getc_unlocked/putc_unlocked on systems that
3339 provide them to avoid damage done to stdio by posix
3341 + Eliminate FC_PATTERN and FcTypePattern in favor of
3342 an extended api for FcConfigSubstitute which takes
3343 both the font and the pattern.
3345 + Add 'sans serif' alias for 'sans-serif' as some apps
3346 can't handle hyphens in family names
3348 + Eliminate pretense of support for libxml2
3350 + Comment origins of Han orthographies
3352 Tue Jul 30 18:37:09 PDT 2002 keithp
3354 + Add binding property to edit element so that strong
3355 binding values may be inserted by the config file.
3356 The default remains weak.
3358 Sun 28 Jul 04:16:55 PDT 2002 keithp
3360 + Tagged release candidate 1 in the CVS tree and
3361 placed fcpackage.rc1.tar.gz for distribution
3363 Thu Aug 1 08:55:08 PDT 2002 keithp
3365 + Fixed autoconf builds to always specify install
3366 target files (for BSD). Also fixed to
3367 define FONTCONFIG_PATH in config.h so that
3368 nonstandard installs will actually work.