1 2006-04-20 Patrick Lam <plam@mit.edu>
5 * fontconfig/fontconfig.h:
7 Bump version to 2.3.95.
9 2006-04-20 Patrick Lam <plam@mit.edu>
10 * src/fcmatch.c (FcSortWalk):
12 Prevent terrible perf regression by getting the if-condition
13 right (reported by Wouter Bolsterlee).
15 2006-04-19 Patrick Lam <plam@mit.edu>
16 Dominic Lachowicz <cinamod@hotmail.com>
18 * src/fccache.c (FcDirCacheConsume):
20 Implement mmap-like code for Windows using MapViewOfFile.
22 2006-04-19 Patrick Lam <plam@mit.edu>
23 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
25 Bail gracefully if the cache file does not contain enough data.
27 2006-04-14 Patrick Lam <plam@mit.edu>
30 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
32 2006-04-14 Patrick Lam <plam@mit.edu>
33 * src/fcname.c (FcObjectToPtrLookup):
35 Fix Gecko-exposed segfault from my last hack to
36 FcObjectToPtrLookup. Simplify code and get things straight.
38 2006-04-14 Patrick Lam <plam@mit.edu>
41 Actually, just add URW fonts as aliases for all of the PostScript
42 fonts. (reported by Miguel Rodriguez).
44 2006-04-13 Patrick Lam <plam@mit.edu>
47 Add an alias 'Standard Symbols L' for 'Symbol'.
49 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
52 * src/fcpat.c: (FcPatternFreeze):
53 Fix memory leak (Coverity defect #2089).
55 * src/fcfreetype.c: (GetScriptTags):
56 Ignore script if subtable is missing (Coverity defect #2088).
58 2006-04-12 Patrick Lam <plam@mit.edu>
59 * src/fccfg.c (FcConfigSubstituteWithPat):
61 Fix possible null pointer dereference (Coverity defect #784)
62 and memory leak (Coverity defects #785, #786).
64 2006-04-12 Patrick Lam <plam@mit.edu>
65 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
67 Don't copy FcCharSet if we're going to throw it away anyway.
68 (Reported by Kenichi Handa).
70 2006-04-11 Ming Zhao <ming@gentoo.org>
73 * src/fcname.c (FcObjectToPtrLookup):
75 Fix bad behaviour on realloc resulting in crash.
77 2006-04-11 Patrick Lam <plam@mit.edu>
78 * src/fccache.c (FcGlobalCacheReadDir):
80 Don't crash if config is null (Coverity defect #984).
82 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
85 * src/fccharset.c (FcCharSetPutLeaf):
86 * src/fclang.c (FcNameUnparseLangSet):
88 Missing bits from previous patches.
90 * src/fccharset.c (FcCharSetSubtractCount):
91 Remove extra semi-colon.
93 * src/fccfg.c (FcConfigBuildFonts):
94 Fix memory leak in error case (Coverity defects #776, #985).
96 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
97 Fix memory leaks (Coverity defects #779, #781)
98 and memory use after free (Coverity defect #780).
100 2006-04-11 Patrick Lam <plam@mit.edu>
101 * src/fccharset.c (FcCharSetPutLeaf):
103 Properly convert static charsets to dynamic charsets.
105 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
108 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
110 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
112 * src/fclang.c: (FcNameUnparseLangSet):
113 Fix memory leak (Coverity defect #1819).
115 * fc-lang/fc-lang.c: (scan):
116 prevent crash when invalid include line is parsed (Coverity defect
119 * fc-cat/fc-cat.c: (FcCacheFileRead):
120 Fix potential null pointer access (Coverity defect #1804).
122 * src/fcname.c: (FcObjectUnserialize):
123 Remove dead code (Coverity defect #1194).
125 * src/fcfreetype.c: (GetScriptTags):
126 Prevent potential null pointer access (Coverity defect #767),
127 ensure error value is read (Coverity defect #1195).
129 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
134 Survive missing docbook2pdf.
136 2006-04-10 Patrick Lam <plam@mit.edu>
138 * fc-glyphname/fc-glyphname.c:
141 Include more stub definitions to make HP-UX's C compiler happy.
143 2006-04-10 Patrick Lam <plam@mit.edu>
144 * src/fcname.c (FcObjectUnserialize):
146 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
148 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
151 * src/fccfg.c: (FcConfigEvaluate):
152 Fix string memory leak (Coverity defect #1823).
154 * src/fccache.c: (FcDirCacheUnlink):
155 Fix memory leak with hash collision (Coverity defect #1824).
157 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
160 * src/fccache.c: (FcGlobalCacheSave):
161 Don't leak header in non-error case (Coverity defect #1825).
163 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
166 * src/fcdir.c (FcDirScanConfig)
167 Don't leak in error cases (Coverity defects #777, #1826)
169 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
172 * src/fccache.c: (FcDirCacheWrite):
173 Fix double free (spotted by Coverity, CID #1965).
175 * fc-match/fc-match.c: (main):
176 Check if pattern is not null before using it (Coverity defect #1883).
178 * src/fccache.c: (FcDirCacheWrite):
179 Fix memory leak with hash collision (Coverity defect #1829).
181 * src/fccfg.c: (FcConfigBuildFonts):
182 Fix memory leak when bail cases (Coverity defect #1828).
184 * src/fccache.c: (FcGlobalCacheLoad):
185 Don't leak directory name (Coverity defect #1827).
187 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
189 * fc-cache/Makefile.am:
190 * fc-cat/Makefile.am:
191 * fc-list/Makefile.am:
192 * fc-match/Makefile.am:
194 LD_ADD missing dependencies for binaries. Reported by
197 2006-04-07 Patrick Lam <plam@mit.edu>
199 * fc-lang/fc-lang.c (main):
201 SGI compilation fixes (reported by Christoph Bauer):
202 1) reorder union definition of _FcChar;
205 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
208 * src/fccharset.c (FcCharSetNeededBytes):
209 * src/fcfs.c (FcFontSetNeededBytes):
211 * src/fclang.c (FcLangSetNeededBytesAlign):
212 * src/fcname.c (FcObjectNeededBytesAlign):
213 * src/fcpat.c (FcPatternNeededBytesAlign,
214 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
216 Portability fixes for HP-UX (reported by Christoph Bauer).
217 Replace '__inline__' by AC_C_INLINE and 'inline'.
218 Replace '__alignof__' by 'fc_alignof'.
220 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
224 Move up #include of config.h.
225 Fail if neither inttypes.h nor stdint.h is available.
228 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
229 Patrick Lam <plam@mit.edu>
231 * fc-cache/fc-cache.c:
233 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
234 FcDirCacheConsume, FcDirCacheProduce,
235 FcDirCacheWrite, FcCacheMachineSignature):
236 * src/fcfreetype.c (FcFreeTypeQuery):
237 * src/fontconfig.def.in:
239 Make fontconfig compile under MinGW:
240 1) remove unneeded #includes;
241 2) make use of mmap and sysconf conditional;
242 3) replace rand_r by srand/rand if needed;
243 4) use chsize instead of ftruncate; and
244 5) update libtool exports file
246 2006-04-07 Patrick Lam <plam@mit.edu>
247 * src/fcdir.c (FcDirScanConfig):
251 2006-04-06 Patrick Lam <plam@mit.edu>
252 * fc-match/.cvsignore:
253 * fc-match/Makefile.am:
254 * fc-match/fc-match.sgml:
256 Update documentation for fc-match (SGML-ize it).
257 (reported by Ilya Konstantinov)
259 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
265 Reduce amount of dirty rss by const'ing some data structures.
267 2006-04-06 Patrick Lam <plam@mit.edu>
268 * fc-cache/Makefile.am:
270 Don't fail if we can't create or remove
271 $(pkgcachedir) i.e. /var/cache/fontconfig.
272 (reported by Quanah Gibson-Mount).
274 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
277 * fc-glyphname/fc-glyphname.c:
278 * fc-lang/fc-lang.c (main):
279 * fc-match/fc-match.c:
280 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
282 * src/fcfreetype.c (FcFreeTypeQuery):
283 * src/fclang.c (FcFreeTypeLangSet):
286 Fix intel compiler warnings: make many variables static,
287 eliminate duplicate names, reduce variable scopes, unsigned/signed
290 2006-03-24 Mike Fabian <mfabian@suse.de>
292 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
294 Fix multiarch support (don't destroy multiarch files!)
296 2006-03-24 Patrick Lam <plam@mit.edu>
299 Require pkg-config. (Thanks Behdad;
300 better solution wanted for libxml2 detection!)
302 2006-03-22 Patrick Lam <plam@mit.edu>
305 On Windows, unlink before rename. Reported by Tim Evans.
307 2006-03-15 Patrick Lam <plam@mit.edu>
311 Fix typos in orth files. Reported by Denis Jacquerye.
313 2006-03-08 Patrick Lam <plam@mit.edu>
315 * config/config.guess:
318 Fix Makefile.am for removal of debian/ directory.
320 2006-03-08 Patrick Lam <plam@mit.edu>
323 Ignore debian/ directory for CVS.
325 2006-03-08 Patrick Lam <plam@mit.edu>
328 Now remove debian/ directory.
330 2006-03-08 Patrick Lam <plam@mit.edu>
333 Remove debian/ directory from sources. See Debian's subversion
334 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
337 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
341 * fc-lang/iso639-1, fc-lang/iso639-2:
343 Add orthography for Lingala.
345 2006-03-08 Carl Worth <cworth@cworth.org>
348 * conf.d/Makefile.am:
349 * conf.d/10LohitGujarati.conf:
351 Add a configuration file that disables hinting for the Lohit
352 Gujarati font (since the hinting distort some glyphs quite badly).
354 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
357 * src/fcdir.c (FcDirScanConfig):
359 Sort directory entries while scanning them from disk;
360 prevents Heisenbugs due to file ordering in a directory.
362 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
365 * src/fcfreetype.c (GetScriptTags):
366 * src/ftglue.c, src/ftglue.h:
368 Remove stuff we don't use, make get_{char,short,long} functions
369 of ftglue macros to be inlined.
372 * src/fcname.c (FcObjectSerialize):
374 Code cleanups (excess prototype, old-style function definition).
376 2006-03-05 Patrick Lam <plam@mit.edu>
377 * src/fcpat.c (FcPatternGetString):
379 Because we hacked FcPatternGet, we don't really need to expand the
380 filename again in FcPatternGetString.
382 2006-03-05 Patrick Lam <plam@mit.edu>
383 * src/fcpat.c (FcPatternGetString, FcPatternGet):
385 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
386 Make that work. Reported by Bernhard Rosenkraenzer.
388 2006-03-03 Patrick Lam <plam@mit.edu>
391 Include inttypes.h instead of stdint.h if appropriate.
393 2006-03-03 Patrick Lam <plam@mit.edu>
394 * fc-cat/fc-cat.c (FcFileIsDir):
395 * fc-glyphname/fc-flyphname.c:
397 More stub definitions and remove FcFileIsDir from fc-cat.
399 2006-03-03 Patrick Lam <plam@mit.edu>
402 Fix compilation on AIX with stub definitions (bug 6097).
404 2006-03-03 Patrick Lam <plam@mit.edu>
405 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
406 * src/fcfreetype.c (GetScriptTags):
407 * src/fcfs.c (FcFontSetDistributeBytes):
408 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
410 Get rid of C++-style comments.
412 2006-03-03 Patrick Lam <plam@mit.edu>
415 Enable creation of 2.3.94 Debian packages.
417 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
420 * src/fclang.c (FcCharSetForLang):
422 Fix suspicious return expression which causes junk
425 2006-02-24 Patrick Lam <plam@mit.edu>
429 * fontconfig/fontconfig.h:
431 Bump version to 2.3.94.
433 2006-02-24 Patrick Lam <plam@mit.edu>
438 2006-02-24 Patrick Lam <plam@mit.edu>
439 * conf.d/10-fonts-persian.conf:
441 Remove unconditional emboldening (per Behdad's instructions).
445 Add @s to hide some echos.
447 2006-02-24 Mike Fabian <mfabian@suse.de>
448 Takashi Iwai <tiwai@suse.de>
451 * src/fcfreetype.c (GetScriptTags):
453 Fix double-free on error case.
455 2006-02-21 Patrick Lam <plam@mit.edu>
456 * fc-lang/fc-lang.c (scan):
458 Strip \r and whitespace from input; fixes bug 3454.
460 2006-02-21 Patrick Lam <plam@mit.edu>
461 * fc-lang/fc-lang.c (main):
463 Allocate large arrays statically in fc-lang to fix crashes under
466 2006-02-21 Diego Petten <flameeyes@gentoo.org>
467 * src/fcfreetype.c (FcFreeTypeCharIndex):
469 Pass the buck; make fontconfig not crash on pango badness.
471 2006-02-21 Patrick Lam <plam@mit.edu>
472 * conf.d/10-fonts-persian.conf:
474 Use embeddedbitmap rather than rh_prefer_bitmap.
476 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
479 * src/fccache.c (FcDirCacheWrite):
480 * src/fcdir.c (FcFileScanConfig):
481 * src/fcfreetype.c (FcStringInPatternElement):
482 * src/fcxml.c (FcParseFamilies):
483 * src/ftglue.c (ftglue_face_goto_table):
485 Eliminate redundancies.
487 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
490 * fc-list/fc-list.c (main):
491 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
492 * src/fcstr.c (FcStrStr):
493 * src/fcxml.c (FcConfigSaveAttr):
495 Eliminate unused vars reported by Intel's compiler.
497 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
502 Remove one more archaic character.
504 2006-02-21 Ross Burton <ross@burtonini.com>
505 reviewed by: plam, keithp
507 * src/fcxml.c (FcParsePatelt):
509 Freeze patterns created by configuration file for tiny
510 memory savings (every little bit helps).
512 2006-02-21 Mike Fabian <mfabian@suse.de>
515 * fc-cat/fc-cat.c (main):
517 Initialize fontconfig library in fc-cat to avoid segfault.
519 2006-02-18 Patrick Lam <plam@mit.edu>
520 * fc-cache/fc-cache.c (scanDirs):
521 * src/fccache.c (FcCacheReadDirs):
522 * src/fcdir.c (FcDirScanConfig):
524 Fix the underlying cause of the below segfault (must usually
525 call FcDirCacheHasCurrentArch after FcDirCacheValid).
527 2006-02-18 Patrick Lam <plam@mit.edu>
528 * src/fccache.c (FcDirCacheHasCurrentArch):
530 Fix triggering of segfault caused by misreading cache files
531 (reported by fcrozat).
533 2006-02-17 Patrick Lam <plam@mit.edu>
534 * src/fcint.h (FC_CACHE_MAGIC):
536 Bump up magic version; we changed the binary format.
538 2006-02-17 Patrick Lam <plam@mit.edu>
539 * fc-cat/fc-cat.c (main):
541 Enable fc-cat to print out old-style cache info when given a
544 2006-02-16 Patrick Lam <plam@mit.edu>
545 * src/fccache.c (FcDirCacheHasCurrentArch):
547 Deal correctly with changing FC_CACHE_MAGIC.
549 2006-02-16 Patrick Lam <plam@mit.edu>
550 * fc-cache/fc-cache.c (usage, scanDirs, main):
552 Add -r --really-force option which blows away cache files and then
555 2006-02-16 Patrick Lam <plam@mit.edu>
556 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
558 Don't bail if fontconfig can't remove a dir cache file.
559 Skip the ID of a cache file when copying.
560 Eliminate 'source file too small' bug in FcDirCacheWrite.
562 2006-02-13 Patrick Lam <plam@mit.edu>
563 * src/fcfreetype.c (FcFreeTypeQuery):
565 Fix memory leak in error condition code.
567 2006-02-13 Mike Fabian <mfabian@suse.de>
569 * src/fcfreetype.c (FcFreeTypeQuery):
571 Skip bitmap fonts which can't even get it together enough to
572 declare a family name; this appears to reproduce previous
573 fontconfig behaviour.
575 2006-02-10 Takashi Iwai <tiwai@suse.de>
577 * src/fccache.c (FcDirCacheOpen):
579 Try to open /var/cache/fontconfig/[hashed name] before
580 fonts.cache-2 in a directory, because /var/cache/fontconfig
581 failures ought to be fixable, unlike fonts.cache-2 failures,
582 which may leave you screwed.
584 2006-02-10 Takashi Iwai <tiwai@suse.de>
586 * src/fcmatch.c (FcFontSetMatch):
588 Use a tri-state to mark the fonts which didn't get blocked but
589 were just missing an element, to distinguish them from the
590 fonts that do match the element.
592 2006-02-10 Takashi Iwai <tiwai@suse.de>
594 * src/fcmatch.c (FcFontSetMatch):
596 Don't kill fonts because they don't declare an element that's
599 2006-02-09 Patrick Lam <plam@mit.edu>
600 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
601 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
603 Define and pass O_BINARY to open if appropriate, for those
604 platforms that need it. Reported by Doodle.
606 2006-02-09 Patrick Lam <plam@mit.edu>
607 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
610 Fix problem with missing 'en' due to euro.patch: change
611 cache file format slightly to coincide with that generated
614 2006-02-07 Patrick Lam <plam@mit.edu>
615 * src/fccache.c (FcCacheReadDirs):
619 2006-02-07 Patrick Lam <plam@mit.edu>
620 * src/fcdir.c (FcDirScanConfig):
622 Don't reject dirs that can't be normalized (fixes lilypond, and
623 is correct in the context of application font directories.)
625 2006-02-07 Takashi Iwai <tiwai@suse.de>
628 * src/fccache.c (FcCacheReadDirs):
630 Use normalized directory name exclusively in FcCacheReadDirs.
632 2006-02-07 Dirk Mueller <dmueller@suse.com>
635 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
637 Perf optimizations. Inline FcValueCanonicalize,
638 reduce FcValueListPtrU usage, remove redundant cast.
640 2006-02-07 Takashi Iwai <tiwai@suse.de>
643 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
646 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
647 Declare extern for static arrays as arrays, not pointers.
648 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
650 2006-02-07 Dirk Mueller <dmueller@suse.com>
663 Add Euro sign to list of symbols required by European languages.
665 2006-02-07 Patrick Lam <plam@mit.edu>
666 * src/fccache.c (FcCacheReadString):
668 Fix hidden variable warning.
670 2006-02-07 Dirk Mueller <dmueller@suse.com>
673 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
675 Remove de-escaping logic because FcCacheWriteString
676 doesn't escape anyway. Do blockwise reading instead
677 of byte-wise for performance.
679 2006-02-06 Patrick Lam <plam@mit.edu>
680 Takashi Iwai <tiwai@suse.de>
682 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
684 Don't loop infinitely on recursive symlinks (client-side).
686 2006-02-06 Takashi Iwai <tiwai@suse.de>
688 * fc-cache/fc-cache.c (scanDirs, main):
690 Don't loop infinitely on recursive symlinks.
692 2006-02-06 Takashi Iwai <tiwai@suse.de>
694 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
695 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
696 FcGlobalCacheSave, FcCacheReadDirs):
699 Skip subdirs when skipping over stale bits of global cache.
700 Introduce state machine into FcGlobalCacheDir to avoid
701 doing inappropriate operations on global dir entries, e.g.
702 writing out an out-of-date cache entry.
704 2006-02-06 Takashi Iwai <tiwai@suse.de>
706 * src/fcdir.c (FcFileScanConfig):
708 Hoist FcFileIsDir check out of FcFileScanConfig loop.
710 2006-02-06 Takashi Iwai <tiwai@suse.de>
713 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
714 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
716 Don't rescan when trying to normalize a non-declared font dir.
717 Don't add font dirs multiple times (even if they're aliased).
719 2006-02-06 Dirk Mueller <dmueller@suse.de>
722 * src/fcfs.c (FcFontSetUnserialize):
724 Explain apples/oranges comparison and fix compilation error.
726 2006-02-06 Dirk Mueller <dmueller@suse.de>
729 * src/fcfs.c (FcFontSetUnserialize):
731 Insert check for integer overflow in # of fonts.
733 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
737 * fc-cache/Makefile.am:
738 * fc-cat/Makefile.am:
739 * fc-list/Makefile.am:
741 Make 'make distcheck' work with automake 1.6.3.
743 2006-02-03 Takashi IWAI <tiwai@suse.de>
746 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
749 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
750 FcDirCacheConsume, FcDirCacheWrite)
751 * src/fcxml.c (FcConfigMessage):
753 Check I/O call return values and eliminate unused variable
756 2006-02-03 Takashi Iwai <tiwai@suse.de>
759 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
763 2006-02-03 Dirk Mueller <dmueller@suse.de>
766 * src/fcfs.c (FcFontSetUnserialize):
768 Gracefully handle the case where a cache asserts that it
769 has a negative number of fonts, causing overflow.
771 2006-02-03 Patrick Lam <plam@mit.edu>
772 * src/fccache.c (FcDirCacheUnlink):
774 Fix double free in error case.
776 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
777 Stephan Kulow <coolo@suse.de>
780 * fc-cache/Makefile.am:
782 Replace 'stamp' target with mkinstalldirs.
784 2006-01-31 Mike Fabian <mfabian@suse.de>
787 * src/fccache.c (FcGlobalCacheLoad):
789 Toast broken global cache files.
791 2006-01-30 Patrick Lam <plam@mit.edu>
792 * src/fccache.c (FcGlobalCacheReadDir):
794 Actually use the directories that I added to the global cache.
797 2006-01-30 Mike Fabian <mfabian@suse.de>
800 * fc-cache/fc-cache.c (scanDirs):
802 Don't stop scanning if a directory in fonts.conf doesn't
803 exist, because subsequent directories might exist.
805 2006-01-30 Patrick Lam <plam@mit.edu>
806 * src/fccache.c (FcGlobalCacheLoad):
808 Make global cache work again after putting dir names into global
809 cache (I misplaced the recording of a file offset).
811 2006-01-30 Patrick Lam <plam@mit.edu>
812 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
814 Update fc-cat to handle subdir lists in global cache file.
816 * src/fccache.c (FcGlobalCacheLoad):
818 Another FcCacheReadString return value check.
820 2006-01-30 Mike Fabian <mfabian@suse.de>
823 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
824 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
826 Make fccache more resilient to broken cache files by checking
827 return value of FcCacheReadString all the time.
829 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
832 * fc-match/fc-match.1:
833 * fc-lang/fc-lang.man:
835 Remove references to dead fontconfig(3) manpages in
836 other fontconfig manpages.
838 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
841 * doc/fcpattern.fncs:
843 Fix world's tiniest typo in code example.
845 2006-01-29 Mike Fabian <mfabian@suse.de>
848 * src/fccache.c (FcGlobalCacheReadDir):
850 Fix global cache reads of subdirectories.
852 2006-01-29 Patrick Lam <plam@mit.edu>
854 Add documentation for FcConfigNormalizeFontDir.
856 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
857 FcGlobalCacheUpdate, FcGlobalCacheSave):
858 * src/fcdir.c (FcDirScanConfig):
861 Write directory information to global caches to fix make check
862 (reported by Ronny V. Vindenes). This changes the global cache
865 2006-01-27 Patrick Lam <plam@mit.edu>
866 * fc-cache/fc-cache.c (scanDirs):
867 * fontconfig/fontconfig.h:
869 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
871 Move FcConfigNormalizeFontDir call so that it doesn't result in
872 infinite recursion (reported by Ronny V. Vindenes).
874 2006-01-26 Patrick Lam <plam@mit.edu>
875 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
876 * src/fccfg.c (FcConfigNormalizeFontDir):
878 Add a couple of missing normalizations to make fc-cache work
879 right; only scan subdirectories once.
881 2006-01-26 Mike Fabian <mfabian@suse.de>
884 * src/fcacache.c (FcGlobalCacheReadDir):
886 Don't crash on non-existant directories in global cache.
888 2006-01-26 Patrick Lam <plam@mit.edu>
889 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
890 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
891 * src/fcdir.c (FcDirScanConfig):
892 * src/fcxml.c (FcEndElement):
894 Stop trampling the directory name when writing out caches.
895 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
896 subdirs when necessary. Don't scan directories that can't be
899 2006-01-25 Patrick Lam <plam@mit.edu>
900 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
901 * src/fccfg.c (FcConfigEvaluate):
902 * src/fcfreetype.c (FcPatternAddWithBinding):
904 Fix additional memory leaks reported by Ronny V. Vindenes: don't
905 invoke FcValueSave on hashed static strings in
906 FcPatternAddWithBinding.
908 Add another st_dev check in FcDirCacheOpen.
910 2006-01-24 James Su <james.su@gmail.com>
913 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
914 * fc-lang/zh_hk.orth:
916 Treat zh-hk fonts differently from zh-tw fonts. This patch may
917 cause fontconfig to treat A-X fonts differently from A-Y fonts;
918 please mail the fontconfig list if this causes any problems.
920 2006-01-24 Patrick Lam <plam@mit.edu>
921 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
922 * src/fcfreetype.c (FcFreeTypeQuery):
924 Fix memory leaks reported by Ronny V. Vindenes.
926 2006-01-19 Andreas Schwab <schwab@suse.de>
929 * src/fcpat.c (FcStrNeededBytes):
931 Fix for unaligned memory accesses.
933 2006-01-18 Mike Fabian <mfabian@suse.de>
936 * src/fcdir.c (FcDirScanConfig):
938 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
939 calls to avoid crashes.
941 2006-01-14 Patrick Lam <plam@mit.edu>
942 * src/fccache.c (FcDirCacheConsume):
944 Fix segfault when consuming zero-length caches in fc-cat
945 (which has no config, so FcConfigAddFontDir shouldn't be called.)
947 2006-01-14 Patrick Lam <plam@mit.edu>
948 * fc-cache/fc-cache.c (scanDirs):
949 * fontconfig/fontconfig.h:
950 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
951 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
952 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
953 * src/fcdir.c (FcDirScanConfig):
956 Compare device numbers as well as inodes.
957 Always normalize directory names before comparing them.
959 2006-01-11 Mike Fabian <mfabian@suse.de>
962 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
964 Allocate extra space for appended '/' in directory name.
966 2006-01-10 Patrick Lam <plam@mit.edu>
967 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
968 FcDirCacheValid, FcDirCacheHasCurrentArch,
969 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
970 * fc-cache/fc-cache.c (main):
972 Explicitly add font dirs to config.fontDirs even if they're empty.
973 Set current config in fc-cache.c.
974 Fix treatment of cache directory as read from cache file; don't
975 use string equality to determine if we have the right file,
978 2006-01-09 Patrick Lam <plam@mit.edu>
979 * fc-cache/fc-cache.c (scanDirs):
980 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
981 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
982 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
983 * src/fccfg.c (FcConfigNormalizeFontDir):
984 * src/fcdir.c (FcDirScanConfig):
987 Normalize font dirs by using the form, as given in fonts.conf, and
988 recorded in FcConfig's fontDirs string set, as canonical.
990 Actually update config.fontDirs as font directories are scanned.
992 2006-01-08 James Su <james.su@gmail.com>
993 * src/fcmatch.c (FcFontSetMatch):
995 Fix matching bug when multiple elements match; don't use
996 the sum of all scores, but the best score.
998 Also more perf opts, e.g. evaluate best over all font sets
999 rather than on a per-set basis (and other changes).
1001 2006-01-08 Patrick Lam <plam@mit.edu>
1002 * src/fccache.c (FcDirCacheConsume):
1004 Properly skip past dir caches that contain zero fonts (as occurs
1005 in global caches.) Reported by Mike Fabian.
1007 2006-01-06 Patrick Lam <plam@mit.edu>
1008 * src/fcdbg.c (FcPatternPrint):
1010 Print out full pathname in fc-match -v as well. Reported by
1013 2006-01-06 Mike Fabian <mfabian@suse.de>
1016 * src/fcname.c (FcNameParse):
1018 Fix bug where fc-match crashes when given __DUMMY__ property to
1021 (I added the __DUMMY__ string to enable callers of
1022 FcObjectToPtrLookup to distinguish an error return from a
1023 successful return. -PL)
1025 2006-01-05 Patrick Lam <plam@mit.edu>
1028 Add self to AUTHORS list.
1030 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1031 FcCacheFileRead, FcCachePrintSet, main):
1032 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1033 FcGlobalCacheSave, FcCacheNextOffset,
1034 FcDirCacheHasCurrentArch, FcDirCacheRead,
1035 FcDirCacheConsume, FcDirCacheWrite):
1037 * src/fcpat.c (comment):
1039 Minor change to global cache file format to fix fc-cat bug
1040 reported by Frederic Crozat, and buglet with not globally caching
1041 directories with zero fonts cached.
1043 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1046 * src/fccfg.c (FcConfigEvaluate):
1048 Fix double-free which occurs because FcValueCanonicalize doesn't
1049 create an extra copy of the returned value, it only canonicalizes
1052 2006-01-02 Patrick Lam <plam@mit.edu>
1053 * doc/fontconfig-user.sgml:
1055 Fix version of .cache file (currently 1 -> currently 2). Reported
1058 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1061 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1063 Shut up GCC warnings on amd.
1065 2005-12-20 Patrick Lam <plam@mit.edu>
1069 * fontconfig/fontconfig.h:
1071 Bump version to 2.3.93.
1073 2005-12-20 Patrick Lam <plam@mit.edu>
1074 * src/fccharset.c (FcLangCharSetPopulate):
1075 * src/fcint.h (FcCacheBankToIndex):
1077 Avoid check on _fcBankId nullness and fix case where it used to
1080 2005-12-20 Patrick Lam <plam@mit.edu>
1081 * src/fcxml.c (FcConfigParseAndLoad):
1083 Use open instead of fopen (requested by Phil Race for Sun).
1085 2005-12-20 Patrick Lam <plam@mit.edu>
1086 * src/fccache.c (FcDirCacheWrite);
1087 * fc-cache/Makefile.am:
1089 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1092 2005-12-20 Patrick Lam <plam@mit.edu>
1093 * src/fcfreetype.c (FcFreeTypeQuery):
1095 Restore code to skip over PCF fonts that have no encoded
1097 (We guess that a font is PCF by presence of the PIXEL_SIZE
1100 2005-12-12 Patrick Lam <plam@mit.edu>
1101 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1103 Read and write the original location as a fallback for the
1104 hashed cache file locations. This is mostly for users to be
1105 able to have per-directory cache files.
1107 2005-12-12 Patrick Lam <plam@mit.edu>
1108 * fc-cache/fc-cache.c (scanDirs):
1109 * fc-cache/Makefile.am:
1110 * src/fccache.c (FcDirCacheHashName):
1112 Improve error message when fc-cache can't write the cache. Add
1113 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1114 create /var/cache/fontconfig when appropriate.
1116 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1119 * src/fcxml.c (FcConfigGetAttribute):
1121 Fix crash reported by Frederic Crozat when using libxml2.
1123 2005-12-09 Patrick Lam <plam@mit.edu>
1126 * fc-cache/Makefile.am:
1127 * fc-cat/Makefile.am:
1129 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1130 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1131 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1132 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1133 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1134 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1136 Migrate cache files from fonts directories to
1137 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1138 but requires that all caches get rebuilt.
1140 Also, autogen.sh now needs the additional parameter
1141 --localstatedir=/var.
1143 2005-12-07 Patrick Lam <plam@mit.edu>
1144 * src/fcpat.c (FcPatternAddString):
1146 Because we've changed FcPatternAddString to use FcStrStaticName
1147 and not FcValueSave, explicitly handle the case of a null string.
1149 2005-12-06 Patrick Lam <plam@mit.edu>
1150 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1154 2005-12-05 Patrick Lam <plam@mit.edu>
1155 * src/fcname.c (FcNameGetObjectType):
1157 Don't assign types to user object names.
1159 2005-12-05 Patrick Lam <plam@mit.edu>
1160 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1162 Don't free strings that have been returned from FcStrStaticName.
1164 2005-12-01 Patrick Lam <plam@mit.edu>
1165 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1167 Add codepath for reading global cache files as well.
1169 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1172 * conf.d/10-fonts.persian.conf:
1173 * conf.d/Makefile.am:
1175 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1177 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1180 * src/fcxml.c (FcConfigParseAndLoad):
1182 Only add a config file to the set of config files once.
1184 2005-11-29 Patrick Lam <plam@mit.edu>
1185 * src/fcint.h (FcCacheBankToIndex);
1187 Fix segfault by guarding array dereference.
1189 2005-11-29 Dirk Mueller <dmueller@suse.de>
1192 * fc-lang/fc-lang.c:
1193 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1194 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1198 Refactor FcCacheBankToIndex into an inlineable part
1199 (in fcint.h) which checks the front of the list and a
1200 non-inlineable part which finds and moves the appropriate element
1201 to the front of the list.
1203 2005-11-29 Patrick Lam <plam@mit.edu>
1204 * src/fccfg.c (FcConfigBuildFonts):
1205 * src/fccache.c (FcCacheReadDirs):
1207 Make the perf guys hate me a bit less: hoist the directory-name
1208 FcConfigAcceptFont check for cached fonts up to directory cache
1209 read time, rather than running it for each font.
1211 2005-11-29 Patrick Lam <plam@mit.edu>
1212 * src/fccfg.c (FcConfigBuildFonts):
1214 * src/fcpat.c (FcPatternFindFullFname):
1216 Don't make FcPatternFindFullFname available to fccfg, it's not
1217 really safe. Instead go through FcPatternGetString (sorry,
1218 perf guys.) Also, use globs for dirs as well.
1220 2005-11-28 Patrick Lam <plam@mit.edu>
1221 * src/fccfg.c (FcConfigBuildFonts):
1225 2005-11-28 Patrick Lam <plam@mit.edu>
1227 * src/fcpat.c (FcPatternFindFullFname):
1228 * src/fccfg.c (FcConfigBuildFonts):
1230 Fix problem dating back at least to 2.3.2 where globs weren't
1231 being applied to patterns loaded from a cache.
1233 2005-11-28 Patrick Lam <plam@mit.edu>
1234 * doc/fontconfig-user.sgml:
1236 Fix some obvious spelling mistakes.
1238 2005-11-28 Dirk Mueller <dmueller@suse.com>
1239 Stephan Kulow <coolo@suse.de>
1242 * src/fcmatch.c (FcFontSetMatch):
1244 Don't kill all fonts during match (oops!)
1247 2005-11-25 Dirk Mueller <dmueller@suse.com>
1248 Stephan Kulow <coolo@suse.de>
1249 Michael Matz <matz@suse.de>
1252 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1255 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1256 inline FcCompare into FcFontSetMatch and reorder the
1257 loops, adding a boolean array which blocks patterns from future
1258 consideration if they're known to not be best on some past
1261 2005-11-26 Dirk Mueller <dmueller@suse.com>
1264 * src/fcmatch.c (FcCompareValueList):
1266 Fix incorrect merge.
1268 2005-11-25 Patrick Lam <plam@mit.edu>
1269 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1271 Don't do random matching when bad objects are passed into
1274 2005-11-25 Patrick Lam <plam@mit.edu>
1276 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1277 FcPatternSerialize, FcPatternUnserialize,
1278 FcValueListEnsureBank, FcValueListDistributeBytes,
1279 FcValueListUnserialize):
1281 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1282 _fcPatternElts, _fcValueLists for consistency.
1284 2005-11-25 Dirk Mueller <dmueller@suse.com>
1289 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1291 2005-11-25 Patrick Lam <plam@mit.edu>
1293 * src/fccache.c (FcDirCacheConsume):
1294 * src/fccharset.c (FcCharSetUnserialize):
1295 * src/fcfs.c (FcFontSetUnserialize):
1296 * src/fclang.c (FcLangSetUnserialize):
1297 * src/fcname.c (FcObjectUnserialize):
1298 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1299 FcPatternUnserialize):
1301 Pass around FcCache *s to the Unserialize functions for extra
1302 consistency (and less overhead, for what that's worth).
1304 2005-11-24 Dirk Mueller <dmueller@suse.com>
1308 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1309 * src/fcname.c (FcNameUnparseValue):
1311 Inline the *PtrU functions to gain perf.
1312 Remove unneeded params for the FcCompare* functions.
1314 2005-11-24 Dirk Mueller <dmueller@suse.com>
1317 * src/fcint.h, fontconfig/fontconfig.h:
1319 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1321 * src/fcpat.c, src/fcint.h, src/fcname.c:
1323 Check for type validity during FcPatternAddWithBinding, don't
1324 verify type in FcFontMatch, don't call FcCanonicalize here
1325 (which always does a deep copy).
1327 2005-11-24 Dirk Mueller <dmueller@suse.com>
1330 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1331 * src/fcpat.c (FcPatternAddWithBinding):
1333 Make FcCompareString and FcCompareFamily less expensive.
1334 Only add a value for FC_FAMILY if the proposed value is a string.
1336 2005-11-24 Dirk Mueller <dmueller@suse.com>
1339 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1340 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1341 * src/fcint.h (FcDebug):
1343 Inline FcDebug invocations and only initialize once, in FcInit*.
1344 Improve debug msg in FcPatternPrint.
1346 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1349 * fontconfig/fontconfig.h:
1352 Minor code warning cleanups.
1354 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1357 * fc-match/fc-match.c (main):
1359 Make getopt_long accept -s parameter to fc-match as well.
1361 2005-11-21 Dirk Mueller <dmueller@suse.com>
1364 * src/fcmatch.c (FcCompareValueList):
1366 Manually perform inlining & partial redundancy elimination to
1367 reduce calls to FcValueListPtrU.
1369 2005-11-21 Dirk Mueller <dmueller@suse.com>
1372 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1373 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1375 Only invoke strlen() when really necessary.
1377 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1381 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1382 FcFontCapabilities):
1386 Get rid of the use of freetype internal headers in fcfreetype.c,
1387 since those headers will go away with freetype 2.2. Replace with
1388 public domain ftglue code from pango. Note that the patch removes
1389 some extra error checking in FT_Get_BDF_Property() and comments
1390 out the skipping of empty pcf fonts.
1392 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1395 * fc-lang/fc-lang.c (main):
1397 Further fix of patch from 2005-11-04: miscounted numbers count
1398 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1399 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1401 Removed leafidx_count and numbers_count since they are the same
1402 and replaced them with offset_count.
1404 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1407 * fc-cat/fc-cat.c (main):
1409 Don't crash when fc-cat invoked with no arguments.
1411 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1414 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1416 Fix invalid read access caused by premature free and
1417 GCC4 warnings in libxml2 codepath.
1419 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1422 * src/fccfg.c (FcConfigValues):
1424 List iteration not needed in FcConfigValues, since it's building
1425 up the list itself; we can just strip FcVoid elements during
1428 2005-11-17 Patrick Lam <plam@mit.edu>
1429 * src/fccfg.c (FcConfigValues):
1431 Fix crash on invalid constants in config files (forgot to update
1432 a pointer upon list iteration.)
1434 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1437 * src/fcxml.c (FcTypecheckExpr):
1439 Complain about invalid constants in config files.
1441 2005-11-17 Andreas Schwab <schwab@suse.de>
1444 * src/fccache.c (FcGlobalCacheSave):
1446 Don't add current_arch_start more than once.
1448 2005-11-16 Patrick Lam <plam@mit.edu>
1449 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1450 * src/fcfs.c (FcFontSetUnserialize):
1451 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1452 * src/fcpat.c (FcStrUnserialize):
1454 Fix ordering of ALIGN with respect to saving block_ptr; add
1455 another ALIGN to fcfs.c.
1457 2005-11-16 Patrick Lam <plam@mit.edu>
1458 * src/fccache.c (FcDirCacheProduce)
1460 Fix case where alignment bytes bumped up metadata->count
1461 causing unwarranted failures to write cache files.
1462 (Reported by Stephan Kulow).
1464 2005-11-16 Patrick Lam <plam@mit.edu>
1465 * src/fccache.c (FcDirCacheProduce):
1466 * src/fccharset.c (FcCharSetDistributeBytes):
1467 * src/fcfs.c (FcFontSetDistributeBytes):
1469 * src/fclang.c (FcLangSetDistributeBytes):
1470 * src/fcname.c (FcObjectDistributeBytes):
1471 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1474 Add *NeededBytesAlign(), which overestimates the padding which is
1475 later added by the new ALIGN macro. Fix alignment problems on
1476 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1477 version by Andreas Schwab).
1479 2005-11-16 Stephan Kulow <coolo@kde.org>
1484 Use sysconf to determine proper PAGESIZE value; this
1485 appears to be POSIX-compliant. (reported by Andreas Schwab)
1487 2005-11-04 Patrick Lam <plam@mit.edu>
1488 * fc-lang/fc-lang.c:
1493 Fix bug 2878 (excessive relocations at startup for charsets,
1494 reported by Ross Burton): fc-lang/fc-lang now creates the
1495 static form of the langset, not the dynamic form, so that
1496 the charsets should now be in .rodata.
1498 2005-11-04 Patrick Lam <plam@mit.edu>
1499 * src/fcdir.c (FcDirScanConfig):
1501 Add test for validity of directory caches that
1502 somehow got lost (reported by make distcheck).
1504 2005-11-04 Patrick Lam <plam@mit.edu>
1508 * fontconfig/fontconfig.h:
1510 Bump version to 2.3.92.
1512 2005-11-02 Patrick Lam <plam@mit.edu>
1513 * src/fcpat.c (FcPatternDuplicate):
1515 Fix argument ordering problem in call to FcPatternTransferFullFname.
1517 2005-11-02 Patrick Lam <plam@mit.edu>
1518 * src/fcfreetype.c (FcFreetypeQuery):
1519 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1520 FcPatternTransferFullFname):
1522 Fix warnings and embarrassing double-free error.
1524 2005-11-02 Zhe Su <zsu@novell.com>
1529 Change the rule for artificial emboldening in fonts.conf.in. This
1530 enables the support for artificial emboldening included in cairo.
1532 2005-11-02 Patrick Lam <plam@mit.edu>
1533 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1535 Don't zero out full names for FC_REF_CONSTANT fonts;
1536 also, duplicate full names when transferring, and free
1537 full names when freeing the associated font.
1538 Reported by Jinghua Luo.
1540 2005-11-02 Patrick Lam <plam@mit.edu>
1541 * fc-cache/fc-cache.c (scanDirs):
1542 * src/fcpat.c (FcValueListSerialize):
1544 Revert the previous patch and commit the correct patch:
1545 I forgot a canonicalization in FcValueListSerialize, so
1546 that it would choke on already-serialized input files. Duh!
1548 2005-11-02 Patrick Lam <plam@mit.edu>
1549 * fc-cache/fc-cache.c (scanDirs):
1551 Forcibly rescan a directory before writing a fresh local
1552 cache file for that directory, fixing the losing-fonts
1553 problem reported by Mike Fabian and also apparently the
1554 font cache file corruption.
1556 2005-11-02 Patrick Lam <plam@mit.edu>
1557 * src/fccache.c (FcGlobalCacheLoad):
1559 Fix thinko: actually, the whole global cache is stale
1560 if the global cache is older than the (newest) config file.
1562 2005-11-02 Patrick Lam <plam@mit.edu>
1563 * src/fccache.c (FcGlobalCacheLoad):
1564 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1567 Declare the global cache of a directory's contents to be stale if
1568 the directory is newer than the (newest) configuration file.
1570 2005-10-31 Patrick Lam <plam@mit.edu>
1572 * src/fclist.c (FcListAppend):
1573 * src/fcmatch.c (FcFontRenderPrepare):
1574 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1575 FcPatternFreeze, FcPatternBaseFreeze):
1577 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1578 applications continue breaking.
1580 2005-10-31 Patrick Lam <plam@mit.edu>
1581 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1582 * src/fcfreetype.c (FcFreeTypeQuery):
1584 Fix small memory error (tried to free argv); use basename and
1585 dirname correctly (they can modify their arguments).
1587 2005-10-31 Patrick Lam <plam@mit.edu>
1595 Reinstate basename patch, but keep a hash table linking FcPatterns
1596 to their fully-qualified font names for clients' benefit. Clients
1597 only pay for the font names once they request the FC_FILE property
1598 from an FcPattern, but the font name is malloc'd at that point (i.e.
1599 not mmapped: that's impossible, since it may vary between machines.)
1600 Clients do have to pay for a copy of the path name per cache file.
1602 Note that FcPatternGetString now does some rewriting if you ask
1603 for an FC_FILE, appending the pathname as appropriate.
1605 2005-10-31 Patrick Lam <plam@mit.edu>
1606 * src/fcfreetype.c (FcFreeTypeQuery):
1608 Revert basename patch, which breaks fontconfig clients on my system.
1610 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1613 * fontconfig/fonts.conf.in:
1614 * fontconfig/fontconfig.h:
1618 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1619 to load embedded bitmaps or not.
1621 2005-10-25 Patrick Lam <plam@mit.edu>
1622 * src/fcfreetype.c (FcFreeTypeQuery):
1624 Only add basename to patterns' FC_FILE element, not any part of
1627 2005-10-22 Patrick Lam <plam@mit.edu>
1630 Add some more consts, fixing more GCC4 warnings.
1632 2005-10-22 Zhe Su <zsu@novell.com>
1635 Support localized font family and style names.
1636 This has been reported to break old apps like xfd, but modern
1637 (gtk+/qt/mozilla) apps work fine.
1639 2005-10-21 Patrick Lam <plam@mit.edu>
1640 * src/fccache.c (FcGlobalCacheLoad):
1642 Destroy the global cache file if it's terminally broken. (reported by
1645 2005-10-21 Patrick Lam <plam@mit.edu>
1646 * fc-list/fc-list.c (main):
1647 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1648 * fontconfig/fontconfig.h:
1650 Prevent fc-list from escaping strings when printing them (reported by
1653 2005-10-20 Marcus Meissner <meissner@suse.de>
1656 * fontconfig/fontconfig.h:
1658 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1660 2005-10-14 Ross Burton <ross@burtonini.com>
1663 * fc-glyphname/fc-glyphname.c:
1666 Add consts to variables so as to move arrays into .rodata.
1668 2005-10-14 Mike Fabian <mfabian@suse.de>
1671 * src/fccache.c (FcDirCacheUnlink):
1673 Check existence of directory cache file before attempting to unlink.
1675 2005-10-13 Patrick Lam <plam@mit.edu>
1676 * src/fccache.c (FcDirCacheUnlink):
1678 Fix flipped return value on unlink. (Reported by Mike Fabian)
1680 2005-10-12 Patrick Lam <plam@mit.edu>
1683 * src/fcdir.c (FcDirScanConfig):
1686 When fc-cache is run without --force, use directory cache files
1687 to speed up fc-cache run time. (Reported by Mike Fabian)
1689 2005-10-06 Patrick Lam <plam@mit.edu>
1691 * src/fcname.c (FcObjectToPtr):
1692 * src/fcpat.c (FcStrStaticName):
1694 Add padding to make valgrind and glibc not hate each other
1695 when calling strlen().
1697 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1698 reviewed by: plam & keithp
1702 Modify config file to use Greek fonts before Asian fonts with
1705 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1706 reviewed by: plam & keithp
1710 Use libtool -no-undefined flag on all platforms.
1712 2005-10-05 Patrick Lam <plam@mit.edu>
1713 * src/fccache.c (FcCacheHaveBank):
1715 Implement move-to-front array for banks (perf regression
1716 reported by Ronny V. Vindenes).
1718 2005-10-04 Patrick Lam <plam@mit.edu>
1719 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1720 FcDirCacheHasCurrentArch):
1721 * fc-cache/fc-cache.c (scanDirs):
1722 * fontconfig/fontconfig.h:
1724 Add new API which unlinks directory caches and checks dir caches
1725 for existence of appropriate sections. Fix fc-cache to unlink
1726 stale cache files and save directory caches that lack relevant
1729 2005-10-03 Patrick Lam <plam@mit.edu>
1730 * src/fccache.c (FcDirCacheValid):
1732 Ensure that a directory cache has the appropriate section
1733 before reporting that it is valid (reported by Matthias Clasen).
1735 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1743 Use libxml2 if requested (with --enable-libxml2) or if
1744 expat is not available.
1746 2005-09-29 Patrick Lam <plam@mit.edu>
1747 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1749 Fix multi-arch cache files: compute the position for the
1750 block to be added using info from OrigFile, not NewFile.
1752 2005-09-28 Patrick Lam <plam@mit.edu>
1753 * src/fccache.c (FcCacheMachineSignature):
1755 Cast results of sizeof() to unsigned int to get rid of
1756 warnings on x86_64 (thanks Matthias Clasen).
1758 2005-09-27 Patrick Lam <plam@mit.edu>
1759 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1762 Use FcAtomic to rewrite cache files.
1764 2005-09-27 Patrick Lam <plam@mit.edu>
1766 * src/fccache.c (FcDirCacheWrite):
1768 Don't unlink the fonts.cache-2 file even if there's no data
1769 to write; just write an empty cache file. (thanks Lubos Lunak)
1771 2005-09-27 Patrick Lam <plam@mit.edu>
1773 * src/fccache.c (FcDirCacheWrite):
1775 Allocate room for the subdirectory names in each
1776 directory cache. Thanks to James Cloos for finding
1777 and diagnosing this bug!
1779 2005-09-22 Patrick Lam <plam@mit.edu>
1781 * fc-cache/fc-cache.sgml:
1782 * src/fccache.c (FcDirCacheWrite):
1783 * src/fccache.h (struct FcCache):
1785 Update documentation -- fc-cache's man page now says that you
1786 need to run fc-cache once per cached architecture; add some
1787 documentation to the FcCache structure.
1789 Make fc-cache write out fonts.cache-2 files for directories with
1790 no fonts (i.e. only subdirectories).
1792 2005-09-22 Patrick Lam <plam@mit.edu>
1794 * fc-cache/fc-cache.sgml:
1795 * fc-case/fc-case.c:
1796 * fc-glyphname/fc-glyphname.c:
1802 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1806 * fc-lang/fc-lang.c:
1807 * fontconfig/fcprivate.h:
1808 * fontconfig/fontconfig.h:
1822 Implement new mmaped cache for font information.
1823 Bump so revision to 2.3.90.
1825 2005-07-25 Keith Packard <keithp@keithp.com>
1827 * doc/fontconfig-user.sgml:
1828 * fc-glyphname/fc-glyphname.c: (scan), (main):
1829 * fc-lang/fc-lang.c: (FcConfigHome):
1830 * fc-match/fc-match.c: (main):
1831 * src/fccfg.c: (FcConfigHome):
1832 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1833 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1834 (addtag), (FcFontCapabilities):
1835 * src/fcpat.c: (FcValueListEntCreate):
1836 * src/fcstr.c: (FcStrCaseWalkerInit):
1837 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1839 Various GCC 4 cleanups for signed vs unsigned char
1841 Match only [0-9]*.conf files in <include>{directory}</include>
1842 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1844 2005-07-15 Carl Worth <cworth@cworth.org>
1847 * src/fcinit.c: (FcFini):
1848 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1851 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1852 Pull the FcObjectStateName hash table out to file scope, and add
1853 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1856 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1859 2005-06-16 Patrick Lam <plam@MIT.EDU>
1863 * src/fccfg.c: (FcConfigCompareValue):
1864 Make FcOpNotContains use FcStrStr for strings so that
1865 it matches semantics for !FcOpContains.
1867 2005-05-20 Keith Packard <keithp@keithp.com>
1871 Move fontconfig source package to libs as per override
1873 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1875 reviewed by: Mike Fabian
1878 The ka.orth file requires several characters which are not
1879 used anymore in modern Georgian and which are missing in the free
1880 Georgian TrueType fonts downloadable at:
1882 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1884 2005-04-27 Keith Packard <keithp@keithp.com>
1888 Update date to real 2.3.2 release date.
1889 Fix change attributions
1891 2005-04-27 Keith Packard <keithp@keithp.com>
1894 Bump so revision for 2.3.2
1895 * fc-cache/fc-cache.c: (scanDirs):
1896 Fix a few minor leaks in error cases.
1898 2005-04-23 Keith Packard <keithp@keithp.com>
1903 * fontconfig/fontconfig.h:
1904 Update for version 2.3.2
1906 2005-04-21 Keith Packard <keithp@keithp.com>
1908 * debian/fontconfig.postinst:
1909 Don't force bitmap font enable in default
1910 configuration; allows users to override this in
1920 * debian/po/pt_BR.po:
1921 * debian/po/templates.pot:
1923 * debian/po/zh_CN.po:
1924 Updated translations
1926 * fc-cache/fc-cache.c: (main):
1927 Destroy font configuration on exit to help valgrind
1930 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1931 (FcFreeTypeCheckGlyph):
1932 Use own transcoding routines in preference to iconv
1933 which appears to have leaks in some translators.
1934 Call iconv_close after using iconv (oops).
1936 Prefer unicode encoding of Euro char as some
1937 fonts mis-encode Euro in other ones.
1939 Must fetch bitmap glyphs to get width values
1940 to check for monospace/dual-width fonts.
1942 2005-04-13 Ross Burton <ross@burtonini.com>
1945 Check that a pattern isn't already frozen in FcPatternFreeze.
1947 2005-03-31 Ross Burton <ross@burtonini.com>
1952 Run all FcPattern objects through FcObjectStaticName, so that
1953 compares can be done on pointers instead of strings (#2659)
1955 2005-03-17 Tor Lillqvist <tml@novell.com>
1957 * src/fontconfig.def.in: Add the .dll to the dll name.
1959 2005-03-10 Keith Packard <keithp@keithp.com>
1961 * debian/README.Debian:
1962 Update to reflect configuration changes
1964 * debian/fontconfig.postinst:
1965 Fix Autohint vs Autohinter mistake
1966 * debian/fontconfig.templates:
1967 Adopt changes from Josselin Mouette for configuration descriptions
1968 Update debian to version 2.3.1-2
1970 2005-03-08 Keith Packard <keithp@keithp.com>
1974 Update debian for 2.3.1
1976 2005-03-09 Tor Lillqvist <tml@novell.com>
1978 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1981 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1984 2005-03-08 Keith Packard <keithp@keithp.com>
1988 * fontconfig/fontconfig.h:
1991 2005-03-05 Keith Packard <keithp@keithp.com>
1993 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1994 Include space and remove numbers from valid script tags.
1995 This ensures that tags like 'lao ' work while rejecting
1996 those which have any digits.
1997 Eliminate a spurious debugging variable (len)
1999 2005-03-05 Keith Packard <keithp@keithp.com>
2001 * src/fcfreetype.c: (addtag), (GetScriptTags),
2002 (FcFontCapabilities):
2003 Rework GSUB/GPOS script parsing to survive broken fonts.
2004 Thanks for the broken font go to Manish Singh
2006 2005-03-05 Keith Packard <keithp@keithp.com>
2011 * debian/fontconfig.config:
2012 * debian/fontconfig.templates:
2014 Include 2.3 release information in changelog
2015 Add Josselin Mouette as an Uploader
2016 Set hinting_type to low priority configuration option
2019 * debian/fontconfig.postinst:
2020 yes_bitmaps.conf -> yes-bitmaps.conf
2026 2005-03-02 Keith Packard <keithp@keithp.com>
2029 * conf.d/Makefile.am:
2030 * conf.d/autohint.conf:
2031 * conf.d/no-sub-pixel.conf:
2032 * conf.d/sub-pixel.conf:
2033 * conf.d/unhinted.conf:
2034 * debian/autohint.conf:
2035 * debian/fontconfig.install:
2036 * debian/fontconfig.postinst:
2037 * debian/fontconfig.templates:
2038 * debian/no-sub-pixel.conf:
2039 * debian/unhinted.conf:
2040 Move debian-specific conf file examples upstream.
2042 Sub-pixel configuration examples must smash subpixel value
2043 as Xft always sets it from X.
2045 Change sub-pixel rendering debconf descriptions from
2046 Enable/Disable to Always/Never.
2048 2005-03-02 Keith Packard <keithp@keithp.com>
2051 * conf.d/.cvsignore:
2053 Ignore more build detritus
2056 Add debian package construction stuff.
2058 * config/config.guess:
2059 * config/config.sub:
2060 Update to newer versions of these tools
2063 Get library manuals to build again (we love automake).
2065 * debian/README.Debian:
2066 * debian/autohint.conf:
2071 * debian/fontconfig-udeb.install:
2072 * debian/fontconfig.config:
2073 * debian/fontconfig.defoma:
2074 * debian/fontconfig.dirs:
2075 * debian/fontconfig.install:
2076 * debian/fontconfig.postinst:
2077 * debian/fontconfig.postrm:
2078 * debian/fontconfig.templates:
2079 * debian/libfontconfig1-dev.install:
2080 * debian/libfontconfig1.install:
2081 * debian/local.conf.md5sum:
2082 * debian/no-sub-pixel.conf:
2083 * debian/po/POTFILES.in:
2092 * debian/po/pt_BR.po:
2093 * debian/po/templates.pot:
2095 * debian/po/zh_CN.po:
2097 * debian/unhinted.conf:
2098 Update debian build system to switch maintainers and
2099 deal with 2.3 functionality
2101 2005-03-01 Keith Packard <keithp@keithp.com>
2105 * fontconfig/fontconfig.h:
2108 2005-03-01 Keith Packard <keithp@keithp.com>
2111 Generate and install PDF versions of the manuals
2113 * doc/fcpattern.fncs:
2116 * doc/fcstring.fncs:
2117 Add missing exported functions, fix data types
2119 * doc/fontconfig-devel.sgml:
2120 Add missing pattern elements.
2122 * doc/fontconfig-user.sgml:
2123 Add missing pattern elements. Document conf.d usage,
2124 clarify available orthography list. Fix some config file
2125 attributes. Complete list of constants.
2127 * fontconfig/fontconfig.h:
2128 Mark FC_SOURCE deprecated.
2130 * src/fcfreetype.c: (FcFreeTypeQuery):
2131 Don't set FC_SOURCE any longer.
2133 2005-02-28 Keith Packard <keithp@keithp.com>
2136 * conf.d/Makefile.am:
2138 * conf.d/no-bitmaps.conf:
2139 * conf.d/sub-pixel.conf:
2140 * conf.d/yes-bitmaps.conf:
2142 Create prototype /etc/fonts/conf.d directory with a few
2143 sample configuration files.
2144 Deprecate use of local.conf for local customizations in favor of
2145 this directory based scheme which is more easily integrated into
2146 installation systems.
2149 Tag FC_EMBOLDEN as a boolean variable
2151 2005-02-10 Keith Packard <keithp@keithp.com>
2153 reviewed by: pborelli@katamail.com
2155 * src/fcdir.c: (FcFileScanConfig):
2156 Free patterns from fonts which are rejected by configuration
2159 2005-01-28 Keith Packard <keithp@keithp.com>
2163 * fontconfig/fontconfig.h:
2164 Update for version 2.2.99
2166 2005-01-28 Keith Packard <keithp@keithp.com>
2169 Add a few pointers (#2284, #2285)
2171 2005-01-28 Keith Packard <keithp@keithp.com>
2174 * src/fcname.c: (FcNameBool):
2175 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2176 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2177 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2178 Polite typechecking for test and edit expressions. Helps
2179 catch errors in the font configuration. (bug 229)
2181 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2183 reviewed by: Keith Packard <keithp@keithp.com>
2186 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2188 2005-01-13 Keith Packard <keithp@keithp.com>
2190 * doc/fontconfig-user.sgml:
2191 Add SEE ALSO section (bug 2085)
2193 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2195 reviewed by: Keith Packard <keithp@keithp.com>
2200 * fc-case/Makefile.am:
2201 * fc-glyphname/Makefile.am:
2202 * fc-lang/Makefile.am:
2203 * src/fontconfig.def.in:
2204 Cross compiling fixes (bug 280)
2206 2005-01-13 Keith Packard <keithp@keithp.com>
2209 Update blanks list (Closes bug 86)
2211 2005-01-04 Keith Packard <keithp@keithp.com>
2213 * src/fccache.c: (FcCacheFontSetAdd):
2214 Verify that every font pattern loaded from cache has
2215 both FC_FILE and FC_FAMILY entries.
2216 Attempt to fix bug #2219.
2218 2004-12-29 Keith Packard <keithp@keithp.com>
2222 * fontconfig/fontconfig.h:
2223 Update for version 2.2.98
2225 2004-12-29 Keith Packard <keithp@keithp.com>
2227 * fontconfig/fontconfig.h:
2228 Document ASCII limitations of Fc character conversion macros
2229 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2230 Fix off-by-one error in utf-8 case walking code.
2231 Add FcStrDowncase (useful for testing case conversion functions)
2233 2004-12-29 Keith Packard <keithp@keithp.com>
2236 * fc-case/.cvsignore:
2237 clean up CVS ignore lists
2238 * fc-lang/iso-3166.txt:
2239 Add territory database
2241 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2243 Reviewed by: Keith Packard
2246 Remove Han characters from Korean orthography
2248 2004-12-29 Keith Packard <keithp@keithp.com>
2251 Reorder utility programs to make sure fc-case is run before fc-lang
2252 as fc-lang uses fcstr.c which uses fccase.h
2256 2004-12-29 Keith Packard <keithp@keithp.com>
2259 Adopt some RedHat suggestions for standard font configuration.
2263 * fc-case/CaseFolding.txt:
2264 * fc-case/Makefile.am:
2265 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2266 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2267 (dump), (parseRaw), (caseFoldReadRaw), (main):
2268 * fc-case/fccase.tmpl.h:
2269 Add new helper program 'fc-case' to construct case folding
2270 tables from standard Unicode CaseFolding.txt file
2273 * src/fclist.c: (FcListValueHash):
2274 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2275 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2276 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2277 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2278 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2279 Re-implement case insensitive functions with Unicode
2280 aware versions (including full case folding mappings)
2282 2004-12-13 Keith Packard <keithp@keithp.com>
2284 reviewed by: Owen Taylor <otaylor@redhat.com>
2286 * src/fcmatch.c: (FcFontSetSort):
2287 I changed FcFontSetSort to respect the generic aliases better
2288 in the face of language matching.
2290 What I did was to ammend the strict sort order used by FcFontSort so
2291 that it 'satisfies' the language specified in the pattern by locating
2292 the best matching font supporting each pattern language and then
2293 ignores language in the remaining fonts for purposes of matching.
2295 So, when asking for 'sans:lang=en', you'll get an English font first,
2296 and then the remaining fonts sorted with respect to the 'sans' alias
2297 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2299 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2301 reviewed by: Keith Packard <keithp@keithp.com>
2303 * fontconfig/fontconfig.h:
2306 Configuration changes to request synthetic emboldening of
2307 fonts. The actual emboldening code will live in Xft.
2309 2004-12-09 John Thacker <thacker@math.cornell.edu>
2311 reviewed by: Keith Packard <keithp@keithp.com>
2315 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2316 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2317 и), and don't even appear in KOI8-R. (The hypothesis that they
2318 don't appear in KOI8-R due to their similarity with Latin I and i is
2319 eliminated by their presence in KOI8-U.) I have a couple of fonts
2320 with Russian support that don't have the letter.
2322 Therefore, 0406 and 0456 should be removed from or commented out of
2325 2004-12-06 michael meeks <mmeeks@novell.com>
2327 Reviewed by: Keith Packard <keithp@keithp.com>
2329 * src/fcinit.c: (FcMemReport):
2331 * src/fclist.c: (FcObjectSetAdd):
2332 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2333 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2334 * src/fcxml.c: (FcParsePatelt):
2335 memoize strings and share a single copy for all uses. Note that
2336 this could be improved further by using statically allocated blocks
2337 and gluing multiple strings together, but I'm basically lazy.
2338 In my environment with 800 font files, I get a savings of about 90KB.
2340 2004-12-06 Keith Packard <keithp@keithp.com>
2344 * config/Makedefs.in:
2347 * doc/fcatomic.fncs:
2348 * doc/fcblanks.fncs:
2349 * doc/fccharset.fncs:
2350 * doc/fcconfig.fncs:
2351 * doc/fcconstant.fncs:
2353 * doc/fcfontset.fncs:
2354 * doc/fcfreetype.fncs:
2356 * doc/fcmatrix.fncs:
2357 * doc/fcobjectset.fncs:
2358 * doc/fcobjecttype.fncs:
2359 * doc/fcpattern.fncs:
2360 * doc/fcstring.fncs:
2361 * doc/fcstrset.fncs:
2363 * doc/fontconfig-devel.sgml:
2364 * doc/fontconfig-user.sgml:
2366 * doc/version.sgml.in:
2367 * fc-cache/Makefile.am:
2368 * fc-cache/fc-cache.c:
2369 * fc-glyphname/Makefile.am:
2370 * fc-glyphname/fc-glyphname.c:
2371 * fc-glyphname/fcglyphname.tmpl.h:
2372 * fc-lang/Makefile.am:
2382 * fc-lang/az_ir.orth:
2416 * fc-lang/fc-lang.c:
2417 * fc-lang/fc-lang.man:
2418 * fc-lang/fclang.tmpl.h:
2463 * fc-lang/ku_ir.orth:
2496 * fc-lang/ps_af.orth:
2497 * fc-lang/ps_pk.orth:
2526 * fc-lang/ti_er.orth:
2527 * fc-lang/ti_et.orth:
2553 * fc-lang/zh_cn.orth:
2554 * fc-lang/zh_hk.orth:
2555 * fc-lang/zh_mo.orth:
2556 * fc-lang/zh_sg.orth:
2557 * fc-lang/zh_tw.orth:
2559 * fc-list/Makefile.am:
2560 * fc-list/fc-list.c:
2561 * fc-match/Makefile.am:
2562 * fc-match/fc-match.1:
2563 * fc-match/fc-match.c:
2564 * fontconfig/fcfreetype.h:
2565 * fontconfig/fcprivate.h:
2566 * fontconfig/fontconfig.h:
2587 Change files from ISO-Latin-1 to UTF-8
2589 2004-12-04 Keith Packard <keithp@keithp.com>
2592 Update links to new freedesktop.org locations
2594 Add uninstall-local to get rid of fonts.conf and local.conf if they
2595 match the distributed versions. Fixes 'make distcheck'
2597 2004-12-04 Keith Packard <keithp@keithp.com>
2601 * fontconfig/fontconfig.h:
2602 Updates for version 2.2.97
2604 2004-12-04 Owen Taylor <otaylor@redhat.com>
2606 reviewed by: Keith Packard <keithp@keithp.com>
2608 * fc-cache/fc-cache.c: (main):
2609 Sleep for two seconds before exiting to make sure timestamps
2610 for future changes have distinct mod times in the file system.
2613 Add Punjabi orthography. Bug #1671.
2615 2004-12-04 Keith Packard <keithp@keithp.com>
2618 Just remove the FC_FONTDATE -- it has locale issues and
2619 annoys redhat multi-arch installs. Now that all X fonts are
2620 included without prejudice, the chances of the date being at
2621 all interesting are rather limited. Bug #505.
2623 Add copyright and license
2625 2004-12-04 Keith Packard <keithp@keithp.com>
2628 Change default set of fonts to include all of
2629 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2630 * doc/fontconfig-user.sgml:
2631 Document new <include>directory-name</include> semantics
2633 add <include ignore_missing="yes">conf.d</include>
2635 Add selectfont to ignore bitmap fonts, add comment for
2636 selectfont which accepts bitmap fonts.
2639 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2640 Allow <include> configuration elements to reference directories.
2641 Parse and load all files of the form [0-9]* in sorted order.
2643 2004-12-04 Keith Packard <keithp@keithp.com>
2646 Report command line for $srcdir/configure accurately.
2649 2004-12-04 Keith Packard <keithp@keithp.com>
2651 * src/fcfreetype.c: (FcFreeTypeQuery):
2652 Check for non-empty face->family_name and face->style_name
2653 before using those for the font. Empty names match everything.
2656 2004-12-04 Keith Packard <keithp@keithp.com>
2659 * fontconfig/fontconfig.h:
2660 * src/fcfreetype.c: (FcFreeTypeQuery):
2662 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2663 available. This provides font file format information (BDF, Type 1,
2664 PCF, TrueType) for each font. Closes #109.
2666 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2668 reviewed by: Keith Packard <keithp@keithp.com>
2670 * doc/fontconfig-user.sgml:
2673 * fontconfig/fontconfig.h:
2674 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2675 (GetScriptTags), (FcFontCapabilities):
2677 Add detection for font capabilities (bug #105)
2679 2004-12-04 Keith Packard <keithp@keithp.com>
2682 Move existing fonts.conf to fonts.conf.bak
2685 Add detection of iconv
2687 * doc/fcpattern.fncs:
2688 * doc/fontconfig-devel.sgml:
2689 * doc/fontconfig-user.sgml:
2691 Document new selectfont elements
2694 Switch to UTF-8 in comment
2696 * fontconfig/fontconfig.h:
2698 Add fullname, and family/style/fullname language entries
2700 * src/fccache.c: (FcCacheFontSetAdd):
2701 * src/fcdir.c: (FcFileScanConfig):
2702 Respect selectfont/*/glob
2705 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2706 (FcConfigCompareValue), (FcConfigPatternsAdd),
2707 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2708 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2709 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2710 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2711 Add support for selectfont
2713 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2714 (FcStringInPatternElement), (FcFreeTypeQuery):
2715 Add multi-lingual family/style/fullname support
2717 * src/fclist.c: (FcListPatternMatchAny):
2718 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2720 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2721 (FcObjectStaticName):
2722 Add new FcPatternRemove/FcPatternAppend.
2723 FcObjectStaticName stores computed pattern element names which
2724 are required to be static.
2726 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2731 Remove spurious / after $(DESTDIR)
2733 2004-06-30 Keith Packard <keithp@keithp.com>
2737 * fontconfig/fontconfig.h:
2740 2004-06-30 Keith Packard <keithp@keithp.com>
2742 Provided by: Lubos Lunak <l.lunak@suse.cz>
2744 * src/fccfg.c: (FcConfigUptoDate):
2745 However FcConfigUptoDate() doesn't seem to work. See the attached
2746 patch. First there's an obvious misplaced parenthesis making it
2747 return always false, and second, even this call fails to detect font
2748 changes (e.g. adding a new font to
2749 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2750 well. The problem seems to be triggered by my fonts.conf specifying
2751 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2752 doesn't include subdirs, unlike config->fontDirs.
2754 2004-06-03 Keith Packard <keithp@keithp.com>
2756 * fontconfig/fontconfig.h:
2757 Remove comma at end of FcResult enum definition.
2759 2004-05-29 Keith Packard <keithp@keithp.com>
2762 Add steps to md5sum release
2764 2004-05-29 Keith Packard <keithp@keithp.com>
2768 * fontconfig/fontconfig.h:
2771 2004-05-29 Keith Packard <keithp@keithp.com>
2773 * fontconfig/fontconfig.h:
2774 * src/fcmatch.c: (FcFontSetMatch):
2775 Add FcResultOutOfMemory to provide an accurate error when
2776 FcFontSetMatch fails in this way
2779 Make #warning about lacking various FreeType features indicate
2780 which version those features appeared so users know how to
2781 fix the problem (Thanks to Anton Tropashko)
2783 2004-05-05 Keith Packard <keithp@keithp.com>
2785 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2786 Replace MIN/MAX/ABS macros which happen to have come
2787 from FreeType with fontconfig-specific ones (FC_*)
2789 2004-04-23 Keith Packard <keithp@keithp.com>
2792 Extend release preparation instructions to include
2793 notification and distribution steps
2795 2004-04-23 Keith Packard <keithp@keithp.com>
2799 * fontconfig/fontconfig.h:
2800 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2802 2004-04-23 Keith Packard <keithp@keithp.com>
2805 Ignore a few more autotool files
2807 2004-04-14 Keith Packard <keithp@keithp.com>
2810 Add instructions for doing a release
2812 * fontconfig.spec.in:
2813 clean up .spec file; perhaps this will be useful to somebody...
2817 * fontconfig/fontconfig.h:
2820 * fc-lang/fc-lang.c:
2821 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2823 * fc-glyphname/Makefile.am:
2824 * fc-lang/Makefile.am:
2825 * fc-list/Makefile.am:
2826 * fc-match/Makefile.am:
2828 Add WARN_CFLAGS to pass -W flags for GCC systems
2830 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2831 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2832 Change various char types around to match across
2834 Fixed bug in using available_sizes[i].height which
2835 is in pixels, not 64ths of a pixel.
2837 2004-03-06 Keith Packard <keithp@keithp.com>
2839 * src/fcfreetype.c: (FcFreeTypeQuery):
2840 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2841 matches looking for explicit values prefer exact matches
2843 2004-03-02 Keith Packard <keithp@keithp.com>
2845 Supplied by: mfabian@suse.de (Mike FABIAN)
2847 * src/fcfreetype.c: (FcFreeTypeQuery):
2848 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2849 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2851 2004-02-21 Manish Singh <yosh@gimp.org>
2853 * fc-glyphname/fc-glyphname.c: (main):
2854 Cast strlen to int for printf, so we're 64-bit clean.
2856 2004-02-11 Keith Packard <keithp@keithp.com>
2859 * src/fcfreetype.c: (FcGetPixelSize):
2860 Ok, so I messed up the test for y_ppem. Let's see if I
2861 got it right this time.
2863 2004-02-10 Keith Packard <keithp@keithp.com>
2866 * src/fcfreetype.c: (FcGetPixelSize):
2867 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2868 FT_Bitmap_Size record. Add a configure.in test for this
2869 and change the code accordingly (using height instead).
2871 2004-02-06 Keith Packard <keithp@keithp.com>
2874 Add Low Saxon orthography
2875 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2877 * src/fccfg.c: (FcConfigNewestFile):
2878 Oops. Left 'newest.set' unset, which would miscompute
2881 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2882 (FcFreeTypeCheckGlyph):
2883 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2884 font properties (which report the wrong value in current FreeType)
2886 Don't attempt to check for empty glyphs in non-scalable fonts; they
2889 2004-02-01 Tor Lillqvist <tml@iki.fi>
2891 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2892 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2893 cache if config->cache is NULL, which happens if FcConfigHome() is
2894 NULL. Guard against that by using the temp folder in that case.
2896 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2898 * fc-lang/az_ir.orth:
2899 * fc-lang/ku_ir.orth:
2900 * fc-lang/ps_af.orth:
2901 * fc-lang/ps_pk.orth:
2902 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2903 (Afghan and Pakistani).
2905 Updated Urdu orthography with real data.
2907 2003-12-11 Carl Worth <cworth@east.isi.edu>
2909 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2912 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2914 (all-local): Remove excessive whitespace.
2916 * autogen.sh: Add 'set -e' to abort when any program fails,
2917 (avoids printing of 'now type make' after configure aborts).
2919 2003-11-17 Eric Christopherson <rakko@charter.net>
2921 reviewed by: Keith Packard <keithp@keithp.com>
2924 * fontconfig/fcfreetype.h:
2926 Switch to FreeType 2.1.7 style includes. Bug #150.
2928 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2930 * fc-list/fc-list.sgml: Add some example usages.
2932 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2935 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2938 2003-10-27 Keith Packard <keith@keithp.com>
2941 * fontconfig/fontconfig.h:
2942 Update to version 2.2.92
2944 2003-10-27 Keith Packard <keithp@keithp.com>
2949 * fc-cache/Makefile.am:
2950 * fc-glyphname/Makefile.am:
2951 * fc-lang/Makefile.am:
2952 * fc-list/Makefile.am:
2953 * fc-match/Makefile.am:
2956 Yet more cleanups to finish getting 'make distcheck' working
2957 This has been tested to ensure that it even works from a _build
2960 2003-10-26 Keith Packard <keithp@keithp.com>
2964 * fc-cache/Makefile.am:
2965 * fc-glyphname/Makefile.am:
2966 * fc-lang/Makefile.am:
2967 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2968 * fc-list/Makefile.am:
2969 * fc-match/Makefile.am:
2970 Attempts to fix 'make distcheck' work. Things are
2971 progressing pretty well, but there are still failures
2972 long into the process dealing with docs (as always).
2974 The big changes here are mostly to make $(srcdir) != "."
2975 work correctly, fixing the docbook related sections and
2976 fc-lang were particularily tricky. Docbook refuses to load
2977 system entities from anywhere other than where the original .sgml
2978 file was located, so no luck looking in "." for the
2979 configure-generated version.sgml and confdir.sgml files.
2981 fc-lang needed help finding .orth files; added a -d option
2982 to set the directory as the least evil of many options.
2984 Now to go use a faster machine and try and wring out the last
2987 2003-10-26 Keith Packard <keithp@keithp.com>
2991 2003-10-26 Keith Packard <keithp@keithp.com>
2994 Include confdir.sgml.in in EXTRA_DIST
2996 2003-10-09 Josselin Mouette <joss@debian.org>
2998 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2999 * fc-list/fc-list.sgml fc-list/Makefile.am:
3000 Replace fc-cache and fc-list manpages with more detailed, SGML
3003 2003-09-23 Owen Taylor <otaylor@redhat.com>
3005 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3006 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3007 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3010 2003-09-23 Owen Taylor <otaylor@redhat.com>
3012 * fc-lang/ka.orth: Remove Georgian capitals, they
3013 aren't used for normal writing. (Bug #116)
3015 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3017 * doc/fontconfig-devel.sgml:
3018 * doc/fontconfig-user.sgml:
3019 * fontconfig/fontconfig.h:
3021 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3022 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3024 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3025 monospace and dual-width fonts, allow roughly a 3% variance in the
3028 2003-08-31 Manish Singh <yosh@gimp.org>
3030 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3033 2003-08-15 Carl Worth <cworth@isi.edu>
3035 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3036 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3038 * src/fcpat.c (FcValueListEntDestroy): New function to support
3039 FcFini memory cleanup. Some statistics are not kept in
3041 (FcValueListFreeze): Move hashTable outside this function so it
3042 can be accessed by FcValueListThawAll.
3043 (FcValueListThawAll): New function complements FcValueListFreeze.
3044 (FcPatternBaseFreeze): Move hashTable outside this function so it
3045 can be accessed by FcPatternBaseThawAll.
3046 (FcPatternBaseThawAll): New function complements
3047 FcPatternBaseFreeze.
3048 (FcPatternThawAll): New function complements FcPatternFreeze.
3050 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3052 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3053 allocated FcCharLeafEnt "blocks" so they can be freed later.
3054 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3055 can be accessed by FcCharSetThawAllLeaf.
3056 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3057 (FcCharSetFreezeBase): Move hashTable outside this function so it
3058 can be accessed by FcCharSetThawAll.
3059 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3061 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3062 (FcConfigDestroy): Fic leak of FcBlanks.
3064 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3065 (main): Add call to FcFini when finished.
3067 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3068 static. Add prototypes.
3070 * doc/fcinit.fncs: Add documentation for FcFini function.
3072 * doc/edit-sgml.c: Mark several local functions as static. Add
3075 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3077 2003-06-15 Tor Lillqvist <tml@iki.fi>
3079 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3080 before comparing (needed on Windows).
3082 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3084 2003-06-13 Tor Lillqvist <tml@iki.fi>
3086 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3089 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3090 WINDOWSFONTDIR token.
3092 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3093 end, not to confuse libtool, which expects the EXPORTS line to be
3094 the first. Add FcConfigEnableHome.
3096 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3097 built as a DLL on Win32.
3099 2003-06-09 Keith Packard <keithp@keithp.com>
3101 * Tag version 2.2.90
3103 2003-06-09 Keith Packard <keithp@keithp.com>
3105 * Optimization in FcLangSetIndex was broken, occasionally
3106 returning a pointer to the wrong location on miss
3108 * Add fc-match to test font matching from the command line.
3110 2003-05-31 Keith Packard <keithp@keithp.com>
3112 * (Bug 85) add support for culmus fonts
3113 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3114 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3116 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3118 * Fix "contains" op for strings and langsets.
3120 2003-05-17 Keith Packard <keithp@keithp.com>
3122 * Fix build error with BDF prop local. Free langset after query
3124 2003-05-14 Keith Packard <keithp@keithp.com>
3126 * Extract spacing from XLFD atom
3128 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3130 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3131 disappeared in 1.30.
3133 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3135 2003-05-12 Keith Packard <keithp@keithp.com>
3137 * Use FcIsWidth to share code
3139 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3140 misclassifying some Han fonts as monospaced.
3142 2003-05-07 Keith Packard <keithp@keithp.com>
3144 * Add filename-based accept/reject to ammend available fonts.
3146 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3147 older FreeType releases.
3149 2003-05-06 Keith Packard <keithp@keithp.com>
3151 * Remove 0b82 and Tamil numbers from tamil
3152 orthography (Jungshik Shin <jshin@mailaps.org>)
3154 2003-05-04 Keith Packard <keithp@keithp.com>
3156 + Map glyph names in fonts with adobe custom encoding to unicode
3158 2003-05-02 Keith Packard <keithp@keithp.com>
3160 * Add FC_WEIGHT_BOOK as weight 75
3162 2003-04-30 Keith Packard <keithp@keithp.com>
3164 * Typo in bitstream foundry name
3166 2003-04-24 Keith Packard <keithp@keithp.com>
3168 * Eliminate italic_angle check for PS fonts
3170 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3172 * Getting closer to fixing /etc/fonts hard-coding.
3174 2003-04-22 Keith Packard <keithp@keithp.com>
3176 * Update autogen.sh to work with newer automake versions
3177 * Handle pattern elements moving during multiple edits
3179 2003-04-23 James Henstridge <james@daa.com.au>
3181 * doc/fontconfig-devel.sgml: close the <para> element.
3183 * doc/fcpattern.fncs: close the <para> element.
3185 * doc/func.sgml: close the <refsynopsisdiv> element.
3187 2003-04-22 Keith Packard <keithp@keithp.com
3189 * Update autogen.sh to work with newer automake versions
3190 * Handle pattern elements moving during multiple edits
3192 2003-04-17 Colin Walters <walters@debian.org>
3194 + Remove some unused variables, and initialize some other ones so
3195 gcc doesn't warn us.
3197 2003-04-16 Keith Packard <keithp@keithp.com>
3199 + tag version 2.1.94
3201 2003-04-16 Keith Packard <keithp@keithp.com>
3203 + add BDF property fetching support for foundry
3204 (from Juliusz Chroboczek)
3205 + add BDF property fetching support for width
3207 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3209 + Implemented foundry generation for Type 1 and TrueType
3211 2003-04-11 Gerard Escalante <g2@magestudios.net>
3213 + Retrieve information from Type1 FontInfo dictionaries
3215 2003-04-07 Colin Walters <walters@verbum.org>
3217 + src/Makefile.am: Fix dummy makefile target names when
3218 MS_LIB_AVAILABLE isn't set.
3220 2003-03-22 Tor Lillqvist <tml@iki.fi>
3222 Changes for Windows:
3224 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3226 + We don't want to hardcode the fonts.conf file location in the
3227 DLL, so we look up the DLL location at run-time in a DllMain()
3228 function. The fonts.conf location is deduced from that.
3230 + The colon can't be used as path separator on Windows,
3231 semicolon is used instead. File path components can be separated
3232 with either slash or backslash. Absolute paths can also begin
3233 with a drive letter.
3235 + Add internal function FcStrLastSlash that strrchr's the last
3236 slash, or backslash on Windows.
3238 + There is no link() on Windows. For atomicity checks, mkdir a
3239 lock directory instead.
3241 + In addition to HOME, also look for USERPROFILE.
3243 + Recognize the special font directory token WINDOWSFONTDIR, to
3244 use the system's font directory.
3246 + Remove the fontconfig-def.cpp that was obsolete. Add
3247 fontconfig.def(.in), without internal functions.
3249 + Add a fontconfig-zip(.in) script, used to build a binary
3252 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3253 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3254 to main package and man3/* to devel package
3256 + Added missing defattr(-, root, root) to main RPM package
3258 + Added HTML and text development documentation to -devel subpackage
3260 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3261 + Added back the configure macro options --disable-docs, otherwise
3262 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3263 version number) unconditionally, causing RPM to fail the build due
3264 to _unpackaged_files_terminate_build. We pick up the pregenerated
3265 docs with %doc already.
3267 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3268 + Removed commented out rpm macro define at top of spec file,
3269 replacing it with a simple explanation, since rpm macros are
3270 expanded by rpm even in comments.
3272 + Changed /usr/bin to _bindir in BuildRequires lines
3274 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3276 + Reorganized file manifest lists
3278 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3280 + fontconfig.spec.in: Improvements from Red Hat spec file.
3282 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3284 + docs/*.sgml: SGML fixes.
3286 Sat Mar 1 17:28:53 PST 2003 keithp
3287 + Ok, so the ChangeLog is a bit out of date
3289 + Lots of bugs fixed; most are in bugzilla, the
3290 biggest problems were in cache management where
3291 Owen discovered the library would lose badly when
3292 combining fonts-cache and ~/.fonts-cache data
3294 + Converted from autoconf to automake. This after
3295 getting patches accepted into libtool to allow
3296 the '-version-number' argument which lets
3297 packages set version numbers explicitly rather
3298 than the roundabout libtool way
3300 + Converted documentation to SGML using the docbook
3301 DTD. Now .txt and .html documents are installed
3302 in /usr/share/doc/fontconfig and there's no
3303 man page. Perhaps a man version can be written
3306 Sat Aug 31 15:21:22 PDT 2002 keithp
3307 + Xrender and Xft had several bugs related to
3308 rendering manually placed or poly-face text
3310 + Added more complete memory tracing in fontconfig
3311 Checked with (patched) mozilla and found no leaks
3313 + Updated Latin orthographies by comparing those from
3314 evertype.com with those from eki.ee. Tried to make
3315 sensible choices, including chars that occured in both
3316 and leaving some optional chars out that occured only
3319 Mon Aug 26 16:33:04 PDT 2002 keithp
3320 + Owen discovered that FcLangSetHasLang wasn't actually
3321 checking the language set.
3323 Mon Aug 26 13:37:23 PDT 2002 keithp
3324 + Append a version number to cache filenames
3326 Thu Aug 22 11:36:18 PDT 2002 keithp
3328 + Add "contains" and "not_contains" operators and elements to
3331 + Changed semantics of eq operator for LangSets to check for
3332 FcLangEqual so that any match will do
3334 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3335 of FcValueEqual to check for identical values when inserting into
3336 the results. This broke when the above semantic change was made,
3337 now it uses FcValueEqual which is "more correct" in any case.
3339 Thu Aug 22 00:32:29 PDT 2002 keithp
3341 + Reimplement FC_LANG as new datatype. Lists of strings
3342 was consuming over a megabyte of memory for 401 fonts.
3344 + Freeze patterns loaded from cache files. This shares
3345 common value lists and common patterns which saves
3346 considerable memory.
3348 + Change the denotation of 'constant' charsets to use special
3349 ref value instead of separate boolean.
3351 + Clean up leak tracing stuff, found several unannoted alloc/free
3354 Tue Aug 20 16:17:37 PDT 2002 keithp
3356 + Fix memory leak when parsing matrices from XML
3358 Mon Aug 19 11:57:27 PDT 2002 keithp
3360 + Fix autoconf files to pass FONTCONFIG_PATH on
3361 compile line so that ${prefix} gets substituted
3364 + Use getc_unlocked/putc_unlocked on systems that
3365 provide them to avoid damage done to stdio by posix
3367 + Eliminate FC_PATTERN and FcTypePattern in favor of
3368 an extended api for FcConfigSubstitute which takes
3369 both the font and the pattern.
3371 + Add 'sans serif' alias for 'sans-serif' as some apps
3372 can't handle hyphens in family names
3374 + Eliminate pretense of support for libxml2
3376 + Comment origins of Han orthographies
3378 Tue Jul 30 18:37:09 PDT 2002 keithp
3380 + Add binding property to edit element so that strong
3381 binding values may be inserted by the config file.
3382 The default remains weak.
3384 Sun 28 Jul 04:16:55 PDT 2002 keithp
3386 + Tagged release candidate 1 in the CVS tree and
3387 placed fcpackage.rc1.tar.gz for distribution
3389 Thu Aug 1 08:55:08 PDT 2002 keithp
3391 + Fixed autoconf builds to always specify install
3392 target files (for BSD). Also fixed to
3393 define FONTCONFIG_PATH in config.h so that
3394 nonstandard installs will actually work.