1 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
4 * src/fcdir.c (FcDirScanConfig)
5 Don't leak in error cases (Coverity defects #777, #1826)
7 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
10 * src/fccache.c: (FcDirCacheWrite):
11 Fix double free (spotted by Coverity, CID #1965).
13 * fc-match/fc-match.c: (main):
14 Check if pattern is not null before using it (Coverity defect #1883).
16 * src/fccache.c: (FcDirCacheWrite):
17 Fix memory leak with hash collision (Coverity defect #1829).
19 * src/fccfg.c: (FcConfigBuildFonts):
20 Fix memory leak when bail cases (Coverity defect #1828).
22 * src/fccache.c: (FcGlobalCacheLoad):
23 Don't leak directory name (Coverity defect #1827).
25 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
27 * fc-cache/Makefile.am:
29 * fc-list/Makefile.am:
30 * fc-match/Makefile.am:
32 LD_ADD missing dependencies for binaries. Reported by
35 2006-04-07 Patrick Lam <plam@mit.edu>
37 * fc-lang/fc-lang.c (main):
39 SGI compilation fixes (reported by Christoph Bauer):
40 1) reorder union definition of _FcChar;
43 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
46 * src/fccharset.c (FcCharSetNeededBytes):
47 * src/fcfs.c (FcFontSetNeededBytes):
49 * src/fclang.c (FcLangSetNeededBytesAlign):
50 * src/fcname.c (FcObjectNeededBytesAlign):
51 * src/fcpat.c (FcPatternNeededBytesAlign,
52 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
54 Portability fixes for HP-UX (reported by Christoph Bauer).
55 Replace '__inline__' by AC_C_INLINE and 'inline'.
56 Replace '__alignof__' by 'fc_alignof'.
58 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
62 Move up #include of config.h.
63 Fail if neither inttypes.h nor stdint.h is available.
66 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
67 Patrick Lam <plam@mit.edu>
69 * fc-cache/fc-cache.c:
71 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
72 FcDirCacheConsume, FcDirCacheProduce,
73 FcDirCacheWrite, FcCacheMachineSignature):
74 * src/fcfreetype.c (FcFreeTypeQuery):
75 * src/fontconfig.def.in:
77 Make fontconfig compile under MinGW:
78 1) remove unneeded #includes;
79 2) make use of mmap and sysconf conditional;
80 3) replace rand_r by srand/rand if needed;
81 4) use chsize instead of ftruncate; and
82 5) update libtool exports file
84 2006-04-07 Patrick Lam <plam@mit.edu>
85 * src/fcdir.c (FcDirScanConfig):
89 2006-04-06 Patrick Lam <plam@mit.edu>
90 * fc-match/.cvsignore:
91 * fc-match/Makefile.am:
92 * fc-match/fc-match.sgml:
94 Update documentation for fc-match (SGML-ize it).
95 (reported by Ilya Konstantinov)
97 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
103 Reduce amount of dirty rss by const'ing some data structures.
105 2006-04-06 Patrick Lam <plam@mit.edu>
106 * fc-cache/Makefile.am:
108 Don't fail if we can't create or remove
109 $(pkgcachedir) i.e. /var/cache/fontconfig.
110 (reported by Quanah Gibson-Mount).
112 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
115 * fc-glyphname/fc-glyphname.c:
116 * fc-lang/fc-lang.c (main):
117 * fc-match/fc-match.c:
118 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
120 * src/fcfreetype.c (FcFreeTypeQuery):
121 * src/fclang.c (FcFreeTypeLangSet):
124 Fix intel compiler warnings: make many variables static,
125 eliminate duplicate names, reduce variable scopes, unsigned/signed
128 2006-03-24 Mike Fabian <mfabian@suse.de>
130 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
132 Fix multiarch support (don't destroy multiarch files!)
134 2006-03-24 Patrick Lam <plam@mit.edu>
137 Require pkg-config. (Thanks Behdad;
138 better solution wanted for libxml2 detection!)
140 2006-03-22 Patrick Lam <plam@mit.edu>
143 On Windows, unlink before rename. Reported by Tim Evans.
145 2006-03-15 Patrick Lam <plam@mit.edu>
149 Fix typos in orth files. Reported by Denis Jacquerye.
151 2006-03-08 Patrick Lam <plam@mit.edu>
153 * config/config.guess:
156 Fix Makefile.am for removal of debian/ directory.
158 2006-03-08 Patrick Lam <plam@mit.edu>
161 Ignore debian/ directory for CVS.
163 2006-03-08 Patrick Lam <plam@mit.edu>
166 Now remove debian/ directory.
168 2006-03-08 Patrick Lam <plam@mit.edu>
171 Remove debian/ directory from sources. See Debian's subversion
172 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
175 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
179 * fc-lang/iso639-1, fc-lang/iso639-2:
181 Add orthography for Lingala.
183 2006-03-08 Carl Worth <cworth@cworth.org>
186 * conf.d/Makefile.am:
187 * conf.d/10LohitGujarati.conf:
189 Add a configuration file that disables hinting for the Lohit
190 Gujarati font (since the hinting distort some glyphs quite badly).
192 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
195 * src/fcdir.c (FcDirScanConfig):
197 Sort directory entries while scanning them from disk;
198 prevents Heisenbugs due to file ordering in a directory.
200 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
203 * src/fcfreetype.c (GetScriptTags):
204 * src/ftglue.c, src/ftglue.h:
206 Remove stuff we don't use, make get_{char,short,long} functions
207 of ftglue macros to be inlined.
210 * src/fcname.c (FcObjectSerialize):
212 Code cleanups (excess prototype, old-style function definition).
214 2006-03-05 Patrick Lam <plam@mit.edu>
215 * src/fcpat.c (FcPatternGetString):
217 Because we hacked FcPatternGet, we don't really need to expand the
218 filename again in FcPatternGetString.
220 2006-03-05 Patrick Lam <plam@mit.edu>
221 * src/fcpat.c (FcPatternGetString, FcPatternGet):
223 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
224 Make that work. Reported by Bernhard Rosenkraenzer.
226 2006-03-03 Patrick Lam <plam@mit.edu>
229 Include inttypes.h instead of stdint.h if appropriate.
231 2006-03-03 Patrick Lam <plam@mit.edu>
232 * fc-cat/fc-cat.c (FcFileIsDir):
233 * fc-glyphname/fc-flyphname.c:
235 More stub definitions and remove FcFileIsDir from fc-cat.
237 2006-03-03 Patrick Lam <plam@mit.edu>
240 Fix compilation on AIX with stub definitions (bug 6097).
242 2006-03-03 Patrick Lam <plam@mit.edu>
243 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
244 * src/fcfreetype.c (GetScriptTags):
245 * src/fcfs.c (FcFontSetDistributeBytes):
246 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
248 Get rid of C++-style comments.
250 2006-03-03 Patrick Lam <plam@mit.edu>
253 Enable creation of 2.3.94 Debian packages.
255 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
258 * src/fclang.c (FcCharSetForLang):
260 Fix suspicious return expression which causes junk
263 2006-02-24 Patrick Lam <plam@mit.edu>
267 * fontconfig/fontconfig.h:
269 Bump version to 2.3.94.
271 2006-02-24 Patrick Lam <plam@mit.edu>
276 2006-02-24 Patrick Lam <plam@mit.edu>
277 * conf.d/10-fonts-persian.conf:
279 Remove unconditional emboldening (per Behdad's instructions).
283 Add @s to hide some echos.
285 2006-02-24 Mike Fabian <mfabian@suse.de>
286 Takashi Iwai <tiwai@suse.de>
289 * src/fcfreetype.c (GetScriptTags):
291 Fix double-free on error case.
293 2006-02-21 Patrick Lam <plam@mit.edu>
294 * fc-lang/fc-lang.c (scan):
296 Strip \r and whitespace from input; fixes bug 3454.
298 2006-02-21 Patrick Lam <plam@mit.edu>
299 * fc-lang/fc-lang.c (main):
301 Allocate large arrays statically in fc-lang to fix crashes under
304 2006-02-21 Diego Petten <flameeyes@gentoo.org>
305 * src/fcfreetype.c (FcFreeTypeCharIndex):
307 Pass the buck; make fontconfig not crash on pango badness.
309 2006-02-21 Patrick Lam <plam@mit.edu>
310 * conf.d/10-fonts-persian.conf:
312 Use embeddedbitmap rather than rh_prefer_bitmap.
314 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
317 * src/fccache.c (FcDirCacheWrite):
318 * src/fcdir.c (FcFileScanConfig):
319 * src/fcfreetype.c (FcStringInPatternElement):
320 * src/fcxml.c (FcParseFamilies):
321 * src/ftglue.c (ftglue_face_goto_table):
323 Eliminate redundancies.
325 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
328 * fc-list/fc-list.c (main):
329 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
330 * src/fcstr.c (FcStrStr):
331 * src/fcxml.c (FcConfigSaveAttr):
333 Eliminate unused vars reported by Intel's compiler.
335 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
340 Remove one more archaic character.
342 2006-02-21 Ross Burton <ross@burtonini.com>
343 reviewed by: plam, keithp
345 * src/fcxml.c (FcParsePatelt):
347 Freeze patterns created by configuration file for tiny
348 memory savings (every little bit helps).
350 2006-02-21 Mike Fabian <mfabian@suse.de>
353 * fc-cat/fc-cat.c (main):
355 Initialize fontconfig library in fc-cat to avoid segfault.
357 2006-02-18 Patrick Lam <plam@mit.edu>
358 * fc-cache/fc-cache.c (scanDirs):
359 * src/fccache.c (FcCacheReadDirs):
360 * src/fcdir.c (FcDirScanConfig):
362 Fix the underlying cause of the below segfault (must usually
363 call FcDirCacheHasCurrentArch after FcDirCacheValid).
365 2006-02-18 Patrick Lam <plam@mit.edu>
366 * src/fccache.c (FcDirCacheHasCurrentArch):
368 Fix triggering of segfault caused by misreading cache files
369 (reported by fcrozat).
371 2006-02-17 Patrick Lam <plam@mit.edu>
372 * src/fcint.h (FC_CACHE_MAGIC):
374 Bump up magic version; we changed the binary format.
376 2006-02-17 Patrick Lam <plam@mit.edu>
377 * fc-cat/fc-cat.c (main):
379 Enable fc-cat to print out old-style cache info when given a
382 2006-02-16 Patrick Lam <plam@mit.edu>
383 * src/fccache.c (FcDirCacheHasCurrentArch):
385 Deal correctly with changing FC_CACHE_MAGIC.
387 2006-02-16 Patrick Lam <plam@mit.edu>
388 * fc-cache/fc-cache.c (usage, scanDirs, main):
390 Add -r --really-force option which blows away cache files and then
393 2006-02-16 Patrick Lam <plam@mit.edu>
394 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
396 Don't bail if fontconfig can't remove a dir cache file.
397 Skip the ID of a cache file when copying.
398 Eliminate 'source file too small' bug in FcDirCacheWrite.
400 2006-02-13 Patrick Lam <plam@mit.edu>
401 * src/fcfreetype.c (FcFreeTypeQuery):
403 Fix memory leak in error condition code.
405 2006-02-13 Mike Fabian <mfabian@suse.de>
407 * src/fcfreetype.c (FcFreeTypeQuery):
409 Skip bitmap fonts which can't even get it together enough to
410 declare a family name; this appears to reproduce previous
411 fontconfig behaviour.
413 2006-02-10 Takashi Iwai <tiwai@suse.de>
415 * src/fccache.c (FcDirCacheOpen):
417 Try to open /var/cache/fontconfig/[hashed name] before
418 fonts.cache-2 in a directory, because /var/cache/fontconfig
419 failures ought to be fixable, unlike fonts.cache-2 failures,
420 which may leave you screwed.
422 2006-02-10 Takashi Iwai <tiwai@suse.de>
424 * src/fcmatch.c (FcFontSetMatch):
426 Use a tri-state to mark the fonts which didn't get blocked but
427 were just missing an element, to distinguish them from the
428 fonts that do match the element.
430 2006-02-10 Takashi Iwai <tiwai@suse.de>
432 * src/fcmatch.c (FcFontSetMatch):
434 Don't kill fonts because they don't declare an element that's
437 2006-02-09 Patrick Lam <plam@mit.edu>
438 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
439 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
441 Define and pass O_BINARY to open if appropriate, for those
442 platforms that need it. Reported by Doodle.
444 2006-02-09 Patrick Lam <plam@mit.edu>
445 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
448 Fix problem with missing 'en' due to euro.patch: change
449 cache file format slightly to coincide with that generated
452 2006-02-07 Patrick Lam <plam@mit.edu>
453 * src/fccache.c (FcCacheReadDirs):
457 2006-02-07 Patrick Lam <plam@mit.edu>
458 * src/fcdir.c (FcDirScanConfig):
460 Don't reject dirs that can't be normalized (fixes lilypond, and
461 is correct in the context of application font directories.)
463 2006-02-07 Takashi Iwai <tiwai@suse.de>
466 * src/fccache.c (FcCacheReadDirs):
468 Use normalized directory name exclusively in FcCacheReadDirs.
470 2006-02-07 Dirk Mueller <dmueller@suse.com>
473 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
475 Perf optimizations. Inline FcValueCanonicalize,
476 reduce FcValueListPtrU usage, remove redundant cast.
478 2006-02-07 Takashi Iwai <tiwai@suse.de>
481 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
484 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
485 Declare extern for static arrays as arrays, not pointers.
486 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
488 2006-02-07 Dirk Mueller <dmueller@suse.com>
501 Add Euro sign to list of symbols required by European languages.
503 2006-02-07 Patrick Lam <plam@mit.edu>
504 * src/fccache.c (FcCacheReadString):
506 Fix hidden variable warning.
508 2006-02-07 Dirk Mueller <dmueller@suse.com>
511 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
513 Remove de-escaping logic because FcCacheWriteString
514 doesn't escape anyway. Do blockwise reading instead
515 of byte-wise for performance.
517 2006-02-06 Patrick Lam <plam@mit.edu>
518 Takashi Iwai <tiwai@suse.de>
520 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
522 Don't loop infinitely on recursive symlinks (client-side).
524 2006-02-06 Takashi Iwai <tiwai@suse.de>
526 * fc-cache/fc-cache.c (scanDirs, main):
528 Don't loop infinitely on recursive symlinks.
530 2006-02-06 Takashi Iwai <tiwai@suse.de>
532 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
533 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
534 FcGlobalCacheSave, FcCacheReadDirs):
537 Skip subdirs when skipping over stale bits of global cache.
538 Introduce state machine into FcGlobalCacheDir to avoid
539 doing inappropriate operations on global dir entries, e.g.
540 writing out an out-of-date cache entry.
542 2006-02-06 Takashi Iwai <tiwai@suse.de>
544 * src/fcdir.c (FcFileScanConfig):
546 Hoist FcFileIsDir check out of FcFileScanConfig loop.
548 2006-02-06 Takashi Iwai <tiwai@suse.de>
551 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
552 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
554 Don't rescan when trying to normalize a non-declared font dir.
555 Don't add font dirs multiple times (even if they're aliased).
557 2006-02-06 Dirk Mueller <dmueller@suse.de>
560 * src/fcfs.c (FcFontSetUnserialize):
562 Explain apples/oranges comparison and fix compilation error.
564 2006-02-06 Dirk Mueller <dmueller@suse.de>
567 * src/fcfs.c (FcFontSetUnserialize):
569 Insert check for integer overflow in # of fonts.
571 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
575 * fc-cache/Makefile.am:
576 * fc-cat/Makefile.am:
577 * fc-list/Makefile.am:
579 Make 'make distcheck' work with automake 1.6.3.
581 2006-02-03 Takashi IWAI <tiwai@suse.de>
584 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
587 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
588 FcDirCacheConsume, FcDirCacheWrite)
589 * src/fcxml.c (FcConfigMessage):
591 Check I/O call return values and eliminate unused variable
594 2006-02-03 Takashi Iwai <tiwai@suse.de>
597 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
601 2006-02-03 Dirk Mueller <dmueller@suse.de>
604 * src/fcfs.c (FcFontSetUnserialize):
606 Gracefully handle the case where a cache asserts that it
607 has a negative number of fonts, causing overflow.
609 2006-02-03 Patrick Lam <plam@mit.edu>
610 * src/fccache.c (FcDirCacheUnlink):
612 Fix double free in error case.
614 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
615 Stephan Kulow <coolo@suse.de>
618 * fc-cache/Makefile.am:
620 Replace 'stamp' target with mkinstalldirs.
622 2006-01-31 Mike Fabian <mfabian@suse.de>
625 * src/fccache.c (FcGlobalCacheLoad):
627 Toast broken global cache files.
629 2006-01-30 Patrick Lam <plam@mit.edu>
630 * src/fccache.c (FcGlobalCacheReadDir):
632 Actually use the directories that I added to the global cache.
635 2006-01-30 Mike Fabian <mfabian@suse.de>
638 * fc-cache/fc-cache.c (scanDirs):
640 Don't stop scanning if a directory in fonts.conf doesn't
641 exist, because subsequent directories might exist.
643 2006-01-30 Patrick Lam <plam@mit.edu>
644 * src/fccache.c (FcGlobalCacheLoad):
646 Make global cache work again after putting dir names into global
647 cache (I misplaced the recording of a file offset).
649 2006-01-30 Patrick Lam <plam@mit.edu>
650 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
652 Update fc-cat to handle subdir lists in global cache file.
654 * src/fccache.c (FcGlobalCacheLoad):
656 Another FcCacheReadString return value check.
658 2006-01-30 Mike Fabian <mfabian@suse.de>
661 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
662 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
664 Make fccache more resilient to broken cache files by checking
665 return value of FcCacheReadString all the time.
667 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
670 * fc-match/fc-match.1:
671 * fc-lang/fc-lang.man:
673 Remove references to dead fontconfig(3) manpages in
674 other fontconfig manpages.
676 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
679 * doc/fcpattern.fncs:
681 Fix world's tiniest typo in code example.
683 2006-01-29 Mike Fabian <mfabian@suse.de>
686 * src/fccache.c (FcGlobalCacheReadDir):
688 Fix global cache reads of subdirectories.
690 2006-01-29 Patrick Lam <plam@mit.edu>
692 Add documentation for FcConfigNormalizeFontDir.
694 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
695 FcGlobalCacheUpdate, FcGlobalCacheSave):
696 * src/fcdir.c (FcDirScanConfig):
699 Write directory information to global caches to fix make check
700 (reported by Ronny V. Vindenes). This changes the global cache
703 2006-01-27 Patrick Lam <plam@mit.edu>
704 * fc-cache/fc-cache.c (scanDirs):
705 * fontconfig/fontconfig.h:
707 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
709 Move FcConfigNormalizeFontDir call so that it doesn't result in
710 infinite recursion (reported by Ronny V. Vindenes).
712 2006-01-26 Patrick Lam <plam@mit.edu>
713 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
714 * src/fccfg.c (FcConfigNormalizeFontDir):
716 Add a couple of missing normalizations to make fc-cache work
717 right; only scan subdirectories once.
719 2006-01-26 Mike Fabian <mfabian@suse.de>
722 * src/fcacache.c (FcGlobalCacheReadDir):
724 Don't crash on non-existant directories in global cache.
726 2006-01-26 Patrick Lam <plam@mit.edu>
727 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
728 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
729 * src/fcdir.c (FcDirScanConfig):
730 * src/fcxml.c (FcEndElement):
732 Stop trampling the directory name when writing out caches.
733 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
734 subdirs when necessary. Don't scan directories that can't be
737 2006-01-25 Patrick Lam <plam@mit.edu>
738 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
739 * src/fccfg.c (FcConfigEvaluate):
740 * src/fcfreetype.c (FcPatternAddWithBinding):
742 Fix additional memory leaks reported by Ronny V. Vindenes: don't
743 invoke FcValueSave on hashed static strings in
744 FcPatternAddWithBinding.
746 Add another st_dev check in FcDirCacheOpen.
748 2006-01-24 James Su <james.su@gmail.com>
751 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
752 * fc-lang/zh_hk.orth:
754 Treat zh-hk fonts differently from zh-tw fonts. This patch may
755 cause fontconfig to treat A-X fonts differently from A-Y fonts;
756 please mail the fontconfig list if this causes any problems.
758 2006-01-24 Patrick Lam <plam@mit.edu>
759 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
760 * src/fcfreetype.c (FcFreeTypeQuery):
762 Fix memory leaks reported by Ronny V. Vindenes.
764 2006-01-19 Andreas Schwab <schwab@suse.de>
767 * src/fcpat.c (FcStrNeededBytes):
769 Fix for unaligned memory accesses.
771 2006-01-18 Mike Fabian <mfabian@suse.de>
774 * src/fcdir.c (FcDirScanConfig):
776 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
777 calls to avoid crashes.
779 2006-01-14 Patrick Lam <plam@mit.edu>
780 * src/fccache.c (FcDirCacheConsume):
782 Fix segfault when consuming zero-length caches in fc-cat
783 (which has no config, so FcConfigAddFontDir shouldn't be called.)
785 2006-01-14 Patrick Lam <plam@mit.edu>
786 * fc-cache/fc-cache.c (scanDirs):
787 * fontconfig/fontconfig.h:
788 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
789 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
790 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
791 * src/fcdir.c (FcDirScanConfig):
794 Compare device numbers as well as inodes.
795 Always normalize directory names before comparing them.
797 2006-01-11 Mike Fabian <mfabian@suse.de>
800 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
802 Allocate extra space for appended '/' in directory name.
804 2006-01-10 Patrick Lam <plam@mit.edu>
805 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
806 FcDirCacheValid, FcDirCacheHasCurrentArch,
807 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
808 * fc-cache/fc-cache.c (main):
810 Explicitly add font dirs to config.fontDirs even if they're empty.
811 Set current config in fc-cache.c.
812 Fix treatment of cache directory as read from cache file; don't
813 use string equality to determine if we have the right file,
816 2006-01-09 Patrick Lam <plam@mit.edu>
817 * fc-cache/fc-cache.c (scanDirs):
818 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
819 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
820 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
821 * src/fccfg.c (FcConfigNormalizeFontDir):
822 * src/fcdir.c (FcDirScanConfig):
825 Normalize font dirs by using the form, as given in fonts.conf, and
826 recorded in FcConfig's fontDirs string set, as canonical.
828 Actually update config.fontDirs as font directories are scanned.
830 2006-01-08 James Su <james.su@gmail.com>
831 * src/fcmatch.c (FcFontSetMatch):
833 Fix matching bug when multiple elements match; don't use
834 the sum of all scores, but the best score.
836 Also more perf opts, e.g. evaluate best over all font sets
837 rather than on a per-set basis (and other changes).
839 2006-01-08 Patrick Lam <plam@mit.edu>
840 * src/fccache.c (FcDirCacheConsume):
842 Properly skip past dir caches that contain zero fonts (as occurs
843 in global caches.) Reported by Mike Fabian.
845 2006-01-06 Patrick Lam <plam@mit.edu>
846 * src/fcdbg.c (FcPatternPrint):
848 Print out full pathname in fc-match -v as well. Reported by
851 2006-01-06 Mike Fabian <mfabian@suse.de>
854 * src/fcname.c (FcNameParse):
856 Fix bug where fc-match crashes when given __DUMMY__ property to
859 (I added the __DUMMY__ string to enable callers of
860 FcObjectToPtrLookup to distinguish an error return from a
861 successful return. -PL)
863 2006-01-05 Patrick Lam <plam@mit.edu>
866 Add self to AUTHORS list.
868 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
869 FcCacheFileRead, FcCachePrintSet, main):
870 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
871 FcGlobalCacheSave, FcCacheNextOffset,
872 FcDirCacheHasCurrentArch, FcDirCacheRead,
873 FcDirCacheConsume, FcDirCacheWrite):
875 * src/fcpat.c (comment):
877 Minor change to global cache file format to fix fc-cat bug
878 reported by Frederic Crozat, and buglet with not globally caching
879 directories with zero fonts cached.
881 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
884 * src/fccfg.c (FcConfigEvaluate):
886 Fix double-free which occurs because FcValueCanonicalize doesn't
887 create an extra copy of the returned value, it only canonicalizes
890 2006-01-02 Patrick Lam <plam@mit.edu>
891 * doc/fontconfig-user.sgml:
893 Fix version of .cache file (currently 1 -> currently 2). Reported
896 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
899 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
901 Shut up GCC warnings on amd.
903 2005-12-20 Patrick Lam <plam@mit.edu>
907 * fontconfig/fontconfig.h:
909 Bump version to 2.3.93.
911 2005-12-20 Patrick Lam <plam@mit.edu>
912 * src/fccharset.c (FcLangCharSetPopulate):
913 * src/fcint.h (FcCacheBankToIndex):
915 Avoid check on _fcBankId nullness and fix case where it used to
918 2005-12-20 Patrick Lam <plam@mit.edu>
919 * src/fcxml.c (FcConfigParseAndLoad):
921 Use open instead of fopen (requested by Phil Race for Sun).
923 2005-12-20 Patrick Lam <plam@mit.edu>
924 * src/fccache.c (FcDirCacheWrite);
925 * fc-cache/Makefile.am:
927 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
930 2005-12-20 Patrick Lam <plam@mit.edu>
931 * src/fcfreetype.c (FcFreeTypeQuery):
933 Restore code to skip over PCF fonts that have no encoded
935 (We guess that a font is PCF by presence of the PIXEL_SIZE
938 2005-12-12 Patrick Lam <plam@mit.edu>
939 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
941 Read and write the original location as a fallback for the
942 hashed cache file locations. This is mostly for users to be
943 able to have per-directory cache files.
945 2005-12-12 Patrick Lam <plam@mit.edu>
946 * fc-cache/fc-cache.c (scanDirs):
947 * fc-cache/Makefile.am:
948 * src/fccache.c (FcDirCacheHashName):
950 Improve error message when fc-cache can't write the cache. Add
951 missing slash. Reported by Behdad. Incorporate Behdad's patch to
952 create /var/cache/fontconfig when appropriate.
954 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
957 * src/fcxml.c (FcConfigGetAttribute):
959 Fix crash reported by Frederic Crozat when using libxml2.
961 2005-12-09 Patrick Lam <plam@mit.edu>
964 * fc-cache/Makefile.am:
965 * fc-cat/Makefile.am:
967 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
968 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
969 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
970 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
971 FcDirCacheHasCurrentArch, FcDirCacheHashName,
972 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
974 Migrate cache files from fonts directories to
975 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
976 but requires that all caches get rebuilt.
978 Also, autogen.sh now needs the additional parameter
979 --localstatedir=/var.
981 2005-12-07 Patrick Lam <plam@mit.edu>
982 * src/fcpat.c (FcPatternAddString):
984 Because we've changed FcPatternAddString to use FcStrStaticName
985 and not FcValueSave, explicitly handle the case of a null string.
987 2005-12-06 Patrick Lam <plam@mit.edu>
988 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
992 2005-12-05 Patrick Lam <plam@mit.edu>
993 * src/fcname.c (FcNameGetObjectType):
995 Don't assign types to user object names.
997 2005-12-05 Patrick Lam <plam@mit.edu>
998 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1000 Don't free strings that have been returned from FcStrStaticName.
1002 2005-12-01 Patrick Lam <plam@mit.edu>
1003 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1005 Add codepath for reading global cache files as well.
1007 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1010 * conf.d/10-fonts.persian.conf:
1011 * conf.d/Makefile.am:
1013 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1015 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1018 * src/fcxml.c (FcConfigParseAndLoad):
1020 Only add a config file to the set of config files once.
1022 2005-11-29 Patrick Lam <plam@mit.edu>
1023 * src/fcint.h (FcCacheBankToIndex);
1025 Fix segfault by guarding array dereference.
1027 2005-11-29 Dirk Mueller <dmueller@suse.de>
1030 * fc-lang/fc-lang.c:
1031 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1032 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1036 Refactor FcCacheBankToIndex into an inlineable part
1037 (in fcint.h) which checks the front of the list and a
1038 non-inlineable part which finds and moves the appropriate element
1039 to the front of the list.
1041 2005-11-29 Patrick Lam <plam@mit.edu>
1042 * src/fccfg.c (FcConfigBuildFonts):
1043 * src/fccache.c (FcCacheReadDirs):
1045 Make the perf guys hate me a bit less: hoist the directory-name
1046 FcConfigAcceptFont check for cached fonts up to directory cache
1047 read time, rather than running it for each font.
1049 2005-11-29 Patrick Lam <plam@mit.edu>
1050 * src/fccfg.c (FcConfigBuildFonts):
1052 * src/fcpat.c (FcPatternFindFullFname):
1054 Don't make FcPatternFindFullFname available to fccfg, it's not
1055 really safe. Instead go through FcPatternGetString (sorry,
1056 perf guys.) Also, use globs for dirs as well.
1058 2005-11-28 Patrick Lam <plam@mit.edu>
1059 * src/fccfg.c (FcConfigBuildFonts):
1063 2005-11-28 Patrick Lam <plam@mit.edu>
1065 * src/fcpat.c (FcPatternFindFullFname):
1066 * src/fccfg.c (FcConfigBuildFonts):
1068 Fix problem dating back at least to 2.3.2 where globs weren't
1069 being applied to patterns loaded from a cache.
1071 2005-11-28 Patrick Lam <plam@mit.edu>
1072 * doc/fontconfig-user.sgml:
1074 Fix some obvious spelling mistakes.
1076 2005-11-28 Dirk Mueller <dmueller@suse.com>
1077 Stephan Kulow <coolo@suse.de>
1080 * src/fcmatch.c (FcFontSetMatch):
1082 Don't kill all fonts during match (oops!)
1085 2005-11-25 Dirk Mueller <dmueller@suse.com>
1086 Stephan Kulow <coolo@suse.de>
1087 Michael Matz <matz@suse.de>
1090 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1093 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1094 inline FcCompare into FcFontSetMatch and reorder the
1095 loops, adding a boolean array which blocks patterns from future
1096 consideration if they're known to not be best on some past
1099 2005-11-26 Dirk Mueller <dmueller@suse.com>
1102 * src/fcmatch.c (FcCompareValueList):
1104 Fix incorrect merge.
1106 2005-11-25 Patrick Lam <plam@mit.edu>
1107 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1109 Don't do random matching when bad objects are passed into
1112 2005-11-25 Patrick Lam <plam@mit.edu>
1114 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1115 FcPatternSerialize, FcPatternUnserialize,
1116 FcValueListEnsureBank, FcValueListDistributeBytes,
1117 FcValueListUnserialize):
1119 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1120 _fcPatternElts, _fcValueLists for consistency.
1122 2005-11-25 Dirk Mueller <dmueller@suse.com>
1127 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1129 2005-11-25 Patrick Lam <plam@mit.edu>
1131 * src/fccache.c (FcDirCacheConsume):
1132 * src/fccharset.c (FcCharSetUnserialize):
1133 * src/fcfs.c (FcFontSetUnserialize):
1134 * src/fclang.c (FcLangSetUnserialize):
1135 * src/fcname.c (FcObjectUnserialize):
1136 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1137 FcPatternUnserialize):
1139 Pass around FcCache *s to the Unserialize functions for extra
1140 consistency (and less overhead, for what that's worth).
1142 2005-11-24 Dirk Mueller <dmueller@suse.com>
1146 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1147 * src/fcname.c (FcNameUnparseValue):
1149 Inline the *PtrU functions to gain perf.
1150 Remove unneeded params for the FcCompare* functions.
1152 2005-11-24 Dirk Mueller <dmueller@suse.com>
1155 * src/fcint.h, fontconfig/fontconfig.h:
1157 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1159 * src/fcpat.c, src/fcint.h, src/fcname.c:
1161 Check for type validity during FcPatternAddWithBinding, don't
1162 verify type in FcFontMatch, don't call FcCanonicalize here
1163 (which always does a deep copy).
1165 2005-11-24 Dirk Mueller <dmueller@suse.com>
1168 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1169 * src/fcpat.c (FcPatternAddWithBinding):
1171 Make FcCompareString and FcCompareFamily less expensive.
1172 Only add a value for FC_FAMILY if the proposed value is a string.
1174 2005-11-24 Dirk Mueller <dmueller@suse.com>
1177 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1178 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1179 * src/fcint.h (FcDebug):
1181 Inline FcDebug invocations and only initialize once, in FcInit*.
1182 Improve debug msg in FcPatternPrint.
1184 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1187 * fontconfig/fontconfig.h:
1190 Minor code warning cleanups.
1192 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1195 * fc-match/fc-match.c (main):
1197 Make getopt_long accept -s parameter to fc-match as well.
1199 2005-11-21 Dirk Mueller <dmueller@suse.com>
1202 * src/fcmatch.c (FcCompareValueList):
1204 Manually perform inlining & partial redundancy elimination to
1205 reduce calls to FcValueListPtrU.
1207 2005-11-21 Dirk Mueller <dmueller@suse.com>
1210 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1211 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1213 Only invoke strlen() when really necessary.
1215 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1219 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1220 FcFontCapabilities):
1224 Get rid of the use of freetype internal headers in fcfreetype.c,
1225 since those headers will go away with freetype 2.2. Replace with
1226 public domain ftglue code from pango. Note that the patch removes
1227 some extra error checking in FT_Get_BDF_Property() and comments
1228 out the skipping of empty pcf fonts.
1230 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1233 * fc-lang/fc-lang.c (main):
1235 Further fix of patch from 2005-11-04: miscounted numbers count
1236 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1237 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1239 Removed leafidx_count and numbers_count since they are the same
1240 and replaced them with offset_count.
1242 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1245 * fc-cat/fc-cat.c (main):
1247 Don't crash when fc-cat invoked with no arguments.
1249 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1252 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1254 Fix invalid read access caused by premature free and
1255 GCC4 warnings in libxml2 codepath.
1257 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1260 * src/fccfg.c (FcConfigValues):
1262 List iteration not needed in FcConfigValues, since it's building
1263 up the list itself; we can just strip FcVoid elements during
1266 2005-11-17 Patrick Lam <plam@mit.edu>
1267 * src/fccfg.c (FcConfigValues):
1269 Fix crash on invalid constants in config files (forgot to update
1270 a pointer upon list iteration.)
1272 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1275 * src/fcxml.c (FcTypecheckExpr):
1277 Complain about invalid constants in config files.
1279 2005-11-17 Andreas Schwab <schwab@suse.de>
1282 * src/fccache.c (FcGlobalCacheSave):
1284 Don't add current_arch_start more than once.
1286 2005-11-16 Patrick Lam <plam@mit.edu>
1287 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1288 * src/fcfs.c (FcFontSetUnserialize):
1289 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1290 * src/fcpat.c (FcStrUnserialize):
1292 Fix ordering of ALIGN with respect to saving block_ptr; add
1293 another ALIGN to fcfs.c.
1295 2005-11-16 Patrick Lam <plam@mit.edu>
1296 * src/fccache.c (FcDirCacheProduce)
1298 Fix case where alignment bytes bumped up metadata->count
1299 causing unwarranted failures to write cache files.
1300 (Reported by Stephan Kulow).
1302 2005-11-16 Patrick Lam <plam@mit.edu>
1303 * src/fccache.c (FcDirCacheProduce):
1304 * src/fccharset.c (FcCharSetDistributeBytes):
1305 * src/fcfs.c (FcFontSetDistributeBytes):
1307 * src/fclang.c (FcLangSetDistributeBytes):
1308 * src/fcname.c (FcObjectDistributeBytes):
1309 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1312 Add *NeededBytesAlign(), which overestimates the padding which is
1313 later added by the new ALIGN macro. Fix alignment problems on
1314 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1315 version by Andreas Schwab).
1317 2005-11-16 Stephan Kulow <coolo@kde.org>
1322 Use sysconf to determine proper PAGESIZE value; this
1323 appears to be POSIX-compliant. (reported by Andreas Schwab)
1325 2005-11-04 Patrick Lam <plam@mit.edu>
1326 * fc-lang/fc-lang.c:
1331 Fix bug 2878 (excessive relocations at startup for charsets,
1332 reported by Ross Burton): fc-lang/fc-lang now creates the
1333 static form of the langset, not the dynamic form, so that
1334 the charsets should now be in .rodata.
1336 2005-11-04 Patrick Lam <plam@mit.edu>
1337 * src/fcdir.c (FcDirScanConfig):
1339 Add test for validity of directory caches that
1340 somehow got lost (reported by make distcheck).
1342 2005-11-04 Patrick Lam <plam@mit.edu>
1346 * fontconfig/fontconfig.h:
1348 Bump version to 2.3.92.
1350 2005-11-02 Patrick Lam <plam@mit.edu>
1351 * src/fcpat.c (FcPatternDuplicate):
1353 Fix argument ordering problem in call to FcPatternTransferFullFname.
1355 2005-11-02 Patrick Lam <plam@mit.edu>
1356 * src/fcfreetype.c (FcFreetypeQuery):
1357 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1358 FcPatternTransferFullFname):
1360 Fix warnings and embarrassing double-free error.
1362 2005-11-02 Zhe Su <zsu@novell.com>
1367 Change the rule for artificial emboldening in fonts.conf.in. This
1368 enables the support for artificial emboldening included in cairo.
1370 2005-11-02 Patrick Lam <plam@mit.edu>
1371 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1373 Don't zero out full names for FC_REF_CONSTANT fonts;
1374 also, duplicate full names when transferring, and free
1375 full names when freeing the associated font.
1376 Reported by Jinghua Luo.
1378 2005-11-02 Patrick Lam <plam@mit.edu>
1379 * fc-cache/fc-cache.c (scanDirs):
1380 * src/fcpat.c (FcValueListSerialize):
1382 Revert the previous patch and commit the correct patch:
1383 I forgot a canonicalization in FcValueListSerialize, so
1384 that it would choke on already-serialized input files. Duh!
1386 2005-11-02 Patrick Lam <plam@mit.edu>
1387 * fc-cache/fc-cache.c (scanDirs):
1389 Forcibly rescan a directory before writing a fresh local
1390 cache file for that directory, fixing the losing-fonts
1391 problem reported by Mike Fabian and also apparently the
1392 font cache file corruption.
1394 2005-11-02 Patrick Lam <plam@mit.edu>
1395 * src/fccache.c (FcGlobalCacheLoad):
1397 Fix thinko: actually, the whole global cache is stale
1398 if the global cache is older than the (newest) config file.
1400 2005-11-02 Patrick Lam <plam@mit.edu>
1401 * src/fccache.c (FcGlobalCacheLoad):
1402 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1405 Declare the global cache of a directory's contents to be stale if
1406 the directory is newer than the (newest) configuration file.
1408 2005-10-31 Patrick Lam <plam@mit.edu>
1410 * src/fclist.c (FcListAppend):
1411 * src/fcmatch.c (FcFontRenderPrepare):
1412 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1413 FcPatternFreeze, FcPatternBaseFreeze):
1415 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1416 applications continue breaking.
1418 2005-10-31 Patrick Lam <plam@mit.edu>
1419 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1420 * src/fcfreetype.c (FcFreeTypeQuery):
1422 Fix small memory error (tried to free argv); use basename and
1423 dirname correctly (they can modify their arguments).
1425 2005-10-31 Patrick Lam <plam@mit.edu>
1433 Reinstate basename patch, but keep a hash table linking FcPatterns
1434 to their fully-qualified font names for clients' benefit. Clients
1435 only pay for the font names once they request the FC_FILE property
1436 from an FcPattern, but the font name is malloc'd at that point (i.e.
1437 not mmapped: that's impossible, since it may vary between machines.)
1438 Clients do have to pay for a copy of the path name per cache file.
1440 Note that FcPatternGetString now does some rewriting if you ask
1441 for an FC_FILE, appending the pathname as appropriate.
1443 2005-10-31 Patrick Lam <plam@mit.edu>
1444 * src/fcfreetype.c (FcFreeTypeQuery):
1446 Revert basename patch, which breaks fontconfig clients on my system.
1448 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1451 * fontconfig/fonts.conf.in:
1452 * fontconfig/fontconfig.h:
1456 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1457 to load embedded bitmaps or not.
1459 2005-10-25 Patrick Lam <plam@mit.edu>
1460 * src/fcfreetype.c (FcFreeTypeQuery):
1462 Only add basename to patterns' FC_FILE element, not any part of
1465 2005-10-22 Patrick Lam <plam@mit.edu>
1468 Add some more consts, fixing more GCC4 warnings.
1470 2005-10-22 Zhe Su <zsu@novell.com>
1473 Support localized font family and style names.
1474 This has been reported to break old apps like xfd, but modern
1475 (gtk+/qt/mozilla) apps work fine.
1477 2005-10-21 Patrick Lam <plam@mit.edu>
1478 * src/fccache.c (FcGlobalCacheLoad):
1480 Destroy the global cache file if it's terminally broken. (reported by
1483 2005-10-21 Patrick Lam <plam@mit.edu>
1484 * fc-list/fc-list.c (main):
1485 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1486 * fontconfig/fontconfig.h:
1488 Prevent fc-list from escaping strings when printing them (reported by
1491 2005-10-20 Marcus Meissner <meissner@suse.de>
1494 * fontconfig/fontconfig.h:
1496 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1498 2005-10-14 Ross Burton <ross@burtonini.com>
1501 * fc-glyphname/fc-glyphname.c:
1504 Add consts to variables so as to move arrays into .rodata.
1506 2005-10-14 Mike Fabian <mfabian@suse.de>
1509 * src/fccache.c (FcDirCacheUnlink):
1511 Check existence of directory cache file before attempting to unlink.
1513 2005-10-13 Patrick Lam <plam@mit.edu>
1514 * src/fccache.c (FcDirCacheUnlink):
1516 Fix flipped return value on unlink. (Reported by Mike Fabian)
1518 2005-10-12 Patrick Lam <plam@mit.edu>
1521 * src/fcdir.c (FcDirScanConfig):
1524 When fc-cache is run without --force, use directory cache files
1525 to speed up fc-cache run time. (Reported by Mike Fabian)
1527 2005-10-06 Patrick Lam <plam@mit.edu>
1529 * src/fcname.c (FcObjectToPtr):
1530 * src/fcpat.c (FcStrStaticName):
1532 Add padding to make valgrind and glibc not hate each other
1533 when calling strlen().
1535 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1536 reviewed by: plam & keithp
1540 Modify config file to use Greek fonts before Asian fonts with
1543 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1544 reviewed by: plam & keithp
1548 Use libtool -no-undefined flag on all platforms.
1550 2005-10-05 Patrick Lam <plam@mit.edu>
1551 * src/fccache.c (FcCacheHaveBank):
1553 Implement move-to-front array for banks (perf regression
1554 reported by Ronny V. Vindenes).
1556 2005-10-04 Patrick Lam <plam@mit.edu>
1557 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1558 FcDirCacheHasCurrentArch):
1559 * fc-cache/fc-cache.c (scanDirs):
1560 * fontconfig/fontconfig.h:
1562 Add new API which unlinks directory caches and checks dir caches
1563 for existence of appropriate sections. Fix fc-cache to unlink
1564 stale cache files and save directory caches that lack relevant
1567 2005-10-03 Patrick Lam <plam@mit.edu>
1568 * src/fccache.c (FcDirCacheValid):
1570 Ensure that a directory cache has the appropriate section
1571 before reporting that it is valid (reported by Matthias Clasen).
1573 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1581 Use libxml2 if requested (with --enable-libxml2) or if
1582 expat is not available.
1584 2005-09-29 Patrick Lam <plam@mit.edu>
1585 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1587 Fix multi-arch cache files: compute the position for the
1588 block to be added using info from OrigFile, not NewFile.
1590 2005-09-28 Patrick Lam <plam@mit.edu>
1591 * src/fccache.c (FcCacheMachineSignature):
1593 Cast results of sizeof() to unsigned int to get rid of
1594 warnings on x86_64 (thanks Matthias Clasen).
1596 2005-09-27 Patrick Lam <plam@mit.edu>
1597 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1600 Use FcAtomic to rewrite cache files.
1602 2005-09-27 Patrick Lam <plam@mit.edu>
1604 * src/fccache.c (FcDirCacheWrite):
1606 Don't unlink the fonts.cache-2 file even if there's no data
1607 to write; just write an empty cache file. (thanks Lubos Lunak)
1609 2005-09-27 Patrick Lam <plam@mit.edu>
1611 * src/fccache.c (FcDirCacheWrite):
1613 Allocate room for the subdirectory names in each
1614 directory cache. Thanks to James Cloos for finding
1615 and diagnosing this bug!
1617 2005-09-22 Patrick Lam <plam@mit.edu>
1619 * fc-cache/fc-cache.sgml:
1620 * src/fccache.c (FcDirCacheWrite):
1621 * src/fccache.h (struct FcCache):
1623 Update documentation -- fc-cache's man page now says that you
1624 need to run fc-cache once per cached architecture; add some
1625 documentation to the FcCache structure.
1627 Make fc-cache write out fonts.cache-2 files for directories with
1628 no fonts (i.e. only subdirectories).
1630 2005-09-22 Patrick Lam <plam@mit.edu>
1632 * fc-cache/fc-cache.sgml:
1633 * fc-case/fc-case.c:
1634 * fc-glyphname/fc-glyphname.c:
1640 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1644 * fc-lang/fc-lang.c:
1645 * fontconfig/fcprivate.h:
1646 * fontconfig/fontconfig.h:
1660 Implement new mmaped cache for font information.
1661 Bump so revision to 2.3.90.
1663 2005-07-25 Keith Packard <keithp@keithp.com>
1665 * doc/fontconfig-user.sgml:
1666 * fc-glyphname/fc-glyphname.c: (scan), (main):
1667 * fc-lang/fc-lang.c: (FcConfigHome):
1668 * fc-match/fc-match.c: (main):
1669 * src/fccfg.c: (FcConfigHome):
1670 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1671 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1672 (addtag), (FcFontCapabilities):
1673 * src/fcpat.c: (FcValueListEntCreate):
1674 * src/fcstr.c: (FcStrCaseWalkerInit):
1675 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1677 Various GCC 4 cleanups for signed vs unsigned char
1679 Match only [0-9]*.conf files in <include>{directory}</include>
1680 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1682 2005-07-15 Carl Worth <cworth@cworth.org>
1685 * src/fcinit.c: (FcFini):
1686 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1689 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1690 Pull the FcObjectStateName hash table out to file scope, and add
1691 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1694 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1697 2005-06-16 Patrick Lam <plam@MIT.EDU>
1701 * src/fccfg.c: (FcConfigCompareValue):
1702 Make FcOpNotContains use FcStrStr for strings so that
1703 it matches semantics for !FcOpContains.
1705 2005-05-20 Keith Packard <keithp@keithp.com>
1709 Move fontconfig source package to libs as per override
1711 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1713 reviewed by: Mike Fabian
1716 The ka.orth file requires several characters which are not
1717 used anymore in modern Georgian and which are missing in the free
1718 Georgian TrueType fonts downloadable at:
1720 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1722 2005-04-27 Keith Packard <keithp@keithp.com>
1726 Update date to real 2.3.2 release date.
1727 Fix change attributions
1729 2005-04-27 Keith Packard <keithp@keithp.com>
1732 Bump so revision for 2.3.2
1733 * fc-cache/fc-cache.c: (scanDirs):
1734 Fix a few minor leaks in error cases.
1736 2005-04-23 Keith Packard <keithp@keithp.com>
1741 * fontconfig/fontconfig.h:
1742 Update for version 2.3.2
1744 2005-04-21 Keith Packard <keithp@keithp.com>
1746 * debian/fontconfig.postinst:
1747 Don't force bitmap font enable in default
1748 configuration; allows users to override this in
1758 * debian/po/pt_BR.po:
1759 * debian/po/templates.pot:
1761 * debian/po/zh_CN.po:
1762 Updated translations
1764 * fc-cache/fc-cache.c: (main):
1765 Destroy font configuration on exit to help valgrind
1768 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1769 (FcFreeTypeCheckGlyph):
1770 Use own transcoding routines in preference to iconv
1771 which appears to have leaks in some translators.
1772 Call iconv_close after using iconv (oops).
1774 Prefer unicode encoding of Euro char as some
1775 fonts mis-encode Euro in other ones.
1777 Must fetch bitmap glyphs to get width values
1778 to check for monospace/dual-width fonts.
1780 2005-04-13 Ross Burton <ross@burtonini.com>
1783 Check that a pattern isn't already frozen in FcPatternFreeze.
1785 2005-03-31 Ross Burton <ross@burtonini.com>
1790 Run all FcPattern objects through FcObjectStaticName, so that
1791 compares can be done on pointers instead of strings (#2659)
1793 2005-03-17 Tor Lillqvist <tml@novell.com>
1795 * src/fontconfig.def.in: Add the .dll to the dll name.
1797 2005-03-10 Keith Packard <keithp@keithp.com>
1799 * debian/README.Debian:
1800 Update to reflect configuration changes
1802 * debian/fontconfig.postinst:
1803 Fix Autohint vs Autohinter mistake
1804 * debian/fontconfig.templates:
1805 Adopt changes from Josselin Mouette for configuration descriptions
1806 Update debian to version 2.3.1-2
1808 2005-03-08 Keith Packard <keithp@keithp.com>
1812 Update debian for 2.3.1
1814 2005-03-09 Tor Lillqvist <tml@novell.com>
1816 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1819 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1822 2005-03-08 Keith Packard <keithp@keithp.com>
1826 * fontconfig/fontconfig.h:
1829 2005-03-05 Keith Packard <keithp@keithp.com>
1831 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1832 Include space and remove numbers from valid script tags.
1833 This ensures that tags like 'lao ' work while rejecting
1834 those which have any digits.
1835 Eliminate a spurious debugging variable (len)
1837 2005-03-05 Keith Packard <keithp@keithp.com>
1839 * src/fcfreetype.c: (addtag), (GetScriptTags),
1840 (FcFontCapabilities):
1841 Rework GSUB/GPOS script parsing to survive broken fonts.
1842 Thanks for the broken font go to Manish Singh
1844 2005-03-05 Keith Packard <keithp@keithp.com>
1849 * debian/fontconfig.config:
1850 * debian/fontconfig.templates:
1852 Include 2.3 release information in changelog
1853 Add Josselin Mouette as an Uploader
1854 Set hinting_type to low priority configuration option
1857 * debian/fontconfig.postinst:
1858 yes_bitmaps.conf -> yes-bitmaps.conf
1864 2005-03-02 Keith Packard <keithp@keithp.com>
1867 * conf.d/Makefile.am:
1868 * conf.d/autohint.conf:
1869 * conf.d/no-sub-pixel.conf:
1870 * conf.d/sub-pixel.conf:
1871 * conf.d/unhinted.conf:
1872 * debian/autohint.conf:
1873 * debian/fontconfig.install:
1874 * debian/fontconfig.postinst:
1875 * debian/fontconfig.templates:
1876 * debian/no-sub-pixel.conf:
1877 * debian/unhinted.conf:
1878 Move debian-specific conf file examples upstream.
1880 Sub-pixel configuration examples must smash subpixel value
1881 as Xft always sets it from X.
1883 Change sub-pixel rendering debconf descriptions from
1884 Enable/Disable to Always/Never.
1886 2005-03-02 Keith Packard <keithp@keithp.com>
1889 * conf.d/.cvsignore:
1891 Ignore more build detritus
1894 Add debian package construction stuff.
1896 * config/config.guess:
1897 * config/config.sub:
1898 Update to newer versions of these tools
1901 Get library manuals to build again (we love automake).
1903 * debian/README.Debian:
1904 * debian/autohint.conf:
1909 * debian/fontconfig-udeb.install:
1910 * debian/fontconfig.config:
1911 * debian/fontconfig.defoma:
1912 * debian/fontconfig.dirs:
1913 * debian/fontconfig.install:
1914 * debian/fontconfig.postinst:
1915 * debian/fontconfig.postrm:
1916 * debian/fontconfig.templates:
1917 * debian/libfontconfig1-dev.install:
1918 * debian/libfontconfig1.install:
1919 * debian/local.conf.md5sum:
1920 * debian/no-sub-pixel.conf:
1921 * debian/po/POTFILES.in:
1930 * debian/po/pt_BR.po:
1931 * debian/po/templates.pot:
1933 * debian/po/zh_CN.po:
1935 * debian/unhinted.conf:
1936 Update debian build system to switch maintainers and
1937 deal with 2.3 functionality
1939 2005-03-01 Keith Packard <keithp@keithp.com>
1943 * fontconfig/fontconfig.h:
1946 2005-03-01 Keith Packard <keithp@keithp.com>
1949 Generate and install PDF versions of the manuals
1951 * doc/fcpattern.fncs:
1954 * doc/fcstring.fncs:
1955 Add missing exported functions, fix data types
1957 * doc/fontconfig-devel.sgml:
1958 Add missing pattern elements.
1960 * doc/fontconfig-user.sgml:
1961 Add missing pattern elements. Document conf.d usage,
1962 clarify available orthography list. Fix some config file
1963 attributes. Complete list of constants.
1965 * fontconfig/fontconfig.h:
1966 Mark FC_SOURCE deprecated.
1968 * src/fcfreetype.c: (FcFreeTypeQuery):
1969 Don't set FC_SOURCE any longer.
1971 2005-02-28 Keith Packard <keithp@keithp.com>
1974 * conf.d/Makefile.am:
1976 * conf.d/no-bitmaps.conf:
1977 * conf.d/sub-pixel.conf:
1978 * conf.d/yes-bitmaps.conf:
1980 Create prototype /etc/fonts/conf.d directory with a few
1981 sample configuration files.
1982 Deprecate use of local.conf for local customizations in favor of
1983 this directory based scheme which is more easily integrated into
1984 installation systems.
1987 Tag FC_EMBOLDEN as a boolean variable
1989 2005-02-10 Keith Packard <keithp@keithp.com>
1991 reviewed by: pborelli@katamail.com
1993 * src/fcdir.c: (FcFileScanConfig):
1994 Free patterns from fonts which are rejected by configuration
1997 2005-01-28 Keith Packard <keithp@keithp.com>
2001 * fontconfig/fontconfig.h:
2002 Update for version 2.2.99
2004 2005-01-28 Keith Packard <keithp@keithp.com>
2007 Add a few pointers (#2284, #2285)
2009 2005-01-28 Keith Packard <keithp@keithp.com>
2012 * src/fcname.c: (FcNameBool):
2013 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2014 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2015 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2016 Polite typechecking for test and edit expressions. Helps
2017 catch errors in the font configuration. (bug 229)
2019 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2021 reviewed by: Keith Packard <keithp@keithp.com>
2024 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2026 2005-01-13 Keith Packard <keithp@keithp.com>
2028 * doc/fontconfig-user.sgml:
2029 Add SEE ALSO section (bug 2085)
2031 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2033 reviewed by: Keith Packard <keithp@keithp.com>
2038 * fc-case/Makefile.am:
2039 * fc-glyphname/Makefile.am:
2040 * fc-lang/Makefile.am:
2041 * src/fontconfig.def.in:
2042 Cross compiling fixes (bug 280)
2044 2005-01-13 Keith Packard <keithp@keithp.com>
2047 Update blanks list (Closes bug 86)
2049 2005-01-04 Keith Packard <keithp@keithp.com>
2051 * src/fccache.c: (FcCacheFontSetAdd):
2052 Verify that every font pattern loaded from cache has
2053 both FC_FILE and FC_FAMILY entries.
2054 Attempt to fix bug #2219.
2056 2004-12-29 Keith Packard <keithp@keithp.com>
2060 * fontconfig/fontconfig.h:
2061 Update for version 2.2.98
2063 2004-12-29 Keith Packard <keithp@keithp.com>
2065 * fontconfig/fontconfig.h:
2066 Document ASCII limitations of Fc character conversion macros
2067 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2068 Fix off-by-one error in utf-8 case walking code.
2069 Add FcStrDowncase (useful for testing case conversion functions)
2071 2004-12-29 Keith Packard <keithp@keithp.com>
2074 * fc-case/.cvsignore:
2075 clean up CVS ignore lists
2076 * fc-lang/iso-3166.txt:
2077 Add territory database
2079 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2081 Reviewed by: Keith Packard
2084 Remove Han characters from Korean orthography
2086 2004-12-29 Keith Packard <keithp@keithp.com>
2089 Reorder utility programs to make sure fc-case is run before fc-lang
2090 as fc-lang uses fcstr.c which uses fccase.h
2094 2004-12-29 Keith Packard <keithp@keithp.com>
2097 Adopt some RedHat suggestions for standard font configuration.
2101 * fc-case/CaseFolding.txt:
2102 * fc-case/Makefile.am:
2103 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2104 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2105 (dump), (parseRaw), (caseFoldReadRaw), (main):
2106 * fc-case/fccase.tmpl.h:
2107 Add new helper program 'fc-case' to construct case folding
2108 tables from standard Unicode CaseFolding.txt file
2111 * src/fclist.c: (FcListValueHash):
2112 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2113 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2114 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2115 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2116 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2117 Re-implement case insensitive functions with Unicode
2118 aware versions (including full case folding mappings)
2120 2004-12-13 Keith Packard <keithp@keithp.com>
2122 reviewed by: Owen Taylor <otaylor@redhat.com>
2124 * src/fcmatch.c: (FcFontSetSort):
2125 I changed FcFontSetSort to respect the generic aliases better
2126 in the face of language matching.
2128 What I did was to ammend the strict sort order used by FcFontSort so
2129 that it 'satisfies' the language specified in the pattern by locating
2130 the best matching font supporting each pattern language and then
2131 ignores language in the remaining fonts for purposes of matching.
2133 So, when asking for 'sans:lang=en', you'll get an English font first,
2134 and then the remaining fonts sorted with respect to the 'sans' alias
2135 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2137 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2139 reviewed by: Keith Packard <keithp@keithp.com>
2141 * fontconfig/fontconfig.h:
2144 Configuration changes to request synthetic emboldening of
2145 fonts. The actual emboldening code will live in Xft.
2147 2004-12-09 John Thacker <thacker@math.cornell.edu>
2149 reviewed by: Keith Packard <keithp@keithp.com>
2153 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2154 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2155 и), and don't even appear in KOI8-R. (The hypothesis that they
2156 don't appear in KOI8-R due to their similarity with Latin I and i is
2157 eliminated by their presence in KOI8-U.) I have a couple of fonts
2158 with Russian support that don't have the letter.
2160 Therefore, 0406 and 0456 should be removed from or commented out of
2163 2004-12-06 michael meeks <mmeeks@novell.com>
2165 Reviewed by: Keith Packard <keithp@keithp.com>
2167 * src/fcinit.c: (FcMemReport):
2169 * src/fclist.c: (FcObjectSetAdd):
2170 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2171 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2172 * src/fcxml.c: (FcParsePatelt):
2173 memoize strings and share a single copy for all uses. Note that
2174 this could be improved further by using statically allocated blocks
2175 and gluing multiple strings together, but I'm basically lazy.
2176 In my environment with 800 font files, I get a savings of about 90KB.
2178 2004-12-06 Keith Packard <keithp@keithp.com>
2182 * config/Makedefs.in:
2185 * doc/fcatomic.fncs:
2186 * doc/fcblanks.fncs:
2187 * doc/fccharset.fncs:
2188 * doc/fcconfig.fncs:
2189 * doc/fcconstant.fncs:
2191 * doc/fcfontset.fncs:
2192 * doc/fcfreetype.fncs:
2194 * doc/fcmatrix.fncs:
2195 * doc/fcobjectset.fncs:
2196 * doc/fcobjecttype.fncs:
2197 * doc/fcpattern.fncs:
2198 * doc/fcstring.fncs:
2199 * doc/fcstrset.fncs:
2201 * doc/fontconfig-devel.sgml:
2202 * doc/fontconfig-user.sgml:
2204 * doc/version.sgml.in:
2205 * fc-cache/Makefile.am:
2206 * fc-cache/fc-cache.c:
2207 * fc-glyphname/Makefile.am:
2208 * fc-glyphname/fc-glyphname.c:
2209 * fc-glyphname/fcglyphname.tmpl.h:
2210 * fc-lang/Makefile.am:
2220 * fc-lang/az_ir.orth:
2254 * fc-lang/fc-lang.c:
2255 * fc-lang/fc-lang.man:
2256 * fc-lang/fclang.tmpl.h:
2301 * fc-lang/ku_ir.orth:
2334 * fc-lang/ps_af.orth:
2335 * fc-lang/ps_pk.orth:
2364 * fc-lang/ti_er.orth:
2365 * fc-lang/ti_et.orth:
2391 * fc-lang/zh_cn.orth:
2392 * fc-lang/zh_hk.orth:
2393 * fc-lang/zh_mo.orth:
2394 * fc-lang/zh_sg.orth:
2395 * fc-lang/zh_tw.orth:
2397 * fc-list/Makefile.am:
2398 * fc-list/fc-list.c:
2399 * fc-match/Makefile.am:
2400 * fc-match/fc-match.1:
2401 * fc-match/fc-match.c:
2402 * fontconfig/fcfreetype.h:
2403 * fontconfig/fcprivate.h:
2404 * fontconfig/fontconfig.h:
2425 Change files from ISO-Latin-1 to UTF-8
2427 2004-12-04 Keith Packard <keithp@keithp.com>
2430 Update links to new freedesktop.org locations
2432 Add uninstall-local to get rid of fonts.conf and local.conf if they
2433 match the distributed versions. Fixes 'make distcheck'
2435 2004-12-04 Keith Packard <keithp@keithp.com>
2439 * fontconfig/fontconfig.h:
2440 Updates for version 2.2.97
2442 2004-12-04 Owen Taylor <otaylor@redhat.com>
2444 reviewed by: Keith Packard <keithp@keithp.com>
2446 * fc-cache/fc-cache.c: (main):
2447 Sleep for two seconds before exiting to make sure timestamps
2448 for future changes have distinct mod times in the file system.
2451 Add Punjabi orthography. Bug #1671.
2453 2004-12-04 Keith Packard <keithp@keithp.com>
2456 Just remove the FC_FONTDATE -- it has locale issues and
2457 annoys redhat multi-arch installs. Now that all X fonts are
2458 included without prejudice, the chances of the date being at
2459 all interesting are rather limited. Bug #505.
2461 Add copyright and license
2463 2004-12-04 Keith Packard <keithp@keithp.com>
2466 Change default set of fonts to include all of
2467 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2468 * doc/fontconfig-user.sgml:
2469 Document new <include>directory-name</include> semantics
2471 add <include ignore_missing="yes">conf.d</include>
2473 Add selectfont to ignore bitmap fonts, add comment for
2474 selectfont which accepts bitmap fonts.
2477 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2478 Allow <include> configuration elements to reference directories.
2479 Parse and load all files of the form [0-9]* in sorted order.
2481 2004-12-04 Keith Packard <keithp@keithp.com>
2484 Report command line for $srcdir/configure accurately.
2487 2004-12-04 Keith Packard <keithp@keithp.com>
2489 * src/fcfreetype.c: (FcFreeTypeQuery):
2490 Check for non-empty face->family_name and face->style_name
2491 before using those for the font. Empty names match everything.
2494 2004-12-04 Keith Packard <keithp@keithp.com>
2497 * fontconfig/fontconfig.h:
2498 * src/fcfreetype.c: (FcFreeTypeQuery):
2500 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2501 available. This provides font file format information (BDF, Type 1,
2502 PCF, TrueType) for each font. Closes #109.
2504 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2506 reviewed by: Keith Packard <keithp@keithp.com>
2508 * doc/fontconfig-user.sgml:
2511 * fontconfig/fontconfig.h:
2512 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2513 (GetScriptTags), (FcFontCapabilities):
2515 Add detection for font capabilities (bug #105)
2517 2004-12-04 Keith Packard <keithp@keithp.com>
2520 Move existing fonts.conf to fonts.conf.bak
2523 Add detection of iconv
2525 * doc/fcpattern.fncs:
2526 * doc/fontconfig-devel.sgml:
2527 * doc/fontconfig-user.sgml:
2529 Document new selectfont elements
2532 Switch to UTF-8 in comment
2534 * fontconfig/fontconfig.h:
2536 Add fullname, and family/style/fullname language entries
2538 * src/fccache.c: (FcCacheFontSetAdd):
2539 * src/fcdir.c: (FcFileScanConfig):
2540 Respect selectfont/*/glob
2543 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2544 (FcConfigCompareValue), (FcConfigPatternsAdd),
2545 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2546 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2547 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2548 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2549 Add support for selectfont
2551 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2552 (FcStringInPatternElement), (FcFreeTypeQuery):
2553 Add multi-lingual family/style/fullname support
2555 * src/fclist.c: (FcListPatternMatchAny):
2556 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2558 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2559 (FcObjectStaticName):
2560 Add new FcPatternRemove/FcPatternAppend.
2561 FcObjectStaticName stores computed pattern element names which
2562 are required to be static.
2564 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2569 Remove spurious / after $(DESTDIR)
2571 2004-06-30 Keith Packard <keithp@keithp.com>
2575 * fontconfig/fontconfig.h:
2578 2004-06-30 Keith Packard <keithp@keithp.com>
2580 Provided by: Lubos Lunak <l.lunak@suse.cz>
2582 * src/fccfg.c: (FcConfigUptoDate):
2583 However FcConfigUptoDate() doesn't seem to work. See the attached
2584 patch. First there's an obvious misplaced parenthesis making it
2585 return always false, and second, even this call fails to detect font
2586 changes (e.g. adding a new font to
2587 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2588 well. The problem seems to be triggered by my fonts.conf specifying
2589 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2590 doesn't include subdirs, unlike config->fontDirs.
2592 2004-06-03 Keith Packard <keithp@keithp.com>
2594 * fontconfig/fontconfig.h:
2595 Remove comma at end of FcResult enum definition.
2597 2004-05-29 Keith Packard <keithp@keithp.com>
2600 Add steps to md5sum release
2602 2004-05-29 Keith Packard <keithp@keithp.com>
2606 * fontconfig/fontconfig.h:
2609 2004-05-29 Keith Packard <keithp@keithp.com>
2611 * fontconfig/fontconfig.h:
2612 * src/fcmatch.c: (FcFontSetMatch):
2613 Add FcResultOutOfMemory to provide an accurate error when
2614 FcFontSetMatch fails in this way
2617 Make #warning about lacking various FreeType features indicate
2618 which version those features appeared so users know how to
2619 fix the problem (Thanks to Anton Tropashko)
2621 2004-05-05 Keith Packard <keithp@keithp.com>
2623 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2624 Replace MIN/MAX/ABS macros which happen to have come
2625 from FreeType with fontconfig-specific ones (FC_*)
2627 2004-04-23 Keith Packard <keithp@keithp.com>
2630 Extend release preparation instructions to include
2631 notification and distribution steps
2633 2004-04-23 Keith Packard <keithp@keithp.com>
2637 * fontconfig/fontconfig.h:
2638 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2640 2004-04-23 Keith Packard <keithp@keithp.com>
2643 Ignore a few more autotool files
2645 2004-04-14 Keith Packard <keithp@keithp.com>
2648 Add instructions for doing a release
2650 * fontconfig.spec.in:
2651 clean up .spec file; perhaps this will be useful to somebody...
2655 * fontconfig/fontconfig.h:
2658 * fc-lang/fc-lang.c:
2659 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2661 * fc-glyphname/Makefile.am:
2662 * fc-lang/Makefile.am:
2663 * fc-list/Makefile.am:
2664 * fc-match/Makefile.am:
2666 Add WARN_CFLAGS to pass -W flags for GCC systems
2668 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2669 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2670 Change various char types around to match across
2672 Fixed bug in using available_sizes[i].height which
2673 is in pixels, not 64ths of a pixel.
2675 2004-03-06 Keith Packard <keithp@keithp.com>
2677 * src/fcfreetype.c: (FcFreeTypeQuery):
2678 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2679 matches looking for explicit values prefer exact matches
2681 2004-03-02 Keith Packard <keithp@keithp.com>
2683 Supplied by: mfabian@suse.de (Mike FABIAN)
2685 * src/fcfreetype.c: (FcFreeTypeQuery):
2686 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2687 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2689 2004-02-21 Manish Singh <yosh@gimp.org>
2691 * fc-glyphname/fc-glyphname.c: (main):
2692 Cast strlen to int for printf, so we're 64-bit clean.
2694 2004-02-11 Keith Packard <keithp@keithp.com>
2697 * src/fcfreetype.c: (FcGetPixelSize):
2698 Ok, so I messed up the test for y_ppem. Let's see if I
2699 got it right this time.
2701 2004-02-10 Keith Packard <keithp@keithp.com>
2704 * src/fcfreetype.c: (FcGetPixelSize):
2705 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2706 FT_Bitmap_Size record. Add a configure.in test for this
2707 and change the code accordingly (using height instead).
2709 2004-02-06 Keith Packard <keithp@keithp.com>
2712 Add Low Saxon orthography
2713 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2715 * src/fccfg.c: (FcConfigNewestFile):
2716 Oops. Left 'newest.set' unset, which would miscompute
2719 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2720 (FcFreeTypeCheckGlyph):
2721 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2722 font properties (which report the wrong value in current FreeType)
2724 Don't attempt to check for empty glyphs in non-scalable fonts; they
2727 2004-02-01 Tor Lillqvist <tml@iki.fi>
2729 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2730 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2731 cache if config->cache is NULL, which happens if FcConfigHome() is
2732 NULL. Guard against that by using the temp folder in that case.
2734 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2736 * fc-lang/az_ir.orth:
2737 * fc-lang/ku_ir.orth:
2738 * fc-lang/ps_af.orth:
2739 * fc-lang/ps_pk.orth:
2740 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2741 (Afghan and Pakistani).
2743 Updated Urdu orthography with real data.
2745 2003-12-11 Carl Worth <cworth@east.isi.edu>
2747 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2750 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2752 (all-local): Remove excessive whitespace.
2754 * autogen.sh: Add 'set -e' to abort when any program fails,
2755 (avoids printing of 'now type make' after configure aborts).
2757 2003-11-17 Eric Christopherson <rakko@charter.net>
2759 reviewed by: Keith Packard <keithp@keithp.com>
2762 * fontconfig/fcfreetype.h:
2764 Switch to FreeType 2.1.7 style includes. Bug #150.
2766 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2768 * fc-list/fc-list.sgml: Add some example usages.
2770 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2773 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2776 2003-10-27 Keith Packard <keith@keithp.com>
2779 * fontconfig/fontconfig.h:
2780 Update to version 2.2.92
2782 2003-10-27 Keith Packard <keithp@keithp.com>
2787 * fc-cache/Makefile.am:
2788 * fc-glyphname/Makefile.am:
2789 * fc-lang/Makefile.am:
2790 * fc-list/Makefile.am:
2791 * fc-match/Makefile.am:
2794 Yet more cleanups to finish getting 'make distcheck' working
2795 This has been tested to ensure that it even works from a _build
2798 2003-10-26 Keith Packard <keithp@keithp.com>
2802 * fc-cache/Makefile.am:
2803 * fc-glyphname/Makefile.am:
2804 * fc-lang/Makefile.am:
2805 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2806 * fc-list/Makefile.am:
2807 * fc-match/Makefile.am:
2808 Attempts to fix 'make distcheck' work. Things are
2809 progressing pretty well, but there are still failures
2810 long into the process dealing with docs (as always).
2812 The big changes here are mostly to make $(srcdir) != "."
2813 work correctly, fixing the docbook related sections and
2814 fc-lang were particularily tricky. Docbook refuses to load
2815 system entities from anywhere other than where the original .sgml
2816 file was located, so no luck looking in "." for the
2817 configure-generated version.sgml and confdir.sgml files.
2819 fc-lang needed help finding .orth files; added a -d option
2820 to set the directory as the least evil of many options.
2822 Now to go use a faster machine and try and wring out the last
2825 2003-10-26 Keith Packard <keithp@keithp.com>
2829 2003-10-26 Keith Packard <keithp@keithp.com>
2832 Include confdir.sgml.in in EXTRA_DIST
2834 2003-10-09 Josselin Mouette <joss@debian.org>
2836 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2837 * fc-list/fc-list.sgml fc-list/Makefile.am:
2838 Replace fc-cache and fc-list manpages with more detailed, SGML
2841 2003-09-23 Owen Taylor <otaylor@redhat.com>
2843 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2844 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2845 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2848 2003-09-23 Owen Taylor <otaylor@redhat.com>
2850 * fc-lang/ka.orth: Remove Georgian capitals, they
2851 aren't used for normal writing. (Bug #116)
2853 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2855 * doc/fontconfig-devel.sgml:
2856 * doc/fontconfig-user.sgml:
2857 * fontconfig/fontconfig.h:
2859 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2860 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2862 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2863 monospace and dual-width fonts, allow roughly a 3% variance in the
2866 2003-08-31 Manish Singh <yosh@gimp.org>
2868 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2871 2003-08-15 Carl Worth <cworth@isi.edu>
2873 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2874 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2876 * src/fcpat.c (FcValueListEntDestroy): New function to support
2877 FcFini memory cleanup. Some statistics are not kept in
2879 (FcValueListFreeze): Move hashTable outside this function so it
2880 can be accessed by FcValueListThawAll.
2881 (FcValueListThawAll): New function complements FcValueListFreeze.
2882 (FcPatternBaseFreeze): Move hashTable outside this function so it
2883 can be accessed by FcPatternBaseThawAll.
2884 (FcPatternBaseThawAll): New function complements
2885 FcPatternBaseFreeze.
2886 (FcPatternThawAll): New function complements FcPatternFreeze.
2888 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2890 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2891 allocated FcCharLeafEnt "blocks" so they can be freed later.
2892 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2893 can be accessed by FcCharSetThawAllLeaf.
2894 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2895 (FcCharSetFreezeBase): Move hashTable outside this function so it
2896 can be accessed by FcCharSetThawAll.
2897 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2899 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2900 (FcConfigDestroy): Fic leak of FcBlanks.
2902 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2903 (main): Add call to FcFini when finished.
2905 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2906 static. Add prototypes.
2908 * doc/fcinit.fncs: Add documentation for FcFini function.
2910 * doc/edit-sgml.c: Mark several local functions as static. Add
2913 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2915 2003-06-15 Tor Lillqvist <tml@iki.fi>
2917 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2918 before comparing (needed on Windows).
2920 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2922 2003-06-13 Tor Lillqvist <tml@iki.fi>
2924 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2927 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2928 WINDOWSFONTDIR token.
2930 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2931 end, not to confuse libtool, which expects the EXPORTS line to be
2932 the first. Add FcConfigEnableHome.
2934 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2935 built as a DLL on Win32.
2937 2003-06-09 Keith Packard <keithp@keithp.com>
2939 * Tag version 2.2.90
2941 2003-06-09 Keith Packard <keithp@keithp.com>
2943 * Optimization in FcLangSetIndex was broken, occasionally
2944 returning a pointer to the wrong location on miss
2946 * Add fc-match to test font matching from the command line.
2948 2003-05-31 Keith Packard <keithp@keithp.com>
2950 * (Bug 85) add support for culmus fonts
2951 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2952 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2954 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2956 * Fix "contains" op for strings and langsets.
2958 2003-05-17 Keith Packard <keithp@keithp.com>
2960 * Fix build error with BDF prop local. Free langset after query
2962 2003-05-14 Keith Packard <keithp@keithp.com>
2964 * Extract spacing from XLFD atom
2966 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2968 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2969 disappeared in 1.30.
2971 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2973 2003-05-12 Keith Packard <keithp@keithp.com>
2975 * Use FcIsWidth to share code
2977 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2978 misclassifying some Han fonts as monospaced.
2980 2003-05-07 Keith Packard <keithp@keithp.com>
2982 * Add filename-based accept/reject to ammend available fonts.
2984 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2985 older FreeType releases.
2987 2003-05-06 Keith Packard <keithp@keithp.com>
2989 * Remove 0b82 and Tamil numbers from tamil
2990 orthography (Jungshik Shin <jshin@mailaps.org>)
2992 2003-05-04 Keith Packard <keithp@keithp.com>
2994 + Map glyph names in fonts with adobe custom encoding to unicode
2996 2003-05-02 Keith Packard <keithp@keithp.com>
2998 * Add FC_WEIGHT_BOOK as weight 75
3000 2003-04-30 Keith Packard <keithp@keithp.com>
3002 * Typo in bitstream foundry name
3004 2003-04-24 Keith Packard <keithp@keithp.com>
3006 * Eliminate italic_angle check for PS fonts
3008 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3010 * Getting closer to fixing /etc/fonts hard-coding.
3012 2003-04-22 Keith Packard <keithp@keithp.com>
3014 * Update autogen.sh to work with newer automake versions
3015 * Handle pattern elements moving during multiple edits
3017 2003-04-23 James Henstridge <james@daa.com.au>
3019 * doc/fontconfig-devel.sgml: close the <para> element.
3021 * doc/fcpattern.fncs: close the <para> element.
3023 * doc/func.sgml: close the <refsynopsisdiv> element.
3025 2003-04-22 Keith Packard <keithp@keithp.com
3027 * Update autogen.sh to work with newer automake versions
3028 * Handle pattern elements moving during multiple edits
3030 2003-04-17 Colin Walters <walters@debian.org>
3032 + Remove some unused variables, and initialize some other ones so
3033 gcc doesn't warn us.
3035 2003-04-16 Keith Packard <keithp@keithp.com>
3037 + tag version 2.1.94
3039 2003-04-16 Keith Packard <keithp@keithp.com>
3041 + add BDF property fetching support for foundry
3042 (from Juliusz Chroboczek)
3043 + add BDF property fetching support for width
3045 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3047 + Implemented foundry generation for Type 1 and TrueType
3049 2003-04-11 Gerard Escalante <g2@magestudios.net>
3051 + Retrieve information from Type1 FontInfo dictionaries
3053 2003-04-07 Colin Walters <walters@verbum.org>
3055 + src/Makefile.am: Fix dummy makefile target names when
3056 MS_LIB_AVAILABLE isn't set.
3058 2003-03-22 Tor Lillqvist <tml@iki.fi>
3060 Changes for Windows:
3062 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3064 + We don't want to hardcode the fonts.conf file location in the
3065 DLL, so we look up the DLL location at run-time in a DllMain()
3066 function. The fonts.conf location is deduced from that.
3068 + The colon can't be used as path separator on Windows,
3069 semicolon is used instead. File path components can be separated
3070 with either slash or backslash. Absolute paths can also begin
3071 with a drive letter.
3073 + Add internal function FcStrLastSlash that strrchr's the last
3074 slash, or backslash on Windows.
3076 + There is no link() on Windows. For atomicity checks, mkdir a
3077 lock directory instead.
3079 + In addition to HOME, also look for USERPROFILE.
3081 + Recognize the special font directory token WINDOWSFONTDIR, to
3082 use the system's font directory.
3084 + Remove the fontconfig-def.cpp that was obsolete. Add
3085 fontconfig.def(.in), without internal functions.
3087 + Add a fontconfig-zip(.in) script, used to build a binary
3090 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3091 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3092 to main package and man3/* to devel package
3094 + Added missing defattr(-, root, root) to main RPM package
3096 + Added HTML and text development documentation to -devel subpackage
3098 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3099 + Added back the configure macro options --disable-docs, otherwise
3100 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3101 version number) unconditionally, causing RPM to fail the build due
3102 to _unpackaged_files_terminate_build. We pick up the pregenerated
3103 docs with %doc already.
3105 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3106 + Removed commented out rpm macro define at top of spec file,
3107 replacing it with a simple explanation, since rpm macros are
3108 expanded by rpm even in comments.
3110 + Changed /usr/bin to _bindir in BuildRequires lines
3112 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3114 + Reorganized file manifest lists
3116 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3118 + fontconfig.spec.in: Improvements from Red Hat spec file.
3120 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3122 + docs/*.sgml: SGML fixes.
3124 Sat Mar 1 17:28:53 PST 2003 keithp
3125 + Ok, so the ChangeLog is a bit out of date
3127 + Lots of bugs fixed; most are in bugzilla, the
3128 biggest problems were in cache management where
3129 Owen discovered the library would lose badly when
3130 combining fonts-cache and ~/.fonts-cache data
3132 + Converted from autoconf to automake. This after
3133 getting patches accepted into libtool to allow
3134 the '-version-number' argument which lets
3135 packages set version numbers explicitly rather
3136 than the roundabout libtool way
3138 + Converted documentation to SGML using the docbook
3139 DTD. Now .txt and .html documents are installed
3140 in /usr/share/doc/fontconfig and there's no
3141 man page. Perhaps a man version can be written
3144 Sat Aug 31 15:21:22 PDT 2002 keithp
3145 + Xrender and Xft had several bugs related to
3146 rendering manually placed or poly-face text
3148 + Added more complete memory tracing in fontconfig
3149 Checked with (patched) mozilla and found no leaks
3151 + Updated Latin orthographies by comparing those from
3152 evertype.com with those from eki.ee. Tried to make
3153 sensible choices, including chars that occured in both
3154 and leaving some optional chars out that occured only
3157 Mon Aug 26 16:33:04 PDT 2002 keithp
3158 + Owen discovered that FcLangSetHasLang wasn't actually
3159 checking the language set.
3161 Mon Aug 26 13:37:23 PDT 2002 keithp
3162 + Append a version number to cache filenames
3164 Thu Aug 22 11:36:18 PDT 2002 keithp
3166 + Add "contains" and "not_contains" operators and elements to
3169 + Changed semantics of eq operator for LangSets to check for
3170 FcLangEqual so that any match will do
3172 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3173 of FcValueEqual to check for identical values when inserting into
3174 the results. This broke when the above semantic change was made,
3175 now it uses FcValueEqual which is "more correct" in any case.
3177 Thu Aug 22 00:32:29 PDT 2002 keithp
3179 + Reimplement FC_LANG as new datatype. Lists of strings
3180 was consuming over a megabyte of memory for 401 fonts.
3182 + Freeze patterns loaded from cache files. This shares
3183 common value lists and common patterns which saves
3184 considerable memory.
3186 + Change the denotation of 'constant' charsets to use special
3187 ref value instead of separate boolean.
3189 + Clean up leak tracing stuff, found several unannoted alloc/free
3192 Tue Aug 20 16:17:37 PDT 2002 keithp
3194 + Fix memory leak when parsing matrices from XML
3196 Mon Aug 19 11:57:27 PDT 2002 keithp
3198 + Fix autoconf files to pass FONTCONFIG_PATH on
3199 compile line so that ${prefix} gets substituted
3202 + Use getc_unlocked/putc_unlocked on systems that
3203 provide them to avoid damage done to stdio by posix
3205 + Eliminate FC_PATTERN and FcTypePattern in favor of
3206 an extended api for FcConfigSubstitute which takes
3207 both the font and the pattern.
3209 + Add 'sans serif' alias for 'sans-serif' as some apps
3210 can't handle hyphens in family names
3212 + Eliminate pretense of support for libxml2
3214 + Comment origins of Han orthographies
3216 Tue Jul 30 18:37:09 PDT 2002 keithp
3218 + Add binding property to edit element so that strong
3219 binding values may be inserted by the config file.
3220 The default remains weak.
3222 Sun 28 Jul 04:16:55 PDT 2002 keithp
3224 + Tagged release candidate 1 in the CVS tree and
3225 placed fcpackage.rc1.tar.gz for distribution
3227 Thu Aug 1 08:55:08 PDT 2002 keithp
3229 + Fixed autoconf builds to always specify install
3230 target files (for BSD). Also fixed to
3231 define FONTCONFIG_PATH in config.h so that
3232 nonstandard installs will actually work.