1 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
4 * src/fccache.c: (FcDirCacheWrite):
5 Fix double free (spotted by Coverity, CID #1965).
7 * fc-match/fc-match.c: (main):
8 Check if pattern is not null before using it (Coverity defect #1883).
10 * src/fccache.c: (FcDirCacheWrite):
11 Fix memory leak with hash collision (Coverity defect #1829).
13 * src/fccfg.c: (FcConfigBuildFonts):
14 Fix memory leak when bail cases (Coverity defect #1828).
16 * src/fccache.c: (FcGlobalCacheLoad):
17 Don't leak directory name (Coverity defect #1827).
19 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
21 * fc-cache/Makefile.am:
23 * fc-list/Makefile.am:
24 * fc-match/Makefile.am:
26 LD_ADD missing dependencies for binaries. Reported by
29 2006-04-07 Patrick Lam <plam@mit.edu>
31 * fc-lang/fc-lang.c (main):
33 SGI compilation fixes (reported by Christoph Bauer):
34 1) reorder union definition of _FcChar;
37 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
40 * src/fccharset.c (FcCharSetNeededBytes):
41 * src/fcfs.c (FcFontSetNeededBytes):
43 * src/fclang.c (FcLangSetNeededBytesAlign):
44 * src/fcname.c (FcObjectNeededBytesAlign):
45 * src/fcpat.c (FcPatternNeededBytesAlign,
46 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
48 Portability fixes for HP-UX (reported by Christoph Bauer).
49 Replace '__inline__' by AC_C_INLINE and 'inline'.
50 Replace '__alignof__' by 'fc_alignof'.
52 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
56 Move up #include of config.h.
57 Fail if neither inttypes.h nor stdint.h is available.
60 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
61 Patrick Lam <plam@mit.edu>
63 * fc-cache/fc-cache.c:
65 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
66 FcDirCacheConsume, FcDirCacheProduce,
67 FcDirCacheWrite, FcCacheMachineSignature):
68 * src/fcfreetype.c (FcFreeTypeQuery):
69 * src/fontconfig.def.in:
71 Make fontconfig compile under MinGW:
72 1) remove unneeded #includes;
73 2) make use of mmap and sysconf conditional;
74 3) replace rand_r by srand/rand if needed;
75 4) use chsize instead of ftruncate; and
76 5) update libtool exports file
78 2006-04-07 Patrick Lam <plam@mit.edu>
79 * src/fcdir.c (FcDirScanConfig):
83 2006-04-06 Patrick Lam <plam@mit.edu>
84 * fc-match/.cvsignore:
85 * fc-match/Makefile.am:
86 * fc-match/fc-match.sgml:
88 Update documentation for fc-match (SGML-ize it).
89 (reported by Ilya Konstantinov)
91 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
97 Reduce amount of dirty rss by const'ing some data structures.
99 2006-04-06 Patrick Lam <plam@mit.edu>
100 * fc-cache/Makefile.am:
102 Don't fail if we can't create or remove
103 $(pkgcachedir) i.e. /var/cache/fontconfig.
104 (reported by Quanah Gibson-Mount).
106 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
109 * fc-glyphname/fc-glyphname.c:
110 * fc-lang/fc-lang.c (main):
111 * fc-match/fc-match.c:
112 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
114 * src/fcfreetype.c (FcFreeTypeQuery):
115 * src/fclang.c (FcFreeTypeLangSet):
118 Fix intel compiler warnings: make many variables static,
119 eliminate duplicate names, reduce variable scopes, unsigned/signed
122 2006-03-24 Mike Fabian <mfabian@suse.de>
124 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
126 Fix multiarch support (don't destroy multiarch files!)
128 2006-03-24 Patrick Lam <plam@mit.edu>
131 Require pkg-config. (Thanks Behdad;
132 better solution wanted for libxml2 detection!)
134 2006-03-22 Patrick Lam <plam@mit.edu>
137 On Windows, unlink before rename. Reported by Tim Evans.
139 2006-03-15 Patrick Lam <plam@mit.edu>
143 Fix typos in orth files. Reported by Denis Jacquerye.
145 2006-03-08 Patrick Lam <plam@mit.edu>
147 * config/config.guess:
150 Fix Makefile.am for removal of debian/ directory.
152 2006-03-08 Patrick Lam <plam@mit.edu>
155 Ignore debian/ directory for CVS.
157 2006-03-08 Patrick Lam <plam@mit.edu>
160 Now remove debian/ directory.
162 2006-03-08 Patrick Lam <plam@mit.edu>
165 Remove debian/ directory from sources. See Debian's subversion
166 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
169 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
173 * fc-lang/iso639-1, fc-lang/iso639-2:
175 Add orthography for Lingala.
177 2006-03-08 Carl Worth <cworth@cworth.org>
180 * conf.d/Makefile.am:
181 * conf.d/10LohitGujarati.conf:
183 Add a configuration file that disables hinting for the Lohit
184 Gujarati font (since the hinting distort some glyphs quite badly).
186 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
189 * src/fcdir.c (FcDirScanConfig):
191 Sort directory entries while scanning them from disk;
192 prevents Heisenbugs due to file ordering in a directory.
194 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
197 * src/fcfreetype.c (GetScriptTags):
198 * src/ftglue.c, src/ftglue.h:
200 Remove stuff we don't use, make get_{char,short,long} functions
201 of ftglue macros to be inlined.
204 * src/fcname.c (FcObjectSerialize):
206 Code cleanups (excess prototype, old-style function definition).
208 2006-03-05 Patrick Lam <plam@mit.edu>
209 * src/fcpat.c (FcPatternGetString):
211 Because we hacked FcPatternGet, we don't really need to expand the
212 filename again in FcPatternGetString.
214 2006-03-05 Patrick Lam <plam@mit.edu>
215 * src/fcpat.c (FcPatternGetString, FcPatternGet):
217 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
218 Make that work. Reported by Bernhard Rosenkraenzer.
220 2006-03-03 Patrick Lam <plam@mit.edu>
223 Include inttypes.h instead of stdint.h if appropriate.
225 2006-03-03 Patrick Lam <plam@mit.edu>
226 * fc-cat/fc-cat.c (FcFileIsDir):
227 * fc-glyphname/fc-flyphname.c:
229 More stub definitions and remove FcFileIsDir from fc-cat.
231 2006-03-03 Patrick Lam <plam@mit.edu>
234 Fix compilation on AIX with stub definitions (bug 6097).
236 2006-03-03 Patrick Lam <plam@mit.edu>
237 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
238 * src/fcfreetype.c (GetScriptTags):
239 * src/fcfs.c (FcFontSetDistributeBytes):
240 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
242 Get rid of C++-style comments.
244 2006-03-03 Patrick Lam <plam@mit.edu>
247 Enable creation of 2.3.94 Debian packages.
249 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
252 * src/fclang.c (FcCharSetForLang):
254 Fix suspicious return expression which causes junk
257 2006-02-24 Patrick Lam <plam@mit.edu>
261 * fontconfig/fontconfig.h:
263 Bump version to 2.3.94.
265 2006-02-24 Patrick Lam <plam@mit.edu>
270 2006-02-24 Patrick Lam <plam@mit.edu>
271 * conf.d/10-fonts-persian.conf:
273 Remove unconditional emboldening (per Behdad's instructions).
277 Add @s to hide some echos.
279 2006-02-24 Mike Fabian <mfabian@suse.de>
280 Takashi Iwai <tiwai@suse.de>
283 * src/fcfreetype.c (GetScriptTags):
285 Fix double-free on error case.
287 2006-02-21 Patrick Lam <plam@mit.edu>
288 * fc-lang/fc-lang.c (scan):
290 Strip \r and whitespace from input; fixes bug 3454.
292 2006-02-21 Patrick Lam <plam@mit.edu>
293 * fc-lang/fc-lang.c (main):
295 Allocate large arrays statically in fc-lang to fix crashes under
298 2006-02-21 Diego Petten <flameeyes@gentoo.org>
299 * src/fcfreetype.c (FcFreeTypeCharIndex):
301 Pass the buck; make fontconfig not crash on pango badness.
303 2006-02-21 Patrick Lam <plam@mit.edu>
304 * conf.d/10-fonts-persian.conf:
306 Use embeddedbitmap rather than rh_prefer_bitmap.
308 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
311 * src/fccache.c (FcDirCacheWrite):
312 * src/fcdir.c (FcFileScanConfig):
313 * src/fcfreetype.c (FcStringInPatternElement):
314 * src/fcxml.c (FcParseFamilies):
315 * src/ftglue.c (ftglue_face_goto_table):
317 Eliminate redundancies.
319 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
322 * fc-list/fc-list.c (main):
323 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
324 * src/fcstr.c (FcStrStr):
325 * src/fcxml.c (FcConfigSaveAttr):
327 Eliminate unused vars reported by Intel's compiler.
329 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
334 Remove one more archaic character.
336 2006-02-21 Ross Burton <ross@burtonini.com>
337 reviewed by: plam, keithp
339 * src/fcxml.c (FcParsePatelt):
341 Freeze patterns created by configuration file for tiny
342 memory savings (every little bit helps).
344 2006-02-21 Mike Fabian <mfabian@suse.de>
347 * fc-cat/fc-cat.c (main):
349 Initialize fontconfig library in fc-cat to avoid segfault.
351 2006-02-18 Patrick Lam <plam@mit.edu>
352 * fc-cache/fc-cache.c (scanDirs):
353 * src/fccache.c (FcCacheReadDirs):
354 * src/fcdir.c (FcDirScanConfig):
356 Fix the underlying cause of the below segfault (must usually
357 call FcDirCacheHasCurrentArch after FcDirCacheValid).
359 2006-02-18 Patrick Lam <plam@mit.edu>
360 * src/fccache.c (FcDirCacheHasCurrentArch):
362 Fix triggering of segfault caused by misreading cache files
363 (reported by fcrozat).
365 2006-02-17 Patrick Lam <plam@mit.edu>
366 * src/fcint.h (FC_CACHE_MAGIC):
368 Bump up magic version; we changed the binary format.
370 2006-02-17 Patrick Lam <plam@mit.edu>
371 * fc-cat/fc-cat.c (main):
373 Enable fc-cat to print out old-style cache info when given a
376 2006-02-16 Patrick Lam <plam@mit.edu>
377 * src/fccache.c (FcDirCacheHasCurrentArch):
379 Deal correctly with changing FC_CACHE_MAGIC.
381 2006-02-16 Patrick Lam <plam@mit.edu>
382 * fc-cache/fc-cache.c (usage, scanDirs, main):
384 Add -r --really-force option which blows away cache files and then
387 2006-02-16 Patrick Lam <plam@mit.edu>
388 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
390 Don't bail if fontconfig can't remove a dir cache file.
391 Skip the ID of a cache file when copying.
392 Eliminate 'source file too small' bug in FcDirCacheWrite.
394 2006-02-13 Patrick Lam <plam@mit.edu>
395 * src/fcfreetype.c (FcFreeTypeQuery):
397 Fix memory leak in error condition code.
399 2006-02-13 Mike Fabian <mfabian@suse.de>
401 * src/fcfreetype.c (FcFreeTypeQuery):
403 Skip bitmap fonts which can't even get it together enough to
404 declare a family name; this appears to reproduce previous
405 fontconfig behaviour.
407 2006-02-10 Takashi Iwai <tiwai@suse.de>
409 * src/fccache.c (FcDirCacheOpen):
411 Try to open /var/cache/fontconfig/[hashed name] before
412 fonts.cache-2 in a directory, because /var/cache/fontconfig
413 failures ought to be fixable, unlike fonts.cache-2 failures,
414 which may leave you screwed.
416 2006-02-10 Takashi Iwai <tiwai@suse.de>
418 * src/fcmatch.c (FcFontSetMatch):
420 Use a tri-state to mark the fonts which didn't get blocked but
421 were just missing an element, to distinguish them from the
422 fonts that do match the element.
424 2006-02-10 Takashi Iwai <tiwai@suse.de>
426 * src/fcmatch.c (FcFontSetMatch):
428 Don't kill fonts because they don't declare an element that's
431 2006-02-09 Patrick Lam <plam@mit.edu>
432 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
433 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
435 Define and pass O_BINARY to open if appropriate, for those
436 platforms that need it. Reported by Doodle.
438 2006-02-09 Patrick Lam <plam@mit.edu>
439 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
442 Fix problem with missing 'en' due to euro.patch: change
443 cache file format slightly to coincide with that generated
446 2006-02-07 Patrick Lam <plam@mit.edu>
447 * src/fccache.c (FcCacheReadDirs):
451 2006-02-07 Patrick Lam <plam@mit.edu>
452 * src/fcdir.c (FcDirScanConfig):
454 Don't reject dirs that can't be normalized (fixes lilypond, and
455 is correct in the context of application font directories.)
457 2006-02-07 Takashi Iwai <tiwai@suse.de>
460 * src/fccache.c (FcCacheReadDirs):
462 Use normalized directory name exclusively in FcCacheReadDirs.
464 2006-02-07 Dirk Mueller <dmueller@suse.com>
467 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
469 Perf optimizations. Inline FcValueCanonicalize,
470 reduce FcValueListPtrU usage, remove redundant cast.
472 2006-02-07 Takashi Iwai <tiwai@suse.de>
475 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
478 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
479 Declare extern for static arrays as arrays, not pointers.
480 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
482 2006-02-07 Dirk Mueller <dmueller@suse.com>
495 Add Euro sign to list of symbols required by European languages.
497 2006-02-07 Patrick Lam <plam@mit.edu>
498 * src/fccache.c (FcCacheReadString):
500 Fix hidden variable warning.
502 2006-02-07 Dirk Mueller <dmueller@suse.com>
505 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
507 Remove de-escaping logic because FcCacheWriteString
508 doesn't escape anyway. Do blockwise reading instead
509 of byte-wise for performance.
511 2006-02-06 Patrick Lam <plam@mit.edu>
512 Takashi Iwai <tiwai@suse.de>
514 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
516 Don't loop infinitely on recursive symlinks (client-side).
518 2006-02-06 Takashi Iwai <tiwai@suse.de>
520 * fc-cache/fc-cache.c (scanDirs, main):
522 Don't loop infinitely on recursive symlinks.
524 2006-02-06 Takashi Iwai <tiwai@suse.de>
526 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
527 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
528 FcGlobalCacheSave, FcCacheReadDirs):
531 Skip subdirs when skipping over stale bits of global cache.
532 Introduce state machine into FcGlobalCacheDir to avoid
533 doing inappropriate operations on global dir entries, e.g.
534 writing out an out-of-date cache entry.
536 2006-02-06 Takashi Iwai <tiwai@suse.de>
538 * src/fcdir.c (FcFileScanConfig):
540 Hoist FcFileIsDir check out of FcFileScanConfig loop.
542 2006-02-06 Takashi Iwai <tiwai@suse.de>
545 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
546 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
548 Don't rescan when trying to normalize a non-declared font dir.
549 Don't add font dirs multiple times (even if they're aliased).
551 2006-02-06 Dirk Mueller <dmueller@suse.de>
554 * src/fcfs.c (FcFontSetUnserialize):
556 Explain apples/oranges comparison and fix compilation error.
558 2006-02-06 Dirk Mueller <dmueller@suse.de>
561 * src/fcfs.c (FcFontSetUnserialize):
563 Insert check for integer overflow in # of fonts.
565 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
569 * fc-cache/Makefile.am:
570 * fc-cat/Makefile.am:
571 * fc-list/Makefile.am:
573 Make 'make distcheck' work with automake 1.6.3.
575 2006-02-03 Takashi IWAI <tiwai@suse.de>
578 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
581 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
582 FcDirCacheConsume, FcDirCacheWrite)
583 * src/fcxml.c (FcConfigMessage):
585 Check I/O call return values and eliminate unused variable
588 2006-02-03 Takashi Iwai <tiwai@suse.de>
591 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
595 2006-02-03 Dirk Mueller <dmueller@suse.de>
598 * src/fcfs.c (FcFontSetUnserialize):
600 Gracefully handle the case where a cache asserts that it
601 has a negative number of fonts, causing overflow.
603 2006-02-03 Patrick Lam <plam@mit.edu>
604 * src/fccache.c (FcDirCacheUnlink):
606 Fix double free in error case.
608 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
609 Stephan Kulow <coolo@suse.de>
612 * fc-cache/Makefile.am:
614 Replace 'stamp' target with mkinstalldirs.
616 2006-01-31 Mike Fabian <mfabian@suse.de>
619 * src/fccache.c (FcGlobalCacheLoad):
621 Toast broken global cache files.
623 2006-01-30 Patrick Lam <plam@mit.edu>
624 * src/fccache.c (FcGlobalCacheReadDir):
626 Actually use the directories that I added to the global cache.
629 2006-01-30 Mike Fabian <mfabian@suse.de>
632 * fc-cache/fc-cache.c (scanDirs):
634 Don't stop scanning if a directory in fonts.conf doesn't
635 exist, because subsequent directories might exist.
637 2006-01-30 Patrick Lam <plam@mit.edu>
638 * src/fccache.c (FcGlobalCacheLoad):
640 Make global cache work again after putting dir names into global
641 cache (I misplaced the recording of a file offset).
643 2006-01-30 Patrick Lam <plam@mit.edu>
644 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
646 Update fc-cat to handle subdir lists in global cache file.
648 * src/fccache.c (FcGlobalCacheLoad):
650 Another FcCacheReadString return value check.
652 2006-01-30 Mike Fabian <mfabian@suse.de>
655 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
656 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
658 Make fccache more resilient to broken cache files by checking
659 return value of FcCacheReadString all the time.
661 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
664 * fc-match/fc-match.1:
665 * fc-lang/fc-lang.man:
667 Remove references to dead fontconfig(3) manpages in
668 other fontconfig manpages.
670 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
673 * doc/fcpattern.fncs:
675 Fix world's tiniest typo in code example.
677 2006-01-29 Mike Fabian <mfabian@suse.de>
680 * src/fccache.c (FcGlobalCacheReadDir):
682 Fix global cache reads of subdirectories.
684 2006-01-29 Patrick Lam <plam@mit.edu>
686 Add documentation for FcConfigNormalizeFontDir.
688 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
689 FcGlobalCacheUpdate, FcGlobalCacheSave):
690 * src/fcdir.c (FcDirScanConfig):
693 Write directory information to global caches to fix make check
694 (reported by Ronny V. Vindenes). This changes the global cache
697 2006-01-27 Patrick Lam <plam@mit.edu>
698 * fc-cache/fc-cache.c (scanDirs):
699 * fontconfig/fontconfig.h:
701 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
703 Move FcConfigNormalizeFontDir call so that it doesn't result in
704 infinite recursion (reported by Ronny V. Vindenes).
706 2006-01-26 Patrick Lam <plam@mit.edu>
707 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
708 * src/fccfg.c (FcConfigNormalizeFontDir):
710 Add a couple of missing normalizations to make fc-cache work
711 right; only scan subdirectories once.
713 2006-01-26 Mike Fabian <mfabian@suse.de>
716 * src/fcacache.c (FcGlobalCacheReadDir):
718 Don't crash on non-existant directories in global cache.
720 2006-01-26 Patrick Lam <plam@mit.edu>
721 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
722 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
723 * src/fcdir.c (FcDirScanConfig):
724 * src/fcxml.c (FcEndElement):
726 Stop trampling the directory name when writing out caches.
727 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
728 subdirs when necessary. Don't scan directories that can't be
731 2006-01-25 Patrick Lam <plam@mit.edu>
732 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
733 * src/fccfg.c (FcConfigEvaluate):
734 * src/fcfreetype.c (FcPatternAddWithBinding):
736 Fix additional memory leaks reported by Ronny V. Vindenes: don't
737 invoke FcValueSave on hashed static strings in
738 FcPatternAddWithBinding.
740 Add another st_dev check in FcDirCacheOpen.
742 2006-01-24 James Su <james.su@gmail.com>
745 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
746 * fc-lang/zh_hk.orth:
748 Treat zh-hk fonts differently from zh-tw fonts. This patch may
749 cause fontconfig to treat A-X fonts differently from A-Y fonts;
750 please mail the fontconfig list if this causes any problems.
752 2006-01-24 Patrick Lam <plam@mit.edu>
753 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
754 * src/fcfreetype.c (FcFreeTypeQuery):
756 Fix memory leaks reported by Ronny V. Vindenes.
758 2006-01-19 Andreas Schwab <schwab@suse.de>
761 * src/fcpat.c (FcStrNeededBytes):
763 Fix for unaligned memory accesses.
765 2006-01-18 Mike Fabian <mfabian@suse.de>
768 * src/fcdir.c (FcDirScanConfig):
770 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
771 calls to avoid crashes.
773 2006-01-14 Patrick Lam <plam@mit.edu>
774 * src/fccache.c (FcDirCacheConsume):
776 Fix segfault when consuming zero-length caches in fc-cat
777 (which has no config, so FcConfigAddFontDir shouldn't be called.)
779 2006-01-14 Patrick Lam <plam@mit.edu>
780 * fc-cache/fc-cache.c (scanDirs):
781 * fontconfig/fontconfig.h:
782 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
783 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
784 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
785 * src/fcdir.c (FcDirScanConfig):
788 Compare device numbers as well as inodes.
789 Always normalize directory names before comparing them.
791 2006-01-11 Mike Fabian <mfabian@suse.de>
794 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
796 Allocate extra space for appended '/' in directory name.
798 2006-01-10 Patrick Lam <plam@mit.edu>
799 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
800 FcDirCacheValid, FcDirCacheHasCurrentArch,
801 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
802 * fc-cache/fc-cache.c (main):
804 Explicitly add font dirs to config.fontDirs even if they're empty.
805 Set current config in fc-cache.c.
806 Fix treatment of cache directory as read from cache file; don't
807 use string equality to determine if we have the right file,
810 2006-01-09 Patrick Lam <plam@mit.edu>
811 * fc-cache/fc-cache.c (scanDirs):
812 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
813 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
814 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
815 * src/fccfg.c (FcConfigNormalizeFontDir):
816 * src/fcdir.c (FcDirScanConfig):
819 Normalize font dirs by using the form, as given in fonts.conf, and
820 recorded in FcConfig's fontDirs string set, as canonical.
822 Actually update config.fontDirs as font directories are scanned.
824 2006-01-08 James Su <james.su@gmail.com>
825 * src/fcmatch.c (FcFontSetMatch):
827 Fix matching bug when multiple elements match; don't use
828 the sum of all scores, but the best score.
830 Also more perf opts, e.g. evaluate best over all font sets
831 rather than on a per-set basis (and other changes).
833 2006-01-08 Patrick Lam <plam@mit.edu>
834 * src/fccache.c (FcDirCacheConsume):
836 Properly skip past dir caches that contain zero fonts (as occurs
837 in global caches.) Reported by Mike Fabian.
839 2006-01-06 Patrick Lam <plam@mit.edu>
840 * src/fcdbg.c (FcPatternPrint):
842 Print out full pathname in fc-match -v as well. Reported by
845 2006-01-06 Mike Fabian <mfabian@suse.de>
848 * src/fcname.c (FcNameParse):
850 Fix bug where fc-match crashes when given __DUMMY__ property to
853 (I added the __DUMMY__ string to enable callers of
854 FcObjectToPtrLookup to distinguish an error return from a
855 successful return. -PL)
857 2006-01-05 Patrick Lam <plam@mit.edu>
860 Add self to AUTHORS list.
862 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
863 FcCacheFileRead, FcCachePrintSet, main):
864 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
865 FcGlobalCacheSave, FcCacheNextOffset,
866 FcDirCacheHasCurrentArch, FcDirCacheRead,
867 FcDirCacheConsume, FcDirCacheWrite):
869 * src/fcpat.c (comment):
871 Minor change to global cache file format to fix fc-cat bug
872 reported by Frederic Crozat, and buglet with not globally caching
873 directories with zero fonts cached.
875 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
878 * src/fccfg.c (FcConfigEvaluate):
880 Fix double-free which occurs because FcValueCanonicalize doesn't
881 create an extra copy of the returned value, it only canonicalizes
884 2006-01-02 Patrick Lam <plam@mit.edu>
885 * doc/fontconfig-user.sgml:
887 Fix version of .cache file (currently 1 -> currently 2). Reported
890 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
893 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
895 Shut up GCC warnings on amd.
897 2005-12-20 Patrick Lam <plam@mit.edu>
901 * fontconfig/fontconfig.h:
903 Bump version to 2.3.93.
905 2005-12-20 Patrick Lam <plam@mit.edu>
906 * src/fccharset.c (FcLangCharSetPopulate):
907 * src/fcint.h (FcCacheBankToIndex):
909 Avoid check on _fcBankId nullness and fix case where it used to
912 2005-12-20 Patrick Lam <plam@mit.edu>
913 * src/fcxml.c (FcConfigParseAndLoad):
915 Use open instead of fopen (requested by Phil Race for Sun).
917 2005-12-20 Patrick Lam <plam@mit.edu>
918 * src/fccache.c (FcDirCacheWrite);
919 * fc-cache/Makefile.am:
921 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
924 2005-12-20 Patrick Lam <plam@mit.edu>
925 * src/fcfreetype.c (FcFreeTypeQuery):
927 Restore code to skip over PCF fonts that have no encoded
929 (We guess that a font is PCF by presence of the PIXEL_SIZE
932 2005-12-12 Patrick Lam <plam@mit.edu>
933 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
935 Read and write the original location as a fallback for the
936 hashed cache file locations. This is mostly for users to be
937 able to have per-directory cache files.
939 2005-12-12 Patrick Lam <plam@mit.edu>
940 * fc-cache/fc-cache.c (scanDirs):
941 * fc-cache/Makefile.am:
942 * src/fccache.c (FcDirCacheHashName):
944 Improve error message when fc-cache can't write the cache. Add
945 missing slash. Reported by Behdad. Incorporate Behdad's patch to
946 create /var/cache/fontconfig when appropriate.
948 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
951 * src/fcxml.c (FcConfigGetAttribute):
953 Fix crash reported by Frederic Crozat when using libxml2.
955 2005-12-09 Patrick Lam <plam@mit.edu>
958 * fc-cache/Makefile.am:
959 * fc-cat/Makefile.am:
961 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
962 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
963 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
964 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
965 FcDirCacheHasCurrentArch, FcDirCacheHashName,
966 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
968 Migrate cache files from fonts directories to
969 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
970 but requires that all caches get rebuilt.
972 Also, autogen.sh now needs the additional parameter
973 --localstatedir=/var.
975 2005-12-07 Patrick Lam <plam@mit.edu>
976 * src/fcpat.c (FcPatternAddString):
978 Because we've changed FcPatternAddString to use FcStrStaticName
979 and not FcValueSave, explicitly handle the case of a null string.
981 2005-12-06 Patrick Lam <plam@mit.edu>
982 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
986 2005-12-05 Patrick Lam <plam@mit.edu>
987 * src/fcname.c (FcNameGetObjectType):
989 Don't assign types to user object names.
991 2005-12-05 Patrick Lam <plam@mit.edu>
992 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
994 Don't free strings that have been returned from FcStrStaticName.
996 2005-12-01 Patrick Lam <plam@mit.edu>
997 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
999 Add codepath for reading global cache files as well.
1001 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1004 * conf.d/10-fonts.persian.conf:
1005 * conf.d/Makefile.am:
1007 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1009 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1012 * src/fcxml.c (FcConfigParseAndLoad):
1014 Only add a config file to the set of config files once.
1016 2005-11-29 Patrick Lam <plam@mit.edu>
1017 * src/fcint.h (FcCacheBankToIndex);
1019 Fix segfault by guarding array dereference.
1021 2005-11-29 Dirk Mueller <dmueller@suse.de>
1024 * fc-lang/fc-lang.c:
1025 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1026 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1030 Refactor FcCacheBankToIndex into an inlineable part
1031 (in fcint.h) which checks the front of the list and a
1032 non-inlineable part which finds and moves the appropriate element
1033 to the front of the list.
1035 2005-11-29 Patrick Lam <plam@mit.edu>
1036 * src/fccfg.c (FcConfigBuildFonts):
1037 * src/fccache.c (FcCacheReadDirs):
1039 Make the perf guys hate me a bit less: hoist the directory-name
1040 FcConfigAcceptFont check for cached fonts up to directory cache
1041 read time, rather than running it for each font.
1043 2005-11-29 Patrick Lam <plam@mit.edu>
1044 * src/fccfg.c (FcConfigBuildFonts):
1046 * src/fcpat.c (FcPatternFindFullFname):
1048 Don't make FcPatternFindFullFname available to fccfg, it's not
1049 really safe. Instead go through FcPatternGetString (sorry,
1050 perf guys.) Also, use globs for dirs as well.
1052 2005-11-28 Patrick Lam <plam@mit.edu>
1053 * src/fccfg.c (FcConfigBuildFonts):
1057 2005-11-28 Patrick Lam <plam@mit.edu>
1059 * src/fcpat.c (FcPatternFindFullFname):
1060 * src/fccfg.c (FcConfigBuildFonts):
1062 Fix problem dating back at least to 2.3.2 where globs weren't
1063 being applied to patterns loaded from a cache.
1065 2005-11-28 Patrick Lam <plam@mit.edu>
1066 * doc/fontconfig-user.sgml:
1068 Fix some obvious spelling mistakes.
1070 2005-11-28 Dirk Mueller <dmueller@suse.com>
1071 Stephan Kulow <coolo@suse.de>
1074 * src/fcmatch.c (FcFontSetMatch):
1076 Don't kill all fonts during match (oops!)
1079 2005-11-25 Dirk Mueller <dmueller@suse.com>
1080 Stephan Kulow <coolo@suse.de>
1081 Michael Matz <matz@suse.de>
1084 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1087 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1088 inline FcCompare into FcFontSetMatch and reorder the
1089 loops, adding a boolean array which blocks patterns from future
1090 consideration if they're known to not be best on some past
1093 2005-11-26 Dirk Mueller <dmueller@suse.com>
1096 * src/fcmatch.c (FcCompareValueList):
1098 Fix incorrect merge.
1100 2005-11-25 Patrick Lam <plam@mit.edu>
1101 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1103 Don't do random matching when bad objects are passed into
1106 2005-11-25 Patrick Lam <plam@mit.edu>
1108 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1109 FcPatternSerialize, FcPatternUnserialize,
1110 FcValueListEnsureBank, FcValueListDistributeBytes,
1111 FcValueListUnserialize):
1113 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1114 _fcPatternElts, _fcValueLists for consistency.
1116 2005-11-25 Dirk Mueller <dmueller@suse.com>
1121 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1123 2005-11-25 Patrick Lam <plam@mit.edu>
1125 * src/fccache.c (FcDirCacheConsume):
1126 * src/fccharset.c (FcCharSetUnserialize):
1127 * src/fcfs.c (FcFontSetUnserialize):
1128 * src/fclang.c (FcLangSetUnserialize):
1129 * src/fcname.c (FcObjectUnserialize):
1130 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1131 FcPatternUnserialize):
1133 Pass around FcCache *s to the Unserialize functions for extra
1134 consistency (and less overhead, for what that's worth).
1136 2005-11-24 Dirk Mueller <dmueller@suse.com>
1140 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1141 * src/fcname.c (FcNameUnparseValue):
1143 Inline the *PtrU functions to gain perf.
1144 Remove unneeded params for the FcCompare* functions.
1146 2005-11-24 Dirk Mueller <dmueller@suse.com>
1149 * src/fcint.h, fontconfig/fontconfig.h:
1151 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1153 * src/fcpat.c, src/fcint.h, src/fcname.c:
1155 Check for type validity during FcPatternAddWithBinding, don't
1156 verify type in FcFontMatch, don't call FcCanonicalize here
1157 (which always does a deep copy).
1159 2005-11-24 Dirk Mueller <dmueller@suse.com>
1162 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1163 * src/fcpat.c (FcPatternAddWithBinding):
1165 Make FcCompareString and FcCompareFamily less expensive.
1166 Only add a value for FC_FAMILY if the proposed value is a string.
1168 2005-11-24 Dirk Mueller <dmueller@suse.com>
1171 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1172 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1173 * src/fcint.h (FcDebug):
1175 Inline FcDebug invocations and only initialize once, in FcInit*.
1176 Improve debug msg in FcPatternPrint.
1178 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1181 * fontconfig/fontconfig.h:
1184 Minor code warning cleanups.
1186 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1189 * fc-match/fc-match.c (main):
1191 Make getopt_long accept -s parameter to fc-match as well.
1193 2005-11-21 Dirk Mueller <dmueller@suse.com>
1196 * src/fcmatch.c (FcCompareValueList):
1198 Manually perform inlining & partial redundancy elimination to
1199 reduce calls to FcValueListPtrU.
1201 2005-11-21 Dirk Mueller <dmueller@suse.com>
1204 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1205 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1207 Only invoke strlen() when really necessary.
1209 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1213 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1214 FcFontCapabilities):
1218 Get rid of the use of freetype internal headers in fcfreetype.c,
1219 since those headers will go away with freetype 2.2. Replace with
1220 public domain ftglue code from pango. Note that the patch removes
1221 some extra error checking in FT_Get_BDF_Property() and comments
1222 out the skipping of empty pcf fonts.
1224 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1227 * fc-lang/fc-lang.c (main):
1229 Further fix of patch from 2005-11-04: miscounted numbers count
1230 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1231 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1233 Removed leafidx_count and numbers_count since they are the same
1234 and replaced them with offset_count.
1236 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1239 * fc-cat/fc-cat.c (main):
1241 Don't crash when fc-cat invoked with no arguments.
1243 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1246 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1248 Fix invalid read access caused by premature free and
1249 GCC4 warnings in libxml2 codepath.
1251 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1254 * src/fccfg.c (FcConfigValues):
1256 List iteration not needed in FcConfigValues, since it's building
1257 up the list itself; we can just strip FcVoid elements during
1260 2005-11-17 Patrick Lam <plam@mit.edu>
1261 * src/fccfg.c (FcConfigValues):
1263 Fix crash on invalid constants in config files (forgot to update
1264 a pointer upon list iteration.)
1266 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1269 * src/fcxml.c (FcTypecheckExpr):
1271 Complain about invalid constants in config files.
1273 2005-11-17 Andreas Schwab <schwab@suse.de>
1276 * src/fccache.c (FcGlobalCacheSave):
1278 Don't add current_arch_start more than once.
1280 2005-11-16 Patrick Lam <plam@mit.edu>
1281 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1282 * src/fcfs.c (FcFontSetUnserialize):
1283 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1284 * src/fcpat.c (FcStrUnserialize):
1286 Fix ordering of ALIGN with respect to saving block_ptr; add
1287 another ALIGN to fcfs.c.
1289 2005-11-16 Patrick Lam <plam@mit.edu>
1290 * src/fccache.c (FcDirCacheProduce)
1292 Fix case where alignment bytes bumped up metadata->count
1293 causing unwarranted failures to write cache files.
1294 (Reported by Stephan Kulow).
1296 2005-11-16 Patrick Lam <plam@mit.edu>
1297 * src/fccache.c (FcDirCacheProduce):
1298 * src/fccharset.c (FcCharSetDistributeBytes):
1299 * src/fcfs.c (FcFontSetDistributeBytes):
1301 * src/fclang.c (FcLangSetDistributeBytes):
1302 * src/fcname.c (FcObjectDistributeBytes):
1303 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1306 Add *NeededBytesAlign(), which overestimates the padding which is
1307 later added by the new ALIGN macro. Fix alignment problems on
1308 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1309 version by Andreas Schwab).
1311 2005-11-16 Stephan Kulow <coolo@kde.org>
1316 Use sysconf to determine proper PAGESIZE value; this
1317 appears to be POSIX-compliant. (reported by Andreas Schwab)
1319 2005-11-04 Patrick Lam <plam@mit.edu>
1320 * fc-lang/fc-lang.c:
1325 Fix bug 2878 (excessive relocations at startup for charsets,
1326 reported by Ross Burton): fc-lang/fc-lang now creates the
1327 static form of the langset, not the dynamic form, so that
1328 the charsets should now be in .rodata.
1330 2005-11-04 Patrick Lam <plam@mit.edu>
1331 * src/fcdir.c (FcDirScanConfig):
1333 Add test for validity of directory caches that
1334 somehow got lost (reported by make distcheck).
1336 2005-11-04 Patrick Lam <plam@mit.edu>
1340 * fontconfig/fontconfig.h:
1342 Bump version to 2.3.92.
1344 2005-11-02 Patrick Lam <plam@mit.edu>
1345 * src/fcpat.c (FcPatternDuplicate):
1347 Fix argument ordering problem in call to FcPatternTransferFullFname.
1349 2005-11-02 Patrick Lam <plam@mit.edu>
1350 * src/fcfreetype.c (FcFreetypeQuery):
1351 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1352 FcPatternTransferFullFname):
1354 Fix warnings and embarrassing double-free error.
1356 2005-11-02 Zhe Su <zsu@novell.com>
1361 Change the rule for artificial emboldening in fonts.conf.in. This
1362 enables the support for artificial emboldening included in cairo.
1364 2005-11-02 Patrick Lam <plam@mit.edu>
1365 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1367 Don't zero out full names for FC_REF_CONSTANT fonts;
1368 also, duplicate full names when transferring, and free
1369 full names when freeing the associated font.
1370 Reported by Jinghua Luo.
1372 2005-11-02 Patrick Lam <plam@mit.edu>
1373 * fc-cache/fc-cache.c (scanDirs):
1374 * src/fcpat.c (FcValueListSerialize):
1376 Revert the previous patch and commit the correct patch:
1377 I forgot a canonicalization in FcValueListSerialize, so
1378 that it would choke on already-serialized input files. Duh!
1380 2005-11-02 Patrick Lam <plam@mit.edu>
1381 * fc-cache/fc-cache.c (scanDirs):
1383 Forcibly rescan a directory before writing a fresh local
1384 cache file for that directory, fixing the losing-fonts
1385 problem reported by Mike Fabian and also apparently the
1386 font cache file corruption.
1388 2005-11-02 Patrick Lam <plam@mit.edu>
1389 * src/fccache.c (FcGlobalCacheLoad):
1391 Fix thinko: actually, the whole global cache is stale
1392 if the global cache is older than the (newest) config file.
1394 2005-11-02 Patrick Lam <plam@mit.edu>
1395 * src/fccache.c (FcGlobalCacheLoad):
1396 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1399 Declare the global cache of a directory's contents to be stale if
1400 the directory is newer than the (newest) configuration file.
1402 2005-10-31 Patrick Lam <plam@mit.edu>
1404 * src/fclist.c (FcListAppend):
1405 * src/fcmatch.c (FcFontRenderPrepare):
1406 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1407 FcPatternFreeze, FcPatternBaseFreeze):
1409 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1410 applications continue breaking.
1412 2005-10-31 Patrick Lam <plam@mit.edu>
1413 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1414 * src/fcfreetype.c (FcFreeTypeQuery):
1416 Fix small memory error (tried to free argv); use basename and
1417 dirname correctly (they can modify their arguments).
1419 2005-10-31 Patrick Lam <plam@mit.edu>
1427 Reinstate basename patch, but keep a hash table linking FcPatterns
1428 to their fully-qualified font names for clients' benefit. Clients
1429 only pay for the font names once they request the FC_FILE property
1430 from an FcPattern, but the font name is malloc'd at that point (i.e.
1431 not mmapped: that's impossible, since it may vary between machines.)
1432 Clients do have to pay for a copy of the path name per cache file.
1434 Note that FcPatternGetString now does some rewriting if you ask
1435 for an FC_FILE, appending the pathname as appropriate.
1437 2005-10-31 Patrick Lam <plam@mit.edu>
1438 * src/fcfreetype.c (FcFreeTypeQuery):
1440 Revert basename patch, which breaks fontconfig clients on my system.
1442 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1445 * fontconfig/fonts.conf.in:
1446 * fontconfig/fontconfig.h:
1450 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1451 to load embedded bitmaps or not.
1453 2005-10-25 Patrick Lam <plam@mit.edu>
1454 * src/fcfreetype.c (FcFreeTypeQuery):
1456 Only add basename to patterns' FC_FILE element, not any part of
1459 2005-10-22 Patrick Lam <plam@mit.edu>
1462 Add some more consts, fixing more GCC4 warnings.
1464 2005-10-22 Zhe Su <zsu@novell.com>
1467 Support localized font family and style names.
1468 This has been reported to break old apps like xfd, but modern
1469 (gtk+/qt/mozilla) apps work fine.
1471 2005-10-21 Patrick Lam <plam@mit.edu>
1472 * src/fccache.c (FcGlobalCacheLoad):
1474 Destroy the global cache file if it's terminally broken. (reported by
1477 2005-10-21 Patrick Lam <plam@mit.edu>
1478 * fc-list/fc-list.c (main):
1479 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1480 * fontconfig/fontconfig.h:
1482 Prevent fc-list from escaping strings when printing them (reported by
1485 2005-10-20 Marcus Meissner <meissner@suse.de>
1488 * fontconfig/fontconfig.h:
1490 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1492 2005-10-14 Ross Burton <ross@burtonini.com>
1495 * fc-glyphname/fc-glyphname.c:
1498 Add consts to variables so as to move arrays into .rodata.
1500 2005-10-14 Mike Fabian <mfabian@suse.de>
1503 * src/fccache.c (FcDirCacheUnlink):
1505 Check existence of directory cache file before attempting to unlink.
1507 2005-10-13 Patrick Lam <plam@mit.edu>
1508 * src/fccache.c (FcDirCacheUnlink):
1510 Fix flipped return value on unlink. (Reported by Mike Fabian)
1512 2005-10-12 Patrick Lam <plam@mit.edu>
1515 * src/fcdir.c (FcDirScanConfig):
1518 When fc-cache is run without --force, use directory cache files
1519 to speed up fc-cache run time. (Reported by Mike Fabian)
1521 2005-10-06 Patrick Lam <plam@mit.edu>
1523 * src/fcname.c (FcObjectToPtr):
1524 * src/fcpat.c (FcStrStaticName):
1526 Add padding to make valgrind and glibc not hate each other
1527 when calling strlen().
1529 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1530 reviewed by: plam & keithp
1534 Modify config file to use Greek fonts before Asian fonts with
1537 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1538 reviewed by: plam & keithp
1542 Use libtool -no-undefined flag on all platforms.
1544 2005-10-05 Patrick Lam <plam@mit.edu>
1545 * src/fccache.c (FcCacheHaveBank):
1547 Implement move-to-front array for banks (perf regression
1548 reported by Ronny V. Vindenes).
1550 2005-10-04 Patrick Lam <plam@mit.edu>
1551 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1552 FcDirCacheHasCurrentArch):
1553 * fc-cache/fc-cache.c (scanDirs):
1554 * fontconfig/fontconfig.h:
1556 Add new API which unlinks directory caches and checks dir caches
1557 for existence of appropriate sections. Fix fc-cache to unlink
1558 stale cache files and save directory caches that lack relevant
1561 2005-10-03 Patrick Lam <plam@mit.edu>
1562 * src/fccache.c (FcDirCacheValid):
1564 Ensure that a directory cache has the appropriate section
1565 before reporting that it is valid (reported by Matthias Clasen).
1567 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1575 Use libxml2 if requested (with --enable-libxml2) or if
1576 expat is not available.
1578 2005-09-29 Patrick Lam <plam@mit.edu>
1579 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1581 Fix multi-arch cache files: compute the position for the
1582 block to be added using info from OrigFile, not NewFile.
1584 2005-09-28 Patrick Lam <plam@mit.edu>
1585 * src/fccache.c (FcCacheMachineSignature):
1587 Cast results of sizeof() to unsigned int to get rid of
1588 warnings on x86_64 (thanks Matthias Clasen).
1590 2005-09-27 Patrick Lam <plam@mit.edu>
1591 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1594 Use FcAtomic to rewrite cache files.
1596 2005-09-27 Patrick Lam <plam@mit.edu>
1598 * src/fccache.c (FcDirCacheWrite):
1600 Don't unlink the fonts.cache-2 file even if there's no data
1601 to write; just write an empty cache file. (thanks Lubos Lunak)
1603 2005-09-27 Patrick Lam <plam@mit.edu>
1605 * src/fccache.c (FcDirCacheWrite):
1607 Allocate room for the subdirectory names in each
1608 directory cache. Thanks to James Cloos for finding
1609 and diagnosing this bug!
1611 2005-09-22 Patrick Lam <plam@mit.edu>
1613 * fc-cache/fc-cache.sgml:
1614 * src/fccache.c (FcDirCacheWrite):
1615 * src/fccache.h (struct FcCache):
1617 Update documentation -- fc-cache's man page now says that you
1618 need to run fc-cache once per cached architecture; add some
1619 documentation to the FcCache structure.
1621 Make fc-cache write out fonts.cache-2 files for directories with
1622 no fonts (i.e. only subdirectories).
1624 2005-09-22 Patrick Lam <plam@mit.edu>
1626 * fc-cache/fc-cache.sgml:
1627 * fc-case/fc-case.c:
1628 * fc-glyphname/fc-glyphname.c:
1634 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1638 * fc-lang/fc-lang.c:
1639 * fontconfig/fcprivate.h:
1640 * fontconfig/fontconfig.h:
1654 Implement new mmaped cache for font information.
1655 Bump so revision to 2.3.90.
1657 2005-07-25 Keith Packard <keithp@keithp.com>
1659 * doc/fontconfig-user.sgml:
1660 * fc-glyphname/fc-glyphname.c: (scan), (main):
1661 * fc-lang/fc-lang.c: (FcConfigHome):
1662 * fc-match/fc-match.c: (main):
1663 * src/fccfg.c: (FcConfigHome):
1664 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1665 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1666 (addtag), (FcFontCapabilities):
1667 * src/fcpat.c: (FcValueListEntCreate):
1668 * src/fcstr.c: (FcStrCaseWalkerInit):
1669 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1671 Various GCC 4 cleanups for signed vs unsigned char
1673 Match only [0-9]*.conf files in <include>{directory}</include>
1674 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1676 2005-07-15 Carl Worth <cworth@cworth.org>
1679 * src/fcinit.c: (FcFini):
1680 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1683 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1684 Pull the FcObjectStateName hash table out to file scope, and add
1685 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1688 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1691 2005-06-16 Patrick Lam <plam@MIT.EDU>
1695 * src/fccfg.c: (FcConfigCompareValue):
1696 Make FcOpNotContains use FcStrStr for strings so that
1697 it matches semantics for !FcOpContains.
1699 2005-05-20 Keith Packard <keithp@keithp.com>
1703 Move fontconfig source package to libs as per override
1705 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1707 reviewed by: Mike Fabian
1710 The ka.orth file requires several characters which are not
1711 used anymore in modern Georgian and which are missing in the free
1712 Georgian TrueType fonts downloadable at:
1714 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1716 2005-04-27 Keith Packard <keithp@keithp.com>
1720 Update date to real 2.3.2 release date.
1721 Fix change attributions
1723 2005-04-27 Keith Packard <keithp@keithp.com>
1726 Bump so revision for 2.3.2
1727 * fc-cache/fc-cache.c: (scanDirs):
1728 Fix a few minor leaks in error cases.
1730 2005-04-23 Keith Packard <keithp@keithp.com>
1735 * fontconfig/fontconfig.h:
1736 Update for version 2.3.2
1738 2005-04-21 Keith Packard <keithp@keithp.com>
1740 * debian/fontconfig.postinst:
1741 Don't force bitmap font enable in default
1742 configuration; allows users to override this in
1752 * debian/po/pt_BR.po:
1753 * debian/po/templates.pot:
1755 * debian/po/zh_CN.po:
1756 Updated translations
1758 * fc-cache/fc-cache.c: (main):
1759 Destroy font configuration on exit to help valgrind
1762 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1763 (FcFreeTypeCheckGlyph):
1764 Use own transcoding routines in preference to iconv
1765 which appears to have leaks in some translators.
1766 Call iconv_close after using iconv (oops).
1768 Prefer unicode encoding of Euro char as some
1769 fonts mis-encode Euro in other ones.
1771 Must fetch bitmap glyphs to get width values
1772 to check for monospace/dual-width fonts.
1774 2005-04-13 Ross Burton <ross@burtonini.com>
1777 Check that a pattern isn't already frozen in FcPatternFreeze.
1779 2005-03-31 Ross Burton <ross@burtonini.com>
1784 Run all FcPattern objects through FcObjectStaticName, so that
1785 compares can be done on pointers instead of strings (#2659)
1787 2005-03-17 Tor Lillqvist <tml@novell.com>
1789 * src/fontconfig.def.in: Add the .dll to the dll name.
1791 2005-03-10 Keith Packard <keithp@keithp.com>
1793 * debian/README.Debian:
1794 Update to reflect configuration changes
1796 * debian/fontconfig.postinst:
1797 Fix Autohint vs Autohinter mistake
1798 * debian/fontconfig.templates:
1799 Adopt changes from Josselin Mouette for configuration descriptions
1800 Update debian to version 2.3.1-2
1802 2005-03-08 Keith Packard <keithp@keithp.com>
1806 Update debian for 2.3.1
1808 2005-03-09 Tor Lillqvist <tml@novell.com>
1810 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1813 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1816 2005-03-08 Keith Packard <keithp@keithp.com>
1820 * fontconfig/fontconfig.h:
1823 2005-03-05 Keith Packard <keithp@keithp.com>
1825 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1826 Include space and remove numbers from valid script tags.
1827 This ensures that tags like 'lao ' work while rejecting
1828 those which have any digits.
1829 Eliminate a spurious debugging variable (len)
1831 2005-03-05 Keith Packard <keithp@keithp.com>
1833 * src/fcfreetype.c: (addtag), (GetScriptTags),
1834 (FcFontCapabilities):
1835 Rework GSUB/GPOS script parsing to survive broken fonts.
1836 Thanks for the broken font go to Manish Singh
1838 2005-03-05 Keith Packard <keithp@keithp.com>
1843 * debian/fontconfig.config:
1844 * debian/fontconfig.templates:
1846 Include 2.3 release information in changelog
1847 Add Josselin Mouette as an Uploader
1848 Set hinting_type to low priority configuration option
1851 * debian/fontconfig.postinst:
1852 yes_bitmaps.conf -> yes-bitmaps.conf
1858 2005-03-02 Keith Packard <keithp@keithp.com>
1861 * conf.d/Makefile.am:
1862 * conf.d/autohint.conf:
1863 * conf.d/no-sub-pixel.conf:
1864 * conf.d/sub-pixel.conf:
1865 * conf.d/unhinted.conf:
1866 * debian/autohint.conf:
1867 * debian/fontconfig.install:
1868 * debian/fontconfig.postinst:
1869 * debian/fontconfig.templates:
1870 * debian/no-sub-pixel.conf:
1871 * debian/unhinted.conf:
1872 Move debian-specific conf file examples upstream.
1874 Sub-pixel configuration examples must smash subpixel value
1875 as Xft always sets it from X.
1877 Change sub-pixel rendering debconf descriptions from
1878 Enable/Disable to Always/Never.
1880 2005-03-02 Keith Packard <keithp@keithp.com>
1883 * conf.d/.cvsignore:
1885 Ignore more build detritus
1888 Add debian package construction stuff.
1890 * config/config.guess:
1891 * config/config.sub:
1892 Update to newer versions of these tools
1895 Get library manuals to build again (we love automake).
1897 * debian/README.Debian:
1898 * debian/autohint.conf:
1903 * debian/fontconfig-udeb.install:
1904 * debian/fontconfig.config:
1905 * debian/fontconfig.defoma:
1906 * debian/fontconfig.dirs:
1907 * debian/fontconfig.install:
1908 * debian/fontconfig.postinst:
1909 * debian/fontconfig.postrm:
1910 * debian/fontconfig.templates:
1911 * debian/libfontconfig1-dev.install:
1912 * debian/libfontconfig1.install:
1913 * debian/local.conf.md5sum:
1914 * debian/no-sub-pixel.conf:
1915 * debian/po/POTFILES.in:
1924 * debian/po/pt_BR.po:
1925 * debian/po/templates.pot:
1927 * debian/po/zh_CN.po:
1929 * debian/unhinted.conf:
1930 Update debian build system to switch maintainers and
1931 deal with 2.3 functionality
1933 2005-03-01 Keith Packard <keithp@keithp.com>
1937 * fontconfig/fontconfig.h:
1940 2005-03-01 Keith Packard <keithp@keithp.com>
1943 Generate and install PDF versions of the manuals
1945 * doc/fcpattern.fncs:
1948 * doc/fcstring.fncs:
1949 Add missing exported functions, fix data types
1951 * doc/fontconfig-devel.sgml:
1952 Add missing pattern elements.
1954 * doc/fontconfig-user.sgml:
1955 Add missing pattern elements. Document conf.d usage,
1956 clarify available orthography list. Fix some config file
1957 attributes. Complete list of constants.
1959 * fontconfig/fontconfig.h:
1960 Mark FC_SOURCE deprecated.
1962 * src/fcfreetype.c: (FcFreeTypeQuery):
1963 Don't set FC_SOURCE any longer.
1965 2005-02-28 Keith Packard <keithp@keithp.com>
1968 * conf.d/Makefile.am:
1970 * conf.d/no-bitmaps.conf:
1971 * conf.d/sub-pixel.conf:
1972 * conf.d/yes-bitmaps.conf:
1974 Create prototype /etc/fonts/conf.d directory with a few
1975 sample configuration files.
1976 Deprecate use of local.conf for local customizations in favor of
1977 this directory based scheme which is more easily integrated into
1978 installation systems.
1981 Tag FC_EMBOLDEN as a boolean variable
1983 2005-02-10 Keith Packard <keithp@keithp.com>
1985 reviewed by: pborelli@katamail.com
1987 * src/fcdir.c: (FcFileScanConfig):
1988 Free patterns from fonts which are rejected by configuration
1991 2005-01-28 Keith Packard <keithp@keithp.com>
1995 * fontconfig/fontconfig.h:
1996 Update for version 2.2.99
1998 2005-01-28 Keith Packard <keithp@keithp.com>
2001 Add a few pointers (#2284, #2285)
2003 2005-01-28 Keith Packard <keithp@keithp.com>
2006 * src/fcname.c: (FcNameBool):
2007 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2008 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2009 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2010 Polite typechecking for test and edit expressions. Helps
2011 catch errors in the font configuration. (bug 229)
2013 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2015 reviewed by: Keith Packard <keithp@keithp.com>
2018 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2020 2005-01-13 Keith Packard <keithp@keithp.com>
2022 * doc/fontconfig-user.sgml:
2023 Add SEE ALSO section (bug 2085)
2025 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2027 reviewed by: Keith Packard <keithp@keithp.com>
2032 * fc-case/Makefile.am:
2033 * fc-glyphname/Makefile.am:
2034 * fc-lang/Makefile.am:
2035 * src/fontconfig.def.in:
2036 Cross compiling fixes (bug 280)
2038 2005-01-13 Keith Packard <keithp@keithp.com>
2041 Update blanks list (Closes bug 86)
2043 2005-01-04 Keith Packard <keithp@keithp.com>
2045 * src/fccache.c: (FcCacheFontSetAdd):
2046 Verify that every font pattern loaded from cache has
2047 both FC_FILE and FC_FAMILY entries.
2048 Attempt to fix bug #2219.
2050 2004-12-29 Keith Packard <keithp@keithp.com>
2054 * fontconfig/fontconfig.h:
2055 Update for version 2.2.98
2057 2004-12-29 Keith Packard <keithp@keithp.com>
2059 * fontconfig/fontconfig.h:
2060 Document ASCII limitations of Fc character conversion macros
2061 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2062 Fix off-by-one error in utf-8 case walking code.
2063 Add FcStrDowncase (useful for testing case conversion functions)
2065 2004-12-29 Keith Packard <keithp@keithp.com>
2068 * fc-case/.cvsignore:
2069 clean up CVS ignore lists
2070 * fc-lang/iso-3166.txt:
2071 Add territory database
2073 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2075 Reviewed by: Keith Packard
2078 Remove Han characters from Korean orthography
2080 2004-12-29 Keith Packard <keithp@keithp.com>
2083 Reorder utility programs to make sure fc-case is run before fc-lang
2084 as fc-lang uses fcstr.c which uses fccase.h
2088 2004-12-29 Keith Packard <keithp@keithp.com>
2091 Adopt some RedHat suggestions for standard font configuration.
2095 * fc-case/CaseFolding.txt:
2096 * fc-case/Makefile.am:
2097 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2098 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2099 (dump), (parseRaw), (caseFoldReadRaw), (main):
2100 * fc-case/fccase.tmpl.h:
2101 Add new helper program 'fc-case' to construct case folding
2102 tables from standard Unicode CaseFolding.txt file
2105 * src/fclist.c: (FcListValueHash):
2106 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2107 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2108 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2109 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2110 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2111 Re-implement case insensitive functions with Unicode
2112 aware versions (including full case folding mappings)
2114 2004-12-13 Keith Packard <keithp@keithp.com>
2116 reviewed by: Owen Taylor <otaylor@redhat.com>
2118 * src/fcmatch.c: (FcFontSetSort):
2119 I changed FcFontSetSort to respect the generic aliases better
2120 in the face of language matching.
2122 What I did was to ammend the strict sort order used by FcFontSort so
2123 that it 'satisfies' the language specified in the pattern by locating
2124 the best matching font supporting each pattern language and then
2125 ignores language in the remaining fonts for purposes of matching.
2127 So, when asking for 'sans:lang=en', you'll get an English font first,
2128 and then the remaining fonts sorted with respect to the 'sans' alias
2129 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2131 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2133 reviewed by: Keith Packard <keithp@keithp.com>
2135 * fontconfig/fontconfig.h:
2138 Configuration changes to request synthetic emboldening of
2139 fonts. The actual emboldening code will live in Xft.
2141 2004-12-09 John Thacker <thacker@math.cornell.edu>
2143 reviewed by: Keith Packard <keithp@keithp.com>
2147 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2148 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2149 и), and don't even appear in KOI8-R. (The hypothesis that they
2150 don't appear in KOI8-R due to their similarity with Latin I and i is
2151 eliminated by their presence in KOI8-U.) I have a couple of fonts
2152 with Russian support that don't have the letter.
2154 Therefore, 0406 and 0456 should be removed from or commented out of
2157 2004-12-06 michael meeks <mmeeks@novell.com>
2159 Reviewed by: Keith Packard <keithp@keithp.com>
2161 * src/fcinit.c: (FcMemReport):
2163 * src/fclist.c: (FcObjectSetAdd):
2164 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2165 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2166 * src/fcxml.c: (FcParsePatelt):
2167 memoize strings and share a single copy for all uses. Note that
2168 this could be improved further by using statically allocated blocks
2169 and gluing multiple strings together, but I'm basically lazy.
2170 In my environment with 800 font files, I get a savings of about 90KB.
2172 2004-12-06 Keith Packard <keithp@keithp.com>
2176 * config/Makedefs.in:
2179 * doc/fcatomic.fncs:
2180 * doc/fcblanks.fncs:
2181 * doc/fccharset.fncs:
2182 * doc/fcconfig.fncs:
2183 * doc/fcconstant.fncs:
2185 * doc/fcfontset.fncs:
2186 * doc/fcfreetype.fncs:
2188 * doc/fcmatrix.fncs:
2189 * doc/fcobjectset.fncs:
2190 * doc/fcobjecttype.fncs:
2191 * doc/fcpattern.fncs:
2192 * doc/fcstring.fncs:
2193 * doc/fcstrset.fncs:
2195 * doc/fontconfig-devel.sgml:
2196 * doc/fontconfig-user.sgml:
2198 * doc/version.sgml.in:
2199 * fc-cache/Makefile.am:
2200 * fc-cache/fc-cache.c:
2201 * fc-glyphname/Makefile.am:
2202 * fc-glyphname/fc-glyphname.c:
2203 * fc-glyphname/fcglyphname.tmpl.h:
2204 * fc-lang/Makefile.am:
2214 * fc-lang/az_ir.orth:
2248 * fc-lang/fc-lang.c:
2249 * fc-lang/fc-lang.man:
2250 * fc-lang/fclang.tmpl.h:
2295 * fc-lang/ku_ir.orth:
2328 * fc-lang/ps_af.orth:
2329 * fc-lang/ps_pk.orth:
2358 * fc-lang/ti_er.orth:
2359 * fc-lang/ti_et.orth:
2385 * fc-lang/zh_cn.orth:
2386 * fc-lang/zh_hk.orth:
2387 * fc-lang/zh_mo.orth:
2388 * fc-lang/zh_sg.orth:
2389 * fc-lang/zh_tw.orth:
2391 * fc-list/Makefile.am:
2392 * fc-list/fc-list.c:
2393 * fc-match/Makefile.am:
2394 * fc-match/fc-match.1:
2395 * fc-match/fc-match.c:
2396 * fontconfig/fcfreetype.h:
2397 * fontconfig/fcprivate.h:
2398 * fontconfig/fontconfig.h:
2419 Change files from ISO-Latin-1 to UTF-8
2421 2004-12-04 Keith Packard <keithp@keithp.com>
2424 Update links to new freedesktop.org locations
2426 Add uninstall-local to get rid of fonts.conf and local.conf if they
2427 match the distributed versions. Fixes 'make distcheck'
2429 2004-12-04 Keith Packard <keithp@keithp.com>
2433 * fontconfig/fontconfig.h:
2434 Updates for version 2.2.97
2436 2004-12-04 Owen Taylor <otaylor@redhat.com>
2438 reviewed by: Keith Packard <keithp@keithp.com>
2440 * fc-cache/fc-cache.c: (main):
2441 Sleep for two seconds before exiting to make sure timestamps
2442 for future changes have distinct mod times in the file system.
2445 Add Punjabi orthography. Bug #1671.
2447 2004-12-04 Keith Packard <keithp@keithp.com>
2450 Just remove the FC_FONTDATE -- it has locale issues and
2451 annoys redhat multi-arch installs. Now that all X fonts are
2452 included without prejudice, the chances of the date being at
2453 all interesting are rather limited. Bug #505.
2455 Add copyright and license
2457 2004-12-04 Keith Packard <keithp@keithp.com>
2460 Change default set of fonts to include all of
2461 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2462 * doc/fontconfig-user.sgml:
2463 Document new <include>directory-name</include> semantics
2465 add <include ignore_missing="yes">conf.d</include>
2467 Add selectfont to ignore bitmap fonts, add comment for
2468 selectfont which accepts bitmap fonts.
2471 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2472 Allow <include> configuration elements to reference directories.
2473 Parse and load all files of the form [0-9]* in sorted order.
2475 2004-12-04 Keith Packard <keithp@keithp.com>
2478 Report command line for $srcdir/configure accurately.
2481 2004-12-04 Keith Packard <keithp@keithp.com>
2483 * src/fcfreetype.c: (FcFreeTypeQuery):
2484 Check for non-empty face->family_name and face->style_name
2485 before using those for the font. Empty names match everything.
2488 2004-12-04 Keith Packard <keithp@keithp.com>
2491 * fontconfig/fontconfig.h:
2492 * src/fcfreetype.c: (FcFreeTypeQuery):
2494 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2495 available. This provides font file format information (BDF, Type 1,
2496 PCF, TrueType) for each font. Closes #109.
2498 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2500 reviewed by: Keith Packard <keithp@keithp.com>
2502 * doc/fontconfig-user.sgml:
2505 * fontconfig/fontconfig.h:
2506 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2507 (GetScriptTags), (FcFontCapabilities):
2509 Add detection for font capabilities (bug #105)
2511 2004-12-04 Keith Packard <keithp@keithp.com>
2514 Move existing fonts.conf to fonts.conf.bak
2517 Add detection of iconv
2519 * doc/fcpattern.fncs:
2520 * doc/fontconfig-devel.sgml:
2521 * doc/fontconfig-user.sgml:
2523 Document new selectfont elements
2526 Switch to UTF-8 in comment
2528 * fontconfig/fontconfig.h:
2530 Add fullname, and family/style/fullname language entries
2532 * src/fccache.c: (FcCacheFontSetAdd):
2533 * src/fcdir.c: (FcFileScanConfig):
2534 Respect selectfont/*/glob
2537 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2538 (FcConfigCompareValue), (FcConfigPatternsAdd),
2539 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2540 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2541 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2542 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2543 Add support for selectfont
2545 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2546 (FcStringInPatternElement), (FcFreeTypeQuery):
2547 Add multi-lingual family/style/fullname support
2549 * src/fclist.c: (FcListPatternMatchAny):
2550 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2552 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2553 (FcObjectStaticName):
2554 Add new FcPatternRemove/FcPatternAppend.
2555 FcObjectStaticName stores computed pattern element names which
2556 are required to be static.
2558 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2563 Remove spurious / after $(DESTDIR)
2565 2004-06-30 Keith Packard <keithp@keithp.com>
2569 * fontconfig/fontconfig.h:
2572 2004-06-30 Keith Packard <keithp@keithp.com>
2574 Provided by: Lubos Lunak <l.lunak@suse.cz>
2576 * src/fccfg.c: (FcConfigUptoDate):
2577 However FcConfigUptoDate() doesn't seem to work. See the attached
2578 patch. First there's an obvious misplaced parenthesis making it
2579 return always false, and second, even this call fails to detect font
2580 changes (e.g. adding a new font to
2581 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2582 well. The problem seems to be triggered by my fonts.conf specifying
2583 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2584 doesn't include subdirs, unlike config->fontDirs.
2586 2004-06-03 Keith Packard <keithp@keithp.com>
2588 * fontconfig/fontconfig.h:
2589 Remove comma at end of FcResult enum definition.
2591 2004-05-29 Keith Packard <keithp@keithp.com>
2594 Add steps to md5sum release
2596 2004-05-29 Keith Packard <keithp@keithp.com>
2600 * fontconfig/fontconfig.h:
2603 2004-05-29 Keith Packard <keithp@keithp.com>
2605 * fontconfig/fontconfig.h:
2606 * src/fcmatch.c: (FcFontSetMatch):
2607 Add FcResultOutOfMemory to provide an accurate error when
2608 FcFontSetMatch fails in this way
2611 Make #warning about lacking various FreeType features indicate
2612 which version those features appeared so users know how to
2613 fix the problem (Thanks to Anton Tropashko)
2615 2004-05-05 Keith Packard <keithp@keithp.com>
2617 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2618 Replace MIN/MAX/ABS macros which happen to have come
2619 from FreeType with fontconfig-specific ones (FC_*)
2621 2004-04-23 Keith Packard <keithp@keithp.com>
2624 Extend release preparation instructions to include
2625 notification and distribution steps
2627 2004-04-23 Keith Packard <keithp@keithp.com>
2631 * fontconfig/fontconfig.h:
2632 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2634 2004-04-23 Keith Packard <keithp@keithp.com>
2637 Ignore a few more autotool files
2639 2004-04-14 Keith Packard <keithp@keithp.com>
2642 Add instructions for doing a release
2644 * fontconfig.spec.in:
2645 clean up .spec file; perhaps this will be useful to somebody...
2649 * fontconfig/fontconfig.h:
2652 * fc-lang/fc-lang.c:
2653 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2655 * fc-glyphname/Makefile.am:
2656 * fc-lang/Makefile.am:
2657 * fc-list/Makefile.am:
2658 * fc-match/Makefile.am:
2660 Add WARN_CFLAGS to pass -W flags for GCC systems
2662 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2663 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2664 Change various char types around to match across
2666 Fixed bug in using available_sizes[i].height which
2667 is in pixels, not 64ths of a pixel.
2669 2004-03-06 Keith Packard <keithp@keithp.com>
2671 * src/fcfreetype.c: (FcFreeTypeQuery):
2672 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2673 matches looking for explicit values prefer exact matches
2675 2004-03-02 Keith Packard <keithp@keithp.com>
2677 Supplied by: mfabian@suse.de (Mike FABIAN)
2679 * src/fcfreetype.c: (FcFreeTypeQuery):
2680 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2681 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2683 2004-02-21 Manish Singh <yosh@gimp.org>
2685 * fc-glyphname/fc-glyphname.c: (main):
2686 Cast strlen to int for printf, so we're 64-bit clean.
2688 2004-02-11 Keith Packard <keithp@keithp.com>
2691 * src/fcfreetype.c: (FcGetPixelSize):
2692 Ok, so I messed up the test for y_ppem. Let's see if I
2693 got it right this time.
2695 2004-02-10 Keith Packard <keithp@keithp.com>
2698 * src/fcfreetype.c: (FcGetPixelSize):
2699 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2700 FT_Bitmap_Size record. Add a configure.in test for this
2701 and change the code accordingly (using height instead).
2703 2004-02-06 Keith Packard <keithp@keithp.com>
2706 Add Low Saxon orthography
2707 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2709 * src/fccfg.c: (FcConfigNewestFile):
2710 Oops. Left 'newest.set' unset, which would miscompute
2713 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2714 (FcFreeTypeCheckGlyph):
2715 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2716 font properties (which report the wrong value in current FreeType)
2718 Don't attempt to check for empty glyphs in non-scalable fonts; they
2721 2004-02-01 Tor Lillqvist <tml@iki.fi>
2723 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2724 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2725 cache if config->cache is NULL, which happens if FcConfigHome() is
2726 NULL. Guard against that by using the temp folder in that case.
2728 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2730 * fc-lang/az_ir.orth:
2731 * fc-lang/ku_ir.orth:
2732 * fc-lang/ps_af.orth:
2733 * fc-lang/ps_pk.orth:
2734 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2735 (Afghan and Pakistani).
2737 Updated Urdu orthography with real data.
2739 2003-12-11 Carl Worth <cworth@east.isi.edu>
2741 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2744 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2746 (all-local): Remove excessive whitespace.
2748 * autogen.sh: Add 'set -e' to abort when any program fails,
2749 (avoids printing of 'now type make' after configure aborts).
2751 2003-11-17 Eric Christopherson <rakko@charter.net>
2753 reviewed by: Keith Packard <keithp@keithp.com>
2756 * fontconfig/fcfreetype.h:
2758 Switch to FreeType 2.1.7 style includes. Bug #150.
2760 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2762 * fc-list/fc-list.sgml: Add some example usages.
2764 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2767 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2770 2003-10-27 Keith Packard <keith@keithp.com>
2773 * fontconfig/fontconfig.h:
2774 Update to version 2.2.92
2776 2003-10-27 Keith Packard <keithp@keithp.com>
2781 * fc-cache/Makefile.am:
2782 * fc-glyphname/Makefile.am:
2783 * fc-lang/Makefile.am:
2784 * fc-list/Makefile.am:
2785 * fc-match/Makefile.am:
2788 Yet more cleanups to finish getting 'make distcheck' working
2789 This has been tested to ensure that it even works from a _build
2792 2003-10-26 Keith Packard <keithp@keithp.com>
2796 * fc-cache/Makefile.am:
2797 * fc-glyphname/Makefile.am:
2798 * fc-lang/Makefile.am:
2799 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2800 * fc-list/Makefile.am:
2801 * fc-match/Makefile.am:
2802 Attempts to fix 'make distcheck' work. Things are
2803 progressing pretty well, but there are still failures
2804 long into the process dealing with docs (as always).
2806 The big changes here are mostly to make $(srcdir) != "."
2807 work correctly, fixing the docbook related sections and
2808 fc-lang were particularily tricky. Docbook refuses to load
2809 system entities from anywhere other than where the original .sgml
2810 file was located, so no luck looking in "." for the
2811 configure-generated version.sgml and confdir.sgml files.
2813 fc-lang needed help finding .orth files; added a -d option
2814 to set the directory as the least evil of many options.
2816 Now to go use a faster machine and try and wring out the last
2819 2003-10-26 Keith Packard <keithp@keithp.com>
2823 2003-10-26 Keith Packard <keithp@keithp.com>
2826 Include confdir.sgml.in in EXTRA_DIST
2828 2003-10-09 Josselin Mouette <joss@debian.org>
2830 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2831 * fc-list/fc-list.sgml fc-list/Makefile.am:
2832 Replace fc-cache and fc-list manpages with more detailed, SGML
2835 2003-09-23 Owen Taylor <otaylor@redhat.com>
2837 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2838 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2839 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2842 2003-09-23 Owen Taylor <otaylor@redhat.com>
2844 * fc-lang/ka.orth: Remove Georgian capitals, they
2845 aren't used for normal writing. (Bug #116)
2847 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2849 * doc/fontconfig-devel.sgml:
2850 * doc/fontconfig-user.sgml:
2851 * fontconfig/fontconfig.h:
2853 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2854 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2856 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2857 monospace and dual-width fonts, allow roughly a 3% variance in the
2860 2003-08-31 Manish Singh <yosh@gimp.org>
2862 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2865 2003-08-15 Carl Worth <cworth@isi.edu>
2867 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2868 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2870 * src/fcpat.c (FcValueListEntDestroy): New function to support
2871 FcFini memory cleanup. Some statistics are not kept in
2873 (FcValueListFreeze): Move hashTable outside this function so it
2874 can be accessed by FcValueListThawAll.
2875 (FcValueListThawAll): New function complements FcValueListFreeze.
2876 (FcPatternBaseFreeze): Move hashTable outside this function so it
2877 can be accessed by FcPatternBaseThawAll.
2878 (FcPatternBaseThawAll): New function complements
2879 FcPatternBaseFreeze.
2880 (FcPatternThawAll): New function complements FcPatternFreeze.
2882 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2884 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2885 allocated FcCharLeafEnt "blocks" so they can be freed later.
2886 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2887 can be accessed by FcCharSetThawAllLeaf.
2888 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2889 (FcCharSetFreezeBase): Move hashTable outside this function so it
2890 can be accessed by FcCharSetThawAll.
2891 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2893 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2894 (FcConfigDestroy): Fic leak of FcBlanks.
2896 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2897 (main): Add call to FcFini when finished.
2899 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2900 static. Add prototypes.
2902 * doc/fcinit.fncs: Add documentation for FcFini function.
2904 * doc/edit-sgml.c: Mark several local functions as static. Add
2907 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2909 2003-06-15 Tor Lillqvist <tml@iki.fi>
2911 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2912 before comparing (needed on Windows).
2914 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2916 2003-06-13 Tor Lillqvist <tml@iki.fi>
2918 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2921 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2922 WINDOWSFONTDIR token.
2924 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2925 end, not to confuse libtool, which expects the EXPORTS line to be
2926 the first. Add FcConfigEnableHome.
2928 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2929 built as a DLL on Win32.
2931 2003-06-09 Keith Packard <keithp@keithp.com>
2933 * Tag version 2.2.90
2935 2003-06-09 Keith Packard <keithp@keithp.com>
2937 * Optimization in FcLangSetIndex was broken, occasionally
2938 returning a pointer to the wrong location on miss
2940 * Add fc-match to test font matching from the command line.
2942 2003-05-31 Keith Packard <keithp@keithp.com>
2944 * (Bug 85) add support for culmus fonts
2945 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2946 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2948 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2950 * Fix "contains" op for strings and langsets.
2952 2003-05-17 Keith Packard <keithp@keithp.com>
2954 * Fix build error with BDF prop local. Free langset after query
2956 2003-05-14 Keith Packard <keithp@keithp.com>
2958 * Extract spacing from XLFD atom
2960 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2962 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2963 disappeared in 1.30.
2965 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2967 2003-05-12 Keith Packard <keithp@keithp.com>
2969 * Use FcIsWidth to share code
2971 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2972 misclassifying some Han fonts as monospaced.
2974 2003-05-07 Keith Packard <keithp@keithp.com>
2976 * Add filename-based accept/reject to ammend available fonts.
2978 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2979 older FreeType releases.
2981 2003-05-06 Keith Packard <keithp@keithp.com>
2983 * Remove 0b82 and Tamil numbers from tamil
2984 orthography (Jungshik Shin <jshin@mailaps.org>)
2986 2003-05-04 Keith Packard <keithp@keithp.com>
2988 + Map glyph names in fonts with adobe custom encoding to unicode
2990 2003-05-02 Keith Packard <keithp@keithp.com>
2992 * Add FC_WEIGHT_BOOK as weight 75
2994 2003-04-30 Keith Packard <keithp@keithp.com>
2996 * Typo in bitstream foundry name
2998 2003-04-24 Keith Packard <keithp@keithp.com>
3000 * Eliminate italic_angle check for PS fonts
3002 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3004 * Getting closer to fixing /etc/fonts hard-coding.
3006 2003-04-22 Keith Packard <keithp@keithp.com>
3008 * Update autogen.sh to work with newer automake versions
3009 * Handle pattern elements moving during multiple edits
3011 2003-04-23 James Henstridge <james@daa.com.au>
3013 * doc/fontconfig-devel.sgml: close the <para> element.
3015 * doc/fcpattern.fncs: close the <para> element.
3017 * doc/func.sgml: close the <refsynopsisdiv> element.
3019 2003-04-22 Keith Packard <keithp@keithp.com
3021 * Update autogen.sh to work with newer automake versions
3022 * Handle pattern elements moving during multiple edits
3024 2003-04-17 Colin Walters <walters@debian.org>
3026 + Remove some unused variables, and initialize some other ones so
3027 gcc doesn't warn us.
3029 2003-04-16 Keith Packard <keithp@keithp.com>
3031 + tag version 2.1.94
3033 2003-04-16 Keith Packard <keithp@keithp.com>
3035 + add BDF property fetching support for foundry
3036 (from Juliusz Chroboczek)
3037 + add BDF property fetching support for width
3039 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3041 + Implemented foundry generation for Type 1 and TrueType
3043 2003-04-11 Gerard Escalante <g2@magestudios.net>
3045 + Retrieve information from Type1 FontInfo dictionaries
3047 2003-04-07 Colin Walters <walters@verbum.org>
3049 + src/Makefile.am: Fix dummy makefile target names when
3050 MS_LIB_AVAILABLE isn't set.
3052 2003-03-22 Tor Lillqvist <tml@iki.fi>
3054 Changes for Windows:
3056 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3058 + We don't want to hardcode the fonts.conf file location in the
3059 DLL, so we look up the DLL location at run-time in a DllMain()
3060 function. The fonts.conf location is deduced from that.
3062 + The colon can't be used as path separator on Windows,
3063 semicolon is used instead. File path components can be separated
3064 with either slash or backslash. Absolute paths can also begin
3065 with a drive letter.
3067 + Add internal function FcStrLastSlash that strrchr's the last
3068 slash, or backslash on Windows.
3070 + There is no link() on Windows. For atomicity checks, mkdir a
3071 lock directory instead.
3073 + In addition to HOME, also look for USERPROFILE.
3075 + Recognize the special font directory token WINDOWSFONTDIR, to
3076 use the system's font directory.
3078 + Remove the fontconfig-def.cpp that was obsolete. Add
3079 fontconfig.def(.in), without internal functions.
3081 + Add a fontconfig-zip(.in) script, used to build a binary
3084 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3085 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3086 to main package and man3/* to devel package
3088 + Added missing defattr(-, root, root) to main RPM package
3090 + Added HTML and text development documentation to -devel subpackage
3092 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3093 + Added back the configure macro options --disable-docs, otherwise
3094 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3095 version number) unconditionally, causing RPM to fail the build due
3096 to _unpackaged_files_terminate_build. We pick up the pregenerated
3097 docs with %doc already.
3099 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3100 + Removed commented out rpm macro define at top of spec file,
3101 replacing it with a simple explanation, since rpm macros are
3102 expanded by rpm even in comments.
3104 + Changed /usr/bin to _bindir in BuildRequires lines
3106 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3108 + Reorganized file manifest lists
3110 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3112 + fontconfig.spec.in: Improvements from Red Hat spec file.
3114 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3116 + docs/*.sgml: SGML fixes.
3118 Sat Mar 1 17:28:53 PST 2003 keithp
3119 + Ok, so the ChangeLog is a bit out of date
3121 + Lots of bugs fixed; most are in bugzilla, the
3122 biggest problems were in cache management where
3123 Owen discovered the library would lose badly when
3124 combining fonts-cache and ~/.fonts-cache data
3126 + Converted from autoconf to automake. This after
3127 getting patches accepted into libtool to allow
3128 the '-version-number' argument which lets
3129 packages set version numbers explicitly rather
3130 than the roundabout libtool way
3132 + Converted documentation to SGML using the docbook
3133 DTD. Now .txt and .html documents are installed
3134 in /usr/share/doc/fontconfig and there's no
3135 man page. Perhaps a man version can be written
3138 Sat Aug 31 15:21:22 PDT 2002 keithp
3139 + Xrender and Xft had several bugs related to
3140 rendering manually placed or poly-face text
3142 + Added more complete memory tracing in fontconfig
3143 Checked with (patched) mozilla and found no leaks
3145 + Updated Latin orthographies by comparing those from
3146 evertype.com with those from eki.ee. Tried to make
3147 sensible choices, including chars that occured in both
3148 and leaving some optional chars out that occured only
3151 Mon Aug 26 16:33:04 PDT 2002 keithp
3152 + Owen discovered that FcLangSetHasLang wasn't actually
3153 checking the language set.
3155 Mon Aug 26 13:37:23 PDT 2002 keithp
3156 + Append a version number to cache filenames
3158 Thu Aug 22 11:36:18 PDT 2002 keithp
3160 + Add "contains" and "not_contains" operators and elements to
3163 + Changed semantics of eq operator for LangSets to check for
3164 FcLangEqual so that any match will do
3166 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3167 of FcValueEqual to check for identical values when inserting into
3168 the results. This broke when the above semantic change was made,
3169 now it uses FcValueEqual which is "more correct" in any case.
3171 Thu Aug 22 00:32:29 PDT 2002 keithp
3173 + Reimplement FC_LANG as new datatype. Lists of strings
3174 was consuming over a megabyte of memory for 401 fonts.
3176 + Freeze patterns loaded from cache files. This shares
3177 common value lists and common patterns which saves
3178 considerable memory.
3180 + Change the denotation of 'constant' charsets to use special
3181 ref value instead of separate boolean.
3183 + Clean up leak tracing stuff, found several unannoted alloc/free
3186 Tue Aug 20 16:17:37 PDT 2002 keithp
3188 + Fix memory leak when parsing matrices from XML
3190 Mon Aug 19 11:57:27 PDT 2002 keithp
3192 + Fix autoconf files to pass FONTCONFIG_PATH on
3193 compile line so that ${prefix} gets substituted
3196 + Use getc_unlocked/putc_unlocked on systems that
3197 provide them to avoid damage done to stdio by posix
3199 + Eliminate FC_PATTERN and FcTypePattern in favor of
3200 an extended api for FcConfigSubstitute which takes
3201 both the font and the pattern.
3203 + Add 'sans serif' alias for 'sans-serif' as some apps
3204 can't handle hyphens in family names
3206 + Eliminate pretense of support for libxml2
3208 + Comment origins of Han orthographies
3210 Tue Jul 30 18:37:09 PDT 2002 keithp
3212 + Add binding property to edit element so that strong
3213 binding values may be inserted by the config file.
3214 The default remains weak.
3216 Sun 28 Jul 04:16:55 PDT 2002 keithp
3218 + Tagged release candidate 1 in the CVS tree and
3219 placed fcpackage.rc1.tar.gz for distribution
3221 Thu Aug 1 08:55:08 PDT 2002 keithp
3223 + Fixed autoconf builds to always specify install
3224 target files (for BSD). Also fixed to
3225 define FONTCONFIG_PATH in config.h so that
3226 nonstandard installs will actually work.