1 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
4 * src/fccharset.c (FcCharSetNeededBytes):
5 * src/fcfs.c (FcFontSetNeededBytes):
7 * src/fclang.c (FcLangSetNeededBytesAlign):
8 * src/fcname.c (FcObjectNeededBytesAlign):
9 * src/fcpat.c (FcPatternNeededBytesAlign,
10 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
12 Portability fixes for HP-UX (reported by Christoph Bauer).
13 Replace '__inline__' by AC_C_INLINE and 'inline'.
14 Replace '__alignof__' by 'fc_alignof'.
16 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
20 Move up #include of config.h.
21 Fail if neither inttypes.h nor stdint.h is available.
24 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
25 Patrick Lam <plam@mit.edu>
27 * fc-cache/fc-cache.c:
29 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
30 FcDirCacheConsume, FcDirCacheProduce,
31 FcDirCacheWrite, FcCacheMachineSignature):
32 * src/fcfreetype.c (FcFreeTypeQuery):
33 * src/fontconfig.def.in:
35 Make fontconfig compile under MinGW:
36 1) remove unneeded #includes;
37 2) make use of mmap and sysconf conditional;
38 3) replace rand_r by srand/rand if needed;
39 4) use chsize instead of ftruncate; and
40 5) update libtool exports file
42 2006-04-07 Patrick Lam <plam@mit.edu>
43 * src/fcdir.c (FcDirScanConfig):
47 2006-04-06 Patrick Lam <plam@mit.edu>
48 * fc-match/.cvsignore:
49 * fc-match/Makefile.am:
50 * fc-match/fc-match.sgml:
52 Update documentation for fc-match (SGML-ize it).
53 (reported by Ilya Konstantinov)
55 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
61 Reduce amount of dirty rss by const'ing some data structures.
63 2006-04-06 Patrick Lam <plam@mit.edu>
64 * fc-cache/Makefile.am:
66 Don't fail if we can't create or remove
67 $(pkgcachedir) i.e. /var/cache/fontconfig.
68 (reported by Quanah Gibson-Mount).
70 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
73 * fc-glyphname/fc-glyphname.c:
74 * fc-lang/fc-lang.c (main):
75 * fc-match/fc-match.c:
76 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
78 * src/fcfreetype.c (FcFreeTypeQuery):
79 * src/fclang.c (FcFreeTypeLangSet):
82 Fix intel compiler warnings: make many variables static,
83 eliminate duplicate names, reduce variable scopes, unsigned/signed
86 2006-03-24 Mike Fabian <mfabian@suse.de>
88 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
90 Fix multiarch support (don't destroy multiarch files!)
92 2006-03-24 Patrick Lam <plam@mit.edu>
95 Require pkg-config. (Thanks Behdad;
96 better solution wanted for libxml2 detection!)
98 2006-03-22 Patrick Lam <plam@mit.edu>
101 On Windows, unlink before rename. Reported by Tim Evans.
103 2006-03-15 Patrick Lam <plam@mit.edu>
107 Fix typos in orth files. Reported by Denis Jacquerye.
109 2006-03-08 Patrick Lam <plam@mit.edu>
111 * config/config.guess:
114 Fix Makefile.am for removal of debian/ directory.
116 2006-03-08 Patrick Lam <plam@mit.edu>
119 Ignore debian/ directory for CVS.
121 2006-03-08 Patrick Lam <plam@mit.edu>
124 Now remove debian/ directory.
126 2006-03-08 Patrick Lam <plam@mit.edu>
129 Remove debian/ directory from sources. See Debian's subversion
130 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
133 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
137 * fc-lang/iso639-1, fc-lang/iso639-2:
139 Add orthography for Lingala.
141 2006-03-08 Carl Worth <cworth@cworth.org>
144 * conf.d/Makefile.am:
145 * conf.d/10LohitGujarati.conf:
147 Add a configuration file that disables hinting for the Lohit
148 Gujarati font (since the hinting distort some glyphs quite badly).
150 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
153 * src/fcdir.c (FcDirScanConfig):
155 Sort directory entries while scanning them from disk;
156 prevents Heisenbugs due to file ordering in a directory.
158 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
161 * src/fcfreetype.c (GetScriptTags):
162 * src/ftglue.c, src/ftglue.h:
164 Remove stuff we don't use, make get_{char,short,long} functions
165 of ftglue macros to be inlined.
168 * src/fcname.c (FcObjectSerialize):
170 Code cleanups (excess prototype, old-style function definition).
172 2006-03-05 Patrick Lam <plam@mit.edu>
173 * src/fcpat.c (FcPatternGetString):
175 Because we hacked FcPatternGet, we don't really need to expand the
176 filename again in FcPatternGetString.
178 2006-03-05 Patrick Lam <plam@mit.edu>
179 * src/fcpat.c (FcPatternGetString, FcPatternGet):
181 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
182 Make that work. Reported by Bernhard Rosenkraenzer.
184 2006-03-03 Patrick Lam <plam@mit.edu>
187 Include inttypes.h instead of stdint.h if appropriate.
189 2006-03-03 Patrick Lam <plam@mit.edu>
190 * fc-cat/fc-cat.c (FcFileIsDir):
191 * fc-glyphname/fc-flyphname.c:
193 More stub definitions and remove FcFileIsDir from fc-cat.
195 2006-03-03 Patrick Lam <plam@mit.edu>
198 Fix compilation on AIX with stub definitions (bug 6097).
200 2006-03-03 Patrick Lam <plam@mit.edu>
201 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
202 * src/fcfreetype.c (GetScriptTags):
203 * src/fcfs.c (FcFontSetDistributeBytes):
204 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
206 Get rid of C++-style comments.
208 2006-03-03 Patrick Lam <plam@mit.edu>
211 Enable creation of 2.3.94 Debian packages.
213 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
216 * src/fclang.c (FcCharSetForLang):
218 Fix suspicious return expression which causes junk
221 2006-02-24 Patrick Lam <plam@mit.edu>
225 * fontconfig/fontconfig.h:
227 Bump version to 2.3.94.
229 2006-02-24 Patrick Lam <plam@mit.edu>
234 2006-02-24 Patrick Lam <plam@mit.edu>
235 * conf.d/10-fonts-persian.conf:
237 Remove unconditional emboldening (per Behdad's instructions).
241 Add @s to hide some echos.
243 2006-02-24 Mike Fabian <mfabian@suse.de>
244 Takashi Iwai <tiwai@suse.de>
247 * src/fcfreetype.c (GetScriptTags):
249 Fix double-free on error case.
251 2006-02-21 Patrick Lam <plam@mit.edu>
252 * fc-lang/fc-lang.c (scan):
254 Strip \r and whitespace from input; fixes bug 3454.
256 2006-02-21 Patrick Lam <plam@mit.edu>
257 * fc-lang/fc-lang.c (main):
259 Allocate large arrays statically in fc-lang to fix crashes under
262 2006-02-21 Diego Petten <flameeyes@gentoo.org>
263 * src/fcfreetype.c (FcFreeTypeCharIndex):
265 Pass the buck; make fontconfig not crash on pango badness.
267 2006-02-21 Patrick Lam <plam@mit.edu>
268 * conf.d/10-fonts-persian.conf:
270 Use embeddedbitmap rather than rh_prefer_bitmap.
272 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
275 * src/fccache.c (FcDirCacheWrite):
276 * src/fcdir.c (FcFileScanConfig):
277 * src/fcfreetype.c (FcStringInPatternElement):
278 * src/fcxml.c (FcParseFamilies):
279 * src/ftglue.c (ftglue_face_goto_table):
281 Eliminate redundancies.
283 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
286 * fc-list/fc-list.c (main):
287 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
288 * src/fcstr.c (FcStrStr):
289 * src/fcxml.c (FcConfigSaveAttr):
291 Eliminate unused vars reported by Intel's compiler.
293 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
298 Remove one more archaic character.
300 2006-02-21 Ross Burton <ross@burtonini.com>
301 reviewed by: plam, keithp
303 * src/fcxml.c (FcParsePatelt):
305 Freeze patterns created by configuration file for tiny
306 memory savings (every little bit helps).
308 2006-02-21 Mike Fabian <mfabian@suse.de>
311 * fc-cat/fc-cat.c (main):
313 Initialize fontconfig library in fc-cat to avoid segfault.
315 2006-02-18 Patrick Lam <plam@mit.edu>
316 * fc-cache/fc-cache.c (scanDirs):
317 * src/fccache.c (FcCacheReadDirs):
318 * src/fcdir.c (FcDirScanConfig):
320 Fix the underlying cause of the below segfault (must usually
321 call FcDirCacheHasCurrentArch after FcDirCacheValid).
323 2006-02-18 Patrick Lam <plam@mit.edu>
324 * src/fccache.c (FcDirCacheHasCurrentArch):
326 Fix triggering of segfault caused by misreading cache files
327 (reported by fcrozat).
329 2006-02-17 Patrick Lam <plam@mit.edu>
330 * src/fcint.h (FC_CACHE_MAGIC):
332 Bump up magic version; we changed the binary format.
334 2006-02-17 Patrick Lam <plam@mit.edu>
335 * fc-cat/fc-cat.c (main):
337 Enable fc-cat to print out old-style cache info when given a
340 2006-02-16 Patrick Lam <plam@mit.edu>
341 * src/fccache.c (FcDirCacheHasCurrentArch):
343 Deal correctly with changing FC_CACHE_MAGIC.
345 2006-02-16 Patrick Lam <plam@mit.edu>
346 * fc-cache/fc-cache.c (usage, scanDirs, main):
348 Add -r --really-force option which blows away cache files and then
351 2006-02-16 Patrick Lam <plam@mit.edu>
352 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
354 Don't bail if fontconfig can't remove a dir cache file.
355 Skip the ID of a cache file when copying.
356 Eliminate 'source file too small' bug in FcDirCacheWrite.
358 2006-02-13 Patrick Lam <plam@mit.edu>
359 * src/fcfreetype.c (FcFreeTypeQuery):
361 Fix memory leak in error condition code.
363 2006-02-13 Mike Fabian <mfabian@suse.de>
365 * src/fcfreetype.c (FcFreeTypeQuery):
367 Skip bitmap fonts which can't even get it together enough to
368 declare a family name; this appears to reproduce previous
369 fontconfig behaviour.
371 2006-02-10 Takashi Iwai <tiwai@suse.de>
373 * src/fccache.c (FcDirCacheOpen):
375 Try to open /var/cache/fontconfig/[hashed name] before
376 fonts.cache-2 in a directory, because /var/cache/fontconfig
377 failures ought to be fixable, unlike fonts.cache-2 failures,
378 which may leave you screwed.
380 2006-02-10 Takashi Iwai <tiwai@suse.de>
382 * src/fcmatch.c (FcFontSetMatch):
384 Use a tri-state to mark the fonts which didn't get blocked but
385 were just missing an element, to distinguish them from the
386 fonts that do match the element.
388 2006-02-10 Takashi Iwai <tiwai@suse.de>
390 * src/fcmatch.c (FcFontSetMatch):
392 Don't kill fonts because they don't declare an element that's
395 2006-02-09 Patrick Lam <plam@mit.edu>
396 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
397 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
399 Define and pass O_BINARY to open if appropriate, for those
400 platforms that need it. Reported by Doodle.
402 2006-02-09 Patrick Lam <plam@mit.edu>
403 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
406 Fix problem with missing 'en' due to euro.patch: change
407 cache file format slightly to coincide with that generated
410 2006-02-07 Patrick Lam <plam@mit.edu>
411 * src/fccache.c (FcCacheReadDirs):
415 2006-02-07 Patrick Lam <plam@mit.edu>
416 * src/fcdir.c (FcDirScanConfig):
418 Don't reject dirs that can't be normalized (fixes lilypond, and
419 is correct in the context of application font directories.)
421 2006-02-07 Takashi Iwai <tiwai@suse.de>
424 * src/fccache.c (FcCacheReadDirs):
426 Use normalized directory name exclusively in FcCacheReadDirs.
428 2006-02-07 Dirk Mueller <dmueller@suse.com>
431 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
433 Perf optimizations. Inline FcValueCanonicalize,
434 reduce FcValueListPtrU usage, remove redundant cast.
436 2006-02-07 Takashi Iwai <tiwai@suse.de>
439 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
442 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
443 Declare extern for static arrays as arrays, not pointers.
444 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
446 2006-02-07 Dirk Mueller <dmueller@suse.com>
459 Add Euro sign to list of symbols required by European languages.
461 2006-02-07 Patrick Lam <plam@mit.edu>
462 * src/fccache.c (FcCacheReadString):
464 Fix hidden variable warning.
466 2006-02-07 Dirk Mueller <dmueller@suse.com>
469 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
471 Remove de-escaping logic because FcCacheWriteString
472 doesn't escape anyway. Do blockwise reading instead
473 of byte-wise for performance.
475 2006-02-06 Patrick Lam <plam@mit.edu>
476 Takashi Iwai <tiwai@suse.de>
478 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
480 Don't loop infinitely on recursive symlinks (client-side).
482 2006-02-06 Takashi Iwai <tiwai@suse.de>
484 * fc-cache/fc-cache.c (scanDirs, main):
486 Don't loop infinitely on recursive symlinks.
488 2006-02-06 Takashi Iwai <tiwai@suse.de>
490 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
491 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
492 FcGlobalCacheSave, FcCacheReadDirs):
495 Skip subdirs when skipping over stale bits of global cache.
496 Introduce state machine into FcGlobalCacheDir to avoid
497 doing inappropriate operations on global dir entries, e.g.
498 writing out an out-of-date cache entry.
500 2006-02-06 Takashi Iwai <tiwai@suse.de>
502 * src/fcdir.c (FcFileScanConfig):
504 Hoist FcFileIsDir check out of FcFileScanConfig loop.
506 2006-02-06 Takashi Iwai <tiwai@suse.de>
509 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
510 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
512 Don't rescan when trying to normalize a non-declared font dir.
513 Don't add font dirs multiple times (even if they're aliased).
515 2006-02-06 Dirk Mueller <dmueller@suse.de>
518 * src/fcfs.c (FcFontSetUnserialize):
520 Explain apples/oranges comparison and fix compilation error.
522 2006-02-06 Dirk Mueller <dmueller@suse.de>
525 * src/fcfs.c (FcFontSetUnserialize):
527 Insert check for integer overflow in # of fonts.
529 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
533 * fc-cache/Makefile.am:
534 * fc-cat/Makefile.am:
535 * fc-list/Makefile.am:
537 Make 'make distcheck' work with automake 1.6.3.
539 2006-02-03 Takashi IWAI <tiwai@suse.de>
542 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
545 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
546 FcDirCacheConsume, FcDirCacheWrite)
547 * src/fcxml.c (FcConfigMessage):
549 Check I/O call return values and eliminate unused variable
552 2006-02-03 Takashi Iwai <tiwai@suse.de>
555 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
559 2006-02-03 Dirk Mueller <dmueller@suse.de>
562 * src/fcfs.c (FcFontSetUnserialize):
564 Gracefully handle the case where a cache asserts that it
565 has a negative number of fonts, causing overflow.
567 2006-02-03 Patrick Lam <plam@mit.edu>
568 * src/fccache.c (FcDirCacheUnlink):
570 Fix double free in error case.
572 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
573 Stephan Kulow <coolo@suse.de>
576 * fc-cache/Makefile.am:
578 Replace 'stamp' target with mkinstalldirs.
580 2006-01-31 Mike Fabian <mfabian@suse.de>
583 * src/fccache.c (FcGlobalCacheLoad):
585 Toast broken global cache files.
587 2006-01-30 Patrick Lam <plam@mit.edu>
588 * src/fccache.c (FcGlobalCacheReadDir):
590 Actually use the directories that I added to the global cache.
593 2006-01-30 Mike Fabian <mfabian@suse.de>
596 * fc-cache/fc-cache.c (scanDirs):
598 Don't stop scanning if a directory in fonts.conf doesn't
599 exist, because subsequent directories might exist.
601 2006-01-30 Patrick Lam <plam@mit.edu>
602 * src/fccache.c (FcGlobalCacheLoad):
604 Make global cache work again after putting dir names into global
605 cache (I misplaced the recording of a file offset).
607 2006-01-30 Patrick Lam <plam@mit.edu>
608 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
610 Update fc-cat to handle subdir lists in global cache file.
612 * src/fccache.c (FcGlobalCacheLoad):
614 Another FcCacheReadString return value check.
616 2006-01-30 Mike Fabian <mfabian@suse.de>
619 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
620 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
622 Make fccache more resilient to broken cache files by checking
623 return value of FcCacheReadString all the time.
625 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
628 * fc-match/fc-match.1:
629 * fc-lang/fc-lang.man:
631 Remove references to dead fontconfig(3) manpages in
632 other fontconfig manpages.
634 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
637 * doc/fcpattern.fncs:
639 Fix world's tiniest typo in code example.
641 2006-01-29 Mike Fabian <mfabian@suse.de>
644 * src/fccache.c (FcGlobalCacheReadDir):
646 Fix global cache reads of subdirectories.
648 2006-01-29 Patrick Lam <plam@mit.edu>
650 Add documentation for FcConfigNormalizeFontDir.
652 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
653 FcGlobalCacheUpdate, FcGlobalCacheSave):
654 * src/fcdir.c (FcDirScanConfig):
657 Write directory information to global caches to fix make check
658 (reported by Ronny V. Vindenes). This changes the global cache
661 2006-01-27 Patrick Lam <plam@mit.edu>
662 * fc-cache/fc-cache.c (scanDirs):
663 * fontconfig/fontconfig.h:
665 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
667 Move FcConfigNormalizeFontDir call so that it doesn't result in
668 infinite recursion (reported by Ronny V. Vindenes).
670 2006-01-26 Patrick Lam <plam@mit.edu>
671 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
672 * src/fccfg.c (FcConfigNormalizeFontDir):
674 Add a couple of missing normalizations to make fc-cache work
675 right; only scan subdirectories once.
677 2006-01-26 Mike Fabian <mfabian@suse.de>
680 * src/fcacache.c (FcGlobalCacheReadDir):
682 Don't crash on non-existant directories in global cache.
684 2006-01-26 Patrick Lam <plam@mit.edu>
685 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
686 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
687 * src/fcdir.c (FcDirScanConfig):
688 * src/fcxml.c (FcEndElement):
690 Stop trampling the directory name when writing out caches.
691 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
692 subdirs when necessary. Don't scan directories that can't be
695 2006-01-25 Patrick Lam <plam@mit.edu>
696 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
697 * src/fccfg.c (FcConfigEvaluate):
698 * src/fcfreetype.c (FcPatternAddWithBinding):
700 Fix additional memory leaks reported by Ronny V. Vindenes: don't
701 invoke FcValueSave on hashed static strings in
702 FcPatternAddWithBinding.
704 Add another st_dev check in FcDirCacheOpen.
706 2006-01-24 James Su <james.su@gmail.com>
709 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
710 * fc-lang/zh_hk.orth:
712 Treat zh-hk fonts differently from zh-tw fonts. This patch may
713 cause fontconfig to treat A-X fonts differently from A-Y fonts;
714 please mail the fontconfig list if this causes any problems.
716 2006-01-24 Patrick Lam <plam@mit.edu>
717 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
718 * src/fcfreetype.c (FcFreeTypeQuery):
720 Fix memory leaks reported by Ronny V. Vindenes.
722 2006-01-19 Andreas Schwab <schwab@suse.de>
725 * src/fcpat.c (FcStrNeededBytes):
727 Fix for unaligned memory accesses.
729 2006-01-18 Mike Fabian <mfabian@suse.de>
732 * src/fcdir.c (FcDirScanConfig):
734 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
735 calls to avoid crashes.
737 2006-01-14 Patrick Lam <plam@mit.edu>
738 * src/fccache.c (FcDirCacheConsume):
740 Fix segfault when consuming zero-length caches in fc-cat
741 (which has no config, so FcConfigAddFontDir shouldn't be called.)
743 2006-01-14 Patrick Lam <plam@mit.edu>
744 * fc-cache/fc-cache.c (scanDirs):
745 * fontconfig/fontconfig.h:
746 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
747 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
748 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
749 * src/fcdir.c (FcDirScanConfig):
752 Compare device numbers as well as inodes.
753 Always normalize directory names before comparing them.
755 2006-01-11 Mike Fabian <mfabian@suse.de>
758 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
760 Allocate extra space for appended '/' in directory name.
762 2006-01-10 Patrick Lam <plam@mit.edu>
763 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
764 FcDirCacheValid, FcDirCacheHasCurrentArch,
765 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
766 * fc-cache/fc-cache.c (main):
768 Explicitly add font dirs to config.fontDirs even if they're empty.
769 Set current config in fc-cache.c.
770 Fix treatment of cache directory as read from cache file; don't
771 use string equality to determine if we have the right file,
774 2006-01-09 Patrick Lam <plam@mit.edu>
775 * fc-cache/fc-cache.c (scanDirs):
776 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
777 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
778 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
779 * src/fccfg.c (FcConfigNormalizeFontDir):
780 * src/fcdir.c (FcDirScanConfig):
783 Normalize font dirs by using the form, as given in fonts.conf, and
784 recorded in FcConfig's fontDirs string set, as canonical.
786 Actually update config.fontDirs as font directories are scanned.
788 2006-01-08 James Su <james.su@gmail.com>
789 * src/fcmatch.c (FcFontSetMatch):
791 Fix matching bug when multiple elements match; don't use
792 the sum of all scores, but the best score.
794 Also more perf opts, e.g. evaluate best over all font sets
795 rather than on a per-set basis (and other changes).
797 2006-01-08 Patrick Lam <plam@mit.edu>
798 * src/fccache.c (FcDirCacheConsume):
800 Properly skip past dir caches that contain zero fonts (as occurs
801 in global caches.) Reported by Mike Fabian.
803 2006-01-06 Patrick Lam <plam@mit.edu>
804 * src/fcdbg.c (FcPatternPrint):
806 Print out full pathname in fc-match -v as well. Reported by
809 2006-01-06 Mike Fabian <mfabian@suse.de>
812 * src/fcname.c (FcNameParse):
814 Fix bug where fc-match crashes when given __DUMMY__ property to
817 (I added the __DUMMY__ string to enable callers of
818 FcObjectToPtrLookup to distinguish an error return from a
819 successful return. -PL)
821 2006-01-05 Patrick Lam <plam@mit.edu>
824 Add self to AUTHORS list.
826 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
827 FcCacheFileRead, FcCachePrintSet, main):
828 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
829 FcGlobalCacheSave, FcCacheNextOffset,
830 FcDirCacheHasCurrentArch, FcDirCacheRead,
831 FcDirCacheConsume, FcDirCacheWrite):
833 * src/fcpat.c (comment):
835 Minor change to global cache file format to fix fc-cat bug
836 reported by Frederic Crozat, and buglet with not globally caching
837 directories with zero fonts cached.
839 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
842 * src/fccfg.c (FcConfigEvaluate):
844 Fix double-free which occurs because FcValueCanonicalize doesn't
845 create an extra copy of the returned value, it only canonicalizes
848 2006-01-02 Patrick Lam <plam@mit.edu>
849 * doc/fontconfig-user.sgml:
851 Fix version of .cache file (currently 1 -> currently 2). Reported
854 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
857 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
859 Shut up GCC warnings on amd.
861 2005-12-20 Patrick Lam <plam@mit.edu>
865 * fontconfig/fontconfig.h:
867 Bump version to 2.3.93.
869 2005-12-20 Patrick Lam <plam@mit.edu>
870 * src/fccharset.c (FcLangCharSetPopulate):
871 * src/fcint.h (FcCacheBankToIndex):
873 Avoid check on _fcBankId nullness and fix case where it used to
876 2005-12-20 Patrick Lam <plam@mit.edu>
877 * src/fcxml.c (FcConfigParseAndLoad):
879 Use open instead of fopen (requested by Phil Race for Sun).
881 2005-12-20 Patrick Lam <plam@mit.edu>
882 * src/fccache.c (FcDirCacheWrite);
883 * fc-cache/Makefile.am:
885 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
888 2005-12-20 Patrick Lam <plam@mit.edu>
889 * src/fcfreetype.c (FcFreeTypeQuery):
891 Restore code to skip over PCF fonts that have no encoded
893 (We guess that a font is PCF by presence of the PIXEL_SIZE
896 2005-12-12 Patrick Lam <plam@mit.edu>
897 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
899 Read and write the original location as a fallback for the
900 hashed cache file locations. This is mostly for users to be
901 able to have per-directory cache files.
903 2005-12-12 Patrick Lam <plam@mit.edu>
904 * fc-cache/fc-cache.c (scanDirs):
905 * fc-cache/Makefile.am:
906 * src/fccache.c (FcDirCacheHashName):
908 Improve error message when fc-cache can't write the cache. Add
909 missing slash. Reported by Behdad. Incorporate Behdad's patch to
910 create /var/cache/fontconfig when appropriate.
912 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
915 * src/fcxml.c (FcConfigGetAttribute):
917 Fix crash reported by Frederic Crozat when using libxml2.
919 2005-12-09 Patrick Lam <plam@mit.edu>
922 * fc-cache/Makefile.am:
923 * fc-cat/Makefile.am:
925 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
926 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
927 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
928 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
929 FcDirCacheHasCurrentArch, FcDirCacheHashName,
930 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
932 Migrate cache files from fonts directories to
933 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
934 but requires that all caches get rebuilt.
936 Also, autogen.sh now needs the additional parameter
937 --localstatedir=/var.
939 2005-12-07 Patrick Lam <plam@mit.edu>
940 * src/fcpat.c (FcPatternAddString):
942 Because we've changed FcPatternAddString to use FcStrStaticName
943 and not FcValueSave, explicitly handle the case of a null string.
945 2005-12-06 Patrick Lam <plam@mit.edu>
946 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
950 2005-12-05 Patrick Lam <plam@mit.edu>
951 * src/fcname.c (FcNameGetObjectType):
953 Don't assign types to user object names.
955 2005-12-05 Patrick Lam <plam@mit.edu>
956 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
958 Don't free strings that have been returned from FcStrStaticName.
960 2005-12-01 Patrick Lam <plam@mit.edu>
961 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
963 Add codepath for reading global cache files as well.
965 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
968 * conf.d/10-fonts.persian.conf:
969 * conf.d/Makefile.am:
971 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
973 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
976 * src/fcxml.c (FcConfigParseAndLoad):
978 Only add a config file to the set of config files once.
980 2005-11-29 Patrick Lam <plam@mit.edu>
981 * src/fcint.h (FcCacheBankToIndex);
983 Fix segfault by guarding array dereference.
985 2005-11-29 Dirk Mueller <dmueller@suse.de>
989 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
990 FcCacheBankToIndex, FcCacheBankToIndexMTF,
994 Refactor FcCacheBankToIndex into an inlineable part
995 (in fcint.h) which checks the front of the list and a
996 non-inlineable part which finds and moves the appropriate element
997 to the front of the list.
999 2005-11-29 Patrick Lam <plam@mit.edu>
1000 * src/fccfg.c (FcConfigBuildFonts):
1001 * src/fccache.c (FcCacheReadDirs):
1003 Make the perf guys hate me a bit less: hoist the directory-name
1004 FcConfigAcceptFont check for cached fonts up to directory cache
1005 read time, rather than running it for each font.
1007 2005-11-29 Patrick Lam <plam@mit.edu>
1008 * src/fccfg.c (FcConfigBuildFonts):
1010 * src/fcpat.c (FcPatternFindFullFname):
1012 Don't make FcPatternFindFullFname available to fccfg, it's not
1013 really safe. Instead go through FcPatternGetString (sorry,
1014 perf guys.) Also, use globs for dirs as well.
1016 2005-11-28 Patrick Lam <plam@mit.edu>
1017 * src/fccfg.c (FcConfigBuildFonts):
1021 2005-11-28 Patrick Lam <plam@mit.edu>
1023 * src/fcpat.c (FcPatternFindFullFname):
1024 * src/fccfg.c (FcConfigBuildFonts):
1026 Fix problem dating back at least to 2.3.2 where globs weren't
1027 being applied to patterns loaded from a cache.
1029 2005-11-28 Patrick Lam <plam@mit.edu>
1030 * doc/fontconfig-user.sgml:
1032 Fix some obvious spelling mistakes.
1034 2005-11-28 Dirk Mueller <dmueller@suse.com>
1035 Stephan Kulow <coolo@suse.de>
1038 * src/fcmatch.c (FcFontSetMatch):
1040 Don't kill all fonts during match (oops!)
1043 2005-11-25 Dirk Mueller <dmueller@suse.com>
1044 Stephan Kulow <coolo@suse.de>
1045 Michael Matz <matz@suse.de>
1048 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1051 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1052 inline FcCompare into FcFontSetMatch and reorder the
1053 loops, adding a boolean array which blocks patterns from future
1054 consideration if they're known to not be best on some past
1057 2005-11-26 Dirk Mueller <dmueller@suse.com>
1060 * src/fcmatch.c (FcCompareValueList):
1062 Fix incorrect merge.
1064 2005-11-25 Patrick Lam <plam@mit.edu>
1065 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1067 Don't do random matching when bad objects are passed into
1070 2005-11-25 Patrick Lam <plam@mit.edu>
1072 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1073 FcPatternSerialize, FcPatternUnserialize,
1074 FcValueListEnsureBank, FcValueListDistributeBytes,
1075 FcValueListUnserialize):
1077 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1078 _fcPatternElts, _fcValueLists for consistency.
1080 2005-11-25 Dirk Mueller <dmueller@suse.com>
1085 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1087 2005-11-25 Patrick Lam <plam@mit.edu>
1089 * src/fccache.c (FcDirCacheConsume):
1090 * src/fccharset.c (FcCharSetUnserialize):
1091 * src/fcfs.c (FcFontSetUnserialize):
1092 * src/fclang.c (FcLangSetUnserialize):
1093 * src/fcname.c (FcObjectUnserialize):
1094 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1095 FcPatternUnserialize):
1097 Pass around FcCache *s to the Unserialize functions for extra
1098 consistency (and less overhead, for what that's worth).
1100 2005-11-24 Dirk Mueller <dmueller@suse.com>
1104 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1105 * src/fcname.c (FcNameUnparseValue):
1107 Inline the *PtrU functions to gain perf.
1108 Remove unneeded params for the FcCompare* functions.
1110 2005-11-24 Dirk Mueller <dmueller@suse.com>
1113 * src/fcint.h, fontconfig/fontconfig.h:
1115 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1117 * src/fcpat.c, src/fcint.h, src/fcname.c:
1119 Check for type validity during FcPatternAddWithBinding, don't
1120 verify type in FcFontMatch, don't call FcCanonicalize here
1121 (which always does a deep copy).
1123 2005-11-24 Dirk Mueller <dmueller@suse.com>
1126 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1127 * src/fcpat.c (FcPatternAddWithBinding):
1129 Make FcCompareString and FcCompareFamily less expensive.
1130 Only add a value for FC_FAMILY if the proposed value is a string.
1132 2005-11-24 Dirk Mueller <dmueller@suse.com>
1135 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1136 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1137 * src/fcint.h (FcDebug):
1139 Inline FcDebug invocations and only initialize once, in FcInit*.
1140 Improve debug msg in FcPatternPrint.
1142 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1145 * fontconfig/fontconfig.h:
1148 Minor code warning cleanups.
1150 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1153 * fc-match/fc-match.c (main):
1155 Make getopt_long accept -s parameter to fc-match as well.
1157 2005-11-21 Dirk Mueller <dmueller@suse.com>
1160 * src/fcmatch.c (FcCompareValueList):
1162 Manually perform inlining & partial redundancy elimination to
1163 reduce calls to FcValueListPtrU.
1165 2005-11-21 Dirk Mueller <dmueller@suse.com>
1168 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1169 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1171 Only invoke strlen() when really necessary.
1173 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1177 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1178 FcFontCapabilities):
1182 Get rid of the use of freetype internal headers in fcfreetype.c,
1183 since those headers will go away with freetype 2.2. Replace with
1184 public domain ftglue code from pango. Note that the patch removes
1185 some extra error checking in FT_Get_BDF_Property() and comments
1186 out the skipping of empty pcf fonts.
1188 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1191 * fc-lang/fc-lang.c (main):
1193 Further fix of patch from 2005-11-04: miscounted numbers count
1194 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1195 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1197 Removed leafidx_count and numbers_count since they are the same
1198 and replaced them with offset_count.
1200 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1203 * fc-cat/fc-cat.c (main):
1205 Don't crash when fc-cat invoked with no arguments.
1207 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1210 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1212 Fix invalid read access caused by premature free and
1213 GCC4 warnings in libxml2 codepath.
1215 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1218 * src/fccfg.c (FcConfigValues):
1220 List iteration not needed in FcConfigValues, since it's building
1221 up the list itself; we can just strip FcVoid elements during
1224 2005-11-17 Patrick Lam <plam@mit.edu>
1225 * src/fccfg.c (FcConfigValues):
1227 Fix crash on invalid constants in config files (forgot to update
1228 a pointer upon list iteration.)
1230 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1233 * src/fcxml.c (FcTypecheckExpr):
1235 Complain about invalid constants in config files.
1237 2005-11-17 Andreas Schwab <schwab@suse.de>
1240 * src/fccache.c (FcGlobalCacheSave):
1242 Don't add current_arch_start more than once.
1244 2005-11-16 Patrick Lam <plam@mit.edu>
1245 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1246 * src/fcfs.c (FcFontSetUnserialize):
1247 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1248 * src/fcpat.c (FcStrUnserialize):
1250 Fix ordering of ALIGN with respect to saving block_ptr; add
1251 another ALIGN to fcfs.c.
1253 2005-11-16 Patrick Lam <plam@mit.edu>
1254 * src/fccache.c (FcDirCacheProduce)
1256 Fix case where alignment bytes bumped up metadata->count
1257 causing unwarranted failures to write cache files.
1258 (Reported by Stephan Kulow).
1260 2005-11-16 Patrick Lam <plam@mit.edu>
1261 * src/fccache.c (FcDirCacheProduce):
1262 * src/fccharset.c (FcCharSetDistributeBytes):
1263 * src/fcfs.c (FcFontSetDistributeBytes):
1265 * src/fclang.c (FcLangSetDistributeBytes):
1266 * src/fcname.c (FcObjectDistributeBytes):
1267 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1270 Add *NeededBytesAlign(), which overestimates the padding which is
1271 later added by the new ALIGN macro. Fix alignment problems on
1272 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1273 version by Andreas Schwab).
1275 2005-11-16 Stephan Kulow <coolo@kde.org>
1280 Use sysconf to determine proper PAGESIZE value; this
1281 appears to be POSIX-compliant. (reported by Andreas Schwab)
1283 2005-11-04 Patrick Lam <plam@mit.edu>
1284 * fc-lang/fc-lang.c:
1289 Fix bug 2878 (excessive relocations at startup for charsets,
1290 reported by Ross Burton): fc-lang/fc-lang now creates the
1291 static form of the langset, not the dynamic form, so that
1292 the charsets should now be in .rodata.
1294 2005-11-04 Patrick Lam <plam@mit.edu>
1295 * src/fcdir.c (FcDirScanConfig):
1297 Add test for validity of directory caches that
1298 somehow got lost (reported by make distcheck).
1300 2005-11-04 Patrick Lam <plam@mit.edu>
1304 * fontconfig/fontconfig.h:
1306 Bump version to 2.3.92.
1308 2005-11-02 Patrick Lam <plam@mit.edu>
1309 * src/fcpat.c (FcPatternDuplicate):
1311 Fix argument ordering problem in call to FcPatternTransferFullFname.
1313 2005-11-02 Patrick Lam <plam@mit.edu>
1314 * src/fcfreetype.c (FcFreetypeQuery):
1315 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1316 FcPatternTransferFullFname):
1318 Fix warnings and embarrassing double-free error.
1320 2005-11-02 Zhe Su <zsu@novell.com>
1325 Change the rule for artificial emboldening in fonts.conf.in. This
1326 enables the support for artificial emboldening included in cairo.
1328 2005-11-02 Patrick Lam <plam@mit.edu>
1329 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1331 Don't zero out full names for FC_REF_CONSTANT fonts;
1332 also, duplicate full names when transferring, and free
1333 full names when freeing the associated font.
1334 Reported by Jinghua Luo.
1336 2005-11-02 Patrick Lam <plam@mit.edu>
1337 * fc-cache/fc-cache.c (scanDirs):
1338 * src/fcpat.c (FcValueListSerialize):
1340 Revert the previous patch and commit the correct patch:
1341 I forgot a canonicalization in FcValueListSerialize, so
1342 that it would choke on already-serialized input files. Duh!
1344 2005-11-02 Patrick Lam <plam@mit.edu>
1345 * fc-cache/fc-cache.c (scanDirs):
1347 Forcibly rescan a directory before writing a fresh local
1348 cache file for that directory, fixing the losing-fonts
1349 problem reported by Mike Fabian and also apparently the
1350 font cache file corruption.
1352 2005-11-02 Patrick Lam <plam@mit.edu>
1353 * src/fccache.c (FcGlobalCacheLoad):
1355 Fix thinko: actually, the whole global cache is stale
1356 if the global cache is older than the (newest) config file.
1358 2005-11-02 Patrick Lam <plam@mit.edu>
1359 * src/fccache.c (FcGlobalCacheLoad):
1360 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1363 Declare the global cache of a directory's contents to be stale if
1364 the directory is newer than the (newest) configuration file.
1366 2005-10-31 Patrick Lam <plam@mit.edu>
1368 * src/fclist.c (FcListAppend):
1369 * src/fcmatch.c (FcFontRenderPrepare):
1370 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1371 FcPatternFreeze, FcPatternBaseFreeze):
1373 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1374 applications continue breaking.
1376 2005-10-31 Patrick Lam <plam@mit.edu>
1377 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1378 * src/fcfreetype.c (FcFreeTypeQuery):
1380 Fix small memory error (tried to free argv); use basename and
1381 dirname correctly (they can modify their arguments).
1383 2005-10-31 Patrick Lam <plam@mit.edu>
1391 Reinstate basename patch, but keep a hash table linking FcPatterns
1392 to their fully-qualified font names for clients' benefit. Clients
1393 only pay for the font names once they request the FC_FILE property
1394 from an FcPattern, but the font name is malloc'd at that point (i.e.
1395 not mmapped: that's impossible, since it may vary between machines.)
1396 Clients do have to pay for a copy of the path name per cache file.
1398 Note that FcPatternGetString now does some rewriting if you ask
1399 for an FC_FILE, appending the pathname as appropriate.
1401 2005-10-31 Patrick Lam <plam@mit.edu>
1402 * src/fcfreetype.c (FcFreeTypeQuery):
1404 Revert basename patch, which breaks fontconfig clients on my system.
1406 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1409 * fontconfig/fonts.conf.in:
1410 * fontconfig/fontconfig.h:
1414 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1415 to load embedded bitmaps or not.
1417 2005-10-25 Patrick Lam <plam@mit.edu>
1418 * src/fcfreetype.c (FcFreeTypeQuery):
1420 Only add basename to patterns' FC_FILE element, not any part of
1423 2005-10-22 Patrick Lam <plam@mit.edu>
1426 Add some more consts, fixing more GCC4 warnings.
1428 2005-10-22 Zhe Su <zsu@novell.com>
1431 Support localized font family and style names.
1432 This has been reported to break old apps like xfd, but modern
1433 (gtk+/qt/mozilla) apps work fine.
1435 2005-10-21 Patrick Lam <plam@mit.edu>
1436 * src/fccache.c (FcGlobalCacheLoad):
1438 Destroy the global cache file if it's terminally broken. (reported by
1441 2005-10-21 Patrick Lam <plam@mit.edu>
1442 * fc-list/fc-list.c (main):
1443 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1444 * fontconfig/fontconfig.h:
1446 Prevent fc-list from escaping strings when printing them (reported by
1449 2005-10-20 Marcus Meissner <meissner@suse.de>
1452 * fontconfig/fontconfig.h:
1454 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1456 2005-10-14 Ross Burton <ross@burtonini.com>
1459 * fc-glyphname/fc-glyphname.c:
1462 Add consts to variables so as to move arrays into .rodata.
1464 2005-10-14 Mike Fabian <mfabian@suse.de>
1467 * src/fccache.c (FcDirCacheUnlink):
1469 Check existence of directory cache file before attempting to unlink.
1471 2005-10-13 Patrick Lam <plam@mit.edu>
1472 * src/fccache.c (FcDirCacheUnlink):
1474 Fix flipped return value on unlink. (Reported by Mike Fabian)
1476 2005-10-12 Patrick Lam <plam@mit.edu>
1479 * src/fcdir.c (FcDirScanConfig):
1482 When fc-cache is run without --force, use directory cache files
1483 to speed up fc-cache run time. (Reported by Mike Fabian)
1485 2005-10-06 Patrick Lam <plam@mit.edu>
1487 * src/fcname.c (FcObjectToPtr):
1488 * src/fcpat.c (FcStrStaticName):
1490 Add padding to make valgrind and glibc not hate each other
1491 when calling strlen().
1493 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1494 reviewed by: plam & keithp
1498 Modify config file to use Greek fonts before Asian fonts with
1501 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1502 reviewed by: plam & keithp
1506 Use libtool -no-undefined flag on all platforms.
1508 2005-10-05 Patrick Lam <plam@mit.edu>
1509 * src/fccache.c (FcCacheHaveBank):
1511 Implement move-to-front array for banks (perf regression
1512 reported by Ronny V. Vindenes).
1514 2005-10-04 Patrick Lam <plam@mit.edu>
1515 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1516 FcDirCacheHasCurrentArch):
1517 * fc-cache/fc-cache.c (scanDirs):
1518 * fontconfig/fontconfig.h:
1520 Add new API which unlinks directory caches and checks dir caches
1521 for existence of appropriate sections. Fix fc-cache to unlink
1522 stale cache files and save directory caches that lack relevant
1525 2005-10-03 Patrick Lam <plam@mit.edu>
1526 * src/fccache.c (FcDirCacheValid):
1528 Ensure that a directory cache has the appropriate section
1529 before reporting that it is valid (reported by Matthias Clasen).
1531 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1539 Use libxml2 if requested (with --enable-libxml2) or if
1540 expat is not available.
1542 2005-09-29 Patrick Lam <plam@mit.edu>
1543 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1545 Fix multi-arch cache files: compute the position for the
1546 block to be added using info from OrigFile, not NewFile.
1548 2005-09-28 Patrick Lam <plam@mit.edu>
1549 * src/fccache.c (FcCacheMachineSignature):
1551 Cast results of sizeof() to unsigned int to get rid of
1552 warnings on x86_64 (thanks Matthias Clasen).
1554 2005-09-27 Patrick Lam <plam@mit.edu>
1555 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1558 Use FcAtomic to rewrite cache files.
1560 2005-09-27 Patrick Lam <plam@mit.edu>
1562 * src/fccache.c (FcDirCacheWrite):
1564 Don't unlink the fonts.cache-2 file even if there's no data
1565 to write; just write an empty cache file. (thanks Lubos Lunak)
1567 2005-09-27 Patrick Lam <plam@mit.edu>
1569 * src/fccache.c (FcDirCacheWrite):
1571 Allocate room for the subdirectory names in each
1572 directory cache. Thanks to James Cloos for finding
1573 and diagnosing this bug!
1575 2005-09-22 Patrick Lam <plam@mit.edu>
1577 * fc-cache/fc-cache.sgml:
1578 * src/fccache.c (FcDirCacheWrite):
1579 * src/fccache.h (struct FcCache):
1581 Update documentation -- fc-cache's man page now says that you
1582 need to run fc-cache once per cached architecture; add some
1583 documentation to the FcCache structure.
1585 Make fc-cache write out fonts.cache-2 files for directories with
1586 no fonts (i.e. only subdirectories).
1588 2005-09-22 Patrick Lam <plam@mit.edu>
1590 * fc-cache/fc-cache.sgml:
1591 * fc-case/fc-case.c:
1592 * fc-glyphname/fc-glyphname.c:
1598 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1602 * fc-lang/fc-lang.c:
1603 * fontconfig/fcprivate.h:
1604 * fontconfig/fontconfig.h:
1618 Implement new mmaped cache for font information.
1619 Bump so revision to 2.3.90.
1621 2005-07-25 Keith Packard <keithp@keithp.com>
1623 * doc/fontconfig-user.sgml:
1624 * fc-glyphname/fc-glyphname.c: (scan), (main):
1625 * fc-lang/fc-lang.c: (FcConfigHome):
1626 * fc-match/fc-match.c: (main):
1627 * src/fccfg.c: (FcConfigHome):
1628 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1629 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1630 (addtag), (FcFontCapabilities):
1631 * src/fcpat.c: (FcValueListEntCreate):
1632 * src/fcstr.c: (FcStrCaseWalkerInit):
1633 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1635 Various GCC 4 cleanups for signed vs unsigned char
1637 Match only [0-9]*.conf files in <include>{directory}</include>
1638 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1640 2005-07-15 Carl Worth <cworth@cworth.org>
1643 * src/fcinit.c: (FcFini):
1644 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1647 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1648 Pull the FcObjectStateName hash table out to file scope, and add
1649 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1652 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1655 2005-06-16 Patrick Lam <plam@MIT.EDU>
1659 * src/fccfg.c: (FcConfigCompareValue):
1660 Make FcOpNotContains use FcStrStr for strings so that
1661 it matches semantics for !FcOpContains.
1663 2005-05-20 Keith Packard <keithp@keithp.com>
1667 Move fontconfig source package to libs as per override
1669 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1671 reviewed by: Mike Fabian
1674 The ka.orth file requires several characters which are not
1675 used anymore in modern Georgian and which are missing in the free
1676 Georgian TrueType fonts downloadable at:
1678 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1680 2005-04-27 Keith Packard <keithp@keithp.com>
1684 Update date to real 2.3.2 release date.
1685 Fix change attributions
1687 2005-04-27 Keith Packard <keithp@keithp.com>
1690 Bump so revision for 2.3.2
1691 * fc-cache/fc-cache.c: (scanDirs):
1692 Fix a few minor leaks in error cases.
1694 2005-04-23 Keith Packard <keithp@keithp.com>
1699 * fontconfig/fontconfig.h:
1700 Update for version 2.3.2
1702 2005-04-21 Keith Packard <keithp@keithp.com>
1704 * debian/fontconfig.postinst:
1705 Don't force bitmap font enable in default
1706 configuration; allows users to override this in
1716 * debian/po/pt_BR.po:
1717 * debian/po/templates.pot:
1719 * debian/po/zh_CN.po:
1720 Updated translations
1722 * fc-cache/fc-cache.c: (main):
1723 Destroy font configuration on exit to help valgrind
1726 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1727 (FcFreeTypeCheckGlyph):
1728 Use own transcoding routines in preference to iconv
1729 which appears to have leaks in some translators.
1730 Call iconv_close after using iconv (oops).
1732 Prefer unicode encoding of Euro char as some
1733 fonts mis-encode Euro in other ones.
1735 Must fetch bitmap glyphs to get width values
1736 to check for monospace/dual-width fonts.
1738 2005-04-13 Ross Burton <ross@burtonini.com>
1741 Check that a pattern isn't already frozen in FcPatternFreeze.
1743 2005-03-31 Ross Burton <ross@burtonini.com>
1748 Run all FcPattern objects through FcObjectStaticName, so that
1749 compares can be done on pointers instead of strings (#2659)
1751 2005-03-17 Tor Lillqvist <tml@novell.com>
1753 * src/fontconfig.def.in: Add the .dll to the dll name.
1755 2005-03-10 Keith Packard <keithp@keithp.com>
1757 * debian/README.Debian:
1758 Update to reflect configuration changes
1760 * debian/fontconfig.postinst:
1761 Fix Autohint vs Autohinter mistake
1762 * debian/fontconfig.templates:
1763 Adopt changes from Josselin Mouette for configuration descriptions
1764 Update debian to version 2.3.1-2
1766 2005-03-08 Keith Packard <keithp@keithp.com>
1770 Update debian for 2.3.1
1772 2005-03-09 Tor Lillqvist <tml@novell.com>
1774 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1777 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1780 2005-03-08 Keith Packard <keithp@keithp.com>
1784 * fontconfig/fontconfig.h:
1787 2005-03-05 Keith Packard <keithp@keithp.com>
1789 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1790 Include space and remove numbers from valid script tags.
1791 This ensures that tags like 'lao ' work while rejecting
1792 those which have any digits.
1793 Eliminate a spurious debugging variable (len)
1795 2005-03-05 Keith Packard <keithp@keithp.com>
1797 * src/fcfreetype.c: (addtag), (GetScriptTags),
1798 (FcFontCapabilities):
1799 Rework GSUB/GPOS script parsing to survive broken fonts.
1800 Thanks for the broken font go to Manish Singh
1802 2005-03-05 Keith Packard <keithp@keithp.com>
1807 * debian/fontconfig.config:
1808 * debian/fontconfig.templates:
1810 Include 2.3 release information in changelog
1811 Add Josselin Mouette as an Uploader
1812 Set hinting_type to low priority configuration option
1815 * debian/fontconfig.postinst:
1816 yes_bitmaps.conf -> yes-bitmaps.conf
1822 2005-03-02 Keith Packard <keithp@keithp.com>
1825 * conf.d/Makefile.am:
1826 * conf.d/autohint.conf:
1827 * conf.d/no-sub-pixel.conf:
1828 * conf.d/sub-pixel.conf:
1829 * conf.d/unhinted.conf:
1830 * debian/autohint.conf:
1831 * debian/fontconfig.install:
1832 * debian/fontconfig.postinst:
1833 * debian/fontconfig.templates:
1834 * debian/no-sub-pixel.conf:
1835 * debian/unhinted.conf:
1836 Move debian-specific conf file examples upstream.
1838 Sub-pixel configuration examples must smash subpixel value
1839 as Xft always sets it from X.
1841 Change sub-pixel rendering debconf descriptions from
1842 Enable/Disable to Always/Never.
1844 2005-03-02 Keith Packard <keithp@keithp.com>
1847 * conf.d/.cvsignore:
1849 Ignore more build detritus
1852 Add debian package construction stuff.
1854 * config/config.guess:
1855 * config/config.sub:
1856 Update to newer versions of these tools
1859 Get library manuals to build again (we love automake).
1861 * debian/README.Debian:
1862 * debian/autohint.conf:
1867 * debian/fontconfig-udeb.install:
1868 * debian/fontconfig.config:
1869 * debian/fontconfig.defoma:
1870 * debian/fontconfig.dirs:
1871 * debian/fontconfig.install:
1872 * debian/fontconfig.postinst:
1873 * debian/fontconfig.postrm:
1874 * debian/fontconfig.templates:
1875 * debian/libfontconfig1-dev.install:
1876 * debian/libfontconfig1.install:
1877 * debian/local.conf.md5sum:
1878 * debian/no-sub-pixel.conf:
1879 * debian/po/POTFILES.in:
1888 * debian/po/pt_BR.po:
1889 * debian/po/templates.pot:
1891 * debian/po/zh_CN.po:
1893 * debian/unhinted.conf:
1894 Update debian build system to switch maintainers and
1895 deal with 2.3 functionality
1897 2005-03-01 Keith Packard <keithp@keithp.com>
1901 * fontconfig/fontconfig.h:
1904 2005-03-01 Keith Packard <keithp@keithp.com>
1907 Generate and install PDF versions of the manuals
1909 * doc/fcpattern.fncs:
1912 * doc/fcstring.fncs:
1913 Add missing exported functions, fix data types
1915 * doc/fontconfig-devel.sgml:
1916 Add missing pattern elements.
1918 * doc/fontconfig-user.sgml:
1919 Add missing pattern elements. Document conf.d usage,
1920 clarify available orthography list. Fix some config file
1921 attributes. Complete list of constants.
1923 * fontconfig/fontconfig.h:
1924 Mark FC_SOURCE deprecated.
1926 * src/fcfreetype.c: (FcFreeTypeQuery):
1927 Don't set FC_SOURCE any longer.
1929 2005-02-28 Keith Packard <keithp@keithp.com>
1932 * conf.d/Makefile.am:
1934 * conf.d/no-bitmaps.conf:
1935 * conf.d/sub-pixel.conf:
1936 * conf.d/yes-bitmaps.conf:
1938 Create prototype /etc/fonts/conf.d directory with a few
1939 sample configuration files.
1940 Deprecate use of local.conf for local customizations in favor of
1941 this directory based scheme which is more easily integrated into
1942 installation systems.
1945 Tag FC_EMBOLDEN as a boolean variable
1947 2005-02-10 Keith Packard <keithp@keithp.com>
1949 reviewed by: pborelli@katamail.com
1951 * src/fcdir.c: (FcFileScanConfig):
1952 Free patterns from fonts which are rejected by configuration
1955 2005-01-28 Keith Packard <keithp@keithp.com>
1959 * fontconfig/fontconfig.h:
1960 Update for version 2.2.99
1962 2005-01-28 Keith Packard <keithp@keithp.com>
1965 Add a few pointers (#2284, #2285)
1967 2005-01-28 Keith Packard <keithp@keithp.com>
1970 * src/fcname.c: (FcNameBool):
1971 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1972 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1973 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1974 Polite typechecking for test and edit expressions. Helps
1975 catch errors in the font configuration. (bug 229)
1977 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1979 reviewed by: Keith Packard <keithp@keithp.com>
1982 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1984 2005-01-13 Keith Packard <keithp@keithp.com>
1986 * doc/fontconfig-user.sgml:
1987 Add SEE ALSO section (bug 2085)
1989 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1991 reviewed by: Keith Packard <keithp@keithp.com>
1996 * fc-case/Makefile.am:
1997 * fc-glyphname/Makefile.am:
1998 * fc-lang/Makefile.am:
1999 * src/fontconfig.def.in:
2000 Cross compiling fixes (bug 280)
2002 2005-01-13 Keith Packard <keithp@keithp.com>
2005 Update blanks list (Closes bug 86)
2007 2005-01-04 Keith Packard <keithp@keithp.com>
2009 * src/fccache.c: (FcCacheFontSetAdd):
2010 Verify that every font pattern loaded from cache has
2011 both FC_FILE and FC_FAMILY entries.
2012 Attempt to fix bug #2219.
2014 2004-12-29 Keith Packard <keithp@keithp.com>
2018 * fontconfig/fontconfig.h:
2019 Update for version 2.2.98
2021 2004-12-29 Keith Packard <keithp@keithp.com>
2023 * fontconfig/fontconfig.h:
2024 Document ASCII limitations of Fc character conversion macros
2025 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2026 Fix off-by-one error in utf-8 case walking code.
2027 Add FcStrDowncase (useful for testing case conversion functions)
2029 2004-12-29 Keith Packard <keithp@keithp.com>
2032 * fc-case/.cvsignore:
2033 clean up CVS ignore lists
2034 * fc-lang/iso-3166.txt:
2035 Add territory database
2037 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2039 Reviewed by: Keith Packard
2042 Remove Han characters from Korean orthography
2044 2004-12-29 Keith Packard <keithp@keithp.com>
2047 Reorder utility programs to make sure fc-case is run before fc-lang
2048 as fc-lang uses fcstr.c which uses fccase.h
2052 2004-12-29 Keith Packard <keithp@keithp.com>
2055 Adopt some RedHat suggestions for standard font configuration.
2059 * fc-case/CaseFolding.txt:
2060 * fc-case/Makefile.am:
2061 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2062 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2063 (dump), (parseRaw), (caseFoldReadRaw), (main):
2064 * fc-case/fccase.tmpl.h:
2065 Add new helper program 'fc-case' to construct case folding
2066 tables from standard Unicode CaseFolding.txt file
2069 * src/fclist.c: (FcListValueHash):
2070 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2071 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2072 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2073 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2074 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2075 Re-implement case insensitive functions with Unicode
2076 aware versions (including full case folding mappings)
2078 2004-12-13 Keith Packard <keithp@keithp.com>
2080 reviewed by: Owen Taylor <otaylor@redhat.com>
2082 * src/fcmatch.c: (FcFontSetSort):
2083 I changed FcFontSetSort to respect the generic aliases better
2084 in the face of language matching.
2086 What I did was to ammend the strict sort order used by FcFontSort so
2087 that it 'satisfies' the language specified in the pattern by locating
2088 the best matching font supporting each pattern language and then
2089 ignores language in the remaining fonts for purposes of matching.
2091 So, when asking for 'sans:lang=en', you'll get an English font first,
2092 and then the remaining fonts sorted with respect to the 'sans' alias
2093 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2095 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2097 reviewed by: Keith Packard <keithp@keithp.com>
2099 * fontconfig/fontconfig.h:
2102 Configuration changes to request synthetic emboldening of
2103 fonts. The actual emboldening code will live in Xft.
2105 2004-12-09 John Thacker <thacker@math.cornell.edu>
2107 reviewed by: Keith Packard <keithp@keithp.com>
2111 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2112 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2113 и), and don't even appear in KOI8-R. (The hypothesis that they
2114 don't appear in KOI8-R due to their similarity with Latin I and i is
2115 eliminated by their presence in KOI8-U.) I have a couple of fonts
2116 with Russian support that don't have the letter.
2118 Therefore, 0406 and 0456 should be removed from or commented out of
2121 2004-12-06 michael meeks <mmeeks@novell.com>
2123 Reviewed by: Keith Packard <keithp@keithp.com>
2125 * src/fcinit.c: (FcMemReport):
2127 * src/fclist.c: (FcObjectSetAdd):
2128 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2129 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2130 * src/fcxml.c: (FcParsePatelt):
2131 memoize strings and share a single copy for all uses. Note that
2132 this could be improved further by using statically allocated blocks
2133 and gluing multiple strings together, but I'm basically lazy.
2134 In my environment with 800 font files, I get a savings of about 90KB.
2136 2004-12-06 Keith Packard <keithp@keithp.com>
2140 * config/Makedefs.in:
2143 * doc/fcatomic.fncs:
2144 * doc/fcblanks.fncs:
2145 * doc/fccharset.fncs:
2146 * doc/fcconfig.fncs:
2147 * doc/fcconstant.fncs:
2149 * doc/fcfontset.fncs:
2150 * doc/fcfreetype.fncs:
2152 * doc/fcmatrix.fncs:
2153 * doc/fcobjectset.fncs:
2154 * doc/fcobjecttype.fncs:
2155 * doc/fcpattern.fncs:
2156 * doc/fcstring.fncs:
2157 * doc/fcstrset.fncs:
2159 * doc/fontconfig-devel.sgml:
2160 * doc/fontconfig-user.sgml:
2162 * doc/version.sgml.in:
2163 * fc-cache/Makefile.am:
2164 * fc-cache/fc-cache.c:
2165 * fc-glyphname/Makefile.am:
2166 * fc-glyphname/fc-glyphname.c:
2167 * fc-glyphname/fcglyphname.tmpl.h:
2168 * fc-lang/Makefile.am:
2178 * fc-lang/az_ir.orth:
2212 * fc-lang/fc-lang.c:
2213 * fc-lang/fc-lang.man:
2214 * fc-lang/fclang.tmpl.h:
2259 * fc-lang/ku_ir.orth:
2292 * fc-lang/ps_af.orth:
2293 * fc-lang/ps_pk.orth:
2322 * fc-lang/ti_er.orth:
2323 * fc-lang/ti_et.orth:
2349 * fc-lang/zh_cn.orth:
2350 * fc-lang/zh_hk.orth:
2351 * fc-lang/zh_mo.orth:
2352 * fc-lang/zh_sg.orth:
2353 * fc-lang/zh_tw.orth:
2355 * fc-list/Makefile.am:
2356 * fc-list/fc-list.c:
2357 * fc-match/Makefile.am:
2358 * fc-match/fc-match.1:
2359 * fc-match/fc-match.c:
2360 * fontconfig/fcfreetype.h:
2361 * fontconfig/fcprivate.h:
2362 * fontconfig/fontconfig.h:
2383 Change files from ISO-Latin-1 to UTF-8
2385 2004-12-04 Keith Packard <keithp@keithp.com>
2388 Update links to new freedesktop.org locations
2390 Add uninstall-local to get rid of fonts.conf and local.conf if they
2391 match the distributed versions. Fixes 'make distcheck'
2393 2004-12-04 Keith Packard <keithp@keithp.com>
2397 * fontconfig/fontconfig.h:
2398 Updates for version 2.2.97
2400 2004-12-04 Owen Taylor <otaylor@redhat.com>
2402 reviewed by: Keith Packard <keithp@keithp.com>
2404 * fc-cache/fc-cache.c: (main):
2405 Sleep for two seconds before exiting to make sure timestamps
2406 for future changes have distinct mod times in the file system.
2409 Add Punjabi orthography. Bug #1671.
2411 2004-12-04 Keith Packard <keithp@keithp.com>
2414 Just remove the FC_FONTDATE -- it has locale issues and
2415 annoys redhat multi-arch installs. Now that all X fonts are
2416 included without prejudice, the chances of the date being at
2417 all interesting are rather limited. Bug #505.
2419 Add copyright and license
2421 2004-12-04 Keith Packard <keithp@keithp.com>
2424 Change default set of fonts to include all of
2425 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2426 * doc/fontconfig-user.sgml:
2427 Document new <include>directory-name</include> semantics
2429 add <include ignore_missing="yes">conf.d</include>
2431 Add selectfont to ignore bitmap fonts, add comment for
2432 selectfont which accepts bitmap fonts.
2435 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2436 Allow <include> configuration elements to reference directories.
2437 Parse and load all files of the form [0-9]* in sorted order.
2439 2004-12-04 Keith Packard <keithp@keithp.com>
2442 Report command line for $srcdir/configure accurately.
2445 2004-12-04 Keith Packard <keithp@keithp.com>
2447 * src/fcfreetype.c: (FcFreeTypeQuery):
2448 Check for non-empty face->family_name and face->style_name
2449 before using those for the font. Empty names match everything.
2452 2004-12-04 Keith Packard <keithp@keithp.com>
2455 * fontconfig/fontconfig.h:
2456 * src/fcfreetype.c: (FcFreeTypeQuery):
2458 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2459 available. This provides font file format information (BDF, Type 1,
2460 PCF, TrueType) for each font. Closes #109.
2462 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2464 reviewed by: Keith Packard <keithp@keithp.com>
2466 * doc/fontconfig-user.sgml:
2469 * fontconfig/fontconfig.h:
2470 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2471 (GetScriptTags), (FcFontCapabilities):
2473 Add detection for font capabilities (bug #105)
2475 2004-12-04 Keith Packard <keithp@keithp.com>
2478 Move existing fonts.conf to fonts.conf.bak
2481 Add detection of iconv
2483 * doc/fcpattern.fncs:
2484 * doc/fontconfig-devel.sgml:
2485 * doc/fontconfig-user.sgml:
2487 Document new selectfont elements
2490 Switch to UTF-8 in comment
2492 * fontconfig/fontconfig.h:
2494 Add fullname, and family/style/fullname language entries
2496 * src/fccache.c: (FcCacheFontSetAdd):
2497 * src/fcdir.c: (FcFileScanConfig):
2498 Respect selectfont/*/glob
2501 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2502 (FcConfigCompareValue), (FcConfigPatternsAdd),
2503 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2504 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2505 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2506 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2507 Add support for selectfont
2509 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2510 (FcStringInPatternElement), (FcFreeTypeQuery):
2511 Add multi-lingual family/style/fullname support
2513 * src/fclist.c: (FcListPatternMatchAny):
2514 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2516 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2517 (FcObjectStaticName):
2518 Add new FcPatternRemove/FcPatternAppend.
2519 FcObjectStaticName stores computed pattern element names which
2520 are required to be static.
2522 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2527 Remove spurious / after $(DESTDIR)
2529 2004-06-30 Keith Packard <keithp@keithp.com>
2533 * fontconfig/fontconfig.h:
2536 2004-06-30 Keith Packard <keithp@keithp.com>
2538 Provided by: Lubos Lunak <l.lunak@suse.cz>
2540 * src/fccfg.c: (FcConfigUptoDate):
2541 However FcConfigUptoDate() doesn't seem to work. See the attached
2542 patch. First there's an obvious misplaced parenthesis making it
2543 return always false, and second, even this call fails to detect font
2544 changes (e.g. adding a new font to
2545 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2546 well. The problem seems to be triggered by my fonts.conf specifying
2547 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2548 doesn't include subdirs, unlike config->fontDirs.
2550 2004-06-03 Keith Packard <keithp@keithp.com>
2552 * fontconfig/fontconfig.h:
2553 Remove comma at end of FcResult enum definition.
2555 2004-05-29 Keith Packard <keithp@keithp.com>
2558 Add steps to md5sum release
2560 2004-05-29 Keith Packard <keithp@keithp.com>
2564 * fontconfig/fontconfig.h:
2567 2004-05-29 Keith Packard <keithp@keithp.com>
2569 * fontconfig/fontconfig.h:
2570 * src/fcmatch.c: (FcFontSetMatch):
2571 Add FcResultOutOfMemory to provide an accurate error when
2572 FcFontSetMatch fails in this way
2575 Make #warning about lacking various FreeType features indicate
2576 which version those features appeared so users know how to
2577 fix the problem (Thanks to Anton Tropashko)
2579 2004-05-05 Keith Packard <keithp@keithp.com>
2581 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2582 Replace MIN/MAX/ABS macros which happen to have come
2583 from FreeType with fontconfig-specific ones (FC_*)
2585 2004-04-23 Keith Packard <keithp@keithp.com>
2588 Extend release preparation instructions to include
2589 notification and distribution steps
2591 2004-04-23 Keith Packard <keithp@keithp.com>
2595 * fontconfig/fontconfig.h:
2596 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2598 2004-04-23 Keith Packard <keithp@keithp.com>
2601 Ignore a few more autotool files
2603 2004-04-14 Keith Packard <keithp@keithp.com>
2606 Add instructions for doing a release
2608 * fontconfig.spec.in:
2609 clean up .spec file; perhaps this will be useful to somebody...
2613 * fontconfig/fontconfig.h:
2616 * fc-lang/fc-lang.c:
2617 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2619 * fc-glyphname/Makefile.am:
2620 * fc-lang/Makefile.am:
2621 * fc-list/Makefile.am:
2622 * fc-match/Makefile.am:
2624 Add WARN_CFLAGS to pass -W flags for GCC systems
2626 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2627 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2628 Change various char types around to match across
2630 Fixed bug in using available_sizes[i].height which
2631 is in pixels, not 64ths of a pixel.
2633 2004-03-06 Keith Packard <keithp@keithp.com>
2635 * src/fcfreetype.c: (FcFreeTypeQuery):
2636 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2637 matches looking for explicit values prefer exact matches
2639 2004-03-02 Keith Packard <keithp@keithp.com>
2641 Supplied by: mfabian@suse.de (Mike FABIAN)
2643 * src/fcfreetype.c: (FcFreeTypeQuery):
2644 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2645 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2647 2004-02-21 Manish Singh <yosh@gimp.org>
2649 * fc-glyphname/fc-glyphname.c: (main):
2650 Cast strlen to int for printf, so we're 64-bit clean.
2652 2004-02-11 Keith Packard <keithp@keithp.com>
2655 * src/fcfreetype.c: (FcGetPixelSize):
2656 Ok, so I messed up the test for y_ppem. Let's see if I
2657 got it right this time.
2659 2004-02-10 Keith Packard <keithp@keithp.com>
2662 * src/fcfreetype.c: (FcGetPixelSize):
2663 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2664 FT_Bitmap_Size record. Add a configure.in test for this
2665 and change the code accordingly (using height instead).
2667 2004-02-06 Keith Packard <keithp@keithp.com>
2670 Add Low Saxon orthography
2671 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2673 * src/fccfg.c: (FcConfigNewestFile):
2674 Oops. Left 'newest.set' unset, which would miscompute
2677 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2678 (FcFreeTypeCheckGlyph):
2679 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2680 font properties (which report the wrong value in current FreeType)
2682 Don't attempt to check for empty glyphs in non-scalable fonts; they
2685 2004-02-01 Tor Lillqvist <tml@iki.fi>
2687 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2688 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2689 cache if config->cache is NULL, which happens if FcConfigHome() is
2690 NULL. Guard against that by using the temp folder in that case.
2692 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2694 * fc-lang/az_ir.orth:
2695 * fc-lang/ku_ir.orth:
2696 * fc-lang/ps_af.orth:
2697 * fc-lang/ps_pk.orth:
2698 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2699 (Afghan and Pakistani).
2701 Updated Urdu orthography with real data.
2703 2003-12-11 Carl Worth <cworth@east.isi.edu>
2705 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2708 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2710 (all-local): Remove excessive whitespace.
2712 * autogen.sh: Add 'set -e' to abort when any program fails,
2713 (avoids printing of 'now type make' after configure aborts).
2715 2003-11-17 Eric Christopherson <rakko@charter.net>
2717 reviewed by: Keith Packard <keithp@keithp.com>
2720 * fontconfig/fcfreetype.h:
2722 Switch to FreeType 2.1.7 style includes. Bug #150.
2724 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2726 * fc-list/fc-list.sgml: Add some example usages.
2728 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2731 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2734 2003-10-27 Keith Packard <keith@keithp.com>
2737 * fontconfig/fontconfig.h:
2738 Update to version 2.2.92
2740 2003-10-27 Keith Packard <keithp@keithp.com>
2745 * fc-cache/Makefile.am:
2746 * fc-glyphname/Makefile.am:
2747 * fc-lang/Makefile.am:
2748 * fc-list/Makefile.am:
2749 * fc-match/Makefile.am:
2752 Yet more cleanups to finish getting 'make distcheck' working
2753 This has been tested to ensure that it even works from a _build
2756 2003-10-26 Keith Packard <keithp@keithp.com>
2760 * fc-cache/Makefile.am:
2761 * fc-glyphname/Makefile.am:
2762 * fc-lang/Makefile.am:
2763 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2764 * fc-list/Makefile.am:
2765 * fc-match/Makefile.am:
2766 Attempts to fix 'make distcheck' work. Things are
2767 progressing pretty well, but there are still failures
2768 long into the process dealing with docs (as always).
2770 The big changes here are mostly to make $(srcdir) != "."
2771 work correctly, fixing the docbook related sections and
2772 fc-lang were particularily tricky. Docbook refuses to load
2773 system entities from anywhere other than where the original .sgml
2774 file was located, so no luck looking in "." for the
2775 configure-generated version.sgml and confdir.sgml files.
2777 fc-lang needed help finding .orth files; added a -d option
2778 to set the directory as the least evil of many options.
2780 Now to go use a faster machine and try and wring out the last
2783 2003-10-26 Keith Packard <keithp@keithp.com>
2787 2003-10-26 Keith Packard <keithp@keithp.com>
2790 Include confdir.sgml.in in EXTRA_DIST
2792 2003-10-09 Josselin Mouette <joss@debian.org>
2794 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2795 * fc-list/fc-list.sgml fc-list/Makefile.am:
2796 Replace fc-cache and fc-list manpages with more detailed, SGML
2799 2003-09-23 Owen Taylor <otaylor@redhat.com>
2801 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2802 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2803 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2806 2003-09-23 Owen Taylor <otaylor@redhat.com>
2808 * fc-lang/ka.orth: Remove Georgian capitals, they
2809 aren't used for normal writing. (Bug #116)
2811 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2813 * doc/fontconfig-devel.sgml:
2814 * doc/fontconfig-user.sgml:
2815 * fontconfig/fontconfig.h:
2817 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2818 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2820 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2821 monospace and dual-width fonts, allow roughly a 3% variance in the
2824 2003-08-31 Manish Singh <yosh@gimp.org>
2826 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2829 2003-08-15 Carl Worth <cworth@isi.edu>
2831 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2832 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2834 * src/fcpat.c (FcValueListEntDestroy): New function to support
2835 FcFini memory cleanup. Some statistics are not kept in
2837 (FcValueListFreeze): Move hashTable outside this function so it
2838 can be accessed by FcValueListThawAll.
2839 (FcValueListThawAll): New function complements FcValueListFreeze.
2840 (FcPatternBaseFreeze): Move hashTable outside this function so it
2841 can be accessed by FcPatternBaseThawAll.
2842 (FcPatternBaseThawAll): New function complements
2843 FcPatternBaseFreeze.
2844 (FcPatternThawAll): New function complements FcPatternFreeze.
2846 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2848 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2849 allocated FcCharLeafEnt "blocks" so they can be freed later.
2850 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2851 can be accessed by FcCharSetThawAllLeaf.
2852 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2853 (FcCharSetFreezeBase): Move hashTable outside this function so it
2854 can be accessed by FcCharSetThawAll.
2855 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2857 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2858 (FcConfigDestroy): Fic leak of FcBlanks.
2860 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2861 (main): Add call to FcFini when finished.
2863 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2864 static. Add prototypes.
2866 * doc/fcinit.fncs: Add documentation for FcFini function.
2868 * doc/edit-sgml.c: Mark several local functions as static. Add
2871 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2873 2003-06-15 Tor Lillqvist <tml@iki.fi>
2875 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2876 before comparing (needed on Windows).
2878 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2880 2003-06-13 Tor Lillqvist <tml@iki.fi>
2882 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2885 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2886 WINDOWSFONTDIR token.
2888 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2889 end, not to confuse libtool, which expects the EXPORTS line to be
2890 the first. Add FcConfigEnableHome.
2892 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2893 built as a DLL on Win32.
2895 2003-06-09 Keith Packard <keithp@keithp.com>
2897 * Tag version 2.2.90
2899 2003-06-09 Keith Packard <keithp@keithp.com>
2901 * Optimization in FcLangSetIndex was broken, occasionally
2902 returning a pointer to the wrong location on miss
2904 * Add fc-match to test font matching from the command line.
2906 2003-05-31 Keith Packard <keithp@keithp.com>
2908 * (Bug 85) add support for culmus fonts
2909 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2910 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2912 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2914 * Fix "contains" op for strings and langsets.
2916 2003-05-17 Keith Packard <keithp@keithp.com>
2918 * Fix build error with BDF prop local. Free langset after query
2920 2003-05-14 Keith Packard <keithp@keithp.com>
2922 * Extract spacing from XLFD atom
2924 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2926 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2927 disappeared in 1.30.
2929 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2931 2003-05-12 Keith Packard <keithp@keithp.com>
2933 * Use FcIsWidth to share code
2935 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2936 misclassifying some Han fonts as monospaced.
2938 2003-05-07 Keith Packard <keithp@keithp.com>
2940 * Add filename-based accept/reject to ammend available fonts.
2942 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2943 older FreeType releases.
2945 2003-05-06 Keith Packard <keithp@keithp.com>
2947 * Remove 0b82 and Tamil numbers from tamil
2948 orthography (Jungshik Shin <jshin@mailaps.org>)
2950 2003-05-04 Keith Packard <keithp@keithp.com>
2952 + Map glyph names in fonts with adobe custom encoding to unicode
2954 2003-05-02 Keith Packard <keithp@keithp.com>
2956 * Add FC_WEIGHT_BOOK as weight 75
2958 2003-04-30 Keith Packard <keithp@keithp.com>
2960 * Typo in bitstream foundry name
2962 2003-04-24 Keith Packard <keithp@keithp.com>
2964 * Eliminate italic_angle check for PS fonts
2966 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2968 * Getting closer to fixing /etc/fonts hard-coding.
2970 2003-04-22 Keith Packard <keithp@keithp.com>
2972 * Update autogen.sh to work with newer automake versions
2973 * Handle pattern elements moving during multiple edits
2975 2003-04-23 James Henstridge <james@daa.com.au>
2977 * doc/fontconfig-devel.sgml: close the <para> element.
2979 * doc/fcpattern.fncs: close the <para> element.
2981 * doc/func.sgml: close the <refsynopsisdiv> element.
2983 2003-04-22 Keith Packard <keithp@keithp.com
2985 * Update autogen.sh to work with newer automake versions
2986 * Handle pattern elements moving during multiple edits
2988 2003-04-17 Colin Walters <walters@debian.org>
2990 + Remove some unused variables, and initialize some other ones so
2991 gcc doesn't warn us.
2993 2003-04-16 Keith Packard <keithp@keithp.com>
2995 + tag version 2.1.94
2997 2003-04-16 Keith Packard <keithp@keithp.com>
2999 + add BDF property fetching support for foundry
3000 (from Juliusz Chroboczek)
3001 + add BDF property fetching support for width
3003 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3005 + Implemented foundry generation for Type 1 and TrueType
3007 2003-04-11 Gerard Escalante <g2@magestudios.net>
3009 + Retrieve information from Type1 FontInfo dictionaries
3011 2003-04-07 Colin Walters <walters@verbum.org>
3013 + src/Makefile.am: Fix dummy makefile target names when
3014 MS_LIB_AVAILABLE isn't set.
3016 2003-03-22 Tor Lillqvist <tml@iki.fi>
3018 Changes for Windows:
3020 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3022 + We don't want to hardcode the fonts.conf file location in the
3023 DLL, so we look up the DLL location at run-time in a DllMain()
3024 function. The fonts.conf location is deduced from that.
3026 + The colon can't be used as path separator on Windows,
3027 semicolon is used instead. File path components can be separated
3028 with either slash or backslash. Absolute paths can also begin
3029 with a drive letter.
3031 + Add internal function FcStrLastSlash that strrchr's the last
3032 slash, or backslash on Windows.
3034 + There is no link() on Windows. For atomicity checks, mkdir a
3035 lock directory instead.
3037 + In addition to HOME, also look for USERPROFILE.
3039 + Recognize the special font directory token WINDOWSFONTDIR, to
3040 use the system's font directory.
3042 + Remove the fontconfig-def.cpp that was obsolete. Add
3043 fontconfig.def(.in), without internal functions.
3045 + Add a fontconfig-zip(.in) script, used to build a binary
3048 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3049 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3050 to main package and man3/* to devel package
3052 + Added missing defattr(-, root, root) to main RPM package
3054 + Added HTML and text development documentation to -devel subpackage
3056 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3057 + Added back the configure macro options --disable-docs, otherwise
3058 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3059 version number) unconditionally, causing RPM to fail the build due
3060 to _unpackaged_files_terminate_build. We pick up the pregenerated
3061 docs with %doc already.
3063 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3064 + Removed commented out rpm macro define at top of spec file,
3065 replacing it with a simple explanation, since rpm macros are
3066 expanded by rpm even in comments.
3068 + Changed /usr/bin to _bindir in BuildRequires lines
3070 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3072 + Reorganized file manifest lists
3074 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3076 + fontconfig.spec.in: Improvements from Red Hat spec file.
3078 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3080 + docs/*.sgml: SGML fixes.
3082 Sat Mar 1 17:28:53 PST 2003 keithp
3083 + Ok, so the ChangeLog is a bit out of date
3085 + Lots of bugs fixed; most are in bugzilla, the
3086 biggest problems were in cache management where
3087 Owen discovered the library would lose badly when
3088 combining fonts-cache and ~/.fonts-cache data
3090 + Converted from autoconf to automake. This after
3091 getting patches accepted into libtool to allow
3092 the '-version-number' argument which lets
3093 packages set version numbers explicitly rather
3094 than the roundabout libtool way
3096 + Converted documentation to SGML using the docbook
3097 DTD. Now .txt and .html documents are installed
3098 in /usr/share/doc/fontconfig and there's no
3099 man page. Perhaps a man version can be written
3102 Sat Aug 31 15:21:22 PDT 2002 keithp
3103 + Xrender and Xft had several bugs related to
3104 rendering manually placed or poly-face text
3106 + Added more complete memory tracing in fontconfig
3107 Checked with (patched) mozilla and found no leaks
3109 + Updated Latin orthographies by comparing those from
3110 evertype.com with those from eki.ee. Tried to make
3111 sensible choices, including chars that occured in both
3112 and leaving some optional chars out that occured only
3115 Mon Aug 26 16:33:04 PDT 2002 keithp
3116 + Owen discovered that FcLangSetHasLang wasn't actually
3117 checking the language set.
3119 Mon Aug 26 13:37:23 PDT 2002 keithp
3120 + Append a version number to cache filenames
3122 Thu Aug 22 11:36:18 PDT 2002 keithp
3124 + Add "contains" and "not_contains" operators and elements to
3127 + Changed semantics of eq operator for LangSets to check for
3128 FcLangEqual so that any match will do
3130 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3131 of FcValueEqual to check for identical values when inserting into
3132 the results. This broke when the above semantic change was made,
3133 now it uses FcValueEqual which is "more correct" in any case.
3135 Thu Aug 22 00:32:29 PDT 2002 keithp
3137 + Reimplement FC_LANG as new datatype. Lists of strings
3138 was consuming over a megabyte of memory for 401 fonts.
3140 + Freeze patterns loaded from cache files. This shares
3141 common value lists and common patterns which saves
3142 considerable memory.
3144 + Change the denotation of 'constant' charsets to use special
3145 ref value instead of separate boolean.
3147 + Clean up leak tracing stuff, found several unannoted alloc/free
3150 Tue Aug 20 16:17:37 PDT 2002 keithp
3152 + Fix memory leak when parsing matrices from XML
3154 Mon Aug 19 11:57:27 PDT 2002 keithp
3156 + Fix autoconf files to pass FONTCONFIG_PATH on
3157 compile line so that ${prefix} gets substituted
3160 + Use getc_unlocked/putc_unlocked on systems that
3161 provide them to avoid damage done to stdio by posix
3163 + Eliminate FC_PATTERN and FcTypePattern in favor of
3164 an extended api for FcConfigSubstitute which takes
3165 both the font and the pattern.
3167 + Add 'sans serif' alias for 'sans-serif' as some apps
3168 can't handle hyphens in family names
3170 + Eliminate pretense of support for libxml2
3172 + Comment origins of Han orthographies
3174 Tue Jul 30 18:37:09 PDT 2002 keithp
3176 + Add binding property to edit element so that strong
3177 binding values may be inserted by the config file.
3178 The default remains weak.
3180 Sun 28 Jul 04:16:55 PDT 2002 keithp
3182 + Tagged release candidate 1 in the CVS tree and
3183 placed fcpackage.rc1.tar.gz for distribution
3185 Thu Aug 1 08:55:08 PDT 2002 keithp
3187 + Fixed autoconf builds to always specify install
3188 target files (for BSD). Also fixed to
3189 define FONTCONFIG_PATH in config.h so that
3190 nonstandard installs will actually work.