1 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
6 Survive missing docbook2pdf.
8 2006-04-10 Patrick Lam <plam@mit.edu>
10 * fc-glyphname/fc-glyphname.c:
13 Include more stub definitions to make HP-UX's C compiler happy.
15 2006-04-10 Patrick Lam <plam@mit.edu>
16 * src/fcname.c (FcObjectUnserialize):
18 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
20 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
23 * src/fccfg.c: (FcConfigEvaluate):
24 Fix string memory leak (Coverity defect #1823).
26 * src/fccache.c: (FcDirCacheUnlink):
27 Fix memory leak with hash collision (Coverity defect #1824).
29 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
32 * src/fccache.c: (FcGlobalCacheSave):
33 Don't leak header in non-error case (Coverity defect #1825).
35 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
38 * src/fcdir.c (FcDirScanConfig)
39 Don't leak in error cases (Coverity defects #777, #1826)
41 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
44 * src/fccache.c: (FcDirCacheWrite):
45 Fix double free (spotted by Coverity, CID #1965).
47 * fc-match/fc-match.c: (main):
48 Check if pattern is not null before using it (Coverity defect #1883).
50 * src/fccache.c: (FcDirCacheWrite):
51 Fix memory leak with hash collision (Coverity defect #1829).
53 * src/fccfg.c: (FcConfigBuildFonts):
54 Fix memory leak when bail cases (Coverity defect #1828).
56 * src/fccache.c: (FcGlobalCacheLoad):
57 Don't leak directory name (Coverity defect #1827).
59 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
61 * fc-cache/Makefile.am:
63 * fc-list/Makefile.am:
64 * fc-match/Makefile.am:
66 LD_ADD missing dependencies for binaries. Reported by
69 2006-04-07 Patrick Lam <plam@mit.edu>
71 * fc-lang/fc-lang.c (main):
73 SGI compilation fixes (reported by Christoph Bauer):
74 1) reorder union definition of _FcChar;
77 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
80 * src/fccharset.c (FcCharSetNeededBytes):
81 * src/fcfs.c (FcFontSetNeededBytes):
83 * src/fclang.c (FcLangSetNeededBytesAlign):
84 * src/fcname.c (FcObjectNeededBytesAlign):
85 * src/fcpat.c (FcPatternNeededBytesAlign,
86 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
88 Portability fixes for HP-UX (reported by Christoph Bauer).
89 Replace '__inline__' by AC_C_INLINE and 'inline'.
90 Replace '__alignof__' by 'fc_alignof'.
92 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
96 Move up #include of config.h.
97 Fail if neither inttypes.h nor stdint.h is available.
100 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
101 Patrick Lam <plam@mit.edu>
103 * fc-cache/fc-cache.c:
105 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
106 FcDirCacheConsume, FcDirCacheProduce,
107 FcDirCacheWrite, FcCacheMachineSignature):
108 * src/fcfreetype.c (FcFreeTypeQuery):
109 * src/fontconfig.def.in:
111 Make fontconfig compile under MinGW:
112 1) remove unneeded #includes;
113 2) make use of mmap and sysconf conditional;
114 3) replace rand_r by srand/rand if needed;
115 4) use chsize instead of ftruncate; and
116 5) update libtool exports file
118 2006-04-07 Patrick Lam <plam@mit.edu>
119 * src/fcdir.c (FcDirScanConfig):
123 2006-04-06 Patrick Lam <plam@mit.edu>
124 * fc-match/.cvsignore:
125 * fc-match/Makefile.am:
126 * fc-match/fc-match.sgml:
128 Update documentation for fc-match (SGML-ize it).
129 (reported by Ilya Konstantinov)
131 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
137 Reduce amount of dirty rss by const'ing some data structures.
139 2006-04-06 Patrick Lam <plam@mit.edu>
140 * fc-cache/Makefile.am:
142 Don't fail if we can't create or remove
143 $(pkgcachedir) i.e. /var/cache/fontconfig.
144 (reported by Quanah Gibson-Mount).
146 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
149 * fc-glyphname/fc-glyphname.c:
150 * fc-lang/fc-lang.c (main):
151 * fc-match/fc-match.c:
152 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
154 * src/fcfreetype.c (FcFreeTypeQuery):
155 * src/fclang.c (FcFreeTypeLangSet):
158 Fix intel compiler warnings: make many variables static,
159 eliminate duplicate names, reduce variable scopes, unsigned/signed
162 2006-03-24 Mike Fabian <mfabian@suse.de>
164 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
166 Fix multiarch support (don't destroy multiarch files!)
168 2006-03-24 Patrick Lam <plam@mit.edu>
171 Require pkg-config. (Thanks Behdad;
172 better solution wanted for libxml2 detection!)
174 2006-03-22 Patrick Lam <plam@mit.edu>
177 On Windows, unlink before rename. Reported by Tim Evans.
179 2006-03-15 Patrick Lam <plam@mit.edu>
183 Fix typos in orth files. Reported by Denis Jacquerye.
185 2006-03-08 Patrick Lam <plam@mit.edu>
187 * config/config.guess:
190 Fix Makefile.am for removal of debian/ directory.
192 2006-03-08 Patrick Lam <plam@mit.edu>
195 Ignore debian/ directory for CVS.
197 2006-03-08 Patrick Lam <plam@mit.edu>
200 Now remove debian/ directory.
202 2006-03-08 Patrick Lam <plam@mit.edu>
205 Remove debian/ directory from sources. See Debian's subversion
206 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
209 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
213 * fc-lang/iso639-1, fc-lang/iso639-2:
215 Add orthography for Lingala.
217 2006-03-08 Carl Worth <cworth@cworth.org>
220 * conf.d/Makefile.am:
221 * conf.d/10LohitGujarati.conf:
223 Add a configuration file that disables hinting for the Lohit
224 Gujarati font (since the hinting distort some glyphs quite badly).
226 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
229 * src/fcdir.c (FcDirScanConfig):
231 Sort directory entries while scanning them from disk;
232 prevents Heisenbugs due to file ordering in a directory.
234 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
237 * src/fcfreetype.c (GetScriptTags):
238 * src/ftglue.c, src/ftglue.h:
240 Remove stuff we don't use, make get_{char,short,long} functions
241 of ftglue macros to be inlined.
244 * src/fcname.c (FcObjectSerialize):
246 Code cleanups (excess prototype, old-style function definition).
248 2006-03-05 Patrick Lam <plam@mit.edu>
249 * src/fcpat.c (FcPatternGetString):
251 Because we hacked FcPatternGet, we don't really need to expand the
252 filename again in FcPatternGetString.
254 2006-03-05 Patrick Lam <plam@mit.edu>
255 * src/fcpat.c (FcPatternGetString, FcPatternGet):
257 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
258 Make that work. Reported by Bernhard Rosenkraenzer.
260 2006-03-03 Patrick Lam <plam@mit.edu>
263 Include inttypes.h instead of stdint.h if appropriate.
265 2006-03-03 Patrick Lam <plam@mit.edu>
266 * fc-cat/fc-cat.c (FcFileIsDir):
267 * fc-glyphname/fc-flyphname.c:
269 More stub definitions and remove FcFileIsDir from fc-cat.
271 2006-03-03 Patrick Lam <plam@mit.edu>
274 Fix compilation on AIX with stub definitions (bug 6097).
276 2006-03-03 Patrick Lam <plam@mit.edu>
277 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
278 * src/fcfreetype.c (GetScriptTags):
279 * src/fcfs.c (FcFontSetDistributeBytes):
280 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
282 Get rid of C++-style comments.
284 2006-03-03 Patrick Lam <plam@mit.edu>
287 Enable creation of 2.3.94 Debian packages.
289 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
292 * src/fclang.c (FcCharSetForLang):
294 Fix suspicious return expression which causes junk
297 2006-02-24 Patrick Lam <plam@mit.edu>
301 * fontconfig/fontconfig.h:
303 Bump version to 2.3.94.
305 2006-02-24 Patrick Lam <plam@mit.edu>
310 2006-02-24 Patrick Lam <plam@mit.edu>
311 * conf.d/10-fonts-persian.conf:
313 Remove unconditional emboldening (per Behdad's instructions).
317 Add @s to hide some echos.
319 2006-02-24 Mike Fabian <mfabian@suse.de>
320 Takashi Iwai <tiwai@suse.de>
323 * src/fcfreetype.c (GetScriptTags):
325 Fix double-free on error case.
327 2006-02-21 Patrick Lam <plam@mit.edu>
328 * fc-lang/fc-lang.c (scan):
330 Strip \r and whitespace from input; fixes bug 3454.
332 2006-02-21 Patrick Lam <plam@mit.edu>
333 * fc-lang/fc-lang.c (main):
335 Allocate large arrays statically in fc-lang to fix crashes under
338 2006-02-21 Diego Petten <flameeyes@gentoo.org>
339 * src/fcfreetype.c (FcFreeTypeCharIndex):
341 Pass the buck; make fontconfig not crash on pango badness.
343 2006-02-21 Patrick Lam <plam@mit.edu>
344 * conf.d/10-fonts-persian.conf:
346 Use embeddedbitmap rather than rh_prefer_bitmap.
348 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
351 * src/fccache.c (FcDirCacheWrite):
352 * src/fcdir.c (FcFileScanConfig):
353 * src/fcfreetype.c (FcStringInPatternElement):
354 * src/fcxml.c (FcParseFamilies):
355 * src/ftglue.c (ftglue_face_goto_table):
357 Eliminate redundancies.
359 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
362 * fc-list/fc-list.c (main):
363 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
364 * src/fcstr.c (FcStrStr):
365 * src/fcxml.c (FcConfigSaveAttr):
367 Eliminate unused vars reported by Intel's compiler.
369 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
374 Remove one more archaic character.
376 2006-02-21 Ross Burton <ross@burtonini.com>
377 reviewed by: plam, keithp
379 * src/fcxml.c (FcParsePatelt):
381 Freeze patterns created by configuration file for tiny
382 memory savings (every little bit helps).
384 2006-02-21 Mike Fabian <mfabian@suse.de>
387 * fc-cat/fc-cat.c (main):
389 Initialize fontconfig library in fc-cat to avoid segfault.
391 2006-02-18 Patrick Lam <plam@mit.edu>
392 * fc-cache/fc-cache.c (scanDirs):
393 * src/fccache.c (FcCacheReadDirs):
394 * src/fcdir.c (FcDirScanConfig):
396 Fix the underlying cause of the below segfault (must usually
397 call FcDirCacheHasCurrentArch after FcDirCacheValid).
399 2006-02-18 Patrick Lam <plam@mit.edu>
400 * src/fccache.c (FcDirCacheHasCurrentArch):
402 Fix triggering of segfault caused by misreading cache files
403 (reported by fcrozat).
405 2006-02-17 Patrick Lam <plam@mit.edu>
406 * src/fcint.h (FC_CACHE_MAGIC):
408 Bump up magic version; we changed the binary format.
410 2006-02-17 Patrick Lam <plam@mit.edu>
411 * fc-cat/fc-cat.c (main):
413 Enable fc-cat to print out old-style cache info when given a
416 2006-02-16 Patrick Lam <plam@mit.edu>
417 * src/fccache.c (FcDirCacheHasCurrentArch):
419 Deal correctly with changing FC_CACHE_MAGIC.
421 2006-02-16 Patrick Lam <plam@mit.edu>
422 * fc-cache/fc-cache.c (usage, scanDirs, main):
424 Add -r --really-force option which blows away cache files and then
427 2006-02-16 Patrick Lam <plam@mit.edu>
428 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
430 Don't bail if fontconfig can't remove a dir cache file.
431 Skip the ID of a cache file when copying.
432 Eliminate 'source file too small' bug in FcDirCacheWrite.
434 2006-02-13 Patrick Lam <plam@mit.edu>
435 * src/fcfreetype.c (FcFreeTypeQuery):
437 Fix memory leak in error condition code.
439 2006-02-13 Mike Fabian <mfabian@suse.de>
441 * src/fcfreetype.c (FcFreeTypeQuery):
443 Skip bitmap fonts which can't even get it together enough to
444 declare a family name; this appears to reproduce previous
445 fontconfig behaviour.
447 2006-02-10 Takashi Iwai <tiwai@suse.de>
449 * src/fccache.c (FcDirCacheOpen):
451 Try to open /var/cache/fontconfig/[hashed name] before
452 fonts.cache-2 in a directory, because /var/cache/fontconfig
453 failures ought to be fixable, unlike fonts.cache-2 failures,
454 which may leave you screwed.
456 2006-02-10 Takashi Iwai <tiwai@suse.de>
458 * src/fcmatch.c (FcFontSetMatch):
460 Use a tri-state to mark the fonts which didn't get blocked but
461 were just missing an element, to distinguish them from the
462 fonts that do match the element.
464 2006-02-10 Takashi Iwai <tiwai@suse.de>
466 * src/fcmatch.c (FcFontSetMatch):
468 Don't kill fonts because they don't declare an element that's
471 2006-02-09 Patrick Lam <plam@mit.edu>
472 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
473 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
475 Define and pass O_BINARY to open if appropriate, for those
476 platforms that need it. Reported by Doodle.
478 2006-02-09 Patrick Lam <plam@mit.edu>
479 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
482 Fix problem with missing 'en' due to euro.patch: change
483 cache file format slightly to coincide with that generated
486 2006-02-07 Patrick Lam <plam@mit.edu>
487 * src/fccache.c (FcCacheReadDirs):
491 2006-02-07 Patrick Lam <plam@mit.edu>
492 * src/fcdir.c (FcDirScanConfig):
494 Don't reject dirs that can't be normalized (fixes lilypond, and
495 is correct in the context of application font directories.)
497 2006-02-07 Takashi Iwai <tiwai@suse.de>
500 * src/fccache.c (FcCacheReadDirs):
502 Use normalized directory name exclusively in FcCacheReadDirs.
504 2006-02-07 Dirk Mueller <dmueller@suse.com>
507 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
509 Perf optimizations. Inline FcValueCanonicalize,
510 reduce FcValueListPtrU usage, remove redundant cast.
512 2006-02-07 Takashi Iwai <tiwai@suse.de>
515 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
518 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
519 Declare extern for static arrays as arrays, not pointers.
520 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
522 2006-02-07 Dirk Mueller <dmueller@suse.com>
535 Add Euro sign to list of symbols required by European languages.
537 2006-02-07 Patrick Lam <plam@mit.edu>
538 * src/fccache.c (FcCacheReadString):
540 Fix hidden variable warning.
542 2006-02-07 Dirk Mueller <dmueller@suse.com>
545 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
547 Remove de-escaping logic because FcCacheWriteString
548 doesn't escape anyway. Do blockwise reading instead
549 of byte-wise for performance.
551 2006-02-06 Patrick Lam <plam@mit.edu>
552 Takashi Iwai <tiwai@suse.de>
554 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
556 Don't loop infinitely on recursive symlinks (client-side).
558 2006-02-06 Takashi Iwai <tiwai@suse.de>
560 * fc-cache/fc-cache.c (scanDirs, main):
562 Don't loop infinitely on recursive symlinks.
564 2006-02-06 Takashi Iwai <tiwai@suse.de>
566 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
567 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
568 FcGlobalCacheSave, FcCacheReadDirs):
571 Skip subdirs when skipping over stale bits of global cache.
572 Introduce state machine into FcGlobalCacheDir to avoid
573 doing inappropriate operations on global dir entries, e.g.
574 writing out an out-of-date cache entry.
576 2006-02-06 Takashi Iwai <tiwai@suse.de>
578 * src/fcdir.c (FcFileScanConfig):
580 Hoist FcFileIsDir check out of FcFileScanConfig loop.
582 2006-02-06 Takashi Iwai <tiwai@suse.de>
585 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
586 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
588 Don't rescan when trying to normalize a non-declared font dir.
589 Don't add font dirs multiple times (even if they're aliased).
591 2006-02-06 Dirk Mueller <dmueller@suse.de>
594 * src/fcfs.c (FcFontSetUnserialize):
596 Explain apples/oranges comparison and fix compilation error.
598 2006-02-06 Dirk Mueller <dmueller@suse.de>
601 * src/fcfs.c (FcFontSetUnserialize):
603 Insert check for integer overflow in # of fonts.
605 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
609 * fc-cache/Makefile.am:
610 * fc-cat/Makefile.am:
611 * fc-list/Makefile.am:
613 Make 'make distcheck' work with automake 1.6.3.
615 2006-02-03 Takashi IWAI <tiwai@suse.de>
618 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
621 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
622 FcDirCacheConsume, FcDirCacheWrite)
623 * src/fcxml.c (FcConfigMessage):
625 Check I/O call return values and eliminate unused variable
628 2006-02-03 Takashi Iwai <tiwai@suse.de>
631 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
635 2006-02-03 Dirk Mueller <dmueller@suse.de>
638 * src/fcfs.c (FcFontSetUnserialize):
640 Gracefully handle the case where a cache asserts that it
641 has a negative number of fonts, causing overflow.
643 2006-02-03 Patrick Lam <plam@mit.edu>
644 * src/fccache.c (FcDirCacheUnlink):
646 Fix double free in error case.
648 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
649 Stephan Kulow <coolo@suse.de>
652 * fc-cache/Makefile.am:
654 Replace 'stamp' target with mkinstalldirs.
656 2006-01-31 Mike Fabian <mfabian@suse.de>
659 * src/fccache.c (FcGlobalCacheLoad):
661 Toast broken global cache files.
663 2006-01-30 Patrick Lam <plam@mit.edu>
664 * src/fccache.c (FcGlobalCacheReadDir):
666 Actually use the directories that I added to the global cache.
669 2006-01-30 Mike Fabian <mfabian@suse.de>
672 * fc-cache/fc-cache.c (scanDirs):
674 Don't stop scanning if a directory in fonts.conf doesn't
675 exist, because subsequent directories might exist.
677 2006-01-30 Patrick Lam <plam@mit.edu>
678 * src/fccache.c (FcGlobalCacheLoad):
680 Make global cache work again after putting dir names into global
681 cache (I misplaced the recording of a file offset).
683 2006-01-30 Patrick Lam <plam@mit.edu>
684 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
686 Update fc-cat to handle subdir lists in global cache file.
688 * src/fccache.c (FcGlobalCacheLoad):
690 Another FcCacheReadString return value check.
692 2006-01-30 Mike Fabian <mfabian@suse.de>
695 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
696 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
698 Make fccache more resilient to broken cache files by checking
699 return value of FcCacheReadString all the time.
701 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
704 * fc-match/fc-match.1:
705 * fc-lang/fc-lang.man:
707 Remove references to dead fontconfig(3) manpages in
708 other fontconfig manpages.
710 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
713 * doc/fcpattern.fncs:
715 Fix world's tiniest typo in code example.
717 2006-01-29 Mike Fabian <mfabian@suse.de>
720 * src/fccache.c (FcGlobalCacheReadDir):
722 Fix global cache reads of subdirectories.
724 2006-01-29 Patrick Lam <plam@mit.edu>
726 Add documentation for FcConfigNormalizeFontDir.
728 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
729 FcGlobalCacheUpdate, FcGlobalCacheSave):
730 * src/fcdir.c (FcDirScanConfig):
733 Write directory information to global caches to fix make check
734 (reported by Ronny V. Vindenes). This changes the global cache
737 2006-01-27 Patrick Lam <plam@mit.edu>
738 * fc-cache/fc-cache.c (scanDirs):
739 * fontconfig/fontconfig.h:
741 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
743 Move FcConfigNormalizeFontDir call so that it doesn't result in
744 infinite recursion (reported by Ronny V. Vindenes).
746 2006-01-26 Patrick Lam <plam@mit.edu>
747 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
748 * src/fccfg.c (FcConfigNormalizeFontDir):
750 Add a couple of missing normalizations to make fc-cache work
751 right; only scan subdirectories once.
753 2006-01-26 Mike Fabian <mfabian@suse.de>
756 * src/fcacache.c (FcGlobalCacheReadDir):
758 Don't crash on non-existant directories in global cache.
760 2006-01-26 Patrick Lam <plam@mit.edu>
761 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
762 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
763 * src/fcdir.c (FcDirScanConfig):
764 * src/fcxml.c (FcEndElement):
766 Stop trampling the directory name when writing out caches.
767 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
768 subdirs when necessary. Don't scan directories that can't be
771 2006-01-25 Patrick Lam <plam@mit.edu>
772 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
773 * src/fccfg.c (FcConfigEvaluate):
774 * src/fcfreetype.c (FcPatternAddWithBinding):
776 Fix additional memory leaks reported by Ronny V. Vindenes: don't
777 invoke FcValueSave on hashed static strings in
778 FcPatternAddWithBinding.
780 Add another st_dev check in FcDirCacheOpen.
782 2006-01-24 James Su <james.su@gmail.com>
785 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
786 * fc-lang/zh_hk.orth:
788 Treat zh-hk fonts differently from zh-tw fonts. This patch may
789 cause fontconfig to treat A-X fonts differently from A-Y fonts;
790 please mail the fontconfig list if this causes any problems.
792 2006-01-24 Patrick Lam <plam@mit.edu>
793 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
794 * src/fcfreetype.c (FcFreeTypeQuery):
796 Fix memory leaks reported by Ronny V. Vindenes.
798 2006-01-19 Andreas Schwab <schwab@suse.de>
801 * src/fcpat.c (FcStrNeededBytes):
803 Fix for unaligned memory accesses.
805 2006-01-18 Mike Fabian <mfabian@suse.de>
808 * src/fcdir.c (FcDirScanConfig):
810 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
811 calls to avoid crashes.
813 2006-01-14 Patrick Lam <plam@mit.edu>
814 * src/fccache.c (FcDirCacheConsume):
816 Fix segfault when consuming zero-length caches in fc-cat
817 (which has no config, so FcConfigAddFontDir shouldn't be called.)
819 2006-01-14 Patrick Lam <plam@mit.edu>
820 * fc-cache/fc-cache.c (scanDirs):
821 * fontconfig/fontconfig.h:
822 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
823 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
824 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
825 * src/fcdir.c (FcDirScanConfig):
828 Compare device numbers as well as inodes.
829 Always normalize directory names before comparing them.
831 2006-01-11 Mike Fabian <mfabian@suse.de>
834 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
836 Allocate extra space for appended '/' in directory name.
838 2006-01-10 Patrick Lam <plam@mit.edu>
839 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
840 FcDirCacheValid, FcDirCacheHasCurrentArch,
841 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
842 * fc-cache/fc-cache.c (main):
844 Explicitly add font dirs to config.fontDirs even if they're empty.
845 Set current config in fc-cache.c.
846 Fix treatment of cache directory as read from cache file; don't
847 use string equality to determine if we have the right file,
850 2006-01-09 Patrick Lam <plam@mit.edu>
851 * fc-cache/fc-cache.c (scanDirs):
852 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
853 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
854 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
855 * src/fccfg.c (FcConfigNormalizeFontDir):
856 * src/fcdir.c (FcDirScanConfig):
859 Normalize font dirs by using the form, as given in fonts.conf, and
860 recorded in FcConfig's fontDirs string set, as canonical.
862 Actually update config.fontDirs as font directories are scanned.
864 2006-01-08 James Su <james.su@gmail.com>
865 * src/fcmatch.c (FcFontSetMatch):
867 Fix matching bug when multiple elements match; don't use
868 the sum of all scores, but the best score.
870 Also more perf opts, e.g. evaluate best over all font sets
871 rather than on a per-set basis (and other changes).
873 2006-01-08 Patrick Lam <plam@mit.edu>
874 * src/fccache.c (FcDirCacheConsume):
876 Properly skip past dir caches that contain zero fonts (as occurs
877 in global caches.) Reported by Mike Fabian.
879 2006-01-06 Patrick Lam <plam@mit.edu>
880 * src/fcdbg.c (FcPatternPrint):
882 Print out full pathname in fc-match -v as well. Reported by
885 2006-01-06 Mike Fabian <mfabian@suse.de>
888 * src/fcname.c (FcNameParse):
890 Fix bug where fc-match crashes when given __DUMMY__ property to
893 (I added the __DUMMY__ string to enable callers of
894 FcObjectToPtrLookup to distinguish an error return from a
895 successful return. -PL)
897 2006-01-05 Patrick Lam <plam@mit.edu>
900 Add self to AUTHORS list.
902 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
903 FcCacheFileRead, FcCachePrintSet, main):
904 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
905 FcGlobalCacheSave, FcCacheNextOffset,
906 FcDirCacheHasCurrentArch, FcDirCacheRead,
907 FcDirCacheConsume, FcDirCacheWrite):
909 * src/fcpat.c (comment):
911 Minor change to global cache file format to fix fc-cat bug
912 reported by Frederic Crozat, and buglet with not globally caching
913 directories with zero fonts cached.
915 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
918 * src/fccfg.c (FcConfigEvaluate):
920 Fix double-free which occurs because FcValueCanonicalize doesn't
921 create an extra copy of the returned value, it only canonicalizes
924 2006-01-02 Patrick Lam <plam@mit.edu>
925 * doc/fontconfig-user.sgml:
927 Fix version of .cache file (currently 1 -> currently 2). Reported
930 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
933 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
935 Shut up GCC warnings on amd.
937 2005-12-20 Patrick Lam <plam@mit.edu>
941 * fontconfig/fontconfig.h:
943 Bump version to 2.3.93.
945 2005-12-20 Patrick Lam <plam@mit.edu>
946 * src/fccharset.c (FcLangCharSetPopulate):
947 * src/fcint.h (FcCacheBankToIndex):
949 Avoid check on _fcBankId nullness and fix case where it used to
952 2005-12-20 Patrick Lam <plam@mit.edu>
953 * src/fcxml.c (FcConfigParseAndLoad):
955 Use open instead of fopen (requested by Phil Race for Sun).
957 2005-12-20 Patrick Lam <plam@mit.edu>
958 * src/fccache.c (FcDirCacheWrite);
959 * fc-cache/Makefile.am:
961 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
964 2005-12-20 Patrick Lam <plam@mit.edu>
965 * src/fcfreetype.c (FcFreeTypeQuery):
967 Restore code to skip over PCF fonts that have no encoded
969 (We guess that a font is PCF by presence of the PIXEL_SIZE
972 2005-12-12 Patrick Lam <plam@mit.edu>
973 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
975 Read and write the original location as a fallback for the
976 hashed cache file locations. This is mostly for users to be
977 able to have per-directory cache files.
979 2005-12-12 Patrick Lam <plam@mit.edu>
980 * fc-cache/fc-cache.c (scanDirs):
981 * fc-cache/Makefile.am:
982 * src/fccache.c (FcDirCacheHashName):
984 Improve error message when fc-cache can't write the cache. Add
985 missing slash. Reported by Behdad. Incorporate Behdad's patch to
986 create /var/cache/fontconfig when appropriate.
988 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
991 * src/fcxml.c (FcConfigGetAttribute):
993 Fix crash reported by Frederic Crozat when using libxml2.
995 2005-12-09 Patrick Lam <plam@mit.edu>
998 * fc-cache/Makefile.am:
999 * fc-cat/Makefile.am:
1001 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1002 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1003 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1004 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1005 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1006 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1008 Migrate cache files from fonts directories to
1009 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1010 but requires that all caches get rebuilt.
1012 Also, autogen.sh now needs the additional parameter
1013 --localstatedir=/var.
1015 2005-12-07 Patrick Lam <plam@mit.edu>
1016 * src/fcpat.c (FcPatternAddString):
1018 Because we've changed FcPatternAddString to use FcStrStaticName
1019 and not FcValueSave, explicitly handle the case of a null string.
1021 2005-12-06 Patrick Lam <plam@mit.edu>
1022 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1026 2005-12-05 Patrick Lam <plam@mit.edu>
1027 * src/fcname.c (FcNameGetObjectType):
1029 Don't assign types to user object names.
1031 2005-12-05 Patrick Lam <plam@mit.edu>
1032 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1034 Don't free strings that have been returned from FcStrStaticName.
1036 2005-12-01 Patrick Lam <plam@mit.edu>
1037 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1039 Add codepath for reading global cache files as well.
1041 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1044 * conf.d/10-fonts.persian.conf:
1045 * conf.d/Makefile.am:
1047 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1049 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1052 * src/fcxml.c (FcConfigParseAndLoad):
1054 Only add a config file to the set of config files once.
1056 2005-11-29 Patrick Lam <plam@mit.edu>
1057 * src/fcint.h (FcCacheBankToIndex);
1059 Fix segfault by guarding array dereference.
1061 2005-11-29 Dirk Mueller <dmueller@suse.de>
1064 * fc-lang/fc-lang.c:
1065 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1066 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1070 Refactor FcCacheBankToIndex into an inlineable part
1071 (in fcint.h) which checks the front of the list and a
1072 non-inlineable part which finds and moves the appropriate element
1073 to the front of the list.
1075 2005-11-29 Patrick Lam <plam@mit.edu>
1076 * src/fccfg.c (FcConfigBuildFonts):
1077 * src/fccache.c (FcCacheReadDirs):
1079 Make the perf guys hate me a bit less: hoist the directory-name
1080 FcConfigAcceptFont check for cached fonts up to directory cache
1081 read time, rather than running it for each font.
1083 2005-11-29 Patrick Lam <plam@mit.edu>
1084 * src/fccfg.c (FcConfigBuildFonts):
1086 * src/fcpat.c (FcPatternFindFullFname):
1088 Don't make FcPatternFindFullFname available to fccfg, it's not
1089 really safe. Instead go through FcPatternGetString (sorry,
1090 perf guys.) Also, use globs for dirs as well.
1092 2005-11-28 Patrick Lam <plam@mit.edu>
1093 * src/fccfg.c (FcConfigBuildFonts):
1097 2005-11-28 Patrick Lam <plam@mit.edu>
1099 * src/fcpat.c (FcPatternFindFullFname):
1100 * src/fccfg.c (FcConfigBuildFonts):
1102 Fix problem dating back at least to 2.3.2 where globs weren't
1103 being applied to patterns loaded from a cache.
1105 2005-11-28 Patrick Lam <plam@mit.edu>
1106 * doc/fontconfig-user.sgml:
1108 Fix some obvious spelling mistakes.
1110 2005-11-28 Dirk Mueller <dmueller@suse.com>
1111 Stephan Kulow <coolo@suse.de>
1114 * src/fcmatch.c (FcFontSetMatch):
1116 Don't kill all fonts during match (oops!)
1119 2005-11-25 Dirk Mueller <dmueller@suse.com>
1120 Stephan Kulow <coolo@suse.de>
1121 Michael Matz <matz@suse.de>
1124 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1127 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1128 inline FcCompare into FcFontSetMatch and reorder the
1129 loops, adding a boolean array which blocks patterns from future
1130 consideration if they're known to not be best on some past
1133 2005-11-26 Dirk Mueller <dmueller@suse.com>
1136 * src/fcmatch.c (FcCompareValueList):
1138 Fix incorrect merge.
1140 2005-11-25 Patrick Lam <plam@mit.edu>
1141 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1143 Don't do random matching when bad objects are passed into
1146 2005-11-25 Patrick Lam <plam@mit.edu>
1148 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1149 FcPatternSerialize, FcPatternUnserialize,
1150 FcValueListEnsureBank, FcValueListDistributeBytes,
1151 FcValueListUnserialize):
1153 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1154 _fcPatternElts, _fcValueLists for consistency.
1156 2005-11-25 Dirk Mueller <dmueller@suse.com>
1161 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1163 2005-11-25 Patrick Lam <plam@mit.edu>
1165 * src/fccache.c (FcDirCacheConsume):
1166 * src/fccharset.c (FcCharSetUnserialize):
1167 * src/fcfs.c (FcFontSetUnserialize):
1168 * src/fclang.c (FcLangSetUnserialize):
1169 * src/fcname.c (FcObjectUnserialize):
1170 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1171 FcPatternUnserialize):
1173 Pass around FcCache *s to the Unserialize functions for extra
1174 consistency (and less overhead, for what that's worth).
1176 2005-11-24 Dirk Mueller <dmueller@suse.com>
1180 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1181 * src/fcname.c (FcNameUnparseValue):
1183 Inline the *PtrU functions to gain perf.
1184 Remove unneeded params for the FcCompare* functions.
1186 2005-11-24 Dirk Mueller <dmueller@suse.com>
1189 * src/fcint.h, fontconfig/fontconfig.h:
1191 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1193 * src/fcpat.c, src/fcint.h, src/fcname.c:
1195 Check for type validity during FcPatternAddWithBinding, don't
1196 verify type in FcFontMatch, don't call FcCanonicalize here
1197 (which always does a deep copy).
1199 2005-11-24 Dirk Mueller <dmueller@suse.com>
1202 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1203 * src/fcpat.c (FcPatternAddWithBinding):
1205 Make FcCompareString and FcCompareFamily less expensive.
1206 Only add a value for FC_FAMILY if the proposed value is a string.
1208 2005-11-24 Dirk Mueller <dmueller@suse.com>
1211 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1212 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1213 * src/fcint.h (FcDebug):
1215 Inline FcDebug invocations and only initialize once, in FcInit*.
1216 Improve debug msg in FcPatternPrint.
1218 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1221 * fontconfig/fontconfig.h:
1224 Minor code warning cleanups.
1226 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1229 * fc-match/fc-match.c (main):
1231 Make getopt_long accept -s parameter to fc-match as well.
1233 2005-11-21 Dirk Mueller <dmueller@suse.com>
1236 * src/fcmatch.c (FcCompareValueList):
1238 Manually perform inlining & partial redundancy elimination to
1239 reduce calls to FcValueListPtrU.
1241 2005-11-21 Dirk Mueller <dmueller@suse.com>
1244 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1245 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1247 Only invoke strlen() when really necessary.
1249 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1253 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1254 FcFontCapabilities):
1258 Get rid of the use of freetype internal headers in fcfreetype.c,
1259 since those headers will go away with freetype 2.2. Replace with
1260 public domain ftglue code from pango. Note that the patch removes
1261 some extra error checking in FT_Get_BDF_Property() and comments
1262 out the skipping of empty pcf fonts.
1264 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1267 * fc-lang/fc-lang.c (main):
1269 Further fix of patch from 2005-11-04: miscounted numbers count
1270 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1271 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1273 Removed leafidx_count and numbers_count since they are the same
1274 and replaced them with offset_count.
1276 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1279 * fc-cat/fc-cat.c (main):
1281 Don't crash when fc-cat invoked with no arguments.
1283 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1286 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1288 Fix invalid read access caused by premature free and
1289 GCC4 warnings in libxml2 codepath.
1291 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1294 * src/fccfg.c (FcConfigValues):
1296 List iteration not needed in FcConfigValues, since it's building
1297 up the list itself; we can just strip FcVoid elements during
1300 2005-11-17 Patrick Lam <plam@mit.edu>
1301 * src/fccfg.c (FcConfigValues):
1303 Fix crash on invalid constants in config files (forgot to update
1304 a pointer upon list iteration.)
1306 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1309 * src/fcxml.c (FcTypecheckExpr):
1311 Complain about invalid constants in config files.
1313 2005-11-17 Andreas Schwab <schwab@suse.de>
1316 * src/fccache.c (FcGlobalCacheSave):
1318 Don't add current_arch_start more than once.
1320 2005-11-16 Patrick Lam <plam@mit.edu>
1321 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1322 * src/fcfs.c (FcFontSetUnserialize):
1323 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1324 * src/fcpat.c (FcStrUnserialize):
1326 Fix ordering of ALIGN with respect to saving block_ptr; add
1327 another ALIGN to fcfs.c.
1329 2005-11-16 Patrick Lam <plam@mit.edu>
1330 * src/fccache.c (FcDirCacheProduce)
1332 Fix case where alignment bytes bumped up metadata->count
1333 causing unwarranted failures to write cache files.
1334 (Reported by Stephan Kulow).
1336 2005-11-16 Patrick Lam <plam@mit.edu>
1337 * src/fccache.c (FcDirCacheProduce):
1338 * src/fccharset.c (FcCharSetDistributeBytes):
1339 * src/fcfs.c (FcFontSetDistributeBytes):
1341 * src/fclang.c (FcLangSetDistributeBytes):
1342 * src/fcname.c (FcObjectDistributeBytes):
1343 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1346 Add *NeededBytesAlign(), which overestimates the padding which is
1347 later added by the new ALIGN macro. Fix alignment problems on
1348 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1349 version by Andreas Schwab).
1351 2005-11-16 Stephan Kulow <coolo@kde.org>
1356 Use sysconf to determine proper PAGESIZE value; this
1357 appears to be POSIX-compliant. (reported by Andreas Schwab)
1359 2005-11-04 Patrick Lam <plam@mit.edu>
1360 * fc-lang/fc-lang.c:
1365 Fix bug 2878 (excessive relocations at startup for charsets,
1366 reported by Ross Burton): fc-lang/fc-lang now creates the
1367 static form of the langset, not the dynamic form, so that
1368 the charsets should now be in .rodata.
1370 2005-11-04 Patrick Lam <plam@mit.edu>
1371 * src/fcdir.c (FcDirScanConfig):
1373 Add test for validity of directory caches that
1374 somehow got lost (reported by make distcheck).
1376 2005-11-04 Patrick Lam <plam@mit.edu>
1380 * fontconfig/fontconfig.h:
1382 Bump version to 2.3.92.
1384 2005-11-02 Patrick Lam <plam@mit.edu>
1385 * src/fcpat.c (FcPatternDuplicate):
1387 Fix argument ordering problem in call to FcPatternTransferFullFname.
1389 2005-11-02 Patrick Lam <plam@mit.edu>
1390 * src/fcfreetype.c (FcFreetypeQuery):
1391 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1392 FcPatternTransferFullFname):
1394 Fix warnings and embarrassing double-free error.
1396 2005-11-02 Zhe Su <zsu@novell.com>
1401 Change the rule for artificial emboldening in fonts.conf.in. This
1402 enables the support for artificial emboldening included in cairo.
1404 2005-11-02 Patrick Lam <plam@mit.edu>
1405 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1407 Don't zero out full names for FC_REF_CONSTANT fonts;
1408 also, duplicate full names when transferring, and free
1409 full names when freeing the associated font.
1410 Reported by Jinghua Luo.
1412 2005-11-02 Patrick Lam <plam@mit.edu>
1413 * fc-cache/fc-cache.c (scanDirs):
1414 * src/fcpat.c (FcValueListSerialize):
1416 Revert the previous patch and commit the correct patch:
1417 I forgot a canonicalization in FcValueListSerialize, so
1418 that it would choke on already-serialized input files. Duh!
1420 2005-11-02 Patrick Lam <plam@mit.edu>
1421 * fc-cache/fc-cache.c (scanDirs):
1423 Forcibly rescan a directory before writing a fresh local
1424 cache file for that directory, fixing the losing-fonts
1425 problem reported by Mike Fabian and also apparently the
1426 font cache file corruption.
1428 2005-11-02 Patrick Lam <plam@mit.edu>
1429 * src/fccache.c (FcGlobalCacheLoad):
1431 Fix thinko: actually, the whole global cache is stale
1432 if the global cache is older than the (newest) config file.
1434 2005-11-02 Patrick Lam <plam@mit.edu>
1435 * src/fccache.c (FcGlobalCacheLoad):
1436 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1439 Declare the global cache of a directory's contents to be stale if
1440 the directory is newer than the (newest) configuration file.
1442 2005-10-31 Patrick Lam <plam@mit.edu>
1444 * src/fclist.c (FcListAppend):
1445 * src/fcmatch.c (FcFontRenderPrepare):
1446 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1447 FcPatternFreeze, FcPatternBaseFreeze):
1449 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1450 applications continue breaking.
1452 2005-10-31 Patrick Lam <plam@mit.edu>
1453 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1454 * src/fcfreetype.c (FcFreeTypeQuery):
1456 Fix small memory error (tried to free argv); use basename and
1457 dirname correctly (they can modify their arguments).
1459 2005-10-31 Patrick Lam <plam@mit.edu>
1467 Reinstate basename patch, but keep a hash table linking FcPatterns
1468 to their fully-qualified font names for clients' benefit. Clients
1469 only pay for the font names once they request the FC_FILE property
1470 from an FcPattern, but the font name is malloc'd at that point (i.e.
1471 not mmapped: that's impossible, since it may vary between machines.)
1472 Clients do have to pay for a copy of the path name per cache file.
1474 Note that FcPatternGetString now does some rewriting if you ask
1475 for an FC_FILE, appending the pathname as appropriate.
1477 2005-10-31 Patrick Lam <plam@mit.edu>
1478 * src/fcfreetype.c (FcFreeTypeQuery):
1480 Revert basename patch, which breaks fontconfig clients on my system.
1482 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1485 * fontconfig/fonts.conf.in:
1486 * fontconfig/fontconfig.h:
1490 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1491 to load embedded bitmaps or not.
1493 2005-10-25 Patrick Lam <plam@mit.edu>
1494 * src/fcfreetype.c (FcFreeTypeQuery):
1496 Only add basename to patterns' FC_FILE element, not any part of
1499 2005-10-22 Patrick Lam <plam@mit.edu>
1502 Add some more consts, fixing more GCC4 warnings.
1504 2005-10-22 Zhe Su <zsu@novell.com>
1507 Support localized font family and style names.
1508 This has been reported to break old apps like xfd, but modern
1509 (gtk+/qt/mozilla) apps work fine.
1511 2005-10-21 Patrick Lam <plam@mit.edu>
1512 * src/fccache.c (FcGlobalCacheLoad):
1514 Destroy the global cache file if it's terminally broken. (reported by
1517 2005-10-21 Patrick Lam <plam@mit.edu>
1518 * fc-list/fc-list.c (main):
1519 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1520 * fontconfig/fontconfig.h:
1522 Prevent fc-list from escaping strings when printing them (reported by
1525 2005-10-20 Marcus Meissner <meissner@suse.de>
1528 * fontconfig/fontconfig.h:
1530 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1532 2005-10-14 Ross Burton <ross@burtonini.com>
1535 * fc-glyphname/fc-glyphname.c:
1538 Add consts to variables so as to move arrays into .rodata.
1540 2005-10-14 Mike Fabian <mfabian@suse.de>
1543 * src/fccache.c (FcDirCacheUnlink):
1545 Check existence of directory cache file before attempting to unlink.
1547 2005-10-13 Patrick Lam <plam@mit.edu>
1548 * src/fccache.c (FcDirCacheUnlink):
1550 Fix flipped return value on unlink. (Reported by Mike Fabian)
1552 2005-10-12 Patrick Lam <plam@mit.edu>
1555 * src/fcdir.c (FcDirScanConfig):
1558 When fc-cache is run without --force, use directory cache files
1559 to speed up fc-cache run time. (Reported by Mike Fabian)
1561 2005-10-06 Patrick Lam <plam@mit.edu>
1563 * src/fcname.c (FcObjectToPtr):
1564 * src/fcpat.c (FcStrStaticName):
1566 Add padding to make valgrind and glibc not hate each other
1567 when calling strlen().
1569 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1570 reviewed by: plam & keithp
1574 Modify config file to use Greek fonts before Asian fonts with
1577 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1578 reviewed by: plam & keithp
1582 Use libtool -no-undefined flag on all platforms.
1584 2005-10-05 Patrick Lam <plam@mit.edu>
1585 * src/fccache.c (FcCacheHaveBank):
1587 Implement move-to-front array for banks (perf regression
1588 reported by Ronny V. Vindenes).
1590 2005-10-04 Patrick Lam <plam@mit.edu>
1591 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1592 FcDirCacheHasCurrentArch):
1593 * fc-cache/fc-cache.c (scanDirs):
1594 * fontconfig/fontconfig.h:
1596 Add new API which unlinks directory caches and checks dir caches
1597 for existence of appropriate sections. Fix fc-cache to unlink
1598 stale cache files and save directory caches that lack relevant
1601 2005-10-03 Patrick Lam <plam@mit.edu>
1602 * src/fccache.c (FcDirCacheValid):
1604 Ensure that a directory cache has the appropriate section
1605 before reporting that it is valid (reported by Matthias Clasen).
1607 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1615 Use libxml2 if requested (with --enable-libxml2) or if
1616 expat is not available.
1618 2005-09-29 Patrick Lam <plam@mit.edu>
1619 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1621 Fix multi-arch cache files: compute the position for the
1622 block to be added using info from OrigFile, not NewFile.
1624 2005-09-28 Patrick Lam <plam@mit.edu>
1625 * src/fccache.c (FcCacheMachineSignature):
1627 Cast results of sizeof() to unsigned int to get rid of
1628 warnings on x86_64 (thanks Matthias Clasen).
1630 2005-09-27 Patrick Lam <plam@mit.edu>
1631 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1634 Use FcAtomic to rewrite cache files.
1636 2005-09-27 Patrick Lam <plam@mit.edu>
1638 * src/fccache.c (FcDirCacheWrite):
1640 Don't unlink the fonts.cache-2 file even if there's no data
1641 to write; just write an empty cache file. (thanks Lubos Lunak)
1643 2005-09-27 Patrick Lam <plam@mit.edu>
1645 * src/fccache.c (FcDirCacheWrite):
1647 Allocate room for the subdirectory names in each
1648 directory cache. Thanks to James Cloos for finding
1649 and diagnosing this bug!
1651 2005-09-22 Patrick Lam <plam@mit.edu>
1653 * fc-cache/fc-cache.sgml:
1654 * src/fccache.c (FcDirCacheWrite):
1655 * src/fccache.h (struct FcCache):
1657 Update documentation -- fc-cache's man page now says that you
1658 need to run fc-cache once per cached architecture; add some
1659 documentation to the FcCache structure.
1661 Make fc-cache write out fonts.cache-2 files for directories with
1662 no fonts (i.e. only subdirectories).
1664 2005-09-22 Patrick Lam <plam@mit.edu>
1666 * fc-cache/fc-cache.sgml:
1667 * fc-case/fc-case.c:
1668 * fc-glyphname/fc-glyphname.c:
1674 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1678 * fc-lang/fc-lang.c:
1679 * fontconfig/fcprivate.h:
1680 * fontconfig/fontconfig.h:
1694 Implement new mmaped cache for font information.
1695 Bump so revision to 2.3.90.
1697 2005-07-25 Keith Packard <keithp@keithp.com>
1699 * doc/fontconfig-user.sgml:
1700 * fc-glyphname/fc-glyphname.c: (scan), (main):
1701 * fc-lang/fc-lang.c: (FcConfigHome):
1702 * fc-match/fc-match.c: (main):
1703 * src/fccfg.c: (FcConfigHome):
1704 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1705 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1706 (addtag), (FcFontCapabilities):
1707 * src/fcpat.c: (FcValueListEntCreate):
1708 * src/fcstr.c: (FcStrCaseWalkerInit):
1709 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1711 Various GCC 4 cleanups for signed vs unsigned char
1713 Match only [0-9]*.conf files in <include>{directory}</include>
1714 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1716 2005-07-15 Carl Worth <cworth@cworth.org>
1719 * src/fcinit.c: (FcFini):
1720 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1723 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1724 Pull the FcObjectStateName hash table out to file scope, and add
1725 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1728 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1731 2005-06-16 Patrick Lam <plam@MIT.EDU>
1735 * src/fccfg.c: (FcConfigCompareValue):
1736 Make FcOpNotContains use FcStrStr for strings so that
1737 it matches semantics for !FcOpContains.
1739 2005-05-20 Keith Packard <keithp@keithp.com>
1743 Move fontconfig source package to libs as per override
1745 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1747 reviewed by: Mike Fabian
1750 The ka.orth file requires several characters which are not
1751 used anymore in modern Georgian and which are missing in the free
1752 Georgian TrueType fonts downloadable at:
1754 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1756 2005-04-27 Keith Packard <keithp@keithp.com>
1760 Update date to real 2.3.2 release date.
1761 Fix change attributions
1763 2005-04-27 Keith Packard <keithp@keithp.com>
1766 Bump so revision for 2.3.2
1767 * fc-cache/fc-cache.c: (scanDirs):
1768 Fix a few minor leaks in error cases.
1770 2005-04-23 Keith Packard <keithp@keithp.com>
1775 * fontconfig/fontconfig.h:
1776 Update for version 2.3.2
1778 2005-04-21 Keith Packard <keithp@keithp.com>
1780 * debian/fontconfig.postinst:
1781 Don't force bitmap font enable in default
1782 configuration; allows users to override this in
1792 * debian/po/pt_BR.po:
1793 * debian/po/templates.pot:
1795 * debian/po/zh_CN.po:
1796 Updated translations
1798 * fc-cache/fc-cache.c: (main):
1799 Destroy font configuration on exit to help valgrind
1802 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1803 (FcFreeTypeCheckGlyph):
1804 Use own transcoding routines in preference to iconv
1805 which appears to have leaks in some translators.
1806 Call iconv_close after using iconv (oops).
1808 Prefer unicode encoding of Euro char as some
1809 fonts mis-encode Euro in other ones.
1811 Must fetch bitmap glyphs to get width values
1812 to check for monospace/dual-width fonts.
1814 2005-04-13 Ross Burton <ross@burtonini.com>
1817 Check that a pattern isn't already frozen in FcPatternFreeze.
1819 2005-03-31 Ross Burton <ross@burtonini.com>
1824 Run all FcPattern objects through FcObjectStaticName, so that
1825 compares can be done on pointers instead of strings (#2659)
1827 2005-03-17 Tor Lillqvist <tml@novell.com>
1829 * src/fontconfig.def.in: Add the .dll to the dll name.
1831 2005-03-10 Keith Packard <keithp@keithp.com>
1833 * debian/README.Debian:
1834 Update to reflect configuration changes
1836 * debian/fontconfig.postinst:
1837 Fix Autohint vs Autohinter mistake
1838 * debian/fontconfig.templates:
1839 Adopt changes from Josselin Mouette for configuration descriptions
1840 Update debian to version 2.3.1-2
1842 2005-03-08 Keith Packard <keithp@keithp.com>
1846 Update debian for 2.3.1
1848 2005-03-09 Tor Lillqvist <tml@novell.com>
1850 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1853 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1856 2005-03-08 Keith Packard <keithp@keithp.com>
1860 * fontconfig/fontconfig.h:
1863 2005-03-05 Keith Packard <keithp@keithp.com>
1865 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1866 Include space and remove numbers from valid script tags.
1867 This ensures that tags like 'lao ' work while rejecting
1868 those which have any digits.
1869 Eliminate a spurious debugging variable (len)
1871 2005-03-05 Keith Packard <keithp@keithp.com>
1873 * src/fcfreetype.c: (addtag), (GetScriptTags),
1874 (FcFontCapabilities):
1875 Rework GSUB/GPOS script parsing to survive broken fonts.
1876 Thanks for the broken font go to Manish Singh
1878 2005-03-05 Keith Packard <keithp@keithp.com>
1883 * debian/fontconfig.config:
1884 * debian/fontconfig.templates:
1886 Include 2.3 release information in changelog
1887 Add Josselin Mouette as an Uploader
1888 Set hinting_type to low priority configuration option
1891 * debian/fontconfig.postinst:
1892 yes_bitmaps.conf -> yes-bitmaps.conf
1898 2005-03-02 Keith Packard <keithp@keithp.com>
1901 * conf.d/Makefile.am:
1902 * conf.d/autohint.conf:
1903 * conf.d/no-sub-pixel.conf:
1904 * conf.d/sub-pixel.conf:
1905 * conf.d/unhinted.conf:
1906 * debian/autohint.conf:
1907 * debian/fontconfig.install:
1908 * debian/fontconfig.postinst:
1909 * debian/fontconfig.templates:
1910 * debian/no-sub-pixel.conf:
1911 * debian/unhinted.conf:
1912 Move debian-specific conf file examples upstream.
1914 Sub-pixel configuration examples must smash subpixel value
1915 as Xft always sets it from X.
1917 Change sub-pixel rendering debconf descriptions from
1918 Enable/Disable to Always/Never.
1920 2005-03-02 Keith Packard <keithp@keithp.com>
1923 * conf.d/.cvsignore:
1925 Ignore more build detritus
1928 Add debian package construction stuff.
1930 * config/config.guess:
1931 * config/config.sub:
1932 Update to newer versions of these tools
1935 Get library manuals to build again (we love automake).
1937 * debian/README.Debian:
1938 * debian/autohint.conf:
1943 * debian/fontconfig-udeb.install:
1944 * debian/fontconfig.config:
1945 * debian/fontconfig.defoma:
1946 * debian/fontconfig.dirs:
1947 * debian/fontconfig.install:
1948 * debian/fontconfig.postinst:
1949 * debian/fontconfig.postrm:
1950 * debian/fontconfig.templates:
1951 * debian/libfontconfig1-dev.install:
1952 * debian/libfontconfig1.install:
1953 * debian/local.conf.md5sum:
1954 * debian/no-sub-pixel.conf:
1955 * debian/po/POTFILES.in:
1964 * debian/po/pt_BR.po:
1965 * debian/po/templates.pot:
1967 * debian/po/zh_CN.po:
1969 * debian/unhinted.conf:
1970 Update debian build system to switch maintainers and
1971 deal with 2.3 functionality
1973 2005-03-01 Keith Packard <keithp@keithp.com>
1977 * fontconfig/fontconfig.h:
1980 2005-03-01 Keith Packard <keithp@keithp.com>
1983 Generate and install PDF versions of the manuals
1985 * doc/fcpattern.fncs:
1988 * doc/fcstring.fncs:
1989 Add missing exported functions, fix data types
1991 * doc/fontconfig-devel.sgml:
1992 Add missing pattern elements.
1994 * doc/fontconfig-user.sgml:
1995 Add missing pattern elements. Document conf.d usage,
1996 clarify available orthography list. Fix some config file
1997 attributes. Complete list of constants.
1999 * fontconfig/fontconfig.h:
2000 Mark FC_SOURCE deprecated.
2002 * src/fcfreetype.c: (FcFreeTypeQuery):
2003 Don't set FC_SOURCE any longer.
2005 2005-02-28 Keith Packard <keithp@keithp.com>
2008 * conf.d/Makefile.am:
2010 * conf.d/no-bitmaps.conf:
2011 * conf.d/sub-pixel.conf:
2012 * conf.d/yes-bitmaps.conf:
2014 Create prototype /etc/fonts/conf.d directory with a few
2015 sample configuration files.
2016 Deprecate use of local.conf for local customizations in favor of
2017 this directory based scheme which is more easily integrated into
2018 installation systems.
2021 Tag FC_EMBOLDEN as a boolean variable
2023 2005-02-10 Keith Packard <keithp@keithp.com>
2025 reviewed by: pborelli@katamail.com
2027 * src/fcdir.c: (FcFileScanConfig):
2028 Free patterns from fonts which are rejected by configuration
2031 2005-01-28 Keith Packard <keithp@keithp.com>
2035 * fontconfig/fontconfig.h:
2036 Update for version 2.2.99
2038 2005-01-28 Keith Packard <keithp@keithp.com>
2041 Add a few pointers (#2284, #2285)
2043 2005-01-28 Keith Packard <keithp@keithp.com>
2046 * src/fcname.c: (FcNameBool):
2047 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2048 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2049 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2050 Polite typechecking for test and edit expressions. Helps
2051 catch errors in the font configuration. (bug 229)
2053 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2055 reviewed by: Keith Packard <keithp@keithp.com>
2058 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2060 2005-01-13 Keith Packard <keithp@keithp.com>
2062 * doc/fontconfig-user.sgml:
2063 Add SEE ALSO section (bug 2085)
2065 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2067 reviewed by: Keith Packard <keithp@keithp.com>
2072 * fc-case/Makefile.am:
2073 * fc-glyphname/Makefile.am:
2074 * fc-lang/Makefile.am:
2075 * src/fontconfig.def.in:
2076 Cross compiling fixes (bug 280)
2078 2005-01-13 Keith Packard <keithp@keithp.com>
2081 Update blanks list (Closes bug 86)
2083 2005-01-04 Keith Packard <keithp@keithp.com>
2085 * src/fccache.c: (FcCacheFontSetAdd):
2086 Verify that every font pattern loaded from cache has
2087 both FC_FILE and FC_FAMILY entries.
2088 Attempt to fix bug #2219.
2090 2004-12-29 Keith Packard <keithp@keithp.com>
2094 * fontconfig/fontconfig.h:
2095 Update for version 2.2.98
2097 2004-12-29 Keith Packard <keithp@keithp.com>
2099 * fontconfig/fontconfig.h:
2100 Document ASCII limitations of Fc character conversion macros
2101 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2102 Fix off-by-one error in utf-8 case walking code.
2103 Add FcStrDowncase (useful for testing case conversion functions)
2105 2004-12-29 Keith Packard <keithp@keithp.com>
2108 * fc-case/.cvsignore:
2109 clean up CVS ignore lists
2110 * fc-lang/iso-3166.txt:
2111 Add territory database
2113 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2115 Reviewed by: Keith Packard
2118 Remove Han characters from Korean orthography
2120 2004-12-29 Keith Packard <keithp@keithp.com>
2123 Reorder utility programs to make sure fc-case is run before fc-lang
2124 as fc-lang uses fcstr.c which uses fccase.h
2128 2004-12-29 Keith Packard <keithp@keithp.com>
2131 Adopt some RedHat suggestions for standard font configuration.
2135 * fc-case/CaseFolding.txt:
2136 * fc-case/Makefile.am:
2137 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2138 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2139 (dump), (parseRaw), (caseFoldReadRaw), (main):
2140 * fc-case/fccase.tmpl.h:
2141 Add new helper program 'fc-case' to construct case folding
2142 tables from standard Unicode CaseFolding.txt file
2145 * src/fclist.c: (FcListValueHash):
2146 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2147 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2148 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2149 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2150 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2151 Re-implement case insensitive functions with Unicode
2152 aware versions (including full case folding mappings)
2154 2004-12-13 Keith Packard <keithp@keithp.com>
2156 reviewed by: Owen Taylor <otaylor@redhat.com>
2158 * src/fcmatch.c: (FcFontSetSort):
2159 I changed FcFontSetSort to respect the generic aliases better
2160 in the face of language matching.
2162 What I did was to ammend the strict sort order used by FcFontSort so
2163 that it 'satisfies' the language specified in the pattern by locating
2164 the best matching font supporting each pattern language and then
2165 ignores language in the remaining fonts for purposes of matching.
2167 So, when asking for 'sans:lang=en', you'll get an English font first,
2168 and then the remaining fonts sorted with respect to the 'sans' alias
2169 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2171 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2173 reviewed by: Keith Packard <keithp@keithp.com>
2175 * fontconfig/fontconfig.h:
2178 Configuration changes to request synthetic emboldening of
2179 fonts. The actual emboldening code will live in Xft.
2181 2004-12-09 John Thacker <thacker@math.cornell.edu>
2183 reviewed by: Keith Packard <keithp@keithp.com>
2187 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2188 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2189 и), and don't even appear in KOI8-R. (The hypothesis that they
2190 don't appear in KOI8-R due to their similarity with Latin I and i is
2191 eliminated by their presence in KOI8-U.) I have a couple of fonts
2192 with Russian support that don't have the letter.
2194 Therefore, 0406 and 0456 should be removed from or commented out of
2197 2004-12-06 michael meeks <mmeeks@novell.com>
2199 Reviewed by: Keith Packard <keithp@keithp.com>
2201 * src/fcinit.c: (FcMemReport):
2203 * src/fclist.c: (FcObjectSetAdd):
2204 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2205 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2206 * src/fcxml.c: (FcParsePatelt):
2207 memoize strings and share a single copy for all uses. Note that
2208 this could be improved further by using statically allocated blocks
2209 and gluing multiple strings together, but I'm basically lazy.
2210 In my environment with 800 font files, I get a savings of about 90KB.
2212 2004-12-06 Keith Packard <keithp@keithp.com>
2216 * config/Makedefs.in:
2219 * doc/fcatomic.fncs:
2220 * doc/fcblanks.fncs:
2221 * doc/fccharset.fncs:
2222 * doc/fcconfig.fncs:
2223 * doc/fcconstant.fncs:
2225 * doc/fcfontset.fncs:
2226 * doc/fcfreetype.fncs:
2228 * doc/fcmatrix.fncs:
2229 * doc/fcobjectset.fncs:
2230 * doc/fcobjecttype.fncs:
2231 * doc/fcpattern.fncs:
2232 * doc/fcstring.fncs:
2233 * doc/fcstrset.fncs:
2235 * doc/fontconfig-devel.sgml:
2236 * doc/fontconfig-user.sgml:
2238 * doc/version.sgml.in:
2239 * fc-cache/Makefile.am:
2240 * fc-cache/fc-cache.c:
2241 * fc-glyphname/Makefile.am:
2242 * fc-glyphname/fc-glyphname.c:
2243 * fc-glyphname/fcglyphname.tmpl.h:
2244 * fc-lang/Makefile.am:
2254 * fc-lang/az_ir.orth:
2288 * fc-lang/fc-lang.c:
2289 * fc-lang/fc-lang.man:
2290 * fc-lang/fclang.tmpl.h:
2335 * fc-lang/ku_ir.orth:
2368 * fc-lang/ps_af.orth:
2369 * fc-lang/ps_pk.orth:
2398 * fc-lang/ti_er.orth:
2399 * fc-lang/ti_et.orth:
2425 * fc-lang/zh_cn.orth:
2426 * fc-lang/zh_hk.orth:
2427 * fc-lang/zh_mo.orth:
2428 * fc-lang/zh_sg.orth:
2429 * fc-lang/zh_tw.orth:
2431 * fc-list/Makefile.am:
2432 * fc-list/fc-list.c:
2433 * fc-match/Makefile.am:
2434 * fc-match/fc-match.1:
2435 * fc-match/fc-match.c:
2436 * fontconfig/fcfreetype.h:
2437 * fontconfig/fcprivate.h:
2438 * fontconfig/fontconfig.h:
2459 Change files from ISO-Latin-1 to UTF-8
2461 2004-12-04 Keith Packard <keithp@keithp.com>
2464 Update links to new freedesktop.org locations
2466 Add uninstall-local to get rid of fonts.conf and local.conf if they
2467 match the distributed versions. Fixes 'make distcheck'
2469 2004-12-04 Keith Packard <keithp@keithp.com>
2473 * fontconfig/fontconfig.h:
2474 Updates for version 2.2.97
2476 2004-12-04 Owen Taylor <otaylor@redhat.com>
2478 reviewed by: Keith Packard <keithp@keithp.com>
2480 * fc-cache/fc-cache.c: (main):
2481 Sleep for two seconds before exiting to make sure timestamps
2482 for future changes have distinct mod times in the file system.
2485 Add Punjabi orthography. Bug #1671.
2487 2004-12-04 Keith Packard <keithp@keithp.com>
2490 Just remove the FC_FONTDATE -- it has locale issues and
2491 annoys redhat multi-arch installs. Now that all X fonts are
2492 included without prejudice, the chances of the date being at
2493 all interesting are rather limited. Bug #505.
2495 Add copyright and license
2497 2004-12-04 Keith Packard <keithp@keithp.com>
2500 Change default set of fonts to include all of
2501 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2502 * doc/fontconfig-user.sgml:
2503 Document new <include>directory-name</include> semantics
2505 add <include ignore_missing="yes">conf.d</include>
2507 Add selectfont to ignore bitmap fonts, add comment for
2508 selectfont which accepts bitmap fonts.
2511 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2512 Allow <include> configuration elements to reference directories.
2513 Parse and load all files of the form [0-9]* in sorted order.
2515 2004-12-04 Keith Packard <keithp@keithp.com>
2518 Report command line for $srcdir/configure accurately.
2521 2004-12-04 Keith Packard <keithp@keithp.com>
2523 * src/fcfreetype.c: (FcFreeTypeQuery):
2524 Check for non-empty face->family_name and face->style_name
2525 before using those for the font. Empty names match everything.
2528 2004-12-04 Keith Packard <keithp@keithp.com>
2531 * fontconfig/fontconfig.h:
2532 * src/fcfreetype.c: (FcFreeTypeQuery):
2534 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2535 available. This provides font file format information (BDF, Type 1,
2536 PCF, TrueType) for each font. Closes #109.
2538 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2540 reviewed by: Keith Packard <keithp@keithp.com>
2542 * doc/fontconfig-user.sgml:
2545 * fontconfig/fontconfig.h:
2546 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2547 (GetScriptTags), (FcFontCapabilities):
2549 Add detection for font capabilities (bug #105)
2551 2004-12-04 Keith Packard <keithp@keithp.com>
2554 Move existing fonts.conf to fonts.conf.bak
2557 Add detection of iconv
2559 * doc/fcpattern.fncs:
2560 * doc/fontconfig-devel.sgml:
2561 * doc/fontconfig-user.sgml:
2563 Document new selectfont elements
2566 Switch to UTF-8 in comment
2568 * fontconfig/fontconfig.h:
2570 Add fullname, and family/style/fullname language entries
2572 * src/fccache.c: (FcCacheFontSetAdd):
2573 * src/fcdir.c: (FcFileScanConfig):
2574 Respect selectfont/*/glob
2577 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2578 (FcConfigCompareValue), (FcConfigPatternsAdd),
2579 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2580 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2581 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2582 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2583 Add support for selectfont
2585 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2586 (FcStringInPatternElement), (FcFreeTypeQuery):
2587 Add multi-lingual family/style/fullname support
2589 * src/fclist.c: (FcListPatternMatchAny):
2590 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2592 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2593 (FcObjectStaticName):
2594 Add new FcPatternRemove/FcPatternAppend.
2595 FcObjectStaticName stores computed pattern element names which
2596 are required to be static.
2598 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2603 Remove spurious / after $(DESTDIR)
2605 2004-06-30 Keith Packard <keithp@keithp.com>
2609 * fontconfig/fontconfig.h:
2612 2004-06-30 Keith Packard <keithp@keithp.com>
2614 Provided by: Lubos Lunak <l.lunak@suse.cz>
2616 * src/fccfg.c: (FcConfigUptoDate):
2617 However FcConfigUptoDate() doesn't seem to work. See the attached
2618 patch. First there's an obvious misplaced parenthesis making it
2619 return always false, and second, even this call fails to detect font
2620 changes (e.g. adding a new font to
2621 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2622 well. The problem seems to be triggered by my fonts.conf specifying
2623 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2624 doesn't include subdirs, unlike config->fontDirs.
2626 2004-06-03 Keith Packard <keithp@keithp.com>
2628 * fontconfig/fontconfig.h:
2629 Remove comma at end of FcResult enum definition.
2631 2004-05-29 Keith Packard <keithp@keithp.com>
2634 Add steps to md5sum release
2636 2004-05-29 Keith Packard <keithp@keithp.com>
2640 * fontconfig/fontconfig.h:
2643 2004-05-29 Keith Packard <keithp@keithp.com>
2645 * fontconfig/fontconfig.h:
2646 * src/fcmatch.c: (FcFontSetMatch):
2647 Add FcResultOutOfMemory to provide an accurate error when
2648 FcFontSetMatch fails in this way
2651 Make #warning about lacking various FreeType features indicate
2652 which version those features appeared so users know how to
2653 fix the problem (Thanks to Anton Tropashko)
2655 2004-05-05 Keith Packard <keithp@keithp.com>
2657 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2658 Replace MIN/MAX/ABS macros which happen to have come
2659 from FreeType with fontconfig-specific ones (FC_*)
2661 2004-04-23 Keith Packard <keithp@keithp.com>
2664 Extend release preparation instructions to include
2665 notification and distribution steps
2667 2004-04-23 Keith Packard <keithp@keithp.com>
2671 * fontconfig/fontconfig.h:
2672 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2674 2004-04-23 Keith Packard <keithp@keithp.com>
2677 Ignore a few more autotool files
2679 2004-04-14 Keith Packard <keithp@keithp.com>
2682 Add instructions for doing a release
2684 * fontconfig.spec.in:
2685 clean up .spec file; perhaps this will be useful to somebody...
2689 * fontconfig/fontconfig.h:
2692 * fc-lang/fc-lang.c:
2693 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2695 * fc-glyphname/Makefile.am:
2696 * fc-lang/Makefile.am:
2697 * fc-list/Makefile.am:
2698 * fc-match/Makefile.am:
2700 Add WARN_CFLAGS to pass -W flags for GCC systems
2702 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2703 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2704 Change various char types around to match across
2706 Fixed bug in using available_sizes[i].height which
2707 is in pixels, not 64ths of a pixel.
2709 2004-03-06 Keith Packard <keithp@keithp.com>
2711 * src/fcfreetype.c: (FcFreeTypeQuery):
2712 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2713 matches looking for explicit values prefer exact matches
2715 2004-03-02 Keith Packard <keithp@keithp.com>
2717 Supplied by: mfabian@suse.de (Mike FABIAN)
2719 * src/fcfreetype.c: (FcFreeTypeQuery):
2720 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2721 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2723 2004-02-21 Manish Singh <yosh@gimp.org>
2725 * fc-glyphname/fc-glyphname.c: (main):
2726 Cast strlen to int for printf, so we're 64-bit clean.
2728 2004-02-11 Keith Packard <keithp@keithp.com>
2731 * src/fcfreetype.c: (FcGetPixelSize):
2732 Ok, so I messed up the test for y_ppem. Let's see if I
2733 got it right this time.
2735 2004-02-10 Keith Packard <keithp@keithp.com>
2738 * src/fcfreetype.c: (FcGetPixelSize):
2739 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2740 FT_Bitmap_Size record. Add a configure.in test for this
2741 and change the code accordingly (using height instead).
2743 2004-02-06 Keith Packard <keithp@keithp.com>
2746 Add Low Saxon orthography
2747 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2749 * src/fccfg.c: (FcConfigNewestFile):
2750 Oops. Left 'newest.set' unset, which would miscompute
2753 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2754 (FcFreeTypeCheckGlyph):
2755 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2756 font properties (which report the wrong value in current FreeType)
2758 Don't attempt to check for empty glyphs in non-scalable fonts; they
2761 2004-02-01 Tor Lillqvist <tml@iki.fi>
2763 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2764 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2765 cache if config->cache is NULL, which happens if FcConfigHome() is
2766 NULL. Guard against that by using the temp folder in that case.
2768 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2770 * fc-lang/az_ir.orth:
2771 * fc-lang/ku_ir.orth:
2772 * fc-lang/ps_af.orth:
2773 * fc-lang/ps_pk.orth:
2774 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2775 (Afghan and Pakistani).
2777 Updated Urdu orthography with real data.
2779 2003-12-11 Carl Worth <cworth@east.isi.edu>
2781 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2784 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2786 (all-local): Remove excessive whitespace.
2788 * autogen.sh: Add 'set -e' to abort when any program fails,
2789 (avoids printing of 'now type make' after configure aborts).
2791 2003-11-17 Eric Christopherson <rakko@charter.net>
2793 reviewed by: Keith Packard <keithp@keithp.com>
2796 * fontconfig/fcfreetype.h:
2798 Switch to FreeType 2.1.7 style includes. Bug #150.
2800 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2802 * fc-list/fc-list.sgml: Add some example usages.
2804 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2807 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2810 2003-10-27 Keith Packard <keith@keithp.com>
2813 * fontconfig/fontconfig.h:
2814 Update to version 2.2.92
2816 2003-10-27 Keith Packard <keithp@keithp.com>
2821 * fc-cache/Makefile.am:
2822 * fc-glyphname/Makefile.am:
2823 * fc-lang/Makefile.am:
2824 * fc-list/Makefile.am:
2825 * fc-match/Makefile.am:
2828 Yet more cleanups to finish getting 'make distcheck' working
2829 This has been tested to ensure that it even works from a _build
2832 2003-10-26 Keith Packard <keithp@keithp.com>
2836 * fc-cache/Makefile.am:
2837 * fc-glyphname/Makefile.am:
2838 * fc-lang/Makefile.am:
2839 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2840 * fc-list/Makefile.am:
2841 * fc-match/Makefile.am:
2842 Attempts to fix 'make distcheck' work. Things are
2843 progressing pretty well, but there are still failures
2844 long into the process dealing with docs (as always).
2846 The big changes here are mostly to make $(srcdir) != "."
2847 work correctly, fixing the docbook related sections and
2848 fc-lang were particularily tricky. Docbook refuses to load
2849 system entities from anywhere other than where the original .sgml
2850 file was located, so no luck looking in "." for the
2851 configure-generated version.sgml and confdir.sgml files.
2853 fc-lang needed help finding .orth files; added a -d option
2854 to set the directory as the least evil of many options.
2856 Now to go use a faster machine and try and wring out the last
2859 2003-10-26 Keith Packard <keithp@keithp.com>
2863 2003-10-26 Keith Packard <keithp@keithp.com>
2866 Include confdir.sgml.in in EXTRA_DIST
2868 2003-10-09 Josselin Mouette <joss@debian.org>
2870 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2871 * fc-list/fc-list.sgml fc-list/Makefile.am:
2872 Replace fc-cache and fc-list manpages with more detailed, SGML
2875 2003-09-23 Owen Taylor <otaylor@redhat.com>
2877 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2878 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2879 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2882 2003-09-23 Owen Taylor <otaylor@redhat.com>
2884 * fc-lang/ka.orth: Remove Georgian capitals, they
2885 aren't used for normal writing. (Bug #116)
2887 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2889 * doc/fontconfig-devel.sgml:
2890 * doc/fontconfig-user.sgml:
2891 * fontconfig/fontconfig.h:
2893 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2894 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2896 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2897 monospace and dual-width fonts, allow roughly a 3% variance in the
2900 2003-08-31 Manish Singh <yosh@gimp.org>
2902 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2905 2003-08-15 Carl Worth <cworth@isi.edu>
2907 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2908 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2910 * src/fcpat.c (FcValueListEntDestroy): New function to support
2911 FcFini memory cleanup. Some statistics are not kept in
2913 (FcValueListFreeze): Move hashTable outside this function so it
2914 can be accessed by FcValueListThawAll.
2915 (FcValueListThawAll): New function complements FcValueListFreeze.
2916 (FcPatternBaseFreeze): Move hashTable outside this function so it
2917 can be accessed by FcPatternBaseThawAll.
2918 (FcPatternBaseThawAll): New function complements
2919 FcPatternBaseFreeze.
2920 (FcPatternThawAll): New function complements FcPatternFreeze.
2922 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2924 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2925 allocated FcCharLeafEnt "blocks" so they can be freed later.
2926 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2927 can be accessed by FcCharSetThawAllLeaf.
2928 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2929 (FcCharSetFreezeBase): Move hashTable outside this function so it
2930 can be accessed by FcCharSetThawAll.
2931 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2933 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2934 (FcConfigDestroy): Fic leak of FcBlanks.
2936 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2937 (main): Add call to FcFini when finished.
2939 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2940 static. Add prototypes.
2942 * doc/fcinit.fncs: Add documentation for FcFini function.
2944 * doc/edit-sgml.c: Mark several local functions as static. Add
2947 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2949 2003-06-15 Tor Lillqvist <tml@iki.fi>
2951 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2952 before comparing (needed on Windows).
2954 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2956 2003-06-13 Tor Lillqvist <tml@iki.fi>
2958 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2961 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2962 WINDOWSFONTDIR token.
2964 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2965 end, not to confuse libtool, which expects the EXPORTS line to be
2966 the first. Add FcConfigEnableHome.
2968 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2969 built as a DLL on Win32.
2971 2003-06-09 Keith Packard <keithp@keithp.com>
2973 * Tag version 2.2.90
2975 2003-06-09 Keith Packard <keithp@keithp.com>
2977 * Optimization in FcLangSetIndex was broken, occasionally
2978 returning a pointer to the wrong location on miss
2980 * Add fc-match to test font matching from the command line.
2982 2003-05-31 Keith Packard <keithp@keithp.com>
2984 * (Bug 85) add support for culmus fonts
2985 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2986 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2988 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2990 * Fix "contains" op for strings and langsets.
2992 2003-05-17 Keith Packard <keithp@keithp.com>
2994 * Fix build error with BDF prop local. Free langset after query
2996 2003-05-14 Keith Packard <keithp@keithp.com>
2998 * Extract spacing from XLFD atom
3000 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3002 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3003 disappeared in 1.30.
3005 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3007 2003-05-12 Keith Packard <keithp@keithp.com>
3009 * Use FcIsWidth to share code
3011 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3012 misclassifying some Han fonts as monospaced.
3014 2003-05-07 Keith Packard <keithp@keithp.com>
3016 * Add filename-based accept/reject to ammend available fonts.
3018 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3019 older FreeType releases.
3021 2003-05-06 Keith Packard <keithp@keithp.com>
3023 * Remove 0b82 and Tamil numbers from tamil
3024 orthography (Jungshik Shin <jshin@mailaps.org>)
3026 2003-05-04 Keith Packard <keithp@keithp.com>
3028 + Map glyph names in fonts with adobe custom encoding to unicode
3030 2003-05-02 Keith Packard <keithp@keithp.com>
3032 * Add FC_WEIGHT_BOOK as weight 75
3034 2003-04-30 Keith Packard <keithp@keithp.com>
3036 * Typo in bitstream foundry name
3038 2003-04-24 Keith Packard <keithp@keithp.com>
3040 * Eliminate italic_angle check for PS fonts
3042 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3044 * Getting closer to fixing /etc/fonts hard-coding.
3046 2003-04-22 Keith Packard <keithp@keithp.com>
3048 * Update autogen.sh to work with newer automake versions
3049 * Handle pattern elements moving during multiple edits
3051 2003-04-23 James Henstridge <james@daa.com.au>
3053 * doc/fontconfig-devel.sgml: close the <para> element.
3055 * doc/fcpattern.fncs: close the <para> element.
3057 * doc/func.sgml: close the <refsynopsisdiv> element.
3059 2003-04-22 Keith Packard <keithp@keithp.com
3061 * Update autogen.sh to work with newer automake versions
3062 * Handle pattern elements moving during multiple edits
3064 2003-04-17 Colin Walters <walters@debian.org>
3066 + Remove some unused variables, and initialize some other ones so
3067 gcc doesn't warn us.
3069 2003-04-16 Keith Packard <keithp@keithp.com>
3071 + tag version 2.1.94
3073 2003-04-16 Keith Packard <keithp@keithp.com>
3075 + add BDF property fetching support for foundry
3076 (from Juliusz Chroboczek)
3077 + add BDF property fetching support for width
3079 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3081 + Implemented foundry generation for Type 1 and TrueType
3083 2003-04-11 Gerard Escalante <g2@magestudios.net>
3085 + Retrieve information from Type1 FontInfo dictionaries
3087 2003-04-07 Colin Walters <walters@verbum.org>
3089 + src/Makefile.am: Fix dummy makefile target names when
3090 MS_LIB_AVAILABLE isn't set.
3092 2003-03-22 Tor Lillqvist <tml@iki.fi>
3094 Changes for Windows:
3096 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3098 + We don't want to hardcode the fonts.conf file location in the
3099 DLL, so we look up the DLL location at run-time in a DllMain()
3100 function. The fonts.conf location is deduced from that.
3102 + The colon can't be used as path separator on Windows,
3103 semicolon is used instead. File path components can be separated
3104 with either slash or backslash. Absolute paths can also begin
3105 with a drive letter.
3107 + Add internal function FcStrLastSlash that strrchr's the last
3108 slash, or backslash on Windows.
3110 + There is no link() on Windows. For atomicity checks, mkdir a
3111 lock directory instead.
3113 + In addition to HOME, also look for USERPROFILE.
3115 + Recognize the special font directory token WINDOWSFONTDIR, to
3116 use the system's font directory.
3118 + Remove the fontconfig-def.cpp that was obsolete. Add
3119 fontconfig.def(.in), without internal functions.
3121 + Add a fontconfig-zip(.in) script, used to build a binary
3124 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3125 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3126 to main package and man3/* to devel package
3128 + Added missing defattr(-, root, root) to main RPM package
3130 + Added HTML and text development documentation to -devel subpackage
3132 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3133 + Added back the configure macro options --disable-docs, otherwise
3134 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3135 version number) unconditionally, causing RPM to fail the build due
3136 to _unpackaged_files_terminate_build. We pick up the pregenerated
3137 docs with %doc already.
3139 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3140 + Removed commented out rpm macro define at top of spec file,
3141 replacing it with a simple explanation, since rpm macros are
3142 expanded by rpm even in comments.
3144 + Changed /usr/bin to _bindir in BuildRequires lines
3146 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3148 + Reorganized file manifest lists
3150 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3152 + fontconfig.spec.in: Improvements from Red Hat spec file.
3154 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3156 + docs/*.sgml: SGML fixes.
3158 Sat Mar 1 17:28:53 PST 2003 keithp
3159 + Ok, so the ChangeLog is a bit out of date
3161 + Lots of bugs fixed; most are in bugzilla, the
3162 biggest problems were in cache management where
3163 Owen discovered the library would lose badly when
3164 combining fonts-cache and ~/.fonts-cache data
3166 + Converted from autoconf to automake. This after
3167 getting patches accepted into libtool to allow
3168 the '-version-number' argument which lets
3169 packages set version numbers explicitly rather
3170 than the roundabout libtool way
3172 + Converted documentation to SGML using the docbook
3173 DTD. Now .txt and .html documents are installed
3174 in /usr/share/doc/fontconfig and there's no
3175 man page. Perhaps a man version can be written
3178 Sat Aug 31 15:21:22 PDT 2002 keithp
3179 + Xrender and Xft had several bugs related to
3180 rendering manually placed or poly-face text
3182 + Added more complete memory tracing in fontconfig
3183 Checked with (patched) mozilla and found no leaks
3185 + Updated Latin orthographies by comparing those from
3186 evertype.com with those from eki.ee. Tried to make
3187 sensible choices, including chars that occured in both
3188 and leaving some optional chars out that occured only
3191 Mon Aug 26 16:33:04 PDT 2002 keithp
3192 + Owen discovered that FcLangSetHasLang wasn't actually
3193 checking the language set.
3195 Mon Aug 26 13:37:23 PDT 2002 keithp
3196 + Append a version number to cache filenames
3198 Thu Aug 22 11:36:18 PDT 2002 keithp
3200 + Add "contains" and "not_contains" operators and elements to
3203 + Changed semantics of eq operator for LangSets to check for
3204 FcLangEqual so that any match will do
3206 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3207 of FcValueEqual to check for identical values when inserting into
3208 the results. This broke when the above semantic change was made,
3209 now it uses FcValueEqual which is "more correct" in any case.
3211 Thu Aug 22 00:32:29 PDT 2002 keithp
3213 + Reimplement FC_LANG as new datatype. Lists of strings
3214 was consuming over a megabyte of memory for 401 fonts.
3216 + Freeze patterns loaded from cache files. This shares
3217 common value lists and common patterns which saves
3218 considerable memory.
3220 + Change the denotation of 'constant' charsets to use special
3221 ref value instead of separate boolean.
3223 + Clean up leak tracing stuff, found several unannoted alloc/free
3226 Tue Aug 20 16:17:37 PDT 2002 keithp
3228 + Fix memory leak when parsing matrices from XML
3230 Mon Aug 19 11:57:27 PDT 2002 keithp
3232 + Fix autoconf files to pass FONTCONFIG_PATH on
3233 compile line so that ${prefix} gets substituted
3236 + Use getc_unlocked/putc_unlocked on systems that
3237 provide them to avoid damage done to stdio by posix
3239 + Eliminate FC_PATTERN and FcTypePattern in favor of
3240 an extended api for FcConfigSubstitute which takes
3241 both the font and the pattern.
3243 + Add 'sans serif' alias for 'sans-serif' as some apps
3244 can't handle hyphens in family names
3246 + Eliminate pretense of support for libxml2
3248 + Comment origins of Han orthographies
3250 Tue Jul 30 18:37:09 PDT 2002 keithp
3252 + Add binding property to edit element so that strong
3253 binding values may be inserted by the config file.
3254 The default remains weak.
3256 Sun 28 Jul 04:16:55 PDT 2002 keithp
3258 + Tagged release candidate 1 in the CVS tree and
3259 placed fcpackage.rc1.tar.gz for distribution
3261 Thu Aug 1 08:55:08 PDT 2002 keithp
3263 + Fixed autoconf builds to always specify install
3264 target files (for BSD). Also fixed to
3265 define FONTCONFIG_PATH in config.h so that
3266 nonstandard installs will actually work.