1 2006-04-27 Keith Packard <keithp@keithp.com>
3 * src/fcinit.c: (FcMemReport):
5 * src/fcpat.c: (FcPatternFini):
6 * src/fcxml.c: (FcParsePatelt):
7 Eliminate pattern freezing
9 2006-04-27 Keith Packard <keithp@keithp.com>
11 reviewed by: Patrick Lam <plam@mit.edu>
13 * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName),
14 (FcDirCacheOpen), (FcDirCacheWrite):
15 * src/fcfreetype.c: (FcFreeTypeQuery):
17 * src/fclist.c: (FcListAppend):
18 * src/fcmatch.c: (FcFontRenderPrepare):
19 * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
20 (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
22 Make path names in cache files absolute (NB, cache format change)
23 Stop permitting cache files to be stored in font dirs.
25 Don't include /fonts.cache-2 in cache hash construction.
27 2006-04-26 Keith Packard <keithp@keithp.com>
29 * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheOpen),
31 * src/fcfreetype.c: (FcFreeTypeQuery):
33 * src/fclist.c: (FcListAppend):
34 * src/fcmatch.c: (FcFontRenderPrepare):
35 * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
36 (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
39 2006-04-25 Patrick Lam <plam@mit.edu>
43 * fontconfig/fontconfig.h:
45 Bump version to 2.3.95.
47 2006-04-25 Behdad Esfahbod <behdad@cs.toronto.edu>
54 Fix the issues with GNU libiconv vs. libc iconv (which especially
55 appear on Solarii). Approach suggested by Tim Mooney.
57 2006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
62 Include $(top_srcdir), $(top_srcdir)/src before anything else.
64 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
65 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
66 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
67 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
68 * src/fcstr.c, src/fcxml.c:
70 Shuffle order of includes for building out of srcdir on win32.
72 2006-04-20 Patrick Lam <plam@mit.edu>
73 * src/fcmatch.c (FcSortWalk):
75 Prevent terrible perf regression by getting the if-condition
76 right (reported by Wouter Bolsterlee).
78 2006-04-19 Patrick Lam <plam@mit.edu>
79 Dominic Lachowicz <cinamod@hotmail.com>
81 * src/fccache.c (FcDirCacheConsume):
83 Implement mmap-like code for Windows using MapViewOfFile.
85 2006-04-19 Patrick Lam <plam@mit.edu>
86 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
88 Bail gracefully if the cache file does not contain enough data.
90 2006-04-14 Patrick Lam <plam@mit.edu>
93 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
95 2006-04-14 Patrick Lam <plam@mit.edu>
96 * src/fcname.c (FcObjectToPtrLookup):
98 Fix Gecko-exposed segfault from my last hack to
99 FcObjectToPtrLookup. Simplify code and get things straight.
101 2006-04-14 Patrick Lam <plam@mit.edu>
104 Actually, just add URW fonts as aliases for all of the PostScript
105 fonts. (reported by Miguel Rodriguez).
107 2006-04-13 Patrick Lam <plam@mit.edu>
110 Add an alias 'Standard Symbols L' for 'Symbol'.
112 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
115 * src/fcpat.c: (FcPatternFreeze):
116 Fix memory leak (Coverity defect #2089).
118 * src/fcfreetype.c: (GetScriptTags):
119 Ignore script if subtable is missing (Coverity defect #2088).
121 2006-04-12 Patrick Lam <plam@mit.edu>
122 * src/fccfg.c (FcConfigSubstituteWithPat):
124 Fix possible null pointer dereference (Coverity defect #784)
125 and memory leak (Coverity defects #785, #786).
127 2006-04-12 Patrick Lam <plam@mit.edu>
128 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
130 Don't copy FcCharSet if we're going to throw it away anyway.
131 (Reported by Kenichi Handa).
133 2006-04-11 Ming Zhao <ming@gentoo.org>
136 * src/fcname.c (FcObjectToPtrLookup):
138 Fix bad behaviour on realloc resulting in crash.
140 2006-04-11 Patrick Lam <plam@mit.edu>
141 * src/fccache.c (FcGlobalCacheReadDir):
143 Don't crash if config is null (Coverity defect #984).
145 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
148 * src/fccharset.c (FcCharSetPutLeaf):
149 * src/fclang.c (FcNameUnparseLangSet):
151 Missing bits from previous patches.
153 * src/fccharset.c (FcCharSetSubtractCount):
154 Remove extra semi-colon.
156 * src/fccfg.c (FcConfigBuildFonts):
157 Fix memory leak in error case (Coverity defects #776, #985).
159 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
160 Fix memory leaks (Coverity defects #779, #781)
161 and memory use after free (Coverity defect #780).
163 2006-04-11 Patrick Lam <plam@mit.edu>
164 * src/fccharset.c (FcCharSetPutLeaf):
166 Properly convert static charsets to dynamic charsets.
168 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
171 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
173 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
175 * src/fclang.c: (FcNameUnparseLangSet):
176 Fix memory leak (Coverity defect #1819).
178 * fc-lang/fc-lang.c: (scan):
179 prevent crash when invalid include line is parsed (Coverity defect
182 * fc-cat/fc-cat.c: (FcCacheFileRead):
183 Fix potential null pointer access (Coverity defect #1804).
185 * src/fcname.c: (FcObjectUnserialize):
186 Remove dead code (Coverity defect #1194).
188 * src/fcfreetype.c: (GetScriptTags):
189 Prevent potential null pointer access (Coverity defect #767),
190 ensure error value is read (Coverity defect #1195).
192 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
197 Survive missing docbook2pdf.
199 2006-04-10 Patrick Lam <plam@mit.edu>
201 * fc-glyphname/fc-glyphname.c:
204 Include more stub definitions to make HP-UX's C compiler happy.
206 2006-04-10 Patrick Lam <plam@mit.edu>
207 * src/fcname.c (FcObjectUnserialize):
209 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
211 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
214 * src/fccfg.c: (FcConfigEvaluate):
215 Fix string memory leak (Coverity defect #1823).
217 * src/fccache.c: (FcDirCacheUnlink):
218 Fix memory leak with hash collision (Coverity defect #1824).
220 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
223 * src/fccache.c: (FcGlobalCacheSave):
224 Don't leak header in non-error case (Coverity defect #1825).
226 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
229 * src/fcdir.c (FcDirScanConfig)
230 Don't leak in error cases (Coverity defects #777, #1826)
232 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
235 * src/fccache.c: (FcDirCacheWrite):
236 Fix double free (spotted by Coverity, CID #1965).
238 * fc-match/fc-match.c: (main):
239 Check if pattern is not null before using it (Coverity defect #1883).
241 * src/fccache.c: (FcDirCacheWrite):
242 Fix memory leak with hash collision (Coverity defect #1829).
244 * src/fccfg.c: (FcConfigBuildFonts):
245 Fix memory leak when bail cases (Coverity defect #1828).
247 * src/fccache.c: (FcGlobalCacheLoad):
248 Don't leak directory name (Coverity defect #1827).
250 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
252 * fc-cache/Makefile.am:
253 * fc-cat/Makefile.am:
254 * fc-list/Makefile.am:
255 * fc-match/Makefile.am:
257 LD_ADD missing dependencies for binaries. Reported by
260 2006-04-07 Patrick Lam <plam@mit.edu>
262 * fc-lang/fc-lang.c (main):
264 SGI compilation fixes (reported by Christoph Bauer):
265 1) reorder union definition of _FcChar;
268 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
271 * src/fccharset.c (FcCharSetNeededBytes):
272 * src/fcfs.c (FcFontSetNeededBytes):
274 * src/fclang.c (FcLangSetNeededBytesAlign):
275 * src/fcname.c (FcObjectNeededBytesAlign):
276 * src/fcpat.c (FcPatternNeededBytesAlign,
277 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
279 Portability fixes for HP-UX (reported by Christoph Bauer).
280 Replace '__inline__' by AC_C_INLINE and 'inline'.
281 Replace '__alignof__' by 'fc_alignof'.
283 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
287 Move up #include of config.h.
288 Fail if neither inttypes.h nor stdint.h is available.
291 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
292 Patrick Lam <plam@mit.edu>
294 * fc-cache/fc-cache.c:
296 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
297 FcDirCacheConsume, FcDirCacheProduce,
298 FcDirCacheWrite, FcCacheMachineSignature):
299 * src/fcfreetype.c (FcFreeTypeQuery):
300 * src/fontconfig.def.in:
302 Make fontconfig compile under MinGW:
303 1) remove unneeded #includes;
304 2) make use of mmap and sysconf conditional;
305 3) replace rand_r by srand/rand if needed;
306 4) use chsize instead of ftruncate; and
307 5) update libtool exports file
309 2006-04-07 Patrick Lam <plam@mit.edu>
310 * src/fcdir.c (FcDirScanConfig):
314 2006-04-06 Patrick Lam <plam@mit.edu>
315 * fc-match/.cvsignore:
316 * fc-match/Makefile.am:
317 * fc-match/fc-match.sgml:
319 Update documentation for fc-match (SGML-ize it).
320 (reported by Ilya Konstantinov)
322 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
328 Reduce amount of dirty rss by const'ing some data structures.
330 2006-04-06 Patrick Lam <plam@mit.edu>
331 * fc-cache/Makefile.am:
333 Don't fail if we can't create or remove
334 $(pkgcachedir) i.e. /var/cache/fontconfig.
335 (reported by Quanah Gibson-Mount).
337 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
340 * fc-glyphname/fc-glyphname.c:
341 * fc-lang/fc-lang.c (main):
342 * fc-match/fc-match.c:
343 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
345 * src/fcfreetype.c (FcFreeTypeQuery):
346 * src/fclang.c (FcFreeTypeLangSet):
349 Fix intel compiler warnings: make many variables static,
350 eliminate duplicate names, reduce variable scopes, unsigned/signed
353 2006-03-24 Mike Fabian <mfabian@suse.de>
355 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
357 Fix multiarch support (don't destroy multiarch files!)
359 2006-03-24 Patrick Lam <plam@mit.edu>
362 Require pkg-config. (Thanks Behdad;
363 better solution wanted for libxml2 detection!)
365 2006-03-22 Patrick Lam <plam@mit.edu>
368 On Windows, unlink before rename. Reported by Tim Evans.
370 2006-03-15 Patrick Lam <plam@mit.edu>
374 Fix typos in orth files. Reported by Denis Jacquerye.
376 2006-03-08 Patrick Lam <plam@mit.edu>
378 * config/config.guess:
381 Fix Makefile.am for removal of debian/ directory.
383 2006-03-08 Patrick Lam <plam@mit.edu>
386 Ignore debian/ directory for CVS.
388 2006-03-08 Patrick Lam <plam@mit.edu>
391 Now remove debian/ directory.
393 2006-03-08 Patrick Lam <plam@mit.edu>
396 Remove debian/ directory from sources. See Debian's subversion
397 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
400 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
404 * fc-lang/iso639-1, fc-lang/iso639-2:
406 Add orthography for Lingala.
408 2006-03-08 Carl Worth <cworth@cworth.org>
411 * conf.d/Makefile.am:
412 * conf.d/10LohitGujarati.conf:
414 Add a configuration file that disables hinting for the Lohit
415 Gujarati font (since the hinting distort some glyphs quite badly).
417 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
420 * src/fcdir.c (FcDirScanConfig):
422 Sort directory entries while scanning them from disk;
423 prevents Heisenbugs due to file ordering in a directory.
425 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
428 * src/fcfreetype.c (GetScriptTags):
429 * src/ftglue.c, src/ftglue.h:
431 Remove stuff we don't use, make get_{char,short,long} functions
432 of ftglue macros to be inlined.
435 * src/fcname.c (FcObjectSerialize):
437 Code cleanups (excess prototype, old-style function definition).
439 2006-03-05 Patrick Lam <plam@mit.edu>
440 * src/fcpat.c (FcPatternGetString):
442 Because we hacked FcPatternGet, we don't really need to expand the
443 filename again in FcPatternGetString.
445 2006-03-05 Patrick Lam <plam@mit.edu>
446 * src/fcpat.c (FcPatternGetString, FcPatternGet):
448 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
449 Make that work. Reported by Bernhard Rosenkraenzer.
451 2006-03-03 Patrick Lam <plam@mit.edu>
454 Include inttypes.h instead of stdint.h if appropriate.
456 2006-03-03 Patrick Lam <plam@mit.edu>
457 * fc-cat/fc-cat.c (FcFileIsDir):
458 * fc-glyphname/fc-flyphname.c:
460 More stub definitions and remove FcFileIsDir from fc-cat.
462 2006-03-03 Patrick Lam <plam@mit.edu>
465 Fix compilation on AIX with stub definitions (bug 6097).
467 2006-03-03 Patrick Lam <plam@mit.edu>
468 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
469 * src/fcfreetype.c (GetScriptTags):
470 * src/fcfs.c (FcFontSetDistributeBytes):
471 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
473 Get rid of C++-style comments.
475 2006-03-03 Patrick Lam <plam@mit.edu>
478 Enable creation of 2.3.94 Debian packages.
480 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
483 * src/fclang.c (FcCharSetForLang):
485 Fix suspicious return expression which causes junk
488 2006-02-24 Patrick Lam <plam@mit.edu>
492 * fontconfig/fontconfig.h:
494 Bump version to 2.3.94.
496 2006-02-24 Patrick Lam <plam@mit.edu>
501 2006-02-24 Patrick Lam <plam@mit.edu>
502 * conf.d/10-fonts-persian.conf:
504 Remove unconditional emboldening (per Behdad's instructions).
508 Add @s to hide some echos.
510 2006-02-24 Mike Fabian <mfabian@suse.de>
511 Takashi Iwai <tiwai@suse.de>
514 * src/fcfreetype.c (GetScriptTags):
516 Fix double-free on error case.
518 2006-02-21 Patrick Lam <plam@mit.edu>
519 * fc-lang/fc-lang.c (scan):
521 Strip \r and whitespace from input; fixes bug 3454.
523 2006-02-21 Patrick Lam <plam@mit.edu>
524 * fc-lang/fc-lang.c (main):
526 Allocate large arrays statically in fc-lang to fix crashes under
529 2006-02-21 Diego Petten <flameeyes@gentoo.org>
530 * src/fcfreetype.c (FcFreeTypeCharIndex):
532 Pass the buck; make fontconfig not crash on pango badness.
534 2006-02-21 Patrick Lam <plam@mit.edu>
535 * conf.d/10-fonts-persian.conf:
537 Use embeddedbitmap rather than rh_prefer_bitmap.
539 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
542 * src/fccache.c (FcDirCacheWrite):
543 * src/fcdir.c (FcFileScanConfig):
544 * src/fcfreetype.c (FcStringInPatternElement):
545 * src/fcxml.c (FcParseFamilies):
546 * src/ftglue.c (ftglue_face_goto_table):
548 Eliminate redundancies.
550 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
553 * fc-list/fc-list.c (main):
554 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
555 * src/fcstr.c (FcStrStr):
556 * src/fcxml.c (FcConfigSaveAttr):
558 Eliminate unused vars reported by Intel's compiler.
560 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
565 Remove one more archaic character.
567 2006-02-21 Ross Burton <ross@burtonini.com>
568 reviewed by: plam, keithp
570 * src/fcxml.c (FcParsePatelt):
572 Freeze patterns created by configuration file for tiny
573 memory savings (every little bit helps).
575 2006-02-21 Mike Fabian <mfabian@suse.de>
578 * fc-cat/fc-cat.c (main):
580 Initialize fontconfig library in fc-cat to avoid segfault.
582 2006-02-18 Patrick Lam <plam@mit.edu>
583 * fc-cache/fc-cache.c (scanDirs):
584 * src/fccache.c (FcCacheReadDirs):
585 * src/fcdir.c (FcDirScanConfig):
587 Fix the underlying cause of the below segfault (must usually
588 call FcDirCacheHasCurrentArch after FcDirCacheValid).
590 2006-02-18 Patrick Lam <plam@mit.edu>
591 * src/fccache.c (FcDirCacheHasCurrentArch):
593 Fix triggering of segfault caused by misreading cache files
594 (reported by fcrozat).
596 2006-02-17 Patrick Lam <plam@mit.edu>
597 * src/fcint.h (FC_CACHE_MAGIC):
599 Bump up magic version; we changed the binary format.
601 2006-02-17 Patrick Lam <plam@mit.edu>
602 * fc-cat/fc-cat.c (main):
604 Enable fc-cat to print out old-style cache info when given a
607 2006-02-16 Patrick Lam <plam@mit.edu>
608 * src/fccache.c (FcDirCacheHasCurrentArch):
610 Deal correctly with changing FC_CACHE_MAGIC.
612 2006-02-16 Patrick Lam <plam@mit.edu>
613 * fc-cache/fc-cache.c (usage, scanDirs, main):
615 Add -r --really-force option which blows away cache files and then
618 2006-02-16 Patrick Lam <plam@mit.edu>
619 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
621 Don't bail if fontconfig can't remove a dir cache file.
622 Skip the ID of a cache file when copying.
623 Eliminate 'source file too small' bug in FcDirCacheWrite.
625 2006-02-13 Patrick Lam <plam@mit.edu>
626 * src/fcfreetype.c (FcFreeTypeQuery):
628 Fix memory leak in error condition code.
630 2006-02-13 Mike Fabian <mfabian@suse.de>
632 * src/fcfreetype.c (FcFreeTypeQuery):
634 Skip bitmap fonts which can't even get it together enough to
635 declare a family name; this appears to reproduce previous
636 fontconfig behaviour.
638 2006-02-10 Takashi Iwai <tiwai@suse.de>
640 * src/fccache.c (FcDirCacheOpen):
642 Try to open /var/cache/fontconfig/[hashed name] before
643 fonts.cache-2 in a directory, because /var/cache/fontconfig
644 failures ought to be fixable, unlike fonts.cache-2 failures,
645 which may leave you screwed.
647 2006-02-10 Takashi Iwai <tiwai@suse.de>
649 * src/fcmatch.c (FcFontSetMatch):
651 Use a tri-state to mark the fonts which didn't get blocked but
652 were just missing an element, to distinguish them from the
653 fonts that do match the element.
655 2006-02-10 Takashi Iwai <tiwai@suse.de>
657 * src/fcmatch.c (FcFontSetMatch):
659 Don't kill fonts because they don't declare an element that's
662 2006-02-09 Patrick Lam <plam@mit.edu>
663 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
664 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
666 Define and pass O_BINARY to open if appropriate, for those
667 platforms that need it. Reported by Doodle.
669 2006-02-09 Patrick Lam <plam@mit.edu>
670 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
673 Fix problem with missing 'en' due to euro.patch: change
674 cache file format slightly to coincide with that generated
677 2006-02-07 Patrick Lam <plam@mit.edu>
678 * src/fccache.c (FcCacheReadDirs):
682 2006-02-07 Patrick Lam <plam@mit.edu>
683 * src/fcdir.c (FcDirScanConfig):
685 Don't reject dirs that can't be normalized (fixes lilypond, and
686 is correct in the context of application font directories.)
688 2006-02-07 Takashi Iwai <tiwai@suse.de>
691 * src/fccache.c (FcCacheReadDirs):
693 Use normalized directory name exclusively in FcCacheReadDirs.
695 2006-02-07 Dirk Mueller <dmueller@suse.com>
698 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
700 Perf optimizations. Inline FcValueCanonicalize,
701 reduce FcValueListPtrU usage, remove redundant cast.
703 2006-02-07 Takashi Iwai <tiwai@suse.de>
706 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
709 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
710 Declare extern for static arrays as arrays, not pointers.
711 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
713 2006-02-07 Dirk Mueller <dmueller@suse.com>
726 Add Euro sign to list of symbols required by European languages.
728 2006-02-07 Patrick Lam <plam@mit.edu>
729 * src/fccache.c (FcCacheReadString):
731 Fix hidden variable warning.
733 2006-02-07 Dirk Mueller <dmueller@suse.com>
736 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
738 Remove de-escaping logic because FcCacheWriteString
739 doesn't escape anyway. Do blockwise reading instead
740 of byte-wise for performance.
742 2006-02-06 Patrick Lam <plam@mit.edu>
743 Takashi Iwai <tiwai@suse.de>
745 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
747 Don't loop infinitely on recursive symlinks (client-side).
749 2006-02-06 Takashi Iwai <tiwai@suse.de>
751 * fc-cache/fc-cache.c (scanDirs, main):
753 Don't loop infinitely on recursive symlinks.
755 2006-02-06 Takashi Iwai <tiwai@suse.de>
757 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
758 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
759 FcGlobalCacheSave, FcCacheReadDirs):
762 Skip subdirs when skipping over stale bits of global cache.
763 Introduce state machine into FcGlobalCacheDir to avoid
764 doing inappropriate operations on global dir entries, e.g.
765 writing out an out-of-date cache entry.
767 2006-02-06 Takashi Iwai <tiwai@suse.de>
769 * src/fcdir.c (FcFileScanConfig):
771 Hoist FcFileIsDir check out of FcFileScanConfig loop.
773 2006-02-06 Takashi Iwai <tiwai@suse.de>
776 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
777 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
779 Don't rescan when trying to normalize a non-declared font dir.
780 Don't add font dirs multiple times (even if they're aliased).
782 2006-02-06 Dirk Mueller <dmueller@suse.de>
785 * src/fcfs.c (FcFontSetUnserialize):
787 Explain apples/oranges comparison and fix compilation error.
789 2006-02-06 Dirk Mueller <dmueller@suse.de>
792 * src/fcfs.c (FcFontSetUnserialize):
794 Insert check for integer overflow in # of fonts.
796 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
800 * fc-cache/Makefile.am:
801 * fc-cat/Makefile.am:
802 * fc-list/Makefile.am:
804 Make 'make distcheck' work with automake 1.6.3.
806 2006-02-03 Takashi IWAI <tiwai@suse.de>
809 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
812 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
813 FcDirCacheConsume, FcDirCacheWrite)
814 * src/fcxml.c (FcConfigMessage):
816 Check I/O call return values and eliminate unused variable
819 2006-02-03 Takashi Iwai <tiwai@suse.de>
822 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
826 2006-02-03 Dirk Mueller <dmueller@suse.de>
829 * src/fcfs.c (FcFontSetUnserialize):
831 Gracefully handle the case where a cache asserts that it
832 has a negative number of fonts, causing overflow.
834 2006-02-03 Patrick Lam <plam@mit.edu>
835 * src/fccache.c (FcDirCacheUnlink):
837 Fix double free in error case.
839 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
840 Stephan Kulow <coolo@suse.de>
843 * fc-cache/Makefile.am:
845 Replace 'stamp' target with mkinstalldirs.
847 2006-01-31 Mike Fabian <mfabian@suse.de>
850 * src/fccache.c (FcGlobalCacheLoad):
852 Toast broken global cache files.
854 2006-01-30 Patrick Lam <plam@mit.edu>
855 * src/fccache.c (FcGlobalCacheReadDir):
857 Actually use the directories that I added to the global cache.
860 2006-01-30 Mike Fabian <mfabian@suse.de>
863 * fc-cache/fc-cache.c (scanDirs):
865 Don't stop scanning if a directory in fonts.conf doesn't
866 exist, because subsequent directories might exist.
868 2006-01-30 Patrick Lam <plam@mit.edu>
869 * src/fccache.c (FcGlobalCacheLoad):
871 Make global cache work again after putting dir names into global
872 cache (I misplaced the recording of a file offset).
874 2006-01-30 Patrick Lam <plam@mit.edu>
875 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
877 Update fc-cat to handle subdir lists in global cache file.
879 * src/fccache.c (FcGlobalCacheLoad):
881 Another FcCacheReadString return value check.
883 2006-01-30 Mike Fabian <mfabian@suse.de>
886 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
887 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
889 Make fccache more resilient to broken cache files by checking
890 return value of FcCacheReadString all the time.
892 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
895 * fc-match/fc-match.1:
896 * fc-lang/fc-lang.man:
898 Remove references to dead fontconfig(3) manpages in
899 other fontconfig manpages.
901 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
904 * doc/fcpattern.fncs:
906 Fix world's tiniest typo in code example.
908 2006-01-29 Mike Fabian <mfabian@suse.de>
911 * src/fccache.c (FcGlobalCacheReadDir):
913 Fix global cache reads of subdirectories.
915 2006-01-29 Patrick Lam <plam@mit.edu>
917 Add documentation for FcConfigNormalizeFontDir.
919 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
920 FcGlobalCacheUpdate, FcGlobalCacheSave):
921 * src/fcdir.c (FcDirScanConfig):
924 Write directory information to global caches to fix make check
925 (reported by Ronny V. Vindenes). This changes the global cache
928 2006-01-27 Patrick Lam <plam@mit.edu>
929 * fc-cache/fc-cache.c (scanDirs):
930 * fontconfig/fontconfig.h:
932 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
934 Move FcConfigNormalizeFontDir call so that it doesn't result in
935 infinite recursion (reported by Ronny V. Vindenes).
937 2006-01-26 Patrick Lam <plam@mit.edu>
938 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
939 * src/fccfg.c (FcConfigNormalizeFontDir):
941 Add a couple of missing normalizations to make fc-cache work
942 right; only scan subdirectories once.
944 2006-01-26 Mike Fabian <mfabian@suse.de>
947 * src/fcacache.c (FcGlobalCacheReadDir):
949 Don't crash on non-existant directories in global cache.
951 2006-01-26 Patrick Lam <plam@mit.edu>
952 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
953 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
954 * src/fcdir.c (FcDirScanConfig):
955 * src/fcxml.c (FcEndElement):
957 Stop trampling the directory name when writing out caches.
958 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
959 subdirs when necessary. Don't scan directories that can't be
962 2006-01-25 Patrick Lam <plam@mit.edu>
963 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
964 * src/fccfg.c (FcConfigEvaluate):
965 * src/fcfreetype.c (FcPatternAddWithBinding):
967 Fix additional memory leaks reported by Ronny V. Vindenes: don't
968 invoke FcValueSave on hashed static strings in
969 FcPatternAddWithBinding.
971 Add another st_dev check in FcDirCacheOpen.
973 2006-01-24 James Su <james.su@gmail.com>
976 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
977 * fc-lang/zh_hk.orth:
979 Treat zh-hk fonts differently from zh-tw fonts. This patch may
980 cause fontconfig to treat A-X fonts differently from A-Y fonts;
981 please mail the fontconfig list if this causes any problems.
983 2006-01-24 Patrick Lam <plam@mit.edu>
984 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
985 * src/fcfreetype.c (FcFreeTypeQuery):
987 Fix memory leaks reported by Ronny V. Vindenes.
989 2006-01-19 Andreas Schwab <schwab@suse.de>
992 * src/fcpat.c (FcStrNeededBytes):
994 Fix for unaligned memory accesses.
996 2006-01-18 Mike Fabian <mfabian@suse.de>
999 * src/fcdir.c (FcDirScanConfig):
1001 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
1002 calls to avoid crashes.
1004 2006-01-14 Patrick Lam <plam@mit.edu>
1005 * src/fccache.c (FcDirCacheConsume):
1007 Fix segfault when consuming zero-length caches in fc-cat
1008 (which has no config, so FcConfigAddFontDir shouldn't be called.)
1010 2006-01-14 Patrick Lam <plam@mit.edu>
1011 * fc-cache/fc-cache.c (scanDirs):
1012 * fontconfig/fontconfig.h:
1013 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
1014 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
1015 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
1016 * src/fcdir.c (FcDirScanConfig):
1019 Compare device numbers as well as inodes.
1020 Always normalize directory names before comparing them.
1022 2006-01-11 Mike Fabian <mfabian@suse.de>
1025 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
1027 Allocate extra space for appended '/' in directory name.
1029 2006-01-10 Patrick Lam <plam@mit.edu>
1030 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
1031 FcDirCacheValid, FcDirCacheHasCurrentArch,
1032 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
1033 * fc-cache/fc-cache.c (main):
1035 Explicitly add font dirs to config.fontDirs even if they're empty.
1036 Set current config in fc-cache.c.
1037 Fix treatment of cache directory as read from cache file; don't
1038 use string equality to determine if we have the right file,
1041 2006-01-09 Patrick Lam <plam@mit.edu>
1042 * fc-cache/fc-cache.c (scanDirs):
1043 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1044 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
1045 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
1046 * src/fccfg.c (FcConfigNormalizeFontDir):
1047 * src/fcdir.c (FcDirScanConfig):
1050 Normalize font dirs by using the form, as given in fonts.conf, and
1051 recorded in FcConfig's fontDirs string set, as canonical.
1053 Actually update config.fontDirs as font directories are scanned.
1055 2006-01-08 James Su <james.su@gmail.com>
1056 * src/fcmatch.c (FcFontSetMatch):
1058 Fix matching bug when multiple elements match; don't use
1059 the sum of all scores, but the best score.
1061 Also more perf opts, e.g. evaluate best over all font sets
1062 rather than on a per-set basis (and other changes).
1064 2006-01-08 Patrick Lam <plam@mit.edu>
1065 * src/fccache.c (FcDirCacheConsume):
1067 Properly skip past dir caches that contain zero fonts (as occurs
1068 in global caches.) Reported by Mike Fabian.
1070 2006-01-06 Patrick Lam <plam@mit.edu>
1071 * src/fcdbg.c (FcPatternPrint):
1073 Print out full pathname in fc-match -v as well. Reported by
1076 2006-01-06 Mike Fabian <mfabian@suse.de>
1079 * src/fcname.c (FcNameParse):
1081 Fix bug where fc-match crashes when given __DUMMY__ property to
1084 (I added the __DUMMY__ string to enable callers of
1085 FcObjectToPtrLookup to distinguish an error return from a
1086 successful return. -PL)
1088 2006-01-05 Patrick Lam <plam@mit.edu>
1091 Add self to AUTHORS list.
1093 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1094 FcCacheFileRead, FcCachePrintSet, main):
1095 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1096 FcGlobalCacheSave, FcCacheNextOffset,
1097 FcDirCacheHasCurrentArch, FcDirCacheRead,
1098 FcDirCacheConsume, FcDirCacheWrite):
1100 * src/fcpat.c (comment):
1102 Minor change to global cache file format to fix fc-cat bug
1103 reported by Frederic Crozat, and buglet with not globally caching
1104 directories with zero fonts cached.
1106 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1109 * src/fccfg.c (FcConfigEvaluate):
1111 Fix double-free which occurs because FcValueCanonicalize doesn't
1112 create an extra copy of the returned value, it only canonicalizes
1115 2006-01-02 Patrick Lam <plam@mit.edu>
1116 * doc/fontconfig-user.sgml:
1118 Fix version of .cache file (currently 1 -> currently 2). Reported
1121 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1124 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1126 Shut up GCC warnings on amd.
1128 2005-12-20 Patrick Lam <plam@mit.edu>
1132 * fontconfig/fontconfig.h:
1134 Bump version to 2.3.93.
1136 2005-12-20 Patrick Lam <plam@mit.edu>
1137 * src/fccharset.c (FcLangCharSetPopulate):
1138 * src/fcint.h (FcCacheBankToIndex):
1140 Avoid check on _fcBankId nullness and fix case where it used to
1143 2005-12-20 Patrick Lam <plam@mit.edu>
1144 * src/fcxml.c (FcConfigParseAndLoad):
1146 Use open instead of fopen (requested by Phil Race for Sun).
1148 2005-12-20 Patrick Lam <plam@mit.edu>
1149 * src/fccache.c (FcDirCacheWrite);
1150 * fc-cache/Makefile.am:
1152 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1155 2005-12-20 Patrick Lam <plam@mit.edu>
1156 * src/fcfreetype.c (FcFreeTypeQuery):
1158 Restore code to skip over PCF fonts that have no encoded
1160 (We guess that a font is PCF by presence of the PIXEL_SIZE
1163 2005-12-12 Patrick Lam <plam@mit.edu>
1164 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1166 Read and write the original location as a fallback for the
1167 hashed cache file locations. This is mostly for users to be
1168 able to have per-directory cache files.
1170 2005-12-12 Patrick Lam <plam@mit.edu>
1171 * fc-cache/fc-cache.c (scanDirs):
1172 * fc-cache/Makefile.am:
1173 * src/fccache.c (FcDirCacheHashName):
1175 Improve error message when fc-cache can't write the cache. Add
1176 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1177 create /var/cache/fontconfig when appropriate.
1179 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1182 * src/fcxml.c (FcConfigGetAttribute):
1184 Fix crash reported by Frederic Crozat when using libxml2.
1186 2005-12-09 Patrick Lam <plam@mit.edu>
1189 * fc-cache/Makefile.am:
1190 * fc-cat/Makefile.am:
1192 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1193 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1194 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1195 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1196 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1197 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1199 Migrate cache files from fonts directories to
1200 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1201 but requires that all caches get rebuilt.
1203 Also, autogen.sh now needs the additional parameter
1204 --localstatedir=/var.
1206 2005-12-07 Patrick Lam <plam@mit.edu>
1207 * src/fcpat.c (FcPatternAddString):
1209 Because we've changed FcPatternAddString to use FcStrStaticName
1210 and not FcValueSave, explicitly handle the case of a null string.
1212 2005-12-06 Patrick Lam <plam@mit.edu>
1213 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1217 2005-12-05 Patrick Lam <plam@mit.edu>
1218 * src/fcname.c (FcNameGetObjectType):
1220 Don't assign types to user object names.
1222 2005-12-05 Patrick Lam <plam@mit.edu>
1223 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1225 Don't free strings that have been returned from FcStrStaticName.
1227 2005-12-01 Patrick Lam <plam@mit.edu>
1228 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1230 Add codepath for reading global cache files as well.
1232 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1235 * conf.d/10-fonts.persian.conf:
1236 * conf.d/Makefile.am:
1238 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1240 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1243 * src/fcxml.c (FcConfigParseAndLoad):
1245 Only add a config file to the set of config files once.
1247 2005-11-29 Patrick Lam <plam@mit.edu>
1248 * src/fcint.h (FcCacheBankToIndex);
1250 Fix segfault by guarding array dereference.
1252 2005-11-29 Dirk Mueller <dmueller@suse.de>
1255 * fc-lang/fc-lang.c:
1256 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1257 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1261 Refactor FcCacheBankToIndex into an inlineable part
1262 (in fcint.h) which checks the front of the list and a
1263 non-inlineable part which finds and moves the appropriate element
1264 to the front of the list.
1266 2005-11-29 Patrick Lam <plam@mit.edu>
1267 * src/fccfg.c (FcConfigBuildFonts):
1268 * src/fccache.c (FcCacheReadDirs):
1270 Make the perf guys hate me a bit less: hoist the directory-name
1271 FcConfigAcceptFont check for cached fonts up to directory cache
1272 read time, rather than running it for each font.
1274 2005-11-29 Patrick Lam <plam@mit.edu>
1275 * src/fccfg.c (FcConfigBuildFonts):
1277 * src/fcpat.c (FcPatternFindFullFname):
1279 Don't make FcPatternFindFullFname available to fccfg, it's not
1280 really safe. Instead go through FcPatternGetString (sorry,
1281 perf guys.) Also, use globs for dirs as well.
1283 2005-11-28 Patrick Lam <plam@mit.edu>
1284 * src/fccfg.c (FcConfigBuildFonts):
1288 2005-11-28 Patrick Lam <plam@mit.edu>
1290 * src/fcpat.c (FcPatternFindFullFname):
1291 * src/fccfg.c (FcConfigBuildFonts):
1293 Fix problem dating back at least to 2.3.2 where globs weren't
1294 being applied to patterns loaded from a cache.
1296 2005-11-28 Patrick Lam <plam@mit.edu>
1297 * doc/fontconfig-user.sgml:
1299 Fix some obvious spelling mistakes.
1301 2005-11-28 Dirk Mueller <dmueller@suse.com>
1302 Stephan Kulow <coolo@suse.de>
1305 * src/fcmatch.c (FcFontSetMatch):
1307 Don't kill all fonts during match (oops!)
1310 2005-11-25 Dirk Mueller <dmueller@suse.com>
1311 Stephan Kulow <coolo@suse.de>
1312 Michael Matz <matz@suse.de>
1315 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1318 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1319 inline FcCompare into FcFontSetMatch and reorder the
1320 loops, adding a boolean array which blocks patterns from future
1321 consideration if they're known to not be best on some past
1324 2005-11-26 Dirk Mueller <dmueller@suse.com>
1327 * src/fcmatch.c (FcCompareValueList):
1329 Fix incorrect merge.
1331 2005-11-25 Patrick Lam <plam@mit.edu>
1332 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1334 Don't do random matching when bad objects are passed into
1337 2005-11-25 Patrick Lam <plam@mit.edu>
1339 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1340 FcPatternSerialize, FcPatternUnserialize,
1341 FcValueListEnsureBank, FcValueListDistributeBytes,
1342 FcValueListUnserialize):
1344 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1345 _fcPatternElts, _fcValueLists for consistency.
1347 2005-11-25 Dirk Mueller <dmueller@suse.com>
1352 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1354 2005-11-25 Patrick Lam <plam@mit.edu>
1356 * src/fccache.c (FcDirCacheConsume):
1357 * src/fccharset.c (FcCharSetUnserialize):
1358 * src/fcfs.c (FcFontSetUnserialize):
1359 * src/fclang.c (FcLangSetUnserialize):
1360 * src/fcname.c (FcObjectUnserialize):
1361 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1362 FcPatternUnserialize):
1364 Pass around FcCache *s to the Unserialize functions for extra
1365 consistency (and less overhead, for what that's worth).
1367 2005-11-24 Dirk Mueller <dmueller@suse.com>
1371 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1372 * src/fcname.c (FcNameUnparseValue):
1374 Inline the *PtrU functions to gain perf.
1375 Remove unneeded params for the FcCompare* functions.
1377 2005-11-24 Dirk Mueller <dmueller@suse.com>
1380 * src/fcint.h, fontconfig/fontconfig.h:
1382 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1384 * src/fcpat.c, src/fcint.h, src/fcname.c:
1386 Check for type validity during FcPatternAddWithBinding, don't
1387 verify type in FcFontMatch, don't call FcCanonicalize here
1388 (which always does a deep copy).
1390 2005-11-24 Dirk Mueller <dmueller@suse.com>
1393 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1394 * src/fcpat.c (FcPatternAddWithBinding):
1396 Make FcCompareString and FcCompareFamily less expensive.
1397 Only add a value for FC_FAMILY if the proposed value is a string.
1399 2005-11-24 Dirk Mueller <dmueller@suse.com>
1402 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1403 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1404 * src/fcint.h (FcDebug):
1406 Inline FcDebug invocations and only initialize once, in FcInit*.
1407 Improve debug msg in FcPatternPrint.
1409 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1412 * fontconfig/fontconfig.h:
1415 Minor code warning cleanups.
1417 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1420 * fc-match/fc-match.c (main):
1422 Make getopt_long accept -s parameter to fc-match as well.
1424 2005-11-21 Dirk Mueller <dmueller@suse.com>
1427 * src/fcmatch.c (FcCompareValueList):
1429 Manually perform inlining & partial redundancy elimination to
1430 reduce calls to FcValueListPtrU.
1432 2005-11-21 Dirk Mueller <dmueller@suse.com>
1435 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1436 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1438 Only invoke strlen() when really necessary.
1440 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1444 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1445 FcFontCapabilities):
1449 Get rid of the use of freetype internal headers in fcfreetype.c,
1450 since those headers will go away with freetype 2.2. Replace with
1451 public domain ftglue code from pango. Note that the patch removes
1452 some extra error checking in FT_Get_BDF_Property() and comments
1453 out the skipping of empty pcf fonts.
1455 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1458 * fc-lang/fc-lang.c (main):
1460 Further fix of patch from 2005-11-04: miscounted numbers count
1461 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1462 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1464 Removed leafidx_count and numbers_count since they are the same
1465 and replaced them with offset_count.
1467 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1470 * fc-cat/fc-cat.c (main):
1472 Don't crash when fc-cat invoked with no arguments.
1474 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1477 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1479 Fix invalid read access caused by premature free and
1480 GCC4 warnings in libxml2 codepath.
1482 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1485 * src/fccfg.c (FcConfigValues):
1487 List iteration not needed in FcConfigValues, since it's building
1488 up the list itself; we can just strip FcVoid elements during
1491 2005-11-17 Patrick Lam <plam@mit.edu>
1492 * src/fccfg.c (FcConfigValues):
1494 Fix crash on invalid constants in config files (forgot to update
1495 a pointer upon list iteration.)
1497 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1500 * src/fcxml.c (FcTypecheckExpr):
1502 Complain about invalid constants in config files.
1504 2005-11-17 Andreas Schwab <schwab@suse.de>
1507 * src/fccache.c (FcGlobalCacheSave):
1509 Don't add current_arch_start more than once.
1511 2005-11-16 Patrick Lam <plam@mit.edu>
1512 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1513 * src/fcfs.c (FcFontSetUnserialize):
1514 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1515 * src/fcpat.c (FcStrUnserialize):
1517 Fix ordering of ALIGN with respect to saving block_ptr; add
1518 another ALIGN to fcfs.c.
1520 2005-11-16 Patrick Lam <plam@mit.edu>
1521 * src/fccache.c (FcDirCacheProduce)
1523 Fix case where alignment bytes bumped up metadata->count
1524 causing unwarranted failures to write cache files.
1525 (Reported by Stephan Kulow).
1527 2005-11-16 Patrick Lam <plam@mit.edu>
1528 * src/fccache.c (FcDirCacheProduce):
1529 * src/fccharset.c (FcCharSetDistributeBytes):
1530 * src/fcfs.c (FcFontSetDistributeBytes):
1532 * src/fclang.c (FcLangSetDistributeBytes):
1533 * src/fcname.c (FcObjectDistributeBytes):
1534 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1537 Add *NeededBytesAlign(), which overestimates the padding which is
1538 later added by the new ALIGN macro. Fix alignment problems on
1539 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1540 version by Andreas Schwab).
1542 2005-11-16 Stephan Kulow <coolo@kde.org>
1547 Use sysconf to determine proper PAGESIZE value; this
1548 appears to be POSIX-compliant. (reported by Andreas Schwab)
1550 2005-11-04 Patrick Lam <plam@mit.edu>
1551 * fc-lang/fc-lang.c:
1556 Fix bug 2878 (excessive relocations at startup for charsets,
1557 reported by Ross Burton): fc-lang/fc-lang now creates the
1558 static form of the langset, not the dynamic form, so that
1559 the charsets should now be in .rodata.
1561 2005-11-04 Patrick Lam <plam@mit.edu>
1562 * src/fcdir.c (FcDirScanConfig):
1564 Add test for validity of directory caches that
1565 somehow got lost (reported by make distcheck).
1567 2005-11-04 Patrick Lam <plam@mit.edu>
1571 * fontconfig/fontconfig.h:
1573 Bump version to 2.3.92.
1575 2005-11-02 Patrick Lam <plam@mit.edu>
1576 * src/fcpat.c (FcPatternDuplicate):
1578 Fix argument ordering problem in call to FcPatternTransferFullFname.
1580 2005-11-02 Patrick Lam <plam@mit.edu>
1581 * src/fcfreetype.c (FcFreetypeQuery):
1582 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1583 FcPatternTransferFullFname):
1585 Fix warnings and embarrassing double-free error.
1587 2005-11-02 Zhe Su <zsu@novell.com>
1592 Change the rule for artificial emboldening in fonts.conf.in. This
1593 enables the support for artificial emboldening included in cairo.
1595 2005-11-02 Patrick Lam <plam@mit.edu>
1596 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1598 Don't zero out full names for FC_REF_CONSTANT fonts;
1599 also, duplicate full names when transferring, and free
1600 full names when freeing the associated font.
1601 Reported by Jinghua Luo.
1603 2005-11-02 Patrick Lam <plam@mit.edu>
1604 * fc-cache/fc-cache.c (scanDirs):
1605 * src/fcpat.c (FcValueListSerialize):
1607 Revert the previous patch and commit the correct patch:
1608 I forgot a canonicalization in FcValueListSerialize, so
1609 that it would choke on already-serialized input files. Duh!
1611 2005-11-02 Patrick Lam <plam@mit.edu>
1612 * fc-cache/fc-cache.c (scanDirs):
1614 Forcibly rescan a directory before writing a fresh local
1615 cache file for that directory, fixing the losing-fonts
1616 problem reported by Mike Fabian and also apparently the
1617 font cache file corruption.
1619 2005-11-02 Patrick Lam <plam@mit.edu>
1620 * src/fccache.c (FcGlobalCacheLoad):
1622 Fix thinko: actually, the whole global cache is stale
1623 if the global cache is older than the (newest) config file.
1625 2005-11-02 Patrick Lam <plam@mit.edu>
1626 * src/fccache.c (FcGlobalCacheLoad):
1627 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1630 Declare the global cache of a directory's contents to be stale if
1631 the directory is newer than the (newest) configuration file.
1633 2005-10-31 Patrick Lam <plam@mit.edu>
1635 * src/fclist.c (FcListAppend):
1636 * src/fcmatch.c (FcFontRenderPrepare):
1637 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1638 FcPatternFreeze, FcPatternBaseFreeze):
1640 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1641 applications continue breaking.
1643 2005-10-31 Patrick Lam <plam@mit.edu>
1644 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1645 * src/fcfreetype.c (FcFreeTypeQuery):
1647 Fix small memory error (tried to free argv); use basename and
1648 dirname correctly (they can modify their arguments).
1650 2005-10-31 Patrick Lam <plam@mit.edu>
1658 Reinstate basename patch, but keep a hash table linking FcPatterns
1659 to their fully-qualified font names for clients' benefit. Clients
1660 only pay for the font names once they request the FC_FILE property
1661 from an FcPattern, but the font name is malloc'd at that point (i.e.
1662 not mmapped: that's impossible, since it may vary between machines.)
1663 Clients do have to pay for a copy of the path name per cache file.
1665 Note that FcPatternGetString now does some rewriting if you ask
1666 for an FC_FILE, appending the pathname as appropriate.
1668 2005-10-31 Patrick Lam <plam@mit.edu>
1669 * src/fcfreetype.c (FcFreeTypeQuery):
1671 Revert basename patch, which breaks fontconfig clients on my system.
1673 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1676 * fontconfig/fonts.conf.in:
1677 * fontconfig/fontconfig.h:
1681 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1682 to load embedded bitmaps or not.
1684 2005-10-25 Patrick Lam <plam@mit.edu>
1685 * src/fcfreetype.c (FcFreeTypeQuery):
1687 Only add basename to patterns' FC_FILE element, not any part of
1690 2005-10-22 Patrick Lam <plam@mit.edu>
1693 Add some more consts, fixing more GCC4 warnings.
1695 2005-10-22 Zhe Su <zsu@novell.com>
1698 Support localized font family and style names.
1699 This has been reported to break old apps like xfd, but modern
1700 (gtk+/qt/mozilla) apps work fine.
1702 2005-10-21 Patrick Lam <plam@mit.edu>
1703 * src/fccache.c (FcGlobalCacheLoad):
1705 Destroy the global cache file if it's terminally broken. (reported by
1708 2005-10-21 Patrick Lam <plam@mit.edu>
1709 * fc-list/fc-list.c (main):
1710 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1711 * fontconfig/fontconfig.h:
1713 Prevent fc-list from escaping strings when printing them (reported by
1716 2005-10-20 Marcus Meissner <meissner@suse.de>
1719 * fontconfig/fontconfig.h:
1721 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1723 2005-10-14 Ross Burton <ross@burtonini.com>
1726 * fc-glyphname/fc-glyphname.c:
1729 Add consts to variables so as to move arrays into .rodata.
1731 2005-10-14 Mike Fabian <mfabian@suse.de>
1734 * src/fccache.c (FcDirCacheUnlink):
1736 Check existence of directory cache file before attempting to unlink.
1738 2005-10-13 Patrick Lam <plam@mit.edu>
1739 * src/fccache.c (FcDirCacheUnlink):
1741 Fix flipped return value on unlink. (Reported by Mike Fabian)
1743 2005-10-12 Patrick Lam <plam@mit.edu>
1746 * src/fcdir.c (FcDirScanConfig):
1749 When fc-cache is run without --force, use directory cache files
1750 to speed up fc-cache run time. (Reported by Mike Fabian)
1752 2005-10-06 Patrick Lam <plam@mit.edu>
1754 * src/fcname.c (FcObjectToPtr):
1755 * src/fcpat.c (FcStrStaticName):
1757 Add padding to make valgrind and glibc not hate each other
1758 when calling strlen().
1760 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1761 reviewed by: plam & keithp
1765 Modify config file to use Greek fonts before Asian fonts with
1768 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1769 reviewed by: plam & keithp
1773 Use libtool -no-undefined flag on all platforms.
1775 2005-10-05 Patrick Lam <plam@mit.edu>
1776 * src/fccache.c (FcCacheHaveBank):
1778 Implement move-to-front array for banks (perf regression
1779 reported by Ronny V. Vindenes).
1781 2005-10-04 Patrick Lam <plam@mit.edu>
1782 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1783 FcDirCacheHasCurrentArch):
1784 * fc-cache/fc-cache.c (scanDirs):
1785 * fontconfig/fontconfig.h:
1787 Add new API which unlinks directory caches and checks dir caches
1788 for existence of appropriate sections. Fix fc-cache to unlink
1789 stale cache files and save directory caches that lack relevant
1792 2005-10-03 Patrick Lam <plam@mit.edu>
1793 * src/fccache.c (FcDirCacheValid):
1795 Ensure that a directory cache has the appropriate section
1796 before reporting that it is valid (reported by Matthias Clasen).
1798 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1806 Use libxml2 if requested (with --enable-libxml2) or if
1807 expat is not available.
1809 2005-09-29 Patrick Lam <plam@mit.edu>
1810 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1812 Fix multi-arch cache files: compute the position for the
1813 block to be added using info from OrigFile, not NewFile.
1815 2005-09-28 Patrick Lam <plam@mit.edu>
1816 * src/fccache.c (FcCacheMachineSignature):
1818 Cast results of sizeof() to unsigned int to get rid of
1819 warnings on x86_64 (thanks Matthias Clasen).
1821 2005-09-27 Patrick Lam <plam@mit.edu>
1822 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1825 Use FcAtomic to rewrite cache files.
1827 2005-09-27 Patrick Lam <plam@mit.edu>
1829 * src/fccache.c (FcDirCacheWrite):
1831 Don't unlink the fonts.cache-2 file even if there's no data
1832 to write; just write an empty cache file. (thanks Lubos Lunak)
1834 2005-09-27 Patrick Lam <plam@mit.edu>
1836 * src/fccache.c (FcDirCacheWrite):
1838 Allocate room for the subdirectory names in each
1839 directory cache. Thanks to James Cloos for finding
1840 and diagnosing this bug!
1842 2005-09-22 Patrick Lam <plam@mit.edu>
1844 * fc-cache/fc-cache.sgml:
1845 * src/fccache.c (FcDirCacheWrite):
1846 * src/fccache.h (struct FcCache):
1848 Update documentation -- fc-cache's man page now says that you
1849 need to run fc-cache once per cached architecture; add some
1850 documentation to the FcCache structure.
1852 Make fc-cache write out fonts.cache-2 files for directories with
1853 no fonts (i.e. only subdirectories).
1855 2005-09-22 Patrick Lam <plam@mit.edu>
1857 * fc-cache/fc-cache.sgml:
1858 * fc-case/fc-case.c:
1859 * fc-glyphname/fc-glyphname.c:
1865 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1869 * fc-lang/fc-lang.c:
1870 * fontconfig/fcprivate.h:
1871 * fontconfig/fontconfig.h:
1885 Implement new mmaped cache for font information.
1886 Bump so revision to 2.3.90.
1888 2005-07-25 Keith Packard <keithp@keithp.com>
1890 * doc/fontconfig-user.sgml:
1891 * fc-glyphname/fc-glyphname.c: (scan), (main):
1892 * fc-lang/fc-lang.c: (FcConfigHome):
1893 * fc-match/fc-match.c: (main):
1894 * src/fccfg.c: (FcConfigHome):
1895 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1896 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1897 (addtag), (FcFontCapabilities):
1898 * src/fcpat.c: (FcValueListEntCreate):
1899 * src/fcstr.c: (FcStrCaseWalkerInit):
1900 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1902 Various GCC 4 cleanups for signed vs unsigned char
1904 Match only [0-9]*.conf files in <include>{directory}</include>
1905 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1907 2005-07-15 Carl Worth <cworth@cworth.org>
1910 * src/fcinit.c: (FcFini):
1911 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1914 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1915 Pull the FcObjectStateName hash table out to file scope, and add
1916 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1919 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1922 2005-06-16 Patrick Lam <plam@MIT.EDU>
1926 * src/fccfg.c: (FcConfigCompareValue):
1927 Make FcOpNotContains use FcStrStr for strings so that
1928 it matches semantics for !FcOpContains.
1930 2005-05-20 Keith Packard <keithp@keithp.com>
1934 Move fontconfig source package to libs as per override
1936 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1938 reviewed by: Mike Fabian
1941 The ka.orth file requires several characters which are not
1942 used anymore in modern Georgian and which are missing in the free
1943 Georgian TrueType fonts downloadable at:
1945 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1947 2005-04-27 Keith Packard <keithp@keithp.com>
1951 Update date to real 2.3.2 release date.
1952 Fix change attributions
1954 2005-04-27 Keith Packard <keithp@keithp.com>
1957 Bump so revision for 2.3.2
1958 * fc-cache/fc-cache.c: (scanDirs):
1959 Fix a few minor leaks in error cases.
1961 2005-04-23 Keith Packard <keithp@keithp.com>
1966 * fontconfig/fontconfig.h:
1967 Update for version 2.3.2
1969 2005-04-21 Keith Packard <keithp@keithp.com>
1971 * debian/fontconfig.postinst:
1972 Don't force bitmap font enable in default
1973 configuration; allows users to override this in
1983 * debian/po/pt_BR.po:
1984 * debian/po/templates.pot:
1986 * debian/po/zh_CN.po:
1987 Updated translations
1989 * fc-cache/fc-cache.c: (main):
1990 Destroy font configuration on exit to help valgrind
1993 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1994 (FcFreeTypeCheckGlyph):
1995 Use own transcoding routines in preference to iconv
1996 which appears to have leaks in some translators.
1997 Call iconv_close after using iconv (oops).
1999 Prefer unicode encoding of Euro char as some
2000 fonts mis-encode Euro in other ones.
2002 Must fetch bitmap glyphs to get width values
2003 to check for monospace/dual-width fonts.
2005 2005-04-13 Ross Burton <ross@burtonini.com>
2008 Check that a pattern isn't already frozen in FcPatternFreeze.
2010 2005-03-31 Ross Burton <ross@burtonini.com>
2015 Run all FcPattern objects through FcObjectStaticName, so that
2016 compares can be done on pointers instead of strings (#2659)
2018 2005-03-17 Tor Lillqvist <tml@novell.com>
2020 * src/fontconfig.def.in: Add the .dll to the dll name.
2022 2005-03-10 Keith Packard <keithp@keithp.com>
2024 * debian/README.Debian:
2025 Update to reflect configuration changes
2027 * debian/fontconfig.postinst:
2028 Fix Autohint vs Autohinter mistake
2029 * debian/fontconfig.templates:
2030 Adopt changes from Josselin Mouette for configuration descriptions
2031 Update debian to version 2.3.1-2
2033 2005-03-08 Keith Packard <keithp@keithp.com>
2037 Update debian for 2.3.1
2039 2005-03-09 Tor Lillqvist <tml@novell.com>
2041 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
2044 * src/fccfg.c (FcConfigFileExists): Check also drive letter
2047 2005-03-08 Keith Packard <keithp@keithp.com>
2051 * fontconfig/fontconfig.h:
2054 2005-03-05 Keith Packard <keithp@keithp.com>
2056 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
2057 Include space and remove numbers from valid script tags.
2058 This ensures that tags like 'lao ' work while rejecting
2059 those which have any digits.
2060 Eliminate a spurious debugging variable (len)
2062 2005-03-05 Keith Packard <keithp@keithp.com>
2064 * src/fcfreetype.c: (addtag), (GetScriptTags),
2065 (FcFontCapabilities):
2066 Rework GSUB/GPOS script parsing to survive broken fonts.
2067 Thanks for the broken font go to Manish Singh
2069 2005-03-05 Keith Packard <keithp@keithp.com>
2074 * debian/fontconfig.config:
2075 * debian/fontconfig.templates:
2077 Include 2.3 release information in changelog
2078 Add Josselin Mouette as an Uploader
2079 Set hinting_type to low priority configuration option
2082 * debian/fontconfig.postinst:
2083 yes_bitmaps.conf -> yes-bitmaps.conf
2089 2005-03-02 Keith Packard <keithp@keithp.com>
2092 * conf.d/Makefile.am:
2093 * conf.d/autohint.conf:
2094 * conf.d/no-sub-pixel.conf:
2095 * conf.d/sub-pixel.conf:
2096 * conf.d/unhinted.conf:
2097 * debian/autohint.conf:
2098 * debian/fontconfig.install:
2099 * debian/fontconfig.postinst:
2100 * debian/fontconfig.templates:
2101 * debian/no-sub-pixel.conf:
2102 * debian/unhinted.conf:
2103 Move debian-specific conf file examples upstream.
2105 Sub-pixel configuration examples must smash subpixel value
2106 as Xft always sets it from X.
2108 Change sub-pixel rendering debconf descriptions from
2109 Enable/Disable to Always/Never.
2111 2005-03-02 Keith Packard <keithp@keithp.com>
2114 * conf.d/.cvsignore:
2116 Ignore more build detritus
2119 Add debian package construction stuff.
2121 * config/config.guess:
2122 * config/config.sub:
2123 Update to newer versions of these tools
2126 Get library manuals to build again (we love automake).
2128 * debian/README.Debian:
2129 * debian/autohint.conf:
2134 * debian/fontconfig-udeb.install:
2135 * debian/fontconfig.config:
2136 * debian/fontconfig.defoma:
2137 * debian/fontconfig.dirs:
2138 * debian/fontconfig.install:
2139 * debian/fontconfig.postinst:
2140 * debian/fontconfig.postrm:
2141 * debian/fontconfig.templates:
2142 * debian/libfontconfig1-dev.install:
2143 * debian/libfontconfig1.install:
2144 * debian/local.conf.md5sum:
2145 * debian/no-sub-pixel.conf:
2146 * debian/po/POTFILES.in:
2155 * debian/po/pt_BR.po:
2156 * debian/po/templates.pot:
2158 * debian/po/zh_CN.po:
2160 * debian/unhinted.conf:
2161 Update debian build system to switch maintainers and
2162 deal with 2.3 functionality
2164 2005-03-01 Keith Packard <keithp@keithp.com>
2168 * fontconfig/fontconfig.h:
2171 2005-03-01 Keith Packard <keithp@keithp.com>
2174 Generate and install PDF versions of the manuals
2176 * doc/fcpattern.fncs:
2179 * doc/fcstring.fncs:
2180 Add missing exported functions, fix data types
2182 * doc/fontconfig-devel.sgml:
2183 Add missing pattern elements.
2185 * doc/fontconfig-user.sgml:
2186 Add missing pattern elements. Document conf.d usage,
2187 clarify available orthography list. Fix some config file
2188 attributes. Complete list of constants.
2190 * fontconfig/fontconfig.h:
2191 Mark FC_SOURCE deprecated.
2193 * src/fcfreetype.c: (FcFreeTypeQuery):
2194 Don't set FC_SOURCE any longer.
2196 2005-02-28 Keith Packard <keithp@keithp.com>
2199 * conf.d/Makefile.am:
2201 * conf.d/no-bitmaps.conf:
2202 * conf.d/sub-pixel.conf:
2203 * conf.d/yes-bitmaps.conf:
2205 Create prototype /etc/fonts/conf.d directory with a few
2206 sample configuration files.
2207 Deprecate use of local.conf for local customizations in favor of
2208 this directory based scheme which is more easily integrated into
2209 installation systems.
2212 Tag FC_EMBOLDEN as a boolean variable
2214 2005-02-10 Keith Packard <keithp@keithp.com>
2216 reviewed by: pborelli@katamail.com
2218 * src/fcdir.c: (FcFileScanConfig):
2219 Free patterns from fonts which are rejected by configuration
2222 2005-01-28 Keith Packard <keithp@keithp.com>
2226 * fontconfig/fontconfig.h:
2227 Update for version 2.2.99
2229 2005-01-28 Keith Packard <keithp@keithp.com>
2232 Add a few pointers (#2284, #2285)
2234 2005-01-28 Keith Packard <keithp@keithp.com>
2237 * src/fcname.c: (FcNameBool):
2238 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2239 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2240 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2241 Polite typechecking for test and edit expressions. Helps
2242 catch errors in the font configuration. (bug 229)
2244 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2246 reviewed by: Keith Packard <keithp@keithp.com>
2249 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2251 2005-01-13 Keith Packard <keithp@keithp.com>
2253 * doc/fontconfig-user.sgml:
2254 Add SEE ALSO section (bug 2085)
2256 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2258 reviewed by: Keith Packard <keithp@keithp.com>
2263 * fc-case/Makefile.am:
2264 * fc-glyphname/Makefile.am:
2265 * fc-lang/Makefile.am:
2266 * src/fontconfig.def.in:
2267 Cross compiling fixes (bug 280)
2269 2005-01-13 Keith Packard <keithp@keithp.com>
2272 Update blanks list (Closes bug 86)
2274 2005-01-04 Keith Packard <keithp@keithp.com>
2276 * src/fccache.c: (FcCacheFontSetAdd):
2277 Verify that every font pattern loaded from cache has
2278 both FC_FILE and FC_FAMILY entries.
2279 Attempt to fix bug #2219.
2281 2004-12-29 Keith Packard <keithp@keithp.com>
2285 * fontconfig/fontconfig.h:
2286 Update for version 2.2.98
2288 2004-12-29 Keith Packard <keithp@keithp.com>
2290 * fontconfig/fontconfig.h:
2291 Document ASCII limitations of Fc character conversion macros
2292 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2293 Fix off-by-one error in utf-8 case walking code.
2294 Add FcStrDowncase (useful for testing case conversion functions)
2296 2004-12-29 Keith Packard <keithp@keithp.com>
2299 * fc-case/.cvsignore:
2300 clean up CVS ignore lists
2301 * fc-lang/iso-3166.txt:
2302 Add territory database
2304 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2306 Reviewed by: Keith Packard
2309 Remove Han characters from Korean orthography
2311 2004-12-29 Keith Packard <keithp@keithp.com>
2314 Reorder utility programs to make sure fc-case is run before fc-lang
2315 as fc-lang uses fcstr.c which uses fccase.h
2319 2004-12-29 Keith Packard <keithp@keithp.com>
2322 Adopt some RedHat suggestions for standard font configuration.
2326 * fc-case/CaseFolding.txt:
2327 * fc-case/Makefile.am:
2328 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2329 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2330 (dump), (parseRaw), (caseFoldReadRaw), (main):
2331 * fc-case/fccase.tmpl.h:
2332 Add new helper program 'fc-case' to construct case folding
2333 tables from standard Unicode CaseFolding.txt file
2336 * src/fclist.c: (FcListValueHash):
2337 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2338 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2339 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2340 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2341 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2342 Re-implement case insensitive functions with Unicode
2343 aware versions (including full case folding mappings)
2345 2004-12-13 Keith Packard <keithp@keithp.com>
2347 reviewed by: Owen Taylor <otaylor@redhat.com>
2349 * src/fcmatch.c: (FcFontSetSort):
2350 I changed FcFontSetSort to respect the generic aliases better
2351 in the face of language matching.
2353 What I did was to ammend the strict sort order used by FcFontSort so
2354 that it 'satisfies' the language specified in the pattern by locating
2355 the best matching font supporting each pattern language and then
2356 ignores language in the remaining fonts for purposes of matching.
2358 So, when asking for 'sans:lang=en', you'll get an English font first,
2359 and then the remaining fonts sorted with respect to the 'sans' alias
2360 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2362 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2364 reviewed by: Keith Packard <keithp@keithp.com>
2366 * fontconfig/fontconfig.h:
2369 Configuration changes to request synthetic emboldening of
2370 fonts. The actual emboldening code will live in Xft.
2372 2004-12-09 John Thacker <thacker@math.cornell.edu>
2374 reviewed by: Keith Packard <keithp@keithp.com>
2378 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2379 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2380 и), and don't even appear in KOI8-R. (The hypothesis that they
2381 don't appear in KOI8-R due to their similarity with Latin I and i is
2382 eliminated by their presence in KOI8-U.) I have a couple of fonts
2383 with Russian support that don't have the letter.
2385 Therefore, 0406 and 0456 should be removed from or commented out of
2388 2004-12-06 michael meeks <mmeeks@novell.com>
2390 Reviewed by: Keith Packard <keithp@keithp.com>
2392 * src/fcinit.c: (FcMemReport):
2394 * src/fclist.c: (FcObjectSetAdd):
2395 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2396 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2397 * src/fcxml.c: (FcParsePatelt):
2398 memoize strings and share a single copy for all uses. Note that
2399 this could be improved further by using statically allocated blocks
2400 and gluing multiple strings together, but I'm basically lazy.
2401 In my environment with 800 font files, I get a savings of about 90KB.
2403 2004-12-06 Keith Packard <keithp@keithp.com>
2407 * config/Makedefs.in:
2410 * doc/fcatomic.fncs:
2411 * doc/fcblanks.fncs:
2412 * doc/fccharset.fncs:
2413 * doc/fcconfig.fncs:
2414 * doc/fcconstant.fncs:
2416 * doc/fcfontset.fncs:
2417 * doc/fcfreetype.fncs:
2419 * doc/fcmatrix.fncs:
2420 * doc/fcobjectset.fncs:
2421 * doc/fcobjecttype.fncs:
2422 * doc/fcpattern.fncs:
2423 * doc/fcstring.fncs:
2424 * doc/fcstrset.fncs:
2426 * doc/fontconfig-devel.sgml:
2427 * doc/fontconfig-user.sgml:
2429 * doc/version.sgml.in:
2430 * fc-cache/Makefile.am:
2431 * fc-cache/fc-cache.c:
2432 * fc-glyphname/Makefile.am:
2433 * fc-glyphname/fc-glyphname.c:
2434 * fc-glyphname/fcglyphname.tmpl.h:
2435 * fc-lang/Makefile.am:
2445 * fc-lang/az_ir.orth:
2479 * fc-lang/fc-lang.c:
2480 * fc-lang/fc-lang.man:
2481 * fc-lang/fclang.tmpl.h:
2526 * fc-lang/ku_ir.orth:
2559 * fc-lang/ps_af.orth:
2560 * fc-lang/ps_pk.orth:
2589 * fc-lang/ti_er.orth:
2590 * fc-lang/ti_et.orth:
2616 * fc-lang/zh_cn.orth:
2617 * fc-lang/zh_hk.orth:
2618 * fc-lang/zh_mo.orth:
2619 * fc-lang/zh_sg.orth:
2620 * fc-lang/zh_tw.orth:
2622 * fc-list/Makefile.am:
2623 * fc-list/fc-list.c:
2624 * fc-match/Makefile.am:
2625 * fc-match/fc-match.1:
2626 * fc-match/fc-match.c:
2627 * fontconfig/fcfreetype.h:
2628 * fontconfig/fcprivate.h:
2629 * fontconfig/fontconfig.h:
2650 Change files from ISO-Latin-1 to UTF-8
2652 2004-12-04 Keith Packard <keithp@keithp.com>
2655 Update links to new freedesktop.org locations
2657 Add uninstall-local to get rid of fonts.conf and local.conf if they
2658 match the distributed versions. Fixes 'make distcheck'
2660 2004-12-04 Keith Packard <keithp@keithp.com>
2664 * fontconfig/fontconfig.h:
2665 Updates for version 2.2.97
2667 2004-12-04 Owen Taylor <otaylor@redhat.com>
2669 reviewed by: Keith Packard <keithp@keithp.com>
2671 * fc-cache/fc-cache.c: (main):
2672 Sleep for two seconds before exiting to make sure timestamps
2673 for future changes have distinct mod times in the file system.
2676 Add Punjabi orthography. Bug #1671.
2678 2004-12-04 Keith Packard <keithp@keithp.com>
2681 Just remove the FC_FONTDATE -- it has locale issues and
2682 annoys redhat multi-arch installs. Now that all X fonts are
2683 included without prejudice, the chances of the date being at
2684 all interesting are rather limited. Bug #505.
2686 Add copyright and license
2688 2004-12-04 Keith Packard <keithp@keithp.com>
2691 Change default set of fonts to include all of
2692 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2693 * doc/fontconfig-user.sgml:
2694 Document new <include>directory-name</include> semantics
2696 add <include ignore_missing="yes">conf.d</include>
2698 Add selectfont to ignore bitmap fonts, add comment for
2699 selectfont which accepts bitmap fonts.
2702 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2703 Allow <include> configuration elements to reference directories.
2704 Parse and load all files of the form [0-9]* in sorted order.
2706 2004-12-04 Keith Packard <keithp@keithp.com>
2709 Report command line for $srcdir/configure accurately.
2712 2004-12-04 Keith Packard <keithp@keithp.com>
2714 * src/fcfreetype.c: (FcFreeTypeQuery):
2715 Check for non-empty face->family_name and face->style_name
2716 before using those for the font. Empty names match everything.
2719 2004-12-04 Keith Packard <keithp@keithp.com>
2722 * fontconfig/fontconfig.h:
2723 * src/fcfreetype.c: (FcFreeTypeQuery):
2725 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2726 available. This provides font file format information (BDF, Type 1,
2727 PCF, TrueType) for each font. Closes #109.
2729 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2731 reviewed by: Keith Packard <keithp@keithp.com>
2733 * doc/fontconfig-user.sgml:
2736 * fontconfig/fontconfig.h:
2737 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2738 (GetScriptTags), (FcFontCapabilities):
2740 Add detection for font capabilities (bug #105)
2742 2004-12-04 Keith Packard <keithp@keithp.com>
2745 Move existing fonts.conf to fonts.conf.bak
2748 Add detection of iconv
2750 * doc/fcpattern.fncs:
2751 * doc/fontconfig-devel.sgml:
2752 * doc/fontconfig-user.sgml:
2754 Document new selectfont elements
2757 Switch to UTF-8 in comment
2759 * fontconfig/fontconfig.h:
2761 Add fullname, and family/style/fullname language entries
2763 * src/fccache.c: (FcCacheFontSetAdd):
2764 * src/fcdir.c: (FcFileScanConfig):
2765 Respect selectfont/*/glob
2768 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2769 (FcConfigCompareValue), (FcConfigPatternsAdd),
2770 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2771 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2772 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2773 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2774 Add support for selectfont
2776 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2777 (FcStringInPatternElement), (FcFreeTypeQuery):
2778 Add multi-lingual family/style/fullname support
2780 * src/fclist.c: (FcListPatternMatchAny):
2781 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2783 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2784 (FcObjectStaticName):
2785 Add new FcPatternRemove/FcPatternAppend.
2786 FcObjectStaticName stores computed pattern element names which
2787 are required to be static.
2789 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2794 Remove spurious / after $(DESTDIR)
2796 2004-06-30 Keith Packard <keithp@keithp.com>
2800 * fontconfig/fontconfig.h:
2803 2004-06-30 Keith Packard <keithp@keithp.com>
2805 Provided by: Lubos Lunak <l.lunak@suse.cz>
2807 * src/fccfg.c: (FcConfigUptoDate):
2808 However FcConfigUptoDate() doesn't seem to work. See the attached
2809 patch. First there's an obvious misplaced parenthesis making it
2810 return always false, and second, even this call fails to detect font
2811 changes (e.g. adding a new font to
2812 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2813 well. The problem seems to be triggered by my fonts.conf specifying
2814 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2815 doesn't include subdirs, unlike config->fontDirs.
2817 2004-06-03 Keith Packard <keithp@keithp.com>
2819 * fontconfig/fontconfig.h:
2820 Remove comma at end of FcResult enum definition.
2822 2004-05-29 Keith Packard <keithp@keithp.com>
2825 Add steps to md5sum release
2827 2004-05-29 Keith Packard <keithp@keithp.com>
2831 * fontconfig/fontconfig.h:
2834 2004-05-29 Keith Packard <keithp@keithp.com>
2836 * fontconfig/fontconfig.h:
2837 * src/fcmatch.c: (FcFontSetMatch):
2838 Add FcResultOutOfMemory to provide an accurate error when
2839 FcFontSetMatch fails in this way
2842 Make #warning about lacking various FreeType features indicate
2843 which version those features appeared so users know how to
2844 fix the problem (Thanks to Anton Tropashko)
2846 2004-05-05 Keith Packard <keithp@keithp.com>
2848 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2849 Replace MIN/MAX/ABS macros which happen to have come
2850 from FreeType with fontconfig-specific ones (FC_*)
2852 2004-04-23 Keith Packard <keithp@keithp.com>
2855 Extend release preparation instructions to include
2856 notification and distribution steps
2858 2004-04-23 Keith Packard <keithp@keithp.com>
2862 * fontconfig/fontconfig.h:
2863 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2865 2004-04-23 Keith Packard <keithp@keithp.com>
2868 Ignore a few more autotool files
2870 2004-04-14 Keith Packard <keithp@keithp.com>
2873 Add instructions for doing a release
2875 * fontconfig.spec.in:
2876 clean up .spec file; perhaps this will be useful to somebody...
2880 * fontconfig/fontconfig.h:
2883 * fc-lang/fc-lang.c:
2884 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2886 * fc-glyphname/Makefile.am:
2887 * fc-lang/Makefile.am:
2888 * fc-list/Makefile.am:
2889 * fc-match/Makefile.am:
2891 Add WARN_CFLAGS to pass -W flags for GCC systems
2893 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2894 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2895 Change various char types around to match across
2897 Fixed bug in using available_sizes[i].height which
2898 is in pixels, not 64ths of a pixel.
2900 2004-03-06 Keith Packard <keithp@keithp.com>
2902 * src/fcfreetype.c: (FcFreeTypeQuery):
2903 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2904 matches looking for explicit values prefer exact matches
2906 2004-03-02 Keith Packard <keithp@keithp.com>
2908 Supplied by: mfabian@suse.de (Mike FABIAN)
2910 * src/fcfreetype.c: (FcFreeTypeQuery):
2911 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2912 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2914 2004-02-21 Manish Singh <yosh@gimp.org>
2916 * fc-glyphname/fc-glyphname.c: (main):
2917 Cast strlen to int for printf, so we're 64-bit clean.
2919 2004-02-11 Keith Packard <keithp@keithp.com>
2922 * src/fcfreetype.c: (FcGetPixelSize):
2923 Ok, so I messed up the test for y_ppem. Let's see if I
2924 got it right this time.
2926 2004-02-10 Keith Packard <keithp@keithp.com>
2929 * src/fcfreetype.c: (FcGetPixelSize):
2930 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2931 FT_Bitmap_Size record. Add a configure.in test for this
2932 and change the code accordingly (using height instead).
2934 2004-02-06 Keith Packard <keithp@keithp.com>
2937 Add Low Saxon orthography
2938 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2940 * src/fccfg.c: (FcConfigNewestFile):
2941 Oops. Left 'newest.set' unset, which would miscompute
2944 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2945 (FcFreeTypeCheckGlyph):
2946 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2947 font properties (which report the wrong value in current FreeType)
2949 Don't attempt to check for empty glyphs in non-scalable fonts; they
2952 2004-02-01 Tor Lillqvist <tml@iki.fi>
2954 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2955 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2956 cache if config->cache is NULL, which happens if FcConfigHome() is
2957 NULL. Guard against that by using the temp folder in that case.
2959 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2961 * fc-lang/az_ir.orth:
2962 * fc-lang/ku_ir.orth:
2963 * fc-lang/ps_af.orth:
2964 * fc-lang/ps_pk.orth:
2965 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2966 (Afghan and Pakistani).
2968 Updated Urdu orthography with real data.
2970 2003-12-11 Carl Worth <cworth@east.isi.edu>
2972 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2975 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2977 (all-local): Remove excessive whitespace.
2979 * autogen.sh: Add 'set -e' to abort when any program fails,
2980 (avoids printing of 'now type make' after configure aborts).
2982 2003-11-17 Eric Christopherson <rakko@charter.net>
2984 reviewed by: Keith Packard <keithp@keithp.com>
2987 * fontconfig/fcfreetype.h:
2989 Switch to FreeType 2.1.7 style includes. Bug #150.
2991 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2993 * fc-list/fc-list.sgml: Add some example usages.
2995 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2998 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
3001 2003-10-27 Keith Packard <keith@keithp.com>
3004 * fontconfig/fontconfig.h:
3005 Update to version 2.2.92
3007 2003-10-27 Keith Packard <keithp@keithp.com>
3012 * fc-cache/Makefile.am:
3013 * fc-glyphname/Makefile.am:
3014 * fc-lang/Makefile.am:
3015 * fc-list/Makefile.am:
3016 * fc-match/Makefile.am:
3019 Yet more cleanups to finish getting 'make distcheck' working
3020 This has been tested to ensure that it even works from a _build
3023 2003-10-26 Keith Packard <keithp@keithp.com>
3027 * fc-cache/Makefile.am:
3028 * fc-glyphname/Makefile.am:
3029 * fc-lang/Makefile.am:
3030 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
3031 * fc-list/Makefile.am:
3032 * fc-match/Makefile.am:
3033 Attempts to fix 'make distcheck' work. Things are
3034 progressing pretty well, but there are still failures
3035 long into the process dealing with docs (as always).
3037 The big changes here are mostly to make $(srcdir) != "."
3038 work correctly, fixing the docbook related sections and
3039 fc-lang were particularily tricky. Docbook refuses to load
3040 system entities from anywhere other than where the original .sgml
3041 file was located, so no luck looking in "." for the
3042 configure-generated version.sgml and confdir.sgml files.
3044 fc-lang needed help finding .orth files; added a -d option
3045 to set the directory as the least evil of many options.
3047 Now to go use a faster machine and try and wring out the last
3050 2003-10-26 Keith Packard <keithp@keithp.com>
3054 2003-10-26 Keith Packard <keithp@keithp.com>
3057 Include confdir.sgml.in in EXTRA_DIST
3059 2003-10-09 Josselin Mouette <joss@debian.org>
3061 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
3062 * fc-list/fc-list.sgml fc-list/Makefile.am:
3063 Replace fc-cache and fc-list manpages with more detailed, SGML
3066 2003-09-23 Owen Taylor <otaylor@redhat.com>
3068 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3069 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3070 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3073 2003-09-23 Owen Taylor <otaylor@redhat.com>
3075 * fc-lang/ka.orth: Remove Georgian capitals, they
3076 aren't used for normal writing. (Bug #116)
3078 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3080 * doc/fontconfig-devel.sgml:
3081 * doc/fontconfig-user.sgml:
3082 * fontconfig/fontconfig.h:
3084 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3085 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3087 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3088 monospace and dual-width fonts, allow roughly a 3% variance in the
3091 2003-08-31 Manish Singh <yosh@gimp.org>
3093 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3096 2003-08-15 Carl Worth <cworth@isi.edu>
3098 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3099 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3101 * src/fcpat.c (FcValueListEntDestroy): New function to support
3102 FcFini memory cleanup. Some statistics are not kept in
3104 (FcValueListFreeze): Move hashTable outside this function so it
3105 can be accessed by FcValueListThawAll.
3106 (FcValueListThawAll): New function complements FcValueListFreeze.
3107 (FcPatternBaseFreeze): Move hashTable outside this function so it
3108 can be accessed by FcPatternBaseThawAll.
3109 (FcPatternBaseThawAll): New function complements
3110 FcPatternBaseFreeze.
3111 (FcPatternThawAll): New function complements FcPatternFreeze.
3113 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3115 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3116 allocated FcCharLeafEnt "blocks" so they can be freed later.
3117 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3118 can be accessed by FcCharSetThawAllLeaf.
3119 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3120 (FcCharSetFreezeBase): Move hashTable outside this function so it
3121 can be accessed by FcCharSetThawAll.
3122 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3124 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3125 (FcConfigDestroy): Fic leak of FcBlanks.
3127 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3128 (main): Add call to FcFini when finished.
3130 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3131 static. Add prototypes.
3133 * doc/fcinit.fncs: Add documentation for FcFini function.
3135 * doc/edit-sgml.c: Mark several local functions as static. Add
3138 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3140 2003-06-15 Tor Lillqvist <tml@iki.fi>
3142 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3143 before comparing (needed on Windows).
3145 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3147 2003-06-13 Tor Lillqvist <tml@iki.fi>
3149 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3152 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3153 WINDOWSFONTDIR token.
3155 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3156 end, not to confuse libtool, which expects the EXPORTS line to be
3157 the first. Add FcConfigEnableHome.
3159 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3160 built as a DLL on Win32.
3162 2003-06-09 Keith Packard <keithp@keithp.com>
3164 * Tag version 2.2.90
3166 2003-06-09 Keith Packard <keithp@keithp.com>
3168 * Optimization in FcLangSetIndex was broken, occasionally
3169 returning a pointer to the wrong location on miss
3171 * Add fc-match to test font matching from the command line.
3173 2003-05-31 Keith Packard <keithp@keithp.com>
3175 * (Bug 85) add support for culmus fonts
3176 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3177 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3179 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3181 * Fix "contains" op for strings and langsets.
3183 2003-05-17 Keith Packard <keithp@keithp.com>
3185 * Fix build error with BDF prop local. Free langset after query
3187 2003-05-14 Keith Packard <keithp@keithp.com>
3189 * Extract spacing from XLFD atom
3191 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3193 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3194 disappeared in 1.30.
3196 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3198 2003-05-12 Keith Packard <keithp@keithp.com>
3200 * Use FcIsWidth to share code
3202 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3203 misclassifying some Han fonts as monospaced.
3205 2003-05-07 Keith Packard <keithp@keithp.com>
3207 * Add filename-based accept/reject to ammend available fonts.
3209 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3210 older FreeType releases.
3212 2003-05-06 Keith Packard <keithp@keithp.com>
3214 * Remove 0b82 and Tamil numbers from tamil
3215 orthography (Jungshik Shin <jshin@mailaps.org>)
3217 2003-05-04 Keith Packard <keithp@keithp.com>
3219 + Map glyph names in fonts with adobe custom encoding to unicode
3221 2003-05-02 Keith Packard <keithp@keithp.com>
3223 * Add FC_WEIGHT_BOOK as weight 75
3225 2003-04-30 Keith Packard <keithp@keithp.com>
3227 * Typo in bitstream foundry name
3229 2003-04-24 Keith Packard <keithp@keithp.com>
3231 * Eliminate italic_angle check for PS fonts
3233 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3235 * Getting closer to fixing /etc/fonts hard-coding.
3237 2003-04-22 Keith Packard <keithp@keithp.com>
3239 * Update autogen.sh to work with newer automake versions
3240 * Handle pattern elements moving during multiple edits
3242 2003-04-23 James Henstridge <james@daa.com.au>
3244 * doc/fontconfig-devel.sgml: close the <para> element.
3246 * doc/fcpattern.fncs: close the <para> element.
3248 * doc/func.sgml: close the <refsynopsisdiv> element.
3250 2003-04-22 Keith Packard <keithp@keithp.com
3252 * Update autogen.sh to work with newer automake versions
3253 * Handle pattern elements moving during multiple edits
3255 2003-04-17 Colin Walters <walters@debian.org>
3257 + Remove some unused variables, and initialize some other ones so
3258 gcc doesn't warn us.
3260 2003-04-16 Keith Packard <keithp@keithp.com>
3262 + tag version 2.1.94
3264 2003-04-16 Keith Packard <keithp@keithp.com>
3266 + add BDF property fetching support for foundry
3267 (from Juliusz Chroboczek)
3268 + add BDF property fetching support for width
3270 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3272 + Implemented foundry generation for Type 1 and TrueType
3274 2003-04-11 Gerard Escalante <g2@magestudios.net>
3276 + Retrieve information from Type1 FontInfo dictionaries
3278 2003-04-07 Colin Walters <walters@verbum.org>
3280 + src/Makefile.am: Fix dummy makefile target names when
3281 MS_LIB_AVAILABLE isn't set.
3283 2003-03-22 Tor Lillqvist <tml@iki.fi>
3285 Changes for Windows:
3287 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3289 + We don't want to hardcode the fonts.conf file location in the
3290 DLL, so we look up the DLL location at run-time in a DllMain()
3291 function. The fonts.conf location is deduced from that.
3293 + The colon can't be used as path separator on Windows,
3294 semicolon is used instead. File path components can be separated
3295 with either slash or backslash. Absolute paths can also begin
3296 with a drive letter.
3298 + Add internal function FcStrLastSlash that strrchr's the last
3299 slash, or backslash on Windows.
3301 + There is no link() on Windows. For atomicity checks, mkdir a
3302 lock directory instead.
3304 + In addition to HOME, also look for USERPROFILE.
3306 + Recognize the special font directory token WINDOWSFONTDIR, to
3307 use the system's font directory.
3309 + Remove the fontconfig-def.cpp that was obsolete. Add
3310 fontconfig.def(.in), without internal functions.
3312 + Add a fontconfig-zip(.in) script, used to build a binary
3315 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3316 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3317 to main package and man3/* to devel package
3319 + Added missing defattr(-, root, root) to main RPM package
3321 + Added HTML and text development documentation to -devel subpackage
3323 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3324 + Added back the configure macro options --disable-docs, otherwise
3325 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3326 version number) unconditionally, causing RPM to fail the build due
3327 to _unpackaged_files_terminate_build. We pick up the pregenerated
3328 docs with %doc already.
3330 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3331 + Removed commented out rpm macro define at top of spec file,
3332 replacing it with a simple explanation, since rpm macros are
3333 expanded by rpm even in comments.
3335 + Changed /usr/bin to _bindir in BuildRequires lines
3337 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3339 + Reorganized file manifest lists
3341 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3343 + fontconfig.spec.in: Improvements from Red Hat spec file.
3345 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3347 + docs/*.sgml: SGML fixes.
3349 Sat Mar 1 17:28:53 PST 2003 keithp
3350 + Ok, so the ChangeLog is a bit out of date
3352 + Lots of bugs fixed; most are in bugzilla, the
3353 biggest problems were in cache management where
3354 Owen discovered the library would lose badly when
3355 combining fonts-cache and ~/.fonts-cache data
3357 + Converted from autoconf to automake. This after
3358 getting patches accepted into libtool to allow
3359 the '-version-number' argument which lets
3360 packages set version numbers explicitly rather
3361 than the roundabout libtool way
3363 + Converted documentation to SGML using the docbook
3364 DTD. Now .txt and .html documents are installed
3365 in /usr/share/doc/fontconfig and there's no
3366 man page. Perhaps a man version can be written
3369 Sat Aug 31 15:21:22 PDT 2002 keithp
3370 + Xrender and Xft had several bugs related to
3371 rendering manually placed or poly-face text
3373 + Added more complete memory tracing in fontconfig
3374 Checked with (patched) mozilla and found no leaks
3376 + Updated Latin orthographies by comparing those from
3377 evertype.com with those from eki.ee. Tried to make
3378 sensible choices, including chars that occured in both
3379 and leaving some optional chars out that occured only
3382 Mon Aug 26 16:33:04 PDT 2002 keithp
3383 + Owen discovered that FcLangSetHasLang wasn't actually
3384 checking the language set.
3386 Mon Aug 26 13:37:23 PDT 2002 keithp
3387 + Append a version number to cache filenames
3389 Thu Aug 22 11:36:18 PDT 2002 keithp
3391 + Add "contains" and "not_contains" operators and elements to
3394 + Changed semantics of eq operator for LangSets to check for
3395 FcLangEqual so that any match will do
3397 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3398 of FcValueEqual to check for identical values when inserting into
3399 the results. This broke when the above semantic change was made,
3400 now it uses FcValueEqual which is "more correct" in any case.
3402 Thu Aug 22 00:32:29 PDT 2002 keithp
3404 + Reimplement FC_LANG as new datatype. Lists of strings
3405 was consuming over a megabyte of memory for 401 fonts.
3407 + Freeze patterns loaded from cache files. This shares
3408 common value lists and common patterns which saves
3409 considerable memory.
3411 + Change the denotation of 'constant' charsets to use special
3412 ref value instead of separate boolean.
3414 + Clean up leak tracing stuff, found several unannoted alloc/free
3417 Tue Aug 20 16:17:37 PDT 2002 keithp
3419 + Fix memory leak when parsing matrices from XML
3421 Mon Aug 19 11:57:27 PDT 2002 keithp
3423 + Fix autoconf files to pass FONTCONFIG_PATH on
3424 compile line so that ${prefix} gets substituted
3427 + Use getc_unlocked/putc_unlocked on systems that
3428 provide them to avoid damage done to stdio by posix
3430 + Eliminate FC_PATTERN and FcTypePattern in favor of
3431 an extended api for FcConfigSubstitute which takes
3432 both the font and the pattern.
3434 + Add 'sans serif' alias for 'sans-serif' as some apps
3435 can't handle hyphens in family names
3437 + Eliminate pretense of support for libxml2
3439 + Comment origins of Han orthographies
3441 Tue Jul 30 18:37:09 PDT 2002 keithp
3443 + Add binding property to edit element so that strong
3444 binding values may be inserted by the config file.
3445 The default remains weak.
3447 Sun 28 Jul 04:16:55 PDT 2002 keithp
3449 + Tagged release candidate 1 in the CVS tree and
3450 placed fcpackage.rc1.tar.gz for distribution
3452 Thu Aug 1 08:55:08 PDT 2002 keithp
3454 + Fixed autoconf builds to always specify install
3455 target files (for BSD). Also fixed to
3456 define FONTCONFIG_PATH in config.h so that
3457 nonstandard installs will actually work.