1 2006-04-07 Patrick Lam <plam@mit.edu>
2 * src/fcname.c (FcObjectUnserialize):
4 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
6 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
9 * src/fccfg.c: (FcConfigEvaluate):
10 Fix string memory leak (Coverity defect #1823).
12 * src/fccache.c: (FcDirCacheUnlink):
13 Fix memory leak with hash collision (Coverity defect #1824).
15 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
18 * src/fccache.c: (FcGlobalCacheSave):
19 Don't leak header in non-error case (Coverity defect #1825).
21 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
24 * src/fcdir.c (FcDirScanConfig)
25 Don't leak in error cases (Coverity defects #777, #1826)
27 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
30 * src/fccache.c: (FcDirCacheWrite):
31 Fix double free (spotted by Coverity, CID #1965).
33 * fc-match/fc-match.c: (main):
34 Check if pattern is not null before using it (Coverity defect #1883).
36 * src/fccache.c: (FcDirCacheWrite):
37 Fix memory leak with hash collision (Coverity defect #1829).
39 * src/fccfg.c: (FcConfigBuildFonts):
40 Fix memory leak when bail cases (Coverity defect #1828).
42 * src/fccache.c: (FcGlobalCacheLoad):
43 Don't leak directory name (Coverity defect #1827).
45 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
47 * fc-cache/Makefile.am:
49 * fc-list/Makefile.am:
50 * fc-match/Makefile.am:
52 LD_ADD missing dependencies for binaries. Reported by
55 2006-04-07 Patrick Lam <plam@mit.edu>
57 * fc-lang/fc-lang.c (main):
59 SGI compilation fixes (reported by Christoph Bauer):
60 1) reorder union definition of _FcChar;
63 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
66 * src/fccharset.c (FcCharSetNeededBytes):
67 * src/fcfs.c (FcFontSetNeededBytes):
69 * src/fclang.c (FcLangSetNeededBytesAlign):
70 * src/fcname.c (FcObjectNeededBytesAlign):
71 * src/fcpat.c (FcPatternNeededBytesAlign,
72 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
74 Portability fixes for HP-UX (reported by Christoph Bauer).
75 Replace '__inline__' by AC_C_INLINE and 'inline'.
76 Replace '__alignof__' by 'fc_alignof'.
78 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
82 Move up #include of config.h.
83 Fail if neither inttypes.h nor stdint.h is available.
86 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
87 Patrick Lam <plam@mit.edu>
89 * fc-cache/fc-cache.c:
91 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
92 FcDirCacheConsume, FcDirCacheProduce,
93 FcDirCacheWrite, FcCacheMachineSignature):
94 * src/fcfreetype.c (FcFreeTypeQuery):
95 * src/fontconfig.def.in:
97 Make fontconfig compile under MinGW:
98 1) remove unneeded #includes;
99 2) make use of mmap and sysconf conditional;
100 3) replace rand_r by srand/rand if needed;
101 4) use chsize instead of ftruncate; and
102 5) update libtool exports file
104 2006-04-07 Patrick Lam <plam@mit.edu>
105 * src/fcdir.c (FcDirScanConfig):
109 2006-04-06 Patrick Lam <plam@mit.edu>
110 * fc-match/.cvsignore:
111 * fc-match/Makefile.am:
112 * fc-match/fc-match.sgml:
114 Update documentation for fc-match (SGML-ize it).
115 (reported by Ilya Konstantinov)
117 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
123 Reduce amount of dirty rss by const'ing some data structures.
125 2006-04-06 Patrick Lam <plam@mit.edu>
126 * fc-cache/Makefile.am:
128 Don't fail if we can't create or remove
129 $(pkgcachedir) i.e. /var/cache/fontconfig.
130 (reported by Quanah Gibson-Mount).
132 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
135 * fc-glyphname/fc-glyphname.c:
136 * fc-lang/fc-lang.c (main):
137 * fc-match/fc-match.c:
138 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
140 * src/fcfreetype.c (FcFreeTypeQuery):
141 * src/fclang.c (FcFreeTypeLangSet):
144 Fix intel compiler warnings: make many variables static,
145 eliminate duplicate names, reduce variable scopes, unsigned/signed
148 2006-03-24 Mike Fabian <mfabian@suse.de>
150 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
152 Fix multiarch support (don't destroy multiarch files!)
154 2006-03-24 Patrick Lam <plam@mit.edu>
157 Require pkg-config. (Thanks Behdad;
158 better solution wanted for libxml2 detection!)
160 2006-03-22 Patrick Lam <plam@mit.edu>
163 On Windows, unlink before rename. Reported by Tim Evans.
165 2006-03-15 Patrick Lam <plam@mit.edu>
169 Fix typos in orth files. Reported by Denis Jacquerye.
171 2006-03-08 Patrick Lam <plam@mit.edu>
173 * config/config.guess:
176 Fix Makefile.am for removal of debian/ directory.
178 2006-03-08 Patrick Lam <plam@mit.edu>
181 Ignore debian/ directory for CVS.
183 2006-03-08 Patrick Lam <plam@mit.edu>
186 Now remove debian/ directory.
188 2006-03-08 Patrick Lam <plam@mit.edu>
191 Remove debian/ directory from sources. See Debian's subversion
192 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
195 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
199 * fc-lang/iso639-1, fc-lang/iso639-2:
201 Add orthography for Lingala.
203 2006-03-08 Carl Worth <cworth@cworth.org>
206 * conf.d/Makefile.am:
207 * conf.d/10LohitGujarati.conf:
209 Add a configuration file that disables hinting for the Lohit
210 Gujarati font (since the hinting distort some glyphs quite badly).
212 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
215 * src/fcdir.c (FcDirScanConfig):
217 Sort directory entries while scanning them from disk;
218 prevents Heisenbugs due to file ordering in a directory.
220 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
223 * src/fcfreetype.c (GetScriptTags):
224 * src/ftglue.c, src/ftglue.h:
226 Remove stuff we don't use, make get_{char,short,long} functions
227 of ftglue macros to be inlined.
230 * src/fcname.c (FcObjectSerialize):
232 Code cleanups (excess prototype, old-style function definition).
234 2006-03-05 Patrick Lam <plam@mit.edu>
235 * src/fcpat.c (FcPatternGetString):
237 Because we hacked FcPatternGet, we don't really need to expand the
238 filename again in FcPatternGetString.
240 2006-03-05 Patrick Lam <plam@mit.edu>
241 * src/fcpat.c (FcPatternGetString, FcPatternGet):
243 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
244 Make that work. Reported by Bernhard Rosenkraenzer.
246 2006-03-03 Patrick Lam <plam@mit.edu>
249 Include inttypes.h instead of stdint.h if appropriate.
251 2006-03-03 Patrick Lam <plam@mit.edu>
252 * fc-cat/fc-cat.c (FcFileIsDir):
253 * fc-glyphname/fc-flyphname.c:
255 More stub definitions and remove FcFileIsDir from fc-cat.
257 2006-03-03 Patrick Lam <plam@mit.edu>
260 Fix compilation on AIX with stub definitions (bug 6097).
262 2006-03-03 Patrick Lam <plam@mit.edu>
263 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
264 * src/fcfreetype.c (GetScriptTags):
265 * src/fcfs.c (FcFontSetDistributeBytes):
266 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
268 Get rid of C++-style comments.
270 2006-03-03 Patrick Lam <plam@mit.edu>
273 Enable creation of 2.3.94 Debian packages.
275 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
278 * src/fclang.c (FcCharSetForLang):
280 Fix suspicious return expression which causes junk
283 2006-02-24 Patrick Lam <plam@mit.edu>
287 * fontconfig/fontconfig.h:
289 Bump version to 2.3.94.
291 2006-02-24 Patrick Lam <plam@mit.edu>
296 2006-02-24 Patrick Lam <plam@mit.edu>
297 * conf.d/10-fonts-persian.conf:
299 Remove unconditional emboldening (per Behdad's instructions).
303 Add @s to hide some echos.
305 2006-02-24 Mike Fabian <mfabian@suse.de>
306 Takashi Iwai <tiwai@suse.de>
309 * src/fcfreetype.c (GetScriptTags):
311 Fix double-free on error case.
313 2006-02-21 Patrick Lam <plam@mit.edu>
314 * fc-lang/fc-lang.c (scan):
316 Strip \r and whitespace from input; fixes bug 3454.
318 2006-02-21 Patrick Lam <plam@mit.edu>
319 * fc-lang/fc-lang.c (main):
321 Allocate large arrays statically in fc-lang to fix crashes under
324 2006-02-21 Diego Petten <flameeyes@gentoo.org>
325 * src/fcfreetype.c (FcFreeTypeCharIndex):
327 Pass the buck; make fontconfig not crash on pango badness.
329 2006-02-21 Patrick Lam <plam@mit.edu>
330 * conf.d/10-fonts-persian.conf:
332 Use embeddedbitmap rather than rh_prefer_bitmap.
334 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
337 * src/fccache.c (FcDirCacheWrite):
338 * src/fcdir.c (FcFileScanConfig):
339 * src/fcfreetype.c (FcStringInPatternElement):
340 * src/fcxml.c (FcParseFamilies):
341 * src/ftglue.c (ftglue_face_goto_table):
343 Eliminate redundancies.
345 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
348 * fc-list/fc-list.c (main):
349 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
350 * src/fcstr.c (FcStrStr):
351 * src/fcxml.c (FcConfigSaveAttr):
353 Eliminate unused vars reported by Intel's compiler.
355 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
360 Remove one more archaic character.
362 2006-02-21 Ross Burton <ross@burtonini.com>
363 reviewed by: plam, keithp
365 * src/fcxml.c (FcParsePatelt):
367 Freeze patterns created by configuration file for tiny
368 memory savings (every little bit helps).
370 2006-02-21 Mike Fabian <mfabian@suse.de>
373 * fc-cat/fc-cat.c (main):
375 Initialize fontconfig library in fc-cat to avoid segfault.
377 2006-02-18 Patrick Lam <plam@mit.edu>
378 * fc-cache/fc-cache.c (scanDirs):
379 * src/fccache.c (FcCacheReadDirs):
380 * src/fcdir.c (FcDirScanConfig):
382 Fix the underlying cause of the below segfault (must usually
383 call FcDirCacheHasCurrentArch after FcDirCacheValid).
385 2006-02-18 Patrick Lam <plam@mit.edu>
386 * src/fccache.c (FcDirCacheHasCurrentArch):
388 Fix triggering of segfault caused by misreading cache files
389 (reported by fcrozat).
391 2006-02-17 Patrick Lam <plam@mit.edu>
392 * src/fcint.h (FC_CACHE_MAGIC):
394 Bump up magic version; we changed the binary format.
396 2006-02-17 Patrick Lam <plam@mit.edu>
397 * fc-cat/fc-cat.c (main):
399 Enable fc-cat to print out old-style cache info when given a
402 2006-02-16 Patrick Lam <plam@mit.edu>
403 * src/fccache.c (FcDirCacheHasCurrentArch):
405 Deal correctly with changing FC_CACHE_MAGIC.
407 2006-02-16 Patrick Lam <plam@mit.edu>
408 * fc-cache/fc-cache.c (usage, scanDirs, main):
410 Add -r --really-force option which blows away cache files and then
413 2006-02-16 Patrick Lam <plam@mit.edu>
414 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
416 Don't bail if fontconfig can't remove a dir cache file.
417 Skip the ID of a cache file when copying.
418 Eliminate 'source file too small' bug in FcDirCacheWrite.
420 2006-02-13 Patrick Lam <plam@mit.edu>
421 * src/fcfreetype.c (FcFreeTypeQuery):
423 Fix memory leak in error condition code.
425 2006-02-13 Mike Fabian <mfabian@suse.de>
427 * src/fcfreetype.c (FcFreeTypeQuery):
429 Skip bitmap fonts which can't even get it together enough to
430 declare a family name; this appears to reproduce previous
431 fontconfig behaviour.
433 2006-02-10 Takashi Iwai <tiwai@suse.de>
435 * src/fccache.c (FcDirCacheOpen):
437 Try to open /var/cache/fontconfig/[hashed name] before
438 fonts.cache-2 in a directory, because /var/cache/fontconfig
439 failures ought to be fixable, unlike fonts.cache-2 failures,
440 which may leave you screwed.
442 2006-02-10 Takashi Iwai <tiwai@suse.de>
444 * src/fcmatch.c (FcFontSetMatch):
446 Use a tri-state to mark the fonts which didn't get blocked but
447 were just missing an element, to distinguish them from the
448 fonts that do match the element.
450 2006-02-10 Takashi Iwai <tiwai@suse.de>
452 * src/fcmatch.c (FcFontSetMatch):
454 Don't kill fonts because they don't declare an element that's
457 2006-02-09 Patrick Lam <plam@mit.edu>
458 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
459 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
461 Define and pass O_BINARY to open if appropriate, for those
462 platforms that need it. Reported by Doodle.
464 2006-02-09 Patrick Lam <plam@mit.edu>
465 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
468 Fix problem with missing 'en' due to euro.patch: change
469 cache file format slightly to coincide with that generated
472 2006-02-07 Patrick Lam <plam@mit.edu>
473 * src/fccache.c (FcCacheReadDirs):
477 2006-02-07 Patrick Lam <plam@mit.edu>
478 * src/fcdir.c (FcDirScanConfig):
480 Don't reject dirs that can't be normalized (fixes lilypond, and
481 is correct in the context of application font directories.)
483 2006-02-07 Takashi Iwai <tiwai@suse.de>
486 * src/fccache.c (FcCacheReadDirs):
488 Use normalized directory name exclusively in FcCacheReadDirs.
490 2006-02-07 Dirk Mueller <dmueller@suse.com>
493 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
495 Perf optimizations. Inline FcValueCanonicalize,
496 reduce FcValueListPtrU usage, remove redundant cast.
498 2006-02-07 Takashi Iwai <tiwai@suse.de>
501 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
504 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
505 Declare extern for static arrays as arrays, not pointers.
506 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
508 2006-02-07 Dirk Mueller <dmueller@suse.com>
521 Add Euro sign to list of symbols required by European languages.
523 2006-02-07 Patrick Lam <plam@mit.edu>
524 * src/fccache.c (FcCacheReadString):
526 Fix hidden variable warning.
528 2006-02-07 Dirk Mueller <dmueller@suse.com>
531 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
533 Remove de-escaping logic because FcCacheWriteString
534 doesn't escape anyway. Do blockwise reading instead
535 of byte-wise for performance.
537 2006-02-06 Patrick Lam <plam@mit.edu>
538 Takashi Iwai <tiwai@suse.de>
540 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
542 Don't loop infinitely on recursive symlinks (client-side).
544 2006-02-06 Takashi Iwai <tiwai@suse.de>
546 * fc-cache/fc-cache.c (scanDirs, main):
548 Don't loop infinitely on recursive symlinks.
550 2006-02-06 Takashi Iwai <tiwai@suse.de>
552 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
553 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
554 FcGlobalCacheSave, FcCacheReadDirs):
557 Skip subdirs when skipping over stale bits of global cache.
558 Introduce state machine into FcGlobalCacheDir to avoid
559 doing inappropriate operations on global dir entries, e.g.
560 writing out an out-of-date cache entry.
562 2006-02-06 Takashi Iwai <tiwai@suse.de>
564 * src/fcdir.c (FcFileScanConfig):
566 Hoist FcFileIsDir check out of FcFileScanConfig loop.
568 2006-02-06 Takashi Iwai <tiwai@suse.de>
571 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
572 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
574 Don't rescan when trying to normalize a non-declared font dir.
575 Don't add font dirs multiple times (even if they're aliased).
577 2006-02-06 Dirk Mueller <dmueller@suse.de>
580 * src/fcfs.c (FcFontSetUnserialize):
582 Explain apples/oranges comparison and fix compilation error.
584 2006-02-06 Dirk Mueller <dmueller@suse.de>
587 * src/fcfs.c (FcFontSetUnserialize):
589 Insert check for integer overflow in # of fonts.
591 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
595 * fc-cache/Makefile.am:
596 * fc-cat/Makefile.am:
597 * fc-list/Makefile.am:
599 Make 'make distcheck' work with automake 1.6.3.
601 2006-02-03 Takashi IWAI <tiwai@suse.de>
604 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
607 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
608 FcDirCacheConsume, FcDirCacheWrite)
609 * src/fcxml.c (FcConfigMessage):
611 Check I/O call return values and eliminate unused variable
614 2006-02-03 Takashi Iwai <tiwai@suse.de>
617 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
621 2006-02-03 Dirk Mueller <dmueller@suse.de>
624 * src/fcfs.c (FcFontSetUnserialize):
626 Gracefully handle the case where a cache asserts that it
627 has a negative number of fonts, causing overflow.
629 2006-02-03 Patrick Lam <plam@mit.edu>
630 * src/fccache.c (FcDirCacheUnlink):
632 Fix double free in error case.
634 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
635 Stephan Kulow <coolo@suse.de>
638 * fc-cache/Makefile.am:
640 Replace 'stamp' target with mkinstalldirs.
642 2006-01-31 Mike Fabian <mfabian@suse.de>
645 * src/fccache.c (FcGlobalCacheLoad):
647 Toast broken global cache files.
649 2006-01-30 Patrick Lam <plam@mit.edu>
650 * src/fccache.c (FcGlobalCacheReadDir):
652 Actually use the directories that I added to the global cache.
655 2006-01-30 Mike Fabian <mfabian@suse.de>
658 * fc-cache/fc-cache.c (scanDirs):
660 Don't stop scanning if a directory in fonts.conf doesn't
661 exist, because subsequent directories might exist.
663 2006-01-30 Patrick Lam <plam@mit.edu>
664 * src/fccache.c (FcGlobalCacheLoad):
666 Make global cache work again after putting dir names into global
667 cache (I misplaced the recording of a file offset).
669 2006-01-30 Patrick Lam <plam@mit.edu>
670 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
672 Update fc-cat to handle subdir lists in global cache file.
674 * src/fccache.c (FcGlobalCacheLoad):
676 Another FcCacheReadString return value check.
678 2006-01-30 Mike Fabian <mfabian@suse.de>
681 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
682 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
684 Make fccache more resilient to broken cache files by checking
685 return value of FcCacheReadString all the time.
687 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
690 * fc-match/fc-match.1:
691 * fc-lang/fc-lang.man:
693 Remove references to dead fontconfig(3) manpages in
694 other fontconfig manpages.
696 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
699 * doc/fcpattern.fncs:
701 Fix world's tiniest typo in code example.
703 2006-01-29 Mike Fabian <mfabian@suse.de>
706 * src/fccache.c (FcGlobalCacheReadDir):
708 Fix global cache reads of subdirectories.
710 2006-01-29 Patrick Lam <plam@mit.edu>
712 Add documentation for FcConfigNormalizeFontDir.
714 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
715 FcGlobalCacheUpdate, FcGlobalCacheSave):
716 * src/fcdir.c (FcDirScanConfig):
719 Write directory information to global caches to fix make check
720 (reported by Ronny V. Vindenes). This changes the global cache
723 2006-01-27 Patrick Lam <plam@mit.edu>
724 * fc-cache/fc-cache.c (scanDirs):
725 * fontconfig/fontconfig.h:
727 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
729 Move FcConfigNormalizeFontDir call so that it doesn't result in
730 infinite recursion (reported by Ronny V. Vindenes).
732 2006-01-26 Patrick Lam <plam@mit.edu>
733 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
734 * src/fccfg.c (FcConfigNormalizeFontDir):
736 Add a couple of missing normalizations to make fc-cache work
737 right; only scan subdirectories once.
739 2006-01-26 Mike Fabian <mfabian@suse.de>
742 * src/fcacache.c (FcGlobalCacheReadDir):
744 Don't crash on non-existant directories in global cache.
746 2006-01-26 Patrick Lam <plam@mit.edu>
747 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
748 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
749 * src/fcdir.c (FcDirScanConfig):
750 * src/fcxml.c (FcEndElement):
752 Stop trampling the directory name when writing out caches.
753 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
754 subdirs when necessary. Don't scan directories that can't be
757 2006-01-25 Patrick Lam <plam@mit.edu>
758 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
759 * src/fccfg.c (FcConfigEvaluate):
760 * src/fcfreetype.c (FcPatternAddWithBinding):
762 Fix additional memory leaks reported by Ronny V. Vindenes: don't
763 invoke FcValueSave on hashed static strings in
764 FcPatternAddWithBinding.
766 Add another st_dev check in FcDirCacheOpen.
768 2006-01-24 James Su <james.su@gmail.com>
771 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
772 * fc-lang/zh_hk.orth:
774 Treat zh-hk fonts differently from zh-tw fonts. This patch may
775 cause fontconfig to treat A-X fonts differently from A-Y fonts;
776 please mail the fontconfig list if this causes any problems.
778 2006-01-24 Patrick Lam <plam@mit.edu>
779 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
780 * src/fcfreetype.c (FcFreeTypeQuery):
782 Fix memory leaks reported by Ronny V. Vindenes.
784 2006-01-19 Andreas Schwab <schwab@suse.de>
787 * src/fcpat.c (FcStrNeededBytes):
789 Fix for unaligned memory accesses.
791 2006-01-18 Mike Fabian <mfabian@suse.de>
794 * src/fcdir.c (FcDirScanConfig):
796 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
797 calls to avoid crashes.
799 2006-01-14 Patrick Lam <plam@mit.edu>
800 * src/fccache.c (FcDirCacheConsume):
802 Fix segfault when consuming zero-length caches in fc-cat
803 (which has no config, so FcConfigAddFontDir shouldn't be called.)
805 2006-01-14 Patrick Lam <plam@mit.edu>
806 * fc-cache/fc-cache.c (scanDirs):
807 * fontconfig/fontconfig.h:
808 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
809 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
810 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
811 * src/fcdir.c (FcDirScanConfig):
814 Compare device numbers as well as inodes.
815 Always normalize directory names before comparing them.
817 2006-01-11 Mike Fabian <mfabian@suse.de>
820 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
822 Allocate extra space for appended '/' in directory name.
824 2006-01-10 Patrick Lam <plam@mit.edu>
825 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
826 FcDirCacheValid, FcDirCacheHasCurrentArch,
827 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
828 * fc-cache/fc-cache.c (main):
830 Explicitly add font dirs to config.fontDirs even if they're empty.
831 Set current config in fc-cache.c.
832 Fix treatment of cache directory as read from cache file; don't
833 use string equality to determine if we have the right file,
836 2006-01-09 Patrick Lam <plam@mit.edu>
837 * fc-cache/fc-cache.c (scanDirs):
838 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
839 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
840 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
841 * src/fccfg.c (FcConfigNormalizeFontDir):
842 * src/fcdir.c (FcDirScanConfig):
845 Normalize font dirs by using the form, as given in fonts.conf, and
846 recorded in FcConfig's fontDirs string set, as canonical.
848 Actually update config.fontDirs as font directories are scanned.
850 2006-01-08 James Su <james.su@gmail.com>
851 * src/fcmatch.c (FcFontSetMatch):
853 Fix matching bug when multiple elements match; don't use
854 the sum of all scores, but the best score.
856 Also more perf opts, e.g. evaluate best over all font sets
857 rather than on a per-set basis (and other changes).
859 2006-01-08 Patrick Lam <plam@mit.edu>
860 * src/fccache.c (FcDirCacheConsume):
862 Properly skip past dir caches that contain zero fonts (as occurs
863 in global caches.) Reported by Mike Fabian.
865 2006-01-06 Patrick Lam <plam@mit.edu>
866 * src/fcdbg.c (FcPatternPrint):
868 Print out full pathname in fc-match -v as well. Reported by
871 2006-01-06 Mike Fabian <mfabian@suse.de>
874 * src/fcname.c (FcNameParse):
876 Fix bug where fc-match crashes when given __DUMMY__ property to
879 (I added the __DUMMY__ string to enable callers of
880 FcObjectToPtrLookup to distinguish an error return from a
881 successful return. -PL)
883 2006-01-05 Patrick Lam <plam@mit.edu>
886 Add self to AUTHORS list.
888 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
889 FcCacheFileRead, FcCachePrintSet, main):
890 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
891 FcGlobalCacheSave, FcCacheNextOffset,
892 FcDirCacheHasCurrentArch, FcDirCacheRead,
893 FcDirCacheConsume, FcDirCacheWrite):
895 * src/fcpat.c (comment):
897 Minor change to global cache file format to fix fc-cat bug
898 reported by Frederic Crozat, and buglet with not globally caching
899 directories with zero fonts cached.
901 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
904 * src/fccfg.c (FcConfigEvaluate):
906 Fix double-free which occurs because FcValueCanonicalize doesn't
907 create an extra copy of the returned value, it only canonicalizes
910 2006-01-02 Patrick Lam <plam@mit.edu>
911 * doc/fontconfig-user.sgml:
913 Fix version of .cache file (currently 1 -> currently 2). Reported
916 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
919 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
921 Shut up GCC warnings on amd.
923 2005-12-20 Patrick Lam <plam@mit.edu>
927 * fontconfig/fontconfig.h:
929 Bump version to 2.3.93.
931 2005-12-20 Patrick Lam <plam@mit.edu>
932 * src/fccharset.c (FcLangCharSetPopulate):
933 * src/fcint.h (FcCacheBankToIndex):
935 Avoid check on _fcBankId nullness and fix case where it used to
938 2005-12-20 Patrick Lam <plam@mit.edu>
939 * src/fcxml.c (FcConfigParseAndLoad):
941 Use open instead of fopen (requested by Phil Race for Sun).
943 2005-12-20 Patrick Lam <plam@mit.edu>
944 * src/fccache.c (FcDirCacheWrite);
945 * fc-cache/Makefile.am:
947 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
950 2005-12-20 Patrick Lam <plam@mit.edu>
951 * src/fcfreetype.c (FcFreeTypeQuery):
953 Restore code to skip over PCF fonts that have no encoded
955 (We guess that a font is PCF by presence of the PIXEL_SIZE
958 2005-12-12 Patrick Lam <plam@mit.edu>
959 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
961 Read and write the original location as a fallback for the
962 hashed cache file locations. This is mostly for users to be
963 able to have per-directory cache files.
965 2005-12-12 Patrick Lam <plam@mit.edu>
966 * fc-cache/fc-cache.c (scanDirs):
967 * fc-cache/Makefile.am:
968 * src/fccache.c (FcDirCacheHashName):
970 Improve error message when fc-cache can't write the cache. Add
971 missing slash. Reported by Behdad. Incorporate Behdad's patch to
972 create /var/cache/fontconfig when appropriate.
974 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
977 * src/fcxml.c (FcConfigGetAttribute):
979 Fix crash reported by Frederic Crozat when using libxml2.
981 2005-12-09 Patrick Lam <plam@mit.edu>
984 * fc-cache/Makefile.am:
985 * fc-cat/Makefile.am:
987 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
988 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
989 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
990 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
991 FcDirCacheHasCurrentArch, FcDirCacheHashName,
992 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
994 Migrate cache files from fonts directories to
995 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
996 but requires that all caches get rebuilt.
998 Also, autogen.sh now needs the additional parameter
999 --localstatedir=/var.
1001 2005-12-07 Patrick Lam <plam@mit.edu>
1002 * src/fcpat.c (FcPatternAddString):
1004 Because we've changed FcPatternAddString to use FcStrStaticName
1005 and not FcValueSave, explicitly handle the case of a null string.
1007 2005-12-06 Patrick Lam <plam@mit.edu>
1008 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1012 2005-12-05 Patrick Lam <plam@mit.edu>
1013 * src/fcname.c (FcNameGetObjectType):
1015 Don't assign types to user object names.
1017 2005-12-05 Patrick Lam <plam@mit.edu>
1018 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1020 Don't free strings that have been returned from FcStrStaticName.
1022 2005-12-01 Patrick Lam <plam@mit.edu>
1023 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1025 Add codepath for reading global cache files as well.
1027 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1030 * conf.d/10-fonts.persian.conf:
1031 * conf.d/Makefile.am:
1033 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1035 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1038 * src/fcxml.c (FcConfigParseAndLoad):
1040 Only add a config file to the set of config files once.
1042 2005-11-29 Patrick Lam <plam@mit.edu>
1043 * src/fcint.h (FcCacheBankToIndex);
1045 Fix segfault by guarding array dereference.
1047 2005-11-29 Dirk Mueller <dmueller@suse.de>
1050 * fc-lang/fc-lang.c:
1051 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1052 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1056 Refactor FcCacheBankToIndex into an inlineable part
1057 (in fcint.h) which checks the front of the list and a
1058 non-inlineable part which finds and moves the appropriate element
1059 to the front of the list.
1061 2005-11-29 Patrick Lam <plam@mit.edu>
1062 * src/fccfg.c (FcConfigBuildFonts):
1063 * src/fccache.c (FcCacheReadDirs):
1065 Make the perf guys hate me a bit less: hoist the directory-name
1066 FcConfigAcceptFont check for cached fonts up to directory cache
1067 read time, rather than running it for each font.
1069 2005-11-29 Patrick Lam <plam@mit.edu>
1070 * src/fccfg.c (FcConfigBuildFonts):
1072 * src/fcpat.c (FcPatternFindFullFname):
1074 Don't make FcPatternFindFullFname available to fccfg, it's not
1075 really safe. Instead go through FcPatternGetString (sorry,
1076 perf guys.) Also, use globs for dirs as well.
1078 2005-11-28 Patrick Lam <plam@mit.edu>
1079 * src/fccfg.c (FcConfigBuildFonts):
1083 2005-11-28 Patrick Lam <plam@mit.edu>
1085 * src/fcpat.c (FcPatternFindFullFname):
1086 * src/fccfg.c (FcConfigBuildFonts):
1088 Fix problem dating back at least to 2.3.2 where globs weren't
1089 being applied to patterns loaded from a cache.
1091 2005-11-28 Patrick Lam <plam@mit.edu>
1092 * doc/fontconfig-user.sgml:
1094 Fix some obvious spelling mistakes.
1096 2005-11-28 Dirk Mueller <dmueller@suse.com>
1097 Stephan Kulow <coolo@suse.de>
1100 * src/fcmatch.c (FcFontSetMatch):
1102 Don't kill all fonts during match (oops!)
1105 2005-11-25 Dirk Mueller <dmueller@suse.com>
1106 Stephan Kulow <coolo@suse.de>
1107 Michael Matz <matz@suse.de>
1110 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1113 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1114 inline FcCompare into FcFontSetMatch and reorder the
1115 loops, adding a boolean array which blocks patterns from future
1116 consideration if they're known to not be best on some past
1119 2005-11-26 Dirk Mueller <dmueller@suse.com>
1122 * src/fcmatch.c (FcCompareValueList):
1124 Fix incorrect merge.
1126 2005-11-25 Patrick Lam <plam@mit.edu>
1127 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1129 Don't do random matching when bad objects are passed into
1132 2005-11-25 Patrick Lam <plam@mit.edu>
1134 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1135 FcPatternSerialize, FcPatternUnserialize,
1136 FcValueListEnsureBank, FcValueListDistributeBytes,
1137 FcValueListUnserialize):
1139 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1140 _fcPatternElts, _fcValueLists for consistency.
1142 2005-11-25 Dirk Mueller <dmueller@suse.com>
1147 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1149 2005-11-25 Patrick Lam <plam@mit.edu>
1151 * src/fccache.c (FcDirCacheConsume):
1152 * src/fccharset.c (FcCharSetUnserialize):
1153 * src/fcfs.c (FcFontSetUnserialize):
1154 * src/fclang.c (FcLangSetUnserialize):
1155 * src/fcname.c (FcObjectUnserialize):
1156 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1157 FcPatternUnserialize):
1159 Pass around FcCache *s to the Unserialize functions for extra
1160 consistency (and less overhead, for what that's worth).
1162 2005-11-24 Dirk Mueller <dmueller@suse.com>
1166 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1167 * src/fcname.c (FcNameUnparseValue):
1169 Inline the *PtrU functions to gain perf.
1170 Remove unneeded params for the FcCompare* functions.
1172 2005-11-24 Dirk Mueller <dmueller@suse.com>
1175 * src/fcint.h, fontconfig/fontconfig.h:
1177 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1179 * src/fcpat.c, src/fcint.h, src/fcname.c:
1181 Check for type validity during FcPatternAddWithBinding, don't
1182 verify type in FcFontMatch, don't call FcCanonicalize here
1183 (which always does a deep copy).
1185 2005-11-24 Dirk Mueller <dmueller@suse.com>
1188 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1189 * src/fcpat.c (FcPatternAddWithBinding):
1191 Make FcCompareString and FcCompareFamily less expensive.
1192 Only add a value for FC_FAMILY if the proposed value is a string.
1194 2005-11-24 Dirk Mueller <dmueller@suse.com>
1197 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1198 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1199 * src/fcint.h (FcDebug):
1201 Inline FcDebug invocations and only initialize once, in FcInit*.
1202 Improve debug msg in FcPatternPrint.
1204 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1207 * fontconfig/fontconfig.h:
1210 Minor code warning cleanups.
1212 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1215 * fc-match/fc-match.c (main):
1217 Make getopt_long accept -s parameter to fc-match as well.
1219 2005-11-21 Dirk Mueller <dmueller@suse.com>
1222 * src/fcmatch.c (FcCompareValueList):
1224 Manually perform inlining & partial redundancy elimination to
1225 reduce calls to FcValueListPtrU.
1227 2005-11-21 Dirk Mueller <dmueller@suse.com>
1230 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1231 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1233 Only invoke strlen() when really necessary.
1235 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1239 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1240 FcFontCapabilities):
1244 Get rid of the use of freetype internal headers in fcfreetype.c,
1245 since those headers will go away with freetype 2.2. Replace with
1246 public domain ftglue code from pango. Note that the patch removes
1247 some extra error checking in FT_Get_BDF_Property() and comments
1248 out the skipping of empty pcf fonts.
1250 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1253 * fc-lang/fc-lang.c (main):
1255 Further fix of patch from 2005-11-04: miscounted numbers count
1256 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1257 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1259 Removed leafidx_count and numbers_count since they are the same
1260 and replaced them with offset_count.
1262 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1265 * fc-cat/fc-cat.c (main):
1267 Don't crash when fc-cat invoked with no arguments.
1269 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1272 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1274 Fix invalid read access caused by premature free and
1275 GCC4 warnings in libxml2 codepath.
1277 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1280 * src/fccfg.c (FcConfigValues):
1282 List iteration not needed in FcConfigValues, since it's building
1283 up the list itself; we can just strip FcVoid elements during
1286 2005-11-17 Patrick Lam <plam@mit.edu>
1287 * src/fccfg.c (FcConfigValues):
1289 Fix crash on invalid constants in config files (forgot to update
1290 a pointer upon list iteration.)
1292 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1295 * src/fcxml.c (FcTypecheckExpr):
1297 Complain about invalid constants in config files.
1299 2005-11-17 Andreas Schwab <schwab@suse.de>
1302 * src/fccache.c (FcGlobalCacheSave):
1304 Don't add current_arch_start more than once.
1306 2005-11-16 Patrick Lam <plam@mit.edu>
1307 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1308 * src/fcfs.c (FcFontSetUnserialize):
1309 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1310 * src/fcpat.c (FcStrUnserialize):
1312 Fix ordering of ALIGN with respect to saving block_ptr; add
1313 another ALIGN to fcfs.c.
1315 2005-11-16 Patrick Lam <plam@mit.edu>
1316 * src/fccache.c (FcDirCacheProduce)
1318 Fix case where alignment bytes bumped up metadata->count
1319 causing unwarranted failures to write cache files.
1320 (Reported by Stephan Kulow).
1322 2005-11-16 Patrick Lam <plam@mit.edu>
1323 * src/fccache.c (FcDirCacheProduce):
1324 * src/fccharset.c (FcCharSetDistributeBytes):
1325 * src/fcfs.c (FcFontSetDistributeBytes):
1327 * src/fclang.c (FcLangSetDistributeBytes):
1328 * src/fcname.c (FcObjectDistributeBytes):
1329 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1332 Add *NeededBytesAlign(), which overestimates the padding which is
1333 later added by the new ALIGN macro. Fix alignment problems on
1334 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1335 version by Andreas Schwab).
1337 2005-11-16 Stephan Kulow <coolo@kde.org>
1342 Use sysconf to determine proper PAGESIZE value; this
1343 appears to be POSIX-compliant. (reported by Andreas Schwab)
1345 2005-11-04 Patrick Lam <plam@mit.edu>
1346 * fc-lang/fc-lang.c:
1351 Fix bug 2878 (excessive relocations at startup for charsets,
1352 reported by Ross Burton): fc-lang/fc-lang now creates the
1353 static form of the langset, not the dynamic form, so that
1354 the charsets should now be in .rodata.
1356 2005-11-04 Patrick Lam <plam@mit.edu>
1357 * src/fcdir.c (FcDirScanConfig):
1359 Add test for validity of directory caches that
1360 somehow got lost (reported by make distcheck).
1362 2005-11-04 Patrick Lam <plam@mit.edu>
1366 * fontconfig/fontconfig.h:
1368 Bump version to 2.3.92.
1370 2005-11-02 Patrick Lam <plam@mit.edu>
1371 * src/fcpat.c (FcPatternDuplicate):
1373 Fix argument ordering problem in call to FcPatternTransferFullFname.
1375 2005-11-02 Patrick Lam <plam@mit.edu>
1376 * src/fcfreetype.c (FcFreetypeQuery):
1377 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1378 FcPatternTransferFullFname):
1380 Fix warnings and embarrassing double-free error.
1382 2005-11-02 Zhe Su <zsu@novell.com>
1387 Change the rule for artificial emboldening in fonts.conf.in. This
1388 enables the support for artificial emboldening included in cairo.
1390 2005-11-02 Patrick Lam <plam@mit.edu>
1391 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1393 Don't zero out full names for FC_REF_CONSTANT fonts;
1394 also, duplicate full names when transferring, and free
1395 full names when freeing the associated font.
1396 Reported by Jinghua Luo.
1398 2005-11-02 Patrick Lam <plam@mit.edu>
1399 * fc-cache/fc-cache.c (scanDirs):
1400 * src/fcpat.c (FcValueListSerialize):
1402 Revert the previous patch and commit the correct patch:
1403 I forgot a canonicalization in FcValueListSerialize, so
1404 that it would choke on already-serialized input files. Duh!
1406 2005-11-02 Patrick Lam <plam@mit.edu>
1407 * fc-cache/fc-cache.c (scanDirs):
1409 Forcibly rescan a directory before writing a fresh local
1410 cache file for that directory, fixing the losing-fonts
1411 problem reported by Mike Fabian and also apparently the
1412 font cache file corruption.
1414 2005-11-02 Patrick Lam <plam@mit.edu>
1415 * src/fccache.c (FcGlobalCacheLoad):
1417 Fix thinko: actually, the whole global cache is stale
1418 if the global cache is older than the (newest) config file.
1420 2005-11-02 Patrick Lam <plam@mit.edu>
1421 * src/fccache.c (FcGlobalCacheLoad):
1422 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1425 Declare the global cache of a directory's contents to be stale if
1426 the directory is newer than the (newest) configuration file.
1428 2005-10-31 Patrick Lam <plam@mit.edu>
1430 * src/fclist.c (FcListAppend):
1431 * src/fcmatch.c (FcFontRenderPrepare):
1432 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1433 FcPatternFreeze, FcPatternBaseFreeze):
1435 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1436 applications continue breaking.
1438 2005-10-31 Patrick Lam <plam@mit.edu>
1439 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1440 * src/fcfreetype.c (FcFreeTypeQuery):
1442 Fix small memory error (tried to free argv); use basename and
1443 dirname correctly (they can modify their arguments).
1445 2005-10-31 Patrick Lam <plam@mit.edu>
1453 Reinstate basename patch, but keep a hash table linking FcPatterns
1454 to their fully-qualified font names for clients' benefit. Clients
1455 only pay for the font names once they request the FC_FILE property
1456 from an FcPattern, but the font name is malloc'd at that point (i.e.
1457 not mmapped: that's impossible, since it may vary between machines.)
1458 Clients do have to pay for a copy of the path name per cache file.
1460 Note that FcPatternGetString now does some rewriting if you ask
1461 for an FC_FILE, appending the pathname as appropriate.
1463 2005-10-31 Patrick Lam <plam@mit.edu>
1464 * src/fcfreetype.c (FcFreeTypeQuery):
1466 Revert basename patch, which breaks fontconfig clients on my system.
1468 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1471 * fontconfig/fonts.conf.in:
1472 * fontconfig/fontconfig.h:
1476 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1477 to load embedded bitmaps or not.
1479 2005-10-25 Patrick Lam <plam@mit.edu>
1480 * src/fcfreetype.c (FcFreeTypeQuery):
1482 Only add basename to patterns' FC_FILE element, not any part of
1485 2005-10-22 Patrick Lam <plam@mit.edu>
1488 Add some more consts, fixing more GCC4 warnings.
1490 2005-10-22 Zhe Su <zsu@novell.com>
1493 Support localized font family and style names.
1494 This has been reported to break old apps like xfd, but modern
1495 (gtk+/qt/mozilla) apps work fine.
1497 2005-10-21 Patrick Lam <plam@mit.edu>
1498 * src/fccache.c (FcGlobalCacheLoad):
1500 Destroy the global cache file if it's terminally broken. (reported by
1503 2005-10-21 Patrick Lam <plam@mit.edu>
1504 * fc-list/fc-list.c (main):
1505 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1506 * fontconfig/fontconfig.h:
1508 Prevent fc-list from escaping strings when printing them (reported by
1511 2005-10-20 Marcus Meissner <meissner@suse.de>
1514 * fontconfig/fontconfig.h:
1516 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1518 2005-10-14 Ross Burton <ross@burtonini.com>
1521 * fc-glyphname/fc-glyphname.c:
1524 Add consts to variables so as to move arrays into .rodata.
1526 2005-10-14 Mike Fabian <mfabian@suse.de>
1529 * src/fccache.c (FcDirCacheUnlink):
1531 Check existence of directory cache file before attempting to unlink.
1533 2005-10-13 Patrick Lam <plam@mit.edu>
1534 * src/fccache.c (FcDirCacheUnlink):
1536 Fix flipped return value on unlink. (Reported by Mike Fabian)
1538 2005-10-12 Patrick Lam <plam@mit.edu>
1541 * src/fcdir.c (FcDirScanConfig):
1544 When fc-cache is run without --force, use directory cache files
1545 to speed up fc-cache run time. (Reported by Mike Fabian)
1547 2005-10-06 Patrick Lam <plam@mit.edu>
1549 * src/fcname.c (FcObjectToPtr):
1550 * src/fcpat.c (FcStrStaticName):
1552 Add padding to make valgrind and glibc not hate each other
1553 when calling strlen().
1555 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1556 reviewed by: plam & keithp
1560 Modify config file to use Greek fonts before Asian fonts with
1563 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1564 reviewed by: plam & keithp
1568 Use libtool -no-undefined flag on all platforms.
1570 2005-10-05 Patrick Lam <plam@mit.edu>
1571 * src/fccache.c (FcCacheHaveBank):
1573 Implement move-to-front array for banks (perf regression
1574 reported by Ronny V. Vindenes).
1576 2005-10-04 Patrick Lam <plam@mit.edu>
1577 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1578 FcDirCacheHasCurrentArch):
1579 * fc-cache/fc-cache.c (scanDirs):
1580 * fontconfig/fontconfig.h:
1582 Add new API which unlinks directory caches and checks dir caches
1583 for existence of appropriate sections. Fix fc-cache to unlink
1584 stale cache files and save directory caches that lack relevant
1587 2005-10-03 Patrick Lam <plam@mit.edu>
1588 * src/fccache.c (FcDirCacheValid):
1590 Ensure that a directory cache has the appropriate section
1591 before reporting that it is valid (reported by Matthias Clasen).
1593 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1601 Use libxml2 if requested (with --enable-libxml2) or if
1602 expat is not available.
1604 2005-09-29 Patrick Lam <plam@mit.edu>
1605 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1607 Fix multi-arch cache files: compute the position for the
1608 block to be added using info from OrigFile, not NewFile.
1610 2005-09-28 Patrick Lam <plam@mit.edu>
1611 * src/fccache.c (FcCacheMachineSignature):
1613 Cast results of sizeof() to unsigned int to get rid of
1614 warnings on x86_64 (thanks Matthias Clasen).
1616 2005-09-27 Patrick Lam <plam@mit.edu>
1617 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1620 Use FcAtomic to rewrite cache files.
1622 2005-09-27 Patrick Lam <plam@mit.edu>
1624 * src/fccache.c (FcDirCacheWrite):
1626 Don't unlink the fonts.cache-2 file even if there's no data
1627 to write; just write an empty cache file. (thanks Lubos Lunak)
1629 2005-09-27 Patrick Lam <plam@mit.edu>
1631 * src/fccache.c (FcDirCacheWrite):
1633 Allocate room for the subdirectory names in each
1634 directory cache. Thanks to James Cloos for finding
1635 and diagnosing this bug!
1637 2005-09-22 Patrick Lam <plam@mit.edu>
1639 * fc-cache/fc-cache.sgml:
1640 * src/fccache.c (FcDirCacheWrite):
1641 * src/fccache.h (struct FcCache):
1643 Update documentation -- fc-cache's man page now says that you
1644 need to run fc-cache once per cached architecture; add some
1645 documentation to the FcCache structure.
1647 Make fc-cache write out fonts.cache-2 files for directories with
1648 no fonts (i.e. only subdirectories).
1650 2005-09-22 Patrick Lam <plam@mit.edu>
1652 * fc-cache/fc-cache.sgml:
1653 * fc-case/fc-case.c:
1654 * fc-glyphname/fc-glyphname.c:
1660 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1664 * fc-lang/fc-lang.c:
1665 * fontconfig/fcprivate.h:
1666 * fontconfig/fontconfig.h:
1680 Implement new mmaped cache for font information.
1681 Bump so revision to 2.3.90.
1683 2005-07-25 Keith Packard <keithp@keithp.com>
1685 * doc/fontconfig-user.sgml:
1686 * fc-glyphname/fc-glyphname.c: (scan), (main):
1687 * fc-lang/fc-lang.c: (FcConfigHome):
1688 * fc-match/fc-match.c: (main):
1689 * src/fccfg.c: (FcConfigHome):
1690 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1691 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1692 (addtag), (FcFontCapabilities):
1693 * src/fcpat.c: (FcValueListEntCreate):
1694 * src/fcstr.c: (FcStrCaseWalkerInit):
1695 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1697 Various GCC 4 cleanups for signed vs unsigned char
1699 Match only [0-9]*.conf files in <include>{directory}</include>
1700 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1702 2005-07-15 Carl Worth <cworth@cworth.org>
1705 * src/fcinit.c: (FcFini):
1706 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1709 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1710 Pull the FcObjectStateName hash table out to file scope, and add
1711 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1714 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1717 2005-06-16 Patrick Lam <plam@MIT.EDU>
1721 * src/fccfg.c: (FcConfigCompareValue):
1722 Make FcOpNotContains use FcStrStr for strings so that
1723 it matches semantics for !FcOpContains.
1725 2005-05-20 Keith Packard <keithp@keithp.com>
1729 Move fontconfig source package to libs as per override
1731 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1733 reviewed by: Mike Fabian
1736 The ka.orth file requires several characters which are not
1737 used anymore in modern Georgian and which are missing in the free
1738 Georgian TrueType fonts downloadable at:
1740 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1742 2005-04-27 Keith Packard <keithp@keithp.com>
1746 Update date to real 2.3.2 release date.
1747 Fix change attributions
1749 2005-04-27 Keith Packard <keithp@keithp.com>
1752 Bump so revision for 2.3.2
1753 * fc-cache/fc-cache.c: (scanDirs):
1754 Fix a few minor leaks in error cases.
1756 2005-04-23 Keith Packard <keithp@keithp.com>
1761 * fontconfig/fontconfig.h:
1762 Update for version 2.3.2
1764 2005-04-21 Keith Packard <keithp@keithp.com>
1766 * debian/fontconfig.postinst:
1767 Don't force bitmap font enable in default
1768 configuration; allows users to override this in
1778 * debian/po/pt_BR.po:
1779 * debian/po/templates.pot:
1781 * debian/po/zh_CN.po:
1782 Updated translations
1784 * fc-cache/fc-cache.c: (main):
1785 Destroy font configuration on exit to help valgrind
1788 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1789 (FcFreeTypeCheckGlyph):
1790 Use own transcoding routines in preference to iconv
1791 which appears to have leaks in some translators.
1792 Call iconv_close after using iconv (oops).
1794 Prefer unicode encoding of Euro char as some
1795 fonts mis-encode Euro in other ones.
1797 Must fetch bitmap glyphs to get width values
1798 to check for monospace/dual-width fonts.
1800 2005-04-13 Ross Burton <ross@burtonini.com>
1803 Check that a pattern isn't already frozen in FcPatternFreeze.
1805 2005-03-31 Ross Burton <ross@burtonini.com>
1810 Run all FcPattern objects through FcObjectStaticName, so that
1811 compares can be done on pointers instead of strings (#2659)
1813 2005-03-17 Tor Lillqvist <tml@novell.com>
1815 * src/fontconfig.def.in: Add the .dll to the dll name.
1817 2005-03-10 Keith Packard <keithp@keithp.com>
1819 * debian/README.Debian:
1820 Update to reflect configuration changes
1822 * debian/fontconfig.postinst:
1823 Fix Autohint vs Autohinter mistake
1824 * debian/fontconfig.templates:
1825 Adopt changes from Josselin Mouette for configuration descriptions
1826 Update debian to version 2.3.1-2
1828 2005-03-08 Keith Packard <keithp@keithp.com>
1832 Update debian for 2.3.1
1834 2005-03-09 Tor Lillqvist <tml@novell.com>
1836 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1839 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1842 2005-03-08 Keith Packard <keithp@keithp.com>
1846 * fontconfig/fontconfig.h:
1849 2005-03-05 Keith Packard <keithp@keithp.com>
1851 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1852 Include space and remove numbers from valid script tags.
1853 This ensures that tags like 'lao ' work while rejecting
1854 those which have any digits.
1855 Eliminate a spurious debugging variable (len)
1857 2005-03-05 Keith Packard <keithp@keithp.com>
1859 * src/fcfreetype.c: (addtag), (GetScriptTags),
1860 (FcFontCapabilities):
1861 Rework GSUB/GPOS script parsing to survive broken fonts.
1862 Thanks for the broken font go to Manish Singh
1864 2005-03-05 Keith Packard <keithp@keithp.com>
1869 * debian/fontconfig.config:
1870 * debian/fontconfig.templates:
1872 Include 2.3 release information in changelog
1873 Add Josselin Mouette as an Uploader
1874 Set hinting_type to low priority configuration option
1877 * debian/fontconfig.postinst:
1878 yes_bitmaps.conf -> yes-bitmaps.conf
1884 2005-03-02 Keith Packard <keithp@keithp.com>
1887 * conf.d/Makefile.am:
1888 * conf.d/autohint.conf:
1889 * conf.d/no-sub-pixel.conf:
1890 * conf.d/sub-pixel.conf:
1891 * conf.d/unhinted.conf:
1892 * debian/autohint.conf:
1893 * debian/fontconfig.install:
1894 * debian/fontconfig.postinst:
1895 * debian/fontconfig.templates:
1896 * debian/no-sub-pixel.conf:
1897 * debian/unhinted.conf:
1898 Move debian-specific conf file examples upstream.
1900 Sub-pixel configuration examples must smash subpixel value
1901 as Xft always sets it from X.
1903 Change sub-pixel rendering debconf descriptions from
1904 Enable/Disable to Always/Never.
1906 2005-03-02 Keith Packard <keithp@keithp.com>
1909 * conf.d/.cvsignore:
1911 Ignore more build detritus
1914 Add debian package construction stuff.
1916 * config/config.guess:
1917 * config/config.sub:
1918 Update to newer versions of these tools
1921 Get library manuals to build again (we love automake).
1923 * debian/README.Debian:
1924 * debian/autohint.conf:
1929 * debian/fontconfig-udeb.install:
1930 * debian/fontconfig.config:
1931 * debian/fontconfig.defoma:
1932 * debian/fontconfig.dirs:
1933 * debian/fontconfig.install:
1934 * debian/fontconfig.postinst:
1935 * debian/fontconfig.postrm:
1936 * debian/fontconfig.templates:
1937 * debian/libfontconfig1-dev.install:
1938 * debian/libfontconfig1.install:
1939 * debian/local.conf.md5sum:
1940 * debian/no-sub-pixel.conf:
1941 * debian/po/POTFILES.in:
1950 * debian/po/pt_BR.po:
1951 * debian/po/templates.pot:
1953 * debian/po/zh_CN.po:
1955 * debian/unhinted.conf:
1956 Update debian build system to switch maintainers and
1957 deal with 2.3 functionality
1959 2005-03-01 Keith Packard <keithp@keithp.com>
1963 * fontconfig/fontconfig.h:
1966 2005-03-01 Keith Packard <keithp@keithp.com>
1969 Generate and install PDF versions of the manuals
1971 * doc/fcpattern.fncs:
1974 * doc/fcstring.fncs:
1975 Add missing exported functions, fix data types
1977 * doc/fontconfig-devel.sgml:
1978 Add missing pattern elements.
1980 * doc/fontconfig-user.sgml:
1981 Add missing pattern elements. Document conf.d usage,
1982 clarify available orthography list. Fix some config file
1983 attributes. Complete list of constants.
1985 * fontconfig/fontconfig.h:
1986 Mark FC_SOURCE deprecated.
1988 * src/fcfreetype.c: (FcFreeTypeQuery):
1989 Don't set FC_SOURCE any longer.
1991 2005-02-28 Keith Packard <keithp@keithp.com>
1994 * conf.d/Makefile.am:
1996 * conf.d/no-bitmaps.conf:
1997 * conf.d/sub-pixel.conf:
1998 * conf.d/yes-bitmaps.conf:
2000 Create prototype /etc/fonts/conf.d directory with a few
2001 sample configuration files.
2002 Deprecate use of local.conf for local customizations in favor of
2003 this directory based scheme which is more easily integrated into
2004 installation systems.
2007 Tag FC_EMBOLDEN as a boolean variable
2009 2005-02-10 Keith Packard <keithp@keithp.com>
2011 reviewed by: pborelli@katamail.com
2013 * src/fcdir.c: (FcFileScanConfig):
2014 Free patterns from fonts which are rejected by configuration
2017 2005-01-28 Keith Packard <keithp@keithp.com>
2021 * fontconfig/fontconfig.h:
2022 Update for version 2.2.99
2024 2005-01-28 Keith Packard <keithp@keithp.com>
2027 Add a few pointers (#2284, #2285)
2029 2005-01-28 Keith Packard <keithp@keithp.com>
2032 * src/fcname.c: (FcNameBool):
2033 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2034 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2035 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2036 Polite typechecking for test and edit expressions. Helps
2037 catch errors in the font configuration. (bug 229)
2039 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2041 reviewed by: Keith Packard <keithp@keithp.com>
2044 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2046 2005-01-13 Keith Packard <keithp@keithp.com>
2048 * doc/fontconfig-user.sgml:
2049 Add SEE ALSO section (bug 2085)
2051 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2053 reviewed by: Keith Packard <keithp@keithp.com>
2058 * fc-case/Makefile.am:
2059 * fc-glyphname/Makefile.am:
2060 * fc-lang/Makefile.am:
2061 * src/fontconfig.def.in:
2062 Cross compiling fixes (bug 280)
2064 2005-01-13 Keith Packard <keithp@keithp.com>
2067 Update blanks list (Closes bug 86)
2069 2005-01-04 Keith Packard <keithp@keithp.com>
2071 * src/fccache.c: (FcCacheFontSetAdd):
2072 Verify that every font pattern loaded from cache has
2073 both FC_FILE and FC_FAMILY entries.
2074 Attempt to fix bug #2219.
2076 2004-12-29 Keith Packard <keithp@keithp.com>
2080 * fontconfig/fontconfig.h:
2081 Update for version 2.2.98
2083 2004-12-29 Keith Packard <keithp@keithp.com>
2085 * fontconfig/fontconfig.h:
2086 Document ASCII limitations of Fc character conversion macros
2087 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2088 Fix off-by-one error in utf-8 case walking code.
2089 Add FcStrDowncase (useful for testing case conversion functions)
2091 2004-12-29 Keith Packard <keithp@keithp.com>
2094 * fc-case/.cvsignore:
2095 clean up CVS ignore lists
2096 * fc-lang/iso-3166.txt:
2097 Add territory database
2099 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2101 Reviewed by: Keith Packard
2104 Remove Han characters from Korean orthography
2106 2004-12-29 Keith Packard <keithp@keithp.com>
2109 Reorder utility programs to make sure fc-case is run before fc-lang
2110 as fc-lang uses fcstr.c which uses fccase.h
2114 2004-12-29 Keith Packard <keithp@keithp.com>
2117 Adopt some RedHat suggestions for standard font configuration.
2121 * fc-case/CaseFolding.txt:
2122 * fc-case/Makefile.am:
2123 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2124 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2125 (dump), (parseRaw), (caseFoldReadRaw), (main):
2126 * fc-case/fccase.tmpl.h:
2127 Add new helper program 'fc-case' to construct case folding
2128 tables from standard Unicode CaseFolding.txt file
2131 * src/fclist.c: (FcListValueHash):
2132 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2133 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2134 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2135 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2136 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2137 Re-implement case insensitive functions with Unicode
2138 aware versions (including full case folding mappings)
2140 2004-12-13 Keith Packard <keithp@keithp.com>
2142 reviewed by: Owen Taylor <otaylor@redhat.com>
2144 * src/fcmatch.c: (FcFontSetSort):
2145 I changed FcFontSetSort to respect the generic aliases better
2146 in the face of language matching.
2148 What I did was to ammend the strict sort order used by FcFontSort so
2149 that it 'satisfies' the language specified in the pattern by locating
2150 the best matching font supporting each pattern language and then
2151 ignores language in the remaining fonts for purposes of matching.
2153 So, when asking for 'sans:lang=en', you'll get an English font first,
2154 and then the remaining fonts sorted with respect to the 'sans' alias
2155 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2157 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2159 reviewed by: Keith Packard <keithp@keithp.com>
2161 * fontconfig/fontconfig.h:
2164 Configuration changes to request synthetic emboldening of
2165 fonts. The actual emboldening code will live in Xft.
2167 2004-12-09 John Thacker <thacker@math.cornell.edu>
2169 reviewed by: Keith Packard <keithp@keithp.com>
2173 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2174 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2175 и), and don't even appear in KOI8-R. (The hypothesis that they
2176 don't appear in KOI8-R due to their similarity with Latin I and i is
2177 eliminated by their presence in KOI8-U.) I have a couple of fonts
2178 with Russian support that don't have the letter.
2180 Therefore, 0406 and 0456 should be removed from or commented out of
2183 2004-12-06 michael meeks <mmeeks@novell.com>
2185 Reviewed by: Keith Packard <keithp@keithp.com>
2187 * src/fcinit.c: (FcMemReport):
2189 * src/fclist.c: (FcObjectSetAdd):
2190 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2191 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2192 * src/fcxml.c: (FcParsePatelt):
2193 memoize strings and share a single copy for all uses. Note that
2194 this could be improved further by using statically allocated blocks
2195 and gluing multiple strings together, but I'm basically lazy.
2196 In my environment with 800 font files, I get a savings of about 90KB.
2198 2004-12-06 Keith Packard <keithp@keithp.com>
2202 * config/Makedefs.in:
2205 * doc/fcatomic.fncs:
2206 * doc/fcblanks.fncs:
2207 * doc/fccharset.fncs:
2208 * doc/fcconfig.fncs:
2209 * doc/fcconstant.fncs:
2211 * doc/fcfontset.fncs:
2212 * doc/fcfreetype.fncs:
2214 * doc/fcmatrix.fncs:
2215 * doc/fcobjectset.fncs:
2216 * doc/fcobjecttype.fncs:
2217 * doc/fcpattern.fncs:
2218 * doc/fcstring.fncs:
2219 * doc/fcstrset.fncs:
2221 * doc/fontconfig-devel.sgml:
2222 * doc/fontconfig-user.sgml:
2224 * doc/version.sgml.in:
2225 * fc-cache/Makefile.am:
2226 * fc-cache/fc-cache.c:
2227 * fc-glyphname/Makefile.am:
2228 * fc-glyphname/fc-glyphname.c:
2229 * fc-glyphname/fcglyphname.tmpl.h:
2230 * fc-lang/Makefile.am:
2240 * fc-lang/az_ir.orth:
2274 * fc-lang/fc-lang.c:
2275 * fc-lang/fc-lang.man:
2276 * fc-lang/fclang.tmpl.h:
2321 * fc-lang/ku_ir.orth:
2354 * fc-lang/ps_af.orth:
2355 * fc-lang/ps_pk.orth:
2384 * fc-lang/ti_er.orth:
2385 * fc-lang/ti_et.orth:
2411 * fc-lang/zh_cn.orth:
2412 * fc-lang/zh_hk.orth:
2413 * fc-lang/zh_mo.orth:
2414 * fc-lang/zh_sg.orth:
2415 * fc-lang/zh_tw.orth:
2417 * fc-list/Makefile.am:
2418 * fc-list/fc-list.c:
2419 * fc-match/Makefile.am:
2420 * fc-match/fc-match.1:
2421 * fc-match/fc-match.c:
2422 * fontconfig/fcfreetype.h:
2423 * fontconfig/fcprivate.h:
2424 * fontconfig/fontconfig.h:
2445 Change files from ISO-Latin-1 to UTF-8
2447 2004-12-04 Keith Packard <keithp@keithp.com>
2450 Update links to new freedesktop.org locations
2452 Add uninstall-local to get rid of fonts.conf and local.conf if they
2453 match the distributed versions. Fixes 'make distcheck'
2455 2004-12-04 Keith Packard <keithp@keithp.com>
2459 * fontconfig/fontconfig.h:
2460 Updates for version 2.2.97
2462 2004-12-04 Owen Taylor <otaylor@redhat.com>
2464 reviewed by: Keith Packard <keithp@keithp.com>
2466 * fc-cache/fc-cache.c: (main):
2467 Sleep for two seconds before exiting to make sure timestamps
2468 for future changes have distinct mod times in the file system.
2471 Add Punjabi orthography. Bug #1671.
2473 2004-12-04 Keith Packard <keithp@keithp.com>
2476 Just remove the FC_FONTDATE -- it has locale issues and
2477 annoys redhat multi-arch installs. Now that all X fonts are
2478 included without prejudice, the chances of the date being at
2479 all interesting are rather limited. Bug #505.
2481 Add copyright and license
2483 2004-12-04 Keith Packard <keithp@keithp.com>
2486 Change default set of fonts to include all of
2487 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2488 * doc/fontconfig-user.sgml:
2489 Document new <include>directory-name</include> semantics
2491 add <include ignore_missing="yes">conf.d</include>
2493 Add selectfont to ignore bitmap fonts, add comment for
2494 selectfont which accepts bitmap fonts.
2497 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2498 Allow <include> configuration elements to reference directories.
2499 Parse and load all files of the form [0-9]* in sorted order.
2501 2004-12-04 Keith Packard <keithp@keithp.com>
2504 Report command line for $srcdir/configure accurately.
2507 2004-12-04 Keith Packard <keithp@keithp.com>
2509 * src/fcfreetype.c: (FcFreeTypeQuery):
2510 Check for non-empty face->family_name and face->style_name
2511 before using those for the font. Empty names match everything.
2514 2004-12-04 Keith Packard <keithp@keithp.com>
2517 * fontconfig/fontconfig.h:
2518 * src/fcfreetype.c: (FcFreeTypeQuery):
2520 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2521 available. This provides font file format information (BDF, Type 1,
2522 PCF, TrueType) for each font. Closes #109.
2524 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2526 reviewed by: Keith Packard <keithp@keithp.com>
2528 * doc/fontconfig-user.sgml:
2531 * fontconfig/fontconfig.h:
2532 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2533 (GetScriptTags), (FcFontCapabilities):
2535 Add detection for font capabilities (bug #105)
2537 2004-12-04 Keith Packard <keithp@keithp.com>
2540 Move existing fonts.conf to fonts.conf.bak
2543 Add detection of iconv
2545 * doc/fcpattern.fncs:
2546 * doc/fontconfig-devel.sgml:
2547 * doc/fontconfig-user.sgml:
2549 Document new selectfont elements
2552 Switch to UTF-8 in comment
2554 * fontconfig/fontconfig.h:
2556 Add fullname, and family/style/fullname language entries
2558 * src/fccache.c: (FcCacheFontSetAdd):
2559 * src/fcdir.c: (FcFileScanConfig):
2560 Respect selectfont/*/glob
2563 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2564 (FcConfigCompareValue), (FcConfigPatternsAdd),
2565 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2566 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2567 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2568 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2569 Add support for selectfont
2571 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2572 (FcStringInPatternElement), (FcFreeTypeQuery):
2573 Add multi-lingual family/style/fullname support
2575 * src/fclist.c: (FcListPatternMatchAny):
2576 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2578 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2579 (FcObjectStaticName):
2580 Add new FcPatternRemove/FcPatternAppend.
2581 FcObjectStaticName stores computed pattern element names which
2582 are required to be static.
2584 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2589 Remove spurious / after $(DESTDIR)
2591 2004-06-30 Keith Packard <keithp@keithp.com>
2595 * fontconfig/fontconfig.h:
2598 2004-06-30 Keith Packard <keithp@keithp.com>
2600 Provided by: Lubos Lunak <l.lunak@suse.cz>
2602 * src/fccfg.c: (FcConfigUptoDate):
2603 However FcConfigUptoDate() doesn't seem to work. See the attached
2604 patch. First there's an obvious misplaced parenthesis making it
2605 return always false, and second, even this call fails to detect font
2606 changes (e.g. adding a new font to
2607 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2608 well. The problem seems to be triggered by my fonts.conf specifying
2609 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2610 doesn't include subdirs, unlike config->fontDirs.
2612 2004-06-03 Keith Packard <keithp@keithp.com>
2614 * fontconfig/fontconfig.h:
2615 Remove comma at end of FcResult enum definition.
2617 2004-05-29 Keith Packard <keithp@keithp.com>
2620 Add steps to md5sum release
2622 2004-05-29 Keith Packard <keithp@keithp.com>
2626 * fontconfig/fontconfig.h:
2629 2004-05-29 Keith Packard <keithp@keithp.com>
2631 * fontconfig/fontconfig.h:
2632 * src/fcmatch.c: (FcFontSetMatch):
2633 Add FcResultOutOfMemory to provide an accurate error when
2634 FcFontSetMatch fails in this way
2637 Make #warning about lacking various FreeType features indicate
2638 which version those features appeared so users know how to
2639 fix the problem (Thanks to Anton Tropashko)
2641 2004-05-05 Keith Packard <keithp@keithp.com>
2643 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2644 Replace MIN/MAX/ABS macros which happen to have come
2645 from FreeType with fontconfig-specific ones (FC_*)
2647 2004-04-23 Keith Packard <keithp@keithp.com>
2650 Extend release preparation instructions to include
2651 notification and distribution steps
2653 2004-04-23 Keith Packard <keithp@keithp.com>
2657 * fontconfig/fontconfig.h:
2658 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2660 2004-04-23 Keith Packard <keithp@keithp.com>
2663 Ignore a few more autotool files
2665 2004-04-14 Keith Packard <keithp@keithp.com>
2668 Add instructions for doing a release
2670 * fontconfig.spec.in:
2671 clean up .spec file; perhaps this will be useful to somebody...
2675 * fontconfig/fontconfig.h:
2678 * fc-lang/fc-lang.c:
2679 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2681 * fc-glyphname/Makefile.am:
2682 * fc-lang/Makefile.am:
2683 * fc-list/Makefile.am:
2684 * fc-match/Makefile.am:
2686 Add WARN_CFLAGS to pass -W flags for GCC systems
2688 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2689 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2690 Change various char types around to match across
2692 Fixed bug in using available_sizes[i].height which
2693 is in pixels, not 64ths of a pixel.
2695 2004-03-06 Keith Packard <keithp@keithp.com>
2697 * src/fcfreetype.c: (FcFreeTypeQuery):
2698 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2699 matches looking for explicit values prefer exact matches
2701 2004-03-02 Keith Packard <keithp@keithp.com>
2703 Supplied by: mfabian@suse.de (Mike FABIAN)
2705 * src/fcfreetype.c: (FcFreeTypeQuery):
2706 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2707 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2709 2004-02-21 Manish Singh <yosh@gimp.org>
2711 * fc-glyphname/fc-glyphname.c: (main):
2712 Cast strlen to int for printf, so we're 64-bit clean.
2714 2004-02-11 Keith Packard <keithp@keithp.com>
2717 * src/fcfreetype.c: (FcGetPixelSize):
2718 Ok, so I messed up the test for y_ppem. Let's see if I
2719 got it right this time.
2721 2004-02-10 Keith Packard <keithp@keithp.com>
2724 * src/fcfreetype.c: (FcGetPixelSize):
2725 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2726 FT_Bitmap_Size record. Add a configure.in test for this
2727 and change the code accordingly (using height instead).
2729 2004-02-06 Keith Packard <keithp@keithp.com>
2732 Add Low Saxon orthography
2733 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2735 * src/fccfg.c: (FcConfigNewestFile):
2736 Oops. Left 'newest.set' unset, which would miscompute
2739 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2740 (FcFreeTypeCheckGlyph):
2741 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2742 font properties (which report the wrong value in current FreeType)
2744 Don't attempt to check for empty glyphs in non-scalable fonts; they
2747 2004-02-01 Tor Lillqvist <tml@iki.fi>
2749 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2750 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2751 cache if config->cache is NULL, which happens if FcConfigHome() is
2752 NULL. Guard against that by using the temp folder in that case.
2754 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2756 * fc-lang/az_ir.orth:
2757 * fc-lang/ku_ir.orth:
2758 * fc-lang/ps_af.orth:
2759 * fc-lang/ps_pk.orth:
2760 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2761 (Afghan and Pakistani).
2763 Updated Urdu orthography with real data.
2765 2003-12-11 Carl Worth <cworth@east.isi.edu>
2767 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2770 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2772 (all-local): Remove excessive whitespace.
2774 * autogen.sh: Add 'set -e' to abort when any program fails,
2775 (avoids printing of 'now type make' after configure aborts).
2777 2003-11-17 Eric Christopherson <rakko@charter.net>
2779 reviewed by: Keith Packard <keithp@keithp.com>
2782 * fontconfig/fcfreetype.h:
2784 Switch to FreeType 2.1.7 style includes. Bug #150.
2786 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2788 * fc-list/fc-list.sgml: Add some example usages.
2790 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2793 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2796 2003-10-27 Keith Packard <keith@keithp.com>
2799 * fontconfig/fontconfig.h:
2800 Update to version 2.2.92
2802 2003-10-27 Keith Packard <keithp@keithp.com>
2807 * fc-cache/Makefile.am:
2808 * fc-glyphname/Makefile.am:
2809 * fc-lang/Makefile.am:
2810 * fc-list/Makefile.am:
2811 * fc-match/Makefile.am:
2814 Yet more cleanups to finish getting 'make distcheck' working
2815 This has been tested to ensure that it even works from a _build
2818 2003-10-26 Keith Packard <keithp@keithp.com>
2822 * fc-cache/Makefile.am:
2823 * fc-glyphname/Makefile.am:
2824 * fc-lang/Makefile.am:
2825 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2826 * fc-list/Makefile.am:
2827 * fc-match/Makefile.am:
2828 Attempts to fix 'make distcheck' work. Things are
2829 progressing pretty well, but there are still failures
2830 long into the process dealing with docs (as always).
2832 The big changes here are mostly to make $(srcdir) != "."
2833 work correctly, fixing the docbook related sections and
2834 fc-lang were particularily tricky. Docbook refuses to load
2835 system entities from anywhere other than where the original .sgml
2836 file was located, so no luck looking in "." for the
2837 configure-generated version.sgml and confdir.sgml files.
2839 fc-lang needed help finding .orth files; added a -d option
2840 to set the directory as the least evil of many options.
2842 Now to go use a faster machine and try and wring out the last
2845 2003-10-26 Keith Packard <keithp@keithp.com>
2849 2003-10-26 Keith Packard <keithp@keithp.com>
2852 Include confdir.sgml.in in EXTRA_DIST
2854 2003-10-09 Josselin Mouette <joss@debian.org>
2856 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2857 * fc-list/fc-list.sgml fc-list/Makefile.am:
2858 Replace fc-cache and fc-list manpages with more detailed, SGML
2861 2003-09-23 Owen Taylor <otaylor@redhat.com>
2863 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2864 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2865 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2868 2003-09-23 Owen Taylor <otaylor@redhat.com>
2870 * fc-lang/ka.orth: Remove Georgian capitals, they
2871 aren't used for normal writing. (Bug #116)
2873 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2875 * doc/fontconfig-devel.sgml:
2876 * doc/fontconfig-user.sgml:
2877 * fontconfig/fontconfig.h:
2879 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2880 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2882 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2883 monospace and dual-width fonts, allow roughly a 3% variance in the
2886 2003-08-31 Manish Singh <yosh@gimp.org>
2888 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2891 2003-08-15 Carl Worth <cworth@isi.edu>
2893 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2894 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2896 * src/fcpat.c (FcValueListEntDestroy): New function to support
2897 FcFini memory cleanup. Some statistics are not kept in
2899 (FcValueListFreeze): Move hashTable outside this function so it
2900 can be accessed by FcValueListThawAll.
2901 (FcValueListThawAll): New function complements FcValueListFreeze.
2902 (FcPatternBaseFreeze): Move hashTable outside this function so it
2903 can be accessed by FcPatternBaseThawAll.
2904 (FcPatternBaseThawAll): New function complements
2905 FcPatternBaseFreeze.
2906 (FcPatternThawAll): New function complements FcPatternFreeze.
2908 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2910 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2911 allocated FcCharLeafEnt "blocks" so they can be freed later.
2912 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2913 can be accessed by FcCharSetThawAllLeaf.
2914 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2915 (FcCharSetFreezeBase): Move hashTable outside this function so it
2916 can be accessed by FcCharSetThawAll.
2917 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2919 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2920 (FcConfigDestroy): Fic leak of FcBlanks.
2922 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2923 (main): Add call to FcFini when finished.
2925 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2926 static. Add prototypes.
2928 * doc/fcinit.fncs: Add documentation for FcFini function.
2930 * doc/edit-sgml.c: Mark several local functions as static. Add
2933 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2935 2003-06-15 Tor Lillqvist <tml@iki.fi>
2937 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2938 before comparing (needed on Windows).
2940 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2942 2003-06-13 Tor Lillqvist <tml@iki.fi>
2944 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2947 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2948 WINDOWSFONTDIR token.
2950 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2951 end, not to confuse libtool, which expects the EXPORTS line to be
2952 the first. Add FcConfigEnableHome.
2954 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2955 built as a DLL on Win32.
2957 2003-06-09 Keith Packard <keithp@keithp.com>
2959 * Tag version 2.2.90
2961 2003-06-09 Keith Packard <keithp@keithp.com>
2963 * Optimization in FcLangSetIndex was broken, occasionally
2964 returning a pointer to the wrong location on miss
2966 * Add fc-match to test font matching from the command line.
2968 2003-05-31 Keith Packard <keithp@keithp.com>
2970 * (Bug 85) add support for culmus fonts
2971 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2972 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2974 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2976 * Fix "contains" op for strings and langsets.
2978 2003-05-17 Keith Packard <keithp@keithp.com>
2980 * Fix build error with BDF prop local. Free langset after query
2982 2003-05-14 Keith Packard <keithp@keithp.com>
2984 * Extract spacing from XLFD atom
2986 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2988 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2989 disappeared in 1.30.
2991 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2993 2003-05-12 Keith Packard <keithp@keithp.com>
2995 * Use FcIsWidth to share code
2997 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2998 misclassifying some Han fonts as monospaced.
3000 2003-05-07 Keith Packard <keithp@keithp.com>
3002 * Add filename-based accept/reject to ammend available fonts.
3004 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3005 older FreeType releases.
3007 2003-05-06 Keith Packard <keithp@keithp.com>
3009 * Remove 0b82 and Tamil numbers from tamil
3010 orthography (Jungshik Shin <jshin@mailaps.org>)
3012 2003-05-04 Keith Packard <keithp@keithp.com>
3014 + Map glyph names in fonts with adobe custom encoding to unicode
3016 2003-05-02 Keith Packard <keithp@keithp.com>
3018 * Add FC_WEIGHT_BOOK as weight 75
3020 2003-04-30 Keith Packard <keithp@keithp.com>
3022 * Typo in bitstream foundry name
3024 2003-04-24 Keith Packard <keithp@keithp.com>
3026 * Eliminate italic_angle check for PS fonts
3028 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3030 * Getting closer to fixing /etc/fonts hard-coding.
3032 2003-04-22 Keith Packard <keithp@keithp.com>
3034 * Update autogen.sh to work with newer automake versions
3035 * Handle pattern elements moving during multiple edits
3037 2003-04-23 James Henstridge <james@daa.com.au>
3039 * doc/fontconfig-devel.sgml: close the <para> element.
3041 * doc/fcpattern.fncs: close the <para> element.
3043 * doc/func.sgml: close the <refsynopsisdiv> element.
3045 2003-04-22 Keith Packard <keithp@keithp.com
3047 * Update autogen.sh to work with newer automake versions
3048 * Handle pattern elements moving during multiple edits
3050 2003-04-17 Colin Walters <walters@debian.org>
3052 + Remove some unused variables, and initialize some other ones so
3053 gcc doesn't warn us.
3055 2003-04-16 Keith Packard <keithp@keithp.com>
3057 + tag version 2.1.94
3059 2003-04-16 Keith Packard <keithp@keithp.com>
3061 + add BDF property fetching support for foundry
3062 (from Juliusz Chroboczek)
3063 + add BDF property fetching support for width
3065 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3067 + Implemented foundry generation for Type 1 and TrueType
3069 2003-04-11 Gerard Escalante <g2@magestudios.net>
3071 + Retrieve information from Type1 FontInfo dictionaries
3073 2003-04-07 Colin Walters <walters@verbum.org>
3075 + src/Makefile.am: Fix dummy makefile target names when
3076 MS_LIB_AVAILABLE isn't set.
3078 2003-03-22 Tor Lillqvist <tml@iki.fi>
3080 Changes for Windows:
3082 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3084 + We don't want to hardcode the fonts.conf file location in the
3085 DLL, so we look up the DLL location at run-time in a DllMain()
3086 function. The fonts.conf location is deduced from that.
3088 + The colon can't be used as path separator on Windows,
3089 semicolon is used instead. File path components can be separated
3090 with either slash or backslash. Absolute paths can also begin
3091 with a drive letter.
3093 + Add internal function FcStrLastSlash that strrchr's the last
3094 slash, or backslash on Windows.
3096 + There is no link() on Windows. For atomicity checks, mkdir a
3097 lock directory instead.
3099 + In addition to HOME, also look for USERPROFILE.
3101 + Recognize the special font directory token WINDOWSFONTDIR, to
3102 use the system's font directory.
3104 + Remove the fontconfig-def.cpp that was obsolete. Add
3105 fontconfig.def(.in), without internal functions.
3107 + Add a fontconfig-zip(.in) script, used to build a binary
3110 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3111 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3112 to main package and man3/* to devel package
3114 + Added missing defattr(-, root, root) to main RPM package
3116 + Added HTML and text development documentation to -devel subpackage
3118 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3119 + Added back the configure macro options --disable-docs, otherwise
3120 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3121 version number) unconditionally, causing RPM to fail the build due
3122 to _unpackaged_files_terminate_build. We pick up the pregenerated
3123 docs with %doc already.
3125 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3126 + Removed commented out rpm macro define at top of spec file,
3127 replacing it with a simple explanation, since rpm macros are
3128 expanded by rpm even in comments.
3130 + Changed /usr/bin to _bindir in BuildRequires lines
3132 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3134 + Reorganized file manifest lists
3136 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3138 + fontconfig.spec.in: Improvements from Red Hat spec file.
3140 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3142 + docs/*.sgml: SGML fixes.
3144 Sat Mar 1 17:28:53 PST 2003 keithp
3145 + Ok, so the ChangeLog is a bit out of date
3147 + Lots of bugs fixed; most are in bugzilla, the
3148 biggest problems were in cache management where
3149 Owen discovered the library would lose badly when
3150 combining fonts-cache and ~/.fonts-cache data
3152 + Converted from autoconf to automake. This after
3153 getting patches accepted into libtool to allow
3154 the '-version-number' argument which lets
3155 packages set version numbers explicitly rather
3156 than the roundabout libtool way
3158 + Converted documentation to SGML using the docbook
3159 DTD. Now .txt and .html documents are installed
3160 in /usr/share/doc/fontconfig and there's no
3161 man page. Perhaps a man version can be written
3164 Sat Aug 31 15:21:22 PDT 2002 keithp
3165 + Xrender and Xft had several bugs related to
3166 rendering manually placed or poly-face text
3168 + Added more complete memory tracing in fontconfig
3169 Checked with (patched) mozilla and found no leaks
3171 + Updated Latin orthographies by comparing those from
3172 evertype.com with those from eki.ee. Tried to make
3173 sensible choices, including chars that occured in both
3174 and leaving some optional chars out that occured only
3177 Mon Aug 26 16:33:04 PDT 2002 keithp
3178 + Owen discovered that FcLangSetHasLang wasn't actually
3179 checking the language set.
3181 Mon Aug 26 13:37:23 PDT 2002 keithp
3182 + Append a version number to cache filenames
3184 Thu Aug 22 11:36:18 PDT 2002 keithp
3186 + Add "contains" and "not_contains" operators and elements to
3189 + Changed semantics of eq operator for LangSets to check for
3190 FcLangEqual so that any match will do
3192 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3193 of FcValueEqual to check for identical values when inserting into
3194 the results. This broke when the above semantic change was made,
3195 now it uses FcValueEqual which is "more correct" in any case.
3197 Thu Aug 22 00:32:29 PDT 2002 keithp
3199 + Reimplement FC_LANG as new datatype. Lists of strings
3200 was consuming over a megabyte of memory for 401 fonts.
3202 + Freeze patterns loaded from cache files. This shares
3203 common value lists and common patterns which saves
3204 considerable memory.
3206 + Change the denotation of 'constant' charsets to use special
3207 ref value instead of separate boolean.
3209 + Clean up leak tracing stuff, found several unannoted alloc/free
3212 Tue Aug 20 16:17:37 PDT 2002 keithp
3214 + Fix memory leak when parsing matrices from XML
3216 Mon Aug 19 11:57:27 PDT 2002 keithp
3218 + Fix autoconf files to pass FONTCONFIG_PATH on
3219 compile line so that ${prefix} gets substituted
3222 + Use getc_unlocked/putc_unlocked on systems that
3223 provide them to avoid damage done to stdio by posix
3225 + Eliminate FC_PATTERN and FcTypePattern in favor of
3226 an extended api for FcConfigSubstitute which takes
3227 both the font and the pattern.
3229 + Add 'sans serif' alias for 'sans-serif' as some apps
3230 can't handle hyphens in family names
3232 + Eliminate pretense of support for libxml2
3234 + Comment origins of Han orthographies
3236 Tue Jul 30 18:37:09 PDT 2002 keithp
3238 + Add binding property to edit element so that strong
3239 binding values may be inserted by the config file.
3240 The default remains weak.
3242 Sun 28 Jul 04:16:55 PDT 2002 keithp
3244 + Tagged release candidate 1 in the CVS tree and
3245 placed fcpackage.rc1.tar.gz for distribution
3247 Thu Aug 1 08:55:08 PDT 2002 keithp
3249 + Fixed autoconf builds to always specify install
3250 target files (for BSD). Also fixed to
3251 define FONTCONFIG_PATH in config.h so that
3252 nonstandard installs will actually work.