1 2006-04-19 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
4 Bail gracefully if the cache file does not contain enough data.
6 2006-04-14 Patrick Lam <plam@mit.edu>
9 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
11 2006-04-14 Patrick Lam <plam@mit.edu>
12 * src/fcname.c (FcObjectToPtrLookup):
14 Fix Gecko-exposed segfault from my last hack to
15 FcObjectToPtrLookup. Simplify code and get things straight.
17 2006-04-14 Patrick Lam <plam@mit.edu>
20 Actually, just add URW fonts as aliases for all of the PostScript
21 fonts. (reported by Miguel Rodriguez).
23 2006-04-13 Patrick Lam <plam@mit.edu>
26 Add an alias 'Standard Symbols L' for 'Symbol'.
28 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
31 * src/fcpat.c: (FcPatternFreeze):
32 Fix memory leak (Coverity defect #2089).
34 * src/fcfreetype.c: (GetScriptTags):
35 Ignore script if subtable is missing (Coverity defect #2088).
37 2006-04-12 Patrick Lam <plam@mit.edu>
38 * src/fccfg.c (FcConfigSubstituteWithPat):
40 Fix possible null pointer dereference (Coverity defect #784)
41 and memory leak (Coverity defects #785, #786).
43 2006-04-12 Patrick Lam <plam@mit.edu>
44 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
46 Don't copy FcCharSet if we're going to throw it away anyway.
47 (Reported by Kenichi Handa).
49 2006-04-11 Ming Zhao <ming@gentoo.org>
52 * src/fcname.c (FcObjectToPtrLookup):
54 Fix bad behaviour on realloc resulting in crash.
56 2006-04-11 Patrick Lam <plam@mit.edu>
57 * src/fccache.c (FcGlobalCacheReadDir):
59 Don't crash if config is null (Coverity defect #984).
61 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
64 * src/fccharset.c (FcCharSetPutLeaf):
65 * src/fclang.c (FcNameUnparseLangSet):
67 Missing bits from previous patches.
69 * src/fccharset.c (FcCharSetSubtractCount):
70 Remove extra semi-colon.
72 * src/fccfg.c (FcConfigBuildFonts):
73 Fix memory leak in error case (Coverity defects #776, #985).
75 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
76 Fix memory leaks (Coverity defects #779, #781)
77 and memory use after free (Coverity defect #780).
79 2006-04-11 Patrick Lam <plam@mit.edu>
80 * src/fccharset.c (FcCharSetPutLeaf):
82 Properly convert static charsets to dynamic charsets.
84 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
87 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
89 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
91 * src/fclang.c: (FcNameUnparseLangSet):
92 Fix memory leak (Coverity defect #1819).
94 * fc-lang/fc-lang.c: (scan):
95 prevent crash when invalid include line is parsed (Coverity defect
98 * fc-cat/fc-cat.c: (FcCacheFileRead):
99 Fix potential null pointer access (Coverity defect #1804).
101 * src/fcname.c: (FcObjectUnserialize):
102 Remove dead code (Coverity defect #1194).
104 * src/fcfreetype.c: (GetScriptTags):
105 Prevent potential null pointer access (Coverity defect #767),
106 ensure error value is read (Coverity defect #1195).
108 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
113 Survive missing docbook2pdf.
115 2006-04-10 Patrick Lam <plam@mit.edu>
117 * fc-glyphname/fc-glyphname.c:
120 Include more stub definitions to make HP-UX's C compiler happy.
122 2006-04-10 Patrick Lam <plam@mit.edu>
123 * src/fcname.c (FcObjectUnserialize):
125 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
127 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
130 * src/fccfg.c: (FcConfigEvaluate):
131 Fix string memory leak (Coverity defect #1823).
133 * src/fccache.c: (FcDirCacheUnlink):
134 Fix memory leak with hash collision (Coverity defect #1824).
136 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
139 * src/fccache.c: (FcGlobalCacheSave):
140 Don't leak header in non-error case (Coverity defect #1825).
142 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
145 * src/fcdir.c (FcDirScanConfig)
146 Don't leak in error cases (Coverity defects #777, #1826)
148 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
151 * src/fccache.c: (FcDirCacheWrite):
152 Fix double free (spotted by Coverity, CID #1965).
154 * fc-match/fc-match.c: (main):
155 Check if pattern is not null before using it (Coverity defect #1883).
157 * src/fccache.c: (FcDirCacheWrite):
158 Fix memory leak with hash collision (Coverity defect #1829).
160 * src/fccfg.c: (FcConfigBuildFonts):
161 Fix memory leak when bail cases (Coverity defect #1828).
163 * src/fccache.c: (FcGlobalCacheLoad):
164 Don't leak directory name (Coverity defect #1827).
166 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
168 * fc-cache/Makefile.am:
169 * fc-cat/Makefile.am:
170 * fc-list/Makefile.am:
171 * fc-match/Makefile.am:
173 LD_ADD missing dependencies for binaries. Reported by
176 2006-04-07 Patrick Lam <plam@mit.edu>
178 * fc-lang/fc-lang.c (main):
180 SGI compilation fixes (reported by Christoph Bauer):
181 1) reorder union definition of _FcChar;
184 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
187 * src/fccharset.c (FcCharSetNeededBytes):
188 * src/fcfs.c (FcFontSetNeededBytes):
190 * src/fclang.c (FcLangSetNeededBytesAlign):
191 * src/fcname.c (FcObjectNeededBytesAlign):
192 * src/fcpat.c (FcPatternNeededBytesAlign,
193 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
195 Portability fixes for HP-UX (reported by Christoph Bauer).
196 Replace '__inline__' by AC_C_INLINE and 'inline'.
197 Replace '__alignof__' by 'fc_alignof'.
199 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
203 Move up #include of config.h.
204 Fail if neither inttypes.h nor stdint.h is available.
207 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
208 Patrick Lam <plam@mit.edu>
210 * fc-cache/fc-cache.c:
212 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
213 FcDirCacheConsume, FcDirCacheProduce,
214 FcDirCacheWrite, FcCacheMachineSignature):
215 * src/fcfreetype.c (FcFreeTypeQuery):
216 * src/fontconfig.def.in:
218 Make fontconfig compile under MinGW:
219 1) remove unneeded #includes;
220 2) make use of mmap and sysconf conditional;
221 3) replace rand_r by srand/rand if needed;
222 4) use chsize instead of ftruncate; and
223 5) update libtool exports file
225 2006-04-07 Patrick Lam <plam@mit.edu>
226 * src/fcdir.c (FcDirScanConfig):
230 2006-04-06 Patrick Lam <plam@mit.edu>
231 * fc-match/.cvsignore:
232 * fc-match/Makefile.am:
233 * fc-match/fc-match.sgml:
235 Update documentation for fc-match (SGML-ize it).
236 (reported by Ilya Konstantinov)
238 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
244 Reduce amount of dirty rss by const'ing some data structures.
246 2006-04-06 Patrick Lam <plam@mit.edu>
247 * fc-cache/Makefile.am:
249 Don't fail if we can't create or remove
250 $(pkgcachedir) i.e. /var/cache/fontconfig.
251 (reported by Quanah Gibson-Mount).
253 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
256 * fc-glyphname/fc-glyphname.c:
257 * fc-lang/fc-lang.c (main):
258 * fc-match/fc-match.c:
259 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
261 * src/fcfreetype.c (FcFreeTypeQuery):
262 * src/fclang.c (FcFreeTypeLangSet):
265 Fix intel compiler warnings: make many variables static,
266 eliminate duplicate names, reduce variable scopes, unsigned/signed
269 2006-03-24 Mike Fabian <mfabian@suse.de>
271 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
273 Fix multiarch support (don't destroy multiarch files!)
275 2006-03-24 Patrick Lam <plam@mit.edu>
278 Require pkg-config. (Thanks Behdad;
279 better solution wanted for libxml2 detection!)
281 2006-03-22 Patrick Lam <plam@mit.edu>
284 On Windows, unlink before rename. Reported by Tim Evans.
286 2006-03-15 Patrick Lam <plam@mit.edu>
290 Fix typos in orth files. Reported by Denis Jacquerye.
292 2006-03-08 Patrick Lam <plam@mit.edu>
294 * config/config.guess:
297 Fix Makefile.am for removal of debian/ directory.
299 2006-03-08 Patrick Lam <plam@mit.edu>
302 Ignore debian/ directory for CVS.
304 2006-03-08 Patrick Lam <plam@mit.edu>
307 Now remove debian/ directory.
309 2006-03-08 Patrick Lam <plam@mit.edu>
312 Remove debian/ directory from sources. See Debian's subversion
313 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
316 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
320 * fc-lang/iso639-1, fc-lang/iso639-2:
322 Add orthography for Lingala.
324 2006-03-08 Carl Worth <cworth@cworth.org>
327 * conf.d/Makefile.am:
328 * conf.d/10LohitGujarati.conf:
330 Add a configuration file that disables hinting for the Lohit
331 Gujarati font (since the hinting distort some glyphs quite badly).
333 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
336 * src/fcdir.c (FcDirScanConfig):
338 Sort directory entries while scanning them from disk;
339 prevents Heisenbugs due to file ordering in a directory.
341 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
344 * src/fcfreetype.c (GetScriptTags):
345 * src/ftglue.c, src/ftglue.h:
347 Remove stuff we don't use, make get_{char,short,long} functions
348 of ftglue macros to be inlined.
351 * src/fcname.c (FcObjectSerialize):
353 Code cleanups (excess prototype, old-style function definition).
355 2006-03-05 Patrick Lam <plam@mit.edu>
356 * src/fcpat.c (FcPatternGetString):
358 Because we hacked FcPatternGet, we don't really need to expand the
359 filename again in FcPatternGetString.
361 2006-03-05 Patrick Lam <plam@mit.edu>
362 * src/fcpat.c (FcPatternGetString, FcPatternGet):
364 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
365 Make that work. Reported by Bernhard Rosenkraenzer.
367 2006-03-03 Patrick Lam <plam@mit.edu>
370 Include inttypes.h instead of stdint.h if appropriate.
372 2006-03-03 Patrick Lam <plam@mit.edu>
373 * fc-cat/fc-cat.c (FcFileIsDir):
374 * fc-glyphname/fc-flyphname.c:
376 More stub definitions and remove FcFileIsDir from fc-cat.
378 2006-03-03 Patrick Lam <plam@mit.edu>
381 Fix compilation on AIX with stub definitions (bug 6097).
383 2006-03-03 Patrick Lam <plam@mit.edu>
384 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
385 * src/fcfreetype.c (GetScriptTags):
386 * src/fcfs.c (FcFontSetDistributeBytes):
387 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
389 Get rid of C++-style comments.
391 2006-03-03 Patrick Lam <plam@mit.edu>
394 Enable creation of 2.3.94 Debian packages.
396 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
399 * src/fclang.c (FcCharSetForLang):
401 Fix suspicious return expression which causes junk
404 2006-02-24 Patrick Lam <plam@mit.edu>
408 * fontconfig/fontconfig.h:
410 Bump version to 2.3.94.
412 2006-02-24 Patrick Lam <plam@mit.edu>
417 2006-02-24 Patrick Lam <plam@mit.edu>
418 * conf.d/10-fonts-persian.conf:
420 Remove unconditional emboldening (per Behdad's instructions).
424 Add @s to hide some echos.
426 2006-02-24 Mike Fabian <mfabian@suse.de>
427 Takashi Iwai <tiwai@suse.de>
430 * src/fcfreetype.c (GetScriptTags):
432 Fix double-free on error case.
434 2006-02-21 Patrick Lam <plam@mit.edu>
435 * fc-lang/fc-lang.c (scan):
437 Strip \r and whitespace from input; fixes bug 3454.
439 2006-02-21 Patrick Lam <plam@mit.edu>
440 * fc-lang/fc-lang.c (main):
442 Allocate large arrays statically in fc-lang to fix crashes under
445 2006-02-21 Diego Petten <flameeyes@gentoo.org>
446 * src/fcfreetype.c (FcFreeTypeCharIndex):
448 Pass the buck; make fontconfig not crash on pango badness.
450 2006-02-21 Patrick Lam <plam@mit.edu>
451 * conf.d/10-fonts-persian.conf:
453 Use embeddedbitmap rather than rh_prefer_bitmap.
455 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
458 * src/fccache.c (FcDirCacheWrite):
459 * src/fcdir.c (FcFileScanConfig):
460 * src/fcfreetype.c (FcStringInPatternElement):
461 * src/fcxml.c (FcParseFamilies):
462 * src/ftglue.c (ftglue_face_goto_table):
464 Eliminate redundancies.
466 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
469 * fc-list/fc-list.c (main):
470 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
471 * src/fcstr.c (FcStrStr):
472 * src/fcxml.c (FcConfigSaveAttr):
474 Eliminate unused vars reported by Intel's compiler.
476 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
481 Remove one more archaic character.
483 2006-02-21 Ross Burton <ross@burtonini.com>
484 reviewed by: plam, keithp
486 * src/fcxml.c (FcParsePatelt):
488 Freeze patterns created by configuration file for tiny
489 memory savings (every little bit helps).
491 2006-02-21 Mike Fabian <mfabian@suse.de>
494 * fc-cat/fc-cat.c (main):
496 Initialize fontconfig library in fc-cat to avoid segfault.
498 2006-02-18 Patrick Lam <plam@mit.edu>
499 * fc-cache/fc-cache.c (scanDirs):
500 * src/fccache.c (FcCacheReadDirs):
501 * src/fcdir.c (FcDirScanConfig):
503 Fix the underlying cause of the below segfault (must usually
504 call FcDirCacheHasCurrentArch after FcDirCacheValid).
506 2006-02-18 Patrick Lam <plam@mit.edu>
507 * src/fccache.c (FcDirCacheHasCurrentArch):
509 Fix triggering of segfault caused by misreading cache files
510 (reported by fcrozat).
512 2006-02-17 Patrick Lam <plam@mit.edu>
513 * src/fcint.h (FC_CACHE_MAGIC):
515 Bump up magic version; we changed the binary format.
517 2006-02-17 Patrick Lam <plam@mit.edu>
518 * fc-cat/fc-cat.c (main):
520 Enable fc-cat to print out old-style cache info when given a
523 2006-02-16 Patrick Lam <plam@mit.edu>
524 * src/fccache.c (FcDirCacheHasCurrentArch):
526 Deal correctly with changing FC_CACHE_MAGIC.
528 2006-02-16 Patrick Lam <plam@mit.edu>
529 * fc-cache/fc-cache.c (usage, scanDirs, main):
531 Add -r --really-force option which blows away cache files and then
534 2006-02-16 Patrick Lam <plam@mit.edu>
535 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
537 Don't bail if fontconfig can't remove a dir cache file.
538 Skip the ID of a cache file when copying.
539 Eliminate 'source file too small' bug in FcDirCacheWrite.
541 2006-02-13 Patrick Lam <plam@mit.edu>
542 * src/fcfreetype.c (FcFreeTypeQuery):
544 Fix memory leak in error condition code.
546 2006-02-13 Mike Fabian <mfabian@suse.de>
548 * src/fcfreetype.c (FcFreeTypeQuery):
550 Skip bitmap fonts which can't even get it together enough to
551 declare a family name; this appears to reproduce previous
552 fontconfig behaviour.
554 2006-02-10 Takashi Iwai <tiwai@suse.de>
556 * src/fccache.c (FcDirCacheOpen):
558 Try to open /var/cache/fontconfig/[hashed name] before
559 fonts.cache-2 in a directory, because /var/cache/fontconfig
560 failures ought to be fixable, unlike fonts.cache-2 failures,
561 which may leave you screwed.
563 2006-02-10 Takashi Iwai <tiwai@suse.de>
565 * src/fcmatch.c (FcFontSetMatch):
567 Use a tri-state to mark the fonts which didn't get blocked but
568 were just missing an element, to distinguish them from the
569 fonts that do match the element.
571 2006-02-10 Takashi Iwai <tiwai@suse.de>
573 * src/fcmatch.c (FcFontSetMatch):
575 Don't kill fonts because they don't declare an element that's
578 2006-02-09 Patrick Lam <plam@mit.edu>
579 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
580 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
582 Define and pass O_BINARY to open if appropriate, for those
583 platforms that need it. Reported by Doodle.
585 2006-02-09 Patrick Lam <plam@mit.edu>
586 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
589 Fix problem with missing 'en' due to euro.patch: change
590 cache file format slightly to coincide with that generated
593 2006-02-07 Patrick Lam <plam@mit.edu>
594 * src/fccache.c (FcCacheReadDirs):
598 2006-02-07 Patrick Lam <plam@mit.edu>
599 * src/fcdir.c (FcDirScanConfig):
601 Don't reject dirs that can't be normalized (fixes lilypond, and
602 is correct in the context of application font directories.)
604 2006-02-07 Takashi Iwai <tiwai@suse.de>
607 * src/fccache.c (FcCacheReadDirs):
609 Use normalized directory name exclusively in FcCacheReadDirs.
611 2006-02-07 Dirk Mueller <dmueller@suse.com>
614 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
616 Perf optimizations. Inline FcValueCanonicalize,
617 reduce FcValueListPtrU usage, remove redundant cast.
619 2006-02-07 Takashi Iwai <tiwai@suse.de>
622 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
625 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
626 Declare extern for static arrays as arrays, not pointers.
627 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
629 2006-02-07 Dirk Mueller <dmueller@suse.com>
642 Add Euro sign to list of symbols required by European languages.
644 2006-02-07 Patrick Lam <plam@mit.edu>
645 * src/fccache.c (FcCacheReadString):
647 Fix hidden variable warning.
649 2006-02-07 Dirk Mueller <dmueller@suse.com>
652 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
654 Remove de-escaping logic because FcCacheWriteString
655 doesn't escape anyway. Do blockwise reading instead
656 of byte-wise for performance.
658 2006-02-06 Patrick Lam <plam@mit.edu>
659 Takashi Iwai <tiwai@suse.de>
661 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
663 Don't loop infinitely on recursive symlinks (client-side).
665 2006-02-06 Takashi Iwai <tiwai@suse.de>
667 * fc-cache/fc-cache.c (scanDirs, main):
669 Don't loop infinitely on recursive symlinks.
671 2006-02-06 Takashi Iwai <tiwai@suse.de>
673 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
674 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
675 FcGlobalCacheSave, FcCacheReadDirs):
678 Skip subdirs when skipping over stale bits of global cache.
679 Introduce state machine into FcGlobalCacheDir to avoid
680 doing inappropriate operations on global dir entries, e.g.
681 writing out an out-of-date cache entry.
683 2006-02-06 Takashi Iwai <tiwai@suse.de>
685 * src/fcdir.c (FcFileScanConfig):
687 Hoist FcFileIsDir check out of FcFileScanConfig loop.
689 2006-02-06 Takashi Iwai <tiwai@suse.de>
692 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
693 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
695 Don't rescan when trying to normalize a non-declared font dir.
696 Don't add font dirs multiple times (even if they're aliased).
698 2006-02-06 Dirk Mueller <dmueller@suse.de>
701 * src/fcfs.c (FcFontSetUnserialize):
703 Explain apples/oranges comparison and fix compilation error.
705 2006-02-06 Dirk Mueller <dmueller@suse.de>
708 * src/fcfs.c (FcFontSetUnserialize):
710 Insert check for integer overflow in # of fonts.
712 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
716 * fc-cache/Makefile.am:
717 * fc-cat/Makefile.am:
718 * fc-list/Makefile.am:
720 Make 'make distcheck' work with automake 1.6.3.
722 2006-02-03 Takashi IWAI <tiwai@suse.de>
725 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
728 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
729 FcDirCacheConsume, FcDirCacheWrite)
730 * src/fcxml.c (FcConfigMessage):
732 Check I/O call return values and eliminate unused variable
735 2006-02-03 Takashi Iwai <tiwai@suse.de>
738 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
742 2006-02-03 Dirk Mueller <dmueller@suse.de>
745 * src/fcfs.c (FcFontSetUnserialize):
747 Gracefully handle the case where a cache asserts that it
748 has a negative number of fonts, causing overflow.
750 2006-02-03 Patrick Lam <plam@mit.edu>
751 * src/fccache.c (FcDirCacheUnlink):
753 Fix double free in error case.
755 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
756 Stephan Kulow <coolo@suse.de>
759 * fc-cache/Makefile.am:
761 Replace 'stamp' target with mkinstalldirs.
763 2006-01-31 Mike Fabian <mfabian@suse.de>
766 * src/fccache.c (FcGlobalCacheLoad):
768 Toast broken global cache files.
770 2006-01-30 Patrick Lam <plam@mit.edu>
771 * src/fccache.c (FcGlobalCacheReadDir):
773 Actually use the directories that I added to the global cache.
776 2006-01-30 Mike Fabian <mfabian@suse.de>
779 * fc-cache/fc-cache.c (scanDirs):
781 Don't stop scanning if a directory in fonts.conf doesn't
782 exist, because subsequent directories might exist.
784 2006-01-30 Patrick Lam <plam@mit.edu>
785 * src/fccache.c (FcGlobalCacheLoad):
787 Make global cache work again after putting dir names into global
788 cache (I misplaced the recording of a file offset).
790 2006-01-30 Patrick Lam <plam@mit.edu>
791 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
793 Update fc-cat to handle subdir lists in global cache file.
795 * src/fccache.c (FcGlobalCacheLoad):
797 Another FcCacheReadString return value check.
799 2006-01-30 Mike Fabian <mfabian@suse.de>
802 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
803 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
805 Make fccache more resilient to broken cache files by checking
806 return value of FcCacheReadString all the time.
808 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
811 * fc-match/fc-match.1:
812 * fc-lang/fc-lang.man:
814 Remove references to dead fontconfig(3) manpages in
815 other fontconfig manpages.
817 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
820 * doc/fcpattern.fncs:
822 Fix world's tiniest typo in code example.
824 2006-01-29 Mike Fabian <mfabian@suse.de>
827 * src/fccache.c (FcGlobalCacheReadDir):
829 Fix global cache reads of subdirectories.
831 2006-01-29 Patrick Lam <plam@mit.edu>
833 Add documentation for FcConfigNormalizeFontDir.
835 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
836 FcGlobalCacheUpdate, FcGlobalCacheSave):
837 * src/fcdir.c (FcDirScanConfig):
840 Write directory information to global caches to fix make check
841 (reported by Ronny V. Vindenes). This changes the global cache
844 2006-01-27 Patrick Lam <plam@mit.edu>
845 * fc-cache/fc-cache.c (scanDirs):
846 * fontconfig/fontconfig.h:
848 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
850 Move FcConfigNormalizeFontDir call so that it doesn't result in
851 infinite recursion (reported by Ronny V. Vindenes).
853 2006-01-26 Patrick Lam <plam@mit.edu>
854 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
855 * src/fccfg.c (FcConfigNormalizeFontDir):
857 Add a couple of missing normalizations to make fc-cache work
858 right; only scan subdirectories once.
860 2006-01-26 Mike Fabian <mfabian@suse.de>
863 * src/fcacache.c (FcGlobalCacheReadDir):
865 Don't crash on non-existant directories in global cache.
867 2006-01-26 Patrick Lam <plam@mit.edu>
868 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
869 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
870 * src/fcdir.c (FcDirScanConfig):
871 * src/fcxml.c (FcEndElement):
873 Stop trampling the directory name when writing out caches.
874 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
875 subdirs when necessary. Don't scan directories that can't be
878 2006-01-25 Patrick Lam <plam@mit.edu>
879 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
880 * src/fccfg.c (FcConfigEvaluate):
881 * src/fcfreetype.c (FcPatternAddWithBinding):
883 Fix additional memory leaks reported by Ronny V. Vindenes: don't
884 invoke FcValueSave on hashed static strings in
885 FcPatternAddWithBinding.
887 Add another st_dev check in FcDirCacheOpen.
889 2006-01-24 James Su <james.su@gmail.com>
892 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
893 * fc-lang/zh_hk.orth:
895 Treat zh-hk fonts differently from zh-tw fonts. This patch may
896 cause fontconfig to treat A-X fonts differently from A-Y fonts;
897 please mail the fontconfig list if this causes any problems.
899 2006-01-24 Patrick Lam <plam@mit.edu>
900 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
901 * src/fcfreetype.c (FcFreeTypeQuery):
903 Fix memory leaks reported by Ronny V. Vindenes.
905 2006-01-19 Andreas Schwab <schwab@suse.de>
908 * src/fcpat.c (FcStrNeededBytes):
910 Fix for unaligned memory accesses.
912 2006-01-18 Mike Fabian <mfabian@suse.de>
915 * src/fcdir.c (FcDirScanConfig):
917 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
918 calls to avoid crashes.
920 2006-01-14 Patrick Lam <plam@mit.edu>
921 * src/fccache.c (FcDirCacheConsume):
923 Fix segfault when consuming zero-length caches in fc-cat
924 (which has no config, so FcConfigAddFontDir shouldn't be called.)
926 2006-01-14 Patrick Lam <plam@mit.edu>
927 * fc-cache/fc-cache.c (scanDirs):
928 * fontconfig/fontconfig.h:
929 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
930 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
931 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
932 * src/fcdir.c (FcDirScanConfig):
935 Compare device numbers as well as inodes.
936 Always normalize directory names before comparing them.
938 2006-01-11 Mike Fabian <mfabian@suse.de>
941 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
943 Allocate extra space for appended '/' in directory name.
945 2006-01-10 Patrick Lam <plam@mit.edu>
946 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
947 FcDirCacheValid, FcDirCacheHasCurrentArch,
948 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
949 * fc-cache/fc-cache.c (main):
951 Explicitly add font dirs to config.fontDirs even if they're empty.
952 Set current config in fc-cache.c.
953 Fix treatment of cache directory as read from cache file; don't
954 use string equality to determine if we have the right file,
957 2006-01-09 Patrick Lam <plam@mit.edu>
958 * fc-cache/fc-cache.c (scanDirs):
959 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
960 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
961 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
962 * src/fccfg.c (FcConfigNormalizeFontDir):
963 * src/fcdir.c (FcDirScanConfig):
966 Normalize font dirs by using the form, as given in fonts.conf, and
967 recorded in FcConfig's fontDirs string set, as canonical.
969 Actually update config.fontDirs as font directories are scanned.
971 2006-01-08 James Su <james.su@gmail.com>
972 * src/fcmatch.c (FcFontSetMatch):
974 Fix matching bug when multiple elements match; don't use
975 the sum of all scores, but the best score.
977 Also more perf opts, e.g. evaluate best over all font sets
978 rather than on a per-set basis (and other changes).
980 2006-01-08 Patrick Lam <plam@mit.edu>
981 * src/fccache.c (FcDirCacheConsume):
983 Properly skip past dir caches that contain zero fonts (as occurs
984 in global caches.) Reported by Mike Fabian.
986 2006-01-06 Patrick Lam <plam@mit.edu>
987 * src/fcdbg.c (FcPatternPrint):
989 Print out full pathname in fc-match -v as well. Reported by
992 2006-01-06 Mike Fabian <mfabian@suse.de>
995 * src/fcname.c (FcNameParse):
997 Fix bug where fc-match crashes when given __DUMMY__ property to
1000 (I added the __DUMMY__ string to enable callers of
1001 FcObjectToPtrLookup to distinguish an error return from a
1002 successful return. -PL)
1004 2006-01-05 Patrick Lam <plam@mit.edu>
1007 Add self to AUTHORS list.
1009 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1010 FcCacheFileRead, FcCachePrintSet, main):
1011 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1012 FcGlobalCacheSave, FcCacheNextOffset,
1013 FcDirCacheHasCurrentArch, FcDirCacheRead,
1014 FcDirCacheConsume, FcDirCacheWrite):
1016 * src/fcpat.c (comment):
1018 Minor change to global cache file format to fix fc-cat bug
1019 reported by Frederic Crozat, and buglet with not globally caching
1020 directories with zero fonts cached.
1022 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1025 * src/fccfg.c (FcConfigEvaluate):
1027 Fix double-free which occurs because FcValueCanonicalize doesn't
1028 create an extra copy of the returned value, it only canonicalizes
1031 2006-01-02 Patrick Lam <plam@mit.edu>
1032 * doc/fontconfig-user.sgml:
1034 Fix version of .cache file (currently 1 -> currently 2). Reported
1037 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1040 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1042 Shut up GCC warnings on amd.
1044 2005-12-20 Patrick Lam <plam@mit.edu>
1048 * fontconfig/fontconfig.h:
1050 Bump version to 2.3.93.
1052 2005-12-20 Patrick Lam <plam@mit.edu>
1053 * src/fccharset.c (FcLangCharSetPopulate):
1054 * src/fcint.h (FcCacheBankToIndex):
1056 Avoid check on _fcBankId nullness and fix case where it used to
1059 2005-12-20 Patrick Lam <plam@mit.edu>
1060 * src/fcxml.c (FcConfigParseAndLoad):
1062 Use open instead of fopen (requested by Phil Race for Sun).
1064 2005-12-20 Patrick Lam <plam@mit.edu>
1065 * src/fccache.c (FcDirCacheWrite);
1066 * fc-cache/Makefile.am:
1068 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1071 2005-12-20 Patrick Lam <plam@mit.edu>
1072 * src/fcfreetype.c (FcFreeTypeQuery):
1074 Restore code to skip over PCF fonts that have no encoded
1076 (We guess that a font is PCF by presence of the PIXEL_SIZE
1079 2005-12-12 Patrick Lam <plam@mit.edu>
1080 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1082 Read and write the original location as a fallback for the
1083 hashed cache file locations. This is mostly for users to be
1084 able to have per-directory cache files.
1086 2005-12-12 Patrick Lam <plam@mit.edu>
1087 * fc-cache/fc-cache.c (scanDirs):
1088 * fc-cache/Makefile.am:
1089 * src/fccache.c (FcDirCacheHashName):
1091 Improve error message when fc-cache can't write the cache. Add
1092 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1093 create /var/cache/fontconfig when appropriate.
1095 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1098 * src/fcxml.c (FcConfigGetAttribute):
1100 Fix crash reported by Frederic Crozat when using libxml2.
1102 2005-12-09 Patrick Lam <plam@mit.edu>
1105 * fc-cache/Makefile.am:
1106 * fc-cat/Makefile.am:
1108 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1109 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1110 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1111 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1112 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1113 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1115 Migrate cache files from fonts directories to
1116 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1117 but requires that all caches get rebuilt.
1119 Also, autogen.sh now needs the additional parameter
1120 --localstatedir=/var.
1122 2005-12-07 Patrick Lam <plam@mit.edu>
1123 * src/fcpat.c (FcPatternAddString):
1125 Because we've changed FcPatternAddString to use FcStrStaticName
1126 and not FcValueSave, explicitly handle the case of a null string.
1128 2005-12-06 Patrick Lam <plam@mit.edu>
1129 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1133 2005-12-05 Patrick Lam <plam@mit.edu>
1134 * src/fcname.c (FcNameGetObjectType):
1136 Don't assign types to user object names.
1138 2005-12-05 Patrick Lam <plam@mit.edu>
1139 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1141 Don't free strings that have been returned from FcStrStaticName.
1143 2005-12-01 Patrick Lam <plam@mit.edu>
1144 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1146 Add codepath for reading global cache files as well.
1148 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1151 * conf.d/10-fonts.persian.conf:
1152 * conf.d/Makefile.am:
1154 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1156 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1159 * src/fcxml.c (FcConfigParseAndLoad):
1161 Only add a config file to the set of config files once.
1163 2005-11-29 Patrick Lam <plam@mit.edu>
1164 * src/fcint.h (FcCacheBankToIndex);
1166 Fix segfault by guarding array dereference.
1168 2005-11-29 Dirk Mueller <dmueller@suse.de>
1171 * fc-lang/fc-lang.c:
1172 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1173 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1177 Refactor FcCacheBankToIndex into an inlineable part
1178 (in fcint.h) which checks the front of the list and a
1179 non-inlineable part which finds and moves the appropriate element
1180 to the front of the list.
1182 2005-11-29 Patrick Lam <plam@mit.edu>
1183 * src/fccfg.c (FcConfigBuildFonts):
1184 * src/fccache.c (FcCacheReadDirs):
1186 Make the perf guys hate me a bit less: hoist the directory-name
1187 FcConfigAcceptFont check for cached fonts up to directory cache
1188 read time, rather than running it for each font.
1190 2005-11-29 Patrick Lam <plam@mit.edu>
1191 * src/fccfg.c (FcConfigBuildFonts):
1193 * src/fcpat.c (FcPatternFindFullFname):
1195 Don't make FcPatternFindFullFname available to fccfg, it's not
1196 really safe. Instead go through FcPatternGetString (sorry,
1197 perf guys.) Also, use globs for dirs as well.
1199 2005-11-28 Patrick Lam <plam@mit.edu>
1200 * src/fccfg.c (FcConfigBuildFonts):
1204 2005-11-28 Patrick Lam <plam@mit.edu>
1206 * src/fcpat.c (FcPatternFindFullFname):
1207 * src/fccfg.c (FcConfigBuildFonts):
1209 Fix problem dating back at least to 2.3.2 where globs weren't
1210 being applied to patterns loaded from a cache.
1212 2005-11-28 Patrick Lam <plam@mit.edu>
1213 * doc/fontconfig-user.sgml:
1215 Fix some obvious spelling mistakes.
1217 2005-11-28 Dirk Mueller <dmueller@suse.com>
1218 Stephan Kulow <coolo@suse.de>
1221 * src/fcmatch.c (FcFontSetMatch):
1223 Don't kill all fonts during match (oops!)
1226 2005-11-25 Dirk Mueller <dmueller@suse.com>
1227 Stephan Kulow <coolo@suse.de>
1228 Michael Matz <matz@suse.de>
1231 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1234 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1235 inline FcCompare into FcFontSetMatch and reorder the
1236 loops, adding a boolean array which blocks patterns from future
1237 consideration if they're known to not be best on some past
1240 2005-11-26 Dirk Mueller <dmueller@suse.com>
1243 * src/fcmatch.c (FcCompareValueList):
1245 Fix incorrect merge.
1247 2005-11-25 Patrick Lam <plam@mit.edu>
1248 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1250 Don't do random matching when bad objects are passed into
1253 2005-11-25 Patrick Lam <plam@mit.edu>
1255 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1256 FcPatternSerialize, FcPatternUnserialize,
1257 FcValueListEnsureBank, FcValueListDistributeBytes,
1258 FcValueListUnserialize):
1260 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1261 _fcPatternElts, _fcValueLists for consistency.
1263 2005-11-25 Dirk Mueller <dmueller@suse.com>
1268 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1270 2005-11-25 Patrick Lam <plam@mit.edu>
1272 * src/fccache.c (FcDirCacheConsume):
1273 * src/fccharset.c (FcCharSetUnserialize):
1274 * src/fcfs.c (FcFontSetUnserialize):
1275 * src/fclang.c (FcLangSetUnserialize):
1276 * src/fcname.c (FcObjectUnserialize):
1277 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1278 FcPatternUnserialize):
1280 Pass around FcCache *s to the Unserialize functions for extra
1281 consistency (and less overhead, for what that's worth).
1283 2005-11-24 Dirk Mueller <dmueller@suse.com>
1287 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1288 * src/fcname.c (FcNameUnparseValue):
1290 Inline the *PtrU functions to gain perf.
1291 Remove unneeded params for the FcCompare* functions.
1293 2005-11-24 Dirk Mueller <dmueller@suse.com>
1296 * src/fcint.h, fontconfig/fontconfig.h:
1298 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1300 * src/fcpat.c, src/fcint.h, src/fcname.c:
1302 Check for type validity during FcPatternAddWithBinding, don't
1303 verify type in FcFontMatch, don't call FcCanonicalize here
1304 (which always does a deep copy).
1306 2005-11-24 Dirk Mueller <dmueller@suse.com>
1309 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1310 * src/fcpat.c (FcPatternAddWithBinding):
1312 Make FcCompareString and FcCompareFamily less expensive.
1313 Only add a value for FC_FAMILY if the proposed value is a string.
1315 2005-11-24 Dirk Mueller <dmueller@suse.com>
1318 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1319 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1320 * src/fcint.h (FcDebug):
1322 Inline FcDebug invocations and only initialize once, in FcInit*.
1323 Improve debug msg in FcPatternPrint.
1325 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1328 * fontconfig/fontconfig.h:
1331 Minor code warning cleanups.
1333 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1336 * fc-match/fc-match.c (main):
1338 Make getopt_long accept -s parameter to fc-match as well.
1340 2005-11-21 Dirk Mueller <dmueller@suse.com>
1343 * src/fcmatch.c (FcCompareValueList):
1345 Manually perform inlining & partial redundancy elimination to
1346 reduce calls to FcValueListPtrU.
1348 2005-11-21 Dirk Mueller <dmueller@suse.com>
1351 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1352 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1354 Only invoke strlen() when really necessary.
1356 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1360 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1361 FcFontCapabilities):
1365 Get rid of the use of freetype internal headers in fcfreetype.c,
1366 since those headers will go away with freetype 2.2. Replace with
1367 public domain ftglue code from pango. Note that the patch removes
1368 some extra error checking in FT_Get_BDF_Property() and comments
1369 out the skipping of empty pcf fonts.
1371 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1374 * fc-lang/fc-lang.c (main):
1376 Further fix of patch from 2005-11-04: miscounted numbers count
1377 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1378 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1380 Removed leafidx_count and numbers_count since they are the same
1381 and replaced them with offset_count.
1383 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1386 * fc-cat/fc-cat.c (main):
1388 Don't crash when fc-cat invoked with no arguments.
1390 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1393 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1395 Fix invalid read access caused by premature free and
1396 GCC4 warnings in libxml2 codepath.
1398 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1401 * src/fccfg.c (FcConfigValues):
1403 List iteration not needed in FcConfigValues, since it's building
1404 up the list itself; we can just strip FcVoid elements during
1407 2005-11-17 Patrick Lam <plam@mit.edu>
1408 * src/fccfg.c (FcConfigValues):
1410 Fix crash on invalid constants in config files (forgot to update
1411 a pointer upon list iteration.)
1413 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1416 * src/fcxml.c (FcTypecheckExpr):
1418 Complain about invalid constants in config files.
1420 2005-11-17 Andreas Schwab <schwab@suse.de>
1423 * src/fccache.c (FcGlobalCacheSave):
1425 Don't add current_arch_start more than once.
1427 2005-11-16 Patrick Lam <plam@mit.edu>
1428 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1429 * src/fcfs.c (FcFontSetUnserialize):
1430 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1431 * src/fcpat.c (FcStrUnserialize):
1433 Fix ordering of ALIGN with respect to saving block_ptr; add
1434 another ALIGN to fcfs.c.
1436 2005-11-16 Patrick Lam <plam@mit.edu>
1437 * src/fccache.c (FcDirCacheProduce)
1439 Fix case where alignment bytes bumped up metadata->count
1440 causing unwarranted failures to write cache files.
1441 (Reported by Stephan Kulow).
1443 2005-11-16 Patrick Lam <plam@mit.edu>
1444 * src/fccache.c (FcDirCacheProduce):
1445 * src/fccharset.c (FcCharSetDistributeBytes):
1446 * src/fcfs.c (FcFontSetDistributeBytes):
1448 * src/fclang.c (FcLangSetDistributeBytes):
1449 * src/fcname.c (FcObjectDistributeBytes):
1450 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1453 Add *NeededBytesAlign(), which overestimates the padding which is
1454 later added by the new ALIGN macro. Fix alignment problems on
1455 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1456 version by Andreas Schwab).
1458 2005-11-16 Stephan Kulow <coolo@kde.org>
1463 Use sysconf to determine proper PAGESIZE value; this
1464 appears to be POSIX-compliant. (reported by Andreas Schwab)
1466 2005-11-04 Patrick Lam <plam@mit.edu>
1467 * fc-lang/fc-lang.c:
1472 Fix bug 2878 (excessive relocations at startup for charsets,
1473 reported by Ross Burton): fc-lang/fc-lang now creates the
1474 static form of the langset, not the dynamic form, so that
1475 the charsets should now be in .rodata.
1477 2005-11-04 Patrick Lam <plam@mit.edu>
1478 * src/fcdir.c (FcDirScanConfig):
1480 Add test for validity of directory caches that
1481 somehow got lost (reported by make distcheck).
1483 2005-11-04 Patrick Lam <plam@mit.edu>
1487 * fontconfig/fontconfig.h:
1489 Bump version to 2.3.92.
1491 2005-11-02 Patrick Lam <plam@mit.edu>
1492 * src/fcpat.c (FcPatternDuplicate):
1494 Fix argument ordering problem in call to FcPatternTransferFullFname.
1496 2005-11-02 Patrick Lam <plam@mit.edu>
1497 * src/fcfreetype.c (FcFreetypeQuery):
1498 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1499 FcPatternTransferFullFname):
1501 Fix warnings and embarrassing double-free error.
1503 2005-11-02 Zhe Su <zsu@novell.com>
1508 Change the rule for artificial emboldening in fonts.conf.in. This
1509 enables the support for artificial emboldening included in cairo.
1511 2005-11-02 Patrick Lam <plam@mit.edu>
1512 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1514 Don't zero out full names for FC_REF_CONSTANT fonts;
1515 also, duplicate full names when transferring, and free
1516 full names when freeing the associated font.
1517 Reported by Jinghua Luo.
1519 2005-11-02 Patrick Lam <plam@mit.edu>
1520 * fc-cache/fc-cache.c (scanDirs):
1521 * src/fcpat.c (FcValueListSerialize):
1523 Revert the previous patch and commit the correct patch:
1524 I forgot a canonicalization in FcValueListSerialize, so
1525 that it would choke on already-serialized input files. Duh!
1527 2005-11-02 Patrick Lam <plam@mit.edu>
1528 * fc-cache/fc-cache.c (scanDirs):
1530 Forcibly rescan a directory before writing a fresh local
1531 cache file for that directory, fixing the losing-fonts
1532 problem reported by Mike Fabian and also apparently the
1533 font cache file corruption.
1535 2005-11-02 Patrick Lam <plam@mit.edu>
1536 * src/fccache.c (FcGlobalCacheLoad):
1538 Fix thinko: actually, the whole global cache is stale
1539 if the global cache is older than the (newest) config file.
1541 2005-11-02 Patrick Lam <plam@mit.edu>
1542 * src/fccache.c (FcGlobalCacheLoad):
1543 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1546 Declare the global cache of a directory's contents to be stale if
1547 the directory is newer than the (newest) configuration file.
1549 2005-10-31 Patrick Lam <plam@mit.edu>
1551 * src/fclist.c (FcListAppend):
1552 * src/fcmatch.c (FcFontRenderPrepare):
1553 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1554 FcPatternFreeze, FcPatternBaseFreeze):
1556 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1557 applications continue breaking.
1559 2005-10-31 Patrick Lam <plam@mit.edu>
1560 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1561 * src/fcfreetype.c (FcFreeTypeQuery):
1563 Fix small memory error (tried to free argv); use basename and
1564 dirname correctly (they can modify their arguments).
1566 2005-10-31 Patrick Lam <plam@mit.edu>
1574 Reinstate basename patch, but keep a hash table linking FcPatterns
1575 to their fully-qualified font names for clients' benefit. Clients
1576 only pay for the font names once they request the FC_FILE property
1577 from an FcPattern, but the font name is malloc'd at that point (i.e.
1578 not mmapped: that's impossible, since it may vary between machines.)
1579 Clients do have to pay for a copy of the path name per cache file.
1581 Note that FcPatternGetString now does some rewriting if you ask
1582 for an FC_FILE, appending the pathname as appropriate.
1584 2005-10-31 Patrick Lam <plam@mit.edu>
1585 * src/fcfreetype.c (FcFreeTypeQuery):
1587 Revert basename patch, which breaks fontconfig clients on my system.
1589 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1592 * fontconfig/fonts.conf.in:
1593 * fontconfig/fontconfig.h:
1597 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1598 to load embedded bitmaps or not.
1600 2005-10-25 Patrick Lam <plam@mit.edu>
1601 * src/fcfreetype.c (FcFreeTypeQuery):
1603 Only add basename to patterns' FC_FILE element, not any part of
1606 2005-10-22 Patrick Lam <plam@mit.edu>
1609 Add some more consts, fixing more GCC4 warnings.
1611 2005-10-22 Zhe Su <zsu@novell.com>
1614 Support localized font family and style names.
1615 This has been reported to break old apps like xfd, but modern
1616 (gtk+/qt/mozilla) apps work fine.
1618 2005-10-21 Patrick Lam <plam@mit.edu>
1619 * src/fccache.c (FcGlobalCacheLoad):
1621 Destroy the global cache file if it's terminally broken. (reported by
1624 2005-10-21 Patrick Lam <plam@mit.edu>
1625 * fc-list/fc-list.c (main):
1626 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1627 * fontconfig/fontconfig.h:
1629 Prevent fc-list from escaping strings when printing them (reported by
1632 2005-10-20 Marcus Meissner <meissner@suse.de>
1635 * fontconfig/fontconfig.h:
1637 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1639 2005-10-14 Ross Burton <ross@burtonini.com>
1642 * fc-glyphname/fc-glyphname.c:
1645 Add consts to variables so as to move arrays into .rodata.
1647 2005-10-14 Mike Fabian <mfabian@suse.de>
1650 * src/fccache.c (FcDirCacheUnlink):
1652 Check existence of directory cache file before attempting to unlink.
1654 2005-10-13 Patrick Lam <plam@mit.edu>
1655 * src/fccache.c (FcDirCacheUnlink):
1657 Fix flipped return value on unlink. (Reported by Mike Fabian)
1659 2005-10-12 Patrick Lam <plam@mit.edu>
1662 * src/fcdir.c (FcDirScanConfig):
1665 When fc-cache is run without --force, use directory cache files
1666 to speed up fc-cache run time. (Reported by Mike Fabian)
1668 2005-10-06 Patrick Lam <plam@mit.edu>
1670 * src/fcname.c (FcObjectToPtr):
1671 * src/fcpat.c (FcStrStaticName):
1673 Add padding to make valgrind and glibc not hate each other
1674 when calling strlen().
1676 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1677 reviewed by: plam & keithp
1681 Modify config file to use Greek fonts before Asian fonts with
1684 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1685 reviewed by: plam & keithp
1689 Use libtool -no-undefined flag on all platforms.
1691 2005-10-05 Patrick Lam <plam@mit.edu>
1692 * src/fccache.c (FcCacheHaveBank):
1694 Implement move-to-front array for banks (perf regression
1695 reported by Ronny V. Vindenes).
1697 2005-10-04 Patrick Lam <plam@mit.edu>
1698 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1699 FcDirCacheHasCurrentArch):
1700 * fc-cache/fc-cache.c (scanDirs):
1701 * fontconfig/fontconfig.h:
1703 Add new API which unlinks directory caches and checks dir caches
1704 for existence of appropriate sections. Fix fc-cache to unlink
1705 stale cache files and save directory caches that lack relevant
1708 2005-10-03 Patrick Lam <plam@mit.edu>
1709 * src/fccache.c (FcDirCacheValid):
1711 Ensure that a directory cache has the appropriate section
1712 before reporting that it is valid (reported by Matthias Clasen).
1714 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1722 Use libxml2 if requested (with --enable-libxml2) or if
1723 expat is not available.
1725 2005-09-29 Patrick Lam <plam@mit.edu>
1726 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1728 Fix multi-arch cache files: compute the position for the
1729 block to be added using info from OrigFile, not NewFile.
1731 2005-09-28 Patrick Lam <plam@mit.edu>
1732 * src/fccache.c (FcCacheMachineSignature):
1734 Cast results of sizeof() to unsigned int to get rid of
1735 warnings on x86_64 (thanks Matthias Clasen).
1737 2005-09-27 Patrick Lam <plam@mit.edu>
1738 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1741 Use FcAtomic to rewrite cache files.
1743 2005-09-27 Patrick Lam <plam@mit.edu>
1745 * src/fccache.c (FcDirCacheWrite):
1747 Don't unlink the fonts.cache-2 file even if there's no data
1748 to write; just write an empty cache file. (thanks Lubos Lunak)
1750 2005-09-27 Patrick Lam <plam@mit.edu>
1752 * src/fccache.c (FcDirCacheWrite):
1754 Allocate room for the subdirectory names in each
1755 directory cache. Thanks to James Cloos for finding
1756 and diagnosing this bug!
1758 2005-09-22 Patrick Lam <plam@mit.edu>
1760 * fc-cache/fc-cache.sgml:
1761 * src/fccache.c (FcDirCacheWrite):
1762 * src/fccache.h (struct FcCache):
1764 Update documentation -- fc-cache's man page now says that you
1765 need to run fc-cache once per cached architecture; add some
1766 documentation to the FcCache structure.
1768 Make fc-cache write out fonts.cache-2 files for directories with
1769 no fonts (i.e. only subdirectories).
1771 2005-09-22 Patrick Lam <plam@mit.edu>
1773 * fc-cache/fc-cache.sgml:
1774 * fc-case/fc-case.c:
1775 * fc-glyphname/fc-glyphname.c:
1781 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1785 * fc-lang/fc-lang.c:
1786 * fontconfig/fcprivate.h:
1787 * fontconfig/fontconfig.h:
1801 Implement new mmaped cache for font information.
1802 Bump so revision to 2.3.90.
1804 2005-07-25 Keith Packard <keithp@keithp.com>
1806 * doc/fontconfig-user.sgml:
1807 * fc-glyphname/fc-glyphname.c: (scan), (main):
1808 * fc-lang/fc-lang.c: (FcConfigHome):
1809 * fc-match/fc-match.c: (main):
1810 * src/fccfg.c: (FcConfigHome):
1811 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1812 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1813 (addtag), (FcFontCapabilities):
1814 * src/fcpat.c: (FcValueListEntCreate):
1815 * src/fcstr.c: (FcStrCaseWalkerInit):
1816 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1818 Various GCC 4 cleanups for signed vs unsigned char
1820 Match only [0-9]*.conf files in <include>{directory}</include>
1821 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1823 2005-07-15 Carl Worth <cworth@cworth.org>
1826 * src/fcinit.c: (FcFini):
1827 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1830 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1831 Pull the FcObjectStateName hash table out to file scope, and add
1832 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1835 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1838 2005-06-16 Patrick Lam <plam@MIT.EDU>
1842 * src/fccfg.c: (FcConfigCompareValue):
1843 Make FcOpNotContains use FcStrStr for strings so that
1844 it matches semantics for !FcOpContains.
1846 2005-05-20 Keith Packard <keithp@keithp.com>
1850 Move fontconfig source package to libs as per override
1852 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1854 reviewed by: Mike Fabian
1857 The ka.orth file requires several characters which are not
1858 used anymore in modern Georgian and which are missing in the free
1859 Georgian TrueType fonts downloadable at:
1861 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1863 2005-04-27 Keith Packard <keithp@keithp.com>
1867 Update date to real 2.3.2 release date.
1868 Fix change attributions
1870 2005-04-27 Keith Packard <keithp@keithp.com>
1873 Bump so revision for 2.3.2
1874 * fc-cache/fc-cache.c: (scanDirs):
1875 Fix a few minor leaks in error cases.
1877 2005-04-23 Keith Packard <keithp@keithp.com>
1882 * fontconfig/fontconfig.h:
1883 Update for version 2.3.2
1885 2005-04-21 Keith Packard <keithp@keithp.com>
1887 * debian/fontconfig.postinst:
1888 Don't force bitmap font enable in default
1889 configuration; allows users to override this in
1899 * debian/po/pt_BR.po:
1900 * debian/po/templates.pot:
1902 * debian/po/zh_CN.po:
1903 Updated translations
1905 * fc-cache/fc-cache.c: (main):
1906 Destroy font configuration on exit to help valgrind
1909 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1910 (FcFreeTypeCheckGlyph):
1911 Use own transcoding routines in preference to iconv
1912 which appears to have leaks in some translators.
1913 Call iconv_close after using iconv (oops).
1915 Prefer unicode encoding of Euro char as some
1916 fonts mis-encode Euro in other ones.
1918 Must fetch bitmap glyphs to get width values
1919 to check for monospace/dual-width fonts.
1921 2005-04-13 Ross Burton <ross@burtonini.com>
1924 Check that a pattern isn't already frozen in FcPatternFreeze.
1926 2005-03-31 Ross Burton <ross@burtonini.com>
1931 Run all FcPattern objects through FcObjectStaticName, so that
1932 compares can be done on pointers instead of strings (#2659)
1934 2005-03-17 Tor Lillqvist <tml@novell.com>
1936 * src/fontconfig.def.in: Add the .dll to the dll name.
1938 2005-03-10 Keith Packard <keithp@keithp.com>
1940 * debian/README.Debian:
1941 Update to reflect configuration changes
1943 * debian/fontconfig.postinst:
1944 Fix Autohint vs Autohinter mistake
1945 * debian/fontconfig.templates:
1946 Adopt changes from Josselin Mouette for configuration descriptions
1947 Update debian to version 2.3.1-2
1949 2005-03-08 Keith Packard <keithp@keithp.com>
1953 Update debian for 2.3.1
1955 2005-03-09 Tor Lillqvist <tml@novell.com>
1957 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1960 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1963 2005-03-08 Keith Packard <keithp@keithp.com>
1967 * fontconfig/fontconfig.h:
1970 2005-03-05 Keith Packard <keithp@keithp.com>
1972 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1973 Include space and remove numbers from valid script tags.
1974 This ensures that tags like 'lao ' work while rejecting
1975 those which have any digits.
1976 Eliminate a spurious debugging variable (len)
1978 2005-03-05 Keith Packard <keithp@keithp.com>
1980 * src/fcfreetype.c: (addtag), (GetScriptTags),
1981 (FcFontCapabilities):
1982 Rework GSUB/GPOS script parsing to survive broken fonts.
1983 Thanks for the broken font go to Manish Singh
1985 2005-03-05 Keith Packard <keithp@keithp.com>
1990 * debian/fontconfig.config:
1991 * debian/fontconfig.templates:
1993 Include 2.3 release information in changelog
1994 Add Josselin Mouette as an Uploader
1995 Set hinting_type to low priority configuration option
1998 * debian/fontconfig.postinst:
1999 yes_bitmaps.conf -> yes-bitmaps.conf
2005 2005-03-02 Keith Packard <keithp@keithp.com>
2008 * conf.d/Makefile.am:
2009 * conf.d/autohint.conf:
2010 * conf.d/no-sub-pixel.conf:
2011 * conf.d/sub-pixel.conf:
2012 * conf.d/unhinted.conf:
2013 * debian/autohint.conf:
2014 * debian/fontconfig.install:
2015 * debian/fontconfig.postinst:
2016 * debian/fontconfig.templates:
2017 * debian/no-sub-pixel.conf:
2018 * debian/unhinted.conf:
2019 Move debian-specific conf file examples upstream.
2021 Sub-pixel configuration examples must smash subpixel value
2022 as Xft always sets it from X.
2024 Change sub-pixel rendering debconf descriptions from
2025 Enable/Disable to Always/Never.
2027 2005-03-02 Keith Packard <keithp@keithp.com>
2030 * conf.d/.cvsignore:
2032 Ignore more build detritus
2035 Add debian package construction stuff.
2037 * config/config.guess:
2038 * config/config.sub:
2039 Update to newer versions of these tools
2042 Get library manuals to build again (we love automake).
2044 * debian/README.Debian:
2045 * debian/autohint.conf:
2050 * debian/fontconfig-udeb.install:
2051 * debian/fontconfig.config:
2052 * debian/fontconfig.defoma:
2053 * debian/fontconfig.dirs:
2054 * debian/fontconfig.install:
2055 * debian/fontconfig.postinst:
2056 * debian/fontconfig.postrm:
2057 * debian/fontconfig.templates:
2058 * debian/libfontconfig1-dev.install:
2059 * debian/libfontconfig1.install:
2060 * debian/local.conf.md5sum:
2061 * debian/no-sub-pixel.conf:
2062 * debian/po/POTFILES.in:
2071 * debian/po/pt_BR.po:
2072 * debian/po/templates.pot:
2074 * debian/po/zh_CN.po:
2076 * debian/unhinted.conf:
2077 Update debian build system to switch maintainers and
2078 deal with 2.3 functionality
2080 2005-03-01 Keith Packard <keithp@keithp.com>
2084 * fontconfig/fontconfig.h:
2087 2005-03-01 Keith Packard <keithp@keithp.com>
2090 Generate and install PDF versions of the manuals
2092 * doc/fcpattern.fncs:
2095 * doc/fcstring.fncs:
2096 Add missing exported functions, fix data types
2098 * doc/fontconfig-devel.sgml:
2099 Add missing pattern elements.
2101 * doc/fontconfig-user.sgml:
2102 Add missing pattern elements. Document conf.d usage,
2103 clarify available orthography list. Fix some config file
2104 attributes. Complete list of constants.
2106 * fontconfig/fontconfig.h:
2107 Mark FC_SOURCE deprecated.
2109 * src/fcfreetype.c: (FcFreeTypeQuery):
2110 Don't set FC_SOURCE any longer.
2112 2005-02-28 Keith Packard <keithp@keithp.com>
2115 * conf.d/Makefile.am:
2117 * conf.d/no-bitmaps.conf:
2118 * conf.d/sub-pixel.conf:
2119 * conf.d/yes-bitmaps.conf:
2121 Create prototype /etc/fonts/conf.d directory with a few
2122 sample configuration files.
2123 Deprecate use of local.conf for local customizations in favor of
2124 this directory based scheme which is more easily integrated into
2125 installation systems.
2128 Tag FC_EMBOLDEN as a boolean variable
2130 2005-02-10 Keith Packard <keithp@keithp.com>
2132 reviewed by: pborelli@katamail.com
2134 * src/fcdir.c: (FcFileScanConfig):
2135 Free patterns from fonts which are rejected by configuration
2138 2005-01-28 Keith Packard <keithp@keithp.com>
2142 * fontconfig/fontconfig.h:
2143 Update for version 2.2.99
2145 2005-01-28 Keith Packard <keithp@keithp.com>
2148 Add a few pointers (#2284, #2285)
2150 2005-01-28 Keith Packard <keithp@keithp.com>
2153 * src/fcname.c: (FcNameBool):
2154 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2155 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2156 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2157 Polite typechecking for test and edit expressions. Helps
2158 catch errors in the font configuration. (bug 229)
2160 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2162 reviewed by: Keith Packard <keithp@keithp.com>
2165 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2167 2005-01-13 Keith Packard <keithp@keithp.com>
2169 * doc/fontconfig-user.sgml:
2170 Add SEE ALSO section (bug 2085)
2172 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2174 reviewed by: Keith Packard <keithp@keithp.com>
2179 * fc-case/Makefile.am:
2180 * fc-glyphname/Makefile.am:
2181 * fc-lang/Makefile.am:
2182 * src/fontconfig.def.in:
2183 Cross compiling fixes (bug 280)
2185 2005-01-13 Keith Packard <keithp@keithp.com>
2188 Update blanks list (Closes bug 86)
2190 2005-01-04 Keith Packard <keithp@keithp.com>
2192 * src/fccache.c: (FcCacheFontSetAdd):
2193 Verify that every font pattern loaded from cache has
2194 both FC_FILE and FC_FAMILY entries.
2195 Attempt to fix bug #2219.
2197 2004-12-29 Keith Packard <keithp@keithp.com>
2201 * fontconfig/fontconfig.h:
2202 Update for version 2.2.98
2204 2004-12-29 Keith Packard <keithp@keithp.com>
2206 * fontconfig/fontconfig.h:
2207 Document ASCII limitations of Fc character conversion macros
2208 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2209 Fix off-by-one error in utf-8 case walking code.
2210 Add FcStrDowncase (useful for testing case conversion functions)
2212 2004-12-29 Keith Packard <keithp@keithp.com>
2215 * fc-case/.cvsignore:
2216 clean up CVS ignore lists
2217 * fc-lang/iso-3166.txt:
2218 Add territory database
2220 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2222 Reviewed by: Keith Packard
2225 Remove Han characters from Korean orthography
2227 2004-12-29 Keith Packard <keithp@keithp.com>
2230 Reorder utility programs to make sure fc-case is run before fc-lang
2231 as fc-lang uses fcstr.c which uses fccase.h
2235 2004-12-29 Keith Packard <keithp@keithp.com>
2238 Adopt some RedHat suggestions for standard font configuration.
2242 * fc-case/CaseFolding.txt:
2243 * fc-case/Makefile.am:
2244 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2245 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2246 (dump), (parseRaw), (caseFoldReadRaw), (main):
2247 * fc-case/fccase.tmpl.h:
2248 Add new helper program 'fc-case' to construct case folding
2249 tables from standard Unicode CaseFolding.txt file
2252 * src/fclist.c: (FcListValueHash):
2253 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2254 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2255 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2256 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2257 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2258 Re-implement case insensitive functions with Unicode
2259 aware versions (including full case folding mappings)
2261 2004-12-13 Keith Packard <keithp@keithp.com>
2263 reviewed by: Owen Taylor <otaylor@redhat.com>
2265 * src/fcmatch.c: (FcFontSetSort):
2266 I changed FcFontSetSort to respect the generic aliases better
2267 in the face of language matching.
2269 What I did was to ammend the strict sort order used by FcFontSort so
2270 that it 'satisfies' the language specified in the pattern by locating
2271 the best matching font supporting each pattern language and then
2272 ignores language in the remaining fonts for purposes of matching.
2274 So, when asking for 'sans:lang=en', you'll get an English font first,
2275 and then the remaining fonts sorted with respect to the 'sans' alias
2276 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2278 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2280 reviewed by: Keith Packard <keithp@keithp.com>
2282 * fontconfig/fontconfig.h:
2285 Configuration changes to request synthetic emboldening of
2286 fonts. The actual emboldening code will live in Xft.
2288 2004-12-09 John Thacker <thacker@math.cornell.edu>
2290 reviewed by: Keith Packard <keithp@keithp.com>
2294 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2295 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2296 и), and don't even appear in KOI8-R. (The hypothesis that they
2297 don't appear in KOI8-R due to their similarity with Latin I and i is
2298 eliminated by their presence in KOI8-U.) I have a couple of fonts
2299 with Russian support that don't have the letter.
2301 Therefore, 0406 and 0456 should be removed from or commented out of
2304 2004-12-06 michael meeks <mmeeks@novell.com>
2306 Reviewed by: Keith Packard <keithp@keithp.com>
2308 * src/fcinit.c: (FcMemReport):
2310 * src/fclist.c: (FcObjectSetAdd):
2311 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2312 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2313 * src/fcxml.c: (FcParsePatelt):
2314 memoize strings and share a single copy for all uses. Note that
2315 this could be improved further by using statically allocated blocks
2316 and gluing multiple strings together, but I'm basically lazy.
2317 In my environment with 800 font files, I get a savings of about 90KB.
2319 2004-12-06 Keith Packard <keithp@keithp.com>
2323 * config/Makedefs.in:
2326 * doc/fcatomic.fncs:
2327 * doc/fcblanks.fncs:
2328 * doc/fccharset.fncs:
2329 * doc/fcconfig.fncs:
2330 * doc/fcconstant.fncs:
2332 * doc/fcfontset.fncs:
2333 * doc/fcfreetype.fncs:
2335 * doc/fcmatrix.fncs:
2336 * doc/fcobjectset.fncs:
2337 * doc/fcobjecttype.fncs:
2338 * doc/fcpattern.fncs:
2339 * doc/fcstring.fncs:
2340 * doc/fcstrset.fncs:
2342 * doc/fontconfig-devel.sgml:
2343 * doc/fontconfig-user.sgml:
2345 * doc/version.sgml.in:
2346 * fc-cache/Makefile.am:
2347 * fc-cache/fc-cache.c:
2348 * fc-glyphname/Makefile.am:
2349 * fc-glyphname/fc-glyphname.c:
2350 * fc-glyphname/fcglyphname.tmpl.h:
2351 * fc-lang/Makefile.am:
2361 * fc-lang/az_ir.orth:
2395 * fc-lang/fc-lang.c:
2396 * fc-lang/fc-lang.man:
2397 * fc-lang/fclang.tmpl.h:
2442 * fc-lang/ku_ir.orth:
2475 * fc-lang/ps_af.orth:
2476 * fc-lang/ps_pk.orth:
2505 * fc-lang/ti_er.orth:
2506 * fc-lang/ti_et.orth:
2532 * fc-lang/zh_cn.orth:
2533 * fc-lang/zh_hk.orth:
2534 * fc-lang/zh_mo.orth:
2535 * fc-lang/zh_sg.orth:
2536 * fc-lang/zh_tw.orth:
2538 * fc-list/Makefile.am:
2539 * fc-list/fc-list.c:
2540 * fc-match/Makefile.am:
2541 * fc-match/fc-match.1:
2542 * fc-match/fc-match.c:
2543 * fontconfig/fcfreetype.h:
2544 * fontconfig/fcprivate.h:
2545 * fontconfig/fontconfig.h:
2566 Change files from ISO-Latin-1 to UTF-8
2568 2004-12-04 Keith Packard <keithp@keithp.com>
2571 Update links to new freedesktop.org locations
2573 Add uninstall-local to get rid of fonts.conf and local.conf if they
2574 match the distributed versions. Fixes 'make distcheck'
2576 2004-12-04 Keith Packard <keithp@keithp.com>
2580 * fontconfig/fontconfig.h:
2581 Updates for version 2.2.97
2583 2004-12-04 Owen Taylor <otaylor@redhat.com>
2585 reviewed by: Keith Packard <keithp@keithp.com>
2587 * fc-cache/fc-cache.c: (main):
2588 Sleep for two seconds before exiting to make sure timestamps
2589 for future changes have distinct mod times in the file system.
2592 Add Punjabi orthography. Bug #1671.
2594 2004-12-04 Keith Packard <keithp@keithp.com>
2597 Just remove the FC_FONTDATE -- it has locale issues and
2598 annoys redhat multi-arch installs. Now that all X fonts are
2599 included without prejudice, the chances of the date being at
2600 all interesting are rather limited. Bug #505.
2602 Add copyright and license
2604 2004-12-04 Keith Packard <keithp@keithp.com>
2607 Change default set of fonts to include all of
2608 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2609 * doc/fontconfig-user.sgml:
2610 Document new <include>directory-name</include> semantics
2612 add <include ignore_missing="yes">conf.d</include>
2614 Add selectfont to ignore bitmap fonts, add comment for
2615 selectfont which accepts bitmap fonts.
2618 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2619 Allow <include> configuration elements to reference directories.
2620 Parse and load all files of the form [0-9]* in sorted order.
2622 2004-12-04 Keith Packard <keithp@keithp.com>
2625 Report command line for $srcdir/configure accurately.
2628 2004-12-04 Keith Packard <keithp@keithp.com>
2630 * src/fcfreetype.c: (FcFreeTypeQuery):
2631 Check for non-empty face->family_name and face->style_name
2632 before using those for the font. Empty names match everything.
2635 2004-12-04 Keith Packard <keithp@keithp.com>
2638 * fontconfig/fontconfig.h:
2639 * src/fcfreetype.c: (FcFreeTypeQuery):
2641 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2642 available. This provides font file format information (BDF, Type 1,
2643 PCF, TrueType) for each font. Closes #109.
2645 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2647 reviewed by: Keith Packard <keithp@keithp.com>
2649 * doc/fontconfig-user.sgml:
2652 * fontconfig/fontconfig.h:
2653 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2654 (GetScriptTags), (FcFontCapabilities):
2656 Add detection for font capabilities (bug #105)
2658 2004-12-04 Keith Packard <keithp@keithp.com>
2661 Move existing fonts.conf to fonts.conf.bak
2664 Add detection of iconv
2666 * doc/fcpattern.fncs:
2667 * doc/fontconfig-devel.sgml:
2668 * doc/fontconfig-user.sgml:
2670 Document new selectfont elements
2673 Switch to UTF-8 in comment
2675 * fontconfig/fontconfig.h:
2677 Add fullname, and family/style/fullname language entries
2679 * src/fccache.c: (FcCacheFontSetAdd):
2680 * src/fcdir.c: (FcFileScanConfig):
2681 Respect selectfont/*/glob
2684 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2685 (FcConfigCompareValue), (FcConfigPatternsAdd),
2686 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2687 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2688 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2689 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2690 Add support for selectfont
2692 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2693 (FcStringInPatternElement), (FcFreeTypeQuery):
2694 Add multi-lingual family/style/fullname support
2696 * src/fclist.c: (FcListPatternMatchAny):
2697 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2699 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2700 (FcObjectStaticName):
2701 Add new FcPatternRemove/FcPatternAppend.
2702 FcObjectStaticName stores computed pattern element names which
2703 are required to be static.
2705 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2710 Remove spurious / after $(DESTDIR)
2712 2004-06-30 Keith Packard <keithp@keithp.com>
2716 * fontconfig/fontconfig.h:
2719 2004-06-30 Keith Packard <keithp@keithp.com>
2721 Provided by: Lubos Lunak <l.lunak@suse.cz>
2723 * src/fccfg.c: (FcConfigUptoDate):
2724 However FcConfigUptoDate() doesn't seem to work. See the attached
2725 patch. First there's an obvious misplaced parenthesis making it
2726 return always false, and second, even this call fails to detect font
2727 changes (e.g. adding a new font to
2728 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2729 well. The problem seems to be triggered by my fonts.conf specifying
2730 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2731 doesn't include subdirs, unlike config->fontDirs.
2733 2004-06-03 Keith Packard <keithp@keithp.com>
2735 * fontconfig/fontconfig.h:
2736 Remove comma at end of FcResult enum definition.
2738 2004-05-29 Keith Packard <keithp@keithp.com>
2741 Add steps to md5sum release
2743 2004-05-29 Keith Packard <keithp@keithp.com>
2747 * fontconfig/fontconfig.h:
2750 2004-05-29 Keith Packard <keithp@keithp.com>
2752 * fontconfig/fontconfig.h:
2753 * src/fcmatch.c: (FcFontSetMatch):
2754 Add FcResultOutOfMemory to provide an accurate error when
2755 FcFontSetMatch fails in this way
2758 Make #warning about lacking various FreeType features indicate
2759 which version those features appeared so users know how to
2760 fix the problem (Thanks to Anton Tropashko)
2762 2004-05-05 Keith Packard <keithp@keithp.com>
2764 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2765 Replace MIN/MAX/ABS macros which happen to have come
2766 from FreeType with fontconfig-specific ones (FC_*)
2768 2004-04-23 Keith Packard <keithp@keithp.com>
2771 Extend release preparation instructions to include
2772 notification and distribution steps
2774 2004-04-23 Keith Packard <keithp@keithp.com>
2778 * fontconfig/fontconfig.h:
2779 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2781 2004-04-23 Keith Packard <keithp@keithp.com>
2784 Ignore a few more autotool files
2786 2004-04-14 Keith Packard <keithp@keithp.com>
2789 Add instructions for doing a release
2791 * fontconfig.spec.in:
2792 clean up .spec file; perhaps this will be useful to somebody...
2796 * fontconfig/fontconfig.h:
2799 * fc-lang/fc-lang.c:
2800 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2802 * fc-glyphname/Makefile.am:
2803 * fc-lang/Makefile.am:
2804 * fc-list/Makefile.am:
2805 * fc-match/Makefile.am:
2807 Add WARN_CFLAGS to pass -W flags for GCC systems
2809 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2810 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2811 Change various char types around to match across
2813 Fixed bug in using available_sizes[i].height which
2814 is in pixels, not 64ths of a pixel.
2816 2004-03-06 Keith Packard <keithp@keithp.com>
2818 * src/fcfreetype.c: (FcFreeTypeQuery):
2819 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2820 matches looking for explicit values prefer exact matches
2822 2004-03-02 Keith Packard <keithp@keithp.com>
2824 Supplied by: mfabian@suse.de (Mike FABIAN)
2826 * src/fcfreetype.c: (FcFreeTypeQuery):
2827 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2828 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2830 2004-02-21 Manish Singh <yosh@gimp.org>
2832 * fc-glyphname/fc-glyphname.c: (main):
2833 Cast strlen to int for printf, so we're 64-bit clean.
2835 2004-02-11 Keith Packard <keithp@keithp.com>
2838 * src/fcfreetype.c: (FcGetPixelSize):
2839 Ok, so I messed up the test for y_ppem. Let's see if I
2840 got it right this time.
2842 2004-02-10 Keith Packard <keithp@keithp.com>
2845 * src/fcfreetype.c: (FcGetPixelSize):
2846 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2847 FT_Bitmap_Size record. Add a configure.in test for this
2848 and change the code accordingly (using height instead).
2850 2004-02-06 Keith Packard <keithp@keithp.com>
2853 Add Low Saxon orthography
2854 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2856 * src/fccfg.c: (FcConfigNewestFile):
2857 Oops. Left 'newest.set' unset, which would miscompute
2860 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2861 (FcFreeTypeCheckGlyph):
2862 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2863 font properties (which report the wrong value in current FreeType)
2865 Don't attempt to check for empty glyphs in non-scalable fonts; they
2868 2004-02-01 Tor Lillqvist <tml@iki.fi>
2870 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2871 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2872 cache if config->cache is NULL, which happens if FcConfigHome() is
2873 NULL. Guard against that by using the temp folder in that case.
2875 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2877 * fc-lang/az_ir.orth:
2878 * fc-lang/ku_ir.orth:
2879 * fc-lang/ps_af.orth:
2880 * fc-lang/ps_pk.orth:
2881 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2882 (Afghan and Pakistani).
2884 Updated Urdu orthography with real data.
2886 2003-12-11 Carl Worth <cworth@east.isi.edu>
2888 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2891 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2893 (all-local): Remove excessive whitespace.
2895 * autogen.sh: Add 'set -e' to abort when any program fails,
2896 (avoids printing of 'now type make' after configure aborts).
2898 2003-11-17 Eric Christopherson <rakko@charter.net>
2900 reviewed by: Keith Packard <keithp@keithp.com>
2903 * fontconfig/fcfreetype.h:
2905 Switch to FreeType 2.1.7 style includes. Bug #150.
2907 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2909 * fc-list/fc-list.sgml: Add some example usages.
2911 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2914 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2917 2003-10-27 Keith Packard <keith@keithp.com>
2920 * fontconfig/fontconfig.h:
2921 Update to version 2.2.92
2923 2003-10-27 Keith Packard <keithp@keithp.com>
2928 * fc-cache/Makefile.am:
2929 * fc-glyphname/Makefile.am:
2930 * fc-lang/Makefile.am:
2931 * fc-list/Makefile.am:
2932 * fc-match/Makefile.am:
2935 Yet more cleanups to finish getting 'make distcheck' working
2936 This has been tested to ensure that it even works from a _build
2939 2003-10-26 Keith Packard <keithp@keithp.com>
2943 * fc-cache/Makefile.am:
2944 * fc-glyphname/Makefile.am:
2945 * fc-lang/Makefile.am:
2946 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2947 * fc-list/Makefile.am:
2948 * fc-match/Makefile.am:
2949 Attempts to fix 'make distcheck' work. Things are
2950 progressing pretty well, but there are still failures
2951 long into the process dealing with docs (as always).
2953 The big changes here are mostly to make $(srcdir) != "."
2954 work correctly, fixing the docbook related sections and
2955 fc-lang were particularily tricky. Docbook refuses to load
2956 system entities from anywhere other than where the original .sgml
2957 file was located, so no luck looking in "." for the
2958 configure-generated version.sgml and confdir.sgml files.
2960 fc-lang needed help finding .orth files; added a -d option
2961 to set the directory as the least evil of many options.
2963 Now to go use a faster machine and try and wring out the last
2966 2003-10-26 Keith Packard <keithp@keithp.com>
2970 2003-10-26 Keith Packard <keithp@keithp.com>
2973 Include confdir.sgml.in in EXTRA_DIST
2975 2003-10-09 Josselin Mouette <joss@debian.org>
2977 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2978 * fc-list/fc-list.sgml fc-list/Makefile.am:
2979 Replace fc-cache and fc-list manpages with more detailed, SGML
2982 2003-09-23 Owen Taylor <otaylor@redhat.com>
2984 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2985 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2986 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2989 2003-09-23 Owen Taylor <otaylor@redhat.com>
2991 * fc-lang/ka.orth: Remove Georgian capitals, they
2992 aren't used for normal writing. (Bug #116)
2994 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2996 * doc/fontconfig-devel.sgml:
2997 * doc/fontconfig-user.sgml:
2998 * fontconfig/fontconfig.h:
3000 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3001 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3003 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3004 monospace and dual-width fonts, allow roughly a 3% variance in the
3007 2003-08-31 Manish Singh <yosh@gimp.org>
3009 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3012 2003-08-15 Carl Worth <cworth@isi.edu>
3014 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3015 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3017 * src/fcpat.c (FcValueListEntDestroy): New function to support
3018 FcFini memory cleanup. Some statistics are not kept in
3020 (FcValueListFreeze): Move hashTable outside this function so it
3021 can be accessed by FcValueListThawAll.
3022 (FcValueListThawAll): New function complements FcValueListFreeze.
3023 (FcPatternBaseFreeze): Move hashTable outside this function so it
3024 can be accessed by FcPatternBaseThawAll.
3025 (FcPatternBaseThawAll): New function complements
3026 FcPatternBaseFreeze.
3027 (FcPatternThawAll): New function complements FcPatternFreeze.
3029 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3031 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3032 allocated FcCharLeafEnt "blocks" so they can be freed later.
3033 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3034 can be accessed by FcCharSetThawAllLeaf.
3035 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3036 (FcCharSetFreezeBase): Move hashTable outside this function so it
3037 can be accessed by FcCharSetThawAll.
3038 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3040 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3041 (FcConfigDestroy): Fic leak of FcBlanks.
3043 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3044 (main): Add call to FcFini when finished.
3046 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3047 static. Add prototypes.
3049 * doc/fcinit.fncs: Add documentation for FcFini function.
3051 * doc/edit-sgml.c: Mark several local functions as static. Add
3054 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3056 2003-06-15 Tor Lillqvist <tml@iki.fi>
3058 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3059 before comparing (needed on Windows).
3061 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3063 2003-06-13 Tor Lillqvist <tml@iki.fi>
3065 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3068 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3069 WINDOWSFONTDIR token.
3071 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3072 end, not to confuse libtool, which expects the EXPORTS line to be
3073 the first. Add FcConfigEnableHome.
3075 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3076 built as a DLL on Win32.
3078 2003-06-09 Keith Packard <keithp@keithp.com>
3080 * Tag version 2.2.90
3082 2003-06-09 Keith Packard <keithp@keithp.com>
3084 * Optimization in FcLangSetIndex was broken, occasionally
3085 returning a pointer to the wrong location on miss
3087 * Add fc-match to test font matching from the command line.
3089 2003-05-31 Keith Packard <keithp@keithp.com>
3091 * (Bug 85) add support for culmus fonts
3092 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3093 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3095 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3097 * Fix "contains" op for strings and langsets.
3099 2003-05-17 Keith Packard <keithp@keithp.com>
3101 * Fix build error with BDF prop local. Free langset after query
3103 2003-05-14 Keith Packard <keithp@keithp.com>
3105 * Extract spacing from XLFD atom
3107 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3109 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3110 disappeared in 1.30.
3112 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3114 2003-05-12 Keith Packard <keithp@keithp.com>
3116 * Use FcIsWidth to share code
3118 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3119 misclassifying some Han fonts as monospaced.
3121 2003-05-07 Keith Packard <keithp@keithp.com>
3123 * Add filename-based accept/reject to ammend available fonts.
3125 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3126 older FreeType releases.
3128 2003-05-06 Keith Packard <keithp@keithp.com>
3130 * Remove 0b82 and Tamil numbers from tamil
3131 orthography (Jungshik Shin <jshin@mailaps.org>)
3133 2003-05-04 Keith Packard <keithp@keithp.com>
3135 + Map glyph names in fonts with adobe custom encoding to unicode
3137 2003-05-02 Keith Packard <keithp@keithp.com>
3139 * Add FC_WEIGHT_BOOK as weight 75
3141 2003-04-30 Keith Packard <keithp@keithp.com>
3143 * Typo in bitstream foundry name
3145 2003-04-24 Keith Packard <keithp@keithp.com>
3147 * Eliminate italic_angle check for PS fonts
3149 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3151 * Getting closer to fixing /etc/fonts hard-coding.
3153 2003-04-22 Keith Packard <keithp@keithp.com>
3155 * Update autogen.sh to work with newer automake versions
3156 * Handle pattern elements moving during multiple edits
3158 2003-04-23 James Henstridge <james@daa.com.au>
3160 * doc/fontconfig-devel.sgml: close the <para> element.
3162 * doc/fcpattern.fncs: close the <para> element.
3164 * doc/func.sgml: close the <refsynopsisdiv> element.
3166 2003-04-22 Keith Packard <keithp@keithp.com
3168 * Update autogen.sh to work with newer automake versions
3169 * Handle pattern elements moving during multiple edits
3171 2003-04-17 Colin Walters <walters@debian.org>
3173 + Remove some unused variables, and initialize some other ones so
3174 gcc doesn't warn us.
3176 2003-04-16 Keith Packard <keithp@keithp.com>
3178 + tag version 2.1.94
3180 2003-04-16 Keith Packard <keithp@keithp.com>
3182 + add BDF property fetching support for foundry
3183 (from Juliusz Chroboczek)
3184 + add BDF property fetching support for width
3186 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3188 + Implemented foundry generation for Type 1 and TrueType
3190 2003-04-11 Gerard Escalante <g2@magestudios.net>
3192 + Retrieve information from Type1 FontInfo dictionaries
3194 2003-04-07 Colin Walters <walters@verbum.org>
3196 + src/Makefile.am: Fix dummy makefile target names when
3197 MS_LIB_AVAILABLE isn't set.
3199 2003-03-22 Tor Lillqvist <tml@iki.fi>
3201 Changes for Windows:
3203 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3205 + We don't want to hardcode the fonts.conf file location in the
3206 DLL, so we look up the DLL location at run-time in a DllMain()
3207 function. The fonts.conf location is deduced from that.
3209 + The colon can't be used as path separator on Windows,
3210 semicolon is used instead. File path components can be separated
3211 with either slash or backslash. Absolute paths can also begin
3212 with a drive letter.
3214 + Add internal function FcStrLastSlash that strrchr's the last
3215 slash, or backslash on Windows.
3217 + There is no link() on Windows. For atomicity checks, mkdir a
3218 lock directory instead.
3220 + In addition to HOME, also look for USERPROFILE.
3222 + Recognize the special font directory token WINDOWSFONTDIR, to
3223 use the system's font directory.
3225 + Remove the fontconfig-def.cpp that was obsolete. Add
3226 fontconfig.def(.in), without internal functions.
3228 + Add a fontconfig-zip(.in) script, used to build a binary
3231 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3232 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3233 to main package and man3/* to devel package
3235 + Added missing defattr(-, root, root) to main RPM package
3237 + Added HTML and text development documentation to -devel subpackage
3239 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3240 + Added back the configure macro options --disable-docs, otherwise
3241 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3242 version number) unconditionally, causing RPM to fail the build due
3243 to _unpackaged_files_terminate_build. We pick up the pregenerated
3244 docs with %doc already.
3246 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3247 + Removed commented out rpm macro define at top of spec file,
3248 replacing it with a simple explanation, since rpm macros are
3249 expanded by rpm even in comments.
3251 + Changed /usr/bin to _bindir in BuildRequires lines
3253 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3255 + Reorganized file manifest lists
3257 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3259 + fontconfig.spec.in: Improvements from Red Hat spec file.
3261 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3263 + docs/*.sgml: SGML fixes.
3265 Sat Mar 1 17:28:53 PST 2003 keithp
3266 + Ok, so the ChangeLog is a bit out of date
3268 + Lots of bugs fixed; most are in bugzilla, the
3269 biggest problems were in cache management where
3270 Owen discovered the library would lose badly when
3271 combining fonts-cache and ~/.fonts-cache data
3273 + Converted from autoconf to automake. This after
3274 getting patches accepted into libtool to allow
3275 the '-version-number' argument which lets
3276 packages set version numbers explicitly rather
3277 than the roundabout libtool way
3279 + Converted documentation to SGML using the docbook
3280 DTD. Now .txt and .html documents are installed
3281 in /usr/share/doc/fontconfig and there's no
3282 man page. Perhaps a man version can be written
3285 Sat Aug 31 15:21:22 PDT 2002 keithp
3286 + Xrender and Xft had several bugs related to
3287 rendering manually placed or poly-face text
3289 + Added more complete memory tracing in fontconfig
3290 Checked with (patched) mozilla and found no leaks
3292 + Updated Latin orthographies by comparing those from
3293 evertype.com with those from eki.ee. Tried to make
3294 sensible choices, including chars that occured in both
3295 and leaving some optional chars out that occured only
3298 Mon Aug 26 16:33:04 PDT 2002 keithp
3299 + Owen discovered that FcLangSetHasLang wasn't actually
3300 checking the language set.
3302 Mon Aug 26 13:37:23 PDT 2002 keithp
3303 + Append a version number to cache filenames
3305 Thu Aug 22 11:36:18 PDT 2002 keithp
3307 + Add "contains" and "not_contains" operators and elements to
3310 + Changed semantics of eq operator for LangSets to check for
3311 FcLangEqual so that any match will do
3313 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3314 of FcValueEqual to check for identical values when inserting into
3315 the results. This broke when the above semantic change was made,
3316 now it uses FcValueEqual which is "more correct" in any case.
3318 Thu Aug 22 00:32:29 PDT 2002 keithp
3320 + Reimplement FC_LANG as new datatype. Lists of strings
3321 was consuming over a megabyte of memory for 401 fonts.
3323 + Freeze patterns loaded from cache files. This shares
3324 common value lists and common patterns which saves
3325 considerable memory.
3327 + Change the denotation of 'constant' charsets to use special
3328 ref value instead of separate boolean.
3330 + Clean up leak tracing stuff, found several unannoted alloc/free
3333 Tue Aug 20 16:17:37 PDT 2002 keithp
3335 + Fix memory leak when parsing matrices from XML
3337 Mon Aug 19 11:57:27 PDT 2002 keithp
3339 + Fix autoconf files to pass FONTCONFIG_PATH on
3340 compile line so that ${prefix} gets substituted
3343 + Use getc_unlocked/putc_unlocked on systems that
3344 provide them to avoid damage done to stdio by posix
3346 + Eliminate FC_PATTERN and FcTypePattern in favor of
3347 an extended api for FcConfigSubstitute which takes
3348 both the font and the pattern.
3350 + Add 'sans serif' alias for 'sans-serif' as some apps
3351 can't handle hyphens in family names
3353 + Eliminate pretense of support for libxml2
3355 + Comment origins of Han orthographies
3357 Tue Jul 30 18:37:09 PDT 2002 keithp
3359 + Add binding property to edit element so that strong
3360 binding values may be inserted by the config file.
3361 The default remains weak.
3363 Sun 28 Jul 04:16:55 PDT 2002 keithp
3365 + Tagged release candidate 1 in the CVS tree and
3366 placed fcpackage.rc1.tar.gz for distribution
3368 Thu Aug 1 08:55:08 PDT 2002 keithp
3370 + Fixed autoconf builds to always specify install
3371 target files (for BSD). Also fixed to
3372 define FONTCONFIG_PATH in config.h so that
3373 nonstandard installs will actually work.