1 2006-04-24 Patrick Lam <plam@mit.edu>
5 * fontconfig/fontconfig.h:
7 Bump version to 2.3.95.
9 2006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
14 Include $(top_srcdir), $(top_srcdir)/src before anything else.
16 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
17 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
18 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
19 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
20 * src/fcstr.c, src/fcxml.c:
22 Shuffle order of includes for building out of srcdir on win32.
24 2006-04-20 Patrick Lam <plam@mit.edu>
25 * src/fcmatch.c (FcSortWalk):
27 Prevent terrible perf regression by getting the if-condition
28 right (reported by Wouter Bolsterlee).
30 2006-04-19 Patrick Lam <plam@mit.edu>
31 Dominic Lachowicz <cinamod@hotmail.com>
33 * src/fccache.c (FcDirCacheConsume):
35 Implement mmap-like code for Windows using MapViewOfFile.
37 2006-04-19 Patrick Lam <plam@mit.edu>
38 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
40 Bail gracefully if the cache file does not contain enough data.
42 2006-04-14 Patrick Lam <plam@mit.edu>
45 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
47 2006-04-14 Patrick Lam <plam@mit.edu>
48 * src/fcname.c (FcObjectToPtrLookup):
50 Fix Gecko-exposed segfault from my last hack to
51 FcObjectToPtrLookup. Simplify code and get things straight.
53 2006-04-14 Patrick Lam <plam@mit.edu>
56 Actually, just add URW fonts as aliases for all of the PostScript
57 fonts. (reported by Miguel Rodriguez).
59 2006-04-13 Patrick Lam <plam@mit.edu>
62 Add an alias 'Standard Symbols L' for 'Symbol'.
64 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
67 * src/fcpat.c: (FcPatternFreeze):
68 Fix memory leak (Coverity defect #2089).
70 * src/fcfreetype.c: (GetScriptTags):
71 Ignore script if subtable is missing (Coverity defect #2088).
73 2006-04-12 Patrick Lam <plam@mit.edu>
74 * src/fccfg.c (FcConfigSubstituteWithPat):
76 Fix possible null pointer dereference (Coverity defect #784)
77 and memory leak (Coverity defects #785, #786).
79 2006-04-12 Patrick Lam <plam@mit.edu>
80 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
82 Don't copy FcCharSet if we're going to throw it away anyway.
83 (Reported by Kenichi Handa).
85 2006-04-11 Ming Zhao <ming@gentoo.org>
88 * src/fcname.c (FcObjectToPtrLookup):
90 Fix bad behaviour on realloc resulting in crash.
92 2006-04-11 Patrick Lam <plam@mit.edu>
93 * src/fccache.c (FcGlobalCacheReadDir):
95 Don't crash if config is null (Coverity defect #984).
97 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
100 * src/fccharset.c (FcCharSetPutLeaf):
101 * src/fclang.c (FcNameUnparseLangSet):
103 Missing bits from previous patches.
105 * src/fccharset.c (FcCharSetSubtractCount):
106 Remove extra semi-colon.
108 * src/fccfg.c (FcConfigBuildFonts):
109 Fix memory leak in error case (Coverity defects #776, #985).
111 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
112 Fix memory leaks (Coverity defects #779, #781)
113 and memory use after free (Coverity defect #780).
115 2006-04-11 Patrick Lam <plam@mit.edu>
116 * src/fccharset.c (FcCharSetPutLeaf):
118 Properly convert static charsets to dynamic charsets.
120 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
123 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
125 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
127 * src/fclang.c: (FcNameUnparseLangSet):
128 Fix memory leak (Coverity defect #1819).
130 * fc-lang/fc-lang.c: (scan):
131 prevent crash when invalid include line is parsed (Coverity defect
134 * fc-cat/fc-cat.c: (FcCacheFileRead):
135 Fix potential null pointer access (Coverity defect #1804).
137 * src/fcname.c: (FcObjectUnserialize):
138 Remove dead code (Coverity defect #1194).
140 * src/fcfreetype.c: (GetScriptTags):
141 Prevent potential null pointer access (Coverity defect #767),
142 ensure error value is read (Coverity defect #1195).
144 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
149 Survive missing docbook2pdf.
151 2006-04-10 Patrick Lam <plam@mit.edu>
153 * fc-glyphname/fc-glyphname.c:
156 Include more stub definitions to make HP-UX's C compiler happy.
158 2006-04-10 Patrick Lam <plam@mit.edu>
159 * src/fcname.c (FcObjectUnserialize):
161 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
163 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
166 * src/fccfg.c: (FcConfigEvaluate):
167 Fix string memory leak (Coverity defect #1823).
169 * src/fccache.c: (FcDirCacheUnlink):
170 Fix memory leak with hash collision (Coverity defect #1824).
172 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
175 * src/fccache.c: (FcGlobalCacheSave):
176 Don't leak header in non-error case (Coverity defect #1825).
178 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
181 * src/fcdir.c (FcDirScanConfig)
182 Don't leak in error cases (Coverity defects #777, #1826)
184 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
187 * src/fccache.c: (FcDirCacheWrite):
188 Fix double free (spotted by Coverity, CID #1965).
190 * fc-match/fc-match.c: (main):
191 Check if pattern is not null before using it (Coverity defect #1883).
193 * src/fccache.c: (FcDirCacheWrite):
194 Fix memory leak with hash collision (Coverity defect #1829).
196 * src/fccfg.c: (FcConfigBuildFonts):
197 Fix memory leak when bail cases (Coverity defect #1828).
199 * src/fccache.c: (FcGlobalCacheLoad):
200 Don't leak directory name (Coverity defect #1827).
202 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
204 * fc-cache/Makefile.am:
205 * fc-cat/Makefile.am:
206 * fc-list/Makefile.am:
207 * fc-match/Makefile.am:
209 LD_ADD missing dependencies for binaries. Reported by
212 2006-04-07 Patrick Lam <plam@mit.edu>
214 * fc-lang/fc-lang.c (main):
216 SGI compilation fixes (reported by Christoph Bauer):
217 1) reorder union definition of _FcChar;
220 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
223 * src/fccharset.c (FcCharSetNeededBytes):
224 * src/fcfs.c (FcFontSetNeededBytes):
226 * src/fclang.c (FcLangSetNeededBytesAlign):
227 * src/fcname.c (FcObjectNeededBytesAlign):
228 * src/fcpat.c (FcPatternNeededBytesAlign,
229 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
231 Portability fixes for HP-UX (reported by Christoph Bauer).
232 Replace '__inline__' by AC_C_INLINE and 'inline'.
233 Replace '__alignof__' by 'fc_alignof'.
235 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
239 Move up #include of config.h.
240 Fail if neither inttypes.h nor stdint.h is available.
243 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
244 Patrick Lam <plam@mit.edu>
246 * fc-cache/fc-cache.c:
248 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
249 FcDirCacheConsume, FcDirCacheProduce,
250 FcDirCacheWrite, FcCacheMachineSignature):
251 * src/fcfreetype.c (FcFreeTypeQuery):
252 * src/fontconfig.def.in:
254 Make fontconfig compile under MinGW:
255 1) remove unneeded #includes;
256 2) make use of mmap and sysconf conditional;
257 3) replace rand_r by srand/rand if needed;
258 4) use chsize instead of ftruncate; and
259 5) update libtool exports file
261 2006-04-07 Patrick Lam <plam@mit.edu>
262 * src/fcdir.c (FcDirScanConfig):
266 2006-04-06 Patrick Lam <plam@mit.edu>
267 * fc-match/.cvsignore:
268 * fc-match/Makefile.am:
269 * fc-match/fc-match.sgml:
271 Update documentation for fc-match (SGML-ize it).
272 (reported by Ilya Konstantinov)
274 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
280 Reduce amount of dirty rss by const'ing some data structures.
282 2006-04-06 Patrick Lam <plam@mit.edu>
283 * fc-cache/Makefile.am:
285 Don't fail if we can't create or remove
286 $(pkgcachedir) i.e. /var/cache/fontconfig.
287 (reported by Quanah Gibson-Mount).
289 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
292 * fc-glyphname/fc-glyphname.c:
293 * fc-lang/fc-lang.c (main):
294 * fc-match/fc-match.c:
295 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
297 * src/fcfreetype.c (FcFreeTypeQuery):
298 * src/fclang.c (FcFreeTypeLangSet):
301 Fix intel compiler warnings: make many variables static,
302 eliminate duplicate names, reduce variable scopes, unsigned/signed
305 2006-03-24 Mike Fabian <mfabian@suse.de>
307 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
309 Fix multiarch support (don't destroy multiarch files!)
311 2006-03-24 Patrick Lam <plam@mit.edu>
314 Require pkg-config. (Thanks Behdad;
315 better solution wanted for libxml2 detection!)
317 2006-03-22 Patrick Lam <plam@mit.edu>
320 On Windows, unlink before rename. Reported by Tim Evans.
322 2006-03-15 Patrick Lam <plam@mit.edu>
326 Fix typos in orth files. Reported by Denis Jacquerye.
328 2006-03-08 Patrick Lam <plam@mit.edu>
330 * config/config.guess:
333 Fix Makefile.am for removal of debian/ directory.
335 2006-03-08 Patrick Lam <plam@mit.edu>
338 Ignore debian/ directory for CVS.
340 2006-03-08 Patrick Lam <plam@mit.edu>
343 Now remove debian/ directory.
345 2006-03-08 Patrick Lam <plam@mit.edu>
348 Remove debian/ directory from sources. See Debian's subversion
349 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
352 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
356 * fc-lang/iso639-1, fc-lang/iso639-2:
358 Add orthography for Lingala.
360 2006-03-08 Carl Worth <cworth@cworth.org>
363 * conf.d/Makefile.am:
364 * conf.d/10LohitGujarati.conf:
366 Add a configuration file that disables hinting for the Lohit
367 Gujarati font (since the hinting distort some glyphs quite badly).
369 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
372 * src/fcdir.c (FcDirScanConfig):
374 Sort directory entries while scanning them from disk;
375 prevents Heisenbugs due to file ordering in a directory.
377 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
380 * src/fcfreetype.c (GetScriptTags):
381 * src/ftglue.c, src/ftglue.h:
383 Remove stuff we don't use, make get_{char,short,long} functions
384 of ftglue macros to be inlined.
387 * src/fcname.c (FcObjectSerialize):
389 Code cleanups (excess prototype, old-style function definition).
391 2006-03-05 Patrick Lam <plam@mit.edu>
392 * src/fcpat.c (FcPatternGetString):
394 Because we hacked FcPatternGet, we don't really need to expand the
395 filename again in FcPatternGetString.
397 2006-03-05 Patrick Lam <plam@mit.edu>
398 * src/fcpat.c (FcPatternGetString, FcPatternGet):
400 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
401 Make that work. Reported by Bernhard Rosenkraenzer.
403 2006-03-03 Patrick Lam <plam@mit.edu>
406 Include inttypes.h instead of stdint.h if appropriate.
408 2006-03-03 Patrick Lam <plam@mit.edu>
409 * fc-cat/fc-cat.c (FcFileIsDir):
410 * fc-glyphname/fc-flyphname.c:
412 More stub definitions and remove FcFileIsDir from fc-cat.
414 2006-03-03 Patrick Lam <plam@mit.edu>
417 Fix compilation on AIX with stub definitions (bug 6097).
419 2006-03-03 Patrick Lam <plam@mit.edu>
420 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
421 * src/fcfreetype.c (GetScriptTags):
422 * src/fcfs.c (FcFontSetDistributeBytes):
423 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
425 Get rid of C++-style comments.
427 2006-03-03 Patrick Lam <plam@mit.edu>
430 Enable creation of 2.3.94 Debian packages.
432 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
435 * src/fclang.c (FcCharSetForLang):
437 Fix suspicious return expression which causes junk
440 2006-02-24 Patrick Lam <plam@mit.edu>
444 * fontconfig/fontconfig.h:
446 Bump version to 2.3.94.
448 2006-02-24 Patrick Lam <plam@mit.edu>
453 2006-02-24 Patrick Lam <plam@mit.edu>
454 * conf.d/10-fonts-persian.conf:
456 Remove unconditional emboldening (per Behdad's instructions).
460 Add @s to hide some echos.
462 2006-02-24 Mike Fabian <mfabian@suse.de>
463 Takashi Iwai <tiwai@suse.de>
466 * src/fcfreetype.c (GetScriptTags):
468 Fix double-free on error case.
470 2006-02-21 Patrick Lam <plam@mit.edu>
471 * fc-lang/fc-lang.c (scan):
473 Strip \r and whitespace from input; fixes bug 3454.
475 2006-02-21 Patrick Lam <plam@mit.edu>
476 * fc-lang/fc-lang.c (main):
478 Allocate large arrays statically in fc-lang to fix crashes under
481 2006-02-21 Diego Petten <flameeyes@gentoo.org>
482 * src/fcfreetype.c (FcFreeTypeCharIndex):
484 Pass the buck; make fontconfig not crash on pango badness.
486 2006-02-21 Patrick Lam <plam@mit.edu>
487 * conf.d/10-fonts-persian.conf:
489 Use embeddedbitmap rather than rh_prefer_bitmap.
491 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
494 * src/fccache.c (FcDirCacheWrite):
495 * src/fcdir.c (FcFileScanConfig):
496 * src/fcfreetype.c (FcStringInPatternElement):
497 * src/fcxml.c (FcParseFamilies):
498 * src/ftglue.c (ftglue_face_goto_table):
500 Eliminate redundancies.
502 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
505 * fc-list/fc-list.c (main):
506 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
507 * src/fcstr.c (FcStrStr):
508 * src/fcxml.c (FcConfigSaveAttr):
510 Eliminate unused vars reported by Intel's compiler.
512 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
517 Remove one more archaic character.
519 2006-02-21 Ross Burton <ross@burtonini.com>
520 reviewed by: plam, keithp
522 * src/fcxml.c (FcParsePatelt):
524 Freeze patterns created by configuration file for tiny
525 memory savings (every little bit helps).
527 2006-02-21 Mike Fabian <mfabian@suse.de>
530 * fc-cat/fc-cat.c (main):
532 Initialize fontconfig library in fc-cat to avoid segfault.
534 2006-02-18 Patrick Lam <plam@mit.edu>
535 * fc-cache/fc-cache.c (scanDirs):
536 * src/fccache.c (FcCacheReadDirs):
537 * src/fcdir.c (FcDirScanConfig):
539 Fix the underlying cause of the below segfault (must usually
540 call FcDirCacheHasCurrentArch after FcDirCacheValid).
542 2006-02-18 Patrick Lam <plam@mit.edu>
543 * src/fccache.c (FcDirCacheHasCurrentArch):
545 Fix triggering of segfault caused by misreading cache files
546 (reported by fcrozat).
548 2006-02-17 Patrick Lam <plam@mit.edu>
549 * src/fcint.h (FC_CACHE_MAGIC):
551 Bump up magic version; we changed the binary format.
553 2006-02-17 Patrick Lam <plam@mit.edu>
554 * fc-cat/fc-cat.c (main):
556 Enable fc-cat to print out old-style cache info when given a
559 2006-02-16 Patrick Lam <plam@mit.edu>
560 * src/fccache.c (FcDirCacheHasCurrentArch):
562 Deal correctly with changing FC_CACHE_MAGIC.
564 2006-02-16 Patrick Lam <plam@mit.edu>
565 * fc-cache/fc-cache.c (usage, scanDirs, main):
567 Add -r --really-force option which blows away cache files and then
570 2006-02-16 Patrick Lam <plam@mit.edu>
571 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
573 Don't bail if fontconfig can't remove a dir cache file.
574 Skip the ID of a cache file when copying.
575 Eliminate 'source file too small' bug in FcDirCacheWrite.
577 2006-02-13 Patrick Lam <plam@mit.edu>
578 * src/fcfreetype.c (FcFreeTypeQuery):
580 Fix memory leak in error condition code.
582 2006-02-13 Mike Fabian <mfabian@suse.de>
584 * src/fcfreetype.c (FcFreeTypeQuery):
586 Skip bitmap fonts which can't even get it together enough to
587 declare a family name; this appears to reproduce previous
588 fontconfig behaviour.
590 2006-02-10 Takashi Iwai <tiwai@suse.de>
592 * src/fccache.c (FcDirCacheOpen):
594 Try to open /var/cache/fontconfig/[hashed name] before
595 fonts.cache-2 in a directory, because /var/cache/fontconfig
596 failures ought to be fixable, unlike fonts.cache-2 failures,
597 which may leave you screwed.
599 2006-02-10 Takashi Iwai <tiwai@suse.de>
601 * src/fcmatch.c (FcFontSetMatch):
603 Use a tri-state to mark the fonts which didn't get blocked but
604 were just missing an element, to distinguish them from the
605 fonts that do match the element.
607 2006-02-10 Takashi Iwai <tiwai@suse.de>
609 * src/fcmatch.c (FcFontSetMatch):
611 Don't kill fonts because they don't declare an element that's
614 2006-02-09 Patrick Lam <plam@mit.edu>
615 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
616 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
618 Define and pass O_BINARY to open if appropriate, for those
619 platforms that need it. Reported by Doodle.
621 2006-02-09 Patrick Lam <plam@mit.edu>
622 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
625 Fix problem with missing 'en' due to euro.patch: change
626 cache file format slightly to coincide with that generated
629 2006-02-07 Patrick Lam <plam@mit.edu>
630 * src/fccache.c (FcCacheReadDirs):
634 2006-02-07 Patrick Lam <plam@mit.edu>
635 * src/fcdir.c (FcDirScanConfig):
637 Don't reject dirs that can't be normalized (fixes lilypond, and
638 is correct in the context of application font directories.)
640 2006-02-07 Takashi Iwai <tiwai@suse.de>
643 * src/fccache.c (FcCacheReadDirs):
645 Use normalized directory name exclusively in FcCacheReadDirs.
647 2006-02-07 Dirk Mueller <dmueller@suse.com>
650 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
652 Perf optimizations. Inline FcValueCanonicalize,
653 reduce FcValueListPtrU usage, remove redundant cast.
655 2006-02-07 Takashi Iwai <tiwai@suse.de>
658 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
661 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
662 Declare extern for static arrays as arrays, not pointers.
663 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
665 2006-02-07 Dirk Mueller <dmueller@suse.com>
678 Add Euro sign to list of symbols required by European languages.
680 2006-02-07 Patrick Lam <plam@mit.edu>
681 * src/fccache.c (FcCacheReadString):
683 Fix hidden variable warning.
685 2006-02-07 Dirk Mueller <dmueller@suse.com>
688 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
690 Remove de-escaping logic because FcCacheWriteString
691 doesn't escape anyway. Do blockwise reading instead
692 of byte-wise for performance.
694 2006-02-06 Patrick Lam <plam@mit.edu>
695 Takashi Iwai <tiwai@suse.de>
697 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
699 Don't loop infinitely on recursive symlinks (client-side).
701 2006-02-06 Takashi Iwai <tiwai@suse.de>
703 * fc-cache/fc-cache.c (scanDirs, main):
705 Don't loop infinitely on recursive symlinks.
707 2006-02-06 Takashi Iwai <tiwai@suse.de>
709 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
710 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
711 FcGlobalCacheSave, FcCacheReadDirs):
714 Skip subdirs when skipping over stale bits of global cache.
715 Introduce state machine into FcGlobalCacheDir to avoid
716 doing inappropriate operations on global dir entries, e.g.
717 writing out an out-of-date cache entry.
719 2006-02-06 Takashi Iwai <tiwai@suse.de>
721 * src/fcdir.c (FcFileScanConfig):
723 Hoist FcFileIsDir check out of FcFileScanConfig loop.
725 2006-02-06 Takashi Iwai <tiwai@suse.de>
728 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
729 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
731 Don't rescan when trying to normalize a non-declared font dir.
732 Don't add font dirs multiple times (even if they're aliased).
734 2006-02-06 Dirk Mueller <dmueller@suse.de>
737 * src/fcfs.c (FcFontSetUnserialize):
739 Explain apples/oranges comparison and fix compilation error.
741 2006-02-06 Dirk Mueller <dmueller@suse.de>
744 * src/fcfs.c (FcFontSetUnserialize):
746 Insert check for integer overflow in # of fonts.
748 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
752 * fc-cache/Makefile.am:
753 * fc-cat/Makefile.am:
754 * fc-list/Makefile.am:
756 Make 'make distcheck' work with automake 1.6.3.
758 2006-02-03 Takashi IWAI <tiwai@suse.de>
761 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
764 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
765 FcDirCacheConsume, FcDirCacheWrite)
766 * src/fcxml.c (FcConfigMessage):
768 Check I/O call return values and eliminate unused variable
771 2006-02-03 Takashi Iwai <tiwai@suse.de>
774 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
778 2006-02-03 Dirk Mueller <dmueller@suse.de>
781 * src/fcfs.c (FcFontSetUnserialize):
783 Gracefully handle the case where a cache asserts that it
784 has a negative number of fonts, causing overflow.
786 2006-02-03 Patrick Lam <plam@mit.edu>
787 * src/fccache.c (FcDirCacheUnlink):
789 Fix double free in error case.
791 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
792 Stephan Kulow <coolo@suse.de>
795 * fc-cache/Makefile.am:
797 Replace 'stamp' target with mkinstalldirs.
799 2006-01-31 Mike Fabian <mfabian@suse.de>
802 * src/fccache.c (FcGlobalCacheLoad):
804 Toast broken global cache files.
806 2006-01-30 Patrick Lam <plam@mit.edu>
807 * src/fccache.c (FcGlobalCacheReadDir):
809 Actually use the directories that I added to the global cache.
812 2006-01-30 Mike Fabian <mfabian@suse.de>
815 * fc-cache/fc-cache.c (scanDirs):
817 Don't stop scanning if a directory in fonts.conf doesn't
818 exist, because subsequent directories might exist.
820 2006-01-30 Patrick Lam <plam@mit.edu>
821 * src/fccache.c (FcGlobalCacheLoad):
823 Make global cache work again after putting dir names into global
824 cache (I misplaced the recording of a file offset).
826 2006-01-30 Patrick Lam <plam@mit.edu>
827 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
829 Update fc-cat to handle subdir lists in global cache file.
831 * src/fccache.c (FcGlobalCacheLoad):
833 Another FcCacheReadString return value check.
835 2006-01-30 Mike Fabian <mfabian@suse.de>
838 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
839 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
841 Make fccache more resilient to broken cache files by checking
842 return value of FcCacheReadString all the time.
844 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
847 * fc-match/fc-match.1:
848 * fc-lang/fc-lang.man:
850 Remove references to dead fontconfig(3) manpages in
851 other fontconfig manpages.
853 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
856 * doc/fcpattern.fncs:
858 Fix world's tiniest typo in code example.
860 2006-01-29 Mike Fabian <mfabian@suse.de>
863 * src/fccache.c (FcGlobalCacheReadDir):
865 Fix global cache reads of subdirectories.
867 2006-01-29 Patrick Lam <plam@mit.edu>
869 Add documentation for FcConfigNormalizeFontDir.
871 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
872 FcGlobalCacheUpdate, FcGlobalCacheSave):
873 * src/fcdir.c (FcDirScanConfig):
876 Write directory information to global caches to fix make check
877 (reported by Ronny V. Vindenes). This changes the global cache
880 2006-01-27 Patrick Lam <plam@mit.edu>
881 * fc-cache/fc-cache.c (scanDirs):
882 * fontconfig/fontconfig.h:
884 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
886 Move FcConfigNormalizeFontDir call so that it doesn't result in
887 infinite recursion (reported by Ronny V. Vindenes).
889 2006-01-26 Patrick Lam <plam@mit.edu>
890 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
891 * src/fccfg.c (FcConfigNormalizeFontDir):
893 Add a couple of missing normalizations to make fc-cache work
894 right; only scan subdirectories once.
896 2006-01-26 Mike Fabian <mfabian@suse.de>
899 * src/fcacache.c (FcGlobalCacheReadDir):
901 Don't crash on non-existant directories in global cache.
903 2006-01-26 Patrick Lam <plam@mit.edu>
904 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
905 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
906 * src/fcdir.c (FcDirScanConfig):
907 * src/fcxml.c (FcEndElement):
909 Stop trampling the directory name when writing out caches.
910 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
911 subdirs when necessary. Don't scan directories that can't be
914 2006-01-25 Patrick Lam <plam@mit.edu>
915 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
916 * src/fccfg.c (FcConfigEvaluate):
917 * src/fcfreetype.c (FcPatternAddWithBinding):
919 Fix additional memory leaks reported by Ronny V. Vindenes: don't
920 invoke FcValueSave on hashed static strings in
921 FcPatternAddWithBinding.
923 Add another st_dev check in FcDirCacheOpen.
925 2006-01-24 James Su <james.su@gmail.com>
928 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
929 * fc-lang/zh_hk.orth:
931 Treat zh-hk fonts differently from zh-tw fonts. This patch may
932 cause fontconfig to treat A-X fonts differently from A-Y fonts;
933 please mail the fontconfig list if this causes any problems.
935 2006-01-24 Patrick Lam <plam@mit.edu>
936 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
937 * src/fcfreetype.c (FcFreeTypeQuery):
939 Fix memory leaks reported by Ronny V. Vindenes.
941 2006-01-19 Andreas Schwab <schwab@suse.de>
944 * src/fcpat.c (FcStrNeededBytes):
946 Fix for unaligned memory accesses.
948 2006-01-18 Mike Fabian <mfabian@suse.de>
951 * src/fcdir.c (FcDirScanConfig):
953 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
954 calls to avoid crashes.
956 2006-01-14 Patrick Lam <plam@mit.edu>
957 * src/fccache.c (FcDirCacheConsume):
959 Fix segfault when consuming zero-length caches in fc-cat
960 (which has no config, so FcConfigAddFontDir shouldn't be called.)
962 2006-01-14 Patrick Lam <plam@mit.edu>
963 * fc-cache/fc-cache.c (scanDirs):
964 * fontconfig/fontconfig.h:
965 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
966 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
967 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
968 * src/fcdir.c (FcDirScanConfig):
971 Compare device numbers as well as inodes.
972 Always normalize directory names before comparing them.
974 2006-01-11 Mike Fabian <mfabian@suse.de>
977 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
979 Allocate extra space for appended '/' in directory name.
981 2006-01-10 Patrick Lam <plam@mit.edu>
982 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
983 FcDirCacheValid, FcDirCacheHasCurrentArch,
984 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
985 * fc-cache/fc-cache.c (main):
987 Explicitly add font dirs to config.fontDirs even if they're empty.
988 Set current config in fc-cache.c.
989 Fix treatment of cache directory as read from cache file; don't
990 use string equality to determine if we have the right file,
993 2006-01-09 Patrick Lam <plam@mit.edu>
994 * fc-cache/fc-cache.c (scanDirs):
995 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
996 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
997 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
998 * src/fccfg.c (FcConfigNormalizeFontDir):
999 * src/fcdir.c (FcDirScanConfig):
1002 Normalize font dirs by using the form, as given in fonts.conf, and
1003 recorded in FcConfig's fontDirs string set, as canonical.
1005 Actually update config.fontDirs as font directories are scanned.
1007 2006-01-08 James Su <james.su@gmail.com>
1008 * src/fcmatch.c (FcFontSetMatch):
1010 Fix matching bug when multiple elements match; don't use
1011 the sum of all scores, but the best score.
1013 Also more perf opts, e.g. evaluate best over all font sets
1014 rather than on a per-set basis (and other changes).
1016 2006-01-08 Patrick Lam <plam@mit.edu>
1017 * src/fccache.c (FcDirCacheConsume):
1019 Properly skip past dir caches that contain zero fonts (as occurs
1020 in global caches.) Reported by Mike Fabian.
1022 2006-01-06 Patrick Lam <plam@mit.edu>
1023 * src/fcdbg.c (FcPatternPrint):
1025 Print out full pathname in fc-match -v as well. Reported by
1028 2006-01-06 Mike Fabian <mfabian@suse.de>
1031 * src/fcname.c (FcNameParse):
1033 Fix bug where fc-match crashes when given __DUMMY__ property to
1036 (I added the __DUMMY__ string to enable callers of
1037 FcObjectToPtrLookup to distinguish an error return from a
1038 successful return. -PL)
1040 2006-01-05 Patrick Lam <plam@mit.edu>
1043 Add self to AUTHORS list.
1045 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1046 FcCacheFileRead, FcCachePrintSet, main):
1047 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1048 FcGlobalCacheSave, FcCacheNextOffset,
1049 FcDirCacheHasCurrentArch, FcDirCacheRead,
1050 FcDirCacheConsume, FcDirCacheWrite):
1052 * src/fcpat.c (comment):
1054 Minor change to global cache file format to fix fc-cat bug
1055 reported by Frederic Crozat, and buglet with not globally caching
1056 directories with zero fonts cached.
1058 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1061 * src/fccfg.c (FcConfigEvaluate):
1063 Fix double-free which occurs because FcValueCanonicalize doesn't
1064 create an extra copy of the returned value, it only canonicalizes
1067 2006-01-02 Patrick Lam <plam@mit.edu>
1068 * doc/fontconfig-user.sgml:
1070 Fix version of .cache file (currently 1 -> currently 2). Reported
1073 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1076 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1078 Shut up GCC warnings on amd.
1080 2005-12-20 Patrick Lam <plam@mit.edu>
1084 * fontconfig/fontconfig.h:
1086 Bump version to 2.3.93.
1088 2005-12-20 Patrick Lam <plam@mit.edu>
1089 * src/fccharset.c (FcLangCharSetPopulate):
1090 * src/fcint.h (FcCacheBankToIndex):
1092 Avoid check on _fcBankId nullness and fix case where it used to
1095 2005-12-20 Patrick Lam <plam@mit.edu>
1096 * src/fcxml.c (FcConfigParseAndLoad):
1098 Use open instead of fopen (requested by Phil Race for Sun).
1100 2005-12-20 Patrick Lam <plam@mit.edu>
1101 * src/fccache.c (FcDirCacheWrite);
1102 * fc-cache/Makefile.am:
1104 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1107 2005-12-20 Patrick Lam <plam@mit.edu>
1108 * src/fcfreetype.c (FcFreeTypeQuery):
1110 Restore code to skip over PCF fonts that have no encoded
1112 (We guess that a font is PCF by presence of the PIXEL_SIZE
1115 2005-12-12 Patrick Lam <plam@mit.edu>
1116 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1118 Read and write the original location as a fallback for the
1119 hashed cache file locations. This is mostly for users to be
1120 able to have per-directory cache files.
1122 2005-12-12 Patrick Lam <plam@mit.edu>
1123 * fc-cache/fc-cache.c (scanDirs):
1124 * fc-cache/Makefile.am:
1125 * src/fccache.c (FcDirCacheHashName):
1127 Improve error message when fc-cache can't write the cache. Add
1128 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1129 create /var/cache/fontconfig when appropriate.
1131 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1134 * src/fcxml.c (FcConfigGetAttribute):
1136 Fix crash reported by Frederic Crozat when using libxml2.
1138 2005-12-09 Patrick Lam <plam@mit.edu>
1141 * fc-cache/Makefile.am:
1142 * fc-cat/Makefile.am:
1144 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1145 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1146 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1147 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1148 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1149 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1151 Migrate cache files from fonts directories to
1152 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1153 but requires that all caches get rebuilt.
1155 Also, autogen.sh now needs the additional parameter
1156 --localstatedir=/var.
1158 2005-12-07 Patrick Lam <plam@mit.edu>
1159 * src/fcpat.c (FcPatternAddString):
1161 Because we've changed FcPatternAddString to use FcStrStaticName
1162 and not FcValueSave, explicitly handle the case of a null string.
1164 2005-12-06 Patrick Lam <plam@mit.edu>
1165 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1169 2005-12-05 Patrick Lam <plam@mit.edu>
1170 * src/fcname.c (FcNameGetObjectType):
1172 Don't assign types to user object names.
1174 2005-12-05 Patrick Lam <plam@mit.edu>
1175 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1177 Don't free strings that have been returned from FcStrStaticName.
1179 2005-12-01 Patrick Lam <plam@mit.edu>
1180 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1182 Add codepath for reading global cache files as well.
1184 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1187 * conf.d/10-fonts.persian.conf:
1188 * conf.d/Makefile.am:
1190 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1192 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1195 * src/fcxml.c (FcConfigParseAndLoad):
1197 Only add a config file to the set of config files once.
1199 2005-11-29 Patrick Lam <plam@mit.edu>
1200 * src/fcint.h (FcCacheBankToIndex);
1202 Fix segfault by guarding array dereference.
1204 2005-11-29 Dirk Mueller <dmueller@suse.de>
1207 * fc-lang/fc-lang.c:
1208 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1209 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1213 Refactor FcCacheBankToIndex into an inlineable part
1214 (in fcint.h) which checks the front of the list and a
1215 non-inlineable part which finds and moves the appropriate element
1216 to the front of the list.
1218 2005-11-29 Patrick Lam <plam@mit.edu>
1219 * src/fccfg.c (FcConfigBuildFonts):
1220 * src/fccache.c (FcCacheReadDirs):
1222 Make the perf guys hate me a bit less: hoist the directory-name
1223 FcConfigAcceptFont check for cached fonts up to directory cache
1224 read time, rather than running it for each font.
1226 2005-11-29 Patrick Lam <plam@mit.edu>
1227 * src/fccfg.c (FcConfigBuildFonts):
1229 * src/fcpat.c (FcPatternFindFullFname):
1231 Don't make FcPatternFindFullFname available to fccfg, it's not
1232 really safe. Instead go through FcPatternGetString (sorry,
1233 perf guys.) Also, use globs for dirs as well.
1235 2005-11-28 Patrick Lam <plam@mit.edu>
1236 * src/fccfg.c (FcConfigBuildFonts):
1240 2005-11-28 Patrick Lam <plam@mit.edu>
1242 * src/fcpat.c (FcPatternFindFullFname):
1243 * src/fccfg.c (FcConfigBuildFonts):
1245 Fix problem dating back at least to 2.3.2 where globs weren't
1246 being applied to patterns loaded from a cache.
1248 2005-11-28 Patrick Lam <plam@mit.edu>
1249 * doc/fontconfig-user.sgml:
1251 Fix some obvious spelling mistakes.
1253 2005-11-28 Dirk Mueller <dmueller@suse.com>
1254 Stephan Kulow <coolo@suse.de>
1257 * src/fcmatch.c (FcFontSetMatch):
1259 Don't kill all fonts during match (oops!)
1262 2005-11-25 Dirk Mueller <dmueller@suse.com>
1263 Stephan Kulow <coolo@suse.de>
1264 Michael Matz <matz@suse.de>
1267 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1270 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1271 inline FcCompare into FcFontSetMatch and reorder the
1272 loops, adding a boolean array which blocks patterns from future
1273 consideration if they're known to not be best on some past
1276 2005-11-26 Dirk Mueller <dmueller@suse.com>
1279 * src/fcmatch.c (FcCompareValueList):
1281 Fix incorrect merge.
1283 2005-11-25 Patrick Lam <plam@mit.edu>
1284 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1286 Don't do random matching when bad objects are passed into
1289 2005-11-25 Patrick Lam <plam@mit.edu>
1291 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1292 FcPatternSerialize, FcPatternUnserialize,
1293 FcValueListEnsureBank, FcValueListDistributeBytes,
1294 FcValueListUnserialize):
1296 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1297 _fcPatternElts, _fcValueLists for consistency.
1299 2005-11-25 Dirk Mueller <dmueller@suse.com>
1304 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1306 2005-11-25 Patrick Lam <plam@mit.edu>
1308 * src/fccache.c (FcDirCacheConsume):
1309 * src/fccharset.c (FcCharSetUnserialize):
1310 * src/fcfs.c (FcFontSetUnserialize):
1311 * src/fclang.c (FcLangSetUnserialize):
1312 * src/fcname.c (FcObjectUnserialize):
1313 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1314 FcPatternUnserialize):
1316 Pass around FcCache *s to the Unserialize functions for extra
1317 consistency (and less overhead, for what that's worth).
1319 2005-11-24 Dirk Mueller <dmueller@suse.com>
1323 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1324 * src/fcname.c (FcNameUnparseValue):
1326 Inline the *PtrU functions to gain perf.
1327 Remove unneeded params for the FcCompare* functions.
1329 2005-11-24 Dirk Mueller <dmueller@suse.com>
1332 * src/fcint.h, fontconfig/fontconfig.h:
1334 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1336 * src/fcpat.c, src/fcint.h, src/fcname.c:
1338 Check for type validity during FcPatternAddWithBinding, don't
1339 verify type in FcFontMatch, don't call FcCanonicalize here
1340 (which always does a deep copy).
1342 2005-11-24 Dirk Mueller <dmueller@suse.com>
1345 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1346 * src/fcpat.c (FcPatternAddWithBinding):
1348 Make FcCompareString and FcCompareFamily less expensive.
1349 Only add a value for FC_FAMILY if the proposed value is a string.
1351 2005-11-24 Dirk Mueller <dmueller@suse.com>
1354 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1355 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1356 * src/fcint.h (FcDebug):
1358 Inline FcDebug invocations and only initialize once, in FcInit*.
1359 Improve debug msg in FcPatternPrint.
1361 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1364 * fontconfig/fontconfig.h:
1367 Minor code warning cleanups.
1369 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1372 * fc-match/fc-match.c (main):
1374 Make getopt_long accept -s parameter to fc-match as well.
1376 2005-11-21 Dirk Mueller <dmueller@suse.com>
1379 * src/fcmatch.c (FcCompareValueList):
1381 Manually perform inlining & partial redundancy elimination to
1382 reduce calls to FcValueListPtrU.
1384 2005-11-21 Dirk Mueller <dmueller@suse.com>
1387 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1388 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1390 Only invoke strlen() when really necessary.
1392 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1396 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1397 FcFontCapabilities):
1401 Get rid of the use of freetype internal headers in fcfreetype.c,
1402 since those headers will go away with freetype 2.2. Replace with
1403 public domain ftglue code from pango. Note that the patch removes
1404 some extra error checking in FT_Get_BDF_Property() and comments
1405 out the skipping of empty pcf fonts.
1407 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1410 * fc-lang/fc-lang.c (main):
1412 Further fix of patch from 2005-11-04: miscounted numbers count
1413 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1414 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1416 Removed leafidx_count and numbers_count since they are the same
1417 and replaced them with offset_count.
1419 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1422 * fc-cat/fc-cat.c (main):
1424 Don't crash when fc-cat invoked with no arguments.
1426 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1429 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1431 Fix invalid read access caused by premature free and
1432 GCC4 warnings in libxml2 codepath.
1434 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1437 * src/fccfg.c (FcConfigValues):
1439 List iteration not needed in FcConfigValues, since it's building
1440 up the list itself; we can just strip FcVoid elements during
1443 2005-11-17 Patrick Lam <plam@mit.edu>
1444 * src/fccfg.c (FcConfigValues):
1446 Fix crash on invalid constants in config files (forgot to update
1447 a pointer upon list iteration.)
1449 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1452 * src/fcxml.c (FcTypecheckExpr):
1454 Complain about invalid constants in config files.
1456 2005-11-17 Andreas Schwab <schwab@suse.de>
1459 * src/fccache.c (FcGlobalCacheSave):
1461 Don't add current_arch_start more than once.
1463 2005-11-16 Patrick Lam <plam@mit.edu>
1464 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1465 * src/fcfs.c (FcFontSetUnserialize):
1466 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1467 * src/fcpat.c (FcStrUnserialize):
1469 Fix ordering of ALIGN with respect to saving block_ptr; add
1470 another ALIGN to fcfs.c.
1472 2005-11-16 Patrick Lam <plam@mit.edu>
1473 * src/fccache.c (FcDirCacheProduce)
1475 Fix case where alignment bytes bumped up metadata->count
1476 causing unwarranted failures to write cache files.
1477 (Reported by Stephan Kulow).
1479 2005-11-16 Patrick Lam <plam@mit.edu>
1480 * src/fccache.c (FcDirCacheProduce):
1481 * src/fccharset.c (FcCharSetDistributeBytes):
1482 * src/fcfs.c (FcFontSetDistributeBytes):
1484 * src/fclang.c (FcLangSetDistributeBytes):
1485 * src/fcname.c (FcObjectDistributeBytes):
1486 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1489 Add *NeededBytesAlign(), which overestimates the padding which is
1490 later added by the new ALIGN macro. Fix alignment problems on
1491 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1492 version by Andreas Schwab).
1494 2005-11-16 Stephan Kulow <coolo@kde.org>
1499 Use sysconf to determine proper PAGESIZE value; this
1500 appears to be POSIX-compliant. (reported by Andreas Schwab)
1502 2005-11-04 Patrick Lam <plam@mit.edu>
1503 * fc-lang/fc-lang.c:
1508 Fix bug 2878 (excessive relocations at startup for charsets,
1509 reported by Ross Burton): fc-lang/fc-lang now creates the
1510 static form of the langset, not the dynamic form, so that
1511 the charsets should now be in .rodata.
1513 2005-11-04 Patrick Lam <plam@mit.edu>
1514 * src/fcdir.c (FcDirScanConfig):
1516 Add test for validity of directory caches that
1517 somehow got lost (reported by make distcheck).
1519 2005-11-04 Patrick Lam <plam@mit.edu>
1523 * fontconfig/fontconfig.h:
1525 Bump version to 2.3.92.
1527 2005-11-02 Patrick Lam <plam@mit.edu>
1528 * src/fcpat.c (FcPatternDuplicate):
1530 Fix argument ordering problem in call to FcPatternTransferFullFname.
1532 2005-11-02 Patrick Lam <plam@mit.edu>
1533 * src/fcfreetype.c (FcFreetypeQuery):
1534 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1535 FcPatternTransferFullFname):
1537 Fix warnings and embarrassing double-free error.
1539 2005-11-02 Zhe Su <zsu@novell.com>
1544 Change the rule for artificial emboldening in fonts.conf.in. This
1545 enables the support for artificial emboldening included in cairo.
1547 2005-11-02 Patrick Lam <plam@mit.edu>
1548 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1550 Don't zero out full names for FC_REF_CONSTANT fonts;
1551 also, duplicate full names when transferring, and free
1552 full names when freeing the associated font.
1553 Reported by Jinghua Luo.
1555 2005-11-02 Patrick Lam <plam@mit.edu>
1556 * fc-cache/fc-cache.c (scanDirs):
1557 * src/fcpat.c (FcValueListSerialize):
1559 Revert the previous patch and commit the correct patch:
1560 I forgot a canonicalization in FcValueListSerialize, so
1561 that it would choke on already-serialized input files. Duh!
1563 2005-11-02 Patrick Lam <plam@mit.edu>
1564 * fc-cache/fc-cache.c (scanDirs):
1566 Forcibly rescan a directory before writing a fresh local
1567 cache file for that directory, fixing the losing-fonts
1568 problem reported by Mike Fabian and also apparently the
1569 font cache file corruption.
1571 2005-11-02 Patrick Lam <plam@mit.edu>
1572 * src/fccache.c (FcGlobalCacheLoad):
1574 Fix thinko: actually, the whole global cache is stale
1575 if the global cache is older than the (newest) config file.
1577 2005-11-02 Patrick Lam <plam@mit.edu>
1578 * src/fccache.c (FcGlobalCacheLoad):
1579 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1582 Declare the global cache of a directory's contents to be stale if
1583 the directory is newer than the (newest) configuration file.
1585 2005-10-31 Patrick Lam <plam@mit.edu>
1587 * src/fclist.c (FcListAppend):
1588 * src/fcmatch.c (FcFontRenderPrepare):
1589 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1590 FcPatternFreeze, FcPatternBaseFreeze):
1592 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1593 applications continue breaking.
1595 2005-10-31 Patrick Lam <plam@mit.edu>
1596 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1597 * src/fcfreetype.c (FcFreeTypeQuery):
1599 Fix small memory error (tried to free argv); use basename and
1600 dirname correctly (they can modify their arguments).
1602 2005-10-31 Patrick Lam <plam@mit.edu>
1610 Reinstate basename patch, but keep a hash table linking FcPatterns
1611 to their fully-qualified font names for clients' benefit. Clients
1612 only pay for the font names once they request the FC_FILE property
1613 from an FcPattern, but the font name is malloc'd at that point (i.e.
1614 not mmapped: that's impossible, since it may vary between machines.)
1615 Clients do have to pay for a copy of the path name per cache file.
1617 Note that FcPatternGetString now does some rewriting if you ask
1618 for an FC_FILE, appending the pathname as appropriate.
1620 2005-10-31 Patrick Lam <plam@mit.edu>
1621 * src/fcfreetype.c (FcFreeTypeQuery):
1623 Revert basename patch, which breaks fontconfig clients on my system.
1625 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1628 * fontconfig/fonts.conf.in:
1629 * fontconfig/fontconfig.h:
1633 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1634 to load embedded bitmaps or not.
1636 2005-10-25 Patrick Lam <plam@mit.edu>
1637 * src/fcfreetype.c (FcFreeTypeQuery):
1639 Only add basename to patterns' FC_FILE element, not any part of
1642 2005-10-22 Patrick Lam <plam@mit.edu>
1645 Add some more consts, fixing more GCC4 warnings.
1647 2005-10-22 Zhe Su <zsu@novell.com>
1650 Support localized font family and style names.
1651 This has been reported to break old apps like xfd, but modern
1652 (gtk+/qt/mozilla) apps work fine.
1654 2005-10-21 Patrick Lam <plam@mit.edu>
1655 * src/fccache.c (FcGlobalCacheLoad):
1657 Destroy the global cache file if it's terminally broken. (reported by
1660 2005-10-21 Patrick Lam <plam@mit.edu>
1661 * fc-list/fc-list.c (main):
1662 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1663 * fontconfig/fontconfig.h:
1665 Prevent fc-list from escaping strings when printing them (reported by
1668 2005-10-20 Marcus Meissner <meissner@suse.de>
1671 * fontconfig/fontconfig.h:
1673 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1675 2005-10-14 Ross Burton <ross@burtonini.com>
1678 * fc-glyphname/fc-glyphname.c:
1681 Add consts to variables so as to move arrays into .rodata.
1683 2005-10-14 Mike Fabian <mfabian@suse.de>
1686 * src/fccache.c (FcDirCacheUnlink):
1688 Check existence of directory cache file before attempting to unlink.
1690 2005-10-13 Patrick Lam <plam@mit.edu>
1691 * src/fccache.c (FcDirCacheUnlink):
1693 Fix flipped return value on unlink. (Reported by Mike Fabian)
1695 2005-10-12 Patrick Lam <plam@mit.edu>
1698 * src/fcdir.c (FcDirScanConfig):
1701 When fc-cache is run without --force, use directory cache files
1702 to speed up fc-cache run time. (Reported by Mike Fabian)
1704 2005-10-06 Patrick Lam <plam@mit.edu>
1706 * src/fcname.c (FcObjectToPtr):
1707 * src/fcpat.c (FcStrStaticName):
1709 Add padding to make valgrind and glibc not hate each other
1710 when calling strlen().
1712 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1713 reviewed by: plam & keithp
1717 Modify config file to use Greek fonts before Asian fonts with
1720 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1721 reviewed by: plam & keithp
1725 Use libtool -no-undefined flag on all platforms.
1727 2005-10-05 Patrick Lam <plam@mit.edu>
1728 * src/fccache.c (FcCacheHaveBank):
1730 Implement move-to-front array for banks (perf regression
1731 reported by Ronny V. Vindenes).
1733 2005-10-04 Patrick Lam <plam@mit.edu>
1734 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1735 FcDirCacheHasCurrentArch):
1736 * fc-cache/fc-cache.c (scanDirs):
1737 * fontconfig/fontconfig.h:
1739 Add new API which unlinks directory caches and checks dir caches
1740 for existence of appropriate sections. Fix fc-cache to unlink
1741 stale cache files and save directory caches that lack relevant
1744 2005-10-03 Patrick Lam <plam@mit.edu>
1745 * src/fccache.c (FcDirCacheValid):
1747 Ensure that a directory cache has the appropriate section
1748 before reporting that it is valid (reported by Matthias Clasen).
1750 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1758 Use libxml2 if requested (with --enable-libxml2) or if
1759 expat is not available.
1761 2005-09-29 Patrick Lam <plam@mit.edu>
1762 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1764 Fix multi-arch cache files: compute the position for the
1765 block to be added using info from OrigFile, not NewFile.
1767 2005-09-28 Patrick Lam <plam@mit.edu>
1768 * src/fccache.c (FcCacheMachineSignature):
1770 Cast results of sizeof() to unsigned int to get rid of
1771 warnings on x86_64 (thanks Matthias Clasen).
1773 2005-09-27 Patrick Lam <plam@mit.edu>
1774 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1777 Use FcAtomic to rewrite cache files.
1779 2005-09-27 Patrick Lam <plam@mit.edu>
1781 * src/fccache.c (FcDirCacheWrite):
1783 Don't unlink the fonts.cache-2 file even if there's no data
1784 to write; just write an empty cache file. (thanks Lubos Lunak)
1786 2005-09-27 Patrick Lam <plam@mit.edu>
1788 * src/fccache.c (FcDirCacheWrite):
1790 Allocate room for the subdirectory names in each
1791 directory cache. Thanks to James Cloos for finding
1792 and diagnosing this bug!
1794 2005-09-22 Patrick Lam <plam@mit.edu>
1796 * fc-cache/fc-cache.sgml:
1797 * src/fccache.c (FcDirCacheWrite):
1798 * src/fccache.h (struct FcCache):
1800 Update documentation -- fc-cache's man page now says that you
1801 need to run fc-cache once per cached architecture; add some
1802 documentation to the FcCache structure.
1804 Make fc-cache write out fonts.cache-2 files for directories with
1805 no fonts (i.e. only subdirectories).
1807 2005-09-22 Patrick Lam <plam@mit.edu>
1809 * fc-cache/fc-cache.sgml:
1810 * fc-case/fc-case.c:
1811 * fc-glyphname/fc-glyphname.c:
1817 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1821 * fc-lang/fc-lang.c:
1822 * fontconfig/fcprivate.h:
1823 * fontconfig/fontconfig.h:
1837 Implement new mmaped cache for font information.
1838 Bump so revision to 2.3.90.
1840 2005-07-25 Keith Packard <keithp@keithp.com>
1842 * doc/fontconfig-user.sgml:
1843 * fc-glyphname/fc-glyphname.c: (scan), (main):
1844 * fc-lang/fc-lang.c: (FcConfigHome):
1845 * fc-match/fc-match.c: (main):
1846 * src/fccfg.c: (FcConfigHome):
1847 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1848 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1849 (addtag), (FcFontCapabilities):
1850 * src/fcpat.c: (FcValueListEntCreate):
1851 * src/fcstr.c: (FcStrCaseWalkerInit):
1852 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1854 Various GCC 4 cleanups for signed vs unsigned char
1856 Match only [0-9]*.conf files in <include>{directory}</include>
1857 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1859 2005-07-15 Carl Worth <cworth@cworth.org>
1862 * src/fcinit.c: (FcFini):
1863 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1866 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1867 Pull the FcObjectStateName hash table out to file scope, and add
1868 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1871 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1874 2005-06-16 Patrick Lam <plam@MIT.EDU>
1878 * src/fccfg.c: (FcConfigCompareValue):
1879 Make FcOpNotContains use FcStrStr for strings so that
1880 it matches semantics for !FcOpContains.
1882 2005-05-20 Keith Packard <keithp@keithp.com>
1886 Move fontconfig source package to libs as per override
1888 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1890 reviewed by: Mike Fabian
1893 The ka.orth file requires several characters which are not
1894 used anymore in modern Georgian and which are missing in the free
1895 Georgian TrueType fonts downloadable at:
1897 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1899 2005-04-27 Keith Packard <keithp@keithp.com>
1903 Update date to real 2.3.2 release date.
1904 Fix change attributions
1906 2005-04-27 Keith Packard <keithp@keithp.com>
1909 Bump so revision for 2.3.2
1910 * fc-cache/fc-cache.c: (scanDirs):
1911 Fix a few minor leaks in error cases.
1913 2005-04-23 Keith Packard <keithp@keithp.com>
1918 * fontconfig/fontconfig.h:
1919 Update for version 2.3.2
1921 2005-04-21 Keith Packard <keithp@keithp.com>
1923 * debian/fontconfig.postinst:
1924 Don't force bitmap font enable in default
1925 configuration; allows users to override this in
1935 * debian/po/pt_BR.po:
1936 * debian/po/templates.pot:
1938 * debian/po/zh_CN.po:
1939 Updated translations
1941 * fc-cache/fc-cache.c: (main):
1942 Destroy font configuration on exit to help valgrind
1945 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1946 (FcFreeTypeCheckGlyph):
1947 Use own transcoding routines in preference to iconv
1948 which appears to have leaks in some translators.
1949 Call iconv_close after using iconv (oops).
1951 Prefer unicode encoding of Euro char as some
1952 fonts mis-encode Euro in other ones.
1954 Must fetch bitmap glyphs to get width values
1955 to check for monospace/dual-width fonts.
1957 2005-04-13 Ross Burton <ross@burtonini.com>
1960 Check that a pattern isn't already frozen in FcPatternFreeze.
1962 2005-03-31 Ross Burton <ross@burtonini.com>
1967 Run all FcPattern objects through FcObjectStaticName, so that
1968 compares can be done on pointers instead of strings (#2659)
1970 2005-03-17 Tor Lillqvist <tml@novell.com>
1972 * src/fontconfig.def.in: Add the .dll to the dll name.
1974 2005-03-10 Keith Packard <keithp@keithp.com>
1976 * debian/README.Debian:
1977 Update to reflect configuration changes
1979 * debian/fontconfig.postinst:
1980 Fix Autohint vs Autohinter mistake
1981 * debian/fontconfig.templates:
1982 Adopt changes from Josselin Mouette for configuration descriptions
1983 Update debian to version 2.3.1-2
1985 2005-03-08 Keith Packard <keithp@keithp.com>
1989 Update debian for 2.3.1
1991 2005-03-09 Tor Lillqvist <tml@novell.com>
1993 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1996 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1999 2005-03-08 Keith Packard <keithp@keithp.com>
2003 * fontconfig/fontconfig.h:
2006 2005-03-05 Keith Packard <keithp@keithp.com>
2008 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
2009 Include space and remove numbers from valid script tags.
2010 This ensures that tags like 'lao ' work while rejecting
2011 those which have any digits.
2012 Eliminate a spurious debugging variable (len)
2014 2005-03-05 Keith Packard <keithp@keithp.com>
2016 * src/fcfreetype.c: (addtag), (GetScriptTags),
2017 (FcFontCapabilities):
2018 Rework GSUB/GPOS script parsing to survive broken fonts.
2019 Thanks for the broken font go to Manish Singh
2021 2005-03-05 Keith Packard <keithp@keithp.com>
2026 * debian/fontconfig.config:
2027 * debian/fontconfig.templates:
2029 Include 2.3 release information in changelog
2030 Add Josselin Mouette as an Uploader
2031 Set hinting_type to low priority configuration option
2034 * debian/fontconfig.postinst:
2035 yes_bitmaps.conf -> yes-bitmaps.conf
2041 2005-03-02 Keith Packard <keithp@keithp.com>
2044 * conf.d/Makefile.am:
2045 * conf.d/autohint.conf:
2046 * conf.d/no-sub-pixel.conf:
2047 * conf.d/sub-pixel.conf:
2048 * conf.d/unhinted.conf:
2049 * debian/autohint.conf:
2050 * debian/fontconfig.install:
2051 * debian/fontconfig.postinst:
2052 * debian/fontconfig.templates:
2053 * debian/no-sub-pixel.conf:
2054 * debian/unhinted.conf:
2055 Move debian-specific conf file examples upstream.
2057 Sub-pixel configuration examples must smash subpixel value
2058 as Xft always sets it from X.
2060 Change sub-pixel rendering debconf descriptions from
2061 Enable/Disable to Always/Never.
2063 2005-03-02 Keith Packard <keithp@keithp.com>
2066 * conf.d/.cvsignore:
2068 Ignore more build detritus
2071 Add debian package construction stuff.
2073 * config/config.guess:
2074 * config/config.sub:
2075 Update to newer versions of these tools
2078 Get library manuals to build again (we love automake).
2080 * debian/README.Debian:
2081 * debian/autohint.conf:
2086 * debian/fontconfig-udeb.install:
2087 * debian/fontconfig.config:
2088 * debian/fontconfig.defoma:
2089 * debian/fontconfig.dirs:
2090 * debian/fontconfig.install:
2091 * debian/fontconfig.postinst:
2092 * debian/fontconfig.postrm:
2093 * debian/fontconfig.templates:
2094 * debian/libfontconfig1-dev.install:
2095 * debian/libfontconfig1.install:
2096 * debian/local.conf.md5sum:
2097 * debian/no-sub-pixel.conf:
2098 * debian/po/POTFILES.in:
2107 * debian/po/pt_BR.po:
2108 * debian/po/templates.pot:
2110 * debian/po/zh_CN.po:
2112 * debian/unhinted.conf:
2113 Update debian build system to switch maintainers and
2114 deal with 2.3 functionality
2116 2005-03-01 Keith Packard <keithp@keithp.com>
2120 * fontconfig/fontconfig.h:
2123 2005-03-01 Keith Packard <keithp@keithp.com>
2126 Generate and install PDF versions of the manuals
2128 * doc/fcpattern.fncs:
2131 * doc/fcstring.fncs:
2132 Add missing exported functions, fix data types
2134 * doc/fontconfig-devel.sgml:
2135 Add missing pattern elements.
2137 * doc/fontconfig-user.sgml:
2138 Add missing pattern elements. Document conf.d usage,
2139 clarify available orthography list. Fix some config file
2140 attributes. Complete list of constants.
2142 * fontconfig/fontconfig.h:
2143 Mark FC_SOURCE deprecated.
2145 * src/fcfreetype.c: (FcFreeTypeQuery):
2146 Don't set FC_SOURCE any longer.
2148 2005-02-28 Keith Packard <keithp@keithp.com>
2151 * conf.d/Makefile.am:
2153 * conf.d/no-bitmaps.conf:
2154 * conf.d/sub-pixel.conf:
2155 * conf.d/yes-bitmaps.conf:
2157 Create prototype /etc/fonts/conf.d directory with a few
2158 sample configuration files.
2159 Deprecate use of local.conf for local customizations in favor of
2160 this directory based scheme which is more easily integrated into
2161 installation systems.
2164 Tag FC_EMBOLDEN as a boolean variable
2166 2005-02-10 Keith Packard <keithp@keithp.com>
2168 reviewed by: pborelli@katamail.com
2170 * src/fcdir.c: (FcFileScanConfig):
2171 Free patterns from fonts which are rejected by configuration
2174 2005-01-28 Keith Packard <keithp@keithp.com>
2178 * fontconfig/fontconfig.h:
2179 Update for version 2.2.99
2181 2005-01-28 Keith Packard <keithp@keithp.com>
2184 Add a few pointers (#2284, #2285)
2186 2005-01-28 Keith Packard <keithp@keithp.com>
2189 * src/fcname.c: (FcNameBool):
2190 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2191 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2192 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2193 Polite typechecking for test and edit expressions. Helps
2194 catch errors in the font configuration. (bug 229)
2196 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2198 reviewed by: Keith Packard <keithp@keithp.com>
2201 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2203 2005-01-13 Keith Packard <keithp@keithp.com>
2205 * doc/fontconfig-user.sgml:
2206 Add SEE ALSO section (bug 2085)
2208 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2210 reviewed by: Keith Packard <keithp@keithp.com>
2215 * fc-case/Makefile.am:
2216 * fc-glyphname/Makefile.am:
2217 * fc-lang/Makefile.am:
2218 * src/fontconfig.def.in:
2219 Cross compiling fixes (bug 280)
2221 2005-01-13 Keith Packard <keithp@keithp.com>
2224 Update blanks list (Closes bug 86)
2226 2005-01-04 Keith Packard <keithp@keithp.com>
2228 * src/fccache.c: (FcCacheFontSetAdd):
2229 Verify that every font pattern loaded from cache has
2230 both FC_FILE and FC_FAMILY entries.
2231 Attempt to fix bug #2219.
2233 2004-12-29 Keith Packard <keithp@keithp.com>
2237 * fontconfig/fontconfig.h:
2238 Update for version 2.2.98
2240 2004-12-29 Keith Packard <keithp@keithp.com>
2242 * fontconfig/fontconfig.h:
2243 Document ASCII limitations of Fc character conversion macros
2244 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2245 Fix off-by-one error in utf-8 case walking code.
2246 Add FcStrDowncase (useful for testing case conversion functions)
2248 2004-12-29 Keith Packard <keithp@keithp.com>
2251 * fc-case/.cvsignore:
2252 clean up CVS ignore lists
2253 * fc-lang/iso-3166.txt:
2254 Add territory database
2256 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2258 Reviewed by: Keith Packard
2261 Remove Han characters from Korean orthography
2263 2004-12-29 Keith Packard <keithp@keithp.com>
2266 Reorder utility programs to make sure fc-case is run before fc-lang
2267 as fc-lang uses fcstr.c which uses fccase.h
2271 2004-12-29 Keith Packard <keithp@keithp.com>
2274 Adopt some RedHat suggestions for standard font configuration.
2278 * fc-case/CaseFolding.txt:
2279 * fc-case/Makefile.am:
2280 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2281 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2282 (dump), (parseRaw), (caseFoldReadRaw), (main):
2283 * fc-case/fccase.tmpl.h:
2284 Add new helper program 'fc-case' to construct case folding
2285 tables from standard Unicode CaseFolding.txt file
2288 * src/fclist.c: (FcListValueHash):
2289 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2290 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2291 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2292 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2293 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2294 Re-implement case insensitive functions with Unicode
2295 aware versions (including full case folding mappings)
2297 2004-12-13 Keith Packard <keithp@keithp.com>
2299 reviewed by: Owen Taylor <otaylor@redhat.com>
2301 * src/fcmatch.c: (FcFontSetSort):
2302 I changed FcFontSetSort to respect the generic aliases better
2303 in the face of language matching.
2305 What I did was to ammend the strict sort order used by FcFontSort so
2306 that it 'satisfies' the language specified in the pattern by locating
2307 the best matching font supporting each pattern language and then
2308 ignores language in the remaining fonts for purposes of matching.
2310 So, when asking for 'sans:lang=en', you'll get an English font first,
2311 and then the remaining fonts sorted with respect to the 'sans' alias
2312 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2314 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2316 reviewed by: Keith Packard <keithp@keithp.com>
2318 * fontconfig/fontconfig.h:
2321 Configuration changes to request synthetic emboldening of
2322 fonts. The actual emboldening code will live in Xft.
2324 2004-12-09 John Thacker <thacker@math.cornell.edu>
2326 reviewed by: Keith Packard <keithp@keithp.com>
2330 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2331 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2332 и), and don't even appear in KOI8-R. (The hypothesis that they
2333 don't appear in KOI8-R due to their similarity with Latin I and i is
2334 eliminated by their presence in KOI8-U.) I have a couple of fonts
2335 with Russian support that don't have the letter.
2337 Therefore, 0406 and 0456 should be removed from or commented out of
2340 2004-12-06 michael meeks <mmeeks@novell.com>
2342 Reviewed by: Keith Packard <keithp@keithp.com>
2344 * src/fcinit.c: (FcMemReport):
2346 * src/fclist.c: (FcObjectSetAdd):
2347 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2348 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2349 * src/fcxml.c: (FcParsePatelt):
2350 memoize strings and share a single copy for all uses. Note that
2351 this could be improved further by using statically allocated blocks
2352 and gluing multiple strings together, but I'm basically lazy.
2353 In my environment with 800 font files, I get a savings of about 90KB.
2355 2004-12-06 Keith Packard <keithp@keithp.com>
2359 * config/Makedefs.in:
2362 * doc/fcatomic.fncs:
2363 * doc/fcblanks.fncs:
2364 * doc/fccharset.fncs:
2365 * doc/fcconfig.fncs:
2366 * doc/fcconstant.fncs:
2368 * doc/fcfontset.fncs:
2369 * doc/fcfreetype.fncs:
2371 * doc/fcmatrix.fncs:
2372 * doc/fcobjectset.fncs:
2373 * doc/fcobjecttype.fncs:
2374 * doc/fcpattern.fncs:
2375 * doc/fcstring.fncs:
2376 * doc/fcstrset.fncs:
2378 * doc/fontconfig-devel.sgml:
2379 * doc/fontconfig-user.sgml:
2381 * doc/version.sgml.in:
2382 * fc-cache/Makefile.am:
2383 * fc-cache/fc-cache.c:
2384 * fc-glyphname/Makefile.am:
2385 * fc-glyphname/fc-glyphname.c:
2386 * fc-glyphname/fcglyphname.tmpl.h:
2387 * fc-lang/Makefile.am:
2397 * fc-lang/az_ir.orth:
2431 * fc-lang/fc-lang.c:
2432 * fc-lang/fc-lang.man:
2433 * fc-lang/fclang.tmpl.h:
2478 * fc-lang/ku_ir.orth:
2511 * fc-lang/ps_af.orth:
2512 * fc-lang/ps_pk.orth:
2541 * fc-lang/ti_er.orth:
2542 * fc-lang/ti_et.orth:
2568 * fc-lang/zh_cn.orth:
2569 * fc-lang/zh_hk.orth:
2570 * fc-lang/zh_mo.orth:
2571 * fc-lang/zh_sg.orth:
2572 * fc-lang/zh_tw.orth:
2574 * fc-list/Makefile.am:
2575 * fc-list/fc-list.c:
2576 * fc-match/Makefile.am:
2577 * fc-match/fc-match.1:
2578 * fc-match/fc-match.c:
2579 * fontconfig/fcfreetype.h:
2580 * fontconfig/fcprivate.h:
2581 * fontconfig/fontconfig.h:
2602 Change files from ISO-Latin-1 to UTF-8
2604 2004-12-04 Keith Packard <keithp@keithp.com>
2607 Update links to new freedesktop.org locations
2609 Add uninstall-local to get rid of fonts.conf and local.conf if they
2610 match the distributed versions. Fixes 'make distcheck'
2612 2004-12-04 Keith Packard <keithp@keithp.com>
2616 * fontconfig/fontconfig.h:
2617 Updates for version 2.2.97
2619 2004-12-04 Owen Taylor <otaylor@redhat.com>
2621 reviewed by: Keith Packard <keithp@keithp.com>
2623 * fc-cache/fc-cache.c: (main):
2624 Sleep for two seconds before exiting to make sure timestamps
2625 for future changes have distinct mod times in the file system.
2628 Add Punjabi orthography. Bug #1671.
2630 2004-12-04 Keith Packard <keithp@keithp.com>
2633 Just remove the FC_FONTDATE -- it has locale issues and
2634 annoys redhat multi-arch installs. Now that all X fonts are
2635 included without prejudice, the chances of the date being at
2636 all interesting are rather limited. Bug #505.
2638 Add copyright and license
2640 2004-12-04 Keith Packard <keithp@keithp.com>
2643 Change default set of fonts to include all of
2644 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2645 * doc/fontconfig-user.sgml:
2646 Document new <include>directory-name</include> semantics
2648 add <include ignore_missing="yes">conf.d</include>
2650 Add selectfont to ignore bitmap fonts, add comment for
2651 selectfont which accepts bitmap fonts.
2654 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2655 Allow <include> configuration elements to reference directories.
2656 Parse and load all files of the form [0-9]* in sorted order.
2658 2004-12-04 Keith Packard <keithp@keithp.com>
2661 Report command line for $srcdir/configure accurately.
2664 2004-12-04 Keith Packard <keithp@keithp.com>
2666 * src/fcfreetype.c: (FcFreeTypeQuery):
2667 Check for non-empty face->family_name and face->style_name
2668 before using those for the font. Empty names match everything.
2671 2004-12-04 Keith Packard <keithp@keithp.com>
2674 * fontconfig/fontconfig.h:
2675 * src/fcfreetype.c: (FcFreeTypeQuery):
2677 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2678 available. This provides font file format information (BDF, Type 1,
2679 PCF, TrueType) for each font. Closes #109.
2681 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2683 reviewed by: Keith Packard <keithp@keithp.com>
2685 * doc/fontconfig-user.sgml:
2688 * fontconfig/fontconfig.h:
2689 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2690 (GetScriptTags), (FcFontCapabilities):
2692 Add detection for font capabilities (bug #105)
2694 2004-12-04 Keith Packard <keithp@keithp.com>
2697 Move existing fonts.conf to fonts.conf.bak
2700 Add detection of iconv
2702 * doc/fcpattern.fncs:
2703 * doc/fontconfig-devel.sgml:
2704 * doc/fontconfig-user.sgml:
2706 Document new selectfont elements
2709 Switch to UTF-8 in comment
2711 * fontconfig/fontconfig.h:
2713 Add fullname, and family/style/fullname language entries
2715 * src/fccache.c: (FcCacheFontSetAdd):
2716 * src/fcdir.c: (FcFileScanConfig):
2717 Respect selectfont/*/glob
2720 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2721 (FcConfigCompareValue), (FcConfigPatternsAdd),
2722 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2723 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2724 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2725 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2726 Add support for selectfont
2728 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2729 (FcStringInPatternElement), (FcFreeTypeQuery):
2730 Add multi-lingual family/style/fullname support
2732 * src/fclist.c: (FcListPatternMatchAny):
2733 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2735 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2736 (FcObjectStaticName):
2737 Add new FcPatternRemove/FcPatternAppend.
2738 FcObjectStaticName stores computed pattern element names which
2739 are required to be static.
2741 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2746 Remove spurious / after $(DESTDIR)
2748 2004-06-30 Keith Packard <keithp@keithp.com>
2752 * fontconfig/fontconfig.h:
2755 2004-06-30 Keith Packard <keithp@keithp.com>
2757 Provided by: Lubos Lunak <l.lunak@suse.cz>
2759 * src/fccfg.c: (FcConfigUptoDate):
2760 However FcConfigUptoDate() doesn't seem to work. See the attached
2761 patch. First there's an obvious misplaced parenthesis making it
2762 return always false, and second, even this call fails to detect font
2763 changes (e.g. adding a new font to
2764 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2765 well. The problem seems to be triggered by my fonts.conf specifying
2766 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2767 doesn't include subdirs, unlike config->fontDirs.
2769 2004-06-03 Keith Packard <keithp@keithp.com>
2771 * fontconfig/fontconfig.h:
2772 Remove comma at end of FcResult enum definition.
2774 2004-05-29 Keith Packard <keithp@keithp.com>
2777 Add steps to md5sum release
2779 2004-05-29 Keith Packard <keithp@keithp.com>
2783 * fontconfig/fontconfig.h:
2786 2004-05-29 Keith Packard <keithp@keithp.com>
2788 * fontconfig/fontconfig.h:
2789 * src/fcmatch.c: (FcFontSetMatch):
2790 Add FcResultOutOfMemory to provide an accurate error when
2791 FcFontSetMatch fails in this way
2794 Make #warning about lacking various FreeType features indicate
2795 which version those features appeared so users know how to
2796 fix the problem (Thanks to Anton Tropashko)
2798 2004-05-05 Keith Packard <keithp@keithp.com>
2800 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2801 Replace MIN/MAX/ABS macros which happen to have come
2802 from FreeType with fontconfig-specific ones (FC_*)
2804 2004-04-23 Keith Packard <keithp@keithp.com>
2807 Extend release preparation instructions to include
2808 notification and distribution steps
2810 2004-04-23 Keith Packard <keithp@keithp.com>
2814 * fontconfig/fontconfig.h:
2815 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2817 2004-04-23 Keith Packard <keithp@keithp.com>
2820 Ignore a few more autotool files
2822 2004-04-14 Keith Packard <keithp@keithp.com>
2825 Add instructions for doing a release
2827 * fontconfig.spec.in:
2828 clean up .spec file; perhaps this will be useful to somebody...
2832 * fontconfig/fontconfig.h:
2835 * fc-lang/fc-lang.c:
2836 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2838 * fc-glyphname/Makefile.am:
2839 * fc-lang/Makefile.am:
2840 * fc-list/Makefile.am:
2841 * fc-match/Makefile.am:
2843 Add WARN_CFLAGS to pass -W flags for GCC systems
2845 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2846 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2847 Change various char types around to match across
2849 Fixed bug in using available_sizes[i].height which
2850 is in pixels, not 64ths of a pixel.
2852 2004-03-06 Keith Packard <keithp@keithp.com>
2854 * src/fcfreetype.c: (FcFreeTypeQuery):
2855 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2856 matches looking for explicit values prefer exact matches
2858 2004-03-02 Keith Packard <keithp@keithp.com>
2860 Supplied by: mfabian@suse.de (Mike FABIAN)
2862 * src/fcfreetype.c: (FcFreeTypeQuery):
2863 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2864 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2866 2004-02-21 Manish Singh <yosh@gimp.org>
2868 * fc-glyphname/fc-glyphname.c: (main):
2869 Cast strlen to int for printf, so we're 64-bit clean.
2871 2004-02-11 Keith Packard <keithp@keithp.com>
2874 * src/fcfreetype.c: (FcGetPixelSize):
2875 Ok, so I messed up the test for y_ppem. Let's see if I
2876 got it right this time.
2878 2004-02-10 Keith Packard <keithp@keithp.com>
2881 * src/fcfreetype.c: (FcGetPixelSize):
2882 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2883 FT_Bitmap_Size record. Add a configure.in test for this
2884 and change the code accordingly (using height instead).
2886 2004-02-06 Keith Packard <keithp@keithp.com>
2889 Add Low Saxon orthography
2890 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2892 * src/fccfg.c: (FcConfigNewestFile):
2893 Oops. Left 'newest.set' unset, which would miscompute
2896 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2897 (FcFreeTypeCheckGlyph):
2898 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2899 font properties (which report the wrong value in current FreeType)
2901 Don't attempt to check for empty glyphs in non-scalable fonts; they
2904 2004-02-01 Tor Lillqvist <tml@iki.fi>
2906 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2907 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2908 cache if config->cache is NULL, which happens if FcConfigHome() is
2909 NULL. Guard against that by using the temp folder in that case.
2911 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2913 * fc-lang/az_ir.orth:
2914 * fc-lang/ku_ir.orth:
2915 * fc-lang/ps_af.orth:
2916 * fc-lang/ps_pk.orth:
2917 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2918 (Afghan and Pakistani).
2920 Updated Urdu orthography with real data.
2922 2003-12-11 Carl Worth <cworth@east.isi.edu>
2924 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2927 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2929 (all-local): Remove excessive whitespace.
2931 * autogen.sh: Add 'set -e' to abort when any program fails,
2932 (avoids printing of 'now type make' after configure aborts).
2934 2003-11-17 Eric Christopherson <rakko@charter.net>
2936 reviewed by: Keith Packard <keithp@keithp.com>
2939 * fontconfig/fcfreetype.h:
2941 Switch to FreeType 2.1.7 style includes. Bug #150.
2943 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2945 * fc-list/fc-list.sgml: Add some example usages.
2947 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2950 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2953 2003-10-27 Keith Packard <keith@keithp.com>
2956 * fontconfig/fontconfig.h:
2957 Update to version 2.2.92
2959 2003-10-27 Keith Packard <keithp@keithp.com>
2964 * fc-cache/Makefile.am:
2965 * fc-glyphname/Makefile.am:
2966 * fc-lang/Makefile.am:
2967 * fc-list/Makefile.am:
2968 * fc-match/Makefile.am:
2971 Yet more cleanups to finish getting 'make distcheck' working
2972 This has been tested to ensure that it even works from a _build
2975 2003-10-26 Keith Packard <keithp@keithp.com>
2979 * fc-cache/Makefile.am:
2980 * fc-glyphname/Makefile.am:
2981 * fc-lang/Makefile.am:
2982 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2983 * fc-list/Makefile.am:
2984 * fc-match/Makefile.am:
2985 Attempts to fix 'make distcheck' work. Things are
2986 progressing pretty well, but there are still failures
2987 long into the process dealing with docs (as always).
2989 The big changes here are mostly to make $(srcdir) != "."
2990 work correctly, fixing the docbook related sections and
2991 fc-lang were particularily tricky. Docbook refuses to load
2992 system entities from anywhere other than where the original .sgml
2993 file was located, so no luck looking in "." for the
2994 configure-generated version.sgml and confdir.sgml files.
2996 fc-lang needed help finding .orth files; added a -d option
2997 to set the directory as the least evil of many options.
2999 Now to go use a faster machine and try and wring out the last
3002 2003-10-26 Keith Packard <keithp@keithp.com>
3006 2003-10-26 Keith Packard <keithp@keithp.com>
3009 Include confdir.sgml.in in EXTRA_DIST
3011 2003-10-09 Josselin Mouette <joss@debian.org>
3013 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
3014 * fc-list/fc-list.sgml fc-list/Makefile.am:
3015 Replace fc-cache and fc-list manpages with more detailed, SGML
3018 2003-09-23 Owen Taylor <otaylor@redhat.com>
3020 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3021 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3022 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3025 2003-09-23 Owen Taylor <otaylor@redhat.com>
3027 * fc-lang/ka.orth: Remove Georgian capitals, they
3028 aren't used for normal writing. (Bug #116)
3030 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3032 * doc/fontconfig-devel.sgml:
3033 * doc/fontconfig-user.sgml:
3034 * fontconfig/fontconfig.h:
3036 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3037 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3039 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3040 monospace and dual-width fonts, allow roughly a 3% variance in the
3043 2003-08-31 Manish Singh <yosh@gimp.org>
3045 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3048 2003-08-15 Carl Worth <cworth@isi.edu>
3050 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3051 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3053 * src/fcpat.c (FcValueListEntDestroy): New function to support
3054 FcFini memory cleanup. Some statistics are not kept in
3056 (FcValueListFreeze): Move hashTable outside this function so it
3057 can be accessed by FcValueListThawAll.
3058 (FcValueListThawAll): New function complements FcValueListFreeze.
3059 (FcPatternBaseFreeze): Move hashTable outside this function so it
3060 can be accessed by FcPatternBaseThawAll.
3061 (FcPatternBaseThawAll): New function complements
3062 FcPatternBaseFreeze.
3063 (FcPatternThawAll): New function complements FcPatternFreeze.
3065 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3067 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3068 allocated FcCharLeafEnt "blocks" so they can be freed later.
3069 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3070 can be accessed by FcCharSetThawAllLeaf.
3071 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3072 (FcCharSetFreezeBase): Move hashTable outside this function so it
3073 can be accessed by FcCharSetThawAll.
3074 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3076 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3077 (FcConfigDestroy): Fic leak of FcBlanks.
3079 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3080 (main): Add call to FcFini when finished.
3082 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3083 static. Add prototypes.
3085 * doc/fcinit.fncs: Add documentation for FcFini function.
3087 * doc/edit-sgml.c: Mark several local functions as static. Add
3090 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3092 2003-06-15 Tor Lillqvist <tml@iki.fi>
3094 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3095 before comparing (needed on Windows).
3097 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3099 2003-06-13 Tor Lillqvist <tml@iki.fi>
3101 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3104 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3105 WINDOWSFONTDIR token.
3107 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3108 end, not to confuse libtool, which expects the EXPORTS line to be
3109 the first. Add FcConfigEnableHome.
3111 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3112 built as a DLL on Win32.
3114 2003-06-09 Keith Packard <keithp@keithp.com>
3116 * Tag version 2.2.90
3118 2003-06-09 Keith Packard <keithp@keithp.com>
3120 * Optimization in FcLangSetIndex was broken, occasionally
3121 returning a pointer to the wrong location on miss
3123 * Add fc-match to test font matching from the command line.
3125 2003-05-31 Keith Packard <keithp@keithp.com>
3127 * (Bug 85) add support for culmus fonts
3128 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3129 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3131 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3133 * Fix "contains" op for strings and langsets.
3135 2003-05-17 Keith Packard <keithp@keithp.com>
3137 * Fix build error with BDF prop local. Free langset after query
3139 2003-05-14 Keith Packard <keithp@keithp.com>
3141 * Extract spacing from XLFD atom
3143 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3145 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3146 disappeared in 1.30.
3148 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3150 2003-05-12 Keith Packard <keithp@keithp.com>
3152 * Use FcIsWidth to share code
3154 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3155 misclassifying some Han fonts as monospaced.
3157 2003-05-07 Keith Packard <keithp@keithp.com>
3159 * Add filename-based accept/reject to ammend available fonts.
3161 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3162 older FreeType releases.
3164 2003-05-06 Keith Packard <keithp@keithp.com>
3166 * Remove 0b82 and Tamil numbers from tamil
3167 orthography (Jungshik Shin <jshin@mailaps.org>)
3169 2003-05-04 Keith Packard <keithp@keithp.com>
3171 + Map glyph names in fonts with adobe custom encoding to unicode
3173 2003-05-02 Keith Packard <keithp@keithp.com>
3175 * Add FC_WEIGHT_BOOK as weight 75
3177 2003-04-30 Keith Packard <keithp@keithp.com>
3179 * Typo in bitstream foundry name
3181 2003-04-24 Keith Packard <keithp@keithp.com>
3183 * Eliminate italic_angle check for PS fonts
3185 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3187 * Getting closer to fixing /etc/fonts hard-coding.
3189 2003-04-22 Keith Packard <keithp@keithp.com>
3191 * Update autogen.sh to work with newer automake versions
3192 * Handle pattern elements moving during multiple edits
3194 2003-04-23 James Henstridge <james@daa.com.au>
3196 * doc/fontconfig-devel.sgml: close the <para> element.
3198 * doc/fcpattern.fncs: close the <para> element.
3200 * doc/func.sgml: close the <refsynopsisdiv> element.
3202 2003-04-22 Keith Packard <keithp@keithp.com
3204 * Update autogen.sh to work with newer automake versions
3205 * Handle pattern elements moving during multiple edits
3207 2003-04-17 Colin Walters <walters@debian.org>
3209 + Remove some unused variables, and initialize some other ones so
3210 gcc doesn't warn us.
3212 2003-04-16 Keith Packard <keithp@keithp.com>
3214 + tag version 2.1.94
3216 2003-04-16 Keith Packard <keithp@keithp.com>
3218 + add BDF property fetching support for foundry
3219 (from Juliusz Chroboczek)
3220 + add BDF property fetching support for width
3222 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3224 + Implemented foundry generation for Type 1 and TrueType
3226 2003-04-11 Gerard Escalante <g2@magestudios.net>
3228 + Retrieve information from Type1 FontInfo dictionaries
3230 2003-04-07 Colin Walters <walters@verbum.org>
3232 + src/Makefile.am: Fix dummy makefile target names when
3233 MS_LIB_AVAILABLE isn't set.
3235 2003-03-22 Tor Lillqvist <tml@iki.fi>
3237 Changes for Windows:
3239 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3241 + We don't want to hardcode the fonts.conf file location in the
3242 DLL, so we look up the DLL location at run-time in a DllMain()
3243 function. The fonts.conf location is deduced from that.
3245 + The colon can't be used as path separator on Windows,
3246 semicolon is used instead. File path components can be separated
3247 with either slash or backslash. Absolute paths can also begin
3248 with a drive letter.
3250 + Add internal function FcStrLastSlash that strrchr's the last
3251 slash, or backslash on Windows.
3253 + There is no link() on Windows. For atomicity checks, mkdir a
3254 lock directory instead.
3256 + In addition to HOME, also look for USERPROFILE.
3258 + Recognize the special font directory token WINDOWSFONTDIR, to
3259 use the system's font directory.
3261 + Remove the fontconfig-def.cpp that was obsolete. Add
3262 fontconfig.def(.in), without internal functions.
3264 + Add a fontconfig-zip(.in) script, used to build a binary
3267 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3268 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3269 to main package and man3/* to devel package
3271 + Added missing defattr(-, root, root) to main RPM package
3273 + Added HTML and text development documentation to -devel subpackage
3275 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3276 + Added back the configure macro options --disable-docs, otherwise
3277 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3278 version number) unconditionally, causing RPM to fail the build due
3279 to _unpackaged_files_terminate_build. We pick up the pregenerated
3280 docs with %doc already.
3282 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3283 + Removed commented out rpm macro define at top of spec file,
3284 replacing it with a simple explanation, since rpm macros are
3285 expanded by rpm even in comments.
3287 + Changed /usr/bin to _bindir in BuildRequires lines
3289 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3291 + Reorganized file manifest lists
3293 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3295 + fontconfig.spec.in: Improvements from Red Hat spec file.
3297 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3299 + docs/*.sgml: SGML fixes.
3301 Sat Mar 1 17:28:53 PST 2003 keithp
3302 + Ok, so the ChangeLog is a bit out of date
3304 + Lots of bugs fixed; most are in bugzilla, the
3305 biggest problems were in cache management where
3306 Owen discovered the library would lose badly when
3307 combining fonts-cache and ~/.fonts-cache data
3309 + Converted from autoconf to automake. This after
3310 getting patches accepted into libtool to allow
3311 the '-version-number' argument which lets
3312 packages set version numbers explicitly rather
3313 than the roundabout libtool way
3315 + Converted documentation to SGML using the docbook
3316 DTD. Now .txt and .html documents are installed
3317 in /usr/share/doc/fontconfig and there's no
3318 man page. Perhaps a man version can be written
3321 Sat Aug 31 15:21:22 PDT 2002 keithp
3322 + Xrender and Xft had several bugs related to
3323 rendering manually placed or poly-face text
3325 + Added more complete memory tracing in fontconfig
3326 Checked with (patched) mozilla and found no leaks
3328 + Updated Latin orthographies by comparing those from
3329 evertype.com with those from eki.ee. Tried to make
3330 sensible choices, including chars that occured in both
3331 and leaving some optional chars out that occured only
3334 Mon Aug 26 16:33:04 PDT 2002 keithp
3335 + Owen discovered that FcLangSetHasLang wasn't actually
3336 checking the language set.
3338 Mon Aug 26 13:37:23 PDT 2002 keithp
3339 + Append a version number to cache filenames
3341 Thu Aug 22 11:36:18 PDT 2002 keithp
3343 + Add "contains" and "not_contains" operators and elements to
3346 + Changed semantics of eq operator for LangSets to check for
3347 FcLangEqual so that any match will do
3349 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3350 of FcValueEqual to check for identical values when inserting into
3351 the results. This broke when the above semantic change was made,
3352 now it uses FcValueEqual which is "more correct" in any case.
3354 Thu Aug 22 00:32:29 PDT 2002 keithp
3356 + Reimplement FC_LANG as new datatype. Lists of strings
3357 was consuming over a megabyte of memory for 401 fonts.
3359 + Freeze patterns loaded from cache files. This shares
3360 common value lists and common patterns which saves
3361 considerable memory.
3363 + Change the denotation of 'constant' charsets to use special
3364 ref value instead of separate boolean.
3366 + Clean up leak tracing stuff, found several unannoted alloc/free
3369 Tue Aug 20 16:17:37 PDT 2002 keithp
3371 + Fix memory leak when parsing matrices from XML
3373 Mon Aug 19 11:57:27 PDT 2002 keithp
3375 + Fix autoconf files to pass FONTCONFIG_PATH on
3376 compile line so that ${prefix} gets substituted
3379 + Use getc_unlocked/putc_unlocked on systems that
3380 provide them to avoid damage done to stdio by posix
3382 + Eliminate FC_PATTERN and FcTypePattern in favor of
3383 an extended api for FcConfigSubstitute which takes
3384 both the font and the pattern.
3386 + Add 'sans serif' alias for 'sans-serif' as some apps
3387 can't handle hyphens in family names
3389 + Eliminate pretense of support for libxml2
3391 + Comment origins of Han orthographies
3393 Tue Jul 30 18:37:09 PDT 2002 keithp
3395 + Add binding property to edit element so that strong
3396 binding values may be inserted by the config file.
3397 The default remains weak.
3399 Sun 28 Jul 04:16:55 PDT 2002 keithp
3401 + Tagged release candidate 1 in the CVS tree and
3402 placed fcpackage.rc1.tar.gz for distribution
3404 Thu Aug 1 08:55:08 PDT 2002 keithp
3406 + Fixed autoconf builds to always specify install
3407 target files (for BSD). Also fixed to
3408 define FONTCONFIG_PATH in config.h so that
3409 nonstandard installs will actually work.