1 2006-04-25 Patrick Lam <plam@mit.edu>
5 * fontconfig/fontconfig.h:
7 Bump version to 2.3.95.
9 2006-04-25 Behdad Esfahbod <behdad@cs.toronto.edu>
16 Fix the issues with GNU libiconv vs. libc iconv (which especially
17 appear on Solarii). Approach suggested by Tim Mooney.
19 2006-04-24 Dominic Lachowicz <cinamod@hotmail.com>
24 Include $(top_srcdir), $(top_srcdir)/src before anything else.
26 * fc-cache/fc-cache.c, fc-cat/fc-cat.c, fc-match/fc-match.c:
27 * src/fccache.c, src/fccfg.c, src/fccharset.c, src/fcdbg.c:
28 * src/fcfreetype.c, src/fcfs.c, src/fcinit.c, src/fclist.c:
29 * src/fcmatch.c, src/fcmatrix.c, src/fcname.c, src/fcpat.c:
30 * src/fcstr.c, src/fcxml.c:
32 Shuffle order of includes for building out of srcdir on win32.
34 2006-04-20 Patrick Lam <plam@mit.edu>
35 * src/fcmatch.c (FcSortWalk):
37 Prevent terrible perf regression by getting the if-condition
38 right (reported by Wouter Bolsterlee).
40 2006-04-19 Patrick Lam <plam@mit.edu>
41 Dominic Lachowicz <cinamod@hotmail.com>
43 * src/fccache.c (FcDirCacheConsume):
45 Implement mmap-like code for Windows using MapViewOfFile.
47 2006-04-19 Patrick Lam <plam@mit.edu>
48 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
50 Bail gracefully if the cache file does not contain enough data.
52 2006-04-14 Patrick Lam <plam@mit.edu>
55 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
57 2006-04-14 Patrick Lam <plam@mit.edu>
58 * src/fcname.c (FcObjectToPtrLookup):
60 Fix Gecko-exposed segfault from my last hack to
61 FcObjectToPtrLookup. Simplify code and get things straight.
63 2006-04-14 Patrick Lam <plam@mit.edu>
66 Actually, just add URW fonts as aliases for all of the PostScript
67 fonts. (reported by Miguel Rodriguez).
69 2006-04-13 Patrick Lam <plam@mit.edu>
72 Add an alias 'Standard Symbols L' for 'Symbol'.
74 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
77 * src/fcpat.c: (FcPatternFreeze):
78 Fix memory leak (Coverity defect #2089).
80 * src/fcfreetype.c: (GetScriptTags):
81 Ignore script if subtable is missing (Coverity defect #2088).
83 2006-04-12 Patrick Lam <plam@mit.edu>
84 * src/fccfg.c (FcConfigSubstituteWithPat):
86 Fix possible null pointer dereference (Coverity defect #784)
87 and memory leak (Coverity defects #785, #786).
89 2006-04-12 Patrick Lam <plam@mit.edu>
90 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
92 Don't copy FcCharSet if we're going to throw it away anyway.
93 (Reported by Kenichi Handa).
95 2006-04-11 Ming Zhao <ming@gentoo.org>
98 * src/fcname.c (FcObjectToPtrLookup):
100 Fix bad behaviour on realloc resulting in crash.
102 2006-04-11 Patrick Lam <plam@mit.edu>
103 * src/fccache.c (FcGlobalCacheReadDir):
105 Don't crash if config is null (Coverity defect #984).
107 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
110 * src/fccharset.c (FcCharSetPutLeaf):
111 * src/fclang.c (FcNameUnparseLangSet):
113 Missing bits from previous patches.
115 * src/fccharset.c (FcCharSetSubtractCount):
116 Remove extra semi-colon.
118 * src/fccfg.c (FcConfigBuildFonts):
119 Fix memory leak in error case (Coverity defects #776, #985).
121 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
122 Fix memory leaks (Coverity defects #779, #781)
123 and memory use after free (Coverity defect #780).
125 2006-04-11 Patrick Lam <plam@mit.edu>
126 * src/fccharset.c (FcCharSetPutLeaf):
128 Properly convert static charsets to dynamic charsets.
130 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
133 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
135 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
137 * src/fclang.c: (FcNameUnparseLangSet):
138 Fix memory leak (Coverity defect #1819).
140 * fc-lang/fc-lang.c: (scan):
141 prevent crash when invalid include line is parsed (Coverity defect
144 * fc-cat/fc-cat.c: (FcCacheFileRead):
145 Fix potential null pointer access (Coverity defect #1804).
147 * src/fcname.c: (FcObjectUnserialize):
148 Remove dead code (Coverity defect #1194).
150 * src/fcfreetype.c: (GetScriptTags):
151 Prevent potential null pointer access (Coverity defect #767),
152 ensure error value is read (Coverity defect #1195).
154 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
159 Survive missing docbook2pdf.
161 2006-04-10 Patrick Lam <plam@mit.edu>
163 * fc-glyphname/fc-glyphname.c:
166 Include more stub definitions to make HP-UX's C compiler happy.
168 2006-04-10 Patrick Lam <plam@mit.edu>
169 * src/fcname.c (FcObjectUnserialize):
171 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
173 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
176 * src/fccfg.c: (FcConfigEvaluate):
177 Fix string memory leak (Coverity defect #1823).
179 * src/fccache.c: (FcDirCacheUnlink):
180 Fix memory leak with hash collision (Coverity defect #1824).
182 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
185 * src/fccache.c: (FcGlobalCacheSave):
186 Don't leak header in non-error case (Coverity defect #1825).
188 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
191 * src/fcdir.c (FcDirScanConfig)
192 Don't leak in error cases (Coverity defects #777, #1826)
194 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
197 * src/fccache.c: (FcDirCacheWrite):
198 Fix double free (spotted by Coverity, CID #1965).
200 * fc-match/fc-match.c: (main):
201 Check if pattern is not null before using it (Coverity defect #1883).
203 * src/fccache.c: (FcDirCacheWrite):
204 Fix memory leak with hash collision (Coverity defect #1829).
206 * src/fccfg.c: (FcConfigBuildFonts):
207 Fix memory leak when bail cases (Coverity defect #1828).
209 * src/fccache.c: (FcGlobalCacheLoad):
210 Don't leak directory name (Coverity defect #1827).
212 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
214 * fc-cache/Makefile.am:
215 * fc-cat/Makefile.am:
216 * fc-list/Makefile.am:
217 * fc-match/Makefile.am:
219 LD_ADD missing dependencies for binaries. Reported by
222 2006-04-07 Patrick Lam <plam@mit.edu>
224 * fc-lang/fc-lang.c (main):
226 SGI compilation fixes (reported by Christoph Bauer):
227 1) reorder union definition of _FcChar;
230 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
233 * src/fccharset.c (FcCharSetNeededBytes):
234 * src/fcfs.c (FcFontSetNeededBytes):
236 * src/fclang.c (FcLangSetNeededBytesAlign):
237 * src/fcname.c (FcObjectNeededBytesAlign):
238 * src/fcpat.c (FcPatternNeededBytesAlign,
239 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
241 Portability fixes for HP-UX (reported by Christoph Bauer).
242 Replace '__inline__' by AC_C_INLINE and 'inline'.
243 Replace '__alignof__' by 'fc_alignof'.
245 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
249 Move up #include of config.h.
250 Fail if neither inttypes.h nor stdint.h is available.
253 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
254 Patrick Lam <plam@mit.edu>
256 * fc-cache/fc-cache.c:
258 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
259 FcDirCacheConsume, FcDirCacheProduce,
260 FcDirCacheWrite, FcCacheMachineSignature):
261 * src/fcfreetype.c (FcFreeTypeQuery):
262 * src/fontconfig.def.in:
264 Make fontconfig compile under MinGW:
265 1) remove unneeded #includes;
266 2) make use of mmap and sysconf conditional;
267 3) replace rand_r by srand/rand if needed;
268 4) use chsize instead of ftruncate; and
269 5) update libtool exports file
271 2006-04-07 Patrick Lam <plam@mit.edu>
272 * src/fcdir.c (FcDirScanConfig):
276 2006-04-06 Patrick Lam <plam@mit.edu>
277 * fc-match/.cvsignore:
278 * fc-match/Makefile.am:
279 * fc-match/fc-match.sgml:
281 Update documentation for fc-match (SGML-ize it).
282 (reported by Ilya Konstantinov)
284 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
290 Reduce amount of dirty rss by const'ing some data structures.
292 2006-04-06 Patrick Lam <plam@mit.edu>
293 * fc-cache/Makefile.am:
295 Don't fail if we can't create or remove
296 $(pkgcachedir) i.e. /var/cache/fontconfig.
297 (reported by Quanah Gibson-Mount).
299 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
302 * fc-glyphname/fc-glyphname.c:
303 * fc-lang/fc-lang.c (main):
304 * fc-match/fc-match.c:
305 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
307 * src/fcfreetype.c (FcFreeTypeQuery):
308 * src/fclang.c (FcFreeTypeLangSet):
311 Fix intel compiler warnings: make many variables static,
312 eliminate duplicate names, reduce variable scopes, unsigned/signed
315 2006-03-24 Mike Fabian <mfabian@suse.de>
317 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
319 Fix multiarch support (don't destroy multiarch files!)
321 2006-03-24 Patrick Lam <plam@mit.edu>
324 Require pkg-config. (Thanks Behdad;
325 better solution wanted for libxml2 detection!)
327 2006-03-22 Patrick Lam <plam@mit.edu>
330 On Windows, unlink before rename. Reported by Tim Evans.
332 2006-03-15 Patrick Lam <plam@mit.edu>
336 Fix typos in orth files. Reported by Denis Jacquerye.
338 2006-03-08 Patrick Lam <plam@mit.edu>
340 * config/config.guess:
343 Fix Makefile.am for removal of debian/ directory.
345 2006-03-08 Patrick Lam <plam@mit.edu>
348 Ignore debian/ directory for CVS.
350 2006-03-08 Patrick Lam <plam@mit.edu>
353 Now remove debian/ directory.
355 2006-03-08 Patrick Lam <plam@mit.edu>
358 Remove debian/ directory from sources. See Debian's subversion
359 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
362 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
366 * fc-lang/iso639-1, fc-lang/iso639-2:
368 Add orthography for Lingala.
370 2006-03-08 Carl Worth <cworth@cworth.org>
373 * conf.d/Makefile.am:
374 * conf.d/10LohitGujarati.conf:
376 Add a configuration file that disables hinting for the Lohit
377 Gujarati font (since the hinting distort some glyphs quite badly).
379 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
382 * src/fcdir.c (FcDirScanConfig):
384 Sort directory entries while scanning them from disk;
385 prevents Heisenbugs due to file ordering in a directory.
387 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
390 * src/fcfreetype.c (GetScriptTags):
391 * src/ftglue.c, src/ftglue.h:
393 Remove stuff we don't use, make get_{char,short,long} functions
394 of ftglue macros to be inlined.
397 * src/fcname.c (FcObjectSerialize):
399 Code cleanups (excess prototype, old-style function definition).
401 2006-03-05 Patrick Lam <plam@mit.edu>
402 * src/fcpat.c (FcPatternGetString):
404 Because we hacked FcPatternGet, we don't really need to expand the
405 filename again in FcPatternGetString.
407 2006-03-05 Patrick Lam <plam@mit.edu>
408 * src/fcpat.c (FcPatternGetString, FcPatternGet):
410 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
411 Make that work. Reported by Bernhard Rosenkraenzer.
413 2006-03-03 Patrick Lam <plam@mit.edu>
416 Include inttypes.h instead of stdint.h if appropriate.
418 2006-03-03 Patrick Lam <plam@mit.edu>
419 * fc-cat/fc-cat.c (FcFileIsDir):
420 * fc-glyphname/fc-flyphname.c:
422 More stub definitions and remove FcFileIsDir from fc-cat.
424 2006-03-03 Patrick Lam <plam@mit.edu>
427 Fix compilation on AIX with stub definitions (bug 6097).
429 2006-03-03 Patrick Lam <plam@mit.edu>
430 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
431 * src/fcfreetype.c (GetScriptTags):
432 * src/fcfs.c (FcFontSetDistributeBytes):
433 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
435 Get rid of C++-style comments.
437 2006-03-03 Patrick Lam <plam@mit.edu>
440 Enable creation of 2.3.94 Debian packages.
442 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
445 * src/fclang.c (FcCharSetForLang):
447 Fix suspicious return expression which causes junk
450 2006-02-24 Patrick Lam <plam@mit.edu>
454 * fontconfig/fontconfig.h:
456 Bump version to 2.3.94.
458 2006-02-24 Patrick Lam <plam@mit.edu>
463 2006-02-24 Patrick Lam <plam@mit.edu>
464 * conf.d/10-fonts-persian.conf:
466 Remove unconditional emboldening (per Behdad's instructions).
470 Add @s to hide some echos.
472 2006-02-24 Mike Fabian <mfabian@suse.de>
473 Takashi Iwai <tiwai@suse.de>
476 * src/fcfreetype.c (GetScriptTags):
478 Fix double-free on error case.
480 2006-02-21 Patrick Lam <plam@mit.edu>
481 * fc-lang/fc-lang.c (scan):
483 Strip \r and whitespace from input; fixes bug 3454.
485 2006-02-21 Patrick Lam <plam@mit.edu>
486 * fc-lang/fc-lang.c (main):
488 Allocate large arrays statically in fc-lang to fix crashes under
491 2006-02-21 Diego Petten <flameeyes@gentoo.org>
492 * src/fcfreetype.c (FcFreeTypeCharIndex):
494 Pass the buck; make fontconfig not crash on pango badness.
496 2006-02-21 Patrick Lam <plam@mit.edu>
497 * conf.d/10-fonts-persian.conf:
499 Use embeddedbitmap rather than rh_prefer_bitmap.
501 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
504 * src/fccache.c (FcDirCacheWrite):
505 * src/fcdir.c (FcFileScanConfig):
506 * src/fcfreetype.c (FcStringInPatternElement):
507 * src/fcxml.c (FcParseFamilies):
508 * src/ftglue.c (ftglue_face_goto_table):
510 Eliminate redundancies.
512 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
515 * fc-list/fc-list.c (main):
516 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
517 * src/fcstr.c (FcStrStr):
518 * src/fcxml.c (FcConfigSaveAttr):
520 Eliminate unused vars reported by Intel's compiler.
522 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
527 Remove one more archaic character.
529 2006-02-21 Ross Burton <ross@burtonini.com>
530 reviewed by: plam, keithp
532 * src/fcxml.c (FcParsePatelt):
534 Freeze patterns created by configuration file for tiny
535 memory savings (every little bit helps).
537 2006-02-21 Mike Fabian <mfabian@suse.de>
540 * fc-cat/fc-cat.c (main):
542 Initialize fontconfig library in fc-cat to avoid segfault.
544 2006-02-18 Patrick Lam <plam@mit.edu>
545 * fc-cache/fc-cache.c (scanDirs):
546 * src/fccache.c (FcCacheReadDirs):
547 * src/fcdir.c (FcDirScanConfig):
549 Fix the underlying cause of the below segfault (must usually
550 call FcDirCacheHasCurrentArch after FcDirCacheValid).
552 2006-02-18 Patrick Lam <plam@mit.edu>
553 * src/fccache.c (FcDirCacheHasCurrentArch):
555 Fix triggering of segfault caused by misreading cache files
556 (reported by fcrozat).
558 2006-02-17 Patrick Lam <plam@mit.edu>
559 * src/fcint.h (FC_CACHE_MAGIC):
561 Bump up magic version; we changed the binary format.
563 2006-02-17 Patrick Lam <plam@mit.edu>
564 * fc-cat/fc-cat.c (main):
566 Enable fc-cat to print out old-style cache info when given a
569 2006-02-16 Patrick Lam <plam@mit.edu>
570 * src/fccache.c (FcDirCacheHasCurrentArch):
572 Deal correctly with changing FC_CACHE_MAGIC.
574 2006-02-16 Patrick Lam <plam@mit.edu>
575 * fc-cache/fc-cache.c (usage, scanDirs, main):
577 Add -r --really-force option which blows away cache files and then
580 2006-02-16 Patrick Lam <plam@mit.edu>
581 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
583 Don't bail if fontconfig can't remove a dir cache file.
584 Skip the ID of a cache file when copying.
585 Eliminate 'source file too small' bug in FcDirCacheWrite.
587 2006-02-13 Patrick Lam <plam@mit.edu>
588 * src/fcfreetype.c (FcFreeTypeQuery):
590 Fix memory leak in error condition code.
592 2006-02-13 Mike Fabian <mfabian@suse.de>
594 * src/fcfreetype.c (FcFreeTypeQuery):
596 Skip bitmap fonts which can't even get it together enough to
597 declare a family name; this appears to reproduce previous
598 fontconfig behaviour.
600 2006-02-10 Takashi Iwai <tiwai@suse.de>
602 * src/fccache.c (FcDirCacheOpen):
604 Try to open /var/cache/fontconfig/[hashed name] before
605 fonts.cache-2 in a directory, because /var/cache/fontconfig
606 failures ought to be fixable, unlike fonts.cache-2 failures,
607 which may leave you screwed.
609 2006-02-10 Takashi Iwai <tiwai@suse.de>
611 * src/fcmatch.c (FcFontSetMatch):
613 Use a tri-state to mark the fonts which didn't get blocked but
614 were just missing an element, to distinguish them from the
615 fonts that do match the element.
617 2006-02-10 Takashi Iwai <tiwai@suse.de>
619 * src/fcmatch.c (FcFontSetMatch):
621 Don't kill fonts because they don't declare an element that's
624 2006-02-09 Patrick Lam <plam@mit.edu>
625 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
626 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
628 Define and pass O_BINARY to open if appropriate, for those
629 platforms that need it. Reported by Doodle.
631 2006-02-09 Patrick Lam <plam@mit.edu>
632 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
635 Fix problem with missing 'en' due to euro.patch: change
636 cache file format slightly to coincide with that generated
639 2006-02-07 Patrick Lam <plam@mit.edu>
640 * src/fccache.c (FcCacheReadDirs):
644 2006-02-07 Patrick Lam <plam@mit.edu>
645 * src/fcdir.c (FcDirScanConfig):
647 Don't reject dirs that can't be normalized (fixes lilypond, and
648 is correct in the context of application font directories.)
650 2006-02-07 Takashi Iwai <tiwai@suse.de>
653 * src/fccache.c (FcCacheReadDirs):
655 Use normalized directory name exclusively in FcCacheReadDirs.
657 2006-02-07 Dirk Mueller <dmueller@suse.com>
660 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
662 Perf optimizations. Inline FcValueCanonicalize,
663 reduce FcValueListPtrU usage, remove redundant cast.
665 2006-02-07 Takashi Iwai <tiwai@suse.de>
668 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
671 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
672 Declare extern for static arrays as arrays, not pointers.
673 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
675 2006-02-07 Dirk Mueller <dmueller@suse.com>
688 Add Euro sign to list of symbols required by European languages.
690 2006-02-07 Patrick Lam <plam@mit.edu>
691 * src/fccache.c (FcCacheReadString):
693 Fix hidden variable warning.
695 2006-02-07 Dirk Mueller <dmueller@suse.com>
698 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
700 Remove de-escaping logic because FcCacheWriteString
701 doesn't escape anyway. Do blockwise reading instead
702 of byte-wise for performance.
704 2006-02-06 Patrick Lam <plam@mit.edu>
705 Takashi Iwai <tiwai@suse.de>
707 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
709 Don't loop infinitely on recursive symlinks (client-side).
711 2006-02-06 Takashi Iwai <tiwai@suse.de>
713 * fc-cache/fc-cache.c (scanDirs, main):
715 Don't loop infinitely on recursive symlinks.
717 2006-02-06 Takashi Iwai <tiwai@suse.de>
719 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
720 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
721 FcGlobalCacheSave, FcCacheReadDirs):
724 Skip subdirs when skipping over stale bits of global cache.
725 Introduce state machine into FcGlobalCacheDir to avoid
726 doing inappropriate operations on global dir entries, e.g.
727 writing out an out-of-date cache entry.
729 2006-02-06 Takashi Iwai <tiwai@suse.de>
731 * src/fcdir.c (FcFileScanConfig):
733 Hoist FcFileIsDir check out of FcFileScanConfig loop.
735 2006-02-06 Takashi Iwai <tiwai@suse.de>
738 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
739 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
741 Don't rescan when trying to normalize a non-declared font dir.
742 Don't add font dirs multiple times (even if they're aliased).
744 2006-02-06 Dirk Mueller <dmueller@suse.de>
747 * src/fcfs.c (FcFontSetUnserialize):
749 Explain apples/oranges comparison and fix compilation error.
751 2006-02-06 Dirk Mueller <dmueller@suse.de>
754 * src/fcfs.c (FcFontSetUnserialize):
756 Insert check for integer overflow in # of fonts.
758 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
762 * fc-cache/Makefile.am:
763 * fc-cat/Makefile.am:
764 * fc-list/Makefile.am:
766 Make 'make distcheck' work with automake 1.6.3.
768 2006-02-03 Takashi IWAI <tiwai@suse.de>
771 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
774 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
775 FcDirCacheConsume, FcDirCacheWrite)
776 * src/fcxml.c (FcConfigMessage):
778 Check I/O call return values and eliminate unused variable
781 2006-02-03 Takashi Iwai <tiwai@suse.de>
784 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
788 2006-02-03 Dirk Mueller <dmueller@suse.de>
791 * src/fcfs.c (FcFontSetUnserialize):
793 Gracefully handle the case where a cache asserts that it
794 has a negative number of fonts, causing overflow.
796 2006-02-03 Patrick Lam <plam@mit.edu>
797 * src/fccache.c (FcDirCacheUnlink):
799 Fix double free in error case.
801 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
802 Stephan Kulow <coolo@suse.de>
805 * fc-cache/Makefile.am:
807 Replace 'stamp' target with mkinstalldirs.
809 2006-01-31 Mike Fabian <mfabian@suse.de>
812 * src/fccache.c (FcGlobalCacheLoad):
814 Toast broken global cache files.
816 2006-01-30 Patrick Lam <plam@mit.edu>
817 * src/fccache.c (FcGlobalCacheReadDir):
819 Actually use the directories that I added to the global cache.
822 2006-01-30 Mike Fabian <mfabian@suse.de>
825 * fc-cache/fc-cache.c (scanDirs):
827 Don't stop scanning if a directory in fonts.conf doesn't
828 exist, because subsequent directories might exist.
830 2006-01-30 Patrick Lam <plam@mit.edu>
831 * src/fccache.c (FcGlobalCacheLoad):
833 Make global cache work again after putting dir names into global
834 cache (I misplaced the recording of a file offset).
836 2006-01-30 Patrick Lam <plam@mit.edu>
837 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
839 Update fc-cat to handle subdir lists in global cache file.
841 * src/fccache.c (FcGlobalCacheLoad):
843 Another FcCacheReadString return value check.
845 2006-01-30 Mike Fabian <mfabian@suse.de>
848 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
849 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
851 Make fccache more resilient to broken cache files by checking
852 return value of FcCacheReadString all the time.
854 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
857 * fc-match/fc-match.1:
858 * fc-lang/fc-lang.man:
860 Remove references to dead fontconfig(3) manpages in
861 other fontconfig manpages.
863 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
866 * doc/fcpattern.fncs:
868 Fix world's tiniest typo in code example.
870 2006-01-29 Mike Fabian <mfabian@suse.de>
873 * src/fccache.c (FcGlobalCacheReadDir):
875 Fix global cache reads of subdirectories.
877 2006-01-29 Patrick Lam <plam@mit.edu>
879 Add documentation for FcConfigNormalizeFontDir.
881 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
882 FcGlobalCacheUpdate, FcGlobalCacheSave):
883 * src/fcdir.c (FcDirScanConfig):
886 Write directory information to global caches to fix make check
887 (reported by Ronny V. Vindenes). This changes the global cache
890 2006-01-27 Patrick Lam <plam@mit.edu>
891 * fc-cache/fc-cache.c (scanDirs):
892 * fontconfig/fontconfig.h:
894 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
896 Move FcConfigNormalizeFontDir call so that it doesn't result in
897 infinite recursion (reported by Ronny V. Vindenes).
899 2006-01-26 Patrick Lam <plam@mit.edu>
900 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
901 * src/fccfg.c (FcConfigNormalizeFontDir):
903 Add a couple of missing normalizations to make fc-cache work
904 right; only scan subdirectories once.
906 2006-01-26 Mike Fabian <mfabian@suse.de>
909 * src/fcacache.c (FcGlobalCacheReadDir):
911 Don't crash on non-existant directories in global cache.
913 2006-01-26 Patrick Lam <plam@mit.edu>
914 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
915 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
916 * src/fcdir.c (FcDirScanConfig):
917 * src/fcxml.c (FcEndElement):
919 Stop trampling the directory name when writing out caches.
920 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
921 subdirs when necessary. Don't scan directories that can't be
924 2006-01-25 Patrick Lam <plam@mit.edu>
925 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
926 * src/fccfg.c (FcConfigEvaluate):
927 * src/fcfreetype.c (FcPatternAddWithBinding):
929 Fix additional memory leaks reported by Ronny V. Vindenes: don't
930 invoke FcValueSave on hashed static strings in
931 FcPatternAddWithBinding.
933 Add another st_dev check in FcDirCacheOpen.
935 2006-01-24 James Su <james.su@gmail.com>
938 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
939 * fc-lang/zh_hk.orth:
941 Treat zh-hk fonts differently from zh-tw fonts. This patch may
942 cause fontconfig to treat A-X fonts differently from A-Y fonts;
943 please mail the fontconfig list if this causes any problems.
945 2006-01-24 Patrick Lam <plam@mit.edu>
946 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
947 * src/fcfreetype.c (FcFreeTypeQuery):
949 Fix memory leaks reported by Ronny V. Vindenes.
951 2006-01-19 Andreas Schwab <schwab@suse.de>
954 * src/fcpat.c (FcStrNeededBytes):
956 Fix for unaligned memory accesses.
958 2006-01-18 Mike Fabian <mfabian@suse.de>
961 * src/fcdir.c (FcDirScanConfig):
963 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
964 calls to avoid crashes.
966 2006-01-14 Patrick Lam <plam@mit.edu>
967 * src/fccache.c (FcDirCacheConsume):
969 Fix segfault when consuming zero-length caches in fc-cat
970 (which has no config, so FcConfigAddFontDir shouldn't be called.)
972 2006-01-14 Patrick Lam <plam@mit.edu>
973 * fc-cache/fc-cache.c (scanDirs):
974 * fontconfig/fontconfig.h:
975 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
976 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
977 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
978 * src/fcdir.c (FcDirScanConfig):
981 Compare device numbers as well as inodes.
982 Always normalize directory names before comparing them.
984 2006-01-11 Mike Fabian <mfabian@suse.de>
987 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
989 Allocate extra space for appended '/' in directory name.
991 2006-01-10 Patrick Lam <plam@mit.edu>
992 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
993 FcDirCacheValid, FcDirCacheHasCurrentArch,
994 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
995 * fc-cache/fc-cache.c (main):
997 Explicitly add font dirs to config.fontDirs even if they're empty.
998 Set current config in fc-cache.c.
999 Fix treatment of cache directory as read from cache file; don't
1000 use string equality to determine if we have the right file,
1003 2006-01-09 Patrick Lam <plam@mit.edu>
1004 * fc-cache/fc-cache.c (scanDirs):
1005 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1006 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
1007 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
1008 * src/fccfg.c (FcConfigNormalizeFontDir):
1009 * src/fcdir.c (FcDirScanConfig):
1012 Normalize font dirs by using the form, as given in fonts.conf, and
1013 recorded in FcConfig's fontDirs string set, as canonical.
1015 Actually update config.fontDirs as font directories are scanned.
1017 2006-01-08 James Su <james.su@gmail.com>
1018 * src/fcmatch.c (FcFontSetMatch):
1020 Fix matching bug when multiple elements match; don't use
1021 the sum of all scores, but the best score.
1023 Also more perf opts, e.g. evaluate best over all font sets
1024 rather than on a per-set basis (and other changes).
1026 2006-01-08 Patrick Lam <plam@mit.edu>
1027 * src/fccache.c (FcDirCacheConsume):
1029 Properly skip past dir caches that contain zero fonts (as occurs
1030 in global caches.) Reported by Mike Fabian.
1032 2006-01-06 Patrick Lam <plam@mit.edu>
1033 * src/fcdbg.c (FcPatternPrint):
1035 Print out full pathname in fc-match -v as well. Reported by
1038 2006-01-06 Mike Fabian <mfabian@suse.de>
1041 * src/fcname.c (FcNameParse):
1043 Fix bug where fc-match crashes when given __DUMMY__ property to
1046 (I added the __DUMMY__ string to enable callers of
1047 FcObjectToPtrLookup to distinguish an error return from a
1048 successful return. -PL)
1050 2006-01-05 Patrick Lam <plam@mit.edu>
1053 Add self to AUTHORS list.
1055 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1056 FcCacheFileRead, FcCachePrintSet, main):
1057 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1058 FcGlobalCacheSave, FcCacheNextOffset,
1059 FcDirCacheHasCurrentArch, FcDirCacheRead,
1060 FcDirCacheConsume, FcDirCacheWrite):
1062 * src/fcpat.c (comment):
1064 Minor change to global cache file format to fix fc-cat bug
1065 reported by Frederic Crozat, and buglet with not globally caching
1066 directories with zero fonts cached.
1068 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1071 * src/fccfg.c (FcConfigEvaluate):
1073 Fix double-free which occurs because FcValueCanonicalize doesn't
1074 create an extra copy of the returned value, it only canonicalizes
1077 2006-01-02 Patrick Lam <plam@mit.edu>
1078 * doc/fontconfig-user.sgml:
1080 Fix version of .cache file (currently 1 -> currently 2). Reported
1083 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1086 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1088 Shut up GCC warnings on amd.
1090 2005-12-20 Patrick Lam <plam@mit.edu>
1094 * fontconfig/fontconfig.h:
1096 Bump version to 2.3.93.
1098 2005-12-20 Patrick Lam <plam@mit.edu>
1099 * src/fccharset.c (FcLangCharSetPopulate):
1100 * src/fcint.h (FcCacheBankToIndex):
1102 Avoid check on _fcBankId nullness and fix case where it used to
1105 2005-12-20 Patrick Lam <plam@mit.edu>
1106 * src/fcxml.c (FcConfigParseAndLoad):
1108 Use open instead of fopen (requested by Phil Race for Sun).
1110 2005-12-20 Patrick Lam <plam@mit.edu>
1111 * src/fccache.c (FcDirCacheWrite);
1112 * fc-cache/Makefile.am:
1114 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1117 2005-12-20 Patrick Lam <plam@mit.edu>
1118 * src/fcfreetype.c (FcFreeTypeQuery):
1120 Restore code to skip over PCF fonts that have no encoded
1122 (We guess that a font is PCF by presence of the PIXEL_SIZE
1125 2005-12-12 Patrick Lam <plam@mit.edu>
1126 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1128 Read and write the original location as a fallback for the
1129 hashed cache file locations. This is mostly for users to be
1130 able to have per-directory cache files.
1132 2005-12-12 Patrick Lam <plam@mit.edu>
1133 * fc-cache/fc-cache.c (scanDirs):
1134 * fc-cache/Makefile.am:
1135 * src/fccache.c (FcDirCacheHashName):
1137 Improve error message when fc-cache can't write the cache. Add
1138 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1139 create /var/cache/fontconfig when appropriate.
1141 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1144 * src/fcxml.c (FcConfigGetAttribute):
1146 Fix crash reported by Frederic Crozat when using libxml2.
1148 2005-12-09 Patrick Lam <plam@mit.edu>
1151 * fc-cache/Makefile.am:
1152 * fc-cat/Makefile.am:
1154 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1155 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1156 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1157 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1158 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1159 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1161 Migrate cache files from fonts directories to
1162 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1163 but requires that all caches get rebuilt.
1165 Also, autogen.sh now needs the additional parameter
1166 --localstatedir=/var.
1168 2005-12-07 Patrick Lam <plam@mit.edu>
1169 * src/fcpat.c (FcPatternAddString):
1171 Because we've changed FcPatternAddString to use FcStrStaticName
1172 and not FcValueSave, explicitly handle the case of a null string.
1174 2005-12-06 Patrick Lam <plam@mit.edu>
1175 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1179 2005-12-05 Patrick Lam <plam@mit.edu>
1180 * src/fcname.c (FcNameGetObjectType):
1182 Don't assign types to user object names.
1184 2005-12-05 Patrick Lam <plam@mit.edu>
1185 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1187 Don't free strings that have been returned from FcStrStaticName.
1189 2005-12-01 Patrick Lam <plam@mit.edu>
1190 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1192 Add codepath for reading global cache files as well.
1194 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1197 * conf.d/10-fonts.persian.conf:
1198 * conf.d/Makefile.am:
1200 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1202 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1205 * src/fcxml.c (FcConfigParseAndLoad):
1207 Only add a config file to the set of config files once.
1209 2005-11-29 Patrick Lam <plam@mit.edu>
1210 * src/fcint.h (FcCacheBankToIndex);
1212 Fix segfault by guarding array dereference.
1214 2005-11-29 Dirk Mueller <dmueller@suse.de>
1217 * fc-lang/fc-lang.c:
1218 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1219 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1223 Refactor FcCacheBankToIndex into an inlineable part
1224 (in fcint.h) which checks the front of the list and a
1225 non-inlineable part which finds and moves the appropriate element
1226 to the front of the list.
1228 2005-11-29 Patrick Lam <plam@mit.edu>
1229 * src/fccfg.c (FcConfigBuildFonts):
1230 * src/fccache.c (FcCacheReadDirs):
1232 Make the perf guys hate me a bit less: hoist the directory-name
1233 FcConfigAcceptFont check for cached fonts up to directory cache
1234 read time, rather than running it for each font.
1236 2005-11-29 Patrick Lam <plam@mit.edu>
1237 * src/fccfg.c (FcConfigBuildFonts):
1239 * src/fcpat.c (FcPatternFindFullFname):
1241 Don't make FcPatternFindFullFname available to fccfg, it's not
1242 really safe. Instead go through FcPatternGetString (sorry,
1243 perf guys.) Also, use globs for dirs as well.
1245 2005-11-28 Patrick Lam <plam@mit.edu>
1246 * src/fccfg.c (FcConfigBuildFonts):
1250 2005-11-28 Patrick Lam <plam@mit.edu>
1252 * src/fcpat.c (FcPatternFindFullFname):
1253 * src/fccfg.c (FcConfigBuildFonts):
1255 Fix problem dating back at least to 2.3.2 where globs weren't
1256 being applied to patterns loaded from a cache.
1258 2005-11-28 Patrick Lam <plam@mit.edu>
1259 * doc/fontconfig-user.sgml:
1261 Fix some obvious spelling mistakes.
1263 2005-11-28 Dirk Mueller <dmueller@suse.com>
1264 Stephan Kulow <coolo@suse.de>
1267 * src/fcmatch.c (FcFontSetMatch):
1269 Don't kill all fonts during match (oops!)
1272 2005-11-25 Dirk Mueller <dmueller@suse.com>
1273 Stephan Kulow <coolo@suse.de>
1274 Michael Matz <matz@suse.de>
1277 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1280 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1281 inline FcCompare into FcFontSetMatch and reorder the
1282 loops, adding a boolean array which blocks patterns from future
1283 consideration if they're known to not be best on some past
1286 2005-11-26 Dirk Mueller <dmueller@suse.com>
1289 * src/fcmatch.c (FcCompareValueList):
1291 Fix incorrect merge.
1293 2005-11-25 Patrick Lam <plam@mit.edu>
1294 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1296 Don't do random matching when bad objects are passed into
1299 2005-11-25 Patrick Lam <plam@mit.edu>
1301 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1302 FcPatternSerialize, FcPatternUnserialize,
1303 FcValueListEnsureBank, FcValueListDistributeBytes,
1304 FcValueListUnserialize):
1306 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1307 _fcPatternElts, _fcValueLists for consistency.
1309 2005-11-25 Dirk Mueller <dmueller@suse.com>
1314 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1316 2005-11-25 Patrick Lam <plam@mit.edu>
1318 * src/fccache.c (FcDirCacheConsume):
1319 * src/fccharset.c (FcCharSetUnserialize):
1320 * src/fcfs.c (FcFontSetUnserialize):
1321 * src/fclang.c (FcLangSetUnserialize):
1322 * src/fcname.c (FcObjectUnserialize):
1323 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1324 FcPatternUnserialize):
1326 Pass around FcCache *s to the Unserialize functions for extra
1327 consistency (and less overhead, for what that's worth).
1329 2005-11-24 Dirk Mueller <dmueller@suse.com>
1333 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1334 * src/fcname.c (FcNameUnparseValue):
1336 Inline the *PtrU functions to gain perf.
1337 Remove unneeded params for the FcCompare* functions.
1339 2005-11-24 Dirk Mueller <dmueller@suse.com>
1342 * src/fcint.h, fontconfig/fontconfig.h:
1344 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1346 * src/fcpat.c, src/fcint.h, src/fcname.c:
1348 Check for type validity during FcPatternAddWithBinding, don't
1349 verify type in FcFontMatch, don't call FcCanonicalize here
1350 (which always does a deep copy).
1352 2005-11-24 Dirk Mueller <dmueller@suse.com>
1355 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1356 * src/fcpat.c (FcPatternAddWithBinding):
1358 Make FcCompareString and FcCompareFamily less expensive.
1359 Only add a value for FC_FAMILY if the proposed value is a string.
1361 2005-11-24 Dirk Mueller <dmueller@suse.com>
1364 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1365 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1366 * src/fcint.h (FcDebug):
1368 Inline FcDebug invocations and only initialize once, in FcInit*.
1369 Improve debug msg in FcPatternPrint.
1371 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1374 * fontconfig/fontconfig.h:
1377 Minor code warning cleanups.
1379 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1382 * fc-match/fc-match.c (main):
1384 Make getopt_long accept -s parameter to fc-match as well.
1386 2005-11-21 Dirk Mueller <dmueller@suse.com>
1389 * src/fcmatch.c (FcCompareValueList):
1391 Manually perform inlining & partial redundancy elimination to
1392 reduce calls to FcValueListPtrU.
1394 2005-11-21 Dirk Mueller <dmueller@suse.com>
1397 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1398 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1400 Only invoke strlen() when really necessary.
1402 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1406 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1407 FcFontCapabilities):
1411 Get rid of the use of freetype internal headers in fcfreetype.c,
1412 since those headers will go away with freetype 2.2. Replace with
1413 public domain ftglue code from pango. Note that the patch removes
1414 some extra error checking in FT_Get_BDF_Property() and comments
1415 out the skipping of empty pcf fonts.
1417 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1420 * fc-lang/fc-lang.c (main):
1422 Further fix of patch from 2005-11-04: miscounted numbers count
1423 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1424 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1426 Removed leafidx_count and numbers_count since they are the same
1427 and replaced them with offset_count.
1429 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1432 * fc-cat/fc-cat.c (main):
1434 Don't crash when fc-cat invoked with no arguments.
1436 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1439 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1441 Fix invalid read access caused by premature free and
1442 GCC4 warnings in libxml2 codepath.
1444 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1447 * src/fccfg.c (FcConfigValues):
1449 List iteration not needed in FcConfigValues, since it's building
1450 up the list itself; we can just strip FcVoid elements during
1453 2005-11-17 Patrick Lam <plam@mit.edu>
1454 * src/fccfg.c (FcConfigValues):
1456 Fix crash on invalid constants in config files (forgot to update
1457 a pointer upon list iteration.)
1459 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1462 * src/fcxml.c (FcTypecheckExpr):
1464 Complain about invalid constants in config files.
1466 2005-11-17 Andreas Schwab <schwab@suse.de>
1469 * src/fccache.c (FcGlobalCacheSave):
1471 Don't add current_arch_start more than once.
1473 2005-11-16 Patrick Lam <plam@mit.edu>
1474 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1475 * src/fcfs.c (FcFontSetUnserialize):
1476 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1477 * src/fcpat.c (FcStrUnserialize):
1479 Fix ordering of ALIGN with respect to saving block_ptr; add
1480 another ALIGN to fcfs.c.
1482 2005-11-16 Patrick Lam <plam@mit.edu>
1483 * src/fccache.c (FcDirCacheProduce)
1485 Fix case where alignment bytes bumped up metadata->count
1486 causing unwarranted failures to write cache files.
1487 (Reported by Stephan Kulow).
1489 2005-11-16 Patrick Lam <plam@mit.edu>
1490 * src/fccache.c (FcDirCacheProduce):
1491 * src/fccharset.c (FcCharSetDistributeBytes):
1492 * src/fcfs.c (FcFontSetDistributeBytes):
1494 * src/fclang.c (FcLangSetDistributeBytes):
1495 * src/fcname.c (FcObjectDistributeBytes):
1496 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1499 Add *NeededBytesAlign(), which overestimates the padding which is
1500 later added by the new ALIGN macro. Fix alignment problems on
1501 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1502 version by Andreas Schwab).
1504 2005-11-16 Stephan Kulow <coolo@kde.org>
1509 Use sysconf to determine proper PAGESIZE value; this
1510 appears to be POSIX-compliant. (reported by Andreas Schwab)
1512 2005-11-04 Patrick Lam <plam@mit.edu>
1513 * fc-lang/fc-lang.c:
1518 Fix bug 2878 (excessive relocations at startup for charsets,
1519 reported by Ross Burton): fc-lang/fc-lang now creates the
1520 static form of the langset, not the dynamic form, so that
1521 the charsets should now be in .rodata.
1523 2005-11-04 Patrick Lam <plam@mit.edu>
1524 * src/fcdir.c (FcDirScanConfig):
1526 Add test for validity of directory caches that
1527 somehow got lost (reported by make distcheck).
1529 2005-11-04 Patrick Lam <plam@mit.edu>
1533 * fontconfig/fontconfig.h:
1535 Bump version to 2.3.92.
1537 2005-11-02 Patrick Lam <plam@mit.edu>
1538 * src/fcpat.c (FcPatternDuplicate):
1540 Fix argument ordering problem in call to FcPatternTransferFullFname.
1542 2005-11-02 Patrick Lam <plam@mit.edu>
1543 * src/fcfreetype.c (FcFreetypeQuery):
1544 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1545 FcPatternTransferFullFname):
1547 Fix warnings and embarrassing double-free error.
1549 2005-11-02 Zhe Su <zsu@novell.com>
1554 Change the rule for artificial emboldening in fonts.conf.in. This
1555 enables the support for artificial emboldening included in cairo.
1557 2005-11-02 Patrick Lam <plam@mit.edu>
1558 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1560 Don't zero out full names for FC_REF_CONSTANT fonts;
1561 also, duplicate full names when transferring, and free
1562 full names when freeing the associated font.
1563 Reported by Jinghua Luo.
1565 2005-11-02 Patrick Lam <plam@mit.edu>
1566 * fc-cache/fc-cache.c (scanDirs):
1567 * src/fcpat.c (FcValueListSerialize):
1569 Revert the previous patch and commit the correct patch:
1570 I forgot a canonicalization in FcValueListSerialize, so
1571 that it would choke on already-serialized input files. Duh!
1573 2005-11-02 Patrick Lam <plam@mit.edu>
1574 * fc-cache/fc-cache.c (scanDirs):
1576 Forcibly rescan a directory before writing a fresh local
1577 cache file for that directory, fixing the losing-fonts
1578 problem reported by Mike Fabian and also apparently the
1579 font cache file corruption.
1581 2005-11-02 Patrick Lam <plam@mit.edu>
1582 * src/fccache.c (FcGlobalCacheLoad):
1584 Fix thinko: actually, the whole global cache is stale
1585 if the global cache is older than the (newest) config file.
1587 2005-11-02 Patrick Lam <plam@mit.edu>
1588 * src/fccache.c (FcGlobalCacheLoad):
1589 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1592 Declare the global cache of a directory's contents to be stale if
1593 the directory is newer than the (newest) configuration file.
1595 2005-10-31 Patrick Lam <plam@mit.edu>
1597 * src/fclist.c (FcListAppend):
1598 * src/fcmatch.c (FcFontRenderPrepare):
1599 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1600 FcPatternFreeze, FcPatternBaseFreeze):
1602 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1603 applications continue breaking.
1605 2005-10-31 Patrick Lam <plam@mit.edu>
1606 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1607 * src/fcfreetype.c (FcFreeTypeQuery):
1609 Fix small memory error (tried to free argv); use basename and
1610 dirname correctly (they can modify their arguments).
1612 2005-10-31 Patrick Lam <plam@mit.edu>
1620 Reinstate basename patch, but keep a hash table linking FcPatterns
1621 to their fully-qualified font names for clients' benefit. Clients
1622 only pay for the font names once they request the FC_FILE property
1623 from an FcPattern, but the font name is malloc'd at that point (i.e.
1624 not mmapped: that's impossible, since it may vary between machines.)
1625 Clients do have to pay for a copy of the path name per cache file.
1627 Note that FcPatternGetString now does some rewriting if you ask
1628 for an FC_FILE, appending the pathname as appropriate.
1630 2005-10-31 Patrick Lam <plam@mit.edu>
1631 * src/fcfreetype.c (FcFreeTypeQuery):
1633 Revert basename patch, which breaks fontconfig clients on my system.
1635 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1638 * fontconfig/fonts.conf.in:
1639 * fontconfig/fontconfig.h:
1643 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1644 to load embedded bitmaps or not.
1646 2005-10-25 Patrick Lam <plam@mit.edu>
1647 * src/fcfreetype.c (FcFreeTypeQuery):
1649 Only add basename to patterns' FC_FILE element, not any part of
1652 2005-10-22 Patrick Lam <plam@mit.edu>
1655 Add some more consts, fixing more GCC4 warnings.
1657 2005-10-22 Zhe Su <zsu@novell.com>
1660 Support localized font family and style names.
1661 This has been reported to break old apps like xfd, but modern
1662 (gtk+/qt/mozilla) apps work fine.
1664 2005-10-21 Patrick Lam <plam@mit.edu>
1665 * src/fccache.c (FcGlobalCacheLoad):
1667 Destroy the global cache file if it's terminally broken. (reported by
1670 2005-10-21 Patrick Lam <plam@mit.edu>
1671 * fc-list/fc-list.c (main):
1672 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1673 * fontconfig/fontconfig.h:
1675 Prevent fc-list from escaping strings when printing them (reported by
1678 2005-10-20 Marcus Meissner <meissner@suse.de>
1681 * fontconfig/fontconfig.h:
1683 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1685 2005-10-14 Ross Burton <ross@burtonini.com>
1688 * fc-glyphname/fc-glyphname.c:
1691 Add consts to variables so as to move arrays into .rodata.
1693 2005-10-14 Mike Fabian <mfabian@suse.de>
1696 * src/fccache.c (FcDirCacheUnlink):
1698 Check existence of directory cache file before attempting to unlink.
1700 2005-10-13 Patrick Lam <plam@mit.edu>
1701 * src/fccache.c (FcDirCacheUnlink):
1703 Fix flipped return value on unlink. (Reported by Mike Fabian)
1705 2005-10-12 Patrick Lam <plam@mit.edu>
1708 * src/fcdir.c (FcDirScanConfig):
1711 When fc-cache is run without --force, use directory cache files
1712 to speed up fc-cache run time. (Reported by Mike Fabian)
1714 2005-10-06 Patrick Lam <plam@mit.edu>
1716 * src/fcname.c (FcObjectToPtr):
1717 * src/fcpat.c (FcStrStaticName):
1719 Add padding to make valgrind and glibc not hate each other
1720 when calling strlen().
1722 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1723 reviewed by: plam & keithp
1727 Modify config file to use Greek fonts before Asian fonts with
1730 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1731 reviewed by: plam & keithp
1735 Use libtool -no-undefined flag on all platforms.
1737 2005-10-05 Patrick Lam <plam@mit.edu>
1738 * src/fccache.c (FcCacheHaveBank):
1740 Implement move-to-front array for banks (perf regression
1741 reported by Ronny V. Vindenes).
1743 2005-10-04 Patrick Lam <plam@mit.edu>
1744 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1745 FcDirCacheHasCurrentArch):
1746 * fc-cache/fc-cache.c (scanDirs):
1747 * fontconfig/fontconfig.h:
1749 Add new API which unlinks directory caches and checks dir caches
1750 for existence of appropriate sections. Fix fc-cache to unlink
1751 stale cache files and save directory caches that lack relevant
1754 2005-10-03 Patrick Lam <plam@mit.edu>
1755 * src/fccache.c (FcDirCacheValid):
1757 Ensure that a directory cache has the appropriate section
1758 before reporting that it is valid (reported by Matthias Clasen).
1760 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1768 Use libxml2 if requested (with --enable-libxml2) or if
1769 expat is not available.
1771 2005-09-29 Patrick Lam <plam@mit.edu>
1772 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1774 Fix multi-arch cache files: compute the position for the
1775 block to be added using info from OrigFile, not NewFile.
1777 2005-09-28 Patrick Lam <plam@mit.edu>
1778 * src/fccache.c (FcCacheMachineSignature):
1780 Cast results of sizeof() to unsigned int to get rid of
1781 warnings on x86_64 (thanks Matthias Clasen).
1783 2005-09-27 Patrick Lam <plam@mit.edu>
1784 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1787 Use FcAtomic to rewrite cache files.
1789 2005-09-27 Patrick Lam <plam@mit.edu>
1791 * src/fccache.c (FcDirCacheWrite):
1793 Don't unlink the fonts.cache-2 file even if there's no data
1794 to write; just write an empty cache file. (thanks Lubos Lunak)
1796 2005-09-27 Patrick Lam <plam@mit.edu>
1798 * src/fccache.c (FcDirCacheWrite):
1800 Allocate room for the subdirectory names in each
1801 directory cache. Thanks to James Cloos for finding
1802 and diagnosing this bug!
1804 2005-09-22 Patrick Lam <plam@mit.edu>
1806 * fc-cache/fc-cache.sgml:
1807 * src/fccache.c (FcDirCacheWrite):
1808 * src/fccache.h (struct FcCache):
1810 Update documentation -- fc-cache's man page now says that you
1811 need to run fc-cache once per cached architecture; add some
1812 documentation to the FcCache structure.
1814 Make fc-cache write out fonts.cache-2 files for directories with
1815 no fonts (i.e. only subdirectories).
1817 2005-09-22 Patrick Lam <plam@mit.edu>
1819 * fc-cache/fc-cache.sgml:
1820 * fc-case/fc-case.c:
1821 * fc-glyphname/fc-glyphname.c:
1827 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1831 * fc-lang/fc-lang.c:
1832 * fontconfig/fcprivate.h:
1833 * fontconfig/fontconfig.h:
1847 Implement new mmaped cache for font information.
1848 Bump so revision to 2.3.90.
1850 2005-07-25 Keith Packard <keithp@keithp.com>
1852 * doc/fontconfig-user.sgml:
1853 * fc-glyphname/fc-glyphname.c: (scan), (main):
1854 * fc-lang/fc-lang.c: (FcConfigHome):
1855 * fc-match/fc-match.c: (main):
1856 * src/fccfg.c: (FcConfigHome):
1857 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1858 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1859 (addtag), (FcFontCapabilities):
1860 * src/fcpat.c: (FcValueListEntCreate):
1861 * src/fcstr.c: (FcStrCaseWalkerInit):
1862 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1864 Various GCC 4 cleanups for signed vs unsigned char
1866 Match only [0-9]*.conf files in <include>{directory}</include>
1867 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1869 2005-07-15 Carl Worth <cworth@cworth.org>
1872 * src/fcinit.c: (FcFini):
1873 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1876 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1877 Pull the FcObjectStateName hash table out to file scope, and add
1878 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1881 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1884 2005-06-16 Patrick Lam <plam@MIT.EDU>
1888 * src/fccfg.c: (FcConfigCompareValue):
1889 Make FcOpNotContains use FcStrStr for strings so that
1890 it matches semantics for !FcOpContains.
1892 2005-05-20 Keith Packard <keithp@keithp.com>
1896 Move fontconfig source package to libs as per override
1898 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1900 reviewed by: Mike Fabian
1903 The ka.orth file requires several characters which are not
1904 used anymore in modern Georgian and which are missing in the free
1905 Georgian TrueType fonts downloadable at:
1907 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1909 2005-04-27 Keith Packard <keithp@keithp.com>
1913 Update date to real 2.3.2 release date.
1914 Fix change attributions
1916 2005-04-27 Keith Packard <keithp@keithp.com>
1919 Bump so revision for 2.3.2
1920 * fc-cache/fc-cache.c: (scanDirs):
1921 Fix a few minor leaks in error cases.
1923 2005-04-23 Keith Packard <keithp@keithp.com>
1928 * fontconfig/fontconfig.h:
1929 Update for version 2.3.2
1931 2005-04-21 Keith Packard <keithp@keithp.com>
1933 * debian/fontconfig.postinst:
1934 Don't force bitmap font enable in default
1935 configuration; allows users to override this in
1945 * debian/po/pt_BR.po:
1946 * debian/po/templates.pot:
1948 * debian/po/zh_CN.po:
1949 Updated translations
1951 * fc-cache/fc-cache.c: (main):
1952 Destroy font configuration on exit to help valgrind
1955 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1956 (FcFreeTypeCheckGlyph):
1957 Use own transcoding routines in preference to iconv
1958 which appears to have leaks in some translators.
1959 Call iconv_close after using iconv (oops).
1961 Prefer unicode encoding of Euro char as some
1962 fonts mis-encode Euro in other ones.
1964 Must fetch bitmap glyphs to get width values
1965 to check for monospace/dual-width fonts.
1967 2005-04-13 Ross Burton <ross@burtonini.com>
1970 Check that a pattern isn't already frozen in FcPatternFreeze.
1972 2005-03-31 Ross Burton <ross@burtonini.com>
1977 Run all FcPattern objects through FcObjectStaticName, so that
1978 compares can be done on pointers instead of strings (#2659)
1980 2005-03-17 Tor Lillqvist <tml@novell.com>
1982 * src/fontconfig.def.in: Add the .dll to the dll name.
1984 2005-03-10 Keith Packard <keithp@keithp.com>
1986 * debian/README.Debian:
1987 Update to reflect configuration changes
1989 * debian/fontconfig.postinst:
1990 Fix Autohint vs Autohinter mistake
1991 * debian/fontconfig.templates:
1992 Adopt changes from Josselin Mouette for configuration descriptions
1993 Update debian to version 2.3.1-2
1995 2005-03-08 Keith Packard <keithp@keithp.com>
1999 Update debian for 2.3.1
2001 2005-03-09 Tor Lillqvist <tml@novell.com>
2003 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
2006 * src/fccfg.c (FcConfigFileExists): Check also drive letter
2009 2005-03-08 Keith Packard <keithp@keithp.com>
2013 * fontconfig/fontconfig.h:
2016 2005-03-05 Keith Packard <keithp@keithp.com>
2018 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
2019 Include space and remove numbers from valid script tags.
2020 This ensures that tags like 'lao ' work while rejecting
2021 those which have any digits.
2022 Eliminate a spurious debugging variable (len)
2024 2005-03-05 Keith Packard <keithp@keithp.com>
2026 * src/fcfreetype.c: (addtag), (GetScriptTags),
2027 (FcFontCapabilities):
2028 Rework GSUB/GPOS script parsing to survive broken fonts.
2029 Thanks for the broken font go to Manish Singh
2031 2005-03-05 Keith Packard <keithp@keithp.com>
2036 * debian/fontconfig.config:
2037 * debian/fontconfig.templates:
2039 Include 2.3 release information in changelog
2040 Add Josselin Mouette as an Uploader
2041 Set hinting_type to low priority configuration option
2044 * debian/fontconfig.postinst:
2045 yes_bitmaps.conf -> yes-bitmaps.conf
2051 2005-03-02 Keith Packard <keithp@keithp.com>
2054 * conf.d/Makefile.am:
2055 * conf.d/autohint.conf:
2056 * conf.d/no-sub-pixel.conf:
2057 * conf.d/sub-pixel.conf:
2058 * conf.d/unhinted.conf:
2059 * debian/autohint.conf:
2060 * debian/fontconfig.install:
2061 * debian/fontconfig.postinst:
2062 * debian/fontconfig.templates:
2063 * debian/no-sub-pixel.conf:
2064 * debian/unhinted.conf:
2065 Move debian-specific conf file examples upstream.
2067 Sub-pixel configuration examples must smash subpixel value
2068 as Xft always sets it from X.
2070 Change sub-pixel rendering debconf descriptions from
2071 Enable/Disable to Always/Never.
2073 2005-03-02 Keith Packard <keithp@keithp.com>
2076 * conf.d/.cvsignore:
2078 Ignore more build detritus
2081 Add debian package construction stuff.
2083 * config/config.guess:
2084 * config/config.sub:
2085 Update to newer versions of these tools
2088 Get library manuals to build again (we love automake).
2090 * debian/README.Debian:
2091 * debian/autohint.conf:
2096 * debian/fontconfig-udeb.install:
2097 * debian/fontconfig.config:
2098 * debian/fontconfig.defoma:
2099 * debian/fontconfig.dirs:
2100 * debian/fontconfig.install:
2101 * debian/fontconfig.postinst:
2102 * debian/fontconfig.postrm:
2103 * debian/fontconfig.templates:
2104 * debian/libfontconfig1-dev.install:
2105 * debian/libfontconfig1.install:
2106 * debian/local.conf.md5sum:
2107 * debian/no-sub-pixel.conf:
2108 * debian/po/POTFILES.in:
2117 * debian/po/pt_BR.po:
2118 * debian/po/templates.pot:
2120 * debian/po/zh_CN.po:
2122 * debian/unhinted.conf:
2123 Update debian build system to switch maintainers and
2124 deal with 2.3 functionality
2126 2005-03-01 Keith Packard <keithp@keithp.com>
2130 * fontconfig/fontconfig.h:
2133 2005-03-01 Keith Packard <keithp@keithp.com>
2136 Generate and install PDF versions of the manuals
2138 * doc/fcpattern.fncs:
2141 * doc/fcstring.fncs:
2142 Add missing exported functions, fix data types
2144 * doc/fontconfig-devel.sgml:
2145 Add missing pattern elements.
2147 * doc/fontconfig-user.sgml:
2148 Add missing pattern elements. Document conf.d usage,
2149 clarify available orthography list. Fix some config file
2150 attributes. Complete list of constants.
2152 * fontconfig/fontconfig.h:
2153 Mark FC_SOURCE deprecated.
2155 * src/fcfreetype.c: (FcFreeTypeQuery):
2156 Don't set FC_SOURCE any longer.
2158 2005-02-28 Keith Packard <keithp@keithp.com>
2161 * conf.d/Makefile.am:
2163 * conf.d/no-bitmaps.conf:
2164 * conf.d/sub-pixel.conf:
2165 * conf.d/yes-bitmaps.conf:
2167 Create prototype /etc/fonts/conf.d directory with a few
2168 sample configuration files.
2169 Deprecate use of local.conf for local customizations in favor of
2170 this directory based scheme which is more easily integrated into
2171 installation systems.
2174 Tag FC_EMBOLDEN as a boolean variable
2176 2005-02-10 Keith Packard <keithp@keithp.com>
2178 reviewed by: pborelli@katamail.com
2180 * src/fcdir.c: (FcFileScanConfig):
2181 Free patterns from fonts which are rejected by configuration
2184 2005-01-28 Keith Packard <keithp@keithp.com>
2188 * fontconfig/fontconfig.h:
2189 Update for version 2.2.99
2191 2005-01-28 Keith Packard <keithp@keithp.com>
2194 Add a few pointers (#2284, #2285)
2196 2005-01-28 Keith Packard <keithp@keithp.com>
2199 * src/fcname.c: (FcNameBool):
2200 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2201 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2202 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2203 Polite typechecking for test and edit expressions. Helps
2204 catch errors in the font configuration. (bug 229)
2206 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2208 reviewed by: Keith Packard <keithp@keithp.com>
2211 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2213 2005-01-13 Keith Packard <keithp@keithp.com>
2215 * doc/fontconfig-user.sgml:
2216 Add SEE ALSO section (bug 2085)
2218 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2220 reviewed by: Keith Packard <keithp@keithp.com>
2225 * fc-case/Makefile.am:
2226 * fc-glyphname/Makefile.am:
2227 * fc-lang/Makefile.am:
2228 * src/fontconfig.def.in:
2229 Cross compiling fixes (bug 280)
2231 2005-01-13 Keith Packard <keithp@keithp.com>
2234 Update blanks list (Closes bug 86)
2236 2005-01-04 Keith Packard <keithp@keithp.com>
2238 * src/fccache.c: (FcCacheFontSetAdd):
2239 Verify that every font pattern loaded from cache has
2240 both FC_FILE and FC_FAMILY entries.
2241 Attempt to fix bug #2219.
2243 2004-12-29 Keith Packard <keithp@keithp.com>
2247 * fontconfig/fontconfig.h:
2248 Update for version 2.2.98
2250 2004-12-29 Keith Packard <keithp@keithp.com>
2252 * fontconfig/fontconfig.h:
2253 Document ASCII limitations of Fc character conversion macros
2254 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2255 Fix off-by-one error in utf-8 case walking code.
2256 Add FcStrDowncase (useful for testing case conversion functions)
2258 2004-12-29 Keith Packard <keithp@keithp.com>
2261 * fc-case/.cvsignore:
2262 clean up CVS ignore lists
2263 * fc-lang/iso-3166.txt:
2264 Add territory database
2266 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2268 Reviewed by: Keith Packard
2271 Remove Han characters from Korean orthography
2273 2004-12-29 Keith Packard <keithp@keithp.com>
2276 Reorder utility programs to make sure fc-case is run before fc-lang
2277 as fc-lang uses fcstr.c which uses fccase.h
2281 2004-12-29 Keith Packard <keithp@keithp.com>
2284 Adopt some RedHat suggestions for standard font configuration.
2288 * fc-case/CaseFolding.txt:
2289 * fc-case/Makefile.am:
2290 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2291 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2292 (dump), (parseRaw), (caseFoldReadRaw), (main):
2293 * fc-case/fccase.tmpl.h:
2294 Add new helper program 'fc-case' to construct case folding
2295 tables from standard Unicode CaseFolding.txt file
2298 * src/fclist.c: (FcListValueHash):
2299 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2300 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2301 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2302 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2303 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2304 Re-implement case insensitive functions with Unicode
2305 aware versions (including full case folding mappings)
2307 2004-12-13 Keith Packard <keithp@keithp.com>
2309 reviewed by: Owen Taylor <otaylor@redhat.com>
2311 * src/fcmatch.c: (FcFontSetSort):
2312 I changed FcFontSetSort to respect the generic aliases better
2313 in the face of language matching.
2315 What I did was to ammend the strict sort order used by FcFontSort so
2316 that it 'satisfies' the language specified in the pattern by locating
2317 the best matching font supporting each pattern language and then
2318 ignores language in the remaining fonts for purposes of matching.
2320 So, when asking for 'sans:lang=en', you'll get an English font first,
2321 and then the remaining fonts sorted with respect to the 'sans' alias
2322 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2324 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2326 reviewed by: Keith Packard <keithp@keithp.com>
2328 * fontconfig/fontconfig.h:
2331 Configuration changes to request synthetic emboldening of
2332 fonts. The actual emboldening code will live in Xft.
2334 2004-12-09 John Thacker <thacker@math.cornell.edu>
2336 reviewed by: Keith Packard <keithp@keithp.com>
2340 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2341 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2342 и), and don't even appear in KOI8-R. (The hypothesis that they
2343 don't appear in KOI8-R due to their similarity with Latin I and i is
2344 eliminated by their presence in KOI8-U.) I have a couple of fonts
2345 with Russian support that don't have the letter.
2347 Therefore, 0406 and 0456 should be removed from or commented out of
2350 2004-12-06 michael meeks <mmeeks@novell.com>
2352 Reviewed by: Keith Packard <keithp@keithp.com>
2354 * src/fcinit.c: (FcMemReport):
2356 * src/fclist.c: (FcObjectSetAdd):
2357 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2358 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2359 * src/fcxml.c: (FcParsePatelt):
2360 memoize strings and share a single copy for all uses. Note that
2361 this could be improved further by using statically allocated blocks
2362 and gluing multiple strings together, but I'm basically lazy.
2363 In my environment with 800 font files, I get a savings of about 90KB.
2365 2004-12-06 Keith Packard <keithp@keithp.com>
2369 * config/Makedefs.in:
2372 * doc/fcatomic.fncs:
2373 * doc/fcblanks.fncs:
2374 * doc/fccharset.fncs:
2375 * doc/fcconfig.fncs:
2376 * doc/fcconstant.fncs:
2378 * doc/fcfontset.fncs:
2379 * doc/fcfreetype.fncs:
2381 * doc/fcmatrix.fncs:
2382 * doc/fcobjectset.fncs:
2383 * doc/fcobjecttype.fncs:
2384 * doc/fcpattern.fncs:
2385 * doc/fcstring.fncs:
2386 * doc/fcstrset.fncs:
2388 * doc/fontconfig-devel.sgml:
2389 * doc/fontconfig-user.sgml:
2391 * doc/version.sgml.in:
2392 * fc-cache/Makefile.am:
2393 * fc-cache/fc-cache.c:
2394 * fc-glyphname/Makefile.am:
2395 * fc-glyphname/fc-glyphname.c:
2396 * fc-glyphname/fcglyphname.tmpl.h:
2397 * fc-lang/Makefile.am:
2407 * fc-lang/az_ir.orth:
2441 * fc-lang/fc-lang.c:
2442 * fc-lang/fc-lang.man:
2443 * fc-lang/fclang.tmpl.h:
2488 * fc-lang/ku_ir.orth:
2521 * fc-lang/ps_af.orth:
2522 * fc-lang/ps_pk.orth:
2551 * fc-lang/ti_er.orth:
2552 * fc-lang/ti_et.orth:
2578 * fc-lang/zh_cn.orth:
2579 * fc-lang/zh_hk.orth:
2580 * fc-lang/zh_mo.orth:
2581 * fc-lang/zh_sg.orth:
2582 * fc-lang/zh_tw.orth:
2584 * fc-list/Makefile.am:
2585 * fc-list/fc-list.c:
2586 * fc-match/Makefile.am:
2587 * fc-match/fc-match.1:
2588 * fc-match/fc-match.c:
2589 * fontconfig/fcfreetype.h:
2590 * fontconfig/fcprivate.h:
2591 * fontconfig/fontconfig.h:
2612 Change files from ISO-Latin-1 to UTF-8
2614 2004-12-04 Keith Packard <keithp@keithp.com>
2617 Update links to new freedesktop.org locations
2619 Add uninstall-local to get rid of fonts.conf and local.conf if they
2620 match the distributed versions. Fixes 'make distcheck'
2622 2004-12-04 Keith Packard <keithp@keithp.com>
2626 * fontconfig/fontconfig.h:
2627 Updates for version 2.2.97
2629 2004-12-04 Owen Taylor <otaylor@redhat.com>
2631 reviewed by: Keith Packard <keithp@keithp.com>
2633 * fc-cache/fc-cache.c: (main):
2634 Sleep for two seconds before exiting to make sure timestamps
2635 for future changes have distinct mod times in the file system.
2638 Add Punjabi orthography. Bug #1671.
2640 2004-12-04 Keith Packard <keithp@keithp.com>
2643 Just remove the FC_FONTDATE -- it has locale issues and
2644 annoys redhat multi-arch installs. Now that all X fonts are
2645 included without prejudice, the chances of the date being at
2646 all interesting are rather limited. Bug #505.
2648 Add copyright and license
2650 2004-12-04 Keith Packard <keithp@keithp.com>
2653 Change default set of fonts to include all of
2654 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2655 * doc/fontconfig-user.sgml:
2656 Document new <include>directory-name</include> semantics
2658 add <include ignore_missing="yes">conf.d</include>
2660 Add selectfont to ignore bitmap fonts, add comment for
2661 selectfont which accepts bitmap fonts.
2664 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2665 Allow <include> configuration elements to reference directories.
2666 Parse and load all files of the form [0-9]* in sorted order.
2668 2004-12-04 Keith Packard <keithp@keithp.com>
2671 Report command line for $srcdir/configure accurately.
2674 2004-12-04 Keith Packard <keithp@keithp.com>
2676 * src/fcfreetype.c: (FcFreeTypeQuery):
2677 Check for non-empty face->family_name and face->style_name
2678 before using those for the font. Empty names match everything.
2681 2004-12-04 Keith Packard <keithp@keithp.com>
2684 * fontconfig/fontconfig.h:
2685 * src/fcfreetype.c: (FcFreeTypeQuery):
2687 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2688 available. This provides font file format information (BDF, Type 1,
2689 PCF, TrueType) for each font. Closes #109.
2691 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2693 reviewed by: Keith Packard <keithp@keithp.com>
2695 * doc/fontconfig-user.sgml:
2698 * fontconfig/fontconfig.h:
2699 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2700 (GetScriptTags), (FcFontCapabilities):
2702 Add detection for font capabilities (bug #105)
2704 2004-12-04 Keith Packard <keithp@keithp.com>
2707 Move existing fonts.conf to fonts.conf.bak
2710 Add detection of iconv
2712 * doc/fcpattern.fncs:
2713 * doc/fontconfig-devel.sgml:
2714 * doc/fontconfig-user.sgml:
2716 Document new selectfont elements
2719 Switch to UTF-8 in comment
2721 * fontconfig/fontconfig.h:
2723 Add fullname, and family/style/fullname language entries
2725 * src/fccache.c: (FcCacheFontSetAdd):
2726 * src/fcdir.c: (FcFileScanConfig):
2727 Respect selectfont/*/glob
2730 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2731 (FcConfigCompareValue), (FcConfigPatternsAdd),
2732 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2733 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2734 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2735 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2736 Add support for selectfont
2738 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2739 (FcStringInPatternElement), (FcFreeTypeQuery):
2740 Add multi-lingual family/style/fullname support
2742 * src/fclist.c: (FcListPatternMatchAny):
2743 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2745 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2746 (FcObjectStaticName):
2747 Add new FcPatternRemove/FcPatternAppend.
2748 FcObjectStaticName stores computed pattern element names which
2749 are required to be static.
2751 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2756 Remove spurious / after $(DESTDIR)
2758 2004-06-30 Keith Packard <keithp@keithp.com>
2762 * fontconfig/fontconfig.h:
2765 2004-06-30 Keith Packard <keithp@keithp.com>
2767 Provided by: Lubos Lunak <l.lunak@suse.cz>
2769 * src/fccfg.c: (FcConfigUptoDate):
2770 However FcConfigUptoDate() doesn't seem to work. See the attached
2771 patch. First there's an obvious misplaced parenthesis making it
2772 return always false, and second, even this call fails to detect font
2773 changes (e.g. adding a new font to
2774 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2775 well. The problem seems to be triggered by my fonts.conf specifying
2776 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2777 doesn't include subdirs, unlike config->fontDirs.
2779 2004-06-03 Keith Packard <keithp@keithp.com>
2781 * fontconfig/fontconfig.h:
2782 Remove comma at end of FcResult enum definition.
2784 2004-05-29 Keith Packard <keithp@keithp.com>
2787 Add steps to md5sum release
2789 2004-05-29 Keith Packard <keithp@keithp.com>
2793 * fontconfig/fontconfig.h:
2796 2004-05-29 Keith Packard <keithp@keithp.com>
2798 * fontconfig/fontconfig.h:
2799 * src/fcmatch.c: (FcFontSetMatch):
2800 Add FcResultOutOfMemory to provide an accurate error when
2801 FcFontSetMatch fails in this way
2804 Make #warning about lacking various FreeType features indicate
2805 which version those features appeared so users know how to
2806 fix the problem (Thanks to Anton Tropashko)
2808 2004-05-05 Keith Packard <keithp@keithp.com>
2810 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2811 Replace MIN/MAX/ABS macros which happen to have come
2812 from FreeType with fontconfig-specific ones (FC_*)
2814 2004-04-23 Keith Packard <keithp@keithp.com>
2817 Extend release preparation instructions to include
2818 notification and distribution steps
2820 2004-04-23 Keith Packard <keithp@keithp.com>
2824 * fontconfig/fontconfig.h:
2825 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2827 2004-04-23 Keith Packard <keithp@keithp.com>
2830 Ignore a few more autotool files
2832 2004-04-14 Keith Packard <keithp@keithp.com>
2835 Add instructions for doing a release
2837 * fontconfig.spec.in:
2838 clean up .spec file; perhaps this will be useful to somebody...
2842 * fontconfig/fontconfig.h:
2845 * fc-lang/fc-lang.c:
2846 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2848 * fc-glyphname/Makefile.am:
2849 * fc-lang/Makefile.am:
2850 * fc-list/Makefile.am:
2851 * fc-match/Makefile.am:
2853 Add WARN_CFLAGS to pass -W flags for GCC systems
2855 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2856 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2857 Change various char types around to match across
2859 Fixed bug in using available_sizes[i].height which
2860 is in pixels, not 64ths of a pixel.
2862 2004-03-06 Keith Packard <keithp@keithp.com>
2864 * src/fcfreetype.c: (FcFreeTypeQuery):
2865 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2866 matches looking for explicit values prefer exact matches
2868 2004-03-02 Keith Packard <keithp@keithp.com>
2870 Supplied by: mfabian@suse.de (Mike FABIAN)
2872 * src/fcfreetype.c: (FcFreeTypeQuery):
2873 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2874 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2876 2004-02-21 Manish Singh <yosh@gimp.org>
2878 * fc-glyphname/fc-glyphname.c: (main):
2879 Cast strlen to int for printf, so we're 64-bit clean.
2881 2004-02-11 Keith Packard <keithp@keithp.com>
2884 * src/fcfreetype.c: (FcGetPixelSize):
2885 Ok, so I messed up the test for y_ppem. Let's see if I
2886 got it right this time.
2888 2004-02-10 Keith Packard <keithp@keithp.com>
2891 * src/fcfreetype.c: (FcGetPixelSize):
2892 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2893 FT_Bitmap_Size record. Add a configure.in test for this
2894 and change the code accordingly (using height instead).
2896 2004-02-06 Keith Packard <keithp@keithp.com>
2899 Add Low Saxon orthography
2900 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2902 * src/fccfg.c: (FcConfigNewestFile):
2903 Oops. Left 'newest.set' unset, which would miscompute
2906 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2907 (FcFreeTypeCheckGlyph):
2908 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2909 font properties (which report the wrong value in current FreeType)
2911 Don't attempt to check for empty glyphs in non-scalable fonts; they
2914 2004-02-01 Tor Lillqvist <tml@iki.fi>
2916 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2917 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2918 cache if config->cache is NULL, which happens if FcConfigHome() is
2919 NULL. Guard against that by using the temp folder in that case.
2921 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2923 * fc-lang/az_ir.orth:
2924 * fc-lang/ku_ir.orth:
2925 * fc-lang/ps_af.orth:
2926 * fc-lang/ps_pk.orth:
2927 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2928 (Afghan and Pakistani).
2930 Updated Urdu orthography with real data.
2932 2003-12-11 Carl Worth <cworth@east.isi.edu>
2934 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2937 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2939 (all-local): Remove excessive whitespace.
2941 * autogen.sh: Add 'set -e' to abort when any program fails,
2942 (avoids printing of 'now type make' after configure aborts).
2944 2003-11-17 Eric Christopherson <rakko@charter.net>
2946 reviewed by: Keith Packard <keithp@keithp.com>
2949 * fontconfig/fcfreetype.h:
2951 Switch to FreeType 2.1.7 style includes. Bug #150.
2953 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2955 * fc-list/fc-list.sgml: Add some example usages.
2957 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2960 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2963 2003-10-27 Keith Packard <keith@keithp.com>
2966 * fontconfig/fontconfig.h:
2967 Update to version 2.2.92
2969 2003-10-27 Keith Packard <keithp@keithp.com>
2974 * fc-cache/Makefile.am:
2975 * fc-glyphname/Makefile.am:
2976 * fc-lang/Makefile.am:
2977 * fc-list/Makefile.am:
2978 * fc-match/Makefile.am:
2981 Yet more cleanups to finish getting 'make distcheck' working
2982 This has been tested to ensure that it even works from a _build
2985 2003-10-26 Keith Packard <keithp@keithp.com>
2989 * fc-cache/Makefile.am:
2990 * fc-glyphname/Makefile.am:
2991 * fc-lang/Makefile.am:
2992 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2993 * fc-list/Makefile.am:
2994 * fc-match/Makefile.am:
2995 Attempts to fix 'make distcheck' work. Things are
2996 progressing pretty well, but there are still failures
2997 long into the process dealing with docs (as always).
2999 The big changes here are mostly to make $(srcdir) != "."
3000 work correctly, fixing the docbook related sections and
3001 fc-lang were particularily tricky. Docbook refuses to load
3002 system entities from anywhere other than where the original .sgml
3003 file was located, so no luck looking in "." for the
3004 configure-generated version.sgml and confdir.sgml files.
3006 fc-lang needed help finding .orth files; added a -d option
3007 to set the directory as the least evil of many options.
3009 Now to go use a faster machine and try and wring out the last
3012 2003-10-26 Keith Packard <keithp@keithp.com>
3016 2003-10-26 Keith Packard <keithp@keithp.com>
3019 Include confdir.sgml.in in EXTRA_DIST
3021 2003-10-09 Josselin Mouette <joss@debian.org>
3023 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
3024 * fc-list/fc-list.sgml fc-list/Makefile.am:
3025 Replace fc-cache and fc-list manpages with more detailed, SGML
3028 2003-09-23 Owen Taylor <otaylor@redhat.com>
3030 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3031 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3032 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3035 2003-09-23 Owen Taylor <otaylor@redhat.com>
3037 * fc-lang/ka.orth: Remove Georgian capitals, they
3038 aren't used for normal writing. (Bug #116)
3040 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3042 * doc/fontconfig-devel.sgml:
3043 * doc/fontconfig-user.sgml:
3044 * fontconfig/fontconfig.h:
3046 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3047 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3049 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3050 monospace and dual-width fonts, allow roughly a 3% variance in the
3053 2003-08-31 Manish Singh <yosh@gimp.org>
3055 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3058 2003-08-15 Carl Worth <cworth@isi.edu>
3060 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3061 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3063 * src/fcpat.c (FcValueListEntDestroy): New function to support
3064 FcFini memory cleanup. Some statistics are not kept in
3066 (FcValueListFreeze): Move hashTable outside this function so it
3067 can be accessed by FcValueListThawAll.
3068 (FcValueListThawAll): New function complements FcValueListFreeze.
3069 (FcPatternBaseFreeze): Move hashTable outside this function so it
3070 can be accessed by FcPatternBaseThawAll.
3071 (FcPatternBaseThawAll): New function complements
3072 FcPatternBaseFreeze.
3073 (FcPatternThawAll): New function complements FcPatternFreeze.
3075 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3077 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3078 allocated FcCharLeafEnt "blocks" so they can be freed later.
3079 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3080 can be accessed by FcCharSetThawAllLeaf.
3081 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3082 (FcCharSetFreezeBase): Move hashTable outside this function so it
3083 can be accessed by FcCharSetThawAll.
3084 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3086 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3087 (FcConfigDestroy): Fic leak of FcBlanks.
3089 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3090 (main): Add call to FcFini when finished.
3092 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3093 static. Add prototypes.
3095 * doc/fcinit.fncs: Add documentation for FcFini function.
3097 * doc/edit-sgml.c: Mark several local functions as static. Add
3100 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3102 2003-06-15 Tor Lillqvist <tml@iki.fi>
3104 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3105 before comparing (needed on Windows).
3107 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3109 2003-06-13 Tor Lillqvist <tml@iki.fi>
3111 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3114 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3115 WINDOWSFONTDIR token.
3117 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3118 end, not to confuse libtool, which expects the EXPORTS line to be
3119 the first. Add FcConfigEnableHome.
3121 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3122 built as a DLL on Win32.
3124 2003-06-09 Keith Packard <keithp@keithp.com>
3126 * Tag version 2.2.90
3128 2003-06-09 Keith Packard <keithp@keithp.com>
3130 * Optimization in FcLangSetIndex was broken, occasionally
3131 returning a pointer to the wrong location on miss
3133 * Add fc-match to test font matching from the command line.
3135 2003-05-31 Keith Packard <keithp@keithp.com>
3137 * (Bug 85) add support for culmus fonts
3138 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3139 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3141 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3143 * Fix "contains" op for strings and langsets.
3145 2003-05-17 Keith Packard <keithp@keithp.com>
3147 * Fix build error with BDF prop local. Free langset after query
3149 2003-05-14 Keith Packard <keithp@keithp.com>
3151 * Extract spacing from XLFD atom
3153 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3155 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3156 disappeared in 1.30.
3158 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3160 2003-05-12 Keith Packard <keithp@keithp.com>
3162 * Use FcIsWidth to share code
3164 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3165 misclassifying some Han fonts as monospaced.
3167 2003-05-07 Keith Packard <keithp@keithp.com>
3169 * Add filename-based accept/reject to ammend available fonts.
3171 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3172 older FreeType releases.
3174 2003-05-06 Keith Packard <keithp@keithp.com>
3176 * Remove 0b82 and Tamil numbers from tamil
3177 orthography (Jungshik Shin <jshin@mailaps.org>)
3179 2003-05-04 Keith Packard <keithp@keithp.com>
3181 + Map glyph names in fonts with adobe custom encoding to unicode
3183 2003-05-02 Keith Packard <keithp@keithp.com>
3185 * Add FC_WEIGHT_BOOK as weight 75
3187 2003-04-30 Keith Packard <keithp@keithp.com>
3189 * Typo in bitstream foundry name
3191 2003-04-24 Keith Packard <keithp@keithp.com>
3193 * Eliminate italic_angle check for PS fonts
3195 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3197 * Getting closer to fixing /etc/fonts hard-coding.
3199 2003-04-22 Keith Packard <keithp@keithp.com>
3201 * Update autogen.sh to work with newer automake versions
3202 * Handle pattern elements moving during multiple edits
3204 2003-04-23 James Henstridge <james@daa.com.au>
3206 * doc/fontconfig-devel.sgml: close the <para> element.
3208 * doc/fcpattern.fncs: close the <para> element.
3210 * doc/func.sgml: close the <refsynopsisdiv> element.
3212 2003-04-22 Keith Packard <keithp@keithp.com
3214 * Update autogen.sh to work with newer automake versions
3215 * Handle pattern elements moving during multiple edits
3217 2003-04-17 Colin Walters <walters@debian.org>
3219 + Remove some unused variables, and initialize some other ones so
3220 gcc doesn't warn us.
3222 2003-04-16 Keith Packard <keithp@keithp.com>
3224 + tag version 2.1.94
3226 2003-04-16 Keith Packard <keithp@keithp.com>
3228 + add BDF property fetching support for foundry
3229 (from Juliusz Chroboczek)
3230 + add BDF property fetching support for width
3232 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3234 + Implemented foundry generation for Type 1 and TrueType
3236 2003-04-11 Gerard Escalante <g2@magestudios.net>
3238 + Retrieve information from Type1 FontInfo dictionaries
3240 2003-04-07 Colin Walters <walters@verbum.org>
3242 + src/Makefile.am: Fix dummy makefile target names when
3243 MS_LIB_AVAILABLE isn't set.
3245 2003-03-22 Tor Lillqvist <tml@iki.fi>
3247 Changes for Windows:
3249 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3251 + We don't want to hardcode the fonts.conf file location in the
3252 DLL, so we look up the DLL location at run-time in a DllMain()
3253 function. The fonts.conf location is deduced from that.
3255 + The colon can't be used as path separator on Windows,
3256 semicolon is used instead. File path components can be separated
3257 with either slash or backslash. Absolute paths can also begin
3258 with a drive letter.
3260 + Add internal function FcStrLastSlash that strrchr's the last
3261 slash, or backslash on Windows.
3263 + There is no link() on Windows. For atomicity checks, mkdir a
3264 lock directory instead.
3266 + In addition to HOME, also look for USERPROFILE.
3268 + Recognize the special font directory token WINDOWSFONTDIR, to
3269 use the system's font directory.
3271 + Remove the fontconfig-def.cpp that was obsolete. Add
3272 fontconfig.def(.in), without internal functions.
3274 + Add a fontconfig-zip(.in) script, used to build a binary
3277 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3278 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3279 to main package and man3/* to devel package
3281 + Added missing defattr(-, root, root) to main RPM package
3283 + Added HTML and text development documentation to -devel subpackage
3285 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3286 + Added back the configure macro options --disable-docs, otherwise
3287 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3288 version number) unconditionally, causing RPM to fail the build due
3289 to _unpackaged_files_terminate_build. We pick up the pregenerated
3290 docs with %doc already.
3292 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3293 + Removed commented out rpm macro define at top of spec file,
3294 replacing it with a simple explanation, since rpm macros are
3295 expanded by rpm even in comments.
3297 + Changed /usr/bin to _bindir in BuildRequires lines
3299 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3301 + Reorganized file manifest lists
3303 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3305 + fontconfig.spec.in: Improvements from Red Hat spec file.
3307 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3309 + docs/*.sgml: SGML fixes.
3311 Sat Mar 1 17:28:53 PST 2003 keithp
3312 + Ok, so the ChangeLog is a bit out of date
3314 + Lots of bugs fixed; most are in bugzilla, the
3315 biggest problems were in cache management where
3316 Owen discovered the library would lose badly when
3317 combining fonts-cache and ~/.fonts-cache data
3319 + Converted from autoconf to automake. This after
3320 getting patches accepted into libtool to allow
3321 the '-version-number' argument which lets
3322 packages set version numbers explicitly rather
3323 than the roundabout libtool way
3325 + Converted documentation to SGML using the docbook
3326 DTD. Now .txt and .html documents are installed
3327 in /usr/share/doc/fontconfig and there's no
3328 man page. Perhaps a man version can be written
3331 Sat Aug 31 15:21:22 PDT 2002 keithp
3332 + Xrender and Xft had several bugs related to
3333 rendering manually placed or poly-face text
3335 + Added more complete memory tracing in fontconfig
3336 Checked with (patched) mozilla and found no leaks
3338 + Updated Latin orthographies by comparing those from
3339 evertype.com with those from eki.ee. Tried to make
3340 sensible choices, including chars that occured in both
3341 and leaving some optional chars out that occured only
3344 Mon Aug 26 16:33:04 PDT 2002 keithp
3345 + Owen discovered that FcLangSetHasLang wasn't actually
3346 checking the language set.
3348 Mon Aug 26 13:37:23 PDT 2002 keithp
3349 + Append a version number to cache filenames
3351 Thu Aug 22 11:36:18 PDT 2002 keithp
3353 + Add "contains" and "not_contains" operators and elements to
3356 + Changed semantics of eq operator for LangSets to check for
3357 FcLangEqual so that any match will do
3359 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3360 of FcValueEqual to check for identical values when inserting into
3361 the results. This broke when the above semantic change was made,
3362 now it uses FcValueEqual which is "more correct" in any case.
3364 Thu Aug 22 00:32:29 PDT 2002 keithp
3366 + Reimplement FC_LANG as new datatype. Lists of strings
3367 was consuming over a megabyte of memory for 401 fonts.
3369 + Freeze patterns loaded from cache files. This shares
3370 common value lists and common patterns which saves
3371 considerable memory.
3373 + Change the denotation of 'constant' charsets to use special
3374 ref value instead of separate boolean.
3376 + Clean up leak tracing stuff, found several unannoted alloc/free
3379 Tue Aug 20 16:17:37 PDT 2002 keithp
3381 + Fix memory leak when parsing matrices from XML
3383 Mon Aug 19 11:57:27 PDT 2002 keithp
3385 + Fix autoconf files to pass FONTCONFIG_PATH on
3386 compile line so that ${prefix} gets substituted
3389 + Use getc_unlocked/putc_unlocked on systems that
3390 provide them to avoid damage done to stdio by posix
3392 + Eliminate FC_PATTERN and FcTypePattern in favor of
3393 an extended api for FcConfigSubstitute which takes
3394 both the font and the pattern.
3396 + Add 'sans serif' alias for 'sans-serif' as some apps
3397 can't handle hyphens in family names
3399 + Eliminate pretense of support for libxml2
3401 + Comment origins of Han orthographies
3403 Tue Jul 30 18:37:09 PDT 2002 keithp
3405 + Add binding property to edit element so that strong
3406 binding values may be inserted by the config file.
3407 The default remains weak.
3409 Sun 28 Jul 04:16:55 PDT 2002 keithp
3411 + Tagged release candidate 1 in the CVS tree and
3412 placed fcpackage.rc1.tar.gz for distribution
3414 Thu Aug 1 08:55:08 PDT 2002 keithp
3416 + Fixed autoconf builds to always specify install
3417 target files (for BSD). Also fixed to
3418 define FONTCONFIG_PATH in config.h so that
3419 nonstandard installs will actually work.