1 2006-04-27 Patrick Lam <plam@mit.edu>
2 Keith Packard <keithp@keithp.com>
3 * src/fcstr.c (FcStrBufChar):
5 Reduce transient memory usage during config file parsing
6 by allocating smaller buffers (64 seems to be a magic number).
8 2006-04-27 Keith Packard <keithp@keithp.com>
10 * src/fcinit.c: (FcMemReport):
12 * src/fcpat.c: (FcPatternFini):
13 * src/fcxml.c: (FcParsePatelt):
14 Eliminate pattern freezing
16 2006-04-27 Keith Packard <keithp@keithp.com>
17 reviewed by: Patrick Lam <plam@mit.edu>
19 * src/fccache.c: (FcDirCacheUnlink), (FcDirCacheHashName),
20 (FcDirCacheOpen), (FcDirCacheWrite):
21 * src/fcfreetype.c: (FcFreeTypeQuery):
23 * src/fclist.c: (FcListAppend):
24 * src/fcmatch.c: (FcFontRenderPrepare):
25 * src/fcpat.c: (FcPatternDestroy), (FcPatternBaseFreeze),
26 (FcPatternFreeze), (FcPatternGet), (FcPatternDuplicate),
28 Make path names in cache files absolute (NB, cache format change)
29 Stop permitting cache files to be stored in font dirs.
31 Don't include /fonts.cache-2 in cache hash construction.
33 2006-04-25 Patrick Lam <plam@mit.edu>
37 * fontconfig/fontconfig.h:
39 Bump version to 2.3.95.
41 2006-04-25 Behdad Esfahbod <behdad@cs.toronto.edu>
48 Fix the issues with GNU libiconv vs. libc iconv (which especially
49 appear on Solarii). Approach suggested by Tim Mooney.
51 2006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
56 Include $(top_srcdir), $(top_srcdir)/src before anything else.
58 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
59 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
60 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
61 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
62 * src/fcstr.c, src/fcxml.c:
64 Shuffle order of includes for building out of srcdir on win32.
66 2006-04-20 Patrick Lam <plam@mit.edu>
67 * src/fcmatch.c (FcSortWalk):
69 Prevent terrible perf regression by getting the if-condition
70 right (reported by Wouter Bolsterlee).
72 2006-04-19 Patrick Lam <plam@mit.edu>
73 Dominic Lachowicz <cinamod@hotmail.com>
75 * src/fccache.c (FcDirCacheConsume):
77 Implement mmap-like code for Windows using MapViewOfFile.
79 2006-04-19 Patrick Lam <plam@mit.edu>
80 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
82 Bail gracefully if the cache file does not contain enough data.
84 2006-04-14 Patrick Lam <plam@mit.edu>
87 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
89 2006-04-14 Patrick Lam <plam@mit.edu>
90 * src/fcname.c (FcObjectToPtrLookup):
92 Fix Gecko-exposed segfault from my last hack to
93 FcObjectToPtrLookup. Simplify code and get things straight.
95 2006-04-14 Patrick Lam <plam@mit.edu>
98 Actually, just add URW fonts as aliases for all of the PostScript
99 fonts. (reported by Miguel Rodriguez).
101 2006-04-13 Patrick Lam <plam@mit.edu>
104 Add an alias 'Standard Symbols L' for 'Symbol'.
106 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
109 * src/fcpat.c: (FcPatternFreeze):
110 Fix memory leak (Coverity defect #2089).
112 * src/fcfreetype.c: (GetScriptTags):
113 Ignore script if subtable is missing (Coverity defect #2088).
115 2006-04-12 Patrick Lam <plam@mit.edu>
116 * src/fccfg.c (FcConfigSubstituteWithPat):
118 Fix possible null pointer dereference (Coverity defect #784)
119 and memory leak (Coverity defects #785, #786).
121 2006-04-12 Patrick Lam <plam@mit.edu>
122 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
124 Don't copy FcCharSet if we're going to throw it away anyway.
125 (Reported by Kenichi Handa).
127 2006-04-11 Ming Zhao <ming@gentoo.org>
130 * src/fcname.c (FcObjectToPtrLookup):
132 Fix bad behaviour on realloc resulting in crash.
134 2006-04-11 Patrick Lam <plam@mit.edu>
135 * src/fccache.c (FcGlobalCacheReadDir):
137 Don't crash if config is null (Coverity defect #984).
139 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
142 * src/fccharset.c (FcCharSetPutLeaf):
143 * src/fclang.c (FcNameUnparseLangSet):
145 Missing bits from previous patches.
147 * src/fccharset.c (FcCharSetSubtractCount):
148 Remove extra semi-colon.
150 * src/fccfg.c (FcConfigBuildFonts):
151 Fix memory leak in error case (Coverity defects #776, #985).
153 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
154 Fix memory leaks (Coverity defects #779, #781)
155 and memory use after free (Coverity defect #780).
157 2006-04-11 Patrick Lam <plam@mit.edu>
158 * src/fccharset.c (FcCharSetPutLeaf):
160 Properly convert static charsets to dynamic charsets.
162 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
165 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
167 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
169 * src/fclang.c: (FcNameUnparseLangSet):
170 Fix memory leak (Coverity defect #1819).
172 * fc-lang/fc-lang.c: (scan):
173 prevent crash when invalid include line is parsed (Coverity defect
176 * fc-cat/fc-cat.c: (FcCacheFileRead):
177 Fix potential null pointer access (Coverity defect #1804).
179 * src/fcname.c: (FcObjectUnserialize):
180 Remove dead code (Coverity defect #1194).
182 * src/fcfreetype.c: (GetScriptTags):
183 Prevent potential null pointer access (Coverity defect #767),
184 ensure error value is read (Coverity defect #1195).
186 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
191 Survive missing docbook2pdf.
193 2006-04-10 Patrick Lam <plam@mit.edu>
195 * fc-glyphname/fc-glyphname.c:
198 Include more stub definitions to make HP-UX's C compiler happy.
200 2006-04-10 Patrick Lam <plam@mit.edu>
201 * src/fcname.c (FcObjectUnserialize):
203 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
205 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
208 * src/fccfg.c: (FcConfigEvaluate):
209 Fix string memory leak (Coverity defect #1823).
211 * src/fccache.c: (FcDirCacheUnlink):
212 Fix memory leak with hash collision (Coverity defect #1824).
214 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
217 * src/fccache.c: (FcGlobalCacheSave):
218 Don't leak header in non-error case (Coverity defect #1825).
220 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
223 * src/fcdir.c (FcDirScanConfig)
224 Don't leak in error cases (Coverity defects #777, #1826)
226 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
229 * src/fccache.c: (FcDirCacheWrite):
230 Fix double free (spotted by Coverity, CID #1965).
232 * fc-match/fc-match.c: (main):
233 Check if pattern is not null before using it (Coverity defect #1883).
235 * src/fccache.c: (FcDirCacheWrite):
236 Fix memory leak with hash collision (Coverity defect #1829).
238 * src/fccfg.c: (FcConfigBuildFonts):
239 Fix memory leak when bail cases (Coverity defect #1828).
241 * src/fccache.c: (FcGlobalCacheLoad):
242 Don't leak directory name (Coverity defect #1827).
244 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
246 * fc-cache/Makefile.am:
247 * fc-cat/Makefile.am:
248 * fc-list/Makefile.am:
249 * fc-match/Makefile.am:
251 LD_ADD missing dependencies for binaries. Reported by
254 2006-04-07 Patrick Lam <plam@mit.edu>
256 * fc-lang/fc-lang.c (main):
258 SGI compilation fixes (reported by Christoph Bauer):
259 1) reorder union definition of _FcChar;
262 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
265 * src/fccharset.c (FcCharSetNeededBytes):
266 * src/fcfs.c (FcFontSetNeededBytes):
268 * src/fclang.c (FcLangSetNeededBytesAlign):
269 * src/fcname.c (FcObjectNeededBytesAlign):
270 * src/fcpat.c (FcPatternNeededBytesAlign,
271 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
273 Portability fixes for HP-UX (reported by Christoph Bauer).
274 Replace '__inline__' by AC_C_INLINE and 'inline'.
275 Replace '__alignof__' by 'fc_alignof'.
277 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
281 Move up #include of config.h.
282 Fail if neither inttypes.h nor stdint.h is available.
285 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
286 Patrick Lam <plam@mit.edu>
288 * fc-cache/fc-cache.c:
290 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
291 FcDirCacheConsume, FcDirCacheProduce,
292 FcDirCacheWrite, FcCacheMachineSignature):
293 * src/fcfreetype.c (FcFreeTypeQuery):
294 * src/fontconfig.def.in:
296 Make fontconfig compile under MinGW:
297 1) remove unneeded #includes;
298 2) make use of mmap and sysconf conditional;
299 3) replace rand_r by srand/rand if needed;
300 4) use chsize instead of ftruncate; and
301 5) update libtool exports file
303 2006-04-07 Patrick Lam <plam@mit.edu>
304 * src/fcdir.c (FcDirScanConfig):
308 2006-04-06 Patrick Lam <plam@mit.edu>
309 * fc-match/.cvsignore:
310 * fc-match/Makefile.am:
311 * fc-match/fc-match.sgml:
313 Update documentation for fc-match (SGML-ize it).
314 (reported by Ilya Konstantinov)
316 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
322 Reduce amount of dirty rss by const'ing some data structures.
324 2006-04-06 Patrick Lam <plam@mit.edu>
325 * fc-cache/Makefile.am:
327 Don't fail if we can't create or remove
328 $(pkgcachedir) i.e. /var/cache/fontconfig.
329 (reported by Quanah Gibson-Mount).
331 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
334 * fc-glyphname/fc-glyphname.c:
335 * fc-lang/fc-lang.c (main):
336 * fc-match/fc-match.c:
337 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
339 * src/fcfreetype.c (FcFreeTypeQuery):
340 * src/fclang.c (FcFreeTypeLangSet):
343 Fix intel compiler warnings: make many variables static,
344 eliminate duplicate names, reduce variable scopes, unsigned/signed
347 2006-03-24 Mike Fabian <mfabian@suse.de>
349 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
351 Fix multiarch support (don't destroy multiarch files!)
353 2006-03-24 Patrick Lam <plam@mit.edu>
356 Require pkg-config. (Thanks Behdad;
357 better solution wanted for libxml2 detection!)
359 2006-03-22 Patrick Lam <plam@mit.edu>
362 On Windows, unlink before rename. Reported by Tim Evans.
364 2006-03-15 Patrick Lam <plam@mit.edu>
368 Fix typos in orth files. Reported by Denis Jacquerye.
370 2006-03-08 Patrick Lam <plam@mit.edu>
372 * config/config.guess:
375 Fix Makefile.am for removal of debian/ directory.
377 2006-03-08 Patrick Lam <plam@mit.edu>
380 Ignore debian/ directory for CVS.
382 2006-03-08 Patrick Lam <plam@mit.edu>
385 Now remove debian/ directory.
387 2006-03-08 Patrick Lam <plam@mit.edu>
390 Remove debian/ directory from sources. See Debian's subversion
391 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
394 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
398 * fc-lang/iso639-1, fc-lang/iso639-2:
400 Add orthography for Lingala.
402 2006-03-08 Carl Worth <cworth@cworth.org>
405 * conf.d/Makefile.am:
406 * conf.d/10LohitGujarati.conf:
408 Add a configuration file that disables hinting for the Lohit
409 Gujarati font (since the hinting distort some glyphs quite badly).
411 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
414 * src/fcdir.c (FcDirScanConfig):
416 Sort directory entries while scanning them from disk;
417 prevents Heisenbugs due to file ordering in a directory.
419 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
422 * src/fcfreetype.c (GetScriptTags):
423 * src/ftglue.c, src/ftglue.h:
425 Remove stuff we don't use, make get_{char,short,long} functions
426 of ftglue macros to be inlined.
429 * src/fcname.c (FcObjectSerialize):
431 Code cleanups (excess prototype, old-style function definition).
433 2006-03-05 Patrick Lam <plam@mit.edu>
434 * src/fcpat.c (FcPatternGetString):
436 Because we hacked FcPatternGet, we don't really need to expand the
437 filename again in FcPatternGetString.
439 2006-03-05 Patrick Lam <plam@mit.edu>
440 * src/fcpat.c (FcPatternGetString, FcPatternGet):
442 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
443 Make that work. Reported by Bernhard Rosenkraenzer.
445 2006-03-03 Patrick Lam <plam@mit.edu>
448 Include inttypes.h instead of stdint.h if appropriate.
450 2006-03-03 Patrick Lam <plam@mit.edu>
451 * fc-cat/fc-cat.c (FcFileIsDir):
452 * fc-glyphname/fc-flyphname.c:
454 More stub definitions and remove FcFileIsDir from fc-cat.
456 2006-03-03 Patrick Lam <plam@mit.edu>
459 Fix compilation on AIX with stub definitions (bug 6097).
461 2006-03-03 Patrick Lam <plam@mit.edu>
462 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
463 * src/fcfreetype.c (GetScriptTags):
464 * src/fcfs.c (FcFontSetDistributeBytes):
465 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
467 Get rid of C++-style comments.
469 2006-03-03 Patrick Lam <plam@mit.edu>
472 Enable creation of 2.3.94 Debian packages.
474 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
477 * src/fclang.c (FcCharSetForLang):
479 Fix suspicious return expression which causes junk
482 2006-02-24 Patrick Lam <plam@mit.edu>
486 * fontconfig/fontconfig.h:
488 Bump version to 2.3.94.
490 2006-02-24 Patrick Lam <plam@mit.edu>
495 2006-02-24 Patrick Lam <plam@mit.edu>
496 * conf.d/10-fonts-persian.conf:
498 Remove unconditional emboldening (per Behdad's instructions).
502 Add @s to hide some echos.
504 2006-02-24 Mike Fabian <mfabian@suse.de>
505 Takashi Iwai <tiwai@suse.de>
508 * src/fcfreetype.c (GetScriptTags):
510 Fix double-free on error case.
512 2006-02-21 Patrick Lam <plam@mit.edu>
513 * fc-lang/fc-lang.c (scan):
515 Strip \r and whitespace from input; fixes bug 3454.
517 2006-02-21 Patrick Lam <plam@mit.edu>
518 * fc-lang/fc-lang.c (main):
520 Allocate large arrays statically in fc-lang to fix crashes under
523 2006-02-21 Diego Petten <flameeyes@gentoo.org>
524 * src/fcfreetype.c (FcFreeTypeCharIndex):
526 Pass the buck; make fontconfig not crash on pango badness.
528 2006-02-21 Patrick Lam <plam@mit.edu>
529 * conf.d/10-fonts-persian.conf:
531 Use embeddedbitmap rather than rh_prefer_bitmap.
533 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
536 * src/fccache.c (FcDirCacheWrite):
537 * src/fcdir.c (FcFileScanConfig):
538 * src/fcfreetype.c (FcStringInPatternElement):
539 * src/fcxml.c (FcParseFamilies):
540 * src/ftglue.c (ftglue_face_goto_table):
542 Eliminate redundancies.
544 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
547 * fc-list/fc-list.c (main):
548 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
549 * src/fcstr.c (FcStrStr):
550 * src/fcxml.c (FcConfigSaveAttr):
552 Eliminate unused vars reported by Intel's compiler.
554 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
559 Remove one more archaic character.
561 2006-02-21 Ross Burton <ross@burtonini.com>
562 reviewed by: plam, keithp
564 * src/fcxml.c (FcParsePatelt):
566 Freeze patterns created by configuration file for tiny
567 memory savings (every little bit helps).
569 2006-02-21 Mike Fabian <mfabian@suse.de>
572 * fc-cat/fc-cat.c (main):
574 Initialize fontconfig library in fc-cat to avoid segfault.
576 2006-02-18 Patrick Lam <plam@mit.edu>
577 * fc-cache/fc-cache.c (scanDirs):
578 * src/fccache.c (FcCacheReadDirs):
579 * src/fcdir.c (FcDirScanConfig):
581 Fix the underlying cause of the below segfault (must usually
582 call FcDirCacheHasCurrentArch after FcDirCacheValid).
584 2006-02-18 Patrick Lam <plam@mit.edu>
585 * src/fccache.c (FcDirCacheHasCurrentArch):
587 Fix triggering of segfault caused by misreading cache files
588 (reported by fcrozat).
590 2006-02-17 Patrick Lam <plam@mit.edu>
591 * src/fcint.h (FC_CACHE_MAGIC):
593 Bump up magic version; we changed the binary format.
595 2006-02-17 Patrick Lam <plam@mit.edu>
596 * fc-cat/fc-cat.c (main):
598 Enable fc-cat to print out old-style cache info when given a
601 2006-02-16 Patrick Lam <plam@mit.edu>
602 * src/fccache.c (FcDirCacheHasCurrentArch):
604 Deal correctly with changing FC_CACHE_MAGIC.
606 2006-02-16 Patrick Lam <plam@mit.edu>
607 * fc-cache/fc-cache.c (usage, scanDirs, main):
609 Add -r --really-force option which blows away cache files and then
612 2006-02-16 Patrick Lam <plam@mit.edu>
613 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
615 Don't bail if fontconfig can't remove a dir cache file.
616 Skip the ID of a cache file when copying.
617 Eliminate 'source file too small' bug in FcDirCacheWrite.
619 2006-02-13 Patrick Lam <plam@mit.edu>
620 * src/fcfreetype.c (FcFreeTypeQuery):
622 Fix memory leak in error condition code.
624 2006-02-13 Mike Fabian <mfabian@suse.de>
626 * src/fcfreetype.c (FcFreeTypeQuery):
628 Skip bitmap fonts which can't even get it together enough to
629 declare a family name; this appears to reproduce previous
630 fontconfig behaviour.
632 2006-02-10 Takashi Iwai <tiwai@suse.de>
634 * src/fccache.c (FcDirCacheOpen):
636 Try to open /var/cache/fontconfig/[hashed name] before
637 fonts.cache-2 in a directory, because /var/cache/fontconfig
638 failures ought to be fixable, unlike fonts.cache-2 failures,
639 which may leave you screwed.
641 2006-02-10 Takashi Iwai <tiwai@suse.de>
643 * src/fcmatch.c (FcFontSetMatch):
645 Use a tri-state to mark the fonts which didn't get blocked but
646 were just missing an element, to distinguish them from the
647 fonts that do match the element.
649 2006-02-10 Takashi Iwai <tiwai@suse.de>
651 * src/fcmatch.c (FcFontSetMatch):
653 Don't kill fonts because they don't declare an element that's
656 2006-02-09 Patrick Lam <plam@mit.edu>
657 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
658 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
660 Define and pass O_BINARY to open if appropriate, for those
661 platforms that need it. Reported by Doodle.
663 2006-02-09 Patrick Lam <plam@mit.edu>
664 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
667 Fix problem with missing 'en' due to euro.patch: change
668 cache file format slightly to coincide with that generated
671 2006-02-07 Patrick Lam <plam@mit.edu>
672 * src/fccache.c (FcCacheReadDirs):
676 2006-02-07 Patrick Lam <plam@mit.edu>
677 * src/fcdir.c (FcDirScanConfig):
679 Don't reject dirs that can't be normalized (fixes lilypond, and
680 is correct in the context of application font directories.)
682 2006-02-07 Takashi Iwai <tiwai@suse.de>
685 * src/fccache.c (FcCacheReadDirs):
687 Use normalized directory name exclusively in FcCacheReadDirs.
689 2006-02-07 Dirk Mueller <dmueller@suse.com>
692 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
694 Perf optimizations. Inline FcValueCanonicalize,
695 reduce FcValueListPtrU usage, remove redundant cast.
697 2006-02-07 Takashi Iwai <tiwai@suse.de>
700 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
703 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
704 Declare extern for static arrays as arrays, not pointers.
705 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
707 2006-02-07 Dirk Mueller <dmueller@suse.com>
720 Add Euro sign to list of symbols required by European languages.
722 2006-02-07 Patrick Lam <plam@mit.edu>
723 * src/fccache.c (FcCacheReadString):
725 Fix hidden variable warning.
727 2006-02-07 Dirk Mueller <dmueller@suse.com>
730 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
732 Remove de-escaping logic because FcCacheWriteString
733 doesn't escape anyway. Do blockwise reading instead
734 of byte-wise for performance.
736 2006-02-06 Patrick Lam <plam@mit.edu>
737 Takashi Iwai <tiwai@suse.de>
739 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
741 Don't loop infinitely on recursive symlinks (client-side).
743 2006-02-06 Takashi Iwai <tiwai@suse.de>
745 * fc-cache/fc-cache.c (scanDirs, main):
747 Don't loop infinitely on recursive symlinks.
749 2006-02-06 Takashi Iwai <tiwai@suse.de>
751 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
752 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
753 FcGlobalCacheSave, FcCacheReadDirs):
756 Skip subdirs when skipping over stale bits of global cache.
757 Introduce state machine into FcGlobalCacheDir to avoid
758 doing inappropriate operations on global dir entries, e.g.
759 writing out an out-of-date cache entry.
761 2006-02-06 Takashi Iwai <tiwai@suse.de>
763 * src/fcdir.c (FcFileScanConfig):
765 Hoist FcFileIsDir check out of FcFileScanConfig loop.
767 2006-02-06 Takashi Iwai <tiwai@suse.de>
770 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
771 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
773 Don't rescan when trying to normalize a non-declared font dir.
774 Don't add font dirs multiple times (even if they're aliased).
776 2006-02-06 Dirk Mueller <dmueller@suse.de>
779 * src/fcfs.c (FcFontSetUnserialize):
781 Explain apples/oranges comparison and fix compilation error.
783 2006-02-06 Dirk Mueller <dmueller@suse.de>
786 * src/fcfs.c (FcFontSetUnserialize):
788 Insert check for integer overflow in # of fonts.
790 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
794 * fc-cache/Makefile.am:
795 * fc-cat/Makefile.am:
796 * fc-list/Makefile.am:
798 Make 'make distcheck' work with automake 1.6.3.
800 2006-02-03 Takashi IWAI <tiwai@suse.de>
803 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
806 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
807 FcDirCacheConsume, FcDirCacheWrite)
808 * src/fcxml.c (FcConfigMessage):
810 Check I/O call return values and eliminate unused variable
813 2006-02-03 Takashi Iwai <tiwai@suse.de>
816 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
820 2006-02-03 Dirk Mueller <dmueller@suse.de>
823 * src/fcfs.c (FcFontSetUnserialize):
825 Gracefully handle the case where a cache asserts that it
826 has a negative number of fonts, causing overflow.
828 2006-02-03 Patrick Lam <plam@mit.edu>
829 * src/fccache.c (FcDirCacheUnlink):
831 Fix double free in error case.
833 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
834 Stephan Kulow <coolo@suse.de>
837 * fc-cache/Makefile.am:
839 Replace 'stamp' target with mkinstalldirs.
841 2006-01-31 Mike Fabian <mfabian@suse.de>
844 * src/fccache.c (FcGlobalCacheLoad):
846 Toast broken global cache files.
848 2006-01-30 Patrick Lam <plam@mit.edu>
849 * src/fccache.c (FcGlobalCacheReadDir):
851 Actually use the directories that I added to the global cache.
854 2006-01-30 Mike Fabian <mfabian@suse.de>
857 * fc-cache/fc-cache.c (scanDirs):
859 Don't stop scanning if a directory in fonts.conf doesn't
860 exist, because subsequent directories might exist.
862 2006-01-30 Patrick Lam <plam@mit.edu>
863 * src/fccache.c (FcGlobalCacheLoad):
865 Make global cache work again after putting dir names into global
866 cache (I misplaced the recording of a file offset).
868 2006-01-30 Patrick Lam <plam@mit.edu>
869 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
871 Update fc-cat to handle subdir lists in global cache file.
873 * src/fccache.c (FcGlobalCacheLoad):
875 Another FcCacheReadString return value check.
877 2006-01-30 Mike Fabian <mfabian@suse.de>
880 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
881 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
883 Make fccache more resilient to broken cache files by checking
884 return value of FcCacheReadString all the time.
886 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
889 * fc-match/fc-match.1:
890 * fc-lang/fc-lang.man:
892 Remove references to dead fontconfig(3) manpages in
893 other fontconfig manpages.
895 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
898 * doc/fcpattern.fncs:
900 Fix world's tiniest typo in code example.
902 2006-01-29 Mike Fabian <mfabian@suse.de>
905 * src/fccache.c (FcGlobalCacheReadDir):
907 Fix global cache reads of subdirectories.
909 2006-01-29 Patrick Lam <plam@mit.edu>
911 Add documentation for FcConfigNormalizeFontDir.
913 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
914 FcGlobalCacheUpdate, FcGlobalCacheSave):
915 * src/fcdir.c (FcDirScanConfig):
918 Write directory information to global caches to fix make check
919 (reported by Ronny V. Vindenes). This changes the global cache
922 2006-01-27 Patrick Lam <plam@mit.edu>
923 * fc-cache/fc-cache.c (scanDirs):
924 * fontconfig/fontconfig.h:
926 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
928 Move FcConfigNormalizeFontDir call so that it doesn't result in
929 infinite recursion (reported by Ronny V. Vindenes).
931 2006-01-26 Patrick Lam <plam@mit.edu>
932 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
933 * src/fccfg.c (FcConfigNormalizeFontDir):
935 Add a couple of missing normalizations to make fc-cache work
936 right; only scan subdirectories once.
938 2006-01-26 Mike Fabian <mfabian@suse.de>
941 * src/fcacache.c (FcGlobalCacheReadDir):
943 Don't crash on non-existant directories in global cache.
945 2006-01-26 Patrick Lam <plam@mit.edu>
946 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
947 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
948 * src/fcdir.c (FcDirScanConfig):
949 * src/fcxml.c (FcEndElement):
951 Stop trampling the directory name when writing out caches.
952 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
953 subdirs when necessary. Don't scan directories that can't be
956 2006-01-25 Patrick Lam <plam@mit.edu>
957 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
958 * src/fccfg.c (FcConfigEvaluate):
959 * src/fcfreetype.c (FcPatternAddWithBinding):
961 Fix additional memory leaks reported by Ronny V. Vindenes: don't
962 invoke FcValueSave on hashed static strings in
963 FcPatternAddWithBinding.
965 Add another st_dev check in FcDirCacheOpen.
967 2006-01-24 James Su <james.su@gmail.com>
970 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
971 * fc-lang/zh_hk.orth:
973 Treat zh-hk fonts differently from zh-tw fonts. This patch may
974 cause fontconfig to treat A-X fonts differently from A-Y fonts;
975 please mail the fontconfig list if this causes any problems.
977 2006-01-24 Patrick Lam <plam@mit.edu>
978 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
979 * src/fcfreetype.c (FcFreeTypeQuery):
981 Fix memory leaks reported by Ronny V. Vindenes.
983 2006-01-19 Andreas Schwab <schwab@suse.de>
986 * src/fcpat.c (FcStrNeededBytes):
988 Fix for unaligned memory accesses.
990 2006-01-18 Mike Fabian <mfabian@suse.de>
993 * src/fcdir.c (FcDirScanConfig):
995 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
996 calls to avoid crashes.
998 2006-01-14 Patrick Lam <plam@mit.edu>
999 * src/fccache.c (FcDirCacheConsume):
1001 Fix segfault when consuming zero-length caches in fc-cat
1002 (which has no config, so FcConfigAddFontDir shouldn't be called.)
1004 2006-01-14 Patrick Lam <plam@mit.edu>
1005 * fc-cache/fc-cache.c (scanDirs):
1006 * fontconfig/fontconfig.h:
1007 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
1008 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
1009 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
1010 * src/fcdir.c (FcDirScanConfig):
1013 Compare device numbers as well as inodes.
1014 Always normalize directory names before comparing them.
1016 2006-01-11 Mike Fabian <mfabian@suse.de>
1019 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
1021 Allocate extra space for appended '/' in directory name.
1023 2006-01-10 Patrick Lam <plam@mit.edu>
1024 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
1025 FcDirCacheValid, FcDirCacheHasCurrentArch,
1026 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
1027 * fc-cache/fc-cache.c (main):
1029 Explicitly add font dirs to config.fontDirs even if they're empty.
1030 Set current config in fc-cache.c.
1031 Fix treatment of cache directory as read from cache file; don't
1032 use string equality to determine if we have the right file,
1035 2006-01-09 Patrick Lam <plam@mit.edu>
1036 * fc-cache/fc-cache.c (scanDirs):
1037 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1038 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
1039 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
1040 * src/fccfg.c (FcConfigNormalizeFontDir):
1041 * src/fcdir.c (FcDirScanConfig):
1044 Normalize font dirs by using the form, as given in fonts.conf, and
1045 recorded in FcConfig's fontDirs string set, as canonical.
1047 Actually update config.fontDirs as font directories are scanned.
1049 2006-01-08 James Su <james.su@gmail.com>
1050 * src/fcmatch.c (FcFontSetMatch):
1052 Fix matching bug when multiple elements match; don't use
1053 the sum of all scores, but the best score.
1055 Also more perf opts, e.g. evaluate best over all font sets
1056 rather than on a per-set basis (and other changes).
1058 2006-01-08 Patrick Lam <plam@mit.edu>
1059 * src/fccache.c (FcDirCacheConsume):
1061 Properly skip past dir caches that contain zero fonts (as occurs
1062 in global caches.) Reported by Mike Fabian.
1064 2006-01-06 Patrick Lam <plam@mit.edu>
1065 * src/fcdbg.c (FcPatternPrint):
1067 Print out full pathname in fc-match -v as well. Reported by
1070 2006-01-06 Mike Fabian <mfabian@suse.de>
1073 * src/fcname.c (FcNameParse):
1075 Fix bug where fc-match crashes when given __DUMMY__ property to
1078 (I added the __DUMMY__ string to enable callers of
1079 FcObjectToPtrLookup to distinguish an error return from a
1080 successful return. -PL)
1082 2006-01-05 Patrick Lam <plam@mit.edu>
1085 Add self to AUTHORS list.
1087 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1088 FcCacheFileRead, FcCachePrintSet, main):
1089 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1090 FcGlobalCacheSave, FcCacheNextOffset,
1091 FcDirCacheHasCurrentArch, FcDirCacheRead,
1092 FcDirCacheConsume, FcDirCacheWrite):
1094 * src/fcpat.c (comment):
1096 Minor change to global cache file format to fix fc-cat bug
1097 reported by Frederic Crozat, and buglet with not globally caching
1098 directories with zero fonts cached.
1100 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1103 * src/fccfg.c (FcConfigEvaluate):
1105 Fix double-free which occurs because FcValueCanonicalize doesn't
1106 create an extra copy of the returned value, it only canonicalizes
1109 2006-01-02 Patrick Lam <plam@mit.edu>
1110 * doc/fontconfig-user.sgml:
1112 Fix version of .cache file (currently 1 -> currently 2). Reported
1115 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1118 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1120 Shut up GCC warnings on amd.
1122 2005-12-20 Patrick Lam <plam@mit.edu>
1126 * fontconfig/fontconfig.h:
1128 Bump version to 2.3.93.
1130 2005-12-20 Patrick Lam <plam@mit.edu>
1131 * src/fccharset.c (FcLangCharSetPopulate):
1132 * src/fcint.h (FcCacheBankToIndex):
1134 Avoid check on _fcBankId nullness and fix case where it used to
1137 2005-12-20 Patrick Lam <plam@mit.edu>
1138 * src/fcxml.c (FcConfigParseAndLoad):
1140 Use open instead of fopen (requested by Phil Race for Sun).
1142 2005-12-20 Patrick Lam <plam@mit.edu>
1143 * src/fccache.c (FcDirCacheWrite);
1144 * fc-cache/Makefile.am:
1146 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1149 2005-12-20 Patrick Lam <plam@mit.edu>
1150 * src/fcfreetype.c (FcFreeTypeQuery):
1152 Restore code to skip over PCF fonts that have no encoded
1154 (We guess that a font is PCF by presence of the PIXEL_SIZE
1157 2005-12-12 Patrick Lam <plam@mit.edu>
1158 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1160 Read and write the original location as a fallback for the
1161 hashed cache file locations. This is mostly for users to be
1162 able to have per-directory cache files.
1164 2005-12-12 Patrick Lam <plam@mit.edu>
1165 * fc-cache/fc-cache.c (scanDirs):
1166 * fc-cache/Makefile.am:
1167 * src/fccache.c (FcDirCacheHashName):
1169 Improve error message when fc-cache can't write the cache. Add
1170 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1171 create /var/cache/fontconfig when appropriate.
1173 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1176 * src/fcxml.c (FcConfigGetAttribute):
1178 Fix crash reported by Frederic Crozat when using libxml2.
1180 2005-12-09 Patrick Lam <plam@mit.edu>
1183 * fc-cache/Makefile.am:
1184 * fc-cat/Makefile.am:
1186 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1187 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1188 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1189 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1190 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1191 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1193 Migrate cache files from fonts directories to
1194 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1195 but requires that all caches get rebuilt.
1197 Also, autogen.sh now needs the additional parameter
1198 --localstatedir=/var.
1200 2005-12-07 Patrick Lam <plam@mit.edu>
1201 * src/fcpat.c (FcPatternAddString):
1203 Because we've changed FcPatternAddString to use FcStrStaticName
1204 and not FcValueSave, explicitly handle the case of a null string.
1206 2005-12-06 Patrick Lam <plam@mit.edu>
1207 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1211 2005-12-05 Patrick Lam <plam@mit.edu>
1212 * src/fcname.c (FcNameGetObjectType):
1214 Don't assign types to user object names.
1216 2005-12-05 Patrick Lam <plam@mit.edu>
1217 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1219 Don't free strings that have been returned from FcStrStaticName.
1221 2005-12-01 Patrick Lam <plam@mit.edu>
1222 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1224 Add codepath for reading global cache files as well.
1226 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1229 * conf.d/10-fonts.persian.conf:
1230 * conf.d/Makefile.am:
1232 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1234 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1237 * src/fcxml.c (FcConfigParseAndLoad):
1239 Only add a config file to the set of config files once.
1241 2005-11-29 Patrick Lam <plam@mit.edu>
1242 * src/fcint.h (FcCacheBankToIndex);
1244 Fix segfault by guarding array dereference.
1246 2005-11-29 Dirk Mueller <dmueller@suse.de>
1249 * fc-lang/fc-lang.c:
1250 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1251 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1255 Refactor FcCacheBankToIndex into an inlineable part
1256 (in fcint.h) which checks the front of the list and a
1257 non-inlineable part which finds and moves the appropriate element
1258 to the front of the list.
1260 2005-11-29 Patrick Lam <plam@mit.edu>
1261 * src/fccfg.c (FcConfigBuildFonts):
1262 * src/fccache.c (FcCacheReadDirs):
1264 Make the perf guys hate me a bit less: hoist the directory-name
1265 FcConfigAcceptFont check for cached fonts up to directory cache
1266 read time, rather than running it for each font.
1268 2005-11-29 Patrick Lam <plam@mit.edu>
1269 * src/fccfg.c (FcConfigBuildFonts):
1271 * src/fcpat.c (FcPatternFindFullFname):
1273 Don't make FcPatternFindFullFname available to fccfg, it's not
1274 really safe. Instead go through FcPatternGetString (sorry,
1275 perf guys.) Also, use globs for dirs as well.
1277 2005-11-28 Patrick Lam <plam@mit.edu>
1278 * src/fccfg.c (FcConfigBuildFonts):
1282 2005-11-28 Patrick Lam <plam@mit.edu>
1284 * src/fcpat.c (FcPatternFindFullFname):
1285 * src/fccfg.c (FcConfigBuildFonts):
1287 Fix problem dating back at least to 2.3.2 where globs weren't
1288 being applied to patterns loaded from a cache.
1290 2005-11-28 Patrick Lam <plam@mit.edu>
1291 * doc/fontconfig-user.sgml:
1293 Fix some obvious spelling mistakes.
1295 2005-11-28 Dirk Mueller <dmueller@suse.com>
1296 Stephan Kulow <coolo@suse.de>
1299 * src/fcmatch.c (FcFontSetMatch):
1301 Don't kill all fonts during match (oops!)
1304 2005-11-25 Dirk Mueller <dmueller@suse.com>
1305 Stephan Kulow <coolo@suse.de>
1306 Michael Matz <matz@suse.de>
1309 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1312 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1313 inline FcCompare into FcFontSetMatch and reorder the
1314 loops, adding a boolean array which blocks patterns from future
1315 consideration if they're known to not be best on some past
1318 2005-11-26 Dirk Mueller <dmueller@suse.com>
1321 * src/fcmatch.c (FcCompareValueList):
1323 Fix incorrect merge.
1325 2005-11-25 Patrick Lam <plam@mit.edu>
1326 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1328 Don't do random matching when bad objects are passed into
1331 2005-11-25 Patrick Lam <plam@mit.edu>
1333 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1334 FcPatternSerialize, FcPatternUnserialize,
1335 FcValueListEnsureBank, FcValueListDistributeBytes,
1336 FcValueListUnserialize):
1338 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1339 _fcPatternElts, _fcValueLists for consistency.
1341 2005-11-25 Dirk Mueller <dmueller@suse.com>
1346 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1348 2005-11-25 Patrick Lam <plam@mit.edu>
1350 * src/fccache.c (FcDirCacheConsume):
1351 * src/fccharset.c (FcCharSetUnserialize):
1352 * src/fcfs.c (FcFontSetUnserialize):
1353 * src/fclang.c (FcLangSetUnserialize):
1354 * src/fcname.c (FcObjectUnserialize):
1355 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1356 FcPatternUnserialize):
1358 Pass around FcCache *s to the Unserialize functions for extra
1359 consistency (and less overhead, for what that's worth).
1361 2005-11-24 Dirk Mueller <dmueller@suse.com>
1365 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1366 * src/fcname.c (FcNameUnparseValue):
1368 Inline the *PtrU functions to gain perf.
1369 Remove unneeded params for the FcCompare* functions.
1371 2005-11-24 Dirk Mueller <dmueller@suse.com>
1374 * src/fcint.h, fontconfig/fontconfig.h:
1376 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1378 * src/fcpat.c, src/fcint.h, src/fcname.c:
1380 Check for type validity during FcPatternAddWithBinding, don't
1381 verify type in FcFontMatch, don't call FcCanonicalize here
1382 (which always does a deep copy).
1384 2005-11-24 Dirk Mueller <dmueller@suse.com>
1387 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1388 * src/fcpat.c (FcPatternAddWithBinding):
1390 Make FcCompareString and FcCompareFamily less expensive.
1391 Only add a value for FC_FAMILY if the proposed value is a string.
1393 2005-11-24 Dirk Mueller <dmueller@suse.com>
1396 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1397 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1398 * src/fcint.h (FcDebug):
1400 Inline FcDebug invocations and only initialize once, in FcInit*.
1401 Improve debug msg in FcPatternPrint.
1403 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1406 * fontconfig/fontconfig.h:
1409 Minor code warning cleanups.
1411 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1414 * fc-match/fc-match.c (main):
1416 Make getopt_long accept -s parameter to fc-match as well.
1418 2005-11-21 Dirk Mueller <dmueller@suse.com>
1421 * src/fcmatch.c (FcCompareValueList):
1423 Manually perform inlining & partial redundancy elimination to
1424 reduce calls to FcValueListPtrU.
1426 2005-11-21 Dirk Mueller <dmueller@suse.com>
1429 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1430 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1432 Only invoke strlen() when really necessary.
1434 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1438 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1439 FcFontCapabilities):
1443 Get rid of the use of freetype internal headers in fcfreetype.c,
1444 since those headers will go away with freetype 2.2. Replace with
1445 public domain ftglue code from pango. Note that the patch removes
1446 some extra error checking in FT_Get_BDF_Property() and comments
1447 out the skipping of empty pcf fonts.
1449 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1452 * fc-lang/fc-lang.c (main):
1454 Further fix of patch from 2005-11-04: miscounted numbers count
1455 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1456 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1458 Removed leafidx_count and numbers_count since they are the same
1459 and replaced them with offset_count.
1461 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1464 * fc-cat/fc-cat.c (main):
1466 Don't crash when fc-cat invoked with no arguments.
1468 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1471 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1473 Fix invalid read access caused by premature free and
1474 GCC4 warnings in libxml2 codepath.
1476 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1479 * src/fccfg.c (FcConfigValues):
1481 List iteration not needed in FcConfigValues, since it's building
1482 up the list itself; we can just strip FcVoid elements during
1485 2005-11-17 Patrick Lam <plam@mit.edu>
1486 * src/fccfg.c (FcConfigValues):
1488 Fix crash on invalid constants in config files (forgot to update
1489 a pointer upon list iteration.)
1491 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1494 * src/fcxml.c (FcTypecheckExpr):
1496 Complain about invalid constants in config files.
1498 2005-11-17 Andreas Schwab <schwab@suse.de>
1501 * src/fccache.c (FcGlobalCacheSave):
1503 Don't add current_arch_start more than once.
1505 2005-11-16 Patrick Lam <plam@mit.edu>
1506 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1507 * src/fcfs.c (FcFontSetUnserialize):
1508 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1509 * src/fcpat.c (FcStrUnserialize):
1511 Fix ordering of ALIGN with respect to saving block_ptr; add
1512 another ALIGN to fcfs.c.
1514 2005-11-16 Patrick Lam <plam@mit.edu>
1515 * src/fccache.c (FcDirCacheProduce)
1517 Fix case where alignment bytes bumped up metadata->count
1518 causing unwarranted failures to write cache files.
1519 (Reported by Stephan Kulow).
1521 2005-11-16 Patrick Lam <plam@mit.edu>
1522 * src/fccache.c (FcDirCacheProduce):
1523 * src/fccharset.c (FcCharSetDistributeBytes):
1524 * src/fcfs.c (FcFontSetDistributeBytes):
1526 * src/fclang.c (FcLangSetDistributeBytes):
1527 * src/fcname.c (FcObjectDistributeBytes):
1528 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1531 Add *NeededBytesAlign(), which overestimates the padding which is
1532 later added by the new ALIGN macro. Fix alignment problems on
1533 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1534 version by Andreas Schwab).
1536 2005-11-16 Stephan Kulow <coolo@kde.org>
1541 Use sysconf to determine proper PAGESIZE value; this
1542 appears to be POSIX-compliant. (reported by Andreas Schwab)
1544 2005-11-04 Patrick Lam <plam@mit.edu>
1545 * fc-lang/fc-lang.c:
1550 Fix bug 2878 (excessive relocations at startup for charsets,
1551 reported by Ross Burton): fc-lang/fc-lang now creates the
1552 static form of the langset, not the dynamic form, so that
1553 the charsets should now be in .rodata.
1555 2005-11-04 Patrick Lam <plam@mit.edu>
1556 * src/fcdir.c (FcDirScanConfig):
1558 Add test for validity of directory caches that
1559 somehow got lost (reported by make distcheck).
1561 2005-11-04 Patrick Lam <plam@mit.edu>
1565 * fontconfig/fontconfig.h:
1567 Bump version to 2.3.92.
1569 2005-11-02 Patrick Lam <plam@mit.edu>
1570 * src/fcpat.c (FcPatternDuplicate):
1572 Fix argument ordering problem in call to FcPatternTransferFullFname.
1574 2005-11-02 Patrick Lam <plam@mit.edu>
1575 * src/fcfreetype.c (FcFreetypeQuery):
1576 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1577 FcPatternTransferFullFname):
1579 Fix warnings and embarrassing double-free error.
1581 2005-11-02 Zhe Su <zsu@novell.com>
1586 Change the rule for artificial emboldening in fonts.conf.in. This
1587 enables the support for artificial emboldening included in cairo.
1589 2005-11-02 Patrick Lam <plam@mit.edu>
1590 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1592 Don't zero out full names for FC_REF_CONSTANT fonts;
1593 also, duplicate full names when transferring, and free
1594 full names when freeing the associated font.
1595 Reported by Jinghua Luo.
1597 2005-11-02 Patrick Lam <plam@mit.edu>
1598 * fc-cache/fc-cache.c (scanDirs):
1599 * src/fcpat.c (FcValueListSerialize):
1601 Revert the previous patch and commit the correct patch:
1602 I forgot a canonicalization in FcValueListSerialize, so
1603 that it would choke on already-serialized input files. Duh!
1605 2005-11-02 Patrick Lam <plam@mit.edu>
1606 * fc-cache/fc-cache.c (scanDirs):
1608 Forcibly rescan a directory before writing a fresh local
1609 cache file for that directory, fixing the losing-fonts
1610 problem reported by Mike Fabian and also apparently the
1611 font cache file corruption.
1613 2005-11-02 Patrick Lam <plam@mit.edu>
1614 * src/fccache.c (FcGlobalCacheLoad):
1616 Fix thinko: actually, the whole global cache is stale
1617 if the global cache is older than the (newest) config file.
1619 2005-11-02 Patrick Lam <plam@mit.edu>
1620 * src/fccache.c (FcGlobalCacheLoad):
1621 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1624 Declare the global cache of a directory's contents to be stale if
1625 the directory is newer than the (newest) configuration file.
1627 2005-10-31 Patrick Lam <plam@mit.edu>
1629 * src/fclist.c (FcListAppend):
1630 * src/fcmatch.c (FcFontRenderPrepare):
1631 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1632 FcPatternFreeze, FcPatternBaseFreeze):
1634 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1635 applications continue breaking.
1637 2005-10-31 Patrick Lam <plam@mit.edu>
1638 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1639 * src/fcfreetype.c (FcFreeTypeQuery):
1641 Fix small memory error (tried to free argv); use basename and
1642 dirname correctly (they can modify their arguments).
1644 2005-10-31 Patrick Lam <plam@mit.edu>
1652 Reinstate basename patch, but keep a hash table linking FcPatterns
1653 to their fully-qualified font names for clients' benefit. Clients
1654 only pay for the font names once they request the FC_FILE property
1655 from an FcPattern, but the font name is malloc'd at that point (i.e.
1656 not mmapped: that's impossible, since it may vary between machines.)
1657 Clients do have to pay for a copy of the path name per cache file.
1659 Note that FcPatternGetString now does some rewriting if you ask
1660 for an FC_FILE, appending the pathname as appropriate.
1662 2005-10-31 Patrick Lam <plam@mit.edu>
1663 * src/fcfreetype.c (FcFreeTypeQuery):
1665 Revert basename patch, which breaks fontconfig clients on my system.
1667 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1670 * fontconfig/fonts.conf.in:
1671 * fontconfig/fontconfig.h:
1675 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1676 to load embedded bitmaps or not.
1678 2005-10-25 Patrick Lam <plam@mit.edu>
1679 * src/fcfreetype.c (FcFreeTypeQuery):
1681 Only add basename to patterns' FC_FILE element, not any part of
1684 2005-10-22 Patrick Lam <plam@mit.edu>
1687 Add some more consts, fixing more GCC4 warnings.
1689 2005-10-22 Zhe Su <zsu@novell.com>
1692 Support localized font family and style names.
1693 This has been reported to break old apps like xfd, but modern
1694 (gtk+/qt/mozilla) apps work fine.
1696 2005-10-21 Patrick Lam <plam@mit.edu>
1697 * src/fccache.c (FcGlobalCacheLoad):
1699 Destroy the global cache file if it's terminally broken. (reported by
1702 2005-10-21 Patrick Lam <plam@mit.edu>
1703 * fc-list/fc-list.c (main):
1704 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1705 * fontconfig/fontconfig.h:
1707 Prevent fc-list from escaping strings when printing them (reported by
1710 2005-10-20 Marcus Meissner <meissner@suse.de>
1713 * fontconfig/fontconfig.h:
1715 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1717 2005-10-14 Ross Burton <ross@burtonini.com>
1720 * fc-glyphname/fc-glyphname.c:
1723 Add consts to variables so as to move arrays into .rodata.
1725 2005-10-14 Mike Fabian <mfabian@suse.de>
1728 * src/fccache.c (FcDirCacheUnlink):
1730 Check existence of directory cache file before attempting to unlink.
1732 2005-10-13 Patrick Lam <plam@mit.edu>
1733 * src/fccache.c (FcDirCacheUnlink):
1735 Fix flipped return value on unlink. (Reported by Mike Fabian)
1737 2005-10-12 Patrick Lam <plam@mit.edu>
1740 * src/fcdir.c (FcDirScanConfig):
1743 When fc-cache is run without --force, use directory cache files
1744 to speed up fc-cache run time. (Reported by Mike Fabian)
1746 2005-10-06 Patrick Lam <plam@mit.edu>
1748 * src/fcname.c (FcObjectToPtr):
1749 * src/fcpat.c (FcStrStaticName):
1751 Add padding to make valgrind and glibc not hate each other
1752 when calling strlen().
1754 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1755 reviewed by: plam & keithp
1759 Modify config file to use Greek fonts before Asian fonts with
1762 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1763 reviewed by: plam & keithp
1767 Use libtool -no-undefined flag on all platforms.
1769 2005-10-05 Patrick Lam <plam@mit.edu>
1770 * src/fccache.c (FcCacheHaveBank):
1772 Implement move-to-front array for banks (perf regression
1773 reported by Ronny V. Vindenes).
1775 2005-10-04 Patrick Lam <plam@mit.edu>
1776 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1777 FcDirCacheHasCurrentArch):
1778 * fc-cache/fc-cache.c (scanDirs):
1779 * fontconfig/fontconfig.h:
1781 Add new API which unlinks directory caches and checks dir caches
1782 for existence of appropriate sections. Fix fc-cache to unlink
1783 stale cache files and save directory caches that lack relevant
1786 2005-10-03 Patrick Lam <plam@mit.edu>
1787 * src/fccache.c (FcDirCacheValid):
1789 Ensure that a directory cache has the appropriate section
1790 before reporting that it is valid (reported by Matthias Clasen).
1792 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1800 Use libxml2 if requested (with --enable-libxml2) or if
1801 expat is not available.
1803 2005-09-29 Patrick Lam <plam@mit.edu>
1804 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1806 Fix multi-arch cache files: compute the position for the
1807 block to be added using info from OrigFile, not NewFile.
1809 2005-09-28 Patrick Lam <plam@mit.edu>
1810 * src/fccache.c (FcCacheMachineSignature):
1812 Cast results of sizeof() to unsigned int to get rid of
1813 warnings on x86_64 (thanks Matthias Clasen).
1815 2005-09-27 Patrick Lam <plam@mit.edu>
1816 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1819 Use FcAtomic to rewrite cache files.
1821 2005-09-27 Patrick Lam <plam@mit.edu>
1823 * src/fccache.c (FcDirCacheWrite):
1825 Don't unlink the fonts.cache-2 file even if there's no data
1826 to write; just write an empty cache file. (thanks Lubos Lunak)
1828 2005-09-27 Patrick Lam <plam@mit.edu>
1830 * src/fccache.c (FcDirCacheWrite):
1832 Allocate room for the subdirectory names in each
1833 directory cache. Thanks to James Cloos for finding
1834 and diagnosing this bug!
1836 2005-09-22 Patrick Lam <plam@mit.edu>
1838 * fc-cache/fc-cache.sgml:
1839 * src/fccache.c (FcDirCacheWrite):
1840 * src/fccache.h (struct FcCache):
1842 Update documentation -- fc-cache's man page now says that you
1843 need to run fc-cache once per cached architecture; add some
1844 documentation to the FcCache structure.
1846 Make fc-cache write out fonts.cache-2 files for directories with
1847 no fonts (i.e. only subdirectories).
1849 2005-09-22 Patrick Lam <plam@mit.edu>
1851 * fc-cache/fc-cache.sgml:
1852 * fc-case/fc-case.c:
1853 * fc-glyphname/fc-glyphname.c:
1859 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1863 * fc-lang/fc-lang.c:
1864 * fontconfig/fcprivate.h:
1865 * fontconfig/fontconfig.h:
1879 Implement new mmaped cache for font information.
1880 Bump so revision to 2.3.90.
1882 2005-07-25 Keith Packard <keithp@keithp.com>
1884 * doc/fontconfig-user.sgml:
1885 * fc-glyphname/fc-glyphname.c: (scan), (main):
1886 * fc-lang/fc-lang.c: (FcConfigHome):
1887 * fc-match/fc-match.c: (main):
1888 * src/fccfg.c: (FcConfigHome):
1889 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1890 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1891 (addtag), (FcFontCapabilities):
1892 * src/fcpat.c: (FcValueListEntCreate):
1893 * src/fcstr.c: (FcStrCaseWalkerInit):
1894 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1896 Various GCC 4 cleanups for signed vs unsigned char
1898 Match only [0-9]*.conf files in <include>{directory}</include>
1899 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1901 2005-07-15 Carl Worth <cworth@cworth.org>
1904 * src/fcinit.c: (FcFini):
1905 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1908 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1909 Pull the FcObjectStateName hash table out to file scope, and add
1910 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1913 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1916 2005-06-16 Patrick Lam <plam@MIT.EDU>
1920 * src/fccfg.c: (FcConfigCompareValue):
1921 Make FcOpNotContains use FcStrStr for strings so that
1922 it matches semantics for !FcOpContains.
1924 2005-05-20 Keith Packard <keithp@keithp.com>
1928 Move fontconfig source package to libs as per override
1930 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1932 reviewed by: Mike Fabian
1935 The ka.orth file requires several characters which are not
1936 used anymore in modern Georgian and which are missing in the free
1937 Georgian TrueType fonts downloadable at:
1939 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1941 2005-04-27 Keith Packard <keithp@keithp.com>
1945 Update date to real 2.3.2 release date.
1946 Fix change attributions
1948 2005-04-27 Keith Packard <keithp@keithp.com>
1951 Bump so revision for 2.3.2
1952 * fc-cache/fc-cache.c: (scanDirs):
1953 Fix a few minor leaks in error cases.
1955 2005-04-23 Keith Packard <keithp@keithp.com>
1960 * fontconfig/fontconfig.h:
1961 Update for version 2.3.2
1963 2005-04-21 Keith Packard <keithp@keithp.com>
1965 * debian/fontconfig.postinst:
1966 Don't force bitmap font enable in default
1967 configuration; allows users to override this in
1977 * debian/po/pt_BR.po:
1978 * debian/po/templates.pot:
1980 * debian/po/zh_CN.po:
1981 Updated translations
1983 * fc-cache/fc-cache.c: (main):
1984 Destroy font configuration on exit to help valgrind
1987 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1988 (FcFreeTypeCheckGlyph):
1989 Use own transcoding routines in preference to iconv
1990 which appears to have leaks in some translators.
1991 Call iconv_close after using iconv (oops).
1993 Prefer unicode encoding of Euro char as some
1994 fonts mis-encode Euro in other ones.
1996 Must fetch bitmap glyphs to get width values
1997 to check for monospace/dual-width fonts.
1999 2005-04-13 Ross Burton <ross@burtonini.com>
2002 Check that a pattern isn't already frozen in FcPatternFreeze.
2004 2005-03-31 Ross Burton <ross@burtonini.com>
2009 Run all FcPattern objects through FcObjectStaticName, so that
2010 compares can be done on pointers instead of strings (#2659)
2012 2005-03-17 Tor Lillqvist <tml@novell.com>
2014 * src/fontconfig.def.in: Add the .dll to the dll name.
2016 2005-03-10 Keith Packard <keithp@keithp.com>
2018 * debian/README.Debian:
2019 Update to reflect configuration changes
2021 * debian/fontconfig.postinst:
2022 Fix Autohint vs Autohinter mistake
2023 * debian/fontconfig.templates:
2024 Adopt changes from Josselin Mouette for configuration descriptions
2025 Update debian to version 2.3.1-2
2027 2005-03-08 Keith Packard <keithp@keithp.com>
2031 Update debian for 2.3.1
2033 2005-03-09 Tor Lillqvist <tml@novell.com>
2035 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
2038 * src/fccfg.c (FcConfigFileExists): Check also drive letter
2041 2005-03-08 Keith Packard <keithp@keithp.com>
2045 * fontconfig/fontconfig.h:
2048 2005-03-05 Keith Packard <keithp@keithp.com>
2050 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
2051 Include space and remove numbers from valid script tags.
2052 This ensures that tags like 'lao ' work while rejecting
2053 those which have any digits.
2054 Eliminate a spurious debugging variable (len)
2056 2005-03-05 Keith Packard <keithp@keithp.com>
2058 * src/fcfreetype.c: (addtag), (GetScriptTags),
2059 (FcFontCapabilities):
2060 Rework GSUB/GPOS script parsing to survive broken fonts.
2061 Thanks for the broken font go to Manish Singh
2063 2005-03-05 Keith Packard <keithp@keithp.com>
2068 * debian/fontconfig.config:
2069 * debian/fontconfig.templates:
2071 Include 2.3 release information in changelog
2072 Add Josselin Mouette as an Uploader
2073 Set hinting_type to low priority configuration option
2076 * debian/fontconfig.postinst:
2077 yes_bitmaps.conf -> yes-bitmaps.conf
2083 2005-03-02 Keith Packard <keithp@keithp.com>
2086 * conf.d/Makefile.am:
2087 * conf.d/autohint.conf:
2088 * conf.d/no-sub-pixel.conf:
2089 * conf.d/sub-pixel.conf:
2090 * conf.d/unhinted.conf:
2091 * debian/autohint.conf:
2092 * debian/fontconfig.install:
2093 * debian/fontconfig.postinst:
2094 * debian/fontconfig.templates:
2095 * debian/no-sub-pixel.conf:
2096 * debian/unhinted.conf:
2097 Move debian-specific conf file examples upstream.
2099 Sub-pixel configuration examples must smash subpixel value
2100 as Xft always sets it from X.
2102 Change sub-pixel rendering debconf descriptions from
2103 Enable/Disable to Always/Never.
2105 2005-03-02 Keith Packard <keithp@keithp.com>
2108 * conf.d/.cvsignore:
2110 Ignore more build detritus
2113 Add debian package construction stuff.
2115 * config/config.guess:
2116 * config/config.sub:
2117 Update to newer versions of these tools
2120 Get library manuals to build again (we love automake).
2122 * debian/README.Debian:
2123 * debian/autohint.conf:
2128 * debian/fontconfig-udeb.install:
2129 * debian/fontconfig.config:
2130 * debian/fontconfig.defoma:
2131 * debian/fontconfig.dirs:
2132 * debian/fontconfig.install:
2133 * debian/fontconfig.postinst:
2134 * debian/fontconfig.postrm:
2135 * debian/fontconfig.templates:
2136 * debian/libfontconfig1-dev.install:
2137 * debian/libfontconfig1.install:
2138 * debian/local.conf.md5sum:
2139 * debian/no-sub-pixel.conf:
2140 * debian/po/POTFILES.in:
2149 * debian/po/pt_BR.po:
2150 * debian/po/templates.pot:
2152 * debian/po/zh_CN.po:
2154 * debian/unhinted.conf:
2155 Update debian build system to switch maintainers and
2156 deal with 2.3 functionality
2158 2005-03-01 Keith Packard <keithp@keithp.com>
2162 * fontconfig/fontconfig.h:
2165 2005-03-01 Keith Packard <keithp@keithp.com>
2168 Generate and install PDF versions of the manuals
2170 * doc/fcpattern.fncs:
2173 * doc/fcstring.fncs:
2174 Add missing exported functions, fix data types
2176 * doc/fontconfig-devel.sgml:
2177 Add missing pattern elements.
2179 * doc/fontconfig-user.sgml:
2180 Add missing pattern elements. Document conf.d usage,
2181 clarify available orthography list. Fix some config file
2182 attributes. Complete list of constants.
2184 * fontconfig/fontconfig.h:
2185 Mark FC_SOURCE deprecated.
2187 * src/fcfreetype.c: (FcFreeTypeQuery):
2188 Don't set FC_SOURCE any longer.
2190 2005-02-28 Keith Packard <keithp@keithp.com>
2193 * conf.d/Makefile.am:
2195 * conf.d/no-bitmaps.conf:
2196 * conf.d/sub-pixel.conf:
2197 * conf.d/yes-bitmaps.conf:
2199 Create prototype /etc/fonts/conf.d directory with a few
2200 sample configuration files.
2201 Deprecate use of local.conf for local customizations in favor of
2202 this directory based scheme which is more easily integrated into
2203 installation systems.
2206 Tag FC_EMBOLDEN as a boolean variable
2208 2005-02-10 Keith Packard <keithp@keithp.com>
2210 reviewed by: pborelli@katamail.com
2212 * src/fcdir.c: (FcFileScanConfig):
2213 Free patterns from fonts which are rejected by configuration
2216 2005-01-28 Keith Packard <keithp@keithp.com>
2220 * fontconfig/fontconfig.h:
2221 Update for version 2.2.99
2223 2005-01-28 Keith Packard <keithp@keithp.com>
2226 Add a few pointers (#2284, #2285)
2228 2005-01-28 Keith Packard <keithp@keithp.com>
2231 * src/fcname.c: (FcNameBool):
2232 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2233 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2234 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2235 Polite typechecking for test and edit expressions. Helps
2236 catch errors in the font configuration. (bug 229)
2238 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2240 reviewed by: Keith Packard <keithp@keithp.com>
2243 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2245 2005-01-13 Keith Packard <keithp@keithp.com>
2247 * doc/fontconfig-user.sgml:
2248 Add SEE ALSO section (bug 2085)
2250 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2252 reviewed by: Keith Packard <keithp@keithp.com>
2257 * fc-case/Makefile.am:
2258 * fc-glyphname/Makefile.am:
2259 * fc-lang/Makefile.am:
2260 * src/fontconfig.def.in:
2261 Cross compiling fixes (bug 280)
2263 2005-01-13 Keith Packard <keithp@keithp.com>
2266 Update blanks list (Closes bug 86)
2268 2005-01-04 Keith Packard <keithp@keithp.com>
2270 * src/fccache.c: (FcCacheFontSetAdd):
2271 Verify that every font pattern loaded from cache has
2272 both FC_FILE and FC_FAMILY entries.
2273 Attempt to fix bug #2219.
2275 2004-12-29 Keith Packard <keithp@keithp.com>
2279 * fontconfig/fontconfig.h:
2280 Update for version 2.2.98
2282 2004-12-29 Keith Packard <keithp@keithp.com>
2284 * fontconfig/fontconfig.h:
2285 Document ASCII limitations of Fc character conversion macros
2286 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2287 Fix off-by-one error in utf-8 case walking code.
2288 Add FcStrDowncase (useful for testing case conversion functions)
2290 2004-12-29 Keith Packard <keithp@keithp.com>
2293 * fc-case/.cvsignore:
2294 clean up CVS ignore lists
2295 * fc-lang/iso-3166.txt:
2296 Add territory database
2298 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2300 Reviewed by: Keith Packard
2303 Remove Han characters from Korean orthography
2305 2004-12-29 Keith Packard <keithp@keithp.com>
2308 Reorder utility programs to make sure fc-case is run before fc-lang
2309 as fc-lang uses fcstr.c which uses fccase.h
2313 2004-12-29 Keith Packard <keithp@keithp.com>
2316 Adopt some RedHat suggestions for standard font configuration.
2320 * fc-case/CaseFolding.txt:
2321 * fc-case/Makefile.am:
2322 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2323 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2324 (dump), (parseRaw), (caseFoldReadRaw), (main):
2325 * fc-case/fccase.tmpl.h:
2326 Add new helper program 'fc-case' to construct case folding
2327 tables from standard Unicode CaseFolding.txt file
2330 * src/fclist.c: (FcListValueHash):
2331 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2332 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2333 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2334 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2335 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2336 Re-implement case insensitive functions with Unicode
2337 aware versions (including full case folding mappings)
2339 2004-12-13 Keith Packard <keithp@keithp.com>
2341 reviewed by: Owen Taylor <otaylor@redhat.com>
2343 * src/fcmatch.c: (FcFontSetSort):
2344 I changed FcFontSetSort to respect the generic aliases better
2345 in the face of language matching.
2347 What I did was to ammend the strict sort order used by FcFontSort so
2348 that it 'satisfies' the language specified in the pattern by locating
2349 the best matching font supporting each pattern language and then
2350 ignores language in the remaining fonts for purposes of matching.
2352 So, when asking for 'sans:lang=en', you'll get an English font first,
2353 and then the remaining fonts sorted with respect to the 'sans' alias
2354 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2356 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2358 reviewed by: Keith Packard <keithp@keithp.com>
2360 * fontconfig/fontconfig.h:
2363 Configuration changes to request synthetic emboldening of
2364 fonts. The actual emboldening code will live in Xft.
2366 2004-12-09 John Thacker <thacker@math.cornell.edu>
2368 reviewed by: Keith Packard <keithp@keithp.com>
2372 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2373 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2374 и), and don't even appear in KOI8-R. (The hypothesis that they
2375 don't appear in KOI8-R due to their similarity with Latin I and i is
2376 eliminated by their presence in KOI8-U.) I have a couple of fonts
2377 with Russian support that don't have the letter.
2379 Therefore, 0406 and 0456 should be removed from or commented out of
2382 2004-12-06 michael meeks <mmeeks@novell.com>
2384 Reviewed by: Keith Packard <keithp@keithp.com>
2386 * src/fcinit.c: (FcMemReport):
2388 * src/fclist.c: (FcObjectSetAdd):
2389 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2390 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2391 * src/fcxml.c: (FcParsePatelt):
2392 memoize strings and share a single copy for all uses. Note that
2393 this could be improved further by using statically allocated blocks
2394 and gluing multiple strings together, but I'm basically lazy.
2395 In my environment with 800 font files, I get a savings of about 90KB.
2397 2004-12-06 Keith Packard <keithp@keithp.com>
2401 * config/Makedefs.in:
2404 * doc/fcatomic.fncs:
2405 * doc/fcblanks.fncs:
2406 * doc/fccharset.fncs:
2407 * doc/fcconfig.fncs:
2408 * doc/fcconstant.fncs:
2410 * doc/fcfontset.fncs:
2411 * doc/fcfreetype.fncs:
2413 * doc/fcmatrix.fncs:
2414 * doc/fcobjectset.fncs:
2415 * doc/fcobjecttype.fncs:
2416 * doc/fcpattern.fncs:
2417 * doc/fcstring.fncs:
2418 * doc/fcstrset.fncs:
2420 * doc/fontconfig-devel.sgml:
2421 * doc/fontconfig-user.sgml:
2423 * doc/version.sgml.in:
2424 * fc-cache/Makefile.am:
2425 * fc-cache/fc-cache.c:
2426 * fc-glyphname/Makefile.am:
2427 * fc-glyphname/fc-glyphname.c:
2428 * fc-glyphname/fcglyphname.tmpl.h:
2429 * fc-lang/Makefile.am:
2439 * fc-lang/az_ir.orth:
2473 * fc-lang/fc-lang.c:
2474 * fc-lang/fc-lang.man:
2475 * fc-lang/fclang.tmpl.h:
2520 * fc-lang/ku_ir.orth:
2553 * fc-lang/ps_af.orth:
2554 * fc-lang/ps_pk.orth:
2583 * fc-lang/ti_er.orth:
2584 * fc-lang/ti_et.orth:
2610 * fc-lang/zh_cn.orth:
2611 * fc-lang/zh_hk.orth:
2612 * fc-lang/zh_mo.orth:
2613 * fc-lang/zh_sg.orth:
2614 * fc-lang/zh_tw.orth:
2616 * fc-list/Makefile.am:
2617 * fc-list/fc-list.c:
2618 * fc-match/Makefile.am:
2619 * fc-match/fc-match.1:
2620 * fc-match/fc-match.c:
2621 * fontconfig/fcfreetype.h:
2622 * fontconfig/fcprivate.h:
2623 * fontconfig/fontconfig.h:
2644 Change files from ISO-Latin-1 to UTF-8
2646 2004-12-04 Keith Packard <keithp@keithp.com>
2649 Update links to new freedesktop.org locations
2651 Add uninstall-local to get rid of fonts.conf and local.conf if they
2652 match the distributed versions. Fixes 'make distcheck'
2654 2004-12-04 Keith Packard <keithp@keithp.com>
2658 * fontconfig/fontconfig.h:
2659 Updates for version 2.2.97
2661 2004-12-04 Owen Taylor <otaylor@redhat.com>
2663 reviewed by: Keith Packard <keithp@keithp.com>
2665 * fc-cache/fc-cache.c: (main):
2666 Sleep for two seconds before exiting to make sure timestamps
2667 for future changes have distinct mod times in the file system.
2670 Add Punjabi orthography. Bug #1671.
2672 2004-12-04 Keith Packard <keithp@keithp.com>
2675 Just remove the FC_FONTDATE -- it has locale issues and
2676 annoys redhat multi-arch installs. Now that all X fonts are
2677 included without prejudice, the chances of the date being at
2678 all interesting are rather limited. Bug #505.
2680 Add copyright and license
2682 2004-12-04 Keith Packard <keithp@keithp.com>
2685 Change default set of fonts to include all of
2686 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2687 * doc/fontconfig-user.sgml:
2688 Document new <include>directory-name</include> semantics
2690 add <include ignore_missing="yes">conf.d</include>
2692 Add selectfont to ignore bitmap fonts, add comment for
2693 selectfont which accepts bitmap fonts.
2696 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2697 Allow <include> configuration elements to reference directories.
2698 Parse and load all files of the form [0-9]* in sorted order.
2700 2004-12-04 Keith Packard <keithp@keithp.com>
2703 Report command line for $srcdir/configure accurately.
2706 2004-12-04 Keith Packard <keithp@keithp.com>
2708 * src/fcfreetype.c: (FcFreeTypeQuery):
2709 Check for non-empty face->family_name and face->style_name
2710 before using those for the font. Empty names match everything.
2713 2004-12-04 Keith Packard <keithp@keithp.com>
2716 * fontconfig/fontconfig.h:
2717 * src/fcfreetype.c: (FcFreeTypeQuery):
2719 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2720 available. This provides font file format information (BDF, Type 1,
2721 PCF, TrueType) for each font. Closes #109.
2723 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2725 reviewed by: Keith Packard <keithp@keithp.com>
2727 * doc/fontconfig-user.sgml:
2730 * fontconfig/fontconfig.h:
2731 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2732 (GetScriptTags), (FcFontCapabilities):
2734 Add detection for font capabilities (bug #105)
2736 2004-12-04 Keith Packard <keithp@keithp.com>
2739 Move existing fonts.conf to fonts.conf.bak
2742 Add detection of iconv
2744 * doc/fcpattern.fncs:
2745 * doc/fontconfig-devel.sgml:
2746 * doc/fontconfig-user.sgml:
2748 Document new selectfont elements
2751 Switch to UTF-8 in comment
2753 * fontconfig/fontconfig.h:
2755 Add fullname, and family/style/fullname language entries
2757 * src/fccache.c: (FcCacheFontSetAdd):
2758 * src/fcdir.c: (FcFileScanConfig):
2759 Respect selectfont/*/glob
2762 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2763 (FcConfigCompareValue), (FcConfigPatternsAdd),
2764 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2765 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2766 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2767 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2768 Add support for selectfont
2770 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2771 (FcStringInPatternElement), (FcFreeTypeQuery):
2772 Add multi-lingual family/style/fullname support
2774 * src/fclist.c: (FcListPatternMatchAny):
2775 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2777 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2778 (FcObjectStaticName):
2779 Add new FcPatternRemove/FcPatternAppend.
2780 FcObjectStaticName stores computed pattern element names which
2781 are required to be static.
2783 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2788 Remove spurious / after $(DESTDIR)
2790 2004-06-30 Keith Packard <keithp@keithp.com>
2794 * fontconfig/fontconfig.h:
2797 2004-06-30 Keith Packard <keithp@keithp.com>
2799 Provided by: Lubos Lunak <l.lunak@suse.cz>
2801 * src/fccfg.c: (FcConfigUptoDate):
2802 However FcConfigUptoDate() doesn't seem to work. See the attached
2803 patch. First there's an obvious misplaced parenthesis making it
2804 return always false, and second, even this call fails to detect font
2805 changes (e.g. adding a new font to
2806 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2807 well. The problem seems to be triggered by my fonts.conf specifying
2808 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2809 doesn't include subdirs, unlike config->fontDirs.
2811 2004-06-03 Keith Packard <keithp@keithp.com>
2813 * fontconfig/fontconfig.h:
2814 Remove comma at end of FcResult enum definition.
2816 2004-05-29 Keith Packard <keithp@keithp.com>
2819 Add steps to md5sum release
2821 2004-05-29 Keith Packard <keithp@keithp.com>
2825 * fontconfig/fontconfig.h:
2828 2004-05-29 Keith Packard <keithp@keithp.com>
2830 * fontconfig/fontconfig.h:
2831 * src/fcmatch.c: (FcFontSetMatch):
2832 Add FcResultOutOfMemory to provide an accurate error when
2833 FcFontSetMatch fails in this way
2836 Make #warning about lacking various FreeType features indicate
2837 which version those features appeared so users know how to
2838 fix the problem (Thanks to Anton Tropashko)
2840 2004-05-05 Keith Packard <keithp@keithp.com>
2842 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2843 Replace MIN/MAX/ABS macros which happen to have come
2844 from FreeType with fontconfig-specific ones (FC_*)
2846 2004-04-23 Keith Packard <keithp@keithp.com>
2849 Extend release preparation instructions to include
2850 notification and distribution steps
2852 2004-04-23 Keith Packard <keithp@keithp.com>
2856 * fontconfig/fontconfig.h:
2857 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2859 2004-04-23 Keith Packard <keithp@keithp.com>
2862 Ignore a few more autotool files
2864 2004-04-14 Keith Packard <keithp@keithp.com>
2867 Add instructions for doing a release
2869 * fontconfig.spec.in:
2870 clean up .spec file; perhaps this will be useful to somebody...
2874 * fontconfig/fontconfig.h:
2877 * fc-lang/fc-lang.c:
2878 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2880 * fc-glyphname/Makefile.am:
2881 * fc-lang/Makefile.am:
2882 * fc-list/Makefile.am:
2883 * fc-match/Makefile.am:
2885 Add WARN_CFLAGS to pass -W flags for GCC systems
2887 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2888 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2889 Change various char types around to match across
2891 Fixed bug in using available_sizes[i].height which
2892 is in pixels, not 64ths of a pixel.
2894 2004-03-06 Keith Packard <keithp@keithp.com>
2896 * src/fcfreetype.c: (FcFreeTypeQuery):
2897 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2898 matches looking for explicit values prefer exact matches
2900 2004-03-02 Keith Packard <keithp@keithp.com>
2902 Supplied by: mfabian@suse.de (Mike FABIAN)
2904 * src/fcfreetype.c: (FcFreeTypeQuery):
2905 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2906 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2908 2004-02-21 Manish Singh <yosh@gimp.org>
2910 * fc-glyphname/fc-glyphname.c: (main):
2911 Cast strlen to int for printf, so we're 64-bit clean.
2913 2004-02-11 Keith Packard <keithp@keithp.com>
2916 * src/fcfreetype.c: (FcGetPixelSize):
2917 Ok, so I messed up the test for y_ppem. Let's see if I
2918 got it right this time.
2920 2004-02-10 Keith Packard <keithp@keithp.com>
2923 * src/fcfreetype.c: (FcGetPixelSize):
2924 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2925 FT_Bitmap_Size record. Add a configure.in test for this
2926 and change the code accordingly (using height instead).
2928 2004-02-06 Keith Packard <keithp@keithp.com>
2931 Add Low Saxon orthography
2932 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2934 * src/fccfg.c: (FcConfigNewestFile):
2935 Oops. Left 'newest.set' unset, which would miscompute
2938 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2939 (FcFreeTypeCheckGlyph):
2940 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2941 font properties (which report the wrong value in current FreeType)
2943 Don't attempt to check for empty glyphs in non-scalable fonts; they
2946 2004-02-01 Tor Lillqvist <tml@iki.fi>
2948 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2949 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2950 cache if config->cache is NULL, which happens if FcConfigHome() is
2951 NULL. Guard against that by using the temp folder in that case.
2953 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2955 * fc-lang/az_ir.orth:
2956 * fc-lang/ku_ir.orth:
2957 * fc-lang/ps_af.orth:
2958 * fc-lang/ps_pk.orth:
2959 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2960 (Afghan and Pakistani).
2962 Updated Urdu orthography with real data.
2964 2003-12-11 Carl Worth <cworth@east.isi.edu>
2966 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2969 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2971 (all-local): Remove excessive whitespace.
2973 * autogen.sh: Add 'set -e' to abort when any program fails,
2974 (avoids printing of 'now type make' after configure aborts).
2976 2003-11-17 Eric Christopherson <rakko@charter.net>
2978 reviewed by: Keith Packard <keithp@keithp.com>
2981 * fontconfig/fcfreetype.h:
2983 Switch to FreeType 2.1.7 style includes. Bug #150.
2985 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2987 * fc-list/fc-list.sgml: Add some example usages.
2989 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2992 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2995 2003-10-27 Keith Packard <keith@keithp.com>
2998 * fontconfig/fontconfig.h:
2999 Update to version 2.2.92
3001 2003-10-27 Keith Packard <keithp@keithp.com>
3006 * fc-cache/Makefile.am:
3007 * fc-glyphname/Makefile.am:
3008 * fc-lang/Makefile.am:
3009 * fc-list/Makefile.am:
3010 * fc-match/Makefile.am:
3013 Yet more cleanups to finish getting 'make distcheck' working
3014 This has been tested to ensure that it even works from a _build
3017 2003-10-26 Keith Packard <keithp@keithp.com>
3021 * fc-cache/Makefile.am:
3022 * fc-glyphname/Makefile.am:
3023 * fc-lang/Makefile.am:
3024 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
3025 * fc-list/Makefile.am:
3026 * fc-match/Makefile.am:
3027 Attempts to fix 'make distcheck' work. Things are
3028 progressing pretty well, but there are still failures
3029 long into the process dealing with docs (as always).
3031 The big changes here are mostly to make $(srcdir) != "."
3032 work correctly, fixing the docbook related sections and
3033 fc-lang were particularily tricky. Docbook refuses to load
3034 system entities from anywhere other than where the original .sgml
3035 file was located, so no luck looking in "." for the
3036 configure-generated version.sgml and confdir.sgml files.
3038 fc-lang needed help finding .orth files; added a -d option
3039 to set the directory as the least evil of many options.
3041 Now to go use a faster machine and try and wring out the last
3044 2003-10-26 Keith Packard <keithp@keithp.com>
3048 2003-10-26 Keith Packard <keithp@keithp.com>
3051 Include confdir.sgml.in in EXTRA_DIST
3053 2003-10-09 Josselin Mouette <joss@debian.org>
3055 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
3056 * fc-list/fc-list.sgml fc-list/Makefile.am:
3057 Replace fc-cache and fc-list manpages with more detailed, SGML
3060 2003-09-23 Owen Taylor <otaylor@redhat.com>
3062 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3063 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3064 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3067 2003-09-23 Owen Taylor <otaylor@redhat.com>
3069 * fc-lang/ka.orth: Remove Georgian capitals, they
3070 aren't used for normal writing. (Bug #116)
3072 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3074 * doc/fontconfig-devel.sgml:
3075 * doc/fontconfig-user.sgml:
3076 * fontconfig/fontconfig.h:
3078 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3079 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3081 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3082 monospace and dual-width fonts, allow roughly a 3% variance in the
3085 2003-08-31 Manish Singh <yosh@gimp.org>
3087 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3090 2003-08-15 Carl Worth <cworth@isi.edu>
3092 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3093 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3095 * src/fcpat.c (FcValueListEntDestroy): New function to support
3096 FcFini memory cleanup. Some statistics are not kept in
3098 (FcValueListFreeze): Move hashTable outside this function so it
3099 can be accessed by FcValueListThawAll.
3100 (FcValueListThawAll): New function complements FcValueListFreeze.
3101 (FcPatternBaseFreeze): Move hashTable outside this function so it
3102 can be accessed by FcPatternBaseThawAll.
3103 (FcPatternBaseThawAll): New function complements
3104 FcPatternBaseFreeze.
3105 (FcPatternThawAll): New function complements FcPatternFreeze.
3107 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3109 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3110 allocated FcCharLeafEnt "blocks" so they can be freed later.
3111 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3112 can be accessed by FcCharSetThawAllLeaf.
3113 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3114 (FcCharSetFreezeBase): Move hashTable outside this function so it
3115 can be accessed by FcCharSetThawAll.
3116 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3118 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3119 (FcConfigDestroy): Fic leak of FcBlanks.
3121 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3122 (main): Add call to FcFini when finished.
3124 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3125 static. Add prototypes.
3127 * doc/fcinit.fncs: Add documentation for FcFini function.
3129 * doc/edit-sgml.c: Mark several local functions as static. Add
3132 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3134 2003-06-15 Tor Lillqvist <tml@iki.fi>
3136 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3137 before comparing (needed on Windows).
3139 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3141 2003-06-13 Tor Lillqvist <tml@iki.fi>
3143 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3146 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3147 WINDOWSFONTDIR token.
3149 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3150 end, not to confuse libtool, which expects the EXPORTS line to be
3151 the first. Add FcConfigEnableHome.
3153 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3154 built as a DLL on Win32.
3156 2003-06-09 Keith Packard <keithp@keithp.com>
3158 * Tag version 2.2.90
3160 2003-06-09 Keith Packard <keithp@keithp.com>
3162 * Optimization in FcLangSetIndex was broken, occasionally
3163 returning a pointer to the wrong location on miss
3165 * Add fc-match to test font matching from the command line.
3167 2003-05-31 Keith Packard <keithp@keithp.com>
3169 * (Bug 85) add support for culmus fonts
3170 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3171 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3173 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3175 * Fix "contains" op for strings and langsets.
3177 2003-05-17 Keith Packard <keithp@keithp.com>
3179 * Fix build error with BDF prop local. Free langset after query
3181 2003-05-14 Keith Packard <keithp@keithp.com>
3183 * Extract spacing from XLFD atom
3185 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3187 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3188 disappeared in 1.30.
3190 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3192 2003-05-12 Keith Packard <keithp@keithp.com>
3194 * Use FcIsWidth to share code
3196 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3197 misclassifying some Han fonts as monospaced.
3199 2003-05-07 Keith Packard <keithp@keithp.com>
3201 * Add filename-based accept/reject to ammend available fonts.
3203 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3204 older FreeType releases.
3206 2003-05-06 Keith Packard <keithp@keithp.com>
3208 * Remove 0b82 and Tamil numbers from tamil
3209 orthography (Jungshik Shin <jshin@mailaps.org>)
3211 2003-05-04 Keith Packard <keithp@keithp.com>
3213 + Map glyph names in fonts with adobe custom encoding to unicode
3215 2003-05-02 Keith Packard <keithp@keithp.com>
3217 * Add FC_WEIGHT_BOOK as weight 75
3219 2003-04-30 Keith Packard <keithp@keithp.com>
3221 * Typo in bitstream foundry name
3223 2003-04-24 Keith Packard <keithp@keithp.com>
3225 * Eliminate italic_angle check for PS fonts
3227 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3229 * Getting closer to fixing /etc/fonts hard-coding.
3231 2003-04-22 Keith Packard <keithp@keithp.com>
3233 * Update autogen.sh to work with newer automake versions
3234 * Handle pattern elements moving during multiple edits
3236 2003-04-23 James Henstridge <james@daa.com.au>
3238 * doc/fontconfig-devel.sgml: close the <para> element.
3240 * doc/fcpattern.fncs: close the <para> element.
3242 * doc/func.sgml: close the <refsynopsisdiv> element.
3244 2003-04-22 Keith Packard <keithp@keithp.com
3246 * Update autogen.sh to work with newer automake versions
3247 * Handle pattern elements moving during multiple edits
3249 2003-04-17 Colin Walters <walters@debian.org>
3251 + Remove some unused variables, and initialize some other ones so
3252 gcc doesn't warn us.
3254 2003-04-16 Keith Packard <keithp@keithp.com>
3256 + tag version 2.1.94
3258 2003-04-16 Keith Packard <keithp@keithp.com>
3260 + add BDF property fetching support for foundry
3261 (from Juliusz Chroboczek)
3262 + add BDF property fetching support for width
3264 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3266 + Implemented foundry generation for Type 1 and TrueType
3268 2003-04-11 Gerard Escalante <g2@magestudios.net>
3270 + Retrieve information from Type1 FontInfo dictionaries
3272 2003-04-07 Colin Walters <walters@verbum.org>
3274 + src/Makefile.am: Fix dummy makefile target names when
3275 MS_LIB_AVAILABLE isn't set.
3277 2003-03-22 Tor Lillqvist <tml@iki.fi>
3279 Changes for Windows:
3281 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3283 + We don't want to hardcode the fonts.conf file location in the
3284 DLL, so we look up the DLL location at run-time in a DllMain()
3285 function. The fonts.conf location is deduced from that.
3287 + The colon can't be used as path separator on Windows,
3288 semicolon is used instead. File path components can be separated
3289 with either slash or backslash. Absolute paths can also begin
3290 with a drive letter.
3292 + Add internal function FcStrLastSlash that strrchr's the last
3293 slash, or backslash on Windows.
3295 + There is no link() on Windows. For atomicity checks, mkdir a
3296 lock directory instead.
3298 + In addition to HOME, also look for USERPROFILE.
3300 + Recognize the special font directory token WINDOWSFONTDIR, to
3301 use the system's font directory.
3303 + Remove the fontconfig-def.cpp that was obsolete. Add
3304 fontconfig.def(.in), without internal functions.
3306 + Add a fontconfig-zip(.in) script, used to build a binary
3309 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3310 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3311 to main package and man3/* to devel package
3313 + Added missing defattr(-, root, root) to main RPM package
3315 + Added HTML and text development documentation to -devel subpackage
3317 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3318 + Added back the configure macro options --disable-docs, otherwise
3319 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3320 version number) unconditionally, causing RPM to fail the build due
3321 to _unpackaged_files_terminate_build. We pick up the pregenerated
3322 docs with %doc already.
3324 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3325 + Removed commented out rpm macro define at top of spec file,
3326 replacing it with a simple explanation, since rpm macros are
3327 expanded by rpm even in comments.
3329 + Changed /usr/bin to _bindir in BuildRequires lines
3331 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3333 + Reorganized file manifest lists
3335 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3337 + fontconfig.spec.in: Improvements from Red Hat spec file.
3339 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3341 + docs/*.sgml: SGML fixes.
3343 Sat Mar 1 17:28:53 PST 2003 keithp
3344 + Ok, so the ChangeLog is a bit out of date
3346 + Lots of bugs fixed; most are in bugzilla, the
3347 biggest problems were in cache management where
3348 Owen discovered the library would lose badly when
3349 combining fonts-cache and ~/.fonts-cache data
3351 + Converted from autoconf to automake. This after
3352 getting patches accepted into libtool to allow
3353 the '-version-number' argument which lets
3354 packages set version numbers explicitly rather
3355 than the roundabout libtool way
3357 + Converted documentation to SGML using the docbook
3358 DTD. Now .txt and .html documents are installed
3359 in /usr/share/doc/fontconfig and there's no
3360 man page. Perhaps a man version can be written
3363 Sat Aug 31 15:21:22 PDT 2002 keithp
3364 + Xrender and Xft had several bugs related to
3365 rendering manually placed or poly-face text
3367 + Added more complete memory tracing in fontconfig
3368 Checked with (patched) mozilla and found no leaks
3370 + Updated Latin orthographies by comparing those from
3371 evertype.com with those from eki.ee. Tried to make
3372 sensible choices, including chars that occured in both
3373 and leaving some optional chars out that occured only
3376 Mon Aug 26 16:33:04 PDT 2002 keithp
3377 + Owen discovered that FcLangSetHasLang wasn't actually
3378 checking the language set.
3380 Mon Aug 26 13:37:23 PDT 2002 keithp
3381 + Append a version number to cache filenames
3383 Thu Aug 22 11:36:18 PDT 2002 keithp
3385 + Add "contains" and "not_contains" operators and elements to
3388 + Changed semantics of eq operator for LangSets to check for
3389 FcLangEqual so that any match will do
3391 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3392 of FcValueEqual to check for identical values when inserting into
3393 the results. This broke when the above semantic change was made,
3394 now it uses FcValueEqual which is "more correct" in any case.
3396 Thu Aug 22 00:32:29 PDT 2002 keithp
3398 + Reimplement FC_LANG as new datatype. Lists of strings
3399 was consuming over a megabyte of memory for 401 fonts.
3401 + Freeze patterns loaded from cache files. This shares
3402 common value lists and common patterns which saves
3403 considerable memory.
3405 + Change the denotation of 'constant' charsets to use special
3406 ref value instead of separate boolean.
3408 + Clean up leak tracing stuff, found several unannoted alloc/free
3411 Tue Aug 20 16:17:37 PDT 2002 keithp
3413 + Fix memory leak when parsing matrices from XML
3415 Mon Aug 19 11:57:27 PDT 2002 keithp
3417 + Fix autoconf files to pass FONTCONFIG_PATH on
3418 compile line so that ${prefix} gets substituted
3421 + Use getc_unlocked/putc_unlocked on systems that
3422 provide them to avoid damage done to stdio by posix
3424 + Eliminate FC_PATTERN and FcTypePattern in favor of
3425 an extended api for FcConfigSubstitute which takes
3426 both the font and the pattern.
3428 + Add 'sans serif' alias for 'sans-serif' as some apps
3429 can't handle hyphens in family names
3431 + Eliminate pretense of support for libxml2
3433 + Comment origins of Han orthographies
3435 Tue Jul 30 18:37:09 PDT 2002 keithp
3437 + Add binding property to edit element so that strong
3438 binding values may be inserted by the config file.
3439 The default remains weak.
3441 Sun 28 Jul 04:16:55 PDT 2002 keithp
3443 + Tagged release candidate 1 in the CVS tree and
3444 placed fcpackage.rc1.tar.gz for distribution
3446 Thu Aug 1 08:55:08 PDT 2002 keithp
3448 + Fixed autoconf builds to always specify install
3449 target files (for BSD). Also fixed to
3450 define FONTCONFIG_PATH in config.h so that
3451 nonstandard installs will actually work.