1 2006-04-14 Patrick Lam <plam@mit.edu>
2 * src/fcname.c (FcObjectToPtrLookup):
4 Fix Gecko-exposed segfault from my last hack to
5 FcObjectToPtrLookup. Simplify code and get things straight.
7 2006-04-14 Patrick Lam <plam@mit.edu>
10 Actually, just add URW fonts as aliases for all of the PostScript
11 fonts. (reported by Miguel Rodriguez).
13 2006-04-13 Patrick Lam <plam@mit.edu>
16 Add an alias 'Standard Symbols L' for 'Symbol'.
18 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
21 * src/fcpat.c: (FcPatternFreeze):
22 Fix memory leak (Coverity defect #2089).
24 * src/fcfreetype.c: (GetScriptTags):
25 Ignore script if subtable is missing (Coverity defect #2088).
27 2006-04-12 Patrick Lam <plam@mit.edu>
28 * src/fccfg.c (FcConfigSubstituteWithPat):
30 Fix possible null pointer dereference (Coverity defect #784)
31 and memory leak (Coverity defects #785, #786).
33 2006-04-12 Patrick Lam <plam@mit.edu>
34 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
36 Don't copy FcCharSet if we're going to throw it away anyway.
37 (Reported by Kenichi Handa).
39 2006-04-11 Ming Zhao <ming@gentoo.org>
42 * src/fcname.c (FcObjectToPtrLookup):
44 Fix bad behaviour on realloc resulting in crash.
46 2006-04-11 Patrick Lam <plam@mit.edu>
47 * src/fccache.c (FcGlobalCacheReadDir):
49 Don't crash if config is null (Coverity defect #984).
51 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
54 * src/fccharset.c (FcCharSetPutLeaf):
55 * src/fclang.c (FcNameUnparseLangSet):
57 Missing bits from previous patches.
59 * src/fccharset.c (FcCharSetSubtractCount):
60 Remove extra semi-colon.
62 * src/fccfg.c (FcConfigBuildFonts):
63 Fix memory leak in error case (Coverity defects #776, #985).
65 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
66 Fix memory leaks (Coverity defects #779, #781)
67 and memory use after free (Coverity defect #780).
69 2006-04-11 Patrick Lam <plam@mit.edu>
70 * src/fccharset.c (FcCharSetPutLeaf):
72 Properly convert static charsets to dynamic charsets.
74 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
77 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
79 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
81 * src/fclang.c: (FcNameUnparseLangSet):
82 Fix memory leak (Coverity defect #1819).
84 * fc-lang/fc-lang.c: (scan):
85 prevent crash when invalid include line is parsed (Coverity defect
88 * fc-cat/fc-cat.c: (FcCacheFileRead):
89 Fix potential null pointer access (Coverity defect #1804).
91 * src/fcname.c: (FcObjectUnserialize):
92 Remove dead code (Coverity defect #1194).
94 * src/fcfreetype.c: (GetScriptTags):
95 Prevent potential null pointer access (Coverity defect #767),
96 ensure error value is read (Coverity defect #1195).
98 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
103 Survive missing docbook2pdf.
105 2006-04-10 Patrick Lam <plam@mit.edu>
107 * fc-glyphname/fc-glyphname.c:
110 Include more stub definitions to make HP-UX's C compiler happy.
112 2006-04-10 Patrick Lam <plam@mit.edu>
113 * src/fcname.c (FcObjectUnserialize):
115 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
117 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
120 * src/fccfg.c: (FcConfigEvaluate):
121 Fix string memory leak (Coverity defect #1823).
123 * src/fccache.c: (FcDirCacheUnlink):
124 Fix memory leak with hash collision (Coverity defect #1824).
126 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
129 * src/fccache.c: (FcGlobalCacheSave):
130 Don't leak header in non-error case (Coverity defect #1825).
132 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
135 * src/fcdir.c (FcDirScanConfig)
136 Don't leak in error cases (Coverity defects #777, #1826)
138 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
141 * src/fccache.c: (FcDirCacheWrite):
142 Fix double free (spotted by Coverity, CID #1965).
144 * fc-match/fc-match.c: (main):
145 Check if pattern is not null before using it (Coverity defect #1883).
147 * src/fccache.c: (FcDirCacheWrite):
148 Fix memory leak with hash collision (Coverity defect #1829).
150 * src/fccfg.c: (FcConfigBuildFonts):
151 Fix memory leak when bail cases (Coverity defect #1828).
153 * src/fccache.c: (FcGlobalCacheLoad):
154 Don't leak directory name (Coverity defect #1827).
156 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
158 * fc-cache/Makefile.am:
159 * fc-cat/Makefile.am:
160 * fc-list/Makefile.am:
161 * fc-match/Makefile.am:
163 LD_ADD missing dependencies for binaries. Reported by
166 2006-04-07 Patrick Lam <plam@mit.edu>
168 * fc-lang/fc-lang.c (main):
170 SGI compilation fixes (reported by Christoph Bauer):
171 1) reorder union definition of _FcChar;
174 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
177 * src/fccharset.c (FcCharSetNeededBytes):
178 * src/fcfs.c (FcFontSetNeededBytes):
180 * src/fclang.c (FcLangSetNeededBytesAlign):
181 * src/fcname.c (FcObjectNeededBytesAlign):
182 * src/fcpat.c (FcPatternNeededBytesAlign,
183 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
185 Portability fixes for HP-UX (reported by Christoph Bauer).
186 Replace '__inline__' by AC_C_INLINE and 'inline'.
187 Replace '__alignof__' by 'fc_alignof'.
189 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
193 Move up #include of config.h.
194 Fail if neither inttypes.h nor stdint.h is available.
197 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
198 Patrick Lam <plam@mit.edu>
200 * fc-cache/fc-cache.c:
202 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
203 FcDirCacheConsume, FcDirCacheProduce,
204 FcDirCacheWrite, FcCacheMachineSignature):
205 * src/fcfreetype.c (FcFreeTypeQuery):
206 * src/fontconfig.def.in:
208 Make fontconfig compile under MinGW:
209 1) remove unneeded #includes;
210 2) make use of mmap and sysconf conditional;
211 3) replace rand_r by srand/rand if needed;
212 4) use chsize instead of ftruncate; and
213 5) update libtool exports file
215 2006-04-07 Patrick Lam <plam@mit.edu>
216 * src/fcdir.c (FcDirScanConfig):
220 2006-04-06 Patrick Lam <plam@mit.edu>
221 * fc-match/.cvsignore:
222 * fc-match/Makefile.am:
223 * fc-match/fc-match.sgml:
225 Update documentation for fc-match (SGML-ize it).
226 (reported by Ilya Konstantinov)
228 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
234 Reduce amount of dirty rss by const'ing some data structures.
236 2006-04-06 Patrick Lam <plam@mit.edu>
237 * fc-cache/Makefile.am:
239 Don't fail if we can't create or remove
240 $(pkgcachedir) i.e. /var/cache/fontconfig.
241 (reported by Quanah Gibson-Mount).
243 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
246 * fc-glyphname/fc-glyphname.c:
247 * fc-lang/fc-lang.c (main):
248 * fc-match/fc-match.c:
249 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
251 * src/fcfreetype.c (FcFreeTypeQuery):
252 * src/fclang.c (FcFreeTypeLangSet):
255 Fix intel compiler warnings: make many variables static,
256 eliminate duplicate names, reduce variable scopes, unsigned/signed
259 2006-03-24 Mike Fabian <mfabian@suse.de>
261 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
263 Fix multiarch support (don't destroy multiarch files!)
265 2006-03-24 Patrick Lam <plam@mit.edu>
268 Require pkg-config. (Thanks Behdad;
269 better solution wanted for libxml2 detection!)
271 2006-03-22 Patrick Lam <plam@mit.edu>
274 On Windows, unlink before rename. Reported by Tim Evans.
276 2006-03-15 Patrick Lam <plam@mit.edu>
280 Fix typos in orth files. Reported by Denis Jacquerye.
282 2006-03-08 Patrick Lam <plam@mit.edu>
284 * config/config.guess:
287 Fix Makefile.am for removal of debian/ directory.
289 2006-03-08 Patrick Lam <plam@mit.edu>
292 Ignore debian/ directory for CVS.
294 2006-03-08 Patrick Lam <plam@mit.edu>
297 Now remove debian/ directory.
299 2006-03-08 Patrick Lam <plam@mit.edu>
302 Remove debian/ directory from sources. See Debian's subversion
303 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
306 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
310 * fc-lang/iso639-1, fc-lang/iso639-2:
312 Add orthography for Lingala.
314 2006-03-08 Carl Worth <cworth@cworth.org>
317 * conf.d/Makefile.am:
318 * conf.d/10LohitGujarati.conf:
320 Add a configuration file that disables hinting for the Lohit
321 Gujarati font (since the hinting distort some glyphs quite badly).
323 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
326 * src/fcdir.c (FcDirScanConfig):
328 Sort directory entries while scanning them from disk;
329 prevents Heisenbugs due to file ordering in a directory.
331 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
334 * src/fcfreetype.c (GetScriptTags):
335 * src/ftglue.c, src/ftglue.h:
337 Remove stuff we don't use, make get_{char,short,long} functions
338 of ftglue macros to be inlined.
341 * src/fcname.c (FcObjectSerialize):
343 Code cleanups (excess prototype, old-style function definition).
345 2006-03-05 Patrick Lam <plam@mit.edu>
346 * src/fcpat.c (FcPatternGetString):
348 Because we hacked FcPatternGet, we don't really need to expand the
349 filename again in FcPatternGetString.
351 2006-03-05 Patrick Lam <plam@mit.edu>
352 * src/fcpat.c (FcPatternGetString, FcPatternGet):
354 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
355 Make that work. Reported by Bernhard Rosenkraenzer.
357 2006-03-03 Patrick Lam <plam@mit.edu>
360 Include inttypes.h instead of stdint.h if appropriate.
362 2006-03-03 Patrick Lam <plam@mit.edu>
363 * fc-cat/fc-cat.c (FcFileIsDir):
364 * fc-glyphname/fc-flyphname.c:
366 More stub definitions and remove FcFileIsDir from fc-cat.
368 2006-03-03 Patrick Lam <plam@mit.edu>
371 Fix compilation on AIX with stub definitions (bug 6097).
373 2006-03-03 Patrick Lam <plam@mit.edu>
374 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
375 * src/fcfreetype.c (GetScriptTags):
376 * src/fcfs.c (FcFontSetDistributeBytes):
377 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
379 Get rid of C++-style comments.
381 2006-03-03 Patrick Lam <plam@mit.edu>
384 Enable creation of 2.3.94 Debian packages.
386 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
389 * src/fclang.c (FcCharSetForLang):
391 Fix suspicious return expression which causes junk
394 2006-02-24 Patrick Lam <plam@mit.edu>
398 * fontconfig/fontconfig.h:
400 Bump version to 2.3.94.
402 2006-02-24 Patrick Lam <plam@mit.edu>
407 2006-02-24 Patrick Lam <plam@mit.edu>
408 * conf.d/10-fonts-persian.conf:
410 Remove unconditional emboldening (per Behdad's instructions).
414 Add @s to hide some echos.
416 2006-02-24 Mike Fabian <mfabian@suse.de>
417 Takashi Iwai <tiwai@suse.de>
420 * src/fcfreetype.c (GetScriptTags):
422 Fix double-free on error case.
424 2006-02-21 Patrick Lam <plam@mit.edu>
425 * fc-lang/fc-lang.c (scan):
427 Strip \r and whitespace from input; fixes bug 3454.
429 2006-02-21 Patrick Lam <plam@mit.edu>
430 * fc-lang/fc-lang.c (main):
432 Allocate large arrays statically in fc-lang to fix crashes under
435 2006-02-21 Diego Petten <flameeyes@gentoo.org>
436 * src/fcfreetype.c (FcFreeTypeCharIndex):
438 Pass the buck; make fontconfig not crash on pango badness.
440 2006-02-21 Patrick Lam <plam@mit.edu>
441 * conf.d/10-fonts-persian.conf:
443 Use embeddedbitmap rather than rh_prefer_bitmap.
445 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
448 * src/fccache.c (FcDirCacheWrite):
449 * src/fcdir.c (FcFileScanConfig):
450 * src/fcfreetype.c (FcStringInPatternElement):
451 * src/fcxml.c (FcParseFamilies):
452 * src/ftglue.c (ftglue_face_goto_table):
454 Eliminate redundancies.
456 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
459 * fc-list/fc-list.c (main):
460 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
461 * src/fcstr.c (FcStrStr):
462 * src/fcxml.c (FcConfigSaveAttr):
464 Eliminate unused vars reported by Intel's compiler.
466 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
471 Remove one more archaic character.
473 2006-02-21 Ross Burton <ross@burtonini.com>
474 reviewed by: plam, keithp
476 * src/fcxml.c (FcParsePatelt):
478 Freeze patterns created by configuration file for tiny
479 memory savings (every little bit helps).
481 2006-02-21 Mike Fabian <mfabian@suse.de>
484 * fc-cat/fc-cat.c (main):
486 Initialize fontconfig library in fc-cat to avoid segfault.
488 2006-02-18 Patrick Lam <plam@mit.edu>
489 * fc-cache/fc-cache.c (scanDirs):
490 * src/fccache.c (FcCacheReadDirs):
491 * src/fcdir.c (FcDirScanConfig):
493 Fix the underlying cause of the below segfault (must usually
494 call FcDirCacheHasCurrentArch after FcDirCacheValid).
496 2006-02-18 Patrick Lam <plam@mit.edu>
497 * src/fccache.c (FcDirCacheHasCurrentArch):
499 Fix triggering of segfault caused by misreading cache files
500 (reported by fcrozat).
502 2006-02-17 Patrick Lam <plam@mit.edu>
503 * src/fcint.h (FC_CACHE_MAGIC):
505 Bump up magic version; we changed the binary format.
507 2006-02-17 Patrick Lam <plam@mit.edu>
508 * fc-cat/fc-cat.c (main):
510 Enable fc-cat to print out old-style cache info when given a
513 2006-02-16 Patrick Lam <plam@mit.edu>
514 * src/fccache.c (FcDirCacheHasCurrentArch):
516 Deal correctly with changing FC_CACHE_MAGIC.
518 2006-02-16 Patrick Lam <plam@mit.edu>
519 * fc-cache/fc-cache.c (usage, scanDirs, main):
521 Add -r --really-force option which blows away cache files and then
524 2006-02-16 Patrick Lam <plam@mit.edu>
525 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
527 Don't bail if fontconfig can't remove a dir cache file.
528 Skip the ID of a cache file when copying.
529 Eliminate 'source file too small' bug in FcDirCacheWrite.
531 2006-02-13 Patrick Lam <plam@mit.edu>
532 * src/fcfreetype.c (FcFreeTypeQuery):
534 Fix memory leak in error condition code.
536 2006-02-13 Mike Fabian <mfabian@suse.de>
538 * src/fcfreetype.c (FcFreeTypeQuery):
540 Skip bitmap fonts which can't even get it together enough to
541 declare a family name; this appears to reproduce previous
542 fontconfig behaviour.
544 2006-02-10 Takashi Iwai <tiwai@suse.de>
546 * src/fccache.c (FcDirCacheOpen):
548 Try to open /var/cache/fontconfig/[hashed name] before
549 fonts.cache-2 in a directory, because /var/cache/fontconfig
550 failures ought to be fixable, unlike fonts.cache-2 failures,
551 which may leave you screwed.
553 2006-02-10 Takashi Iwai <tiwai@suse.de>
555 * src/fcmatch.c (FcFontSetMatch):
557 Use a tri-state to mark the fonts which didn't get blocked but
558 were just missing an element, to distinguish them from the
559 fonts that do match the element.
561 2006-02-10 Takashi Iwai <tiwai@suse.de>
563 * src/fcmatch.c (FcFontSetMatch):
565 Don't kill fonts because they don't declare an element that's
568 2006-02-09 Patrick Lam <plam@mit.edu>
569 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
570 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
572 Define and pass O_BINARY to open if appropriate, for those
573 platforms that need it. Reported by Doodle.
575 2006-02-09 Patrick Lam <plam@mit.edu>
576 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
579 Fix problem with missing 'en' due to euro.patch: change
580 cache file format slightly to coincide with that generated
583 2006-02-07 Patrick Lam <plam@mit.edu>
584 * src/fccache.c (FcCacheReadDirs):
588 2006-02-07 Patrick Lam <plam@mit.edu>
589 * src/fcdir.c (FcDirScanConfig):
591 Don't reject dirs that can't be normalized (fixes lilypond, and
592 is correct in the context of application font directories.)
594 2006-02-07 Takashi Iwai <tiwai@suse.de>
597 * src/fccache.c (FcCacheReadDirs):
599 Use normalized directory name exclusively in FcCacheReadDirs.
601 2006-02-07 Dirk Mueller <dmueller@suse.com>
604 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
606 Perf optimizations. Inline FcValueCanonicalize,
607 reduce FcValueListPtrU usage, remove redundant cast.
609 2006-02-07 Takashi Iwai <tiwai@suse.de>
612 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
615 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
616 Declare extern for static arrays as arrays, not pointers.
617 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
619 2006-02-07 Dirk Mueller <dmueller@suse.com>
632 Add Euro sign to list of symbols required by European languages.
634 2006-02-07 Patrick Lam <plam@mit.edu>
635 * src/fccache.c (FcCacheReadString):
637 Fix hidden variable warning.
639 2006-02-07 Dirk Mueller <dmueller@suse.com>
642 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
644 Remove de-escaping logic because FcCacheWriteString
645 doesn't escape anyway. Do blockwise reading instead
646 of byte-wise for performance.
648 2006-02-06 Patrick Lam <plam@mit.edu>
649 Takashi Iwai <tiwai@suse.de>
651 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
653 Don't loop infinitely on recursive symlinks (client-side).
655 2006-02-06 Takashi Iwai <tiwai@suse.de>
657 * fc-cache/fc-cache.c (scanDirs, main):
659 Don't loop infinitely on recursive symlinks.
661 2006-02-06 Takashi Iwai <tiwai@suse.de>
663 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
664 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
665 FcGlobalCacheSave, FcCacheReadDirs):
668 Skip subdirs when skipping over stale bits of global cache.
669 Introduce state machine into FcGlobalCacheDir to avoid
670 doing inappropriate operations on global dir entries, e.g.
671 writing out an out-of-date cache entry.
673 2006-02-06 Takashi Iwai <tiwai@suse.de>
675 * src/fcdir.c (FcFileScanConfig):
677 Hoist FcFileIsDir check out of FcFileScanConfig loop.
679 2006-02-06 Takashi Iwai <tiwai@suse.de>
682 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
683 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
685 Don't rescan when trying to normalize a non-declared font dir.
686 Don't add font dirs multiple times (even if they're aliased).
688 2006-02-06 Dirk Mueller <dmueller@suse.de>
691 * src/fcfs.c (FcFontSetUnserialize):
693 Explain apples/oranges comparison and fix compilation error.
695 2006-02-06 Dirk Mueller <dmueller@suse.de>
698 * src/fcfs.c (FcFontSetUnserialize):
700 Insert check for integer overflow in # of fonts.
702 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
706 * fc-cache/Makefile.am:
707 * fc-cat/Makefile.am:
708 * fc-list/Makefile.am:
710 Make 'make distcheck' work with automake 1.6.3.
712 2006-02-03 Takashi IWAI <tiwai@suse.de>
715 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
718 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
719 FcDirCacheConsume, FcDirCacheWrite)
720 * src/fcxml.c (FcConfigMessage):
722 Check I/O call return values and eliminate unused variable
725 2006-02-03 Takashi Iwai <tiwai@suse.de>
728 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
732 2006-02-03 Dirk Mueller <dmueller@suse.de>
735 * src/fcfs.c (FcFontSetUnserialize):
737 Gracefully handle the case where a cache asserts that it
738 has a negative number of fonts, causing overflow.
740 2006-02-03 Patrick Lam <plam@mit.edu>
741 * src/fccache.c (FcDirCacheUnlink):
743 Fix double free in error case.
745 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
746 Stephan Kulow <coolo@suse.de>
749 * fc-cache/Makefile.am:
751 Replace 'stamp' target with mkinstalldirs.
753 2006-01-31 Mike Fabian <mfabian@suse.de>
756 * src/fccache.c (FcGlobalCacheLoad):
758 Toast broken global cache files.
760 2006-01-30 Patrick Lam <plam@mit.edu>
761 * src/fccache.c (FcGlobalCacheReadDir):
763 Actually use the directories that I added to the global cache.
766 2006-01-30 Mike Fabian <mfabian@suse.de>
769 * fc-cache/fc-cache.c (scanDirs):
771 Don't stop scanning if a directory in fonts.conf doesn't
772 exist, because subsequent directories might exist.
774 2006-01-30 Patrick Lam <plam@mit.edu>
775 * src/fccache.c (FcGlobalCacheLoad):
777 Make global cache work again after putting dir names into global
778 cache (I misplaced the recording of a file offset).
780 2006-01-30 Patrick Lam <plam@mit.edu>
781 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
783 Update fc-cat to handle subdir lists in global cache file.
785 * src/fccache.c (FcGlobalCacheLoad):
787 Another FcCacheReadString return value check.
789 2006-01-30 Mike Fabian <mfabian@suse.de>
792 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
793 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
795 Make fccache more resilient to broken cache files by checking
796 return value of FcCacheReadString all the time.
798 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
801 * fc-match/fc-match.1:
802 * fc-lang/fc-lang.man:
804 Remove references to dead fontconfig(3) manpages in
805 other fontconfig manpages.
807 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
810 * doc/fcpattern.fncs:
812 Fix world's tiniest typo in code example.
814 2006-01-29 Mike Fabian <mfabian@suse.de>
817 * src/fccache.c (FcGlobalCacheReadDir):
819 Fix global cache reads of subdirectories.
821 2006-01-29 Patrick Lam <plam@mit.edu>
823 Add documentation for FcConfigNormalizeFontDir.
825 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
826 FcGlobalCacheUpdate, FcGlobalCacheSave):
827 * src/fcdir.c (FcDirScanConfig):
830 Write directory information to global caches to fix make check
831 (reported by Ronny V. Vindenes). This changes the global cache
834 2006-01-27 Patrick Lam <plam@mit.edu>
835 * fc-cache/fc-cache.c (scanDirs):
836 * fontconfig/fontconfig.h:
838 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
840 Move FcConfigNormalizeFontDir call so that it doesn't result in
841 infinite recursion (reported by Ronny V. Vindenes).
843 2006-01-26 Patrick Lam <plam@mit.edu>
844 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
845 * src/fccfg.c (FcConfigNormalizeFontDir):
847 Add a couple of missing normalizations to make fc-cache work
848 right; only scan subdirectories once.
850 2006-01-26 Mike Fabian <mfabian@suse.de>
853 * src/fcacache.c (FcGlobalCacheReadDir):
855 Don't crash on non-existant directories in global cache.
857 2006-01-26 Patrick Lam <plam@mit.edu>
858 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
859 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
860 * src/fcdir.c (FcDirScanConfig):
861 * src/fcxml.c (FcEndElement):
863 Stop trampling the directory name when writing out caches.
864 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
865 subdirs when necessary. Don't scan directories that can't be
868 2006-01-25 Patrick Lam <plam@mit.edu>
869 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
870 * src/fccfg.c (FcConfigEvaluate):
871 * src/fcfreetype.c (FcPatternAddWithBinding):
873 Fix additional memory leaks reported by Ronny V. Vindenes: don't
874 invoke FcValueSave on hashed static strings in
875 FcPatternAddWithBinding.
877 Add another st_dev check in FcDirCacheOpen.
879 2006-01-24 James Su <james.su@gmail.com>
882 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
883 * fc-lang/zh_hk.orth:
885 Treat zh-hk fonts differently from zh-tw fonts. This patch may
886 cause fontconfig to treat A-X fonts differently from A-Y fonts;
887 please mail the fontconfig list if this causes any problems.
889 2006-01-24 Patrick Lam <plam@mit.edu>
890 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
891 * src/fcfreetype.c (FcFreeTypeQuery):
893 Fix memory leaks reported by Ronny V. Vindenes.
895 2006-01-19 Andreas Schwab <schwab@suse.de>
898 * src/fcpat.c (FcStrNeededBytes):
900 Fix for unaligned memory accesses.
902 2006-01-18 Mike Fabian <mfabian@suse.de>
905 * src/fcdir.c (FcDirScanConfig):
907 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
908 calls to avoid crashes.
910 2006-01-14 Patrick Lam <plam@mit.edu>
911 * src/fccache.c (FcDirCacheConsume):
913 Fix segfault when consuming zero-length caches in fc-cat
914 (which has no config, so FcConfigAddFontDir shouldn't be called.)
916 2006-01-14 Patrick Lam <plam@mit.edu>
917 * fc-cache/fc-cache.c (scanDirs):
918 * fontconfig/fontconfig.h:
919 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
920 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
921 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
922 * src/fcdir.c (FcDirScanConfig):
925 Compare device numbers as well as inodes.
926 Always normalize directory names before comparing them.
928 2006-01-11 Mike Fabian <mfabian@suse.de>
931 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
933 Allocate extra space for appended '/' in directory name.
935 2006-01-10 Patrick Lam <plam@mit.edu>
936 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
937 FcDirCacheValid, FcDirCacheHasCurrentArch,
938 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
939 * fc-cache/fc-cache.c (main):
941 Explicitly add font dirs to config.fontDirs even if they're empty.
942 Set current config in fc-cache.c.
943 Fix treatment of cache directory as read from cache file; don't
944 use string equality to determine if we have the right file,
947 2006-01-09 Patrick Lam <plam@mit.edu>
948 * fc-cache/fc-cache.c (scanDirs):
949 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
950 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
951 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
952 * src/fccfg.c (FcConfigNormalizeFontDir):
953 * src/fcdir.c (FcDirScanConfig):
956 Normalize font dirs by using the form, as given in fonts.conf, and
957 recorded in FcConfig's fontDirs string set, as canonical.
959 Actually update config.fontDirs as font directories are scanned.
961 2006-01-08 James Su <james.su@gmail.com>
962 * src/fcmatch.c (FcFontSetMatch):
964 Fix matching bug when multiple elements match; don't use
965 the sum of all scores, but the best score.
967 Also more perf opts, e.g. evaluate best over all font sets
968 rather than on a per-set basis (and other changes).
970 2006-01-08 Patrick Lam <plam@mit.edu>
971 * src/fccache.c (FcDirCacheConsume):
973 Properly skip past dir caches that contain zero fonts (as occurs
974 in global caches.) Reported by Mike Fabian.
976 2006-01-06 Patrick Lam <plam@mit.edu>
977 * src/fcdbg.c (FcPatternPrint):
979 Print out full pathname in fc-match -v as well. Reported by
982 2006-01-06 Mike Fabian <mfabian@suse.de>
985 * src/fcname.c (FcNameParse):
987 Fix bug where fc-match crashes when given __DUMMY__ property to
990 (I added the __DUMMY__ string to enable callers of
991 FcObjectToPtrLookup to distinguish an error return from a
992 successful return. -PL)
994 2006-01-05 Patrick Lam <plam@mit.edu>
997 Add self to AUTHORS list.
999 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1000 FcCacheFileRead, FcCachePrintSet, main):
1001 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1002 FcGlobalCacheSave, FcCacheNextOffset,
1003 FcDirCacheHasCurrentArch, FcDirCacheRead,
1004 FcDirCacheConsume, FcDirCacheWrite):
1006 * src/fcpat.c (comment):
1008 Minor change to global cache file format to fix fc-cat bug
1009 reported by Frederic Crozat, and buglet with not globally caching
1010 directories with zero fonts cached.
1012 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1015 * src/fccfg.c (FcConfigEvaluate):
1017 Fix double-free which occurs because FcValueCanonicalize doesn't
1018 create an extra copy of the returned value, it only canonicalizes
1021 2006-01-02 Patrick Lam <plam@mit.edu>
1022 * doc/fontconfig-user.sgml:
1024 Fix version of .cache file (currently 1 -> currently 2). Reported
1027 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1030 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1032 Shut up GCC warnings on amd.
1034 2005-12-20 Patrick Lam <plam@mit.edu>
1038 * fontconfig/fontconfig.h:
1040 Bump version to 2.3.93.
1042 2005-12-20 Patrick Lam <plam@mit.edu>
1043 * src/fccharset.c (FcLangCharSetPopulate):
1044 * src/fcint.h (FcCacheBankToIndex):
1046 Avoid check on _fcBankId nullness and fix case where it used to
1049 2005-12-20 Patrick Lam <plam@mit.edu>
1050 * src/fcxml.c (FcConfigParseAndLoad):
1052 Use open instead of fopen (requested by Phil Race for Sun).
1054 2005-12-20 Patrick Lam <plam@mit.edu>
1055 * src/fccache.c (FcDirCacheWrite);
1056 * fc-cache/Makefile.am:
1058 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1061 2005-12-20 Patrick Lam <plam@mit.edu>
1062 * src/fcfreetype.c (FcFreeTypeQuery):
1064 Restore code to skip over PCF fonts that have no encoded
1066 (We guess that a font is PCF by presence of the PIXEL_SIZE
1069 2005-12-12 Patrick Lam <plam@mit.edu>
1070 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1072 Read and write the original location as a fallback for the
1073 hashed cache file locations. This is mostly for users to be
1074 able to have per-directory cache files.
1076 2005-12-12 Patrick Lam <plam@mit.edu>
1077 * fc-cache/fc-cache.c (scanDirs):
1078 * fc-cache/Makefile.am:
1079 * src/fccache.c (FcDirCacheHashName):
1081 Improve error message when fc-cache can't write the cache. Add
1082 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1083 create /var/cache/fontconfig when appropriate.
1085 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1088 * src/fcxml.c (FcConfigGetAttribute):
1090 Fix crash reported by Frederic Crozat when using libxml2.
1092 2005-12-09 Patrick Lam <plam@mit.edu>
1095 * fc-cache/Makefile.am:
1096 * fc-cat/Makefile.am:
1098 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1099 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1100 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1101 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1102 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1103 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1105 Migrate cache files from fonts directories to
1106 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1107 but requires that all caches get rebuilt.
1109 Also, autogen.sh now needs the additional parameter
1110 --localstatedir=/var.
1112 2005-12-07 Patrick Lam <plam@mit.edu>
1113 * src/fcpat.c (FcPatternAddString):
1115 Because we've changed FcPatternAddString to use FcStrStaticName
1116 and not FcValueSave, explicitly handle the case of a null string.
1118 2005-12-06 Patrick Lam <plam@mit.edu>
1119 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1123 2005-12-05 Patrick Lam <plam@mit.edu>
1124 * src/fcname.c (FcNameGetObjectType):
1126 Don't assign types to user object names.
1128 2005-12-05 Patrick Lam <plam@mit.edu>
1129 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1131 Don't free strings that have been returned from FcStrStaticName.
1133 2005-12-01 Patrick Lam <plam@mit.edu>
1134 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1136 Add codepath for reading global cache files as well.
1138 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1141 * conf.d/10-fonts.persian.conf:
1142 * conf.d/Makefile.am:
1144 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1146 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1149 * src/fcxml.c (FcConfigParseAndLoad):
1151 Only add a config file to the set of config files once.
1153 2005-11-29 Patrick Lam <plam@mit.edu>
1154 * src/fcint.h (FcCacheBankToIndex);
1156 Fix segfault by guarding array dereference.
1158 2005-11-29 Dirk Mueller <dmueller@suse.de>
1161 * fc-lang/fc-lang.c:
1162 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1163 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1167 Refactor FcCacheBankToIndex into an inlineable part
1168 (in fcint.h) which checks the front of the list and a
1169 non-inlineable part which finds and moves the appropriate element
1170 to the front of the list.
1172 2005-11-29 Patrick Lam <plam@mit.edu>
1173 * src/fccfg.c (FcConfigBuildFonts):
1174 * src/fccache.c (FcCacheReadDirs):
1176 Make the perf guys hate me a bit less: hoist the directory-name
1177 FcConfigAcceptFont check for cached fonts up to directory cache
1178 read time, rather than running it for each font.
1180 2005-11-29 Patrick Lam <plam@mit.edu>
1181 * src/fccfg.c (FcConfigBuildFonts):
1183 * src/fcpat.c (FcPatternFindFullFname):
1185 Don't make FcPatternFindFullFname available to fccfg, it's not
1186 really safe. Instead go through FcPatternGetString (sorry,
1187 perf guys.) Also, use globs for dirs as well.
1189 2005-11-28 Patrick Lam <plam@mit.edu>
1190 * src/fccfg.c (FcConfigBuildFonts):
1194 2005-11-28 Patrick Lam <plam@mit.edu>
1196 * src/fcpat.c (FcPatternFindFullFname):
1197 * src/fccfg.c (FcConfigBuildFonts):
1199 Fix problem dating back at least to 2.3.2 where globs weren't
1200 being applied to patterns loaded from a cache.
1202 2005-11-28 Patrick Lam <plam@mit.edu>
1203 * doc/fontconfig-user.sgml:
1205 Fix some obvious spelling mistakes.
1207 2005-11-28 Dirk Mueller <dmueller@suse.com>
1208 Stephan Kulow <coolo@suse.de>
1211 * src/fcmatch.c (FcFontSetMatch):
1213 Don't kill all fonts during match (oops!)
1216 2005-11-25 Dirk Mueller <dmueller@suse.com>
1217 Stephan Kulow <coolo@suse.de>
1218 Michael Matz <matz@suse.de>
1221 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1224 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1225 inline FcCompare into FcFontSetMatch and reorder the
1226 loops, adding a boolean array which blocks patterns from future
1227 consideration if they're known to not be best on some past
1230 2005-11-26 Dirk Mueller <dmueller@suse.com>
1233 * src/fcmatch.c (FcCompareValueList):
1235 Fix incorrect merge.
1237 2005-11-25 Patrick Lam <plam@mit.edu>
1238 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1240 Don't do random matching when bad objects are passed into
1243 2005-11-25 Patrick Lam <plam@mit.edu>
1245 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1246 FcPatternSerialize, FcPatternUnserialize,
1247 FcValueListEnsureBank, FcValueListDistributeBytes,
1248 FcValueListUnserialize):
1250 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1251 _fcPatternElts, _fcValueLists for consistency.
1253 2005-11-25 Dirk Mueller <dmueller@suse.com>
1258 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1260 2005-11-25 Patrick Lam <plam@mit.edu>
1262 * src/fccache.c (FcDirCacheConsume):
1263 * src/fccharset.c (FcCharSetUnserialize):
1264 * src/fcfs.c (FcFontSetUnserialize):
1265 * src/fclang.c (FcLangSetUnserialize):
1266 * src/fcname.c (FcObjectUnserialize):
1267 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1268 FcPatternUnserialize):
1270 Pass around FcCache *s to the Unserialize functions for extra
1271 consistency (and less overhead, for what that's worth).
1273 2005-11-24 Dirk Mueller <dmueller@suse.com>
1277 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1278 * src/fcname.c (FcNameUnparseValue):
1280 Inline the *PtrU functions to gain perf.
1281 Remove unneeded params for the FcCompare* functions.
1283 2005-11-24 Dirk Mueller <dmueller@suse.com>
1286 * src/fcint.h, fontconfig/fontconfig.h:
1288 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1290 * src/fcpat.c, src/fcint.h, src/fcname.c:
1292 Check for type validity during FcPatternAddWithBinding, don't
1293 verify type in FcFontMatch, don't call FcCanonicalize here
1294 (which always does a deep copy).
1296 2005-11-24 Dirk Mueller <dmueller@suse.com>
1299 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1300 * src/fcpat.c (FcPatternAddWithBinding):
1302 Make FcCompareString and FcCompareFamily less expensive.
1303 Only add a value for FC_FAMILY if the proposed value is a string.
1305 2005-11-24 Dirk Mueller <dmueller@suse.com>
1308 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1309 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1310 * src/fcint.h (FcDebug):
1312 Inline FcDebug invocations and only initialize once, in FcInit*.
1313 Improve debug msg in FcPatternPrint.
1315 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1318 * fontconfig/fontconfig.h:
1321 Minor code warning cleanups.
1323 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1326 * fc-match/fc-match.c (main):
1328 Make getopt_long accept -s parameter to fc-match as well.
1330 2005-11-21 Dirk Mueller <dmueller@suse.com>
1333 * src/fcmatch.c (FcCompareValueList):
1335 Manually perform inlining & partial redundancy elimination to
1336 reduce calls to FcValueListPtrU.
1338 2005-11-21 Dirk Mueller <dmueller@suse.com>
1341 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1342 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1344 Only invoke strlen() when really necessary.
1346 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1350 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1351 FcFontCapabilities):
1355 Get rid of the use of freetype internal headers in fcfreetype.c,
1356 since those headers will go away with freetype 2.2. Replace with
1357 public domain ftglue code from pango. Note that the patch removes
1358 some extra error checking in FT_Get_BDF_Property() and comments
1359 out the skipping of empty pcf fonts.
1361 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1364 * fc-lang/fc-lang.c (main):
1366 Further fix of patch from 2005-11-04: miscounted numbers count
1367 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1368 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1370 Removed leafidx_count and numbers_count since they are the same
1371 and replaced them with offset_count.
1373 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1376 * fc-cat/fc-cat.c (main):
1378 Don't crash when fc-cat invoked with no arguments.
1380 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1383 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1385 Fix invalid read access caused by premature free and
1386 GCC4 warnings in libxml2 codepath.
1388 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1391 * src/fccfg.c (FcConfigValues):
1393 List iteration not needed in FcConfigValues, since it's building
1394 up the list itself; we can just strip FcVoid elements during
1397 2005-11-17 Patrick Lam <plam@mit.edu>
1398 * src/fccfg.c (FcConfigValues):
1400 Fix crash on invalid constants in config files (forgot to update
1401 a pointer upon list iteration.)
1403 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1406 * src/fcxml.c (FcTypecheckExpr):
1408 Complain about invalid constants in config files.
1410 2005-11-17 Andreas Schwab <schwab@suse.de>
1413 * src/fccache.c (FcGlobalCacheSave):
1415 Don't add current_arch_start more than once.
1417 2005-11-16 Patrick Lam <plam@mit.edu>
1418 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1419 * src/fcfs.c (FcFontSetUnserialize):
1420 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1421 * src/fcpat.c (FcStrUnserialize):
1423 Fix ordering of ALIGN with respect to saving block_ptr; add
1424 another ALIGN to fcfs.c.
1426 2005-11-16 Patrick Lam <plam@mit.edu>
1427 * src/fccache.c (FcDirCacheProduce)
1429 Fix case where alignment bytes bumped up metadata->count
1430 causing unwarranted failures to write cache files.
1431 (Reported by Stephan Kulow).
1433 2005-11-16 Patrick Lam <plam@mit.edu>
1434 * src/fccache.c (FcDirCacheProduce):
1435 * src/fccharset.c (FcCharSetDistributeBytes):
1436 * src/fcfs.c (FcFontSetDistributeBytes):
1438 * src/fclang.c (FcLangSetDistributeBytes):
1439 * src/fcname.c (FcObjectDistributeBytes):
1440 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1443 Add *NeededBytesAlign(), which overestimates the padding which is
1444 later added by the new ALIGN macro. Fix alignment problems on
1445 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1446 version by Andreas Schwab).
1448 2005-11-16 Stephan Kulow <coolo@kde.org>
1453 Use sysconf to determine proper PAGESIZE value; this
1454 appears to be POSIX-compliant. (reported by Andreas Schwab)
1456 2005-11-04 Patrick Lam <plam@mit.edu>
1457 * fc-lang/fc-lang.c:
1462 Fix bug 2878 (excessive relocations at startup for charsets,
1463 reported by Ross Burton): fc-lang/fc-lang now creates the
1464 static form of the langset, not the dynamic form, so that
1465 the charsets should now be in .rodata.
1467 2005-11-04 Patrick Lam <plam@mit.edu>
1468 * src/fcdir.c (FcDirScanConfig):
1470 Add test for validity of directory caches that
1471 somehow got lost (reported by make distcheck).
1473 2005-11-04 Patrick Lam <plam@mit.edu>
1477 * fontconfig/fontconfig.h:
1479 Bump version to 2.3.92.
1481 2005-11-02 Patrick Lam <plam@mit.edu>
1482 * src/fcpat.c (FcPatternDuplicate):
1484 Fix argument ordering problem in call to FcPatternTransferFullFname.
1486 2005-11-02 Patrick Lam <plam@mit.edu>
1487 * src/fcfreetype.c (FcFreetypeQuery):
1488 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1489 FcPatternTransferFullFname):
1491 Fix warnings and embarrassing double-free error.
1493 2005-11-02 Zhe Su <zsu@novell.com>
1498 Change the rule for artificial emboldening in fonts.conf.in. This
1499 enables the support for artificial emboldening included in cairo.
1501 2005-11-02 Patrick Lam <plam@mit.edu>
1502 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1504 Don't zero out full names for FC_REF_CONSTANT fonts;
1505 also, duplicate full names when transferring, and free
1506 full names when freeing the associated font.
1507 Reported by Jinghua Luo.
1509 2005-11-02 Patrick Lam <plam@mit.edu>
1510 * fc-cache/fc-cache.c (scanDirs):
1511 * src/fcpat.c (FcValueListSerialize):
1513 Revert the previous patch and commit the correct patch:
1514 I forgot a canonicalization in FcValueListSerialize, so
1515 that it would choke on already-serialized input files. Duh!
1517 2005-11-02 Patrick Lam <plam@mit.edu>
1518 * fc-cache/fc-cache.c (scanDirs):
1520 Forcibly rescan a directory before writing a fresh local
1521 cache file for that directory, fixing the losing-fonts
1522 problem reported by Mike Fabian and also apparently the
1523 font cache file corruption.
1525 2005-11-02 Patrick Lam <plam@mit.edu>
1526 * src/fccache.c (FcGlobalCacheLoad):
1528 Fix thinko: actually, the whole global cache is stale
1529 if the global cache is older than the (newest) config file.
1531 2005-11-02 Patrick Lam <plam@mit.edu>
1532 * src/fccache.c (FcGlobalCacheLoad):
1533 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1536 Declare the global cache of a directory's contents to be stale if
1537 the directory is newer than the (newest) configuration file.
1539 2005-10-31 Patrick Lam <plam@mit.edu>
1541 * src/fclist.c (FcListAppend):
1542 * src/fcmatch.c (FcFontRenderPrepare):
1543 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1544 FcPatternFreeze, FcPatternBaseFreeze):
1546 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1547 applications continue breaking.
1549 2005-10-31 Patrick Lam <plam@mit.edu>
1550 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1551 * src/fcfreetype.c (FcFreeTypeQuery):
1553 Fix small memory error (tried to free argv); use basename and
1554 dirname correctly (they can modify their arguments).
1556 2005-10-31 Patrick Lam <plam@mit.edu>
1564 Reinstate basename patch, but keep a hash table linking FcPatterns
1565 to their fully-qualified font names for clients' benefit. Clients
1566 only pay for the font names once they request the FC_FILE property
1567 from an FcPattern, but the font name is malloc'd at that point (i.e.
1568 not mmapped: that's impossible, since it may vary between machines.)
1569 Clients do have to pay for a copy of the path name per cache file.
1571 Note that FcPatternGetString now does some rewriting if you ask
1572 for an FC_FILE, appending the pathname as appropriate.
1574 2005-10-31 Patrick Lam <plam@mit.edu>
1575 * src/fcfreetype.c (FcFreeTypeQuery):
1577 Revert basename patch, which breaks fontconfig clients on my system.
1579 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1582 * fontconfig/fonts.conf.in:
1583 * fontconfig/fontconfig.h:
1587 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1588 to load embedded bitmaps or not.
1590 2005-10-25 Patrick Lam <plam@mit.edu>
1591 * src/fcfreetype.c (FcFreeTypeQuery):
1593 Only add basename to patterns' FC_FILE element, not any part of
1596 2005-10-22 Patrick Lam <plam@mit.edu>
1599 Add some more consts, fixing more GCC4 warnings.
1601 2005-10-22 Zhe Su <zsu@novell.com>
1604 Support localized font family and style names.
1605 This has been reported to break old apps like xfd, but modern
1606 (gtk+/qt/mozilla) apps work fine.
1608 2005-10-21 Patrick Lam <plam@mit.edu>
1609 * src/fccache.c (FcGlobalCacheLoad):
1611 Destroy the global cache file if it's terminally broken. (reported by
1614 2005-10-21 Patrick Lam <plam@mit.edu>
1615 * fc-list/fc-list.c (main):
1616 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1617 * fontconfig/fontconfig.h:
1619 Prevent fc-list from escaping strings when printing them (reported by
1622 2005-10-20 Marcus Meissner <meissner@suse.de>
1625 * fontconfig/fontconfig.h:
1627 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1629 2005-10-14 Ross Burton <ross@burtonini.com>
1632 * fc-glyphname/fc-glyphname.c:
1635 Add consts to variables so as to move arrays into .rodata.
1637 2005-10-14 Mike Fabian <mfabian@suse.de>
1640 * src/fccache.c (FcDirCacheUnlink):
1642 Check existence of directory cache file before attempting to unlink.
1644 2005-10-13 Patrick Lam <plam@mit.edu>
1645 * src/fccache.c (FcDirCacheUnlink):
1647 Fix flipped return value on unlink. (Reported by Mike Fabian)
1649 2005-10-12 Patrick Lam <plam@mit.edu>
1652 * src/fcdir.c (FcDirScanConfig):
1655 When fc-cache is run without --force, use directory cache files
1656 to speed up fc-cache run time. (Reported by Mike Fabian)
1658 2005-10-06 Patrick Lam <plam@mit.edu>
1660 * src/fcname.c (FcObjectToPtr):
1661 * src/fcpat.c (FcStrStaticName):
1663 Add padding to make valgrind and glibc not hate each other
1664 when calling strlen().
1666 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1667 reviewed by: plam & keithp
1671 Modify config file to use Greek fonts before Asian fonts with
1674 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1675 reviewed by: plam & keithp
1679 Use libtool -no-undefined flag on all platforms.
1681 2005-10-05 Patrick Lam <plam@mit.edu>
1682 * src/fccache.c (FcCacheHaveBank):
1684 Implement move-to-front array for banks (perf regression
1685 reported by Ronny V. Vindenes).
1687 2005-10-04 Patrick Lam <plam@mit.edu>
1688 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1689 FcDirCacheHasCurrentArch):
1690 * fc-cache/fc-cache.c (scanDirs):
1691 * fontconfig/fontconfig.h:
1693 Add new API which unlinks directory caches and checks dir caches
1694 for existence of appropriate sections. Fix fc-cache to unlink
1695 stale cache files and save directory caches that lack relevant
1698 2005-10-03 Patrick Lam <plam@mit.edu>
1699 * src/fccache.c (FcDirCacheValid):
1701 Ensure that a directory cache has the appropriate section
1702 before reporting that it is valid (reported by Matthias Clasen).
1704 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1712 Use libxml2 if requested (with --enable-libxml2) or if
1713 expat is not available.
1715 2005-09-29 Patrick Lam <plam@mit.edu>
1716 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1718 Fix multi-arch cache files: compute the position for the
1719 block to be added using info from OrigFile, not NewFile.
1721 2005-09-28 Patrick Lam <plam@mit.edu>
1722 * src/fccache.c (FcCacheMachineSignature):
1724 Cast results of sizeof() to unsigned int to get rid of
1725 warnings on x86_64 (thanks Matthias Clasen).
1727 2005-09-27 Patrick Lam <plam@mit.edu>
1728 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1731 Use FcAtomic to rewrite cache files.
1733 2005-09-27 Patrick Lam <plam@mit.edu>
1735 * src/fccache.c (FcDirCacheWrite):
1737 Don't unlink the fonts.cache-2 file even if there's no data
1738 to write; just write an empty cache file. (thanks Lubos Lunak)
1740 2005-09-27 Patrick Lam <plam@mit.edu>
1742 * src/fccache.c (FcDirCacheWrite):
1744 Allocate room for the subdirectory names in each
1745 directory cache. Thanks to James Cloos for finding
1746 and diagnosing this bug!
1748 2005-09-22 Patrick Lam <plam@mit.edu>
1750 * fc-cache/fc-cache.sgml:
1751 * src/fccache.c (FcDirCacheWrite):
1752 * src/fccache.h (struct FcCache):
1754 Update documentation -- fc-cache's man page now says that you
1755 need to run fc-cache once per cached architecture; add some
1756 documentation to the FcCache structure.
1758 Make fc-cache write out fonts.cache-2 files for directories with
1759 no fonts (i.e. only subdirectories).
1761 2005-09-22 Patrick Lam <plam@mit.edu>
1763 * fc-cache/fc-cache.sgml:
1764 * fc-case/fc-case.c:
1765 * fc-glyphname/fc-glyphname.c:
1771 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1775 * fc-lang/fc-lang.c:
1776 * fontconfig/fcprivate.h:
1777 * fontconfig/fontconfig.h:
1791 Implement new mmaped cache for font information.
1792 Bump so revision to 2.3.90.
1794 2005-07-25 Keith Packard <keithp@keithp.com>
1796 * doc/fontconfig-user.sgml:
1797 * fc-glyphname/fc-glyphname.c: (scan), (main):
1798 * fc-lang/fc-lang.c: (FcConfigHome):
1799 * fc-match/fc-match.c: (main):
1800 * src/fccfg.c: (FcConfigHome):
1801 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1802 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1803 (addtag), (FcFontCapabilities):
1804 * src/fcpat.c: (FcValueListEntCreate):
1805 * src/fcstr.c: (FcStrCaseWalkerInit):
1806 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1808 Various GCC 4 cleanups for signed vs unsigned char
1810 Match only [0-9]*.conf files in <include>{directory}</include>
1811 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1813 2005-07-15 Carl Worth <cworth@cworth.org>
1816 * src/fcinit.c: (FcFini):
1817 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1820 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1821 Pull the FcObjectStateName hash table out to file scope, and add
1822 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1825 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1828 2005-06-16 Patrick Lam <plam@MIT.EDU>
1832 * src/fccfg.c: (FcConfigCompareValue):
1833 Make FcOpNotContains use FcStrStr for strings so that
1834 it matches semantics for !FcOpContains.
1836 2005-05-20 Keith Packard <keithp@keithp.com>
1840 Move fontconfig source package to libs as per override
1842 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1844 reviewed by: Mike Fabian
1847 The ka.orth file requires several characters which are not
1848 used anymore in modern Georgian and which are missing in the free
1849 Georgian TrueType fonts downloadable at:
1851 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1853 2005-04-27 Keith Packard <keithp@keithp.com>
1857 Update date to real 2.3.2 release date.
1858 Fix change attributions
1860 2005-04-27 Keith Packard <keithp@keithp.com>
1863 Bump so revision for 2.3.2
1864 * fc-cache/fc-cache.c: (scanDirs):
1865 Fix a few minor leaks in error cases.
1867 2005-04-23 Keith Packard <keithp@keithp.com>
1872 * fontconfig/fontconfig.h:
1873 Update for version 2.3.2
1875 2005-04-21 Keith Packard <keithp@keithp.com>
1877 * debian/fontconfig.postinst:
1878 Don't force bitmap font enable in default
1879 configuration; allows users to override this in
1889 * debian/po/pt_BR.po:
1890 * debian/po/templates.pot:
1892 * debian/po/zh_CN.po:
1893 Updated translations
1895 * fc-cache/fc-cache.c: (main):
1896 Destroy font configuration on exit to help valgrind
1899 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1900 (FcFreeTypeCheckGlyph):
1901 Use own transcoding routines in preference to iconv
1902 which appears to have leaks in some translators.
1903 Call iconv_close after using iconv (oops).
1905 Prefer unicode encoding of Euro char as some
1906 fonts mis-encode Euro in other ones.
1908 Must fetch bitmap glyphs to get width values
1909 to check for monospace/dual-width fonts.
1911 2005-04-13 Ross Burton <ross@burtonini.com>
1914 Check that a pattern isn't already frozen in FcPatternFreeze.
1916 2005-03-31 Ross Burton <ross@burtonini.com>
1921 Run all FcPattern objects through FcObjectStaticName, so that
1922 compares can be done on pointers instead of strings (#2659)
1924 2005-03-17 Tor Lillqvist <tml@novell.com>
1926 * src/fontconfig.def.in: Add the .dll to the dll name.
1928 2005-03-10 Keith Packard <keithp@keithp.com>
1930 * debian/README.Debian:
1931 Update to reflect configuration changes
1933 * debian/fontconfig.postinst:
1934 Fix Autohint vs Autohinter mistake
1935 * debian/fontconfig.templates:
1936 Adopt changes from Josselin Mouette for configuration descriptions
1937 Update debian to version 2.3.1-2
1939 2005-03-08 Keith Packard <keithp@keithp.com>
1943 Update debian for 2.3.1
1945 2005-03-09 Tor Lillqvist <tml@novell.com>
1947 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1950 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1953 2005-03-08 Keith Packard <keithp@keithp.com>
1957 * fontconfig/fontconfig.h:
1960 2005-03-05 Keith Packard <keithp@keithp.com>
1962 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1963 Include space and remove numbers from valid script tags.
1964 This ensures that tags like 'lao ' work while rejecting
1965 those which have any digits.
1966 Eliminate a spurious debugging variable (len)
1968 2005-03-05 Keith Packard <keithp@keithp.com>
1970 * src/fcfreetype.c: (addtag), (GetScriptTags),
1971 (FcFontCapabilities):
1972 Rework GSUB/GPOS script parsing to survive broken fonts.
1973 Thanks for the broken font go to Manish Singh
1975 2005-03-05 Keith Packard <keithp@keithp.com>
1980 * debian/fontconfig.config:
1981 * debian/fontconfig.templates:
1983 Include 2.3 release information in changelog
1984 Add Josselin Mouette as an Uploader
1985 Set hinting_type to low priority configuration option
1988 * debian/fontconfig.postinst:
1989 yes_bitmaps.conf -> yes-bitmaps.conf
1995 2005-03-02 Keith Packard <keithp@keithp.com>
1998 * conf.d/Makefile.am:
1999 * conf.d/autohint.conf:
2000 * conf.d/no-sub-pixel.conf:
2001 * conf.d/sub-pixel.conf:
2002 * conf.d/unhinted.conf:
2003 * debian/autohint.conf:
2004 * debian/fontconfig.install:
2005 * debian/fontconfig.postinst:
2006 * debian/fontconfig.templates:
2007 * debian/no-sub-pixel.conf:
2008 * debian/unhinted.conf:
2009 Move debian-specific conf file examples upstream.
2011 Sub-pixel configuration examples must smash subpixel value
2012 as Xft always sets it from X.
2014 Change sub-pixel rendering debconf descriptions from
2015 Enable/Disable to Always/Never.
2017 2005-03-02 Keith Packard <keithp@keithp.com>
2020 * conf.d/.cvsignore:
2022 Ignore more build detritus
2025 Add debian package construction stuff.
2027 * config/config.guess:
2028 * config/config.sub:
2029 Update to newer versions of these tools
2032 Get library manuals to build again (we love automake).
2034 * debian/README.Debian:
2035 * debian/autohint.conf:
2040 * debian/fontconfig-udeb.install:
2041 * debian/fontconfig.config:
2042 * debian/fontconfig.defoma:
2043 * debian/fontconfig.dirs:
2044 * debian/fontconfig.install:
2045 * debian/fontconfig.postinst:
2046 * debian/fontconfig.postrm:
2047 * debian/fontconfig.templates:
2048 * debian/libfontconfig1-dev.install:
2049 * debian/libfontconfig1.install:
2050 * debian/local.conf.md5sum:
2051 * debian/no-sub-pixel.conf:
2052 * debian/po/POTFILES.in:
2061 * debian/po/pt_BR.po:
2062 * debian/po/templates.pot:
2064 * debian/po/zh_CN.po:
2066 * debian/unhinted.conf:
2067 Update debian build system to switch maintainers and
2068 deal with 2.3 functionality
2070 2005-03-01 Keith Packard <keithp@keithp.com>
2074 * fontconfig/fontconfig.h:
2077 2005-03-01 Keith Packard <keithp@keithp.com>
2080 Generate and install PDF versions of the manuals
2082 * doc/fcpattern.fncs:
2085 * doc/fcstring.fncs:
2086 Add missing exported functions, fix data types
2088 * doc/fontconfig-devel.sgml:
2089 Add missing pattern elements.
2091 * doc/fontconfig-user.sgml:
2092 Add missing pattern elements. Document conf.d usage,
2093 clarify available orthography list. Fix some config file
2094 attributes. Complete list of constants.
2096 * fontconfig/fontconfig.h:
2097 Mark FC_SOURCE deprecated.
2099 * src/fcfreetype.c: (FcFreeTypeQuery):
2100 Don't set FC_SOURCE any longer.
2102 2005-02-28 Keith Packard <keithp@keithp.com>
2105 * conf.d/Makefile.am:
2107 * conf.d/no-bitmaps.conf:
2108 * conf.d/sub-pixel.conf:
2109 * conf.d/yes-bitmaps.conf:
2111 Create prototype /etc/fonts/conf.d directory with a few
2112 sample configuration files.
2113 Deprecate use of local.conf for local customizations in favor of
2114 this directory based scheme which is more easily integrated into
2115 installation systems.
2118 Tag FC_EMBOLDEN as a boolean variable
2120 2005-02-10 Keith Packard <keithp@keithp.com>
2122 reviewed by: pborelli@katamail.com
2124 * src/fcdir.c: (FcFileScanConfig):
2125 Free patterns from fonts which are rejected by configuration
2128 2005-01-28 Keith Packard <keithp@keithp.com>
2132 * fontconfig/fontconfig.h:
2133 Update for version 2.2.99
2135 2005-01-28 Keith Packard <keithp@keithp.com>
2138 Add a few pointers (#2284, #2285)
2140 2005-01-28 Keith Packard <keithp@keithp.com>
2143 * src/fcname.c: (FcNameBool):
2144 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2145 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2146 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2147 Polite typechecking for test and edit expressions. Helps
2148 catch errors in the font configuration. (bug 229)
2150 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2152 reviewed by: Keith Packard <keithp@keithp.com>
2155 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2157 2005-01-13 Keith Packard <keithp@keithp.com>
2159 * doc/fontconfig-user.sgml:
2160 Add SEE ALSO section (bug 2085)
2162 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2164 reviewed by: Keith Packard <keithp@keithp.com>
2169 * fc-case/Makefile.am:
2170 * fc-glyphname/Makefile.am:
2171 * fc-lang/Makefile.am:
2172 * src/fontconfig.def.in:
2173 Cross compiling fixes (bug 280)
2175 2005-01-13 Keith Packard <keithp@keithp.com>
2178 Update blanks list (Closes bug 86)
2180 2005-01-04 Keith Packard <keithp@keithp.com>
2182 * src/fccache.c: (FcCacheFontSetAdd):
2183 Verify that every font pattern loaded from cache has
2184 both FC_FILE and FC_FAMILY entries.
2185 Attempt to fix bug #2219.
2187 2004-12-29 Keith Packard <keithp@keithp.com>
2191 * fontconfig/fontconfig.h:
2192 Update for version 2.2.98
2194 2004-12-29 Keith Packard <keithp@keithp.com>
2196 * fontconfig/fontconfig.h:
2197 Document ASCII limitations of Fc character conversion macros
2198 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2199 Fix off-by-one error in utf-8 case walking code.
2200 Add FcStrDowncase (useful for testing case conversion functions)
2202 2004-12-29 Keith Packard <keithp@keithp.com>
2205 * fc-case/.cvsignore:
2206 clean up CVS ignore lists
2207 * fc-lang/iso-3166.txt:
2208 Add territory database
2210 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2212 Reviewed by: Keith Packard
2215 Remove Han characters from Korean orthography
2217 2004-12-29 Keith Packard <keithp@keithp.com>
2220 Reorder utility programs to make sure fc-case is run before fc-lang
2221 as fc-lang uses fcstr.c which uses fccase.h
2225 2004-12-29 Keith Packard <keithp@keithp.com>
2228 Adopt some RedHat suggestions for standard font configuration.
2232 * fc-case/CaseFolding.txt:
2233 * fc-case/Makefile.am:
2234 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2235 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2236 (dump), (parseRaw), (caseFoldReadRaw), (main):
2237 * fc-case/fccase.tmpl.h:
2238 Add new helper program 'fc-case' to construct case folding
2239 tables from standard Unicode CaseFolding.txt file
2242 * src/fclist.c: (FcListValueHash):
2243 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2244 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2245 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2246 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2247 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2248 Re-implement case insensitive functions with Unicode
2249 aware versions (including full case folding mappings)
2251 2004-12-13 Keith Packard <keithp@keithp.com>
2253 reviewed by: Owen Taylor <otaylor@redhat.com>
2255 * src/fcmatch.c: (FcFontSetSort):
2256 I changed FcFontSetSort to respect the generic aliases better
2257 in the face of language matching.
2259 What I did was to ammend the strict sort order used by FcFontSort so
2260 that it 'satisfies' the language specified in the pattern by locating
2261 the best matching font supporting each pattern language and then
2262 ignores language in the remaining fonts for purposes of matching.
2264 So, when asking for 'sans:lang=en', you'll get an English font first,
2265 and then the remaining fonts sorted with respect to the 'sans' alias
2266 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2268 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2270 reviewed by: Keith Packard <keithp@keithp.com>
2272 * fontconfig/fontconfig.h:
2275 Configuration changes to request synthetic emboldening of
2276 fonts. The actual emboldening code will live in Xft.
2278 2004-12-09 John Thacker <thacker@math.cornell.edu>
2280 reviewed by: Keith Packard <keithp@keithp.com>
2284 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2285 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2286 и), and don't even appear in KOI8-R. (The hypothesis that they
2287 don't appear in KOI8-R due to their similarity with Latin I and i is
2288 eliminated by their presence in KOI8-U.) I have a couple of fonts
2289 with Russian support that don't have the letter.
2291 Therefore, 0406 and 0456 should be removed from or commented out of
2294 2004-12-06 michael meeks <mmeeks@novell.com>
2296 Reviewed by: Keith Packard <keithp@keithp.com>
2298 * src/fcinit.c: (FcMemReport):
2300 * src/fclist.c: (FcObjectSetAdd):
2301 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2302 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2303 * src/fcxml.c: (FcParsePatelt):
2304 memoize strings and share a single copy for all uses. Note that
2305 this could be improved further by using statically allocated blocks
2306 and gluing multiple strings together, but I'm basically lazy.
2307 In my environment with 800 font files, I get a savings of about 90KB.
2309 2004-12-06 Keith Packard <keithp@keithp.com>
2313 * config/Makedefs.in:
2316 * doc/fcatomic.fncs:
2317 * doc/fcblanks.fncs:
2318 * doc/fccharset.fncs:
2319 * doc/fcconfig.fncs:
2320 * doc/fcconstant.fncs:
2322 * doc/fcfontset.fncs:
2323 * doc/fcfreetype.fncs:
2325 * doc/fcmatrix.fncs:
2326 * doc/fcobjectset.fncs:
2327 * doc/fcobjecttype.fncs:
2328 * doc/fcpattern.fncs:
2329 * doc/fcstring.fncs:
2330 * doc/fcstrset.fncs:
2332 * doc/fontconfig-devel.sgml:
2333 * doc/fontconfig-user.sgml:
2335 * doc/version.sgml.in:
2336 * fc-cache/Makefile.am:
2337 * fc-cache/fc-cache.c:
2338 * fc-glyphname/Makefile.am:
2339 * fc-glyphname/fc-glyphname.c:
2340 * fc-glyphname/fcglyphname.tmpl.h:
2341 * fc-lang/Makefile.am:
2351 * fc-lang/az_ir.orth:
2385 * fc-lang/fc-lang.c:
2386 * fc-lang/fc-lang.man:
2387 * fc-lang/fclang.tmpl.h:
2432 * fc-lang/ku_ir.orth:
2465 * fc-lang/ps_af.orth:
2466 * fc-lang/ps_pk.orth:
2495 * fc-lang/ti_er.orth:
2496 * fc-lang/ti_et.orth:
2522 * fc-lang/zh_cn.orth:
2523 * fc-lang/zh_hk.orth:
2524 * fc-lang/zh_mo.orth:
2525 * fc-lang/zh_sg.orth:
2526 * fc-lang/zh_tw.orth:
2528 * fc-list/Makefile.am:
2529 * fc-list/fc-list.c:
2530 * fc-match/Makefile.am:
2531 * fc-match/fc-match.1:
2532 * fc-match/fc-match.c:
2533 * fontconfig/fcfreetype.h:
2534 * fontconfig/fcprivate.h:
2535 * fontconfig/fontconfig.h:
2556 Change files from ISO-Latin-1 to UTF-8
2558 2004-12-04 Keith Packard <keithp@keithp.com>
2561 Update links to new freedesktop.org locations
2563 Add uninstall-local to get rid of fonts.conf and local.conf if they
2564 match the distributed versions. Fixes 'make distcheck'
2566 2004-12-04 Keith Packard <keithp@keithp.com>
2570 * fontconfig/fontconfig.h:
2571 Updates for version 2.2.97
2573 2004-12-04 Owen Taylor <otaylor@redhat.com>
2575 reviewed by: Keith Packard <keithp@keithp.com>
2577 * fc-cache/fc-cache.c: (main):
2578 Sleep for two seconds before exiting to make sure timestamps
2579 for future changes have distinct mod times in the file system.
2582 Add Punjabi orthography. Bug #1671.
2584 2004-12-04 Keith Packard <keithp@keithp.com>
2587 Just remove the FC_FONTDATE -- it has locale issues and
2588 annoys redhat multi-arch installs. Now that all X fonts are
2589 included without prejudice, the chances of the date being at
2590 all interesting are rather limited. Bug #505.
2592 Add copyright and license
2594 2004-12-04 Keith Packard <keithp@keithp.com>
2597 Change default set of fonts to include all of
2598 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2599 * doc/fontconfig-user.sgml:
2600 Document new <include>directory-name</include> semantics
2602 add <include ignore_missing="yes">conf.d</include>
2604 Add selectfont to ignore bitmap fonts, add comment for
2605 selectfont which accepts bitmap fonts.
2608 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2609 Allow <include> configuration elements to reference directories.
2610 Parse and load all files of the form [0-9]* in sorted order.
2612 2004-12-04 Keith Packard <keithp@keithp.com>
2615 Report command line for $srcdir/configure accurately.
2618 2004-12-04 Keith Packard <keithp@keithp.com>
2620 * src/fcfreetype.c: (FcFreeTypeQuery):
2621 Check for non-empty face->family_name and face->style_name
2622 before using those for the font. Empty names match everything.
2625 2004-12-04 Keith Packard <keithp@keithp.com>
2628 * fontconfig/fontconfig.h:
2629 * src/fcfreetype.c: (FcFreeTypeQuery):
2631 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2632 available. This provides font file format information (BDF, Type 1,
2633 PCF, TrueType) for each font. Closes #109.
2635 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2637 reviewed by: Keith Packard <keithp@keithp.com>
2639 * doc/fontconfig-user.sgml:
2642 * fontconfig/fontconfig.h:
2643 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2644 (GetScriptTags), (FcFontCapabilities):
2646 Add detection for font capabilities (bug #105)
2648 2004-12-04 Keith Packard <keithp@keithp.com>
2651 Move existing fonts.conf to fonts.conf.bak
2654 Add detection of iconv
2656 * doc/fcpattern.fncs:
2657 * doc/fontconfig-devel.sgml:
2658 * doc/fontconfig-user.sgml:
2660 Document new selectfont elements
2663 Switch to UTF-8 in comment
2665 * fontconfig/fontconfig.h:
2667 Add fullname, and family/style/fullname language entries
2669 * src/fccache.c: (FcCacheFontSetAdd):
2670 * src/fcdir.c: (FcFileScanConfig):
2671 Respect selectfont/*/glob
2674 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2675 (FcConfigCompareValue), (FcConfigPatternsAdd),
2676 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2677 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2678 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2679 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2680 Add support for selectfont
2682 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2683 (FcStringInPatternElement), (FcFreeTypeQuery):
2684 Add multi-lingual family/style/fullname support
2686 * src/fclist.c: (FcListPatternMatchAny):
2687 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2689 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2690 (FcObjectStaticName):
2691 Add new FcPatternRemove/FcPatternAppend.
2692 FcObjectStaticName stores computed pattern element names which
2693 are required to be static.
2695 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2700 Remove spurious / after $(DESTDIR)
2702 2004-06-30 Keith Packard <keithp@keithp.com>
2706 * fontconfig/fontconfig.h:
2709 2004-06-30 Keith Packard <keithp@keithp.com>
2711 Provided by: Lubos Lunak <l.lunak@suse.cz>
2713 * src/fccfg.c: (FcConfigUptoDate):
2714 However FcConfigUptoDate() doesn't seem to work. See the attached
2715 patch. First there's an obvious misplaced parenthesis making it
2716 return always false, and second, even this call fails to detect font
2717 changes (e.g. adding a new font to
2718 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2719 well. The problem seems to be triggered by my fonts.conf specifying
2720 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2721 doesn't include subdirs, unlike config->fontDirs.
2723 2004-06-03 Keith Packard <keithp@keithp.com>
2725 * fontconfig/fontconfig.h:
2726 Remove comma at end of FcResult enum definition.
2728 2004-05-29 Keith Packard <keithp@keithp.com>
2731 Add steps to md5sum release
2733 2004-05-29 Keith Packard <keithp@keithp.com>
2737 * fontconfig/fontconfig.h:
2740 2004-05-29 Keith Packard <keithp@keithp.com>
2742 * fontconfig/fontconfig.h:
2743 * src/fcmatch.c: (FcFontSetMatch):
2744 Add FcResultOutOfMemory to provide an accurate error when
2745 FcFontSetMatch fails in this way
2748 Make #warning about lacking various FreeType features indicate
2749 which version those features appeared so users know how to
2750 fix the problem (Thanks to Anton Tropashko)
2752 2004-05-05 Keith Packard <keithp@keithp.com>
2754 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2755 Replace MIN/MAX/ABS macros which happen to have come
2756 from FreeType with fontconfig-specific ones (FC_*)
2758 2004-04-23 Keith Packard <keithp@keithp.com>
2761 Extend release preparation instructions to include
2762 notification and distribution steps
2764 2004-04-23 Keith Packard <keithp@keithp.com>
2768 * fontconfig/fontconfig.h:
2769 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2771 2004-04-23 Keith Packard <keithp@keithp.com>
2774 Ignore a few more autotool files
2776 2004-04-14 Keith Packard <keithp@keithp.com>
2779 Add instructions for doing a release
2781 * fontconfig.spec.in:
2782 clean up .spec file; perhaps this will be useful to somebody...
2786 * fontconfig/fontconfig.h:
2789 * fc-lang/fc-lang.c:
2790 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2792 * fc-glyphname/Makefile.am:
2793 * fc-lang/Makefile.am:
2794 * fc-list/Makefile.am:
2795 * fc-match/Makefile.am:
2797 Add WARN_CFLAGS to pass -W flags for GCC systems
2799 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2800 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2801 Change various char types around to match across
2803 Fixed bug in using available_sizes[i].height which
2804 is in pixels, not 64ths of a pixel.
2806 2004-03-06 Keith Packard <keithp@keithp.com>
2808 * src/fcfreetype.c: (FcFreeTypeQuery):
2809 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2810 matches looking for explicit values prefer exact matches
2812 2004-03-02 Keith Packard <keithp@keithp.com>
2814 Supplied by: mfabian@suse.de (Mike FABIAN)
2816 * src/fcfreetype.c: (FcFreeTypeQuery):
2817 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2818 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2820 2004-02-21 Manish Singh <yosh@gimp.org>
2822 * fc-glyphname/fc-glyphname.c: (main):
2823 Cast strlen to int for printf, so we're 64-bit clean.
2825 2004-02-11 Keith Packard <keithp@keithp.com>
2828 * src/fcfreetype.c: (FcGetPixelSize):
2829 Ok, so I messed up the test for y_ppem. Let's see if I
2830 got it right this time.
2832 2004-02-10 Keith Packard <keithp@keithp.com>
2835 * src/fcfreetype.c: (FcGetPixelSize):
2836 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2837 FT_Bitmap_Size record. Add a configure.in test for this
2838 and change the code accordingly (using height instead).
2840 2004-02-06 Keith Packard <keithp@keithp.com>
2843 Add Low Saxon orthography
2844 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2846 * src/fccfg.c: (FcConfigNewestFile):
2847 Oops. Left 'newest.set' unset, which would miscompute
2850 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2851 (FcFreeTypeCheckGlyph):
2852 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2853 font properties (which report the wrong value in current FreeType)
2855 Don't attempt to check for empty glyphs in non-scalable fonts; they
2858 2004-02-01 Tor Lillqvist <tml@iki.fi>
2860 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2861 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2862 cache if config->cache is NULL, which happens if FcConfigHome() is
2863 NULL. Guard against that by using the temp folder in that case.
2865 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2867 * fc-lang/az_ir.orth:
2868 * fc-lang/ku_ir.orth:
2869 * fc-lang/ps_af.orth:
2870 * fc-lang/ps_pk.orth:
2871 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2872 (Afghan and Pakistani).
2874 Updated Urdu orthography with real data.
2876 2003-12-11 Carl Worth <cworth@east.isi.edu>
2878 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2881 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2883 (all-local): Remove excessive whitespace.
2885 * autogen.sh: Add 'set -e' to abort when any program fails,
2886 (avoids printing of 'now type make' after configure aborts).
2888 2003-11-17 Eric Christopherson <rakko@charter.net>
2890 reviewed by: Keith Packard <keithp@keithp.com>
2893 * fontconfig/fcfreetype.h:
2895 Switch to FreeType 2.1.7 style includes. Bug #150.
2897 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2899 * fc-list/fc-list.sgml: Add some example usages.
2901 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2904 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2907 2003-10-27 Keith Packard <keith@keithp.com>
2910 * fontconfig/fontconfig.h:
2911 Update to version 2.2.92
2913 2003-10-27 Keith Packard <keithp@keithp.com>
2918 * fc-cache/Makefile.am:
2919 * fc-glyphname/Makefile.am:
2920 * fc-lang/Makefile.am:
2921 * fc-list/Makefile.am:
2922 * fc-match/Makefile.am:
2925 Yet more cleanups to finish getting 'make distcheck' working
2926 This has been tested to ensure that it even works from a _build
2929 2003-10-26 Keith Packard <keithp@keithp.com>
2933 * fc-cache/Makefile.am:
2934 * fc-glyphname/Makefile.am:
2935 * fc-lang/Makefile.am:
2936 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2937 * fc-list/Makefile.am:
2938 * fc-match/Makefile.am:
2939 Attempts to fix 'make distcheck' work. Things are
2940 progressing pretty well, but there are still failures
2941 long into the process dealing with docs (as always).
2943 The big changes here are mostly to make $(srcdir) != "."
2944 work correctly, fixing the docbook related sections and
2945 fc-lang were particularily tricky. Docbook refuses to load
2946 system entities from anywhere other than where the original .sgml
2947 file was located, so no luck looking in "." for the
2948 configure-generated version.sgml and confdir.sgml files.
2950 fc-lang needed help finding .orth files; added a -d option
2951 to set the directory as the least evil of many options.
2953 Now to go use a faster machine and try and wring out the last
2956 2003-10-26 Keith Packard <keithp@keithp.com>
2960 2003-10-26 Keith Packard <keithp@keithp.com>
2963 Include confdir.sgml.in in EXTRA_DIST
2965 2003-10-09 Josselin Mouette <joss@debian.org>
2967 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2968 * fc-list/fc-list.sgml fc-list/Makefile.am:
2969 Replace fc-cache and fc-list manpages with more detailed, SGML
2972 2003-09-23 Owen Taylor <otaylor@redhat.com>
2974 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2975 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2976 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2979 2003-09-23 Owen Taylor <otaylor@redhat.com>
2981 * fc-lang/ka.orth: Remove Georgian capitals, they
2982 aren't used for normal writing. (Bug #116)
2984 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2986 * doc/fontconfig-devel.sgml:
2987 * doc/fontconfig-user.sgml:
2988 * fontconfig/fontconfig.h:
2990 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2991 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2993 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2994 monospace and dual-width fonts, allow roughly a 3% variance in the
2997 2003-08-31 Manish Singh <yosh@gimp.org>
2999 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3002 2003-08-15 Carl Worth <cworth@isi.edu>
3004 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3005 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3007 * src/fcpat.c (FcValueListEntDestroy): New function to support
3008 FcFini memory cleanup. Some statistics are not kept in
3010 (FcValueListFreeze): Move hashTable outside this function so it
3011 can be accessed by FcValueListThawAll.
3012 (FcValueListThawAll): New function complements FcValueListFreeze.
3013 (FcPatternBaseFreeze): Move hashTable outside this function so it
3014 can be accessed by FcPatternBaseThawAll.
3015 (FcPatternBaseThawAll): New function complements
3016 FcPatternBaseFreeze.
3017 (FcPatternThawAll): New function complements FcPatternFreeze.
3019 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3021 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3022 allocated FcCharLeafEnt "blocks" so they can be freed later.
3023 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3024 can be accessed by FcCharSetThawAllLeaf.
3025 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3026 (FcCharSetFreezeBase): Move hashTable outside this function so it
3027 can be accessed by FcCharSetThawAll.
3028 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3030 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3031 (FcConfigDestroy): Fic leak of FcBlanks.
3033 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3034 (main): Add call to FcFini when finished.
3036 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3037 static. Add prototypes.
3039 * doc/fcinit.fncs: Add documentation for FcFini function.
3041 * doc/edit-sgml.c: Mark several local functions as static. Add
3044 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3046 2003-06-15 Tor Lillqvist <tml@iki.fi>
3048 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3049 before comparing (needed on Windows).
3051 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3053 2003-06-13 Tor Lillqvist <tml@iki.fi>
3055 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3058 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3059 WINDOWSFONTDIR token.
3061 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3062 end, not to confuse libtool, which expects the EXPORTS line to be
3063 the first. Add FcConfigEnableHome.
3065 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3066 built as a DLL on Win32.
3068 2003-06-09 Keith Packard <keithp@keithp.com>
3070 * Tag version 2.2.90
3072 2003-06-09 Keith Packard <keithp@keithp.com>
3074 * Optimization in FcLangSetIndex was broken, occasionally
3075 returning a pointer to the wrong location on miss
3077 * Add fc-match to test font matching from the command line.
3079 2003-05-31 Keith Packard <keithp@keithp.com>
3081 * (Bug 85) add support for culmus fonts
3082 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3083 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3085 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3087 * Fix "contains" op for strings and langsets.
3089 2003-05-17 Keith Packard <keithp@keithp.com>
3091 * Fix build error with BDF prop local. Free langset after query
3093 2003-05-14 Keith Packard <keithp@keithp.com>
3095 * Extract spacing from XLFD atom
3097 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3099 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3100 disappeared in 1.30.
3102 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3104 2003-05-12 Keith Packard <keithp@keithp.com>
3106 * Use FcIsWidth to share code
3108 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3109 misclassifying some Han fonts as monospaced.
3111 2003-05-07 Keith Packard <keithp@keithp.com>
3113 * Add filename-based accept/reject to ammend available fonts.
3115 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3116 older FreeType releases.
3118 2003-05-06 Keith Packard <keithp@keithp.com>
3120 * Remove 0b82 and Tamil numbers from tamil
3121 orthography (Jungshik Shin <jshin@mailaps.org>)
3123 2003-05-04 Keith Packard <keithp@keithp.com>
3125 + Map glyph names in fonts with adobe custom encoding to unicode
3127 2003-05-02 Keith Packard <keithp@keithp.com>
3129 * Add FC_WEIGHT_BOOK as weight 75
3131 2003-04-30 Keith Packard <keithp@keithp.com>
3133 * Typo in bitstream foundry name
3135 2003-04-24 Keith Packard <keithp@keithp.com>
3137 * Eliminate italic_angle check for PS fonts
3139 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3141 * Getting closer to fixing /etc/fonts hard-coding.
3143 2003-04-22 Keith Packard <keithp@keithp.com>
3145 * Update autogen.sh to work with newer automake versions
3146 * Handle pattern elements moving during multiple edits
3148 2003-04-23 James Henstridge <james@daa.com.au>
3150 * doc/fontconfig-devel.sgml: close the <para> element.
3152 * doc/fcpattern.fncs: close the <para> element.
3154 * doc/func.sgml: close the <refsynopsisdiv> element.
3156 2003-04-22 Keith Packard <keithp@keithp.com
3158 * Update autogen.sh to work with newer automake versions
3159 * Handle pattern elements moving during multiple edits
3161 2003-04-17 Colin Walters <walters@debian.org>
3163 + Remove some unused variables, and initialize some other ones so
3164 gcc doesn't warn us.
3166 2003-04-16 Keith Packard <keithp@keithp.com>
3168 + tag version 2.1.94
3170 2003-04-16 Keith Packard <keithp@keithp.com>
3172 + add BDF property fetching support for foundry
3173 (from Juliusz Chroboczek)
3174 + add BDF property fetching support for width
3176 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3178 + Implemented foundry generation for Type 1 and TrueType
3180 2003-04-11 Gerard Escalante <g2@magestudios.net>
3182 + Retrieve information from Type1 FontInfo dictionaries
3184 2003-04-07 Colin Walters <walters@verbum.org>
3186 + src/Makefile.am: Fix dummy makefile target names when
3187 MS_LIB_AVAILABLE isn't set.
3189 2003-03-22 Tor Lillqvist <tml@iki.fi>
3191 Changes for Windows:
3193 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3195 + We don't want to hardcode the fonts.conf file location in the
3196 DLL, so we look up the DLL location at run-time in a DllMain()
3197 function. The fonts.conf location is deduced from that.
3199 + The colon can't be used as path separator on Windows,
3200 semicolon is used instead. File path components can be separated
3201 with either slash or backslash. Absolute paths can also begin
3202 with a drive letter.
3204 + Add internal function FcStrLastSlash that strrchr's the last
3205 slash, or backslash on Windows.
3207 + There is no link() on Windows. For atomicity checks, mkdir a
3208 lock directory instead.
3210 + In addition to HOME, also look for USERPROFILE.
3212 + Recognize the special font directory token WINDOWSFONTDIR, to
3213 use the system's font directory.
3215 + Remove the fontconfig-def.cpp that was obsolete. Add
3216 fontconfig.def(.in), without internal functions.
3218 + Add a fontconfig-zip(.in) script, used to build a binary
3221 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3222 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3223 to main package and man3/* to devel package
3225 + Added missing defattr(-, root, root) to main RPM package
3227 + Added HTML and text development documentation to -devel subpackage
3229 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3230 + Added back the configure macro options --disable-docs, otherwise
3231 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3232 version number) unconditionally, causing RPM to fail the build due
3233 to _unpackaged_files_terminate_build. We pick up the pregenerated
3234 docs with %doc already.
3236 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3237 + Removed commented out rpm macro define at top of spec file,
3238 replacing it with a simple explanation, since rpm macros are
3239 expanded by rpm even in comments.
3241 + Changed /usr/bin to _bindir in BuildRequires lines
3243 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3245 + Reorganized file manifest lists
3247 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3249 + fontconfig.spec.in: Improvements from Red Hat spec file.
3251 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3253 + docs/*.sgml: SGML fixes.
3255 Sat Mar 1 17:28:53 PST 2003 keithp
3256 + Ok, so the ChangeLog is a bit out of date
3258 + Lots of bugs fixed; most are in bugzilla, the
3259 biggest problems were in cache management where
3260 Owen discovered the library would lose badly when
3261 combining fonts-cache and ~/.fonts-cache data
3263 + Converted from autoconf to automake. This after
3264 getting patches accepted into libtool to allow
3265 the '-version-number' argument which lets
3266 packages set version numbers explicitly rather
3267 than the roundabout libtool way
3269 + Converted documentation to SGML using the docbook
3270 DTD. Now .txt and .html documents are installed
3271 in /usr/share/doc/fontconfig and there's no
3272 man page. Perhaps a man version can be written
3275 Sat Aug 31 15:21:22 PDT 2002 keithp
3276 + Xrender and Xft had several bugs related to
3277 rendering manually placed or poly-face text
3279 + Added more complete memory tracing in fontconfig
3280 Checked with (patched) mozilla and found no leaks
3282 + Updated Latin orthographies by comparing those from
3283 evertype.com with those from eki.ee. Tried to make
3284 sensible choices, including chars that occured in both
3285 and leaving some optional chars out that occured only
3288 Mon Aug 26 16:33:04 PDT 2002 keithp
3289 + Owen discovered that FcLangSetHasLang wasn't actually
3290 checking the language set.
3292 Mon Aug 26 13:37:23 PDT 2002 keithp
3293 + Append a version number to cache filenames
3295 Thu Aug 22 11:36:18 PDT 2002 keithp
3297 + Add "contains" and "not_contains" operators and elements to
3300 + Changed semantics of eq operator for LangSets to check for
3301 FcLangEqual so that any match will do
3303 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3304 of FcValueEqual to check for identical values when inserting into
3305 the results. This broke when the above semantic change was made,
3306 now it uses FcValueEqual which is "more correct" in any case.
3308 Thu Aug 22 00:32:29 PDT 2002 keithp
3310 + Reimplement FC_LANG as new datatype. Lists of strings
3311 was consuming over a megabyte of memory for 401 fonts.
3313 + Freeze patterns loaded from cache files. This shares
3314 common value lists and common patterns which saves
3315 considerable memory.
3317 + Change the denotation of 'constant' charsets to use special
3318 ref value instead of separate boolean.
3320 + Clean up leak tracing stuff, found several unannoted alloc/free
3323 Tue Aug 20 16:17:37 PDT 2002 keithp
3325 + Fix memory leak when parsing matrices from XML
3327 Mon Aug 19 11:57:27 PDT 2002 keithp
3329 + Fix autoconf files to pass FONTCONFIG_PATH on
3330 compile line so that ${prefix} gets substituted
3333 + Use getc_unlocked/putc_unlocked on systems that
3334 provide them to avoid damage done to stdio by posix
3336 + Eliminate FC_PATTERN and FcTypePattern in favor of
3337 an extended api for FcConfigSubstitute which takes
3338 both the font and the pattern.
3340 + Add 'sans serif' alias for 'sans-serif' as some apps
3341 can't handle hyphens in family names
3343 + Eliminate pretense of support for libxml2
3345 + Comment origins of Han orthographies
3347 Tue Jul 30 18:37:09 PDT 2002 keithp
3349 + Add binding property to edit element so that strong
3350 binding values may be inserted by the config file.
3351 The default remains weak.
3353 Sun 28 Jul 04:16:55 PDT 2002 keithp
3355 + Tagged release candidate 1 in the CVS tree and
3356 placed fcpackage.rc1.tar.gz for distribution
3358 Thu Aug 1 08:55:08 PDT 2002 keithp
3360 + Fixed autoconf builds to always specify install
3361 target files (for BSD). Also fixed to
3362 define FONTCONFIG_PATH in config.h so that
3363 nonstandard installs will actually work.