1 2006-04-19 Patrick Lam <plam@mit.edu>
5 * fontconfig/fontconfig.h:
7 Bump version to 2.3.95.
9 2006-04-19 Patrick Lam <plam@mit.edu>
10 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
12 Bail gracefully if the cache file does not contain enough data.
14 2006-04-14 Patrick Lam <plam@mit.edu>
17 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
19 2006-04-14 Patrick Lam <plam@mit.edu>
20 * src/fcname.c (FcObjectToPtrLookup):
22 Fix Gecko-exposed segfault from my last hack to
23 FcObjectToPtrLookup. Simplify code and get things straight.
25 2006-04-14 Patrick Lam <plam@mit.edu>
28 Actually, just add URW fonts as aliases for all of the PostScript
29 fonts. (reported by Miguel Rodriguez).
31 2006-04-13 Patrick Lam <plam@mit.edu>
34 Add an alias 'Standard Symbols L' for 'Symbol'.
36 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
39 * src/fcpat.c: (FcPatternFreeze):
40 Fix memory leak (Coverity defect #2089).
42 * src/fcfreetype.c: (GetScriptTags):
43 Ignore script if subtable is missing (Coverity defect #2088).
45 2006-04-12 Patrick Lam <plam@mit.edu>
46 * src/fccfg.c (FcConfigSubstituteWithPat):
48 Fix possible null pointer dereference (Coverity defect #784)
49 and memory leak (Coverity defects #785, #786).
51 2006-04-12 Patrick Lam <plam@mit.edu>
52 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
54 Don't copy FcCharSet if we're going to throw it away anyway.
55 (Reported by Kenichi Handa).
57 2006-04-11 Ming Zhao <ming@gentoo.org>
60 * src/fcname.c (FcObjectToPtrLookup):
62 Fix bad behaviour on realloc resulting in crash.
64 2006-04-11 Patrick Lam <plam@mit.edu>
65 * src/fccache.c (FcGlobalCacheReadDir):
67 Don't crash if config is null (Coverity defect #984).
69 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
72 * src/fccharset.c (FcCharSetPutLeaf):
73 * src/fclang.c (FcNameUnparseLangSet):
75 Missing bits from previous patches.
77 * src/fccharset.c (FcCharSetSubtractCount):
78 Remove extra semi-colon.
80 * src/fccfg.c (FcConfigBuildFonts):
81 Fix memory leak in error case (Coverity defects #776, #985).
83 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
84 Fix memory leaks (Coverity defects #779, #781)
85 and memory use after free (Coverity defect #780).
87 2006-04-11 Patrick Lam <plam@mit.edu>
88 * src/fccharset.c (FcCharSetPutLeaf):
90 Properly convert static charsets to dynamic charsets.
92 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
95 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
97 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
99 * src/fclang.c: (FcNameUnparseLangSet):
100 Fix memory leak (Coverity defect #1819).
102 * fc-lang/fc-lang.c: (scan):
103 prevent crash when invalid include line is parsed (Coverity defect
106 * fc-cat/fc-cat.c: (FcCacheFileRead):
107 Fix potential null pointer access (Coverity defect #1804).
109 * src/fcname.c: (FcObjectUnserialize):
110 Remove dead code (Coverity defect #1194).
112 * src/fcfreetype.c: (GetScriptTags):
113 Prevent potential null pointer access (Coverity defect #767),
114 ensure error value is read (Coverity defect #1195).
116 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
121 Survive missing docbook2pdf.
123 2006-04-10 Patrick Lam <plam@mit.edu>
125 * fc-glyphname/fc-glyphname.c:
128 Include more stub definitions to make HP-UX's C compiler happy.
130 2006-04-10 Patrick Lam <plam@mit.edu>
131 * src/fcname.c (FcObjectUnserialize):
133 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
135 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
138 * src/fccfg.c: (FcConfigEvaluate):
139 Fix string memory leak (Coverity defect #1823).
141 * src/fccache.c: (FcDirCacheUnlink):
142 Fix memory leak with hash collision (Coverity defect #1824).
144 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
147 * src/fccache.c: (FcGlobalCacheSave):
148 Don't leak header in non-error case (Coverity defect #1825).
150 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
153 * src/fcdir.c (FcDirScanConfig)
154 Don't leak in error cases (Coverity defects #777, #1826)
156 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
159 * src/fccache.c: (FcDirCacheWrite):
160 Fix double free (spotted by Coverity, CID #1965).
162 * fc-match/fc-match.c: (main):
163 Check if pattern is not null before using it (Coverity defect #1883).
165 * src/fccache.c: (FcDirCacheWrite):
166 Fix memory leak with hash collision (Coverity defect #1829).
168 * src/fccfg.c: (FcConfigBuildFonts):
169 Fix memory leak when bail cases (Coverity defect #1828).
171 * src/fccache.c: (FcGlobalCacheLoad):
172 Don't leak directory name (Coverity defect #1827).
174 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
176 * fc-cache/Makefile.am:
177 * fc-cat/Makefile.am:
178 * fc-list/Makefile.am:
179 * fc-match/Makefile.am:
181 LD_ADD missing dependencies for binaries. Reported by
184 2006-04-07 Patrick Lam <plam@mit.edu>
186 * fc-lang/fc-lang.c (main):
188 SGI compilation fixes (reported by Christoph Bauer):
189 1) reorder union definition of _FcChar;
192 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
195 * src/fccharset.c (FcCharSetNeededBytes):
196 * src/fcfs.c (FcFontSetNeededBytes):
198 * src/fclang.c (FcLangSetNeededBytesAlign):
199 * src/fcname.c (FcObjectNeededBytesAlign):
200 * src/fcpat.c (FcPatternNeededBytesAlign,
201 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
203 Portability fixes for HP-UX (reported by Christoph Bauer).
204 Replace '__inline__' by AC_C_INLINE and 'inline'.
205 Replace '__alignof__' by 'fc_alignof'.
207 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
211 Move up #include of config.h.
212 Fail if neither inttypes.h nor stdint.h is available.
215 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
216 Patrick Lam <plam@mit.edu>
218 * fc-cache/fc-cache.c:
220 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
221 FcDirCacheConsume, FcDirCacheProduce,
222 FcDirCacheWrite, FcCacheMachineSignature):
223 * src/fcfreetype.c (FcFreeTypeQuery):
224 * src/fontconfig.def.in:
226 Make fontconfig compile under MinGW:
227 1) remove unneeded #includes;
228 2) make use of mmap and sysconf conditional;
229 3) replace rand_r by srand/rand if needed;
230 4) use chsize instead of ftruncate; and
231 5) update libtool exports file
233 2006-04-07 Patrick Lam <plam@mit.edu>
234 * src/fcdir.c (FcDirScanConfig):
238 2006-04-06 Patrick Lam <plam@mit.edu>
239 * fc-match/.cvsignore:
240 * fc-match/Makefile.am:
241 * fc-match/fc-match.sgml:
243 Update documentation for fc-match (SGML-ize it).
244 (reported by Ilya Konstantinov)
246 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
252 Reduce amount of dirty rss by const'ing some data structures.
254 2006-04-06 Patrick Lam <plam@mit.edu>
255 * fc-cache/Makefile.am:
257 Don't fail if we can't create or remove
258 $(pkgcachedir) i.e. /var/cache/fontconfig.
259 (reported by Quanah Gibson-Mount).
261 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
264 * fc-glyphname/fc-glyphname.c:
265 * fc-lang/fc-lang.c (main):
266 * fc-match/fc-match.c:
267 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
269 * src/fcfreetype.c (FcFreeTypeQuery):
270 * src/fclang.c (FcFreeTypeLangSet):
273 Fix intel compiler warnings: make many variables static,
274 eliminate duplicate names, reduce variable scopes, unsigned/signed
277 2006-03-24 Mike Fabian <mfabian@suse.de>
279 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
281 Fix multiarch support (don't destroy multiarch files!)
283 2006-03-24 Patrick Lam <plam@mit.edu>
286 Require pkg-config. (Thanks Behdad;
287 better solution wanted for libxml2 detection!)
289 2006-03-22 Patrick Lam <plam@mit.edu>
292 On Windows, unlink before rename. Reported by Tim Evans.
294 2006-03-15 Patrick Lam <plam@mit.edu>
298 Fix typos in orth files. Reported by Denis Jacquerye.
300 2006-03-08 Patrick Lam <plam@mit.edu>
302 * config/config.guess:
305 Fix Makefile.am for removal of debian/ directory.
307 2006-03-08 Patrick Lam <plam@mit.edu>
310 Ignore debian/ directory for CVS.
312 2006-03-08 Patrick Lam <plam@mit.edu>
315 Now remove debian/ directory.
317 2006-03-08 Patrick Lam <plam@mit.edu>
320 Remove debian/ directory from sources. See Debian's subversion
321 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
324 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
328 * fc-lang/iso639-1, fc-lang/iso639-2:
330 Add orthography for Lingala.
332 2006-03-08 Carl Worth <cworth@cworth.org>
335 * conf.d/Makefile.am:
336 * conf.d/10LohitGujarati.conf:
338 Add a configuration file that disables hinting for the Lohit
339 Gujarati font (since the hinting distort some glyphs quite badly).
341 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
344 * src/fcdir.c (FcDirScanConfig):
346 Sort directory entries while scanning them from disk;
347 prevents Heisenbugs due to file ordering in a directory.
349 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
352 * src/fcfreetype.c (GetScriptTags):
353 * src/ftglue.c, src/ftglue.h:
355 Remove stuff we don't use, make get_{char,short,long} functions
356 of ftglue macros to be inlined.
359 * src/fcname.c (FcObjectSerialize):
361 Code cleanups (excess prototype, old-style function definition).
363 2006-03-05 Patrick Lam <plam@mit.edu>
364 * src/fcpat.c (FcPatternGetString):
366 Because we hacked FcPatternGet, we don't really need to expand the
367 filename again in FcPatternGetString.
369 2006-03-05 Patrick Lam <plam@mit.edu>
370 * src/fcpat.c (FcPatternGetString, FcPatternGet):
372 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
373 Make that work. Reported by Bernhard Rosenkraenzer.
375 2006-03-03 Patrick Lam <plam@mit.edu>
378 Include inttypes.h instead of stdint.h if appropriate.
380 2006-03-03 Patrick Lam <plam@mit.edu>
381 * fc-cat/fc-cat.c (FcFileIsDir):
382 * fc-glyphname/fc-flyphname.c:
384 More stub definitions and remove FcFileIsDir from fc-cat.
386 2006-03-03 Patrick Lam <plam@mit.edu>
389 Fix compilation on AIX with stub definitions (bug 6097).
391 2006-03-03 Patrick Lam <plam@mit.edu>
392 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
393 * src/fcfreetype.c (GetScriptTags):
394 * src/fcfs.c (FcFontSetDistributeBytes):
395 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
397 Get rid of C++-style comments.
399 2006-03-03 Patrick Lam <plam@mit.edu>
402 Enable creation of 2.3.94 Debian packages.
404 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
407 * src/fclang.c (FcCharSetForLang):
409 Fix suspicious return expression which causes junk
412 2006-02-24 Patrick Lam <plam@mit.edu>
416 * fontconfig/fontconfig.h:
418 Bump version to 2.3.94.
420 2006-02-24 Patrick Lam <plam@mit.edu>
425 2006-02-24 Patrick Lam <plam@mit.edu>
426 * conf.d/10-fonts-persian.conf:
428 Remove unconditional emboldening (per Behdad's instructions).
432 Add @s to hide some echos.
434 2006-02-24 Mike Fabian <mfabian@suse.de>
435 Takashi Iwai <tiwai@suse.de>
438 * src/fcfreetype.c (GetScriptTags):
440 Fix double-free on error case.
442 2006-02-21 Patrick Lam <plam@mit.edu>
443 * fc-lang/fc-lang.c (scan):
445 Strip \r and whitespace from input; fixes bug 3454.
447 2006-02-21 Patrick Lam <plam@mit.edu>
448 * fc-lang/fc-lang.c (main):
450 Allocate large arrays statically in fc-lang to fix crashes under
453 2006-02-21 Diego Petten <flameeyes@gentoo.org>
454 * src/fcfreetype.c (FcFreeTypeCharIndex):
456 Pass the buck; make fontconfig not crash on pango badness.
458 2006-02-21 Patrick Lam <plam@mit.edu>
459 * conf.d/10-fonts-persian.conf:
461 Use embeddedbitmap rather than rh_prefer_bitmap.
463 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
466 * src/fccache.c (FcDirCacheWrite):
467 * src/fcdir.c (FcFileScanConfig):
468 * src/fcfreetype.c (FcStringInPatternElement):
469 * src/fcxml.c (FcParseFamilies):
470 * src/ftglue.c (ftglue_face_goto_table):
472 Eliminate redundancies.
474 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
477 * fc-list/fc-list.c (main):
478 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
479 * src/fcstr.c (FcStrStr):
480 * src/fcxml.c (FcConfigSaveAttr):
482 Eliminate unused vars reported by Intel's compiler.
484 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
489 Remove one more archaic character.
491 2006-02-21 Ross Burton <ross@burtonini.com>
492 reviewed by: plam, keithp
494 * src/fcxml.c (FcParsePatelt):
496 Freeze patterns created by configuration file for tiny
497 memory savings (every little bit helps).
499 2006-02-21 Mike Fabian <mfabian@suse.de>
502 * fc-cat/fc-cat.c (main):
504 Initialize fontconfig library in fc-cat to avoid segfault.
506 2006-02-18 Patrick Lam <plam@mit.edu>
507 * fc-cache/fc-cache.c (scanDirs):
508 * src/fccache.c (FcCacheReadDirs):
509 * src/fcdir.c (FcDirScanConfig):
511 Fix the underlying cause of the below segfault (must usually
512 call FcDirCacheHasCurrentArch after FcDirCacheValid).
514 2006-02-18 Patrick Lam <plam@mit.edu>
515 * src/fccache.c (FcDirCacheHasCurrentArch):
517 Fix triggering of segfault caused by misreading cache files
518 (reported by fcrozat).
520 2006-02-17 Patrick Lam <plam@mit.edu>
521 * src/fcint.h (FC_CACHE_MAGIC):
523 Bump up magic version; we changed the binary format.
525 2006-02-17 Patrick Lam <plam@mit.edu>
526 * fc-cat/fc-cat.c (main):
528 Enable fc-cat to print out old-style cache info when given a
531 2006-02-16 Patrick Lam <plam@mit.edu>
532 * src/fccache.c (FcDirCacheHasCurrentArch):
534 Deal correctly with changing FC_CACHE_MAGIC.
536 2006-02-16 Patrick Lam <plam@mit.edu>
537 * fc-cache/fc-cache.c (usage, scanDirs, main):
539 Add -r --really-force option which blows away cache files and then
542 2006-02-16 Patrick Lam <plam@mit.edu>
543 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
545 Don't bail if fontconfig can't remove a dir cache file.
546 Skip the ID of a cache file when copying.
547 Eliminate 'source file too small' bug in FcDirCacheWrite.
549 2006-02-13 Patrick Lam <plam@mit.edu>
550 * src/fcfreetype.c (FcFreeTypeQuery):
552 Fix memory leak in error condition code.
554 2006-02-13 Mike Fabian <mfabian@suse.de>
556 * src/fcfreetype.c (FcFreeTypeQuery):
558 Skip bitmap fonts which can't even get it together enough to
559 declare a family name; this appears to reproduce previous
560 fontconfig behaviour.
562 2006-02-10 Takashi Iwai <tiwai@suse.de>
564 * src/fccache.c (FcDirCacheOpen):
566 Try to open /var/cache/fontconfig/[hashed name] before
567 fonts.cache-2 in a directory, because /var/cache/fontconfig
568 failures ought to be fixable, unlike fonts.cache-2 failures,
569 which may leave you screwed.
571 2006-02-10 Takashi Iwai <tiwai@suse.de>
573 * src/fcmatch.c (FcFontSetMatch):
575 Use a tri-state to mark the fonts which didn't get blocked but
576 were just missing an element, to distinguish them from the
577 fonts that do match the element.
579 2006-02-10 Takashi Iwai <tiwai@suse.de>
581 * src/fcmatch.c (FcFontSetMatch):
583 Don't kill fonts because they don't declare an element that's
586 2006-02-09 Patrick Lam <plam@mit.edu>
587 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
588 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
590 Define and pass O_BINARY to open if appropriate, for those
591 platforms that need it. Reported by Doodle.
593 2006-02-09 Patrick Lam <plam@mit.edu>
594 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
597 Fix problem with missing 'en' due to euro.patch: change
598 cache file format slightly to coincide with that generated
601 2006-02-07 Patrick Lam <plam@mit.edu>
602 * src/fccache.c (FcCacheReadDirs):
606 2006-02-07 Patrick Lam <plam@mit.edu>
607 * src/fcdir.c (FcDirScanConfig):
609 Don't reject dirs that can't be normalized (fixes lilypond, and
610 is correct in the context of application font directories.)
612 2006-02-07 Takashi Iwai <tiwai@suse.de>
615 * src/fccache.c (FcCacheReadDirs):
617 Use normalized directory name exclusively in FcCacheReadDirs.
619 2006-02-07 Dirk Mueller <dmueller@suse.com>
622 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
624 Perf optimizations. Inline FcValueCanonicalize,
625 reduce FcValueListPtrU usage, remove redundant cast.
627 2006-02-07 Takashi Iwai <tiwai@suse.de>
630 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
633 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
634 Declare extern for static arrays as arrays, not pointers.
635 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
637 2006-02-07 Dirk Mueller <dmueller@suse.com>
650 Add Euro sign to list of symbols required by European languages.
652 2006-02-07 Patrick Lam <plam@mit.edu>
653 * src/fccache.c (FcCacheReadString):
655 Fix hidden variable warning.
657 2006-02-07 Dirk Mueller <dmueller@suse.com>
660 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
662 Remove de-escaping logic because FcCacheWriteString
663 doesn't escape anyway. Do blockwise reading instead
664 of byte-wise for performance.
666 2006-02-06 Patrick Lam <plam@mit.edu>
667 Takashi Iwai <tiwai@suse.de>
669 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
671 Don't loop infinitely on recursive symlinks (client-side).
673 2006-02-06 Takashi Iwai <tiwai@suse.de>
675 * fc-cache/fc-cache.c (scanDirs, main):
677 Don't loop infinitely on recursive symlinks.
679 2006-02-06 Takashi Iwai <tiwai@suse.de>
681 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
682 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
683 FcGlobalCacheSave, FcCacheReadDirs):
686 Skip subdirs when skipping over stale bits of global cache.
687 Introduce state machine into FcGlobalCacheDir to avoid
688 doing inappropriate operations on global dir entries, e.g.
689 writing out an out-of-date cache entry.
691 2006-02-06 Takashi Iwai <tiwai@suse.de>
693 * src/fcdir.c (FcFileScanConfig):
695 Hoist FcFileIsDir check out of FcFileScanConfig loop.
697 2006-02-06 Takashi Iwai <tiwai@suse.de>
700 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
701 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
703 Don't rescan when trying to normalize a non-declared font dir.
704 Don't add font dirs multiple times (even if they're aliased).
706 2006-02-06 Dirk Mueller <dmueller@suse.de>
709 * src/fcfs.c (FcFontSetUnserialize):
711 Explain apples/oranges comparison and fix compilation error.
713 2006-02-06 Dirk Mueller <dmueller@suse.de>
716 * src/fcfs.c (FcFontSetUnserialize):
718 Insert check for integer overflow in # of fonts.
720 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
724 * fc-cache/Makefile.am:
725 * fc-cat/Makefile.am:
726 * fc-list/Makefile.am:
728 Make 'make distcheck' work with automake 1.6.3.
730 2006-02-03 Takashi IWAI <tiwai@suse.de>
733 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
736 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
737 FcDirCacheConsume, FcDirCacheWrite)
738 * src/fcxml.c (FcConfigMessage):
740 Check I/O call return values and eliminate unused variable
743 2006-02-03 Takashi Iwai <tiwai@suse.de>
746 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
750 2006-02-03 Dirk Mueller <dmueller@suse.de>
753 * src/fcfs.c (FcFontSetUnserialize):
755 Gracefully handle the case where a cache asserts that it
756 has a negative number of fonts, causing overflow.
758 2006-02-03 Patrick Lam <plam@mit.edu>
759 * src/fccache.c (FcDirCacheUnlink):
761 Fix double free in error case.
763 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
764 Stephan Kulow <coolo@suse.de>
767 * fc-cache/Makefile.am:
769 Replace 'stamp' target with mkinstalldirs.
771 2006-01-31 Mike Fabian <mfabian@suse.de>
774 * src/fccache.c (FcGlobalCacheLoad):
776 Toast broken global cache files.
778 2006-01-30 Patrick Lam <plam@mit.edu>
779 * src/fccache.c (FcGlobalCacheReadDir):
781 Actually use the directories that I added to the global cache.
784 2006-01-30 Mike Fabian <mfabian@suse.de>
787 * fc-cache/fc-cache.c (scanDirs):
789 Don't stop scanning if a directory in fonts.conf doesn't
790 exist, because subsequent directories might exist.
792 2006-01-30 Patrick Lam <plam@mit.edu>
793 * src/fccache.c (FcGlobalCacheLoad):
795 Make global cache work again after putting dir names into global
796 cache (I misplaced the recording of a file offset).
798 2006-01-30 Patrick Lam <plam@mit.edu>
799 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
801 Update fc-cat to handle subdir lists in global cache file.
803 * src/fccache.c (FcGlobalCacheLoad):
805 Another FcCacheReadString return value check.
807 2006-01-30 Mike Fabian <mfabian@suse.de>
810 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
811 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
813 Make fccache more resilient to broken cache files by checking
814 return value of FcCacheReadString all the time.
816 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
819 * fc-match/fc-match.1:
820 * fc-lang/fc-lang.man:
822 Remove references to dead fontconfig(3) manpages in
823 other fontconfig manpages.
825 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
828 * doc/fcpattern.fncs:
830 Fix world's tiniest typo in code example.
832 2006-01-29 Mike Fabian <mfabian@suse.de>
835 * src/fccache.c (FcGlobalCacheReadDir):
837 Fix global cache reads of subdirectories.
839 2006-01-29 Patrick Lam <plam@mit.edu>
841 Add documentation for FcConfigNormalizeFontDir.
843 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
844 FcGlobalCacheUpdate, FcGlobalCacheSave):
845 * src/fcdir.c (FcDirScanConfig):
848 Write directory information to global caches to fix make check
849 (reported by Ronny V. Vindenes). This changes the global cache
852 2006-01-27 Patrick Lam <plam@mit.edu>
853 * fc-cache/fc-cache.c (scanDirs):
854 * fontconfig/fontconfig.h:
856 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
858 Move FcConfigNormalizeFontDir call so that it doesn't result in
859 infinite recursion (reported by Ronny V. Vindenes).
861 2006-01-26 Patrick Lam <plam@mit.edu>
862 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
863 * src/fccfg.c (FcConfigNormalizeFontDir):
865 Add a couple of missing normalizations to make fc-cache work
866 right; only scan subdirectories once.
868 2006-01-26 Mike Fabian <mfabian@suse.de>
871 * src/fcacache.c (FcGlobalCacheReadDir):
873 Don't crash on non-existant directories in global cache.
875 2006-01-26 Patrick Lam <plam@mit.edu>
876 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
877 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
878 * src/fcdir.c (FcDirScanConfig):
879 * src/fcxml.c (FcEndElement):
881 Stop trampling the directory name when writing out caches.
882 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
883 subdirs when necessary. Don't scan directories that can't be
886 2006-01-25 Patrick Lam <plam@mit.edu>
887 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
888 * src/fccfg.c (FcConfigEvaluate):
889 * src/fcfreetype.c (FcPatternAddWithBinding):
891 Fix additional memory leaks reported by Ronny V. Vindenes: don't
892 invoke FcValueSave on hashed static strings in
893 FcPatternAddWithBinding.
895 Add another st_dev check in FcDirCacheOpen.
897 2006-01-24 James Su <james.su@gmail.com>
900 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
901 * fc-lang/zh_hk.orth:
903 Treat zh-hk fonts differently from zh-tw fonts. This patch may
904 cause fontconfig to treat A-X fonts differently from A-Y fonts;
905 please mail the fontconfig list if this causes any problems.
907 2006-01-24 Patrick Lam <plam@mit.edu>
908 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
909 * src/fcfreetype.c (FcFreeTypeQuery):
911 Fix memory leaks reported by Ronny V. Vindenes.
913 2006-01-19 Andreas Schwab <schwab@suse.de>
916 * src/fcpat.c (FcStrNeededBytes):
918 Fix for unaligned memory accesses.
920 2006-01-18 Mike Fabian <mfabian@suse.de>
923 * src/fcdir.c (FcDirScanConfig):
925 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
926 calls to avoid crashes.
928 2006-01-14 Patrick Lam <plam@mit.edu>
929 * src/fccache.c (FcDirCacheConsume):
931 Fix segfault when consuming zero-length caches in fc-cat
932 (which has no config, so FcConfigAddFontDir shouldn't be called.)
934 2006-01-14 Patrick Lam <plam@mit.edu>
935 * fc-cache/fc-cache.c (scanDirs):
936 * fontconfig/fontconfig.h:
937 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
938 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
939 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
940 * src/fcdir.c (FcDirScanConfig):
943 Compare device numbers as well as inodes.
944 Always normalize directory names before comparing them.
946 2006-01-11 Mike Fabian <mfabian@suse.de>
949 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
951 Allocate extra space for appended '/' in directory name.
953 2006-01-10 Patrick Lam <plam@mit.edu>
954 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
955 FcDirCacheValid, FcDirCacheHasCurrentArch,
956 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
957 * fc-cache/fc-cache.c (main):
959 Explicitly add font dirs to config.fontDirs even if they're empty.
960 Set current config in fc-cache.c.
961 Fix treatment of cache directory as read from cache file; don't
962 use string equality to determine if we have the right file,
965 2006-01-09 Patrick Lam <plam@mit.edu>
966 * fc-cache/fc-cache.c (scanDirs):
967 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
968 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
969 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
970 * src/fccfg.c (FcConfigNormalizeFontDir):
971 * src/fcdir.c (FcDirScanConfig):
974 Normalize font dirs by using the form, as given in fonts.conf, and
975 recorded in FcConfig's fontDirs string set, as canonical.
977 Actually update config.fontDirs as font directories are scanned.
979 2006-01-08 James Su <james.su@gmail.com>
980 * src/fcmatch.c (FcFontSetMatch):
982 Fix matching bug when multiple elements match; don't use
983 the sum of all scores, but the best score.
985 Also more perf opts, e.g. evaluate best over all font sets
986 rather than on a per-set basis (and other changes).
988 2006-01-08 Patrick Lam <plam@mit.edu>
989 * src/fccache.c (FcDirCacheConsume):
991 Properly skip past dir caches that contain zero fonts (as occurs
992 in global caches.) Reported by Mike Fabian.
994 2006-01-06 Patrick Lam <plam@mit.edu>
995 * src/fcdbg.c (FcPatternPrint):
997 Print out full pathname in fc-match -v as well. Reported by
1000 2006-01-06 Mike Fabian <mfabian@suse.de>
1003 * src/fcname.c (FcNameParse):
1005 Fix bug where fc-match crashes when given __DUMMY__ property to
1008 (I added the __DUMMY__ string to enable callers of
1009 FcObjectToPtrLookup to distinguish an error return from a
1010 successful return. -PL)
1012 2006-01-05 Patrick Lam <plam@mit.edu>
1015 Add self to AUTHORS list.
1017 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1018 FcCacheFileRead, FcCachePrintSet, main):
1019 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1020 FcGlobalCacheSave, FcCacheNextOffset,
1021 FcDirCacheHasCurrentArch, FcDirCacheRead,
1022 FcDirCacheConsume, FcDirCacheWrite):
1024 * src/fcpat.c (comment):
1026 Minor change to global cache file format to fix fc-cat bug
1027 reported by Frederic Crozat, and buglet with not globally caching
1028 directories with zero fonts cached.
1030 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1033 * src/fccfg.c (FcConfigEvaluate):
1035 Fix double-free which occurs because FcValueCanonicalize doesn't
1036 create an extra copy of the returned value, it only canonicalizes
1039 2006-01-02 Patrick Lam <plam@mit.edu>
1040 * doc/fontconfig-user.sgml:
1042 Fix version of .cache file (currently 1 -> currently 2). Reported
1045 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1048 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1050 Shut up GCC warnings on amd.
1052 2005-12-20 Patrick Lam <plam@mit.edu>
1056 * fontconfig/fontconfig.h:
1058 Bump version to 2.3.93.
1060 2005-12-20 Patrick Lam <plam@mit.edu>
1061 * src/fccharset.c (FcLangCharSetPopulate):
1062 * src/fcint.h (FcCacheBankToIndex):
1064 Avoid check on _fcBankId nullness and fix case where it used to
1067 2005-12-20 Patrick Lam <plam@mit.edu>
1068 * src/fcxml.c (FcConfigParseAndLoad):
1070 Use open instead of fopen (requested by Phil Race for Sun).
1072 2005-12-20 Patrick Lam <plam@mit.edu>
1073 * src/fccache.c (FcDirCacheWrite);
1074 * fc-cache/Makefile.am:
1076 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1079 2005-12-20 Patrick Lam <plam@mit.edu>
1080 * src/fcfreetype.c (FcFreeTypeQuery):
1082 Restore code to skip over PCF fonts that have no encoded
1084 (We guess that a font is PCF by presence of the PIXEL_SIZE
1087 2005-12-12 Patrick Lam <plam@mit.edu>
1088 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1090 Read and write the original location as a fallback for the
1091 hashed cache file locations. This is mostly for users to be
1092 able to have per-directory cache files.
1094 2005-12-12 Patrick Lam <plam@mit.edu>
1095 * fc-cache/fc-cache.c (scanDirs):
1096 * fc-cache/Makefile.am:
1097 * src/fccache.c (FcDirCacheHashName):
1099 Improve error message when fc-cache can't write the cache. Add
1100 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1101 create /var/cache/fontconfig when appropriate.
1103 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1106 * src/fcxml.c (FcConfigGetAttribute):
1108 Fix crash reported by Frederic Crozat when using libxml2.
1110 2005-12-09 Patrick Lam <plam@mit.edu>
1113 * fc-cache/Makefile.am:
1114 * fc-cat/Makefile.am:
1116 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1117 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1118 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1119 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1120 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1121 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1123 Migrate cache files from fonts directories to
1124 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1125 but requires that all caches get rebuilt.
1127 Also, autogen.sh now needs the additional parameter
1128 --localstatedir=/var.
1130 2005-12-07 Patrick Lam <plam@mit.edu>
1131 * src/fcpat.c (FcPatternAddString):
1133 Because we've changed FcPatternAddString to use FcStrStaticName
1134 and not FcValueSave, explicitly handle the case of a null string.
1136 2005-12-06 Patrick Lam <plam@mit.edu>
1137 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1141 2005-12-05 Patrick Lam <plam@mit.edu>
1142 * src/fcname.c (FcNameGetObjectType):
1144 Don't assign types to user object names.
1146 2005-12-05 Patrick Lam <plam@mit.edu>
1147 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1149 Don't free strings that have been returned from FcStrStaticName.
1151 2005-12-01 Patrick Lam <plam@mit.edu>
1152 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1154 Add codepath for reading global cache files as well.
1156 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1159 * conf.d/10-fonts.persian.conf:
1160 * conf.d/Makefile.am:
1162 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1164 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1167 * src/fcxml.c (FcConfigParseAndLoad):
1169 Only add a config file to the set of config files once.
1171 2005-11-29 Patrick Lam <plam@mit.edu>
1172 * src/fcint.h (FcCacheBankToIndex);
1174 Fix segfault by guarding array dereference.
1176 2005-11-29 Dirk Mueller <dmueller@suse.de>
1179 * fc-lang/fc-lang.c:
1180 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1181 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1185 Refactor FcCacheBankToIndex into an inlineable part
1186 (in fcint.h) which checks the front of the list and a
1187 non-inlineable part which finds and moves the appropriate element
1188 to the front of the list.
1190 2005-11-29 Patrick Lam <plam@mit.edu>
1191 * src/fccfg.c (FcConfigBuildFonts):
1192 * src/fccache.c (FcCacheReadDirs):
1194 Make the perf guys hate me a bit less: hoist the directory-name
1195 FcConfigAcceptFont check for cached fonts up to directory cache
1196 read time, rather than running it for each font.
1198 2005-11-29 Patrick Lam <plam@mit.edu>
1199 * src/fccfg.c (FcConfigBuildFonts):
1201 * src/fcpat.c (FcPatternFindFullFname):
1203 Don't make FcPatternFindFullFname available to fccfg, it's not
1204 really safe. Instead go through FcPatternGetString (sorry,
1205 perf guys.) Also, use globs for dirs as well.
1207 2005-11-28 Patrick Lam <plam@mit.edu>
1208 * src/fccfg.c (FcConfigBuildFonts):
1212 2005-11-28 Patrick Lam <plam@mit.edu>
1214 * src/fcpat.c (FcPatternFindFullFname):
1215 * src/fccfg.c (FcConfigBuildFonts):
1217 Fix problem dating back at least to 2.3.2 where globs weren't
1218 being applied to patterns loaded from a cache.
1220 2005-11-28 Patrick Lam <plam@mit.edu>
1221 * doc/fontconfig-user.sgml:
1223 Fix some obvious spelling mistakes.
1225 2005-11-28 Dirk Mueller <dmueller@suse.com>
1226 Stephan Kulow <coolo@suse.de>
1229 * src/fcmatch.c (FcFontSetMatch):
1231 Don't kill all fonts during match (oops!)
1234 2005-11-25 Dirk Mueller <dmueller@suse.com>
1235 Stephan Kulow <coolo@suse.de>
1236 Michael Matz <matz@suse.de>
1239 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1242 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1243 inline FcCompare into FcFontSetMatch and reorder the
1244 loops, adding a boolean array which blocks patterns from future
1245 consideration if they're known to not be best on some past
1248 2005-11-26 Dirk Mueller <dmueller@suse.com>
1251 * src/fcmatch.c (FcCompareValueList):
1253 Fix incorrect merge.
1255 2005-11-25 Patrick Lam <plam@mit.edu>
1256 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1258 Don't do random matching when bad objects are passed into
1261 2005-11-25 Patrick Lam <plam@mit.edu>
1263 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1264 FcPatternSerialize, FcPatternUnserialize,
1265 FcValueListEnsureBank, FcValueListDistributeBytes,
1266 FcValueListUnserialize):
1268 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1269 _fcPatternElts, _fcValueLists for consistency.
1271 2005-11-25 Dirk Mueller <dmueller@suse.com>
1276 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1278 2005-11-25 Patrick Lam <plam@mit.edu>
1280 * src/fccache.c (FcDirCacheConsume):
1281 * src/fccharset.c (FcCharSetUnserialize):
1282 * src/fcfs.c (FcFontSetUnserialize):
1283 * src/fclang.c (FcLangSetUnserialize):
1284 * src/fcname.c (FcObjectUnserialize):
1285 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1286 FcPatternUnserialize):
1288 Pass around FcCache *s to the Unserialize functions for extra
1289 consistency (and less overhead, for what that's worth).
1291 2005-11-24 Dirk Mueller <dmueller@suse.com>
1295 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1296 * src/fcname.c (FcNameUnparseValue):
1298 Inline the *PtrU functions to gain perf.
1299 Remove unneeded params for the FcCompare* functions.
1301 2005-11-24 Dirk Mueller <dmueller@suse.com>
1304 * src/fcint.h, fontconfig/fontconfig.h:
1306 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1308 * src/fcpat.c, src/fcint.h, src/fcname.c:
1310 Check for type validity during FcPatternAddWithBinding, don't
1311 verify type in FcFontMatch, don't call FcCanonicalize here
1312 (which always does a deep copy).
1314 2005-11-24 Dirk Mueller <dmueller@suse.com>
1317 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1318 * src/fcpat.c (FcPatternAddWithBinding):
1320 Make FcCompareString and FcCompareFamily less expensive.
1321 Only add a value for FC_FAMILY if the proposed value is a string.
1323 2005-11-24 Dirk Mueller <dmueller@suse.com>
1326 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1327 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1328 * src/fcint.h (FcDebug):
1330 Inline FcDebug invocations and only initialize once, in FcInit*.
1331 Improve debug msg in FcPatternPrint.
1333 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1336 * fontconfig/fontconfig.h:
1339 Minor code warning cleanups.
1341 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1344 * fc-match/fc-match.c (main):
1346 Make getopt_long accept -s parameter to fc-match as well.
1348 2005-11-21 Dirk Mueller <dmueller@suse.com>
1351 * src/fcmatch.c (FcCompareValueList):
1353 Manually perform inlining & partial redundancy elimination to
1354 reduce calls to FcValueListPtrU.
1356 2005-11-21 Dirk Mueller <dmueller@suse.com>
1359 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1360 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1362 Only invoke strlen() when really necessary.
1364 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1368 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1369 FcFontCapabilities):
1373 Get rid of the use of freetype internal headers in fcfreetype.c,
1374 since those headers will go away with freetype 2.2. Replace with
1375 public domain ftglue code from pango. Note that the patch removes
1376 some extra error checking in FT_Get_BDF_Property() and comments
1377 out the skipping of empty pcf fonts.
1379 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1382 * fc-lang/fc-lang.c (main):
1384 Further fix of patch from 2005-11-04: miscounted numbers count
1385 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1386 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1388 Removed leafidx_count and numbers_count since they are the same
1389 and replaced them with offset_count.
1391 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1394 * fc-cat/fc-cat.c (main):
1396 Don't crash when fc-cat invoked with no arguments.
1398 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1401 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1403 Fix invalid read access caused by premature free and
1404 GCC4 warnings in libxml2 codepath.
1406 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1409 * src/fccfg.c (FcConfigValues):
1411 List iteration not needed in FcConfigValues, since it's building
1412 up the list itself; we can just strip FcVoid elements during
1415 2005-11-17 Patrick Lam <plam@mit.edu>
1416 * src/fccfg.c (FcConfigValues):
1418 Fix crash on invalid constants in config files (forgot to update
1419 a pointer upon list iteration.)
1421 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1424 * src/fcxml.c (FcTypecheckExpr):
1426 Complain about invalid constants in config files.
1428 2005-11-17 Andreas Schwab <schwab@suse.de>
1431 * src/fccache.c (FcGlobalCacheSave):
1433 Don't add current_arch_start more than once.
1435 2005-11-16 Patrick Lam <plam@mit.edu>
1436 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1437 * src/fcfs.c (FcFontSetUnserialize):
1438 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1439 * src/fcpat.c (FcStrUnserialize):
1441 Fix ordering of ALIGN with respect to saving block_ptr; add
1442 another ALIGN to fcfs.c.
1444 2005-11-16 Patrick Lam <plam@mit.edu>
1445 * src/fccache.c (FcDirCacheProduce)
1447 Fix case where alignment bytes bumped up metadata->count
1448 causing unwarranted failures to write cache files.
1449 (Reported by Stephan Kulow).
1451 2005-11-16 Patrick Lam <plam@mit.edu>
1452 * src/fccache.c (FcDirCacheProduce):
1453 * src/fccharset.c (FcCharSetDistributeBytes):
1454 * src/fcfs.c (FcFontSetDistributeBytes):
1456 * src/fclang.c (FcLangSetDistributeBytes):
1457 * src/fcname.c (FcObjectDistributeBytes):
1458 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1461 Add *NeededBytesAlign(), which overestimates the padding which is
1462 later added by the new ALIGN macro. Fix alignment problems on
1463 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1464 version by Andreas Schwab).
1466 2005-11-16 Stephan Kulow <coolo@kde.org>
1471 Use sysconf to determine proper PAGESIZE value; this
1472 appears to be POSIX-compliant. (reported by Andreas Schwab)
1474 2005-11-04 Patrick Lam <plam@mit.edu>
1475 * fc-lang/fc-lang.c:
1480 Fix bug 2878 (excessive relocations at startup for charsets,
1481 reported by Ross Burton): fc-lang/fc-lang now creates the
1482 static form of the langset, not the dynamic form, so that
1483 the charsets should now be in .rodata.
1485 2005-11-04 Patrick Lam <plam@mit.edu>
1486 * src/fcdir.c (FcDirScanConfig):
1488 Add test for validity of directory caches that
1489 somehow got lost (reported by make distcheck).
1491 2005-11-04 Patrick Lam <plam@mit.edu>
1495 * fontconfig/fontconfig.h:
1497 Bump version to 2.3.92.
1499 2005-11-02 Patrick Lam <plam@mit.edu>
1500 * src/fcpat.c (FcPatternDuplicate):
1502 Fix argument ordering problem in call to FcPatternTransferFullFname.
1504 2005-11-02 Patrick Lam <plam@mit.edu>
1505 * src/fcfreetype.c (FcFreetypeQuery):
1506 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1507 FcPatternTransferFullFname):
1509 Fix warnings and embarrassing double-free error.
1511 2005-11-02 Zhe Su <zsu@novell.com>
1516 Change the rule for artificial emboldening in fonts.conf.in. This
1517 enables the support for artificial emboldening included in cairo.
1519 2005-11-02 Patrick Lam <plam@mit.edu>
1520 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1522 Don't zero out full names for FC_REF_CONSTANT fonts;
1523 also, duplicate full names when transferring, and free
1524 full names when freeing the associated font.
1525 Reported by Jinghua Luo.
1527 2005-11-02 Patrick Lam <plam@mit.edu>
1528 * fc-cache/fc-cache.c (scanDirs):
1529 * src/fcpat.c (FcValueListSerialize):
1531 Revert the previous patch and commit the correct patch:
1532 I forgot a canonicalization in FcValueListSerialize, so
1533 that it would choke on already-serialized input files. Duh!
1535 2005-11-02 Patrick Lam <plam@mit.edu>
1536 * fc-cache/fc-cache.c (scanDirs):
1538 Forcibly rescan a directory before writing a fresh local
1539 cache file for that directory, fixing the losing-fonts
1540 problem reported by Mike Fabian and also apparently the
1541 font cache file corruption.
1543 2005-11-02 Patrick Lam <plam@mit.edu>
1544 * src/fccache.c (FcGlobalCacheLoad):
1546 Fix thinko: actually, the whole global cache is stale
1547 if the global cache is older than the (newest) config file.
1549 2005-11-02 Patrick Lam <plam@mit.edu>
1550 * src/fccache.c (FcGlobalCacheLoad):
1551 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1554 Declare the global cache of a directory's contents to be stale if
1555 the directory is newer than the (newest) configuration file.
1557 2005-10-31 Patrick Lam <plam@mit.edu>
1559 * src/fclist.c (FcListAppend):
1560 * src/fcmatch.c (FcFontRenderPrepare):
1561 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1562 FcPatternFreeze, FcPatternBaseFreeze):
1564 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1565 applications continue breaking.
1567 2005-10-31 Patrick Lam <plam@mit.edu>
1568 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1569 * src/fcfreetype.c (FcFreeTypeQuery):
1571 Fix small memory error (tried to free argv); use basename and
1572 dirname correctly (they can modify their arguments).
1574 2005-10-31 Patrick Lam <plam@mit.edu>
1582 Reinstate basename patch, but keep a hash table linking FcPatterns
1583 to their fully-qualified font names for clients' benefit. Clients
1584 only pay for the font names once they request the FC_FILE property
1585 from an FcPattern, but the font name is malloc'd at that point (i.e.
1586 not mmapped: that's impossible, since it may vary between machines.)
1587 Clients do have to pay for a copy of the path name per cache file.
1589 Note that FcPatternGetString now does some rewriting if you ask
1590 for an FC_FILE, appending the pathname as appropriate.
1592 2005-10-31 Patrick Lam <plam@mit.edu>
1593 * src/fcfreetype.c (FcFreeTypeQuery):
1595 Revert basename patch, which breaks fontconfig clients on my system.
1597 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1600 * fontconfig/fonts.conf.in:
1601 * fontconfig/fontconfig.h:
1605 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1606 to load embedded bitmaps or not.
1608 2005-10-25 Patrick Lam <plam@mit.edu>
1609 * src/fcfreetype.c (FcFreeTypeQuery):
1611 Only add basename to patterns' FC_FILE element, not any part of
1614 2005-10-22 Patrick Lam <plam@mit.edu>
1617 Add some more consts, fixing more GCC4 warnings.
1619 2005-10-22 Zhe Su <zsu@novell.com>
1622 Support localized font family and style names.
1623 This has been reported to break old apps like xfd, but modern
1624 (gtk+/qt/mozilla) apps work fine.
1626 2005-10-21 Patrick Lam <plam@mit.edu>
1627 * src/fccache.c (FcGlobalCacheLoad):
1629 Destroy the global cache file if it's terminally broken. (reported by
1632 2005-10-21 Patrick Lam <plam@mit.edu>
1633 * fc-list/fc-list.c (main):
1634 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1635 * fontconfig/fontconfig.h:
1637 Prevent fc-list from escaping strings when printing them (reported by
1640 2005-10-20 Marcus Meissner <meissner@suse.de>
1643 * fontconfig/fontconfig.h:
1645 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1647 2005-10-14 Ross Burton <ross@burtonini.com>
1650 * fc-glyphname/fc-glyphname.c:
1653 Add consts to variables so as to move arrays into .rodata.
1655 2005-10-14 Mike Fabian <mfabian@suse.de>
1658 * src/fccache.c (FcDirCacheUnlink):
1660 Check existence of directory cache file before attempting to unlink.
1662 2005-10-13 Patrick Lam <plam@mit.edu>
1663 * src/fccache.c (FcDirCacheUnlink):
1665 Fix flipped return value on unlink. (Reported by Mike Fabian)
1667 2005-10-12 Patrick Lam <plam@mit.edu>
1670 * src/fcdir.c (FcDirScanConfig):
1673 When fc-cache is run without --force, use directory cache files
1674 to speed up fc-cache run time. (Reported by Mike Fabian)
1676 2005-10-06 Patrick Lam <plam@mit.edu>
1678 * src/fcname.c (FcObjectToPtr):
1679 * src/fcpat.c (FcStrStaticName):
1681 Add padding to make valgrind and glibc not hate each other
1682 when calling strlen().
1684 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1685 reviewed by: plam & keithp
1689 Modify config file to use Greek fonts before Asian fonts with
1692 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1693 reviewed by: plam & keithp
1697 Use libtool -no-undefined flag on all platforms.
1699 2005-10-05 Patrick Lam <plam@mit.edu>
1700 * src/fccache.c (FcCacheHaveBank):
1702 Implement move-to-front array for banks (perf regression
1703 reported by Ronny V. Vindenes).
1705 2005-10-04 Patrick Lam <plam@mit.edu>
1706 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1707 FcDirCacheHasCurrentArch):
1708 * fc-cache/fc-cache.c (scanDirs):
1709 * fontconfig/fontconfig.h:
1711 Add new API which unlinks directory caches and checks dir caches
1712 for existence of appropriate sections. Fix fc-cache to unlink
1713 stale cache files and save directory caches that lack relevant
1716 2005-10-03 Patrick Lam <plam@mit.edu>
1717 * src/fccache.c (FcDirCacheValid):
1719 Ensure that a directory cache has the appropriate section
1720 before reporting that it is valid (reported by Matthias Clasen).
1722 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1730 Use libxml2 if requested (with --enable-libxml2) or if
1731 expat is not available.
1733 2005-09-29 Patrick Lam <plam@mit.edu>
1734 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1736 Fix multi-arch cache files: compute the position for the
1737 block to be added using info from OrigFile, not NewFile.
1739 2005-09-28 Patrick Lam <plam@mit.edu>
1740 * src/fccache.c (FcCacheMachineSignature):
1742 Cast results of sizeof() to unsigned int to get rid of
1743 warnings on x86_64 (thanks Matthias Clasen).
1745 2005-09-27 Patrick Lam <plam@mit.edu>
1746 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1749 Use FcAtomic to rewrite cache files.
1751 2005-09-27 Patrick Lam <plam@mit.edu>
1753 * src/fccache.c (FcDirCacheWrite):
1755 Don't unlink the fonts.cache-2 file even if there's no data
1756 to write; just write an empty cache file. (thanks Lubos Lunak)
1758 2005-09-27 Patrick Lam <plam@mit.edu>
1760 * src/fccache.c (FcDirCacheWrite):
1762 Allocate room for the subdirectory names in each
1763 directory cache. Thanks to James Cloos for finding
1764 and diagnosing this bug!
1766 2005-09-22 Patrick Lam <plam@mit.edu>
1768 * fc-cache/fc-cache.sgml:
1769 * src/fccache.c (FcDirCacheWrite):
1770 * src/fccache.h (struct FcCache):
1772 Update documentation -- fc-cache's man page now says that you
1773 need to run fc-cache once per cached architecture; add some
1774 documentation to the FcCache structure.
1776 Make fc-cache write out fonts.cache-2 files for directories with
1777 no fonts (i.e. only subdirectories).
1779 2005-09-22 Patrick Lam <plam@mit.edu>
1781 * fc-cache/fc-cache.sgml:
1782 * fc-case/fc-case.c:
1783 * fc-glyphname/fc-glyphname.c:
1789 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1793 * fc-lang/fc-lang.c:
1794 * fontconfig/fcprivate.h:
1795 * fontconfig/fontconfig.h:
1809 Implement new mmaped cache for font information.
1810 Bump so revision to 2.3.90.
1812 2005-07-25 Keith Packard <keithp@keithp.com>
1814 * doc/fontconfig-user.sgml:
1815 * fc-glyphname/fc-glyphname.c: (scan), (main):
1816 * fc-lang/fc-lang.c: (FcConfigHome):
1817 * fc-match/fc-match.c: (main):
1818 * src/fccfg.c: (FcConfigHome):
1819 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1820 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1821 (addtag), (FcFontCapabilities):
1822 * src/fcpat.c: (FcValueListEntCreate):
1823 * src/fcstr.c: (FcStrCaseWalkerInit):
1824 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1826 Various GCC 4 cleanups for signed vs unsigned char
1828 Match only [0-9]*.conf files in <include>{directory}</include>
1829 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1831 2005-07-15 Carl Worth <cworth@cworth.org>
1834 * src/fcinit.c: (FcFini):
1835 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1838 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1839 Pull the FcObjectStateName hash table out to file scope, and add
1840 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1843 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1846 2005-06-16 Patrick Lam <plam@MIT.EDU>
1850 * src/fccfg.c: (FcConfigCompareValue):
1851 Make FcOpNotContains use FcStrStr for strings so that
1852 it matches semantics for !FcOpContains.
1854 2005-05-20 Keith Packard <keithp@keithp.com>
1858 Move fontconfig source package to libs as per override
1860 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1862 reviewed by: Mike Fabian
1865 The ka.orth file requires several characters which are not
1866 used anymore in modern Georgian and which are missing in the free
1867 Georgian TrueType fonts downloadable at:
1869 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1871 2005-04-27 Keith Packard <keithp@keithp.com>
1875 Update date to real 2.3.2 release date.
1876 Fix change attributions
1878 2005-04-27 Keith Packard <keithp@keithp.com>
1881 Bump so revision for 2.3.2
1882 * fc-cache/fc-cache.c: (scanDirs):
1883 Fix a few minor leaks in error cases.
1885 2005-04-23 Keith Packard <keithp@keithp.com>
1890 * fontconfig/fontconfig.h:
1891 Update for version 2.3.2
1893 2005-04-21 Keith Packard <keithp@keithp.com>
1895 * debian/fontconfig.postinst:
1896 Don't force bitmap font enable in default
1897 configuration; allows users to override this in
1907 * debian/po/pt_BR.po:
1908 * debian/po/templates.pot:
1910 * debian/po/zh_CN.po:
1911 Updated translations
1913 * fc-cache/fc-cache.c: (main):
1914 Destroy font configuration on exit to help valgrind
1917 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1918 (FcFreeTypeCheckGlyph):
1919 Use own transcoding routines in preference to iconv
1920 which appears to have leaks in some translators.
1921 Call iconv_close after using iconv (oops).
1923 Prefer unicode encoding of Euro char as some
1924 fonts mis-encode Euro in other ones.
1926 Must fetch bitmap glyphs to get width values
1927 to check for monospace/dual-width fonts.
1929 2005-04-13 Ross Burton <ross@burtonini.com>
1932 Check that a pattern isn't already frozen in FcPatternFreeze.
1934 2005-03-31 Ross Burton <ross@burtonini.com>
1939 Run all FcPattern objects through FcObjectStaticName, so that
1940 compares can be done on pointers instead of strings (#2659)
1942 2005-03-17 Tor Lillqvist <tml@novell.com>
1944 * src/fontconfig.def.in: Add the .dll to the dll name.
1946 2005-03-10 Keith Packard <keithp@keithp.com>
1948 * debian/README.Debian:
1949 Update to reflect configuration changes
1951 * debian/fontconfig.postinst:
1952 Fix Autohint vs Autohinter mistake
1953 * debian/fontconfig.templates:
1954 Adopt changes from Josselin Mouette for configuration descriptions
1955 Update debian to version 2.3.1-2
1957 2005-03-08 Keith Packard <keithp@keithp.com>
1961 Update debian for 2.3.1
1963 2005-03-09 Tor Lillqvist <tml@novell.com>
1965 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1968 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1971 2005-03-08 Keith Packard <keithp@keithp.com>
1975 * fontconfig/fontconfig.h:
1978 2005-03-05 Keith Packard <keithp@keithp.com>
1980 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1981 Include space and remove numbers from valid script tags.
1982 This ensures that tags like 'lao ' work while rejecting
1983 those which have any digits.
1984 Eliminate a spurious debugging variable (len)
1986 2005-03-05 Keith Packard <keithp@keithp.com>
1988 * src/fcfreetype.c: (addtag), (GetScriptTags),
1989 (FcFontCapabilities):
1990 Rework GSUB/GPOS script parsing to survive broken fonts.
1991 Thanks for the broken font go to Manish Singh
1993 2005-03-05 Keith Packard <keithp@keithp.com>
1998 * debian/fontconfig.config:
1999 * debian/fontconfig.templates:
2001 Include 2.3 release information in changelog
2002 Add Josselin Mouette as an Uploader
2003 Set hinting_type to low priority configuration option
2006 * debian/fontconfig.postinst:
2007 yes_bitmaps.conf -> yes-bitmaps.conf
2013 2005-03-02 Keith Packard <keithp@keithp.com>
2016 * conf.d/Makefile.am:
2017 * conf.d/autohint.conf:
2018 * conf.d/no-sub-pixel.conf:
2019 * conf.d/sub-pixel.conf:
2020 * conf.d/unhinted.conf:
2021 * debian/autohint.conf:
2022 * debian/fontconfig.install:
2023 * debian/fontconfig.postinst:
2024 * debian/fontconfig.templates:
2025 * debian/no-sub-pixel.conf:
2026 * debian/unhinted.conf:
2027 Move debian-specific conf file examples upstream.
2029 Sub-pixel configuration examples must smash subpixel value
2030 as Xft always sets it from X.
2032 Change sub-pixel rendering debconf descriptions from
2033 Enable/Disable to Always/Never.
2035 2005-03-02 Keith Packard <keithp@keithp.com>
2038 * conf.d/.cvsignore:
2040 Ignore more build detritus
2043 Add debian package construction stuff.
2045 * config/config.guess:
2046 * config/config.sub:
2047 Update to newer versions of these tools
2050 Get library manuals to build again (we love automake).
2052 * debian/README.Debian:
2053 * debian/autohint.conf:
2058 * debian/fontconfig-udeb.install:
2059 * debian/fontconfig.config:
2060 * debian/fontconfig.defoma:
2061 * debian/fontconfig.dirs:
2062 * debian/fontconfig.install:
2063 * debian/fontconfig.postinst:
2064 * debian/fontconfig.postrm:
2065 * debian/fontconfig.templates:
2066 * debian/libfontconfig1-dev.install:
2067 * debian/libfontconfig1.install:
2068 * debian/local.conf.md5sum:
2069 * debian/no-sub-pixel.conf:
2070 * debian/po/POTFILES.in:
2079 * debian/po/pt_BR.po:
2080 * debian/po/templates.pot:
2082 * debian/po/zh_CN.po:
2084 * debian/unhinted.conf:
2085 Update debian build system to switch maintainers and
2086 deal with 2.3 functionality
2088 2005-03-01 Keith Packard <keithp@keithp.com>
2092 * fontconfig/fontconfig.h:
2095 2005-03-01 Keith Packard <keithp@keithp.com>
2098 Generate and install PDF versions of the manuals
2100 * doc/fcpattern.fncs:
2103 * doc/fcstring.fncs:
2104 Add missing exported functions, fix data types
2106 * doc/fontconfig-devel.sgml:
2107 Add missing pattern elements.
2109 * doc/fontconfig-user.sgml:
2110 Add missing pattern elements. Document conf.d usage,
2111 clarify available orthography list. Fix some config file
2112 attributes. Complete list of constants.
2114 * fontconfig/fontconfig.h:
2115 Mark FC_SOURCE deprecated.
2117 * src/fcfreetype.c: (FcFreeTypeQuery):
2118 Don't set FC_SOURCE any longer.
2120 2005-02-28 Keith Packard <keithp@keithp.com>
2123 * conf.d/Makefile.am:
2125 * conf.d/no-bitmaps.conf:
2126 * conf.d/sub-pixel.conf:
2127 * conf.d/yes-bitmaps.conf:
2129 Create prototype /etc/fonts/conf.d directory with a few
2130 sample configuration files.
2131 Deprecate use of local.conf for local customizations in favor of
2132 this directory based scheme which is more easily integrated into
2133 installation systems.
2136 Tag FC_EMBOLDEN as a boolean variable
2138 2005-02-10 Keith Packard <keithp@keithp.com>
2140 reviewed by: pborelli@katamail.com
2142 * src/fcdir.c: (FcFileScanConfig):
2143 Free patterns from fonts which are rejected by configuration
2146 2005-01-28 Keith Packard <keithp@keithp.com>
2150 * fontconfig/fontconfig.h:
2151 Update for version 2.2.99
2153 2005-01-28 Keith Packard <keithp@keithp.com>
2156 Add a few pointers (#2284, #2285)
2158 2005-01-28 Keith Packard <keithp@keithp.com>
2161 * src/fcname.c: (FcNameBool):
2162 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2163 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2164 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2165 Polite typechecking for test and edit expressions. Helps
2166 catch errors in the font configuration. (bug 229)
2168 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2170 reviewed by: Keith Packard <keithp@keithp.com>
2173 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2175 2005-01-13 Keith Packard <keithp@keithp.com>
2177 * doc/fontconfig-user.sgml:
2178 Add SEE ALSO section (bug 2085)
2180 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2182 reviewed by: Keith Packard <keithp@keithp.com>
2187 * fc-case/Makefile.am:
2188 * fc-glyphname/Makefile.am:
2189 * fc-lang/Makefile.am:
2190 * src/fontconfig.def.in:
2191 Cross compiling fixes (bug 280)
2193 2005-01-13 Keith Packard <keithp@keithp.com>
2196 Update blanks list (Closes bug 86)
2198 2005-01-04 Keith Packard <keithp@keithp.com>
2200 * src/fccache.c: (FcCacheFontSetAdd):
2201 Verify that every font pattern loaded from cache has
2202 both FC_FILE and FC_FAMILY entries.
2203 Attempt to fix bug #2219.
2205 2004-12-29 Keith Packard <keithp@keithp.com>
2209 * fontconfig/fontconfig.h:
2210 Update for version 2.2.98
2212 2004-12-29 Keith Packard <keithp@keithp.com>
2214 * fontconfig/fontconfig.h:
2215 Document ASCII limitations of Fc character conversion macros
2216 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2217 Fix off-by-one error in utf-8 case walking code.
2218 Add FcStrDowncase (useful for testing case conversion functions)
2220 2004-12-29 Keith Packard <keithp@keithp.com>
2223 * fc-case/.cvsignore:
2224 clean up CVS ignore lists
2225 * fc-lang/iso-3166.txt:
2226 Add territory database
2228 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2230 Reviewed by: Keith Packard
2233 Remove Han characters from Korean orthography
2235 2004-12-29 Keith Packard <keithp@keithp.com>
2238 Reorder utility programs to make sure fc-case is run before fc-lang
2239 as fc-lang uses fcstr.c which uses fccase.h
2243 2004-12-29 Keith Packard <keithp@keithp.com>
2246 Adopt some RedHat suggestions for standard font configuration.
2250 * fc-case/CaseFolding.txt:
2251 * fc-case/Makefile.am:
2252 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2253 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2254 (dump), (parseRaw), (caseFoldReadRaw), (main):
2255 * fc-case/fccase.tmpl.h:
2256 Add new helper program 'fc-case' to construct case folding
2257 tables from standard Unicode CaseFolding.txt file
2260 * src/fclist.c: (FcListValueHash):
2261 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2262 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2263 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2264 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2265 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2266 Re-implement case insensitive functions with Unicode
2267 aware versions (including full case folding mappings)
2269 2004-12-13 Keith Packard <keithp@keithp.com>
2271 reviewed by: Owen Taylor <otaylor@redhat.com>
2273 * src/fcmatch.c: (FcFontSetSort):
2274 I changed FcFontSetSort to respect the generic aliases better
2275 in the face of language matching.
2277 What I did was to ammend the strict sort order used by FcFontSort so
2278 that it 'satisfies' the language specified in the pattern by locating
2279 the best matching font supporting each pattern language and then
2280 ignores language in the remaining fonts for purposes of matching.
2282 So, when asking for 'sans:lang=en', you'll get an English font first,
2283 and then the remaining fonts sorted with respect to the 'sans' alias
2284 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2286 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2288 reviewed by: Keith Packard <keithp@keithp.com>
2290 * fontconfig/fontconfig.h:
2293 Configuration changes to request synthetic emboldening of
2294 fonts. The actual emboldening code will live in Xft.
2296 2004-12-09 John Thacker <thacker@math.cornell.edu>
2298 reviewed by: Keith Packard <keithp@keithp.com>
2302 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2303 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2304 и), and don't even appear in KOI8-R. (The hypothesis that they
2305 don't appear in KOI8-R due to their similarity with Latin I and i is
2306 eliminated by their presence in KOI8-U.) I have a couple of fonts
2307 with Russian support that don't have the letter.
2309 Therefore, 0406 and 0456 should be removed from or commented out of
2312 2004-12-06 michael meeks <mmeeks@novell.com>
2314 Reviewed by: Keith Packard <keithp@keithp.com>
2316 * src/fcinit.c: (FcMemReport):
2318 * src/fclist.c: (FcObjectSetAdd):
2319 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2320 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2321 * src/fcxml.c: (FcParsePatelt):
2322 memoize strings and share a single copy for all uses. Note that
2323 this could be improved further by using statically allocated blocks
2324 and gluing multiple strings together, but I'm basically lazy.
2325 In my environment with 800 font files, I get a savings of about 90KB.
2327 2004-12-06 Keith Packard <keithp@keithp.com>
2331 * config/Makedefs.in:
2334 * doc/fcatomic.fncs:
2335 * doc/fcblanks.fncs:
2336 * doc/fccharset.fncs:
2337 * doc/fcconfig.fncs:
2338 * doc/fcconstant.fncs:
2340 * doc/fcfontset.fncs:
2341 * doc/fcfreetype.fncs:
2343 * doc/fcmatrix.fncs:
2344 * doc/fcobjectset.fncs:
2345 * doc/fcobjecttype.fncs:
2346 * doc/fcpattern.fncs:
2347 * doc/fcstring.fncs:
2348 * doc/fcstrset.fncs:
2350 * doc/fontconfig-devel.sgml:
2351 * doc/fontconfig-user.sgml:
2353 * doc/version.sgml.in:
2354 * fc-cache/Makefile.am:
2355 * fc-cache/fc-cache.c:
2356 * fc-glyphname/Makefile.am:
2357 * fc-glyphname/fc-glyphname.c:
2358 * fc-glyphname/fcglyphname.tmpl.h:
2359 * fc-lang/Makefile.am:
2369 * fc-lang/az_ir.orth:
2403 * fc-lang/fc-lang.c:
2404 * fc-lang/fc-lang.man:
2405 * fc-lang/fclang.tmpl.h:
2450 * fc-lang/ku_ir.orth:
2483 * fc-lang/ps_af.orth:
2484 * fc-lang/ps_pk.orth:
2513 * fc-lang/ti_er.orth:
2514 * fc-lang/ti_et.orth:
2540 * fc-lang/zh_cn.orth:
2541 * fc-lang/zh_hk.orth:
2542 * fc-lang/zh_mo.orth:
2543 * fc-lang/zh_sg.orth:
2544 * fc-lang/zh_tw.orth:
2546 * fc-list/Makefile.am:
2547 * fc-list/fc-list.c:
2548 * fc-match/Makefile.am:
2549 * fc-match/fc-match.1:
2550 * fc-match/fc-match.c:
2551 * fontconfig/fcfreetype.h:
2552 * fontconfig/fcprivate.h:
2553 * fontconfig/fontconfig.h:
2574 Change files from ISO-Latin-1 to UTF-8
2576 2004-12-04 Keith Packard <keithp@keithp.com>
2579 Update links to new freedesktop.org locations
2581 Add uninstall-local to get rid of fonts.conf and local.conf if they
2582 match the distributed versions. Fixes 'make distcheck'
2584 2004-12-04 Keith Packard <keithp@keithp.com>
2588 * fontconfig/fontconfig.h:
2589 Updates for version 2.2.97
2591 2004-12-04 Owen Taylor <otaylor@redhat.com>
2593 reviewed by: Keith Packard <keithp@keithp.com>
2595 * fc-cache/fc-cache.c: (main):
2596 Sleep for two seconds before exiting to make sure timestamps
2597 for future changes have distinct mod times in the file system.
2600 Add Punjabi orthography. Bug #1671.
2602 2004-12-04 Keith Packard <keithp@keithp.com>
2605 Just remove the FC_FONTDATE -- it has locale issues and
2606 annoys redhat multi-arch installs. Now that all X fonts are
2607 included without prejudice, the chances of the date being at
2608 all interesting are rather limited. Bug #505.
2610 Add copyright and license
2612 2004-12-04 Keith Packard <keithp@keithp.com>
2615 Change default set of fonts to include all of
2616 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2617 * doc/fontconfig-user.sgml:
2618 Document new <include>directory-name</include> semantics
2620 add <include ignore_missing="yes">conf.d</include>
2622 Add selectfont to ignore bitmap fonts, add comment for
2623 selectfont which accepts bitmap fonts.
2626 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2627 Allow <include> configuration elements to reference directories.
2628 Parse and load all files of the form [0-9]* in sorted order.
2630 2004-12-04 Keith Packard <keithp@keithp.com>
2633 Report command line for $srcdir/configure accurately.
2636 2004-12-04 Keith Packard <keithp@keithp.com>
2638 * src/fcfreetype.c: (FcFreeTypeQuery):
2639 Check for non-empty face->family_name and face->style_name
2640 before using those for the font. Empty names match everything.
2643 2004-12-04 Keith Packard <keithp@keithp.com>
2646 * fontconfig/fontconfig.h:
2647 * src/fcfreetype.c: (FcFreeTypeQuery):
2649 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2650 available. This provides font file format information (BDF, Type 1,
2651 PCF, TrueType) for each font. Closes #109.
2653 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2655 reviewed by: Keith Packard <keithp@keithp.com>
2657 * doc/fontconfig-user.sgml:
2660 * fontconfig/fontconfig.h:
2661 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2662 (GetScriptTags), (FcFontCapabilities):
2664 Add detection for font capabilities (bug #105)
2666 2004-12-04 Keith Packard <keithp@keithp.com>
2669 Move existing fonts.conf to fonts.conf.bak
2672 Add detection of iconv
2674 * doc/fcpattern.fncs:
2675 * doc/fontconfig-devel.sgml:
2676 * doc/fontconfig-user.sgml:
2678 Document new selectfont elements
2681 Switch to UTF-8 in comment
2683 * fontconfig/fontconfig.h:
2685 Add fullname, and family/style/fullname language entries
2687 * src/fccache.c: (FcCacheFontSetAdd):
2688 * src/fcdir.c: (FcFileScanConfig):
2689 Respect selectfont/*/glob
2692 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2693 (FcConfigCompareValue), (FcConfigPatternsAdd),
2694 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2695 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2696 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2697 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2698 Add support for selectfont
2700 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2701 (FcStringInPatternElement), (FcFreeTypeQuery):
2702 Add multi-lingual family/style/fullname support
2704 * src/fclist.c: (FcListPatternMatchAny):
2705 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2707 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2708 (FcObjectStaticName):
2709 Add new FcPatternRemove/FcPatternAppend.
2710 FcObjectStaticName stores computed pattern element names which
2711 are required to be static.
2713 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2718 Remove spurious / after $(DESTDIR)
2720 2004-06-30 Keith Packard <keithp@keithp.com>
2724 * fontconfig/fontconfig.h:
2727 2004-06-30 Keith Packard <keithp@keithp.com>
2729 Provided by: Lubos Lunak <l.lunak@suse.cz>
2731 * src/fccfg.c: (FcConfigUptoDate):
2732 However FcConfigUptoDate() doesn't seem to work. See the attached
2733 patch. First there's an obvious misplaced parenthesis making it
2734 return always false, and second, even this call fails to detect font
2735 changes (e.g. adding a new font to
2736 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2737 well. The problem seems to be triggered by my fonts.conf specifying
2738 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2739 doesn't include subdirs, unlike config->fontDirs.
2741 2004-06-03 Keith Packard <keithp@keithp.com>
2743 * fontconfig/fontconfig.h:
2744 Remove comma at end of FcResult enum definition.
2746 2004-05-29 Keith Packard <keithp@keithp.com>
2749 Add steps to md5sum release
2751 2004-05-29 Keith Packard <keithp@keithp.com>
2755 * fontconfig/fontconfig.h:
2758 2004-05-29 Keith Packard <keithp@keithp.com>
2760 * fontconfig/fontconfig.h:
2761 * src/fcmatch.c: (FcFontSetMatch):
2762 Add FcResultOutOfMemory to provide an accurate error when
2763 FcFontSetMatch fails in this way
2766 Make #warning about lacking various FreeType features indicate
2767 which version those features appeared so users know how to
2768 fix the problem (Thanks to Anton Tropashko)
2770 2004-05-05 Keith Packard <keithp@keithp.com>
2772 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2773 Replace MIN/MAX/ABS macros which happen to have come
2774 from FreeType with fontconfig-specific ones (FC_*)
2776 2004-04-23 Keith Packard <keithp@keithp.com>
2779 Extend release preparation instructions to include
2780 notification and distribution steps
2782 2004-04-23 Keith Packard <keithp@keithp.com>
2786 * fontconfig/fontconfig.h:
2787 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2789 2004-04-23 Keith Packard <keithp@keithp.com>
2792 Ignore a few more autotool files
2794 2004-04-14 Keith Packard <keithp@keithp.com>
2797 Add instructions for doing a release
2799 * fontconfig.spec.in:
2800 clean up .spec file; perhaps this will be useful to somebody...
2804 * fontconfig/fontconfig.h:
2807 * fc-lang/fc-lang.c:
2808 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2810 * fc-glyphname/Makefile.am:
2811 * fc-lang/Makefile.am:
2812 * fc-list/Makefile.am:
2813 * fc-match/Makefile.am:
2815 Add WARN_CFLAGS to pass -W flags for GCC systems
2817 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2818 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2819 Change various char types around to match across
2821 Fixed bug in using available_sizes[i].height which
2822 is in pixels, not 64ths of a pixel.
2824 2004-03-06 Keith Packard <keithp@keithp.com>
2826 * src/fcfreetype.c: (FcFreeTypeQuery):
2827 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2828 matches looking for explicit values prefer exact matches
2830 2004-03-02 Keith Packard <keithp@keithp.com>
2832 Supplied by: mfabian@suse.de (Mike FABIAN)
2834 * src/fcfreetype.c: (FcFreeTypeQuery):
2835 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2836 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2838 2004-02-21 Manish Singh <yosh@gimp.org>
2840 * fc-glyphname/fc-glyphname.c: (main):
2841 Cast strlen to int for printf, so we're 64-bit clean.
2843 2004-02-11 Keith Packard <keithp@keithp.com>
2846 * src/fcfreetype.c: (FcGetPixelSize):
2847 Ok, so I messed up the test for y_ppem. Let's see if I
2848 got it right this time.
2850 2004-02-10 Keith Packard <keithp@keithp.com>
2853 * src/fcfreetype.c: (FcGetPixelSize):
2854 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2855 FT_Bitmap_Size record. Add a configure.in test for this
2856 and change the code accordingly (using height instead).
2858 2004-02-06 Keith Packard <keithp@keithp.com>
2861 Add Low Saxon orthography
2862 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2864 * src/fccfg.c: (FcConfigNewestFile):
2865 Oops. Left 'newest.set' unset, which would miscompute
2868 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2869 (FcFreeTypeCheckGlyph):
2870 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2871 font properties (which report the wrong value in current FreeType)
2873 Don't attempt to check for empty glyphs in non-scalable fonts; they
2876 2004-02-01 Tor Lillqvist <tml@iki.fi>
2878 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2879 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2880 cache if config->cache is NULL, which happens if FcConfigHome() is
2881 NULL. Guard against that by using the temp folder in that case.
2883 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2885 * fc-lang/az_ir.orth:
2886 * fc-lang/ku_ir.orth:
2887 * fc-lang/ps_af.orth:
2888 * fc-lang/ps_pk.orth:
2889 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2890 (Afghan and Pakistani).
2892 Updated Urdu orthography with real data.
2894 2003-12-11 Carl Worth <cworth@east.isi.edu>
2896 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2899 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2901 (all-local): Remove excessive whitespace.
2903 * autogen.sh: Add 'set -e' to abort when any program fails,
2904 (avoids printing of 'now type make' after configure aborts).
2906 2003-11-17 Eric Christopherson <rakko@charter.net>
2908 reviewed by: Keith Packard <keithp@keithp.com>
2911 * fontconfig/fcfreetype.h:
2913 Switch to FreeType 2.1.7 style includes. Bug #150.
2915 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2917 * fc-list/fc-list.sgml: Add some example usages.
2919 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2922 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2925 2003-10-27 Keith Packard <keith@keithp.com>
2928 * fontconfig/fontconfig.h:
2929 Update to version 2.2.92
2931 2003-10-27 Keith Packard <keithp@keithp.com>
2936 * fc-cache/Makefile.am:
2937 * fc-glyphname/Makefile.am:
2938 * fc-lang/Makefile.am:
2939 * fc-list/Makefile.am:
2940 * fc-match/Makefile.am:
2943 Yet more cleanups to finish getting 'make distcheck' working
2944 This has been tested to ensure that it even works from a _build
2947 2003-10-26 Keith Packard <keithp@keithp.com>
2951 * fc-cache/Makefile.am:
2952 * fc-glyphname/Makefile.am:
2953 * fc-lang/Makefile.am:
2954 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2955 * fc-list/Makefile.am:
2956 * fc-match/Makefile.am:
2957 Attempts to fix 'make distcheck' work. Things are
2958 progressing pretty well, but there are still failures
2959 long into the process dealing with docs (as always).
2961 The big changes here are mostly to make $(srcdir) != "."
2962 work correctly, fixing the docbook related sections and
2963 fc-lang were particularily tricky. Docbook refuses to load
2964 system entities from anywhere other than where the original .sgml
2965 file was located, so no luck looking in "." for the
2966 configure-generated version.sgml and confdir.sgml files.
2968 fc-lang needed help finding .orth files; added a -d option
2969 to set the directory as the least evil of many options.
2971 Now to go use a faster machine and try and wring out the last
2974 2003-10-26 Keith Packard <keithp@keithp.com>
2978 2003-10-26 Keith Packard <keithp@keithp.com>
2981 Include confdir.sgml.in in EXTRA_DIST
2983 2003-10-09 Josselin Mouette <joss@debian.org>
2985 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2986 * fc-list/fc-list.sgml fc-list/Makefile.am:
2987 Replace fc-cache and fc-list manpages with more detailed, SGML
2990 2003-09-23 Owen Taylor <otaylor@redhat.com>
2992 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2993 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2994 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2997 2003-09-23 Owen Taylor <otaylor@redhat.com>
2999 * fc-lang/ka.orth: Remove Georgian capitals, they
3000 aren't used for normal writing. (Bug #116)
3002 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3004 * doc/fontconfig-devel.sgml:
3005 * doc/fontconfig-user.sgml:
3006 * fontconfig/fontconfig.h:
3008 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3009 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3011 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3012 monospace and dual-width fonts, allow roughly a 3% variance in the
3015 2003-08-31 Manish Singh <yosh@gimp.org>
3017 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3020 2003-08-15 Carl Worth <cworth@isi.edu>
3022 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3023 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3025 * src/fcpat.c (FcValueListEntDestroy): New function to support
3026 FcFini memory cleanup. Some statistics are not kept in
3028 (FcValueListFreeze): Move hashTable outside this function so it
3029 can be accessed by FcValueListThawAll.
3030 (FcValueListThawAll): New function complements FcValueListFreeze.
3031 (FcPatternBaseFreeze): Move hashTable outside this function so it
3032 can be accessed by FcPatternBaseThawAll.
3033 (FcPatternBaseThawAll): New function complements
3034 FcPatternBaseFreeze.
3035 (FcPatternThawAll): New function complements FcPatternFreeze.
3037 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3039 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3040 allocated FcCharLeafEnt "blocks" so they can be freed later.
3041 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3042 can be accessed by FcCharSetThawAllLeaf.
3043 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3044 (FcCharSetFreezeBase): Move hashTable outside this function so it
3045 can be accessed by FcCharSetThawAll.
3046 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3048 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3049 (FcConfigDestroy): Fic leak of FcBlanks.
3051 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3052 (main): Add call to FcFini when finished.
3054 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3055 static. Add prototypes.
3057 * doc/fcinit.fncs: Add documentation for FcFini function.
3059 * doc/edit-sgml.c: Mark several local functions as static. Add
3062 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3064 2003-06-15 Tor Lillqvist <tml@iki.fi>
3066 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3067 before comparing (needed on Windows).
3069 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3071 2003-06-13 Tor Lillqvist <tml@iki.fi>
3073 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3076 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3077 WINDOWSFONTDIR token.
3079 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3080 end, not to confuse libtool, which expects the EXPORTS line to be
3081 the first. Add FcConfigEnableHome.
3083 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3084 built as a DLL on Win32.
3086 2003-06-09 Keith Packard <keithp@keithp.com>
3088 * Tag version 2.2.90
3090 2003-06-09 Keith Packard <keithp@keithp.com>
3092 * Optimization in FcLangSetIndex was broken, occasionally
3093 returning a pointer to the wrong location on miss
3095 * Add fc-match to test font matching from the command line.
3097 2003-05-31 Keith Packard <keithp@keithp.com>
3099 * (Bug 85) add support for culmus fonts
3100 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3101 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3103 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3105 * Fix "contains" op for strings and langsets.
3107 2003-05-17 Keith Packard <keithp@keithp.com>
3109 * Fix build error with BDF prop local. Free langset after query
3111 2003-05-14 Keith Packard <keithp@keithp.com>
3113 * Extract spacing from XLFD atom
3115 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3117 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3118 disappeared in 1.30.
3120 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3122 2003-05-12 Keith Packard <keithp@keithp.com>
3124 * Use FcIsWidth to share code
3126 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3127 misclassifying some Han fonts as monospaced.
3129 2003-05-07 Keith Packard <keithp@keithp.com>
3131 * Add filename-based accept/reject to ammend available fonts.
3133 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3134 older FreeType releases.
3136 2003-05-06 Keith Packard <keithp@keithp.com>
3138 * Remove 0b82 and Tamil numbers from tamil
3139 orthography (Jungshik Shin <jshin@mailaps.org>)
3141 2003-05-04 Keith Packard <keithp@keithp.com>
3143 + Map glyph names in fonts with adobe custom encoding to unicode
3145 2003-05-02 Keith Packard <keithp@keithp.com>
3147 * Add FC_WEIGHT_BOOK as weight 75
3149 2003-04-30 Keith Packard <keithp@keithp.com>
3151 * Typo in bitstream foundry name
3153 2003-04-24 Keith Packard <keithp@keithp.com>
3155 * Eliminate italic_angle check for PS fonts
3157 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3159 * Getting closer to fixing /etc/fonts hard-coding.
3161 2003-04-22 Keith Packard <keithp@keithp.com>
3163 * Update autogen.sh to work with newer automake versions
3164 * Handle pattern elements moving during multiple edits
3166 2003-04-23 James Henstridge <james@daa.com.au>
3168 * doc/fontconfig-devel.sgml: close the <para> element.
3170 * doc/fcpattern.fncs: close the <para> element.
3172 * doc/func.sgml: close the <refsynopsisdiv> element.
3174 2003-04-22 Keith Packard <keithp@keithp.com
3176 * Update autogen.sh to work with newer automake versions
3177 * Handle pattern elements moving during multiple edits
3179 2003-04-17 Colin Walters <walters@debian.org>
3181 + Remove some unused variables, and initialize some other ones so
3182 gcc doesn't warn us.
3184 2003-04-16 Keith Packard <keithp@keithp.com>
3186 + tag version 2.1.94
3188 2003-04-16 Keith Packard <keithp@keithp.com>
3190 + add BDF property fetching support for foundry
3191 (from Juliusz Chroboczek)
3192 + add BDF property fetching support for width
3194 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3196 + Implemented foundry generation for Type 1 and TrueType
3198 2003-04-11 Gerard Escalante <g2@magestudios.net>
3200 + Retrieve information from Type1 FontInfo dictionaries
3202 2003-04-07 Colin Walters <walters@verbum.org>
3204 + src/Makefile.am: Fix dummy makefile target names when
3205 MS_LIB_AVAILABLE isn't set.
3207 2003-03-22 Tor Lillqvist <tml@iki.fi>
3209 Changes for Windows:
3211 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3213 + We don't want to hardcode the fonts.conf file location in the
3214 DLL, so we look up the DLL location at run-time in a DllMain()
3215 function. The fonts.conf location is deduced from that.
3217 + The colon can't be used as path separator on Windows,
3218 semicolon is used instead. File path components can be separated
3219 with either slash or backslash. Absolute paths can also begin
3220 with a drive letter.
3222 + Add internal function FcStrLastSlash that strrchr's the last
3223 slash, or backslash on Windows.
3225 + There is no link() on Windows. For atomicity checks, mkdir a
3226 lock directory instead.
3228 + In addition to HOME, also look for USERPROFILE.
3230 + Recognize the special font directory token WINDOWSFONTDIR, to
3231 use the system's font directory.
3233 + Remove the fontconfig-def.cpp that was obsolete. Add
3234 fontconfig.def(.in), without internal functions.
3236 + Add a fontconfig-zip(.in) script, used to build a binary
3239 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3240 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3241 to main package and man3/* to devel package
3243 + Added missing defattr(-, root, root) to main RPM package
3245 + Added HTML and text development documentation to -devel subpackage
3247 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3248 + Added back the configure macro options --disable-docs, otherwise
3249 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3250 version number) unconditionally, causing RPM to fail the build due
3251 to _unpackaged_files_terminate_build. We pick up the pregenerated
3252 docs with %doc already.
3254 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3255 + Removed commented out rpm macro define at top of spec file,
3256 replacing it with a simple explanation, since rpm macros are
3257 expanded by rpm even in comments.
3259 + Changed /usr/bin to _bindir in BuildRequires lines
3261 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3263 + Reorganized file manifest lists
3265 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3267 + fontconfig.spec.in: Improvements from Red Hat spec file.
3269 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3271 + docs/*.sgml: SGML fixes.
3273 Sat Mar 1 17:28:53 PST 2003 keithp
3274 + Ok, so the ChangeLog is a bit out of date
3276 + Lots of bugs fixed; most are in bugzilla, the
3277 biggest problems were in cache management where
3278 Owen discovered the library would lose badly when
3279 combining fonts-cache and ~/.fonts-cache data
3281 + Converted from autoconf to automake. This after
3282 getting patches accepted into libtool to allow
3283 the '-version-number' argument which lets
3284 packages set version numbers explicitly rather
3285 than the roundabout libtool way
3287 + Converted documentation to SGML using the docbook
3288 DTD. Now .txt and .html documents are installed
3289 in /usr/share/doc/fontconfig and there's no
3290 man page. Perhaps a man version can be written
3293 Sat Aug 31 15:21:22 PDT 2002 keithp
3294 + Xrender and Xft had several bugs related to
3295 rendering manually placed or poly-face text
3297 + Added more complete memory tracing in fontconfig
3298 Checked with (patched) mozilla and found no leaks
3300 + Updated Latin orthographies by comparing those from
3301 evertype.com with those from eki.ee. Tried to make
3302 sensible choices, including chars that occured in both
3303 and leaving some optional chars out that occured only
3306 Mon Aug 26 16:33:04 PDT 2002 keithp
3307 + Owen discovered that FcLangSetHasLang wasn't actually
3308 checking the language set.
3310 Mon Aug 26 13:37:23 PDT 2002 keithp
3311 + Append a version number to cache filenames
3313 Thu Aug 22 11:36:18 PDT 2002 keithp
3315 + Add "contains" and "not_contains" operators and elements to
3318 + Changed semantics of eq operator for LangSets to check for
3319 FcLangEqual so that any match will do
3321 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3322 of FcValueEqual to check for identical values when inserting into
3323 the results. This broke when the above semantic change was made,
3324 now it uses FcValueEqual which is "more correct" in any case.
3326 Thu Aug 22 00:32:29 PDT 2002 keithp
3328 + Reimplement FC_LANG as new datatype. Lists of strings
3329 was consuming over a megabyte of memory for 401 fonts.
3331 + Freeze patterns loaded from cache files. This shares
3332 common value lists and common patterns which saves
3333 considerable memory.
3335 + Change the denotation of 'constant' charsets to use special
3336 ref value instead of separate boolean.
3338 + Clean up leak tracing stuff, found several unannoted alloc/free
3341 Tue Aug 20 16:17:37 PDT 2002 keithp
3343 + Fix memory leak when parsing matrices from XML
3345 Mon Aug 19 11:57:27 PDT 2002 keithp
3347 + Fix autoconf files to pass FONTCONFIG_PATH on
3348 compile line so that ${prefix} gets substituted
3351 + Use getc_unlocked/putc_unlocked on systems that
3352 provide them to avoid damage done to stdio by posix
3354 + Eliminate FC_PATTERN and FcTypePattern in favor of
3355 an extended api for FcConfigSubstitute which takes
3356 both the font and the pattern.
3358 + Add 'sans serif' alias for 'sans-serif' as some apps
3359 can't handle hyphens in family names
3361 + Eliminate pretense of support for libxml2
3363 + Comment origins of Han orthographies
3365 Tue Jul 30 18:37:09 PDT 2002 keithp
3367 + Add binding property to edit element so that strong
3368 binding values may be inserted by the config file.
3369 The default remains weak.
3371 Sun 28 Jul 04:16:55 PDT 2002 keithp
3373 + Tagged release candidate 1 in the CVS tree and
3374 placed fcpackage.rc1.tar.gz for distribution
3376 Thu Aug 1 08:55:08 PDT 2002 keithp
3378 + Fixed autoconf builds to always specify install
3379 target files (for BSD). Also fixed to
3380 define FONTCONFIG_PATH in config.h so that
3381 nonstandard installs will actually work.