1 2006-05-31 Yong Li (rigel863@gmail.com)
2 reviewed by: plam, Bedhad Esfahbod
4 * src/ftglue.c (_hb_ftglue_face_goto_table):
6 TrueType Collection table offsets are absolute, not relative.
8 2006-04-27 Paolo Borelli (pborelli@katamail.com)
11 * src/fcstr.c (FcStrCopy):
13 Make FcStrCopy slightly more efficient.
15 2006-04-27 Patrick Lam <plam@mit.edu>
16 Keith Packard <keithp@keithp.com>
17 * src/fcstr.c (FcStrBufChar):
19 Reduce transient memory usage during config file parsing
20 by allocating smaller buffers (64 seems to be a magic number).
22 2006-04-27 Keith Packard <keithp@keithp.com>
24 * src/fcinit.c: (FcMemReport):
26 * src/fcpat.c: (FcPatternFini):
27 * src/fcxml.c: (FcParsePatelt):
28 Eliminate pattern freezing
30 2006-04-27 Keith Packard <keithp@keithp.com>
31 reviewed by: Patrick Lam <plam@mit.edu>
33 * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName),
34 (FcDirCacheOpen), (FcDirCacheWrite):
35 * src/fcfreetype.c: (FcFreeTypeQuery):
37 * src/fclist.c: (FcListAppend):
38 * src/fcmatch.c: (FcFontRenderPrepare):
39 * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
40 (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
42 Make path names in cache files absolute (NB, cache format change)
43 Stop permitting cache files to be stored in font dirs.
45 Don't include /fonts.cache-2 in cache hash construction.
47 2006-04-25 Patrick Lam <plam@mit.edu>
51 * fontconfig/fontconfig.h:
53 Bump version to 2.3.95.
55 2006-04-25 Behdad Esfahbod <behdad@cs.toronto.edu>
62 Fix the issues with GNU libiconv vs. libc iconv (which especially
63 appear on Solarii). Approach suggested by Tim Mooney.
65 2006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
70 Include $(top_srcdir), $(top_srcdir)/src before anything else.
72 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
73 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
74 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
75 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
76 * src/fcstr.c, src/fcxml.c:
78 Shuffle order of includes for building out of srcdir on win32.
80 2006-04-20 Patrick Lam <plam@mit.edu>
81 * src/fcmatch.c (FcSortWalk):
83 Prevent terrible perf regression by getting the if-condition
84 right (reported by Wouter Bolsterlee).
86 2006-04-19 Patrick Lam <plam@mit.edu>
87 Dominic Lachowicz <cinamod@hotmail.com>
89 * src/fccache.c (FcDirCacheConsume):
91 Implement mmap-like code for Windows using MapViewOfFile.
93 2006-04-19 Patrick Lam <plam@mit.edu>
94 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
96 Bail gracefully if the cache file does not contain enough data.
98 2006-04-14 Patrick Lam <plam@mit.edu>
101 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
103 2006-04-14 Patrick Lam <plam@mit.edu>
104 * src/fcname.c (FcObjectToPtrLookup):
106 Fix Gecko-exposed segfault from my last hack to
107 FcObjectToPtrLookup. Simplify code and get things straight.
109 2006-04-14 Patrick Lam <plam@mit.edu>
112 Actually, just add URW fonts as aliases for all of the PostScript
113 fonts. (reported by Miguel Rodriguez).
115 2006-04-13 Patrick Lam <plam@mit.edu>
118 Add an alias 'Standard Symbols L' for 'Symbol'.
120 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
123 * src/fcpat.c: (FcPatternFreeze):
124 Fix memory leak (Coverity defect #2089).
126 * src/fcfreetype.c: (GetScriptTags):
127 Ignore script if subtable is missing (Coverity defect #2088).
129 2006-04-12 Patrick Lam <plam@mit.edu>
130 * src/fccfg.c (FcConfigSubstituteWithPat):
132 Fix possible null pointer dereference (Coverity defect #784)
133 and memory leak (Coverity defects #785, #786).
135 2006-04-12 Patrick Lam <plam@mit.edu>
136 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
138 Don't copy FcCharSet if we're going to throw it away anyway.
139 (Reported by Kenichi Handa).
141 2006-04-11 Ming Zhao <ming@gentoo.org>
144 * src/fcname.c (FcObjectToPtrLookup):
146 Fix bad behaviour on realloc resulting in crash.
148 2006-04-11 Patrick Lam <plam@mit.edu>
149 * src/fccache.c (FcGlobalCacheReadDir):
151 Don't crash if config is null (Coverity defect #984).
153 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
156 * src/fccharset.c (FcCharSetPutLeaf):
157 * src/fclang.c (FcNameUnparseLangSet):
159 Missing bits from previous patches.
161 * src/fccharset.c (FcCharSetSubtractCount):
162 Remove extra semi-colon.
164 * src/fccfg.c (FcConfigBuildFonts):
165 Fix memory leak in error case (Coverity defects #776, #985).
167 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
168 Fix memory leaks (Coverity defects #779, #781)
169 and memory use after free (Coverity defect #780).
171 2006-04-11 Patrick Lam <plam@mit.edu>
172 * src/fccharset.c (FcCharSetPutLeaf):
174 Properly convert static charsets to dynamic charsets.
176 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
179 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
181 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
183 * src/fclang.c: (FcNameUnparseLangSet):
184 Fix memory leak (Coverity defect #1819).
186 * fc-lang/fc-lang.c: (scan):
187 prevent crash when invalid include line is parsed (Coverity defect
190 * fc-cat/fc-cat.c: (FcCacheFileRead):
191 Fix potential null pointer access (Coverity defect #1804).
193 * src/fcname.c: (FcObjectUnserialize):
194 Remove dead code (Coverity defect #1194).
196 * src/fcfreetype.c: (GetScriptTags):
197 Prevent potential null pointer access (Coverity defect #767),
198 ensure error value is read (Coverity defect #1195).
200 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
205 Survive missing docbook2pdf.
207 2006-04-10 Patrick Lam <plam@mit.edu>
209 * fc-glyphname/fc-glyphname.c:
212 Include more stub definitions to make HP-UX's C compiler happy.
214 2006-04-10 Patrick Lam <plam@mit.edu>
215 * src/fcname.c (FcObjectUnserialize):
217 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
219 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
222 * src/fccfg.c: (FcConfigEvaluate):
223 Fix string memory leak (Coverity defect #1823).
225 * src/fccache.c: (FcDirCacheUnlink):
226 Fix memory leak with hash collision (Coverity defect #1824).
228 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
231 * src/fccache.c: (FcGlobalCacheSave):
232 Don't leak header in non-error case (Coverity defect #1825).
234 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
237 * src/fcdir.c (FcDirScanConfig)
238 Don't leak in error cases (Coverity defects #777, #1826)
240 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
243 * src/fccache.c: (FcDirCacheWrite):
244 Fix double free (spotted by Coverity, CID #1965).
246 * fc-match/fc-match.c: (main):
247 Check if pattern is not null before using it (Coverity defect #1883).
249 * src/fccache.c: (FcDirCacheWrite):
250 Fix memory leak with hash collision (Coverity defect #1829).
252 * src/fccfg.c: (FcConfigBuildFonts):
253 Fix memory leak when bail cases (Coverity defect #1828).
255 * src/fccache.c: (FcGlobalCacheLoad):
256 Don't leak directory name (Coverity defect #1827).
258 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
260 * fc-cache/Makefile.am:
261 * fc-cat/Makefile.am:
262 * fc-list/Makefile.am:
263 * fc-match/Makefile.am:
265 LD_ADD missing dependencies for binaries. Reported by
268 2006-04-07 Patrick Lam <plam@mit.edu>
270 * fc-lang/fc-lang.c (main):
272 SGI compilation fixes (reported by Christoph Bauer):
273 1) reorder union definition of _FcChar;
276 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
279 * src/fccharset.c (FcCharSetNeededBytes):
280 * src/fcfs.c (FcFontSetNeededBytes):
282 * src/fclang.c (FcLangSetNeededBytesAlign):
283 * src/fcname.c (FcObjectNeededBytesAlign):
284 * src/fcpat.c (FcPatternNeededBytesAlign,
285 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
287 Portability fixes for HP-UX (reported by Christoph Bauer).
288 Replace '__inline__' by AC_C_INLINE and 'inline'.
289 Replace '__alignof__' by 'fc_alignof'.
291 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
295 Move up #include of config.h.
296 Fail if neither inttypes.h nor stdint.h is available.
299 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
300 Patrick Lam <plam@mit.edu>
302 * fc-cache/fc-cache.c:
304 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
305 FcDirCacheConsume, FcDirCacheProduce,
306 FcDirCacheWrite, FcCacheMachineSignature):
307 * src/fcfreetype.c (FcFreeTypeQuery):
308 * src/fontconfig.def.in:
310 Make fontconfig compile under MinGW:
311 1) remove unneeded #includes;
312 2) make use of mmap and sysconf conditional;
313 3) replace rand_r by srand/rand if needed;
314 4) use chsize instead of ftruncate; and
315 5) update libtool exports file
317 2006-04-07 Patrick Lam <plam@mit.edu>
318 * src/fcdir.c (FcDirScanConfig):
322 2006-04-06 Patrick Lam <plam@mit.edu>
323 * fc-match/.cvsignore:
324 * fc-match/Makefile.am:
325 * fc-match/fc-match.sgml:
327 Update documentation for fc-match (SGML-ize it).
328 (reported by Ilya Konstantinov)
330 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
336 Reduce amount of dirty rss by const'ing some data structures.
338 2006-04-06 Patrick Lam <plam@mit.edu>
339 * fc-cache/Makefile.am:
341 Don't fail if we can't create or remove
342 $(pkgcachedir) i.e. /var/cache/fontconfig.
343 (reported by Quanah Gibson-Mount).
345 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
348 * fc-glyphname/fc-glyphname.c:
349 * fc-lang/fc-lang.c (main):
350 * fc-match/fc-match.c:
351 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
353 * src/fcfreetype.c (FcFreeTypeQuery):
354 * src/fclang.c (FcFreeTypeLangSet):
357 Fix intel compiler warnings: make many variables static,
358 eliminate duplicate names, reduce variable scopes, unsigned/signed
361 2006-03-24 Mike Fabian <mfabian@suse.de>
363 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
365 Fix multiarch support (don't destroy multiarch files!)
367 2006-03-24 Patrick Lam <plam@mit.edu>
370 Require pkg-config. (Thanks Behdad;
371 better solution wanted for libxml2 detection!)
373 2006-03-22 Patrick Lam <plam@mit.edu>
376 On Windows, unlink before rename. Reported by Tim Evans.
378 2006-03-15 Patrick Lam <plam@mit.edu>
382 Fix typos in orth files. Reported by Denis Jacquerye.
384 2006-03-08 Patrick Lam <plam@mit.edu>
386 * config/config.guess:
389 Fix Makefile.am for removal of debian/ directory.
391 2006-03-08 Patrick Lam <plam@mit.edu>
394 Ignore debian/ directory for CVS.
396 2006-03-08 Patrick Lam <plam@mit.edu>
399 Now remove debian/ directory.
401 2006-03-08 Patrick Lam <plam@mit.edu>
404 Remove debian/ directory from sources. See Debian's subversion
405 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
408 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
412 * fc-lang/iso639-1, fc-lang/iso639-2:
414 Add orthography for Lingala.
416 2006-03-08 Carl Worth <cworth@cworth.org>
419 * conf.d/Makefile.am:
420 * conf.d/10LohitGujarati.conf:
422 Add a configuration file that disables hinting for the Lohit
423 Gujarati font (since the hinting distort some glyphs quite badly).
425 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
428 * src/fcdir.c (FcDirScanConfig):
430 Sort directory entries while scanning them from disk;
431 prevents Heisenbugs due to file ordering in a directory.
433 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
436 * src/fcfreetype.c (GetScriptTags):
437 * src/ftglue.c, src/ftglue.h:
439 Remove stuff we don't use, make get_{char,short,long} functions
440 of ftglue macros to be inlined.
443 * src/fcname.c (FcObjectSerialize):
445 Code cleanups (excess prototype, old-style function definition).
447 2006-03-05 Patrick Lam <plam@mit.edu>
448 * src/fcpat.c (FcPatternGetString):
450 Because we hacked FcPatternGet, we don't really need to expand the
451 filename again in FcPatternGetString.
453 2006-03-05 Patrick Lam <plam@mit.edu>
454 * src/fcpat.c (FcPatternGetString, FcPatternGet):
456 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
457 Make that work. Reported by Bernhard Rosenkraenzer.
459 2006-03-03 Patrick Lam <plam@mit.edu>
462 Include inttypes.h instead of stdint.h if appropriate.
464 2006-03-03 Patrick Lam <plam@mit.edu>
465 * fc-cat/fc-cat.c (FcFileIsDir):
466 * fc-glyphname/fc-flyphname.c:
468 More stub definitions and remove FcFileIsDir from fc-cat.
470 2006-03-03 Patrick Lam <plam@mit.edu>
473 Fix compilation on AIX with stub definitions (bug 6097).
475 2006-03-03 Patrick Lam <plam@mit.edu>
476 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
477 * src/fcfreetype.c (GetScriptTags):
478 * src/fcfs.c (FcFontSetDistributeBytes):
479 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
481 Get rid of C++-style comments.
483 2006-03-03 Patrick Lam <plam@mit.edu>
486 Enable creation of 2.3.94 Debian packages.
488 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
491 * src/fclang.c (FcCharSetForLang):
493 Fix suspicious return expression which causes junk
496 2006-02-24 Patrick Lam <plam@mit.edu>
500 * fontconfig/fontconfig.h:
502 Bump version to 2.3.94.
504 2006-02-24 Patrick Lam <plam@mit.edu>
509 2006-02-24 Patrick Lam <plam@mit.edu>
510 * conf.d/10-fonts-persian.conf:
512 Remove unconditional emboldening (per Behdad's instructions).
516 Add @s to hide some echos.
518 2006-02-24 Mike Fabian <mfabian@suse.de>
519 Takashi Iwai <tiwai@suse.de>
522 * src/fcfreetype.c (GetScriptTags):
524 Fix double-free on error case.
526 2006-02-21 Patrick Lam <plam@mit.edu>
527 * fc-lang/fc-lang.c (scan):
529 Strip \r and whitespace from input; fixes bug 3454.
531 2006-02-21 Patrick Lam <plam@mit.edu>
532 * fc-lang/fc-lang.c (main):
534 Allocate large arrays statically in fc-lang to fix crashes under
537 2006-02-21 Diego Petten <flameeyes@gentoo.org>
538 * src/fcfreetype.c (FcFreeTypeCharIndex):
540 Pass the buck; make fontconfig not crash on pango badness.
542 2006-02-21 Patrick Lam <plam@mit.edu>
543 * conf.d/10-fonts-persian.conf:
545 Use embeddedbitmap rather than rh_prefer_bitmap.
547 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
550 * src/fccache.c (FcDirCacheWrite):
551 * src/fcdir.c (FcFileScanConfig):
552 * src/fcfreetype.c (FcStringInPatternElement):
553 * src/fcxml.c (FcParseFamilies):
554 * src/ftglue.c (ftglue_face_goto_table):
556 Eliminate redundancies.
558 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
561 * fc-list/fc-list.c (main):
562 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
563 * src/fcstr.c (FcStrStr):
564 * src/fcxml.c (FcConfigSaveAttr):
566 Eliminate unused vars reported by Intel's compiler.
568 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
573 Remove one more archaic character.
575 2006-02-21 Ross Burton <ross@burtonini.com>
576 reviewed by: plam, keithp
578 * src/fcxml.c (FcParsePatelt):
580 Freeze patterns created by configuration file for tiny
581 memory savings (every little bit helps).
583 2006-02-21 Mike Fabian <mfabian@suse.de>
586 * fc-cat/fc-cat.c (main):
588 Initialize fontconfig library in fc-cat to avoid segfault.
590 2006-02-18 Patrick Lam <plam@mit.edu>
591 * fc-cache/fc-cache.c (scanDirs):
592 * src/fccache.c (FcCacheReadDirs):
593 * src/fcdir.c (FcDirScanConfig):
595 Fix the underlying cause of the below segfault (must usually
596 call FcDirCacheHasCurrentArch after FcDirCacheValid).
598 2006-02-18 Patrick Lam <plam@mit.edu>
599 * src/fccache.c (FcDirCacheHasCurrentArch):
601 Fix triggering of segfault caused by misreading cache files
602 (reported by fcrozat).
604 2006-02-17 Patrick Lam <plam@mit.edu>
605 * src/fcint.h (FC_CACHE_MAGIC):
607 Bump up magic version; we changed the binary format.
609 2006-02-17 Patrick Lam <plam@mit.edu>
610 * fc-cat/fc-cat.c (main):
612 Enable fc-cat to print out old-style cache info when given a
615 2006-02-16 Patrick Lam <plam@mit.edu>
616 * src/fccache.c (FcDirCacheHasCurrentArch):
618 Deal correctly with changing FC_CACHE_MAGIC.
620 2006-02-16 Patrick Lam <plam@mit.edu>
621 * fc-cache/fc-cache.c (usage, scanDirs, main):
623 Add -r --really-force option which blows away cache files and then
626 2006-02-16 Patrick Lam <plam@mit.edu>
627 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
629 Don't bail if fontconfig can't remove a dir cache file.
630 Skip the ID of a cache file when copying.
631 Eliminate 'source file too small' bug in FcDirCacheWrite.
633 2006-02-13 Patrick Lam <plam@mit.edu>
634 * src/fcfreetype.c (FcFreeTypeQuery):
636 Fix memory leak in error condition code.
638 2006-02-13 Mike Fabian <mfabian@suse.de>
640 * src/fcfreetype.c (FcFreeTypeQuery):
642 Skip bitmap fonts which can't even get it together enough to
643 declare a family name; this appears to reproduce previous
644 fontconfig behaviour.
646 2006-02-10 Takashi Iwai <tiwai@suse.de>
648 * src/fccache.c (FcDirCacheOpen):
650 Try to open /var/cache/fontconfig/[hashed name] before
651 fonts.cache-2 in a directory, because /var/cache/fontconfig
652 failures ought to be fixable, unlike fonts.cache-2 failures,
653 which may leave you screwed.
655 2006-02-10 Takashi Iwai <tiwai@suse.de>
657 * src/fcmatch.c (FcFontSetMatch):
659 Use a tri-state to mark the fonts which didn't get blocked but
660 were just missing an element, to distinguish them from the
661 fonts that do match the element.
663 2006-02-10 Takashi Iwai <tiwai@suse.de>
665 * src/fcmatch.c (FcFontSetMatch):
667 Don't kill fonts because they don't declare an element that's
670 2006-02-09 Patrick Lam <plam@mit.edu>
671 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
672 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
674 Define and pass O_BINARY to open if appropriate, for those
675 platforms that need it. Reported by Doodle.
677 2006-02-09 Patrick Lam <plam@mit.edu>
678 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
681 Fix problem with missing 'en' due to euro.patch: change
682 cache file format slightly to coincide with that generated
685 2006-02-07 Patrick Lam <plam@mit.edu>
686 * src/fccache.c (FcCacheReadDirs):
690 2006-02-07 Patrick Lam <plam@mit.edu>
691 * src/fcdir.c (FcDirScanConfig):
693 Don't reject dirs that can't be normalized (fixes lilypond, and
694 is correct in the context of application font directories.)
696 2006-02-07 Takashi Iwai <tiwai@suse.de>
699 * src/fccache.c (FcCacheReadDirs):
701 Use normalized directory name exclusively in FcCacheReadDirs.
703 2006-02-07 Dirk Mueller <dmueller@suse.com>
706 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
708 Perf optimizations. Inline FcValueCanonicalize,
709 reduce FcValueListPtrU usage, remove redundant cast.
711 2006-02-07 Takashi Iwai <tiwai@suse.de>
714 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
717 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
718 Declare extern for static arrays as arrays, not pointers.
719 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
721 2006-02-07 Dirk Mueller <dmueller@suse.com>
734 Add Euro sign to list of symbols required by European languages.
736 2006-02-07 Patrick Lam <plam@mit.edu>
737 * src/fccache.c (FcCacheReadString):
739 Fix hidden variable warning.
741 2006-02-07 Dirk Mueller <dmueller@suse.com>
744 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
746 Remove de-escaping logic because FcCacheWriteString
747 doesn't escape anyway. Do blockwise reading instead
748 of byte-wise for performance.
750 2006-02-06 Patrick Lam <plam@mit.edu>
751 Takashi Iwai <tiwai@suse.de>
753 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
755 Don't loop infinitely on recursive symlinks (client-side).
757 2006-02-06 Takashi Iwai <tiwai@suse.de>
759 * fc-cache/fc-cache.c (scanDirs, main):
761 Don't loop infinitely on recursive symlinks.
763 2006-02-06 Takashi Iwai <tiwai@suse.de>
765 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
766 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
767 FcGlobalCacheSave, FcCacheReadDirs):
770 Skip subdirs when skipping over stale bits of global cache.
771 Introduce state machine into FcGlobalCacheDir to avoid
772 doing inappropriate operations on global dir entries, e.g.
773 writing out an out-of-date cache entry.
775 2006-02-06 Takashi Iwai <tiwai@suse.de>
777 * src/fcdir.c (FcFileScanConfig):
779 Hoist FcFileIsDir check out of FcFileScanConfig loop.
781 2006-02-06 Takashi Iwai <tiwai@suse.de>
784 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
785 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
787 Don't rescan when trying to normalize a non-declared font dir.
788 Don't add font dirs multiple times (even if they're aliased).
790 2006-02-06 Dirk Mueller <dmueller@suse.de>
793 * src/fcfs.c (FcFontSetUnserialize):
795 Explain apples/oranges comparison and fix compilation error.
797 2006-02-06 Dirk Mueller <dmueller@suse.de>
800 * src/fcfs.c (FcFontSetUnserialize):
802 Insert check for integer overflow in # of fonts.
804 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
808 * fc-cache/Makefile.am:
809 * fc-cat/Makefile.am:
810 * fc-list/Makefile.am:
812 Make 'make distcheck' work with automake 1.6.3.
814 2006-02-03 Takashi IWAI <tiwai@suse.de>
817 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
820 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
821 FcDirCacheConsume, FcDirCacheWrite)
822 * src/fcxml.c (FcConfigMessage):
824 Check I/O call return values and eliminate unused variable
827 2006-02-03 Takashi Iwai <tiwai@suse.de>
830 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
834 2006-02-03 Dirk Mueller <dmueller@suse.de>
837 * src/fcfs.c (FcFontSetUnserialize):
839 Gracefully handle the case where a cache asserts that it
840 has a negative number of fonts, causing overflow.
842 2006-02-03 Patrick Lam <plam@mit.edu>
843 * src/fccache.c (FcDirCacheUnlink):
845 Fix double free in error case.
847 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
848 Stephan Kulow <coolo@suse.de>
851 * fc-cache/Makefile.am:
853 Replace 'stamp' target with mkinstalldirs.
855 2006-01-31 Mike Fabian <mfabian@suse.de>
858 * src/fccache.c (FcGlobalCacheLoad):
860 Toast broken global cache files.
862 2006-01-30 Patrick Lam <plam@mit.edu>
863 * src/fccache.c (FcGlobalCacheReadDir):
865 Actually use the directories that I added to the global cache.
868 2006-01-30 Mike Fabian <mfabian@suse.de>
871 * fc-cache/fc-cache.c (scanDirs):
873 Don't stop scanning if a directory in fonts.conf doesn't
874 exist, because subsequent directories might exist.
876 2006-01-30 Patrick Lam <plam@mit.edu>
877 * src/fccache.c (FcGlobalCacheLoad):
879 Make global cache work again after putting dir names into global
880 cache (I misplaced the recording of a file offset).
882 2006-01-30 Patrick Lam <plam@mit.edu>
883 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
885 Update fc-cat to handle subdir lists in global cache file.
887 * src/fccache.c (FcGlobalCacheLoad):
889 Another FcCacheReadString return value check.
891 2006-01-30 Mike Fabian <mfabian@suse.de>
894 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
895 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
897 Make fccache more resilient to broken cache files by checking
898 return value of FcCacheReadString all the time.
900 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
903 * fc-match/fc-match.1:
904 * fc-lang/fc-lang.man:
906 Remove references to dead fontconfig(3) manpages in
907 other fontconfig manpages.
909 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
912 * doc/fcpattern.fncs:
914 Fix world's tiniest typo in code example.
916 2006-01-29 Mike Fabian <mfabian@suse.de>
919 * src/fccache.c (FcGlobalCacheReadDir):
921 Fix global cache reads of subdirectories.
923 2006-01-29 Patrick Lam <plam@mit.edu>
925 Add documentation for FcConfigNormalizeFontDir.
927 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
928 FcGlobalCacheUpdate, FcGlobalCacheSave):
929 * src/fcdir.c (FcDirScanConfig):
932 Write directory information to global caches to fix make check
933 (reported by Ronny V. Vindenes). This changes the global cache
936 2006-01-27 Patrick Lam <plam@mit.edu>
937 * fc-cache/fc-cache.c (scanDirs):
938 * fontconfig/fontconfig.h:
940 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
942 Move FcConfigNormalizeFontDir call so that it doesn't result in
943 infinite recursion (reported by Ronny V. Vindenes).
945 2006-01-26 Patrick Lam <plam@mit.edu>
946 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
947 * src/fccfg.c (FcConfigNormalizeFontDir):
949 Add a couple of missing normalizations to make fc-cache work
950 right; only scan subdirectories once.
952 2006-01-26 Mike Fabian <mfabian@suse.de>
955 * src/fcacache.c (FcGlobalCacheReadDir):
957 Don't crash on non-existant directories in global cache.
959 2006-01-26 Patrick Lam <plam@mit.edu>
960 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
961 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
962 * src/fcdir.c (FcDirScanConfig):
963 * src/fcxml.c (FcEndElement):
965 Stop trampling the directory name when writing out caches.
966 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
967 subdirs when necessary. Don't scan directories that can't be
970 2006-01-25 Patrick Lam <plam@mit.edu>
971 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
972 * src/fccfg.c (FcConfigEvaluate):
973 * src/fcfreetype.c (FcPatternAddWithBinding):
975 Fix additional memory leaks reported by Ronny V. Vindenes: don't
976 invoke FcValueSave on hashed static strings in
977 FcPatternAddWithBinding.
979 Add another st_dev check in FcDirCacheOpen.
981 2006-01-24 James Su <james.su@gmail.com>
984 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
985 * fc-lang/zh_hk.orth:
987 Treat zh-hk fonts differently from zh-tw fonts. This patch may
988 cause fontconfig to treat A-X fonts differently from A-Y fonts;
989 please mail the fontconfig list if this causes any problems.
991 2006-01-24 Patrick Lam <plam@mit.edu>
992 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
993 * src/fcfreetype.c (FcFreeTypeQuery):
995 Fix memory leaks reported by Ronny V. Vindenes.
997 2006-01-19 Andreas Schwab <schwab@suse.de>
1000 * src/fcpat.c (FcStrNeededBytes):
1002 Fix for unaligned memory accesses.
1004 2006-01-18 Mike Fabian <mfabian@suse.de>
1007 * src/fcdir.c (FcDirScanConfig):
1009 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
1010 calls to avoid crashes.
1012 2006-01-14 Patrick Lam <plam@mit.edu>
1013 * src/fccache.c (FcDirCacheConsume):
1015 Fix segfault when consuming zero-length caches in fc-cat
1016 (which has no config, so FcConfigAddFontDir shouldn't be called.)
1018 2006-01-14 Patrick Lam <plam@mit.edu>
1019 * fc-cache/fc-cache.c (scanDirs):
1020 * fontconfig/fontconfig.h:
1021 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
1022 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
1023 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
1024 * src/fcdir.c (FcDirScanConfig):
1027 Compare device numbers as well as inodes.
1028 Always normalize directory names before comparing them.
1030 2006-01-11 Mike Fabian <mfabian@suse.de>
1033 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
1035 Allocate extra space for appended '/' in directory name.
1037 2006-01-10 Patrick Lam <plam@mit.edu>
1038 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
1039 FcDirCacheValid, FcDirCacheHasCurrentArch,
1040 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
1041 * fc-cache/fc-cache.c (main):
1043 Explicitly add font dirs to config.fontDirs even if they're empty.
1044 Set current config in fc-cache.c.
1045 Fix treatment of cache directory as read from cache file; don't
1046 use string equality to determine if we have the right file,
1049 2006-01-09 Patrick Lam <plam@mit.edu>
1050 * fc-cache/fc-cache.c (scanDirs):
1051 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1052 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
1053 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
1054 * src/fccfg.c (FcConfigNormalizeFontDir):
1055 * src/fcdir.c (FcDirScanConfig):
1058 Normalize font dirs by using the form, as given in fonts.conf, and
1059 recorded in FcConfig's fontDirs string set, as canonical.
1061 Actually update config.fontDirs as font directories are scanned.
1063 2006-01-08 James Su <james.su@gmail.com>
1064 * src/fcmatch.c (FcFontSetMatch):
1066 Fix matching bug when multiple elements match; don't use
1067 the sum of all scores, but the best score.
1069 Also more perf opts, e.g. evaluate best over all font sets
1070 rather than on a per-set basis (and other changes).
1072 2006-01-08 Patrick Lam <plam@mit.edu>
1073 * src/fccache.c (FcDirCacheConsume):
1075 Properly skip past dir caches that contain zero fonts (as occurs
1076 in global caches.) Reported by Mike Fabian.
1078 2006-01-06 Patrick Lam <plam@mit.edu>
1079 * src/fcdbg.c (FcPatternPrint):
1081 Print out full pathname in fc-match -v as well. Reported by
1084 2006-01-06 Mike Fabian <mfabian@suse.de>
1087 * src/fcname.c (FcNameParse):
1089 Fix bug where fc-match crashes when given __DUMMY__ property to
1092 (I added the __DUMMY__ string to enable callers of
1093 FcObjectToPtrLookup to distinguish an error return from a
1094 successful return. -PL)
1096 2006-01-05 Patrick Lam <plam@mit.edu>
1099 Add self to AUTHORS list.
1101 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1102 FcCacheFileRead, FcCachePrintSet, main):
1103 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1104 FcGlobalCacheSave, FcCacheNextOffset,
1105 FcDirCacheHasCurrentArch, FcDirCacheRead,
1106 FcDirCacheConsume, FcDirCacheWrite):
1108 * src/fcpat.c (comment):
1110 Minor change to global cache file format to fix fc-cat bug
1111 reported by Frederic Crozat, and buglet with not globally caching
1112 directories with zero fonts cached.
1114 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1117 * src/fccfg.c (FcConfigEvaluate):
1119 Fix double-free which occurs because FcValueCanonicalize doesn't
1120 create an extra copy of the returned value, it only canonicalizes
1123 2006-01-02 Patrick Lam <plam@mit.edu>
1124 * doc/fontconfig-user.sgml:
1126 Fix version of .cache file (currently 1 -> currently 2). Reported
1129 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1132 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1134 Shut up GCC warnings on amd.
1136 2005-12-20 Patrick Lam <plam@mit.edu>
1140 * fontconfig/fontconfig.h:
1142 Bump version to 2.3.93.
1144 2005-12-20 Patrick Lam <plam@mit.edu>
1145 * src/fccharset.c (FcLangCharSetPopulate):
1146 * src/fcint.h (FcCacheBankToIndex):
1148 Avoid check on _fcBankId nullness and fix case where it used to
1151 2005-12-20 Patrick Lam <plam@mit.edu>
1152 * src/fcxml.c (FcConfigParseAndLoad):
1154 Use open instead of fopen (requested by Phil Race for Sun).
1156 2005-12-20 Patrick Lam <plam@mit.edu>
1157 * src/fccache.c (FcDirCacheWrite);
1158 * fc-cache/Makefile.am:
1160 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1163 2005-12-20 Patrick Lam <plam@mit.edu>
1164 * src/fcfreetype.c (FcFreeTypeQuery):
1166 Restore code to skip over PCF fonts that have no encoded
1168 (We guess that a font is PCF by presence of the PIXEL_SIZE
1171 2005-12-12 Patrick Lam <plam@mit.edu>
1172 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1174 Read and write the original location as a fallback for the
1175 hashed cache file locations. This is mostly for users to be
1176 able to have per-directory cache files.
1178 2005-12-12 Patrick Lam <plam@mit.edu>
1179 * fc-cache/fc-cache.c (scanDirs):
1180 * fc-cache/Makefile.am:
1181 * src/fccache.c (FcDirCacheHashName):
1183 Improve error message when fc-cache can't write the cache. Add
1184 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1185 create /var/cache/fontconfig when appropriate.
1187 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1190 * src/fcxml.c (FcConfigGetAttribute):
1192 Fix crash reported by Frederic Crozat when using libxml2.
1194 2005-12-09 Patrick Lam <plam@mit.edu>
1197 * fc-cache/Makefile.am:
1198 * fc-cat/Makefile.am:
1200 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1201 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1202 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1203 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1204 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1205 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1207 Migrate cache files from fonts directories to
1208 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1209 but requires that all caches get rebuilt.
1211 Also, autogen.sh now needs the additional parameter
1212 --localstatedir=/var.
1214 2005-12-07 Patrick Lam <plam@mit.edu>
1215 * src/fcpat.c (FcPatternAddString):
1217 Because we've changed FcPatternAddString to use FcStrStaticName
1218 and not FcValueSave, explicitly handle the case of a null string.
1220 2005-12-06 Patrick Lam <plam@mit.edu>
1221 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1225 2005-12-05 Patrick Lam <plam@mit.edu>
1226 * src/fcname.c (FcNameGetObjectType):
1228 Don't assign types to user object names.
1230 2005-12-05 Patrick Lam <plam@mit.edu>
1231 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1233 Don't free strings that have been returned from FcStrStaticName.
1235 2005-12-01 Patrick Lam <plam@mit.edu>
1236 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1238 Add codepath for reading global cache files as well.
1240 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1243 * conf.d/10-fonts.persian.conf:
1244 * conf.d/Makefile.am:
1246 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1248 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1251 * src/fcxml.c (FcConfigParseAndLoad):
1253 Only add a config file to the set of config files once.
1255 2005-11-29 Patrick Lam <plam@mit.edu>
1256 * src/fcint.h (FcCacheBankToIndex);
1258 Fix segfault by guarding array dereference.
1260 2005-11-29 Dirk Mueller <dmueller@suse.de>
1263 * fc-lang/fc-lang.c:
1264 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1265 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1269 Refactor FcCacheBankToIndex into an inlineable part
1270 (in fcint.h) which checks the front of the list and a
1271 non-inlineable part which finds and moves the appropriate element
1272 to the front of the list.
1274 2005-11-29 Patrick Lam <plam@mit.edu>
1275 * src/fccfg.c (FcConfigBuildFonts):
1276 * src/fccache.c (FcCacheReadDirs):
1278 Make the perf guys hate me a bit less: hoist the directory-name
1279 FcConfigAcceptFont check for cached fonts up to directory cache
1280 read time, rather than running it for each font.
1282 2005-11-29 Patrick Lam <plam@mit.edu>
1283 * src/fccfg.c (FcConfigBuildFonts):
1285 * src/fcpat.c (FcPatternFindFullFname):
1287 Don't make FcPatternFindFullFname available to fccfg, it's not
1288 really safe. Instead go through FcPatternGetString (sorry,
1289 perf guys.) Also, use globs for dirs as well.
1291 2005-11-28 Patrick Lam <plam@mit.edu>
1292 * src/fccfg.c (FcConfigBuildFonts):
1296 2005-11-28 Patrick Lam <plam@mit.edu>
1298 * src/fcpat.c (FcPatternFindFullFname):
1299 * src/fccfg.c (FcConfigBuildFonts):
1301 Fix problem dating back at least to 2.3.2 where globs weren't
1302 being applied to patterns loaded from a cache.
1304 2005-11-28 Patrick Lam <plam@mit.edu>
1305 * doc/fontconfig-user.sgml:
1307 Fix some obvious spelling mistakes.
1309 2005-11-28 Dirk Mueller <dmueller@suse.com>
1310 Stephan Kulow <coolo@suse.de>
1313 * src/fcmatch.c (FcFontSetMatch):
1315 Don't kill all fonts during match (oops!)
1318 2005-11-25 Dirk Mueller <dmueller@suse.com>
1319 Stephan Kulow <coolo@suse.de>
1320 Michael Matz <matz@suse.de>
1323 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1326 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1327 inline FcCompare into FcFontSetMatch and reorder the
1328 loops, adding a boolean array which blocks patterns from future
1329 consideration if they're known to not be best on some past
1332 2005-11-26 Dirk Mueller <dmueller@suse.com>
1335 * src/fcmatch.c (FcCompareValueList):
1337 Fix incorrect merge.
1339 2005-11-25 Patrick Lam <plam@mit.edu>
1340 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1342 Don't do random matching when bad objects are passed into
1345 2005-11-25 Patrick Lam <plam@mit.edu>
1347 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1348 FcPatternSerialize, FcPatternUnserialize,
1349 FcValueListEnsureBank, FcValueListDistributeBytes,
1350 FcValueListUnserialize):
1352 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1353 _fcPatternElts, _fcValueLists for consistency.
1355 2005-11-25 Dirk Mueller <dmueller@suse.com>
1360 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1362 2005-11-25 Patrick Lam <plam@mit.edu>
1364 * src/fccache.c (FcDirCacheConsume):
1365 * src/fccharset.c (FcCharSetUnserialize):
1366 * src/fcfs.c (FcFontSetUnserialize):
1367 * src/fclang.c (FcLangSetUnserialize):
1368 * src/fcname.c (FcObjectUnserialize):
1369 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1370 FcPatternUnserialize):
1372 Pass around FcCache *s to the Unserialize functions for extra
1373 consistency (and less overhead, for what that's worth).
1375 2005-11-24 Dirk Mueller <dmueller@suse.com>
1379 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1380 * src/fcname.c (FcNameUnparseValue):
1382 Inline the *PtrU functions to gain perf.
1383 Remove unneeded params for the FcCompare* functions.
1385 2005-11-24 Dirk Mueller <dmueller@suse.com>
1388 * src/fcint.h, fontconfig/fontconfig.h:
1390 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1392 * src/fcpat.c, src/fcint.h, src/fcname.c:
1394 Check for type validity during FcPatternAddWithBinding, don't
1395 verify type in FcFontMatch, don't call FcCanonicalize here
1396 (which always does a deep copy).
1398 2005-11-24 Dirk Mueller <dmueller@suse.com>
1401 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1402 * src/fcpat.c (FcPatternAddWithBinding):
1404 Make FcCompareString and FcCompareFamily less expensive.
1405 Only add a value for FC_FAMILY if the proposed value is a string.
1407 2005-11-24 Dirk Mueller <dmueller@suse.com>
1410 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1411 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1412 * src/fcint.h (FcDebug):
1414 Inline FcDebug invocations and only initialize once, in FcInit*.
1415 Improve debug msg in FcPatternPrint.
1417 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1420 * fontconfig/fontconfig.h:
1423 Minor code warning cleanups.
1425 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1428 * fc-match/fc-match.c (main):
1430 Make getopt_long accept -s parameter to fc-match as well.
1432 2005-11-21 Dirk Mueller <dmueller@suse.com>
1435 * src/fcmatch.c (FcCompareValueList):
1437 Manually perform inlining & partial redundancy elimination to
1438 reduce calls to FcValueListPtrU.
1440 2005-11-21 Dirk Mueller <dmueller@suse.com>
1443 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1444 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1446 Only invoke strlen() when really necessary.
1448 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1452 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1453 FcFontCapabilities):
1457 Get rid of the use of freetype internal headers in fcfreetype.c,
1458 since those headers will go away with freetype 2.2. Replace with
1459 public domain ftglue code from pango. Note that the patch removes
1460 some extra error checking in FT_Get_BDF_Property() and comments
1461 out the skipping of empty pcf fonts.
1463 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1466 * fc-lang/fc-lang.c (main):
1468 Further fix of patch from 2005-11-04: miscounted numbers count
1469 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1470 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1472 Removed leafidx_count and numbers_count since they are the same
1473 and replaced them with offset_count.
1475 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1478 * fc-cat/fc-cat.c (main):
1480 Don't crash when fc-cat invoked with no arguments.
1482 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1485 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1487 Fix invalid read access caused by premature free and
1488 GCC4 warnings in libxml2 codepath.
1490 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1493 * src/fccfg.c (FcConfigValues):
1495 List iteration not needed in FcConfigValues, since it's building
1496 up the list itself; we can just strip FcVoid elements during
1499 2005-11-17 Patrick Lam <plam@mit.edu>
1500 * src/fccfg.c (FcConfigValues):
1502 Fix crash on invalid constants in config files (forgot to update
1503 a pointer upon list iteration.)
1505 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1508 * src/fcxml.c (FcTypecheckExpr):
1510 Complain about invalid constants in config files.
1512 2005-11-17 Andreas Schwab <schwab@suse.de>
1515 * src/fccache.c (FcGlobalCacheSave):
1517 Don't add current_arch_start more than once.
1519 2005-11-16 Patrick Lam <plam@mit.edu>
1520 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1521 * src/fcfs.c (FcFontSetUnserialize):
1522 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1523 * src/fcpat.c (FcStrUnserialize):
1525 Fix ordering of ALIGN with respect to saving block_ptr; add
1526 another ALIGN to fcfs.c.
1528 2005-11-16 Patrick Lam <plam@mit.edu>
1529 * src/fccache.c (FcDirCacheProduce)
1531 Fix case where alignment bytes bumped up metadata->count
1532 causing unwarranted failures to write cache files.
1533 (Reported by Stephan Kulow).
1535 2005-11-16 Patrick Lam <plam@mit.edu>
1536 * src/fccache.c (FcDirCacheProduce):
1537 * src/fccharset.c (FcCharSetDistributeBytes):
1538 * src/fcfs.c (FcFontSetDistributeBytes):
1540 * src/fclang.c (FcLangSetDistributeBytes):
1541 * src/fcname.c (FcObjectDistributeBytes):
1542 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1545 Add *NeededBytesAlign(), which overestimates the padding which is
1546 later added by the new ALIGN macro. Fix alignment problems on
1547 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1548 version by Andreas Schwab).
1550 2005-11-16 Stephan Kulow <coolo@kde.org>
1555 Use sysconf to determine proper PAGESIZE value; this
1556 appears to be POSIX-compliant. (reported by Andreas Schwab)
1558 2005-11-04 Patrick Lam <plam@mit.edu>
1559 * fc-lang/fc-lang.c:
1564 Fix bug 2878 (excessive relocations at startup for charsets,
1565 reported by Ross Burton): fc-lang/fc-lang now creates the
1566 static form of the langset, not the dynamic form, so that
1567 the charsets should now be in .rodata.
1569 2005-11-04 Patrick Lam <plam@mit.edu>
1570 * src/fcdir.c (FcDirScanConfig):
1572 Add test for validity of directory caches that
1573 somehow got lost (reported by make distcheck).
1575 2005-11-04 Patrick Lam <plam@mit.edu>
1579 * fontconfig/fontconfig.h:
1581 Bump version to 2.3.92.
1583 2005-11-02 Patrick Lam <plam@mit.edu>
1584 * src/fcpat.c (FcPatternDuplicate):
1586 Fix argument ordering problem in call to FcPatternTransferFullFname.
1588 2005-11-02 Patrick Lam <plam@mit.edu>
1589 * src/fcfreetype.c (FcFreetypeQuery):
1590 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1591 FcPatternTransferFullFname):
1593 Fix warnings and embarrassing double-free error.
1595 2005-11-02 Zhe Su <zsu@novell.com>
1600 Change the rule for artificial emboldening in fonts.conf.in. This
1601 enables the support for artificial emboldening included in cairo.
1603 2005-11-02 Patrick Lam <plam@mit.edu>
1604 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1606 Don't zero out full names for FC_REF_CONSTANT fonts;
1607 also, duplicate full names when transferring, and free
1608 full names when freeing the associated font.
1609 Reported by Jinghua Luo.
1611 2005-11-02 Patrick Lam <plam@mit.edu>
1612 * fc-cache/fc-cache.c (scanDirs):
1613 * src/fcpat.c (FcValueListSerialize):
1615 Revert the previous patch and commit the correct patch:
1616 I forgot a canonicalization in FcValueListSerialize, so
1617 that it would choke on already-serialized input files. Duh!
1619 2005-11-02 Patrick Lam <plam@mit.edu>
1620 * fc-cache/fc-cache.c (scanDirs):
1622 Forcibly rescan a directory before writing a fresh local
1623 cache file for that directory, fixing the losing-fonts
1624 problem reported by Mike Fabian and also apparently the
1625 font cache file corruption.
1627 2005-11-02 Patrick Lam <plam@mit.edu>
1628 * src/fccache.c (FcGlobalCacheLoad):
1630 Fix thinko: actually, the whole global cache is stale
1631 if the global cache is older than the (newest) config file.
1633 2005-11-02 Patrick Lam <plam@mit.edu>
1634 * src/fccache.c (FcGlobalCacheLoad):
1635 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1638 Declare the global cache of a directory's contents to be stale if
1639 the directory is newer than the (newest) configuration file.
1641 2005-10-31 Patrick Lam <plam@mit.edu>
1643 * src/fclist.c (FcListAppend):
1644 * src/fcmatch.c (FcFontRenderPrepare):
1645 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1646 FcPatternFreeze, FcPatternBaseFreeze):
1648 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1649 applications continue breaking.
1651 2005-10-31 Patrick Lam <plam@mit.edu>
1652 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1653 * src/fcfreetype.c (FcFreeTypeQuery):
1655 Fix small memory error (tried to free argv); use basename and
1656 dirname correctly (they can modify their arguments).
1658 2005-10-31 Patrick Lam <plam@mit.edu>
1666 Reinstate basename patch, but keep a hash table linking FcPatterns
1667 to their fully-qualified font names for clients' benefit. Clients
1668 only pay for the font names once they request the FC_FILE property
1669 from an FcPattern, but the font name is malloc'd at that point (i.e.
1670 not mmapped: that's impossible, since it may vary between machines.)
1671 Clients do have to pay for a copy of the path name per cache file.
1673 Note that FcPatternGetString now does some rewriting if you ask
1674 for an FC_FILE, appending the pathname as appropriate.
1676 2005-10-31 Patrick Lam <plam@mit.edu>
1677 * src/fcfreetype.c (FcFreeTypeQuery):
1679 Revert basename patch, which breaks fontconfig clients on my system.
1681 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1684 * fontconfig/fonts.conf.in:
1685 * fontconfig/fontconfig.h:
1689 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1690 to load embedded bitmaps or not.
1692 2005-10-25 Patrick Lam <plam@mit.edu>
1693 * src/fcfreetype.c (FcFreeTypeQuery):
1695 Only add basename to patterns' FC_FILE element, not any part of
1698 2005-10-22 Patrick Lam <plam@mit.edu>
1701 Add some more consts, fixing more GCC4 warnings.
1703 2005-10-22 Zhe Su <zsu@novell.com>
1706 Support localized font family and style names.
1707 This has been reported to break old apps like xfd, but modern
1708 (gtk+/qt/mozilla) apps work fine.
1710 2005-10-21 Patrick Lam <plam@mit.edu>
1711 * src/fccache.c (FcGlobalCacheLoad):
1713 Destroy the global cache file if it's terminally broken. (reported by
1716 2005-10-21 Patrick Lam <plam@mit.edu>
1717 * fc-list/fc-list.c (main):
1718 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1719 * fontconfig/fontconfig.h:
1721 Prevent fc-list from escaping strings when printing them (reported by
1724 2005-10-20 Marcus Meissner <meissner@suse.de>
1727 * fontconfig/fontconfig.h:
1729 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1731 2005-10-14 Ross Burton <ross@burtonini.com>
1734 * fc-glyphname/fc-glyphname.c:
1737 Add consts to variables so as to move arrays into .rodata.
1739 2005-10-14 Mike Fabian <mfabian@suse.de>
1742 * src/fccache.c (FcDirCacheUnlink):
1744 Check existence of directory cache file before attempting to unlink.
1746 2005-10-13 Patrick Lam <plam@mit.edu>
1747 * src/fccache.c (FcDirCacheUnlink):
1749 Fix flipped return value on unlink. (Reported by Mike Fabian)
1751 2005-10-12 Patrick Lam <plam@mit.edu>
1754 * src/fcdir.c (FcDirScanConfig):
1757 When fc-cache is run without --force, use directory cache files
1758 to speed up fc-cache run time. (Reported by Mike Fabian)
1760 2005-10-06 Patrick Lam <plam@mit.edu>
1762 * src/fcname.c (FcObjectToPtr):
1763 * src/fcpat.c (FcStrStaticName):
1765 Add padding to make valgrind and glibc not hate each other
1766 when calling strlen().
1768 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1769 reviewed by: plam & keithp
1773 Modify config file to use Greek fonts before Asian fonts with
1776 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1777 reviewed by: plam & keithp
1781 Use libtool -no-undefined flag on all platforms.
1783 2005-10-05 Patrick Lam <plam@mit.edu>
1784 * src/fccache.c (FcCacheHaveBank):
1786 Implement move-to-front array for banks (perf regression
1787 reported by Ronny V. Vindenes).
1789 2005-10-04 Patrick Lam <plam@mit.edu>
1790 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1791 FcDirCacheHasCurrentArch):
1792 * fc-cache/fc-cache.c (scanDirs):
1793 * fontconfig/fontconfig.h:
1795 Add new API which unlinks directory caches and checks dir caches
1796 for existence of appropriate sections. Fix fc-cache to unlink
1797 stale cache files and save directory caches that lack relevant
1800 2005-10-03 Patrick Lam <plam@mit.edu>
1801 * src/fccache.c (FcDirCacheValid):
1803 Ensure that a directory cache has the appropriate section
1804 before reporting that it is valid (reported by Matthias Clasen).
1806 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1814 Use libxml2 if requested (with --enable-libxml2) or if
1815 expat is not available.
1817 2005-09-29 Patrick Lam <plam@mit.edu>
1818 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1820 Fix multi-arch cache files: compute the position for the
1821 block to be added using info from OrigFile, not NewFile.
1823 2005-09-28 Patrick Lam <plam@mit.edu>
1824 * src/fccache.c (FcCacheMachineSignature):
1826 Cast results of sizeof() to unsigned int to get rid of
1827 warnings on x86_64 (thanks Matthias Clasen).
1829 2005-09-27 Patrick Lam <plam@mit.edu>
1830 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1833 Use FcAtomic to rewrite cache files.
1835 2005-09-27 Patrick Lam <plam@mit.edu>
1837 * src/fccache.c (FcDirCacheWrite):
1839 Don't unlink the fonts.cache-2 file even if there's no data
1840 to write; just write an empty cache file. (thanks Lubos Lunak)
1842 2005-09-27 Patrick Lam <plam@mit.edu>
1844 * src/fccache.c (FcDirCacheWrite):
1846 Allocate room for the subdirectory names in each
1847 directory cache. Thanks to James Cloos for finding
1848 and diagnosing this bug!
1850 2005-09-22 Patrick Lam <plam@mit.edu>
1852 * fc-cache/fc-cache.sgml:
1853 * src/fccache.c (FcDirCacheWrite):
1854 * src/fccache.h (struct FcCache):
1856 Update documentation -- fc-cache's man page now says that you
1857 need to run fc-cache once per cached architecture; add some
1858 documentation to the FcCache structure.
1860 Make fc-cache write out fonts.cache-2 files for directories with
1861 no fonts (i.e. only subdirectories).
1863 2005-09-22 Patrick Lam <plam@mit.edu>
1865 * fc-cache/fc-cache.sgml:
1866 * fc-case/fc-case.c:
1867 * fc-glyphname/fc-glyphname.c:
1873 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1877 * fc-lang/fc-lang.c:
1878 * fontconfig/fcprivate.h:
1879 * fontconfig/fontconfig.h:
1893 Implement new mmaped cache for font information.
1894 Bump so revision to 2.3.90.
1896 2005-07-25 Keith Packard <keithp@keithp.com>
1898 * doc/fontconfig-user.sgml:
1899 * fc-glyphname/fc-glyphname.c: (scan), (main):
1900 * fc-lang/fc-lang.c: (FcConfigHome):
1901 * fc-match/fc-match.c: (main):
1902 * src/fccfg.c: (FcConfigHome):
1903 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1904 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1905 (addtag), (FcFontCapabilities):
1906 * src/fcpat.c: (FcValueListEntCreate):
1907 * src/fcstr.c: (FcStrCaseWalkerInit):
1908 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1910 Various GCC 4 cleanups for signed vs unsigned char
1912 Match only [0-9]*.conf files in <include>{directory}</include>
1913 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1915 2005-07-15 Carl Worth <cworth@cworth.org>
1918 * src/fcinit.c: (FcFini):
1919 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1922 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1923 Pull the FcObjectStateName hash table out to file scope, and add
1924 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1927 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1930 2005-06-16 Patrick Lam <plam@MIT.EDU>
1934 * src/fccfg.c: (FcConfigCompareValue):
1935 Make FcOpNotContains use FcStrStr for strings so that
1936 it matches semantics for !FcOpContains.
1938 2005-05-20 Keith Packard <keithp@keithp.com>
1942 Move fontconfig source package to libs as per override
1944 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1946 reviewed by: Mike Fabian
1949 The ka.orth file requires several characters which are not
1950 used anymore in modern Georgian and which are missing in the free
1951 Georgian TrueType fonts downloadable at:
1953 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1955 2005-04-27 Keith Packard <keithp@keithp.com>
1959 Update date to real 2.3.2 release date.
1960 Fix change attributions
1962 2005-04-27 Keith Packard <keithp@keithp.com>
1965 Bump so revision for 2.3.2
1966 * fc-cache/fc-cache.c: (scanDirs):
1967 Fix a few minor leaks in error cases.
1969 2005-04-23 Keith Packard <keithp@keithp.com>
1974 * fontconfig/fontconfig.h:
1975 Update for version 2.3.2
1977 2005-04-21 Keith Packard <keithp@keithp.com>
1979 * debian/fontconfig.postinst:
1980 Don't force bitmap font enable in default
1981 configuration; allows users to override this in
1991 * debian/po/pt_BR.po:
1992 * debian/po/templates.pot:
1994 * debian/po/zh_CN.po:
1995 Updated translations
1997 * fc-cache/fc-cache.c: (main):
1998 Destroy font configuration on exit to help valgrind
2001 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
2002 (FcFreeTypeCheckGlyph):
2003 Use own transcoding routines in preference to iconv
2004 which appears to have leaks in some translators.
2005 Call iconv_close after using iconv (oops).
2007 Prefer unicode encoding of Euro char as some
2008 fonts mis-encode Euro in other ones.
2010 Must fetch bitmap glyphs to get width values
2011 to check for monospace/dual-width fonts.
2013 2005-04-13 Ross Burton <ross@burtonini.com>
2016 Check that a pattern isn't already frozen in FcPatternFreeze.
2018 2005-03-31 Ross Burton <ross@burtonini.com>
2023 Run all FcPattern objects through FcObjectStaticName, so that
2024 compares can be done on pointers instead of strings (#2659)
2026 2005-03-17 Tor Lillqvist <tml@novell.com>
2028 * src/fontconfig.def.in: Add the .dll to the dll name.
2030 2005-03-10 Keith Packard <keithp@keithp.com>
2032 * debian/README.Debian:
2033 Update to reflect configuration changes
2035 * debian/fontconfig.postinst:
2036 Fix Autohint vs Autohinter mistake
2037 * debian/fontconfig.templates:
2038 Adopt changes from Josselin Mouette for configuration descriptions
2039 Update debian to version 2.3.1-2
2041 2005-03-08 Keith Packard <keithp@keithp.com>
2045 Update debian for 2.3.1
2047 2005-03-09 Tor Lillqvist <tml@novell.com>
2049 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
2052 * src/fccfg.c (FcConfigFileExists): Check also drive letter
2055 2005-03-08 Keith Packard <keithp@keithp.com>
2059 * fontconfig/fontconfig.h:
2062 2005-03-05 Keith Packard <keithp@keithp.com>
2064 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
2065 Include space and remove numbers from valid script tags.
2066 This ensures that tags like 'lao ' work while rejecting
2067 those which have any digits.
2068 Eliminate a spurious debugging variable (len)
2070 2005-03-05 Keith Packard <keithp@keithp.com>
2072 * src/fcfreetype.c: (addtag), (GetScriptTags),
2073 (FcFontCapabilities):
2074 Rework GSUB/GPOS script parsing to survive broken fonts.
2075 Thanks for the broken font go to Manish Singh
2077 2005-03-05 Keith Packard <keithp@keithp.com>
2082 * debian/fontconfig.config:
2083 * debian/fontconfig.templates:
2085 Include 2.3 release information in changelog
2086 Add Josselin Mouette as an Uploader
2087 Set hinting_type to low priority configuration option
2090 * debian/fontconfig.postinst:
2091 yes_bitmaps.conf -> yes-bitmaps.conf
2097 2005-03-02 Keith Packard <keithp@keithp.com>
2100 * conf.d/Makefile.am:
2101 * conf.d/autohint.conf:
2102 * conf.d/no-sub-pixel.conf:
2103 * conf.d/sub-pixel.conf:
2104 * conf.d/unhinted.conf:
2105 * debian/autohint.conf:
2106 * debian/fontconfig.install:
2107 * debian/fontconfig.postinst:
2108 * debian/fontconfig.templates:
2109 * debian/no-sub-pixel.conf:
2110 * debian/unhinted.conf:
2111 Move debian-specific conf file examples upstream.
2113 Sub-pixel configuration examples must smash subpixel value
2114 as Xft always sets it from X.
2116 Change sub-pixel rendering debconf descriptions from
2117 Enable/Disable to Always/Never.
2119 2005-03-02 Keith Packard <keithp@keithp.com>
2122 * conf.d/.cvsignore:
2124 Ignore more build detritus
2127 Add debian package construction stuff.
2129 * config/config.guess:
2130 * config/config.sub:
2131 Update to newer versions of these tools
2134 Get library manuals to build again (we love automake).
2136 * debian/README.Debian:
2137 * debian/autohint.conf:
2142 * debian/fontconfig-udeb.install:
2143 * debian/fontconfig.config:
2144 * debian/fontconfig.defoma:
2145 * debian/fontconfig.dirs:
2146 * debian/fontconfig.install:
2147 * debian/fontconfig.postinst:
2148 * debian/fontconfig.postrm:
2149 * debian/fontconfig.templates:
2150 * debian/libfontconfig1-dev.install:
2151 * debian/libfontconfig1.install:
2152 * debian/local.conf.md5sum:
2153 * debian/no-sub-pixel.conf:
2154 * debian/po/POTFILES.in:
2163 * debian/po/pt_BR.po:
2164 * debian/po/templates.pot:
2166 * debian/po/zh_CN.po:
2168 * debian/unhinted.conf:
2169 Update debian build system to switch maintainers and
2170 deal with 2.3 functionality
2172 2005-03-01 Keith Packard <keithp@keithp.com>
2176 * fontconfig/fontconfig.h:
2179 2005-03-01 Keith Packard <keithp@keithp.com>
2182 Generate and install PDF versions of the manuals
2184 * doc/fcpattern.fncs:
2187 * doc/fcstring.fncs:
2188 Add missing exported functions, fix data types
2190 * doc/fontconfig-devel.sgml:
2191 Add missing pattern elements.
2193 * doc/fontconfig-user.sgml:
2194 Add missing pattern elements. Document conf.d usage,
2195 clarify available orthography list. Fix some config file
2196 attributes. Complete list of constants.
2198 * fontconfig/fontconfig.h:
2199 Mark FC_SOURCE deprecated.
2201 * src/fcfreetype.c: (FcFreeTypeQuery):
2202 Don't set FC_SOURCE any longer.
2204 2005-02-28 Keith Packard <keithp@keithp.com>
2207 * conf.d/Makefile.am:
2209 * conf.d/no-bitmaps.conf:
2210 * conf.d/sub-pixel.conf:
2211 * conf.d/yes-bitmaps.conf:
2213 Create prototype /etc/fonts/conf.d directory with a few
2214 sample configuration files.
2215 Deprecate use of local.conf for local customizations in favor of
2216 this directory based scheme which is more easily integrated into
2217 installation systems.
2220 Tag FC_EMBOLDEN as a boolean variable
2222 2005-02-10 Keith Packard <keithp@keithp.com>
2224 reviewed by: pborelli@katamail.com
2226 * src/fcdir.c: (FcFileScanConfig):
2227 Free patterns from fonts which are rejected by configuration
2230 2005-01-28 Keith Packard <keithp@keithp.com>
2234 * fontconfig/fontconfig.h:
2235 Update for version 2.2.99
2237 2005-01-28 Keith Packard <keithp@keithp.com>
2240 Add a few pointers (#2284, #2285)
2242 2005-01-28 Keith Packard <keithp@keithp.com>
2245 * src/fcname.c: (FcNameBool):
2246 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2247 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2248 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2249 Polite typechecking for test and edit expressions. Helps
2250 catch errors in the font configuration. (bug 229)
2252 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2254 reviewed by: Keith Packard <keithp@keithp.com>
2257 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2259 2005-01-13 Keith Packard <keithp@keithp.com>
2261 * doc/fontconfig-user.sgml:
2262 Add SEE ALSO section (bug 2085)
2264 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2266 reviewed by: Keith Packard <keithp@keithp.com>
2271 * fc-case/Makefile.am:
2272 * fc-glyphname/Makefile.am:
2273 * fc-lang/Makefile.am:
2274 * src/fontconfig.def.in:
2275 Cross compiling fixes (bug 280)
2277 2005-01-13 Keith Packard <keithp@keithp.com>
2280 Update blanks list (Closes bug 86)
2282 2005-01-04 Keith Packard <keithp@keithp.com>
2284 * src/fccache.c: (FcCacheFontSetAdd):
2285 Verify that every font pattern loaded from cache has
2286 both FC_FILE and FC_FAMILY entries.
2287 Attempt to fix bug #2219.
2289 2004-12-29 Keith Packard <keithp@keithp.com>
2293 * fontconfig/fontconfig.h:
2294 Update for version 2.2.98
2296 2004-12-29 Keith Packard <keithp@keithp.com>
2298 * fontconfig/fontconfig.h:
2299 Document ASCII limitations of Fc character conversion macros
2300 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2301 Fix off-by-one error in utf-8 case walking code.
2302 Add FcStrDowncase (useful for testing case conversion functions)
2304 2004-12-29 Keith Packard <keithp@keithp.com>
2307 * fc-case/.cvsignore:
2308 clean up CVS ignore lists
2309 * fc-lang/iso-3166.txt:
2310 Add territory database
2312 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2314 Reviewed by: Keith Packard
2317 Remove Han characters from Korean orthography
2319 2004-12-29 Keith Packard <keithp@keithp.com>
2322 Reorder utility programs to make sure fc-case is run before fc-lang
2323 as fc-lang uses fcstr.c which uses fccase.h
2327 2004-12-29 Keith Packard <keithp@keithp.com>
2330 Adopt some RedHat suggestions for standard font configuration.
2334 * fc-case/CaseFolding.txt:
2335 * fc-case/Makefile.am:
2336 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2337 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2338 (dump), (parseRaw), (caseFoldReadRaw), (main):
2339 * fc-case/fccase.tmpl.h:
2340 Add new helper program 'fc-case' to construct case folding
2341 tables from standard Unicode CaseFolding.txt file
2344 * src/fclist.c: (FcListValueHash):
2345 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2346 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2347 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2348 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2349 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2350 Re-implement case insensitive functions with Unicode
2351 aware versions (including full case folding mappings)
2353 2004-12-13 Keith Packard <keithp@keithp.com>
2355 reviewed by: Owen Taylor <otaylor@redhat.com>
2357 * src/fcmatch.c: (FcFontSetSort):
2358 I changed FcFontSetSort to respect the generic aliases better
2359 in the face of language matching.
2361 What I did was to ammend the strict sort order used by FcFontSort so
2362 that it 'satisfies' the language specified in the pattern by locating
2363 the best matching font supporting each pattern language and then
2364 ignores language in the remaining fonts for purposes of matching.
2366 So, when asking for 'sans:lang=en', you'll get an English font first,
2367 and then the remaining fonts sorted with respect to the 'sans' alias
2368 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2370 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2372 reviewed by: Keith Packard <keithp@keithp.com>
2374 * fontconfig/fontconfig.h:
2377 Configuration changes to request synthetic emboldening of
2378 fonts. The actual emboldening code will live in Xft.
2380 2004-12-09 John Thacker <thacker@math.cornell.edu>
2382 reviewed by: Keith Packard <keithp@keithp.com>
2386 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2387 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2388 и), and don't even appear in KOI8-R. (The hypothesis that they
2389 don't appear in KOI8-R due to their similarity with Latin I and i is
2390 eliminated by their presence in KOI8-U.) I have a couple of fonts
2391 with Russian support that don't have the letter.
2393 Therefore, 0406 and 0456 should be removed from or commented out of
2396 2004-12-06 michael meeks <mmeeks@novell.com>
2398 Reviewed by: Keith Packard <keithp@keithp.com>
2400 * src/fcinit.c: (FcMemReport):
2402 * src/fclist.c: (FcObjectSetAdd):
2403 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2404 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2405 * src/fcxml.c: (FcParsePatelt):
2406 memoize strings and share a single copy for all uses. Note that
2407 this could be improved further by using statically allocated blocks
2408 and gluing multiple strings together, but I'm basically lazy.
2409 In my environment with 800 font files, I get a savings of about 90KB.
2411 2004-12-06 Keith Packard <keithp@keithp.com>
2415 * config/Makedefs.in:
2418 * doc/fcatomic.fncs:
2419 * doc/fcblanks.fncs:
2420 * doc/fccharset.fncs:
2421 * doc/fcconfig.fncs:
2422 * doc/fcconstant.fncs:
2424 * doc/fcfontset.fncs:
2425 * doc/fcfreetype.fncs:
2427 * doc/fcmatrix.fncs:
2428 * doc/fcobjectset.fncs:
2429 * doc/fcobjecttype.fncs:
2430 * doc/fcpattern.fncs:
2431 * doc/fcstring.fncs:
2432 * doc/fcstrset.fncs:
2434 * doc/fontconfig-devel.sgml:
2435 * doc/fontconfig-user.sgml:
2437 * doc/version.sgml.in:
2438 * fc-cache/Makefile.am:
2439 * fc-cache/fc-cache.c:
2440 * fc-glyphname/Makefile.am:
2441 * fc-glyphname/fc-glyphname.c:
2442 * fc-glyphname/fcglyphname.tmpl.h:
2443 * fc-lang/Makefile.am:
2453 * fc-lang/az_ir.orth:
2487 * fc-lang/fc-lang.c:
2488 * fc-lang/fc-lang.man:
2489 * fc-lang/fclang.tmpl.h:
2534 * fc-lang/ku_ir.orth:
2567 * fc-lang/ps_af.orth:
2568 * fc-lang/ps_pk.orth:
2597 * fc-lang/ti_er.orth:
2598 * fc-lang/ti_et.orth:
2624 * fc-lang/zh_cn.orth:
2625 * fc-lang/zh_hk.orth:
2626 * fc-lang/zh_mo.orth:
2627 * fc-lang/zh_sg.orth:
2628 * fc-lang/zh_tw.orth:
2630 * fc-list/Makefile.am:
2631 * fc-list/fc-list.c:
2632 * fc-match/Makefile.am:
2633 * fc-match/fc-match.1:
2634 * fc-match/fc-match.c:
2635 * fontconfig/fcfreetype.h:
2636 * fontconfig/fcprivate.h:
2637 * fontconfig/fontconfig.h:
2658 Change files from ISO-Latin-1 to UTF-8
2660 2004-12-04 Keith Packard <keithp@keithp.com>
2663 Update links to new freedesktop.org locations
2665 Add uninstall-local to get rid of fonts.conf and local.conf if they
2666 match the distributed versions. Fixes 'make distcheck'
2668 2004-12-04 Keith Packard <keithp@keithp.com>
2672 * fontconfig/fontconfig.h:
2673 Updates for version 2.2.97
2675 2004-12-04 Owen Taylor <otaylor@redhat.com>
2677 reviewed by: Keith Packard <keithp@keithp.com>
2679 * fc-cache/fc-cache.c: (main):
2680 Sleep for two seconds before exiting to make sure timestamps
2681 for future changes have distinct mod times in the file system.
2684 Add Punjabi orthography. Bug #1671.
2686 2004-12-04 Keith Packard <keithp@keithp.com>
2689 Just remove the FC_FONTDATE -- it has locale issues and
2690 annoys redhat multi-arch installs. Now that all X fonts are
2691 included without prejudice, the chances of the date being at
2692 all interesting are rather limited. Bug #505.
2694 Add copyright and license
2696 2004-12-04 Keith Packard <keithp@keithp.com>
2699 Change default set of fonts to include all of
2700 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2701 * doc/fontconfig-user.sgml:
2702 Document new <include>directory-name</include> semantics
2704 add <include ignore_missing="yes">conf.d</include>
2706 Add selectfont to ignore bitmap fonts, add comment for
2707 selectfont which accepts bitmap fonts.
2710 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2711 Allow <include> configuration elements to reference directories.
2712 Parse and load all files of the form [0-9]* in sorted order.
2714 2004-12-04 Keith Packard <keithp@keithp.com>
2717 Report command line for $srcdir/configure accurately.
2720 2004-12-04 Keith Packard <keithp@keithp.com>
2722 * src/fcfreetype.c: (FcFreeTypeQuery):
2723 Check for non-empty face->family_name and face->style_name
2724 before using those for the font. Empty names match everything.
2727 2004-12-04 Keith Packard <keithp@keithp.com>
2730 * fontconfig/fontconfig.h:
2731 * src/fcfreetype.c: (FcFreeTypeQuery):
2733 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2734 available. This provides font file format information (BDF, Type 1,
2735 PCF, TrueType) for each font. Closes #109.
2737 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2739 reviewed by: Keith Packard <keithp@keithp.com>
2741 * doc/fontconfig-user.sgml:
2744 * fontconfig/fontconfig.h:
2745 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2746 (GetScriptTags), (FcFontCapabilities):
2748 Add detection for font capabilities (bug #105)
2750 2004-12-04 Keith Packard <keithp@keithp.com>
2753 Move existing fonts.conf to fonts.conf.bak
2756 Add detection of iconv
2758 * doc/fcpattern.fncs:
2759 * doc/fontconfig-devel.sgml:
2760 * doc/fontconfig-user.sgml:
2762 Document new selectfont elements
2765 Switch to UTF-8 in comment
2767 * fontconfig/fontconfig.h:
2769 Add fullname, and family/style/fullname language entries
2771 * src/fccache.c: (FcCacheFontSetAdd):
2772 * src/fcdir.c: (FcFileScanConfig):
2773 Respect selectfont/*/glob
2776 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2777 (FcConfigCompareValue), (FcConfigPatternsAdd),
2778 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2779 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2780 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2781 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2782 Add support for selectfont
2784 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2785 (FcStringInPatternElement), (FcFreeTypeQuery):
2786 Add multi-lingual family/style/fullname support
2788 * src/fclist.c: (FcListPatternMatchAny):
2789 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2791 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2792 (FcObjectStaticName):
2793 Add new FcPatternRemove/FcPatternAppend.
2794 FcObjectStaticName stores computed pattern element names which
2795 are required to be static.
2797 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2802 Remove spurious / after $(DESTDIR)
2804 2004-06-30 Keith Packard <keithp@keithp.com>
2808 * fontconfig/fontconfig.h:
2811 2004-06-30 Keith Packard <keithp@keithp.com>
2813 Provided by: Lubos Lunak <l.lunak@suse.cz>
2815 * src/fccfg.c: (FcConfigUptoDate):
2816 However FcConfigUptoDate() doesn't seem to work. See the attached
2817 patch. First there's an obvious misplaced parenthesis making it
2818 return always false, and second, even this call fails to detect font
2819 changes (e.g. adding a new font to
2820 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2821 well. The problem seems to be triggered by my fonts.conf specifying
2822 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2823 doesn't include subdirs, unlike config->fontDirs.
2825 2004-06-03 Keith Packard <keithp@keithp.com>
2827 * fontconfig/fontconfig.h:
2828 Remove comma at end of FcResult enum definition.
2830 2004-05-29 Keith Packard <keithp@keithp.com>
2833 Add steps to md5sum release
2835 2004-05-29 Keith Packard <keithp@keithp.com>
2839 * fontconfig/fontconfig.h:
2842 2004-05-29 Keith Packard <keithp@keithp.com>
2844 * fontconfig/fontconfig.h:
2845 * src/fcmatch.c: (FcFontSetMatch):
2846 Add FcResultOutOfMemory to provide an accurate error when
2847 FcFontSetMatch fails in this way
2850 Make #warning about lacking various FreeType features indicate
2851 which version those features appeared so users know how to
2852 fix the problem (Thanks to Anton Tropashko)
2854 2004-05-05 Keith Packard <keithp@keithp.com>
2856 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2857 Replace MIN/MAX/ABS macros which happen to have come
2858 from FreeType with fontconfig-specific ones (FC_*)
2860 2004-04-23 Keith Packard <keithp@keithp.com>
2863 Extend release preparation instructions to include
2864 notification and distribution steps
2866 2004-04-23 Keith Packard <keithp@keithp.com>
2870 * fontconfig/fontconfig.h:
2871 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2873 2004-04-23 Keith Packard <keithp@keithp.com>
2876 Ignore a few more autotool files
2878 2004-04-14 Keith Packard <keithp@keithp.com>
2881 Add instructions for doing a release
2883 * fontconfig.spec.in:
2884 clean up .spec file; perhaps this will be useful to somebody...
2888 * fontconfig/fontconfig.h:
2891 * fc-lang/fc-lang.c:
2892 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2894 * fc-glyphname/Makefile.am:
2895 * fc-lang/Makefile.am:
2896 * fc-list/Makefile.am:
2897 * fc-match/Makefile.am:
2899 Add WARN_CFLAGS to pass -W flags for GCC systems
2901 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2902 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2903 Change various char types around to match across
2905 Fixed bug in using available_sizes[i].height which
2906 is in pixels, not 64ths of a pixel.
2908 2004-03-06 Keith Packard <keithp@keithp.com>
2910 * src/fcfreetype.c: (FcFreeTypeQuery):
2911 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2912 matches looking for explicit values prefer exact matches
2914 2004-03-02 Keith Packard <keithp@keithp.com>
2916 Supplied by: mfabian@suse.de (Mike FABIAN)
2918 * src/fcfreetype.c: (FcFreeTypeQuery):
2919 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2920 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2922 2004-02-21 Manish Singh <yosh@gimp.org>
2924 * fc-glyphname/fc-glyphname.c: (main):
2925 Cast strlen to int for printf, so we're 64-bit clean.
2927 2004-02-11 Keith Packard <keithp@keithp.com>
2930 * src/fcfreetype.c: (FcGetPixelSize):
2931 Ok, so I messed up the test for y_ppem. Let's see if I
2932 got it right this time.
2934 2004-02-10 Keith Packard <keithp@keithp.com>
2937 * src/fcfreetype.c: (FcGetPixelSize):
2938 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2939 FT_Bitmap_Size record. Add a configure.in test for this
2940 and change the code accordingly (using height instead).
2942 2004-02-06 Keith Packard <keithp@keithp.com>
2945 Add Low Saxon orthography
2946 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2948 * src/fccfg.c: (FcConfigNewestFile):
2949 Oops. Left 'newest.set' unset, which would miscompute
2952 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2953 (FcFreeTypeCheckGlyph):
2954 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2955 font properties (which report the wrong value in current FreeType)
2957 Don't attempt to check for empty glyphs in non-scalable fonts; they
2960 2004-02-01 Tor Lillqvist <tml@iki.fi>
2962 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2963 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2964 cache if config->cache is NULL, which happens if FcConfigHome() is
2965 NULL. Guard against that by using the temp folder in that case.
2967 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2969 * fc-lang/az_ir.orth:
2970 * fc-lang/ku_ir.orth:
2971 * fc-lang/ps_af.orth:
2972 * fc-lang/ps_pk.orth:
2973 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2974 (Afghan and Pakistani).
2976 Updated Urdu orthography with real data.
2978 2003-12-11 Carl Worth <cworth@east.isi.edu>
2980 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2983 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2985 (all-local): Remove excessive whitespace.
2987 * autogen.sh: Add 'set -e' to abort when any program fails,
2988 (avoids printing of 'now type make' after configure aborts).
2990 2003-11-17 Eric Christopherson <rakko@charter.net>
2992 reviewed by: Keith Packard <keithp@keithp.com>
2995 * fontconfig/fcfreetype.h:
2997 Switch to FreeType 2.1.7 style includes. Bug #150.
2999 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
3001 * fc-list/fc-list.sgml: Add some example usages.
3003 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
3006 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
3009 2003-10-27 Keith Packard <keith@keithp.com>
3012 * fontconfig/fontconfig.h:
3013 Update to version 2.2.92
3015 2003-10-27 Keith Packard <keithp@keithp.com>
3020 * fc-cache/Makefile.am:
3021 * fc-glyphname/Makefile.am:
3022 * fc-lang/Makefile.am:
3023 * fc-list/Makefile.am:
3024 * fc-match/Makefile.am:
3027 Yet more cleanups to finish getting 'make distcheck' working
3028 This has been tested to ensure that it even works from a _build
3031 2003-10-26 Keith Packard <keithp@keithp.com>
3035 * fc-cache/Makefile.am:
3036 * fc-glyphname/Makefile.am:
3037 * fc-lang/Makefile.am:
3038 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
3039 * fc-list/Makefile.am:
3040 * fc-match/Makefile.am:
3041 Attempts to fix 'make distcheck' work. Things are
3042 progressing pretty well, but there are still failures
3043 long into the process dealing with docs (as always).
3045 The big changes here are mostly to make $(srcdir) != "."
3046 work correctly, fixing the docbook related sections and
3047 fc-lang were particularily tricky. Docbook refuses to load
3048 system entities from anywhere other than where the original .sgml
3049 file was located, so no luck looking in "." for the
3050 configure-generated version.sgml and confdir.sgml files.
3052 fc-lang needed help finding .orth files; added a -d option
3053 to set the directory as the least evil of many options.
3055 Now to go use a faster machine and try and wring out the last
3058 2003-10-26 Keith Packard <keithp@keithp.com>
3062 2003-10-26 Keith Packard <keithp@keithp.com>
3065 Include confdir.sgml.in in EXTRA_DIST
3067 2003-10-09 Josselin Mouette <joss@debian.org>
3069 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
3070 * fc-list/fc-list.sgml fc-list/Makefile.am:
3071 Replace fc-cache and fc-list manpages with more detailed, SGML
3074 2003-09-23 Owen Taylor <otaylor@redhat.com>
3076 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3077 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3078 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3081 2003-09-23 Owen Taylor <otaylor@redhat.com>
3083 * fc-lang/ka.orth: Remove Georgian capitals, they
3084 aren't used for normal writing. (Bug #116)
3086 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3088 * doc/fontconfig-devel.sgml:
3089 * doc/fontconfig-user.sgml:
3090 * fontconfig/fontconfig.h:
3092 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3093 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3095 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3096 monospace and dual-width fonts, allow roughly a 3% variance in the
3099 2003-08-31 Manish Singh <yosh@gimp.org>
3101 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3104 2003-08-15 Carl Worth <cworth@isi.edu>
3106 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3107 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3109 * src/fcpat.c (FcValueListEntDestroy): New function to support
3110 FcFini memory cleanup. Some statistics are not kept in
3112 (FcValueListFreeze): Move hashTable outside this function so it
3113 can be accessed by FcValueListThawAll.
3114 (FcValueListThawAll): New function complements FcValueListFreeze.
3115 (FcPatternBaseFreeze): Move hashTable outside this function so it
3116 can be accessed by FcPatternBaseThawAll.
3117 (FcPatternBaseThawAll): New function complements
3118 FcPatternBaseFreeze.
3119 (FcPatternThawAll): New function complements FcPatternFreeze.
3121 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3123 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3124 allocated FcCharLeafEnt "blocks" so they can be freed later.
3125 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3126 can be accessed by FcCharSetThawAllLeaf.
3127 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3128 (FcCharSetFreezeBase): Move hashTable outside this function so it
3129 can be accessed by FcCharSetThawAll.
3130 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3132 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3133 (FcConfigDestroy): Fic leak of FcBlanks.
3135 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3136 (main): Add call to FcFini when finished.
3138 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3139 static. Add prototypes.
3141 * doc/fcinit.fncs: Add documentation for FcFini function.
3143 * doc/edit-sgml.c: Mark several local functions as static. Add
3146 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3148 2003-06-15 Tor Lillqvist <tml@iki.fi>
3150 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3151 before comparing (needed on Windows).
3153 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3155 2003-06-13 Tor Lillqvist <tml@iki.fi>
3157 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3160 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3161 WINDOWSFONTDIR token.
3163 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3164 end, not to confuse libtool, which expects the EXPORTS line to be
3165 the first. Add FcConfigEnableHome.
3167 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3168 built as a DLL on Win32.
3170 2003-06-09 Keith Packard <keithp@keithp.com>
3172 * Tag version 2.2.90
3174 2003-06-09 Keith Packard <keithp@keithp.com>
3176 * Optimization in FcLangSetIndex was broken, occasionally
3177 returning a pointer to the wrong location on miss
3179 * Add fc-match to test font matching from the command line.
3181 2003-05-31 Keith Packard <keithp@keithp.com>
3183 * (Bug 85) add support for culmus fonts
3184 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3185 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3187 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3189 * Fix "contains" op for strings and langsets.
3191 2003-05-17 Keith Packard <keithp@keithp.com>
3193 * Fix build error with BDF prop local. Free langset after query
3195 2003-05-14 Keith Packard <keithp@keithp.com>
3197 * Extract spacing from XLFD atom
3199 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3201 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3202 disappeared in 1.30.
3204 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3206 2003-05-12 Keith Packard <keithp@keithp.com>
3208 * Use FcIsWidth to share code
3210 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3211 misclassifying some Han fonts as monospaced.
3213 2003-05-07 Keith Packard <keithp@keithp.com>
3215 * Add filename-based accept/reject to ammend available fonts.
3217 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3218 older FreeType releases.
3220 2003-05-06 Keith Packard <keithp@keithp.com>
3222 * Remove 0b82 and Tamil numbers from tamil
3223 orthography (Jungshik Shin <jshin@mailaps.org>)
3225 2003-05-04 Keith Packard <keithp@keithp.com>
3227 + Map glyph names in fonts with adobe custom encoding to unicode
3229 2003-05-02 Keith Packard <keithp@keithp.com>
3231 * Add FC_WEIGHT_BOOK as weight 75
3233 2003-04-30 Keith Packard <keithp@keithp.com>
3235 * Typo in bitstream foundry name
3237 2003-04-24 Keith Packard <keithp@keithp.com>
3239 * Eliminate italic_angle check for PS fonts
3241 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3243 * Getting closer to fixing /etc/fonts hard-coding.
3245 2003-04-22 Keith Packard <keithp@keithp.com>
3247 * Update autogen.sh to work with newer automake versions
3248 * Handle pattern elements moving during multiple edits
3250 2003-04-23 James Henstridge <james@daa.com.au>
3252 * doc/fontconfig-devel.sgml: close the <para> element.
3254 * doc/fcpattern.fncs: close the <para> element.
3256 * doc/func.sgml: close the <refsynopsisdiv> element.
3258 2003-04-22 Keith Packard <keithp@keithp.com
3260 * Update autogen.sh to work with newer automake versions
3261 * Handle pattern elements moving during multiple edits
3263 2003-04-17 Colin Walters <walters@debian.org>
3265 + Remove some unused variables, and initialize some other ones so
3266 gcc doesn't warn us.
3268 2003-04-16 Keith Packard <keithp@keithp.com>
3270 + tag version 2.1.94
3272 2003-04-16 Keith Packard <keithp@keithp.com>
3274 + add BDF property fetching support for foundry
3275 (from Juliusz Chroboczek)
3276 + add BDF property fetching support for width
3278 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3280 + Implemented foundry generation for Type 1 and TrueType
3282 2003-04-11 Gerard Escalante <g2@magestudios.net>
3284 + Retrieve information from Type1 FontInfo dictionaries
3286 2003-04-07 Colin Walters <walters@verbum.org>
3288 + src/Makefile.am: Fix dummy makefile target names when
3289 MS_LIB_AVAILABLE isn't set.
3291 2003-03-22 Tor Lillqvist <tml@iki.fi>
3293 Changes for Windows:
3295 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3297 + We don't want to hardcode the fonts.conf file location in the
3298 DLL, so we look up the DLL location at run-time in a DllMain()
3299 function. The fonts.conf location is deduced from that.
3301 + The colon can't be used as path separator on Windows,
3302 semicolon is used instead. File path components can be separated
3303 with either slash or backslash. Absolute paths can also begin
3304 with a drive letter.
3306 + Add internal function FcStrLastSlash that strrchr's the last
3307 slash, or backslash on Windows.
3309 + There is no link() on Windows. For atomicity checks, mkdir a
3310 lock directory instead.
3312 + In addition to HOME, also look for USERPROFILE.
3314 + Recognize the special font directory token WINDOWSFONTDIR, to
3315 use the system's font directory.
3317 + Remove the fontconfig-def.cpp that was obsolete. Add
3318 fontconfig.def(.in), without internal functions.
3320 + Add a fontconfig-zip(.in) script, used to build a binary
3323 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3324 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3325 to main package and man3/* to devel package
3327 + Added missing defattr(-, root, root) to main RPM package
3329 + Added HTML and text development documentation to -devel subpackage
3331 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3332 + Added back the configure macro options --disable-docs, otherwise
3333 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3334 version number) unconditionally, causing RPM to fail the build due
3335 to _unpackaged_files_terminate_build. We pick up the pregenerated
3336 docs with %doc already.
3338 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3339 + Removed commented out rpm macro define at top of spec file,
3340 replacing it with a simple explanation, since rpm macros are
3341 expanded by rpm even in comments.
3343 + Changed /usr/bin to _bindir in BuildRequires lines
3345 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3347 + Reorganized file manifest lists
3349 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3351 + fontconfig.spec.in: Improvements from Red Hat spec file.
3353 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3355 + docs/*.sgml: SGML fixes.
3357 Sat Mar 1 17:28:53 PST 2003 keithp
3358 + Ok, so the ChangeLog is a bit out of date
3360 + Lots of bugs fixed; most are in bugzilla, the
3361 biggest problems were in cache management where
3362 Owen discovered the library would lose badly when
3363 combining fonts-cache and ~/.fonts-cache data
3365 + Converted from autoconf to automake. This after
3366 getting patches accepted into libtool to allow
3367 the '-version-number' argument which lets
3368 packages set version numbers explicitly rather
3369 than the roundabout libtool way
3371 + Converted documentation to SGML using the docbook
3372 DTD. Now .txt and .html documents are installed
3373 in /usr/share/doc/fontconfig and there's no
3374 man page. Perhaps a man version can be written
3377 Sat Aug 31 15:21:22 PDT 2002 keithp
3378 + Xrender and Xft had several bugs related to
3379 rendering manually placed or poly-face text
3381 + Added more complete memory tracing in fontconfig
3382 Checked with (patched) mozilla and found no leaks
3384 + Updated Latin orthographies by comparing those from
3385 evertype.com with those from eki.ee. Tried to make
3386 sensible choices, including chars that occured in both
3387 and leaving some optional chars out that occured only
3390 Mon Aug 26 16:33:04 PDT 2002 keithp
3391 + Owen discovered that FcLangSetHasLang wasn't actually
3392 checking the language set.
3394 Mon Aug 26 13:37:23 PDT 2002 keithp
3395 + Append a version number to cache filenames
3397 Thu Aug 22 11:36:18 PDT 2002 keithp
3399 + Add "contains" and "not_contains" operators and elements to
3402 + Changed semantics of eq operator for LangSets to check for
3403 FcLangEqual so that any match will do
3405 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3406 of FcValueEqual to check for identical values when inserting into
3407 the results. This broke when the above semantic change was made,
3408 now it uses FcValueEqual which is "more correct" in any case.
3410 Thu Aug 22 00:32:29 PDT 2002 keithp
3412 + Reimplement FC_LANG as new datatype. Lists of strings
3413 was consuming over a megabyte of memory for 401 fonts.
3415 + Freeze patterns loaded from cache files. This shares
3416 common value lists and common patterns which saves
3417 considerable memory.
3419 + Change the denotation of 'constant' charsets to use special
3420 ref value instead of separate boolean.
3422 + Clean up leak tracing stuff, found several unannoted alloc/free
3425 Tue Aug 20 16:17:37 PDT 2002 keithp
3427 + Fix memory leak when parsing matrices from XML
3429 Mon Aug 19 11:57:27 PDT 2002 keithp
3431 + Fix autoconf files to pass FONTCONFIG_PATH on
3432 compile line so that ${prefix} gets substituted
3435 + Use getc_unlocked/putc_unlocked on systems that
3436 provide them to avoid damage done to stdio by posix
3438 + Eliminate FC_PATTERN and FcTypePattern in favor of
3439 an extended api for FcConfigSubstitute which takes
3440 both the font and the pattern.
3442 + Add 'sans serif' alias for 'sans-serif' as some apps
3443 can't handle hyphens in family names
3445 + Eliminate pretense of support for libxml2
3447 + Comment origins of Han orthographies
3449 Tue Jul 30 18:37:09 PDT 2002 keithp
3451 + Add binding property to edit element so that strong
3452 binding values may be inserted by the config file.
3453 The default remains weak.
3455 Sun 28 Jul 04:16:55 PDT 2002 keithp
3457 + Tagged release candidate 1 in the CVS tree and
3458 placed fcpackage.rc1.tar.gz for distribution
3460 Thu Aug 1 08:55:08 PDT 2002 keithp
3462 + Fixed autoconf builds to always specify install
3463 target files (for BSD). Also fixed to
3464 define FONTCONFIG_PATH in config.h so that
3465 nonstandard installs will actually work.