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 Dominic Lachowicz <cinamod@hotmail.com>
12 * src/fccache.c (FcDirCacheConsume):
14 Implement mmap-like code for Windows using MapViewOfFile.
16 2006-04-19 Patrick Lam <plam@mit.edu>
17 * src/fccache.c (FcDirCacheConsume, FcCacheNextOffset):
19 Bail gracefully if the cache file does not contain enough data.
21 2006-04-14 Patrick Lam <plam@mit.edu>
24 Give the 'Standard Symbols L' match a strong (vs. weak) binding.
26 2006-04-14 Patrick Lam <plam@mit.edu>
27 * src/fcname.c (FcObjectToPtrLookup):
29 Fix Gecko-exposed segfault from my last hack to
30 FcObjectToPtrLookup. Simplify code and get things straight.
32 2006-04-14 Patrick Lam <plam@mit.edu>
35 Actually, just add URW fonts as aliases for all of the PostScript
36 fonts. (reported by Miguel Rodriguez).
38 2006-04-13 Patrick Lam <plam@mit.edu>
41 Add an alias 'Standard Symbols L' for 'Symbol'.
43 2006-04-12 Frederic Crozat <fcrozat@mandriva.com>
46 * src/fcpat.c: (FcPatternFreeze):
47 Fix memory leak (Coverity defect #2089).
49 * src/fcfreetype.c: (GetScriptTags):
50 Ignore script if subtable is missing (Coverity defect #2088).
52 2006-04-12 Patrick Lam <plam@mit.edu>
53 * src/fccfg.c (FcConfigSubstituteWithPat):
55 Fix possible null pointer dereference (Coverity defect #784)
56 and memory leak (Coverity defects #785, #786).
58 2006-04-12 Patrick Lam <plam@mit.edu>
59 * src/fcmatch.c (FcSortWalk, FcFontSetSort):
61 Don't copy FcCharSet if we're going to throw it away anyway.
62 (Reported by Kenichi Handa).
64 2006-04-11 Ming Zhao <ming@gentoo.org>
67 * src/fcname.c (FcObjectToPtrLookup):
69 Fix bad behaviour on realloc resulting in crash.
71 2006-04-11 Patrick Lam <plam@mit.edu>
72 * src/fccache.c (FcGlobalCacheReadDir):
74 Don't crash if config is null (Coverity defect #984).
76 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
79 * src/fccharset.c (FcCharSetPutLeaf):
80 * src/fclang.c (FcNameUnparseLangSet):
82 Missing bits from previous patches.
84 * src/fccharset.c (FcCharSetSubtractCount):
85 Remove extra semi-colon.
87 * src/fccfg.c (FcConfigBuildFonts):
88 Fix memory leak in error case (Coverity defects #776, #985).
90 * src/fcxml.c (FcPopBinary, FcParsePatelt, FcParsePattern):
91 Fix memory leaks (Coverity defects #779, #781)
92 and memory use after free (Coverity defect #780).
94 2006-04-11 Patrick Lam <plam@mit.edu>
95 * src/fccharset.c (FcCharSetPutLeaf):
97 Properly convert static charsets to dynamic charsets.
99 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
102 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
104 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
106 * src/fclang.c: (FcNameUnparseLangSet):
107 Fix memory leak (Coverity defect #1819).
109 * fc-lang/fc-lang.c: (scan):
110 prevent crash when invalid include line is parsed (Coverity defect
113 * fc-cat/fc-cat.c: (FcCacheFileRead):
114 Fix potential null pointer access (Coverity defect #1804).
116 * src/fcname.c: (FcObjectUnserialize):
117 Remove dead code (Coverity defect #1194).
119 * src/fcfreetype.c: (GetScriptTags):
120 Prevent potential null pointer access (Coverity defect #767),
121 ensure error value is read (Coverity defect #1195).
123 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
128 Survive missing docbook2pdf.
130 2006-04-10 Patrick Lam <plam@mit.edu>
132 * fc-glyphname/fc-glyphname.c:
135 Include more stub definitions to make HP-UX's C compiler happy.
137 2006-04-10 Patrick Lam <plam@mit.edu>
138 * src/fcname.c (FcObjectUnserialize):
140 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
142 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
145 * src/fccfg.c: (FcConfigEvaluate):
146 Fix string memory leak (Coverity defect #1823).
148 * src/fccache.c: (FcDirCacheUnlink):
149 Fix memory leak with hash collision (Coverity defect #1824).
151 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
154 * src/fccache.c: (FcGlobalCacheSave):
155 Don't leak header in non-error case (Coverity defect #1825).
157 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
160 * src/fcdir.c (FcDirScanConfig)
161 Don't leak in error cases (Coverity defects #777, #1826)
163 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
166 * src/fccache.c: (FcDirCacheWrite):
167 Fix double free (spotted by Coverity, CID #1965).
169 * fc-match/fc-match.c: (main):
170 Check if pattern is not null before using it (Coverity defect #1883).
172 * src/fccache.c: (FcDirCacheWrite):
173 Fix memory leak with hash collision (Coverity defect #1829).
175 * src/fccfg.c: (FcConfigBuildFonts):
176 Fix memory leak when bail cases (Coverity defect #1828).
178 * src/fccache.c: (FcGlobalCacheLoad):
179 Don't leak directory name (Coverity defect #1827).
181 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
183 * fc-cache/Makefile.am:
184 * fc-cat/Makefile.am:
185 * fc-list/Makefile.am:
186 * fc-match/Makefile.am:
188 LD_ADD missing dependencies for binaries. Reported by
191 2006-04-07 Patrick Lam <plam@mit.edu>
193 * fc-lang/fc-lang.c (main):
195 SGI compilation fixes (reported by Christoph Bauer):
196 1) reorder union definition of _FcChar;
199 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
202 * src/fccharset.c (FcCharSetNeededBytes):
203 * src/fcfs.c (FcFontSetNeededBytes):
205 * src/fclang.c (FcLangSetNeededBytesAlign):
206 * src/fcname.c (FcObjectNeededBytesAlign):
207 * src/fcpat.c (FcPatternNeededBytesAlign,
208 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
210 Portability fixes for HP-UX (reported by Christoph Bauer).
211 Replace '__inline__' by AC_C_INLINE and 'inline'.
212 Replace '__alignof__' by 'fc_alignof'.
214 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
218 Move up #include of config.h.
219 Fail if neither inttypes.h nor stdint.h is available.
222 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
223 Patrick Lam <plam@mit.edu>
225 * fc-cache/fc-cache.c:
227 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
228 FcDirCacheConsume, FcDirCacheProduce,
229 FcDirCacheWrite, FcCacheMachineSignature):
230 * src/fcfreetype.c (FcFreeTypeQuery):
231 * src/fontconfig.def.in:
233 Make fontconfig compile under MinGW:
234 1) remove unneeded #includes;
235 2) make use of mmap and sysconf conditional;
236 3) replace rand_r by srand/rand if needed;
237 4) use chsize instead of ftruncate; and
238 5) update libtool exports file
240 2006-04-07 Patrick Lam <plam@mit.edu>
241 * src/fcdir.c (FcDirScanConfig):
245 2006-04-06 Patrick Lam <plam@mit.edu>
246 * fc-match/.cvsignore:
247 * fc-match/Makefile.am:
248 * fc-match/fc-match.sgml:
250 Update documentation for fc-match (SGML-ize it).
251 (reported by Ilya Konstantinov)
253 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
259 Reduce amount of dirty rss by const'ing some data structures.
261 2006-04-06 Patrick Lam <plam@mit.edu>
262 * fc-cache/Makefile.am:
264 Don't fail if we can't create or remove
265 $(pkgcachedir) i.e. /var/cache/fontconfig.
266 (reported by Quanah Gibson-Mount).
268 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
271 * fc-glyphname/fc-glyphname.c:
272 * fc-lang/fc-lang.c (main):
273 * fc-match/fc-match.c:
274 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
276 * src/fcfreetype.c (FcFreeTypeQuery):
277 * src/fclang.c (FcFreeTypeLangSet):
280 Fix intel compiler warnings: make many variables static,
281 eliminate duplicate names, reduce variable scopes, unsigned/signed
284 2006-03-24 Mike Fabian <mfabian@suse.de>
286 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
288 Fix multiarch support (don't destroy multiarch files!)
290 2006-03-24 Patrick Lam <plam@mit.edu>
293 Require pkg-config. (Thanks Behdad;
294 better solution wanted for libxml2 detection!)
296 2006-03-22 Patrick Lam <plam@mit.edu>
299 On Windows, unlink before rename. Reported by Tim Evans.
301 2006-03-15 Patrick Lam <plam@mit.edu>
305 Fix typos in orth files. Reported by Denis Jacquerye.
307 2006-03-08 Patrick Lam <plam@mit.edu>
309 * config/config.guess:
312 Fix Makefile.am for removal of debian/ directory.
314 2006-03-08 Patrick Lam <plam@mit.edu>
317 Ignore debian/ directory for CVS.
319 2006-03-08 Patrick Lam <plam@mit.edu>
322 Now remove debian/ directory.
324 2006-03-08 Patrick Lam <plam@mit.edu>
327 Remove debian/ directory from sources. See Debian's subversion
328 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
331 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
335 * fc-lang/iso639-1, fc-lang/iso639-2:
337 Add orthography for Lingala.
339 2006-03-08 Carl Worth <cworth@cworth.org>
342 * conf.d/Makefile.am:
343 * conf.d/10LohitGujarati.conf:
345 Add a configuration file that disables hinting for the Lohit
346 Gujarati font (since the hinting distort some glyphs quite badly).
348 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
351 * src/fcdir.c (FcDirScanConfig):
353 Sort directory entries while scanning them from disk;
354 prevents Heisenbugs due to file ordering in a directory.
356 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
359 * src/fcfreetype.c (GetScriptTags):
360 * src/ftglue.c, src/ftglue.h:
362 Remove stuff we don't use, make get_{char,short,long} functions
363 of ftglue macros to be inlined.
366 * src/fcname.c (FcObjectSerialize):
368 Code cleanups (excess prototype, old-style function definition).
370 2006-03-05 Patrick Lam <plam@mit.edu>
371 * src/fcpat.c (FcPatternGetString):
373 Because we hacked FcPatternGet, we don't really need to expand the
374 filename again in FcPatternGetString.
376 2006-03-05 Patrick Lam <plam@mit.edu>
377 * src/fcpat.c (FcPatternGetString, FcPatternGet):
379 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
380 Make that work. Reported by Bernhard Rosenkraenzer.
382 2006-03-03 Patrick Lam <plam@mit.edu>
385 Include inttypes.h instead of stdint.h if appropriate.
387 2006-03-03 Patrick Lam <plam@mit.edu>
388 * fc-cat/fc-cat.c (FcFileIsDir):
389 * fc-glyphname/fc-flyphname.c:
391 More stub definitions and remove FcFileIsDir from fc-cat.
393 2006-03-03 Patrick Lam <plam@mit.edu>
396 Fix compilation on AIX with stub definitions (bug 6097).
398 2006-03-03 Patrick Lam <plam@mit.edu>
399 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
400 * src/fcfreetype.c (GetScriptTags):
401 * src/fcfs.c (FcFontSetDistributeBytes):
402 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
404 Get rid of C++-style comments.
406 2006-03-03 Patrick Lam <plam@mit.edu>
409 Enable creation of 2.3.94 Debian packages.
411 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
414 * src/fclang.c (FcCharSetForLang):
416 Fix suspicious return expression which causes junk
419 2006-02-24 Patrick Lam <plam@mit.edu>
423 * fontconfig/fontconfig.h:
425 Bump version to 2.3.94.
427 2006-02-24 Patrick Lam <plam@mit.edu>
432 2006-02-24 Patrick Lam <plam@mit.edu>
433 * conf.d/10-fonts-persian.conf:
435 Remove unconditional emboldening (per Behdad's instructions).
439 Add @s to hide some echos.
441 2006-02-24 Mike Fabian <mfabian@suse.de>
442 Takashi Iwai <tiwai@suse.de>
445 * src/fcfreetype.c (GetScriptTags):
447 Fix double-free on error case.
449 2006-02-21 Patrick Lam <plam@mit.edu>
450 * fc-lang/fc-lang.c (scan):
452 Strip \r and whitespace from input; fixes bug 3454.
454 2006-02-21 Patrick Lam <plam@mit.edu>
455 * fc-lang/fc-lang.c (main):
457 Allocate large arrays statically in fc-lang to fix crashes under
460 2006-02-21 Diego Petten <flameeyes@gentoo.org>
461 * src/fcfreetype.c (FcFreeTypeCharIndex):
463 Pass the buck; make fontconfig not crash on pango badness.
465 2006-02-21 Patrick Lam <plam@mit.edu>
466 * conf.d/10-fonts-persian.conf:
468 Use embeddedbitmap rather than rh_prefer_bitmap.
470 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
473 * src/fccache.c (FcDirCacheWrite):
474 * src/fcdir.c (FcFileScanConfig):
475 * src/fcfreetype.c (FcStringInPatternElement):
476 * src/fcxml.c (FcParseFamilies):
477 * src/ftglue.c (ftglue_face_goto_table):
479 Eliminate redundancies.
481 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
484 * fc-list/fc-list.c (main):
485 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
486 * src/fcstr.c (FcStrStr):
487 * src/fcxml.c (FcConfigSaveAttr):
489 Eliminate unused vars reported by Intel's compiler.
491 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
496 Remove one more archaic character.
498 2006-02-21 Ross Burton <ross@burtonini.com>
499 reviewed by: plam, keithp
501 * src/fcxml.c (FcParsePatelt):
503 Freeze patterns created by configuration file for tiny
504 memory savings (every little bit helps).
506 2006-02-21 Mike Fabian <mfabian@suse.de>
509 * fc-cat/fc-cat.c (main):
511 Initialize fontconfig library in fc-cat to avoid segfault.
513 2006-02-18 Patrick Lam <plam@mit.edu>
514 * fc-cache/fc-cache.c (scanDirs):
515 * src/fccache.c (FcCacheReadDirs):
516 * src/fcdir.c (FcDirScanConfig):
518 Fix the underlying cause of the below segfault (must usually
519 call FcDirCacheHasCurrentArch after FcDirCacheValid).
521 2006-02-18 Patrick Lam <plam@mit.edu>
522 * src/fccache.c (FcDirCacheHasCurrentArch):
524 Fix triggering of segfault caused by misreading cache files
525 (reported by fcrozat).
527 2006-02-17 Patrick Lam <plam@mit.edu>
528 * src/fcint.h (FC_CACHE_MAGIC):
530 Bump up magic version; we changed the binary format.
532 2006-02-17 Patrick Lam <plam@mit.edu>
533 * fc-cat/fc-cat.c (main):
535 Enable fc-cat to print out old-style cache info when given a
538 2006-02-16 Patrick Lam <plam@mit.edu>
539 * src/fccache.c (FcDirCacheHasCurrentArch):
541 Deal correctly with changing FC_CACHE_MAGIC.
543 2006-02-16 Patrick Lam <plam@mit.edu>
544 * fc-cache/fc-cache.c (usage, scanDirs, main):
546 Add -r --really-force option which blows away cache files and then
549 2006-02-16 Patrick Lam <plam@mit.edu>
550 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
552 Don't bail if fontconfig can't remove a dir cache file.
553 Skip the ID of a cache file when copying.
554 Eliminate 'source file too small' bug in FcDirCacheWrite.
556 2006-02-13 Patrick Lam <plam@mit.edu>
557 * src/fcfreetype.c (FcFreeTypeQuery):
559 Fix memory leak in error condition code.
561 2006-02-13 Mike Fabian <mfabian@suse.de>
563 * src/fcfreetype.c (FcFreeTypeQuery):
565 Skip bitmap fonts which can't even get it together enough to
566 declare a family name; this appears to reproduce previous
567 fontconfig behaviour.
569 2006-02-10 Takashi Iwai <tiwai@suse.de>
571 * src/fccache.c (FcDirCacheOpen):
573 Try to open /var/cache/fontconfig/[hashed name] before
574 fonts.cache-2 in a directory, because /var/cache/fontconfig
575 failures ought to be fixable, unlike fonts.cache-2 failures,
576 which may leave you screwed.
578 2006-02-10 Takashi Iwai <tiwai@suse.de>
580 * src/fcmatch.c (FcFontSetMatch):
582 Use a tri-state to mark the fonts which didn't get blocked but
583 were just missing an element, to distinguish them from the
584 fonts that do match the element.
586 2006-02-10 Takashi Iwai <tiwai@suse.de>
588 * src/fcmatch.c (FcFontSetMatch):
590 Don't kill fonts because they don't declare an element that's
593 2006-02-09 Patrick Lam <plam@mit.edu>
594 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
595 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
597 Define and pass O_BINARY to open if appropriate, for those
598 platforms that need it. Reported by Doodle.
600 2006-02-09 Patrick Lam <plam@mit.edu>
601 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
604 Fix problem with missing 'en' due to euro.patch: change
605 cache file format slightly to coincide with that generated
608 2006-02-07 Patrick Lam <plam@mit.edu>
609 * src/fccache.c (FcCacheReadDirs):
613 2006-02-07 Patrick Lam <plam@mit.edu>
614 * src/fcdir.c (FcDirScanConfig):
616 Don't reject dirs that can't be normalized (fixes lilypond, and
617 is correct in the context of application font directories.)
619 2006-02-07 Takashi Iwai <tiwai@suse.de>
622 * src/fccache.c (FcCacheReadDirs):
624 Use normalized directory name exclusively in FcCacheReadDirs.
626 2006-02-07 Dirk Mueller <dmueller@suse.com>
629 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
631 Perf optimizations. Inline FcValueCanonicalize,
632 reduce FcValueListPtrU usage, remove redundant cast.
634 2006-02-07 Takashi Iwai <tiwai@suse.de>
637 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
640 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
641 Declare extern for static arrays as arrays, not pointers.
642 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
644 2006-02-07 Dirk Mueller <dmueller@suse.com>
657 Add Euro sign to list of symbols required by European languages.
659 2006-02-07 Patrick Lam <plam@mit.edu>
660 * src/fccache.c (FcCacheReadString):
662 Fix hidden variable warning.
664 2006-02-07 Dirk Mueller <dmueller@suse.com>
667 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
669 Remove de-escaping logic because FcCacheWriteString
670 doesn't escape anyway. Do blockwise reading instead
671 of byte-wise for performance.
673 2006-02-06 Patrick Lam <plam@mit.edu>
674 Takashi Iwai <tiwai@suse.de>
676 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
678 Don't loop infinitely on recursive symlinks (client-side).
680 2006-02-06 Takashi Iwai <tiwai@suse.de>
682 * fc-cache/fc-cache.c (scanDirs, main):
684 Don't loop infinitely on recursive symlinks.
686 2006-02-06 Takashi Iwai <tiwai@suse.de>
688 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
689 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
690 FcGlobalCacheSave, FcCacheReadDirs):
693 Skip subdirs when skipping over stale bits of global cache.
694 Introduce state machine into FcGlobalCacheDir to avoid
695 doing inappropriate operations on global dir entries, e.g.
696 writing out an out-of-date cache entry.
698 2006-02-06 Takashi Iwai <tiwai@suse.de>
700 * src/fcdir.c (FcFileScanConfig):
702 Hoist FcFileIsDir check out of FcFileScanConfig loop.
704 2006-02-06 Takashi Iwai <tiwai@suse.de>
707 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
708 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
710 Don't rescan when trying to normalize a non-declared font dir.
711 Don't add font dirs multiple times (even if they're aliased).
713 2006-02-06 Dirk Mueller <dmueller@suse.de>
716 * src/fcfs.c (FcFontSetUnserialize):
718 Explain apples/oranges comparison and fix compilation error.
720 2006-02-06 Dirk Mueller <dmueller@suse.de>
723 * src/fcfs.c (FcFontSetUnserialize):
725 Insert check for integer overflow in # of fonts.
727 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
731 * fc-cache/Makefile.am:
732 * fc-cat/Makefile.am:
733 * fc-list/Makefile.am:
735 Make 'make distcheck' work with automake 1.6.3.
737 2006-02-03 Takashi IWAI <tiwai@suse.de>
740 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
743 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
744 FcDirCacheConsume, FcDirCacheWrite)
745 * src/fcxml.c (FcConfigMessage):
747 Check I/O call return values and eliminate unused variable
750 2006-02-03 Takashi Iwai <tiwai@suse.de>
753 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
757 2006-02-03 Dirk Mueller <dmueller@suse.de>
760 * src/fcfs.c (FcFontSetUnserialize):
762 Gracefully handle the case where a cache asserts that it
763 has a negative number of fonts, causing overflow.
765 2006-02-03 Patrick Lam <plam@mit.edu>
766 * src/fccache.c (FcDirCacheUnlink):
768 Fix double free in error case.
770 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
771 Stephan Kulow <coolo@suse.de>
774 * fc-cache/Makefile.am:
776 Replace 'stamp' target with mkinstalldirs.
778 2006-01-31 Mike Fabian <mfabian@suse.de>
781 * src/fccache.c (FcGlobalCacheLoad):
783 Toast broken global cache files.
785 2006-01-30 Patrick Lam <plam@mit.edu>
786 * src/fccache.c (FcGlobalCacheReadDir):
788 Actually use the directories that I added to the global cache.
791 2006-01-30 Mike Fabian <mfabian@suse.de>
794 * fc-cache/fc-cache.c (scanDirs):
796 Don't stop scanning if a directory in fonts.conf doesn't
797 exist, because subsequent directories might exist.
799 2006-01-30 Patrick Lam <plam@mit.edu>
800 * src/fccache.c (FcGlobalCacheLoad):
802 Make global cache work again after putting dir names into global
803 cache (I misplaced the recording of a file offset).
805 2006-01-30 Patrick Lam <plam@mit.edu>
806 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
808 Update fc-cat to handle subdir lists in global cache file.
810 * src/fccache.c (FcGlobalCacheLoad):
812 Another FcCacheReadString return value check.
814 2006-01-30 Mike Fabian <mfabian@suse.de>
817 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
818 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
820 Make fccache more resilient to broken cache files by checking
821 return value of FcCacheReadString all the time.
823 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
826 * fc-match/fc-match.1:
827 * fc-lang/fc-lang.man:
829 Remove references to dead fontconfig(3) manpages in
830 other fontconfig manpages.
832 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
835 * doc/fcpattern.fncs:
837 Fix world's tiniest typo in code example.
839 2006-01-29 Mike Fabian <mfabian@suse.de>
842 * src/fccache.c (FcGlobalCacheReadDir):
844 Fix global cache reads of subdirectories.
846 2006-01-29 Patrick Lam <plam@mit.edu>
848 Add documentation for FcConfigNormalizeFontDir.
850 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
851 FcGlobalCacheUpdate, FcGlobalCacheSave):
852 * src/fcdir.c (FcDirScanConfig):
855 Write directory information to global caches to fix make check
856 (reported by Ronny V. Vindenes). This changes the global cache
859 2006-01-27 Patrick Lam <plam@mit.edu>
860 * fc-cache/fc-cache.c (scanDirs):
861 * fontconfig/fontconfig.h:
863 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
865 Move FcConfigNormalizeFontDir call so that it doesn't result in
866 infinite recursion (reported by Ronny V. Vindenes).
868 2006-01-26 Patrick Lam <plam@mit.edu>
869 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
870 * src/fccfg.c (FcConfigNormalizeFontDir):
872 Add a couple of missing normalizations to make fc-cache work
873 right; only scan subdirectories once.
875 2006-01-26 Mike Fabian <mfabian@suse.de>
878 * src/fcacache.c (FcGlobalCacheReadDir):
880 Don't crash on non-existant directories in global cache.
882 2006-01-26 Patrick Lam <plam@mit.edu>
883 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
884 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
885 * src/fcdir.c (FcDirScanConfig):
886 * src/fcxml.c (FcEndElement):
888 Stop trampling the directory name when writing out caches.
889 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
890 subdirs when necessary. Don't scan directories that can't be
893 2006-01-25 Patrick Lam <plam@mit.edu>
894 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
895 * src/fccfg.c (FcConfigEvaluate):
896 * src/fcfreetype.c (FcPatternAddWithBinding):
898 Fix additional memory leaks reported by Ronny V. Vindenes: don't
899 invoke FcValueSave on hashed static strings in
900 FcPatternAddWithBinding.
902 Add another st_dev check in FcDirCacheOpen.
904 2006-01-24 James Su <james.su@gmail.com>
907 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
908 * fc-lang/zh_hk.orth:
910 Treat zh-hk fonts differently from zh-tw fonts. This patch may
911 cause fontconfig to treat A-X fonts differently from A-Y fonts;
912 please mail the fontconfig list if this causes any problems.
914 2006-01-24 Patrick Lam <plam@mit.edu>
915 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
916 * src/fcfreetype.c (FcFreeTypeQuery):
918 Fix memory leaks reported by Ronny V. Vindenes.
920 2006-01-19 Andreas Schwab <schwab@suse.de>
923 * src/fcpat.c (FcStrNeededBytes):
925 Fix for unaligned memory accesses.
927 2006-01-18 Mike Fabian <mfabian@suse.de>
930 * src/fcdir.c (FcDirScanConfig):
932 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
933 calls to avoid crashes.
935 2006-01-14 Patrick Lam <plam@mit.edu>
936 * src/fccache.c (FcDirCacheConsume):
938 Fix segfault when consuming zero-length caches in fc-cat
939 (which has no config, so FcConfigAddFontDir shouldn't be called.)
941 2006-01-14 Patrick Lam <plam@mit.edu>
942 * fc-cache/fc-cache.c (scanDirs):
943 * fontconfig/fontconfig.h:
944 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
945 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
946 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
947 * src/fcdir.c (FcDirScanConfig):
950 Compare device numbers as well as inodes.
951 Always normalize directory names before comparing them.
953 2006-01-11 Mike Fabian <mfabian@suse.de>
956 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
958 Allocate extra space for appended '/' in directory name.
960 2006-01-10 Patrick Lam <plam@mit.edu>
961 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
962 FcDirCacheValid, FcDirCacheHasCurrentArch,
963 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
964 * fc-cache/fc-cache.c (main):
966 Explicitly add font dirs to config.fontDirs even if they're empty.
967 Set current config in fc-cache.c.
968 Fix treatment of cache directory as read from cache file; don't
969 use string equality to determine if we have the right file,
972 2006-01-09 Patrick Lam <plam@mit.edu>
973 * fc-cache/fc-cache.c (scanDirs):
974 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
975 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
976 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
977 * src/fccfg.c (FcConfigNormalizeFontDir):
978 * src/fcdir.c (FcDirScanConfig):
981 Normalize font dirs by using the form, as given in fonts.conf, and
982 recorded in FcConfig's fontDirs string set, as canonical.
984 Actually update config.fontDirs as font directories are scanned.
986 2006-01-08 James Su <james.su@gmail.com>
987 * src/fcmatch.c (FcFontSetMatch):
989 Fix matching bug when multiple elements match; don't use
990 the sum of all scores, but the best score.
992 Also more perf opts, e.g. evaluate best over all font sets
993 rather than on a per-set basis (and other changes).
995 2006-01-08 Patrick Lam <plam@mit.edu>
996 * src/fccache.c (FcDirCacheConsume):
998 Properly skip past dir caches that contain zero fonts (as occurs
999 in global caches.) Reported by Mike Fabian.
1001 2006-01-06 Patrick Lam <plam@mit.edu>
1002 * src/fcdbg.c (FcPatternPrint):
1004 Print out full pathname in fc-match -v as well. Reported by
1007 2006-01-06 Mike Fabian <mfabian@suse.de>
1010 * src/fcname.c (FcNameParse):
1012 Fix bug where fc-match crashes when given __DUMMY__ property to
1015 (I added the __DUMMY__ string to enable callers of
1016 FcObjectToPtrLookup to distinguish an error return from a
1017 successful return. -PL)
1019 2006-01-05 Patrick Lam <plam@mit.edu>
1022 Add self to AUTHORS list.
1024 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
1025 FcCacheFileRead, FcCachePrintSet, main):
1026 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
1027 FcGlobalCacheSave, FcCacheNextOffset,
1028 FcDirCacheHasCurrentArch, FcDirCacheRead,
1029 FcDirCacheConsume, FcDirCacheWrite):
1031 * src/fcpat.c (comment):
1033 Minor change to global cache file format to fix fc-cat bug
1034 reported by Frederic Crozat, and buglet with not globally caching
1035 directories with zero fonts cached.
1037 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
1040 * src/fccfg.c (FcConfigEvaluate):
1042 Fix double-free which occurs because FcValueCanonicalize doesn't
1043 create an extra copy of the returned value, it only canonicalizes
1046 2006-01-02 Patrick Lam <plam@mit.edu>
1047 * doc/fontconfig-user.sgml:
1049 Fix version of .cache file (currently 1 -> currently 2). Reported
1052 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
1055 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
1057 Shut up GCC warnings on amd.
1059 2005-12-20 Patrick Lam <plam@mit.edu>
1063 * fontconfig/fontconfig.h:
1065 Bump version to 2.3.93.
1067 2005-12-20 Patrick Lam <plam@mit.edu>
1068 * src/fccharset.c (FcLangCharSetPopulate):
1069 * src/fcint.h (FcCacheBankToIndex):
1071 Avoid check on _fcBankId nullness and fix case where it used to
1074 2005-12-20 Patrick Lam <plam@mit.edu>
1075 * src/fcxml.c (FcConfigParseAndLoad):
1077 Use open instead of fopen (requested by Phil Race for Sun).
1079 2005-12-20 Patrick Lam <plam@mit.edu>
1080 * src/fccache.c (FcDirCacheWrite);
1081 * fc-cache/Makefile.am:
1083 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1086 2005-12-20 Patrick Lam <plam@mit.edu>
1087 * src/fcfreetype.c (FcFreeTypeQuery):
1089 Restore code to skip over PCF fonts that have no encoded
1091 (We guess that a font is PCF by presence of the PIXEL_SIZE
1094 2005-12-12 Patrick Lam <plam@mit.edu>
1095 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1097 Read and write the original location as a fallback for the
1098 hashed cache file locations. This is mostly for users to be
1099 able to have per-directory cache files.
1101 2005-12-12 Patrick Lam <plam@mit.edu>
1102 * fc-cache/fc-cache.c (scanDirs):
1103 * fc-cache/Makefile.am:
1104 * src/fccache.c (FcDirCacheHashName):
1106 Improve error message when fc-cache can't write the cache. Add
1107 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1108 create /var/cache/fontconfig when appropriate.
1110 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1113 * src/fcxml.c (FcConfigGetAttribute):
1115 Fix crash reported by Frederic Crozat when using libxml2.
1117 2005-12-09 Patrick Lam <plam@mit.edu>
1120 * fc-cache/Makefile.am:
1121 * fc-cat/Makefile.am:
1123 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1124 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1125 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1126 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1127 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1128 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1130 Migrate cache files from fonts directories to
1131 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1132 but requires that all caches get rebuilt.
1134 Also, autogen.sh now needs the additional parameter
1135 --localstatedir=/var.
1137 2005-12-07 Patrick Lam <plam@mit.edu>
1138 * src/fcpat.c (FcPatternAddString):
1140 Because we've changed FcPatternAddString to use FcStrStaticName
1141 and not FcValueSave, explicitly handle the case of a null string.
1143 2005-12-06 Patrick Lam <plam@mit.edu>
1144 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1148 2005-12-05 Patrick Lam <plam@mit.edu>
1149 * src/fcname.c (FcNameGetObjectType):
1151 Don't assign types to user object names.
1153 2005-12-05 Patrick Lam <plam@mit.edu>
1154 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1156 Don't free strings that have been returned from FcStrStaticName.
1158 2005-12-01 Patrick Lam <plam@mit.edu>
1159 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1161 Add codepath for reading global cache files as well.
1163 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1166 * conf.d/10-fonts.persian.conf:
1167 * conf.d/Makefile.am:
1169 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1171 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1174 * src/fcxml.c (FcConfigParseAndLoad):
1176 Only add a config file to the set of config files once.
1178 2005-11-29 Patrick Lam <plam@mit.edu>
1179 * src/fcint.h (FcCacheBankToIndex);
1181 Fix segfault by guarding array dereference.
1183 2005-11-29 Dirk Mueller <dmueller@suse.de>
1186 * fc-lang/fc-lang.c:
1187 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1188 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1192 Refactor FcCacheBankToIndex into an inlineable part
1193 (in fcint.h) which checks the front of the list and a
1194 non-inlineable part which finds and moves the appropriate element
1195 to the front of the list.
1197 2005-11-29 Patrick Lam <plam@mit.edu>
1198 * src/fccfg.c (FcConfigBuildFonts):
1199 * src/fccache.c (FcCacheReadDirs):
1201 Make the perf guys hate me a bit less: hoist the directory-name
1202 FcConfigAcceptFont check for cached fonts up to directory cache
1203 read time, rather than running it for each font.
1205 2005-11-29 Patrick Lam <plam@mit.edu>
1206 * src/fccfg.c (FcConfigBuildFonts):
1208 * src/fcpat.c (FcPatternFindFullFname):
1210 Don't make FcPatternFindFullFname available to fccfg, it's not
1211 really safe. Instead go through FcPatternGetString (sorry,
1212 perf guys.) Also, use globs for dirs as well.
1214 2005-11-28 Patrick Lam <plam@mit.edu>
1215 * src/fccfg.c (FcConfigBuildFonts):
1219 2005-11-28 Patrick Lam <plam@mit.edu>
1221 * src/fcpat.c (FcPatternFindFullFname):
1222 * src/fccfg.c (FcConfigBuildFonts):
1224 Fix problem dating back at least to 2.3.2 where globs weren't
1225 being applied to patterns loaded from a cache.
1227 2005-11-28 Patrick Lam <plam@mit.edu>
1228 * doc/fontconfig-user.sgml:
1230 Fix some obvious spelling mistakes.
1232 2005-11-28 Dirk Mueller <dmueller@suse.com>
1233 Stephan Kulow <coolo@suse.de>
1236 * src/fcmatch.c (FcFontSetMatch):
1238 Don't kill all fonts during match (oops!)
1241 2005-11-25 Dirk Mueller <dmueller@suse.com>
1242 Stephan Kulow <coolo@suse.de>
1243 Michael Matz <matz@suse.de>
1246 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1249 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1250 inline FcCompare into FcFontSetMatch and reorder the
1251 loops, adding a boolean array which blocks patterns from future
1252 consideration if they're known to not be best on some past
1255 2005-11-26 Dirk Mueller <dmueller@suse.com>
1258 * src/fcmatch.c (FcCompareValueList):
1260 Fix incorrect merge.
1262 2005-11-25 Patrick Lam <plam@mit.edu>
1263 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1265 Don't do random matching when bad objects are passed into
1268 2005-11-25 Patrick Lam <plam@mit.edu>
1270 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1271 FcPatternSerialize, FcPatternUnserialize,
1272 FcValueListEnsureBank, FcValueListDistributeBytes,
1273 FcValueListUnserialize):
1275 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1276 _fcPatternElts, _fcValueLists for consistency.
1278 2005-11-25 Dirk Mueller <dmueller@suse.com>
1283 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1285 2005-11-25 Patrick Lam <plam@mit.edu>
1287 * src/fccache.c (FcDirCacheConsume):
1288 * src/fccharset.c (FcCharSetUnserialize):
1289 * src/fcfs.c (FcFontSetUnserialize):
1290 * src/fclang.c (FcLangSetUnserialize):
1291 * src/fcname.c (FcObjectUnserialize):
1292 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1293 FcPatternUnserialize):
1295 Pass around FcCache *s to the Unserialize functions for extra
1296 consistency (and less overhead, for what that's worth).
1298 2005-11-24 Dirk Mueller <dmueller@suse.com>
1302 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1303 * src/fcname.c (FcNameUnparseValue):
1305 Inline the *PtrU functions to gain perf.
1306 Remove unneeded params for the FcCompare* functions.
1308 2005-11-24 Dirk Mueller <dmueller@suse.com>
1311 * src/fcint.h, fontconfig/fontconfig.h:
1313 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1315 * src/fcpat.c, src/fcint.h, src/fcname.c:
1317 Check for type validity during FcPatternAddWithBinding, don't
1318 verify type in FcFontMatch, don't call FcCanonicalize here
1319 (which always does a deep copy).
1321 2005-11-24 Dirk Mueller <dmueller@suse.com>
1324 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1325 * src/fcpat.c (FcPatternAddWithBinding):
1327 Make FcCompareString and FcCompareFamily less expensive.
1328 Only add a value for FC_FAMILY if the proposed value is a string.
1330 2005-11-24 Dirk Mueller <dmueller@suse.com>
1333 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1334 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1335 * src/fcint.h (FcDebug):
1337 Inline FcDebug invocations and only initialize once, in FcInit*.
1338 Improve debug msg in FcPatternPrint.
1340 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1343 * fontconfig/fontconfig.h:
1346 Minor code warning cleanups.
1348 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1351 * fc-match/fc-match.c (main):
1353 Make getopt_long accept -s parameter to fc-match as well.
1355 2005-11-21 Dirk Mueller <dmueller@suse.com>
1358 * src/fcmatch.c (FcCompareValueList):
1360 Manually perform inlining & partial redundancy elimination to
1361 reduce calls to FcValueListPtrU.
1363 2005-11-21 Dirk Mueller <dmueller@suse.com>
1366 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1367 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1369 Only invoke strlen() when really necessary.
1371 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1375 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1376 FcFontCapabilities):
1380 Get rid of the use of freetype internal headers in fcfreetype.c,
1381 since those headers will go away with freetype 2.2. Replace with
1382 public domain ftglue code from pango. Note that the patch removes
1383 some extra error checking in FT_Get_BDF_Property() and comments
1384 out the skipping of empty pcf fonts.
1386 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1389 * fc-lang/fc-lang.c (main):
1391 Further fix of patch from 2005-11-04: miscounted numbers count
1392 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1393 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1395 Removed leafidx_count and numbers_count since they are the same
1396 and replaced them with offset_count.
1398 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1401 * fc-cat/fc-cat.c (main):
1403 Don't crash when fc-cat invoked with no arguments.
1405 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1408 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1410 Fix invalid read access caused by premature free and
1411 GCC4 warnings in libxml2 codepath.
1413 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1416 * src/fccfg.c (FcConfigValues):
1418 List iteration not needed in FcConfigValues, since it's building
1419 up the list itself; we can just strip FcVoid elements during
1422 2005-11-17 Patrick Lam <plam@mit.edu>
1423 * src/fccfg.c (FcConfigValues):
1425 Fix crash on invalid constants in config files (forgot to update
1426 a pointer upon list iteration.)
1428 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1431 * src/fcxml.c (FcTypecheckExpr):
1433 Complain about invalid constants in config files.
1435 2005-11-17 Andreas Schwab <schwab@suse.de>
1438 * src/fccache.c (FcGlobalCacheSave):
1440 Don't add current_arch_start more than once.
1442 2005-11-16 Patrick Lam <plam@mit.edu>
1443 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1444 * src/fcfs.c (FcFontSetUnserialize):
1445 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1446 * src/fcpat.c (FcStrUnserialize):
1448 Fix ordering of ALIGN with respect to saving block_ptr; add
1449 another ALIGN to fcfs.c.
1451 2005-11-16 Patrick Lam <plam@mit.edu>
1452 * src/fccache.c (FcDirCacheProduce)
1454 Fix case where alignment bytes bumped up metadata->count
1455 causing unwarranted failures to write cache files.
1456 (Reported by Stephan Kulow).
1458 2005-11-16 Patrick Lam <plam@mit.edu>
1459 * src/fccache.c (FcDirCacheProduce):
1460 * src/fccharset.c (FcCharSetDistributeBytes):
1461 * src/fcfs.c (FcFontSetDistributeBytes):
1463 * src/fclang.c (FcLangSetDistributeBytes):
1464 * src/fcname.c (FcObjectDistributeBytes):
1465 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1468 Add *NeededBytesAlign(), which overestimates the padding which is
1469 later added by the new ALIGN macro. Fix alignment problems on
1470 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1471 version by Andreas Schwab).
1473 2005-11-16 Stephan Kulow <coolo@kde.org>
1478 Use sysconf to determine proper PAGESIZE value; this
1479 appears to be POSIX-compliant. (reported by Andreas Schwab)
1481 2005-11-04 Patrick Lam <plam@mit.edu>
1482 * fc-lang/fc-lang.c:
1487 Fix bug 2878 (excessive relocations at startup for charsets,
1488 reported by Ross Burton): fc-lang/fc-lang now creates the
1489 static form of the langset, not the dynamic form, so that
1490 the charsets should now be in .rodata.
1492 2005-11-04 Patrick Lam <plam@mit.edu>
1493 * src/fcdir.c (FcDirScanConfig):
1495 Add test for validity of directory caches that
1496 somehow got lost (reported by make distcheck).
1498 2005-11-04 Patrick Lam <plam@mit.edu>
1502 * fontconfig/fontconfig.h:
1504 Bump version to 2.3.92.
1506 2005-11-02 Patrick Lam <plam@mit.edu>
1507 * src/fcpat.c (FcPatternDuplicate):
1509 Fix argument ordering problem in call to FcPatternTransferFullFname.
1511 2005-11-02 Patrick Lam <plam@mit.edu>
1512 * src/fcfreetype.c (FcFreetypeQuery):
1513 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1514 FcPatternTransferFullFname):
1516 Fix warnings and embarrassing double-free error.
1518 2005-11-02 Zhe Su <zsu@novell.com>
1523 Change the rule for artificial emboldening in fonts.conf.in. This
1524 enables the support for artificial emboldening included in cairo.
1526 2005-11-02 Patrick Lam <plam@mit.edu>
1527 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1529 Don't zero out full names for FC_REF_CONSTANT fonts;
1530 also, duplicate full names when transferring, and free
1531 full names when freeing the associated font.
1532 Reported by Jinghua Luo.
1534 2005-11-02 Patrick Lam <plam@mit.edu>
1535 * fc-cache/fc-cache.c (scanDirs):
1536 * src/fcpat.c (FcValueListSerialize):
1538 Revert the previous patch and commit the correct patch:
1539 I forgot a canonicalization in FcValueListSerialize, so
1540 that it would choke on already-serialized input files. Duh!
1542 2005-11-02 Patrick Lam <plam@mit.edu>
1543 * fc-cache/fc-cache.c (scanDirs):
1545 Forcibly rescan a directory before writing a fresh local
1546 cache file for that directory, fixing the losing-fonts
1547 problem reported by Mike Fabian and also apparently the
1548 font cache file corruption.
1550 2005-11-02 Patrick Lam <plam@mit.edu>
1551 * src/fccache.c (FcGlobalCacheLoad):
1553 Fix thinko: actually, the whole global cache is stale
1554 if the global cache is older than the (newest) config file.
1556 2005-11-02 Patrick Lam <plam@mit.edu>
1557 * src/fccache.c (FcGlobalCacheLoad):
1558 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1561 Declare the global cache of a directory's contents to be stale if
1562 the directory is newer than the (newest) configuration file.
1564 2005-10-31 Patrick Lam <plam@mit.edu>
1566 * src/fclist.c (FcListAppend):
1567 * src/fcmatch.c (FcFontRenderPrepare):
1568 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1569 FcPatternFreeze, FcPatternBaseFreeze):
1571 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1572 applications continue breaking.
1574 2005-10-31 Patrick Lam <plam@mit.edu>
1575 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1576 * src/fcfreetype.c (FcFreeTypeQuery):
1578 Fix small memory error (tried to free argv); use basename and
1579 dirname correctly (they can modify their arguments).
1581 2005-10-31 Patrick Lam <plam@mit.edu>
1589 Reinstate basename patch, but keep a hash table linking FcPatterns
1590 to their fully-qualified font names for clients' benefit. Clients
1591 only pay for the font names once they request the FC_FILE property
1592 from an FcPattern, but the font name is malloc'd at that point (i.e.
1593 not mmapped: that's impossible, since it may vary between machines.)
1594 Clients do have to pay for a copy of the path name per cache file.
1596 Note that FcPatternGetString now does some rewriting if you ask
1597 for an FC_FILE, appending the pathname as appropriate.
1599 2005-10-31 Patrick Lam <plam@mit.edu>
1600 * src/fcfreetype.c (FcFreeTypeQuery):
1602 Revert basename patch, which breaks fontconfig clients on my system.
1604 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1607 * fontconfig/fonts.conf.in:
1608 * fontconfig/fontconfig.h:
1612 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1613 to load embedded bitmaps or not.
1615 2005-10-25 Patrick Lam <plam@mit.edu>
1616 * src/fcfreetype.c (FcFreeTypeQuery):
1618 Only add basename to patterns' FC_FILE element, not any part of
1621 2005-10-22 Patrick Lam <plam@mit.edu>
1624 Add some more consts, fixing more GCC4 warnings.
1626 2005-10-22 Zhe Su <zsu@novell.com>
1629 Support localized font family and style names.
1630 This has been reported to break old apps like xfd, but modern
1631 (gtk+/qt/mozilla) apps work fine.
1633 2005-10-21 Patrick Lam <plam@mit.edu>
1634 * src/fccache.c (FcGlobalCacheLoad):
1636 Destroy the global cache file if it's terminally broken. (reported by
1639 2005-10-21 Patrick Lam <plam@mit.edu>
1640 * fc-list/fc-list.c (main):
1641 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1642 * fontconfig/fontconfig.h:
1644 Prevent fc-list from escaping strings when printing them (reported by
1647 2005-10-20 Marcus Meissner <meissner@suse.de>
1650 * fontconfig/fontconfig.h:
1652 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1654 2005-10-14 Ross Burton <ross@burtonini.com>
1657 * fc-glyphname/fc-glyphname.c:
1660 Add consts to variables so as to move arrays into .rodata.
1662 2005-10-14 Mike Fabian <mfabian@suse.de>
1665 * src/fccache.c (FcDirCacheUnlink):
1667 Check existence of directory cache file before attempting to unlink.
1669 2005-10-13 Patrick Lam <plam@mit.edu>
1670 * src/fccache.c (FcDirCacheUnlink):
1672 Fix flipped return value on unlink. (Reported by Mike Fabian)
1674 2005-10-12 Patrick Lam <plam@mit.edu>
1677 * src/fcdir.c (FcDirScanConfig):
1680 When fc-cache is run without --force, use directory cache files
1681 to speed up fc-cache run time. (Reported by Mike Fabian)
1683 2005-10-06 Patrick Lam <plam@mit.edu>
1685 * src/fcname.c (FcObjectToPtr):
1686 * src/fcpat.c (FcStrStaticName):
1688 Add padding to make valgrind and glibc not hate each other
1689 when calling strlen().
1691 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1692 reviewed by: plam & keithp
1696 Modify config file to use Greek fonts before Asian fonts with
1699 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1700 reviewed by: plam & keithp
1704 Use libtool -no-undefined flag on all platforms.
1706 2005-10-05 Patrick Lam <plam@mit.edu>
1707 * src/fccache.c (FcCacheHaveBank):
1709 Implement move-to-front array for banks (perf regression
1710 reported by Ronny V. Vindenes).
1712 2005-10-04 Patrick Lam <plam@mit.edu>
1713 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1714 FcDirCacheHasCurrentArch):
1715 * fc-cache/fc-cache.c (scanDirs):
1716 * fontconfig/fontconfig.h:
1718 Add new API which unlinks directory caches and checks dir caches
1719 for existence of appropriate sections. Fix fc-cache to unlink
1720 stale cache files and save directory caches that lack relevant
1723 2005-10-03 Patrick Lam <plam@mit.edu>
1724 * src/fccache.c (FcDirCacheValid):
1726 Ensure that a directory cache has the appropriate section
1727 before reporting that it is valid (reported by Matthias Clasen).
1729 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1737 Use libxml2 if requested (with --enable-libxml2) or if
1738 expat is not available.
1740 2005-09-29 Patrick Lam <plam@mit.edu>
1741 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1743 Fix multi-arch cache files: compute the position for the
1744 block to be added using info from OrigFile, not NewFile.
1746 2005-09-28 Patrick Lam <plam@mit.edu>
1747 * src/fccache.c (FcCacheMachineSignature):
1749 Cast results of sizeof() to unsigned int to get rid of
1750 warnings on x86_64 (thanks Matthias Clasen).
1752 2005-09-27 Patrick Lam <plam@mit.edu>
1753 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1756 Use FcAtomic to rewrite cache files.
1758 2005-09-27 Patrick Lam <plam@mit.edu>
1760 * src/fccache.c (FcDirCacheWrite):
1762 Don't unlink the fonts.cache-2 file even if there's no data
1763 to write; just write an empty cache file. (thanks Lubos Lunak)
1765 2005-09-27 Patrick Lam <plam@mit.edu>
1767 * src/fccache.c (FcDirCacheWrite):
1769 Allocate room for the subdirectory names in each
1770 directory cache. Thanks to James Cloos for finding
1771 and diagnosing this bug!
1773 2005-09-22 Patrick Lam <plam@mit.edu>
1775 * fc-cache/fc-cache.sgml:
1776 * src/fccache.c (FcDirCacheWrite):
1777 * src/fccache.h (struct FcCache):
1779 Update documentation -- fc-cache's man page now says that you
1780 need to run fc-cache once per cached architecture; add some
1781 documentation to the FcCache structure.
1783 Make fc-cache write out fonts.cache-2 files for directories with
1784 no fonts (i.e. only subdirectories).
1786 2005-09-22 Patrick Lam <plam@mit.edu>
1788 * fc-cache/fc-cache.sgml:
1789 * fc-case/fc-case.c:
1790 * fc-glyphname/fc-glyphname.c:
1796 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1800 * fc-lang/fc-lang.c:
1801 * fontconfig/fcprivate.h:
1802 * fontconfig/fontconfig.h:
1816 Implement new mmaped cache for font information.
1817 Bump so revision to 2.3.90.
1819 2005-07-25 Keith Packard <keithp@keithp.com>
1821 * doc/fontconfig-user.sgml:
1822 * fc-glyphname/fc-glyphname.c: (scan), (main):
1823 * fc-lang/fc-lang.c: (FcConfigHome):
1824 * fc-match/fc-match.c: (main):
1825 * src/fccfg.c: (FcConfigHome):
1826 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1827 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1828 (addtag), (FcFontCapabilities):
1829 * src/fcpat.c: (FcValueListEntCreate):
1830 * src/fcstr.c: (FcStrCaseWalkerInit):
1831 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1833 Various GCC 4 cleanups for signed vs unsigned char
1835 Match only [0-9]*.conf files in <include>{directory}</include>
1836 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1838 2005-07-15 Carl Worth <cworth@cworth.org>
1841 * src/fcinit.c: (FcFini):
1842 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1845 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1846 Pull the FcObjectStateName hash table out to file scope, and add
1847 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1850 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1853 2005-06-16 Patrick Lam <plam@MIT.EDU>
1857 * src/fccfg.c: (FcConfigCompareValue):
1858 Make FcOpNotContains use FcStrStr for strings so that
1859 it matches semantics for !FcOpContains.
1861 2005-05-20 Keith Packard <keithp@keithp.com>
1865 Move fontconfig source package to libs as per override
1867 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1869 reviewed by: Mike Fabian
1872 The ka.orth file requires several characters which are not
1873 used anymore in modern Georgian and which are missing in the free
1874 Georgian TrueType fonts downloadable at:
1876 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1878 2005-04-27 Keith Packard <keithp@keithp.com>
1882 Update date to real 2.3.2 release date.
1883 Fix change attributions
1885 2005-04-27 Keith Packard <keithp@keithp.com>
1888 Bump so revision for 2.3.2
1889 * fc-cache/fc-cache.c: (scanDirs):
1890 Fix a few minor leaks in error cases.
1892 2005-04-23 Keith Packard <keithp@keithp.com>
1897 * fontconfig/fontconfig.h:
1898 Update for version 2.3.2
1900 2005-04-21 Keith Packard <keithp@keithp.com>
1902 * debian/fontconfig.postinst:
1903 Don't force bitmap font enable in default
1904 configuration; allows users to override this in
1914 * debian/po/pt_BR.po:
1915 * debian/po/templates.pot:
1917 * debian/po/zh_CN.po:
1918 Updated translations
1920 * fc-cache/fc-cache.c: (main):
1921 Destroy font configuration on exit to help valgrind
1924 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1925 (FcFreeTypeCheckGlyph):
1926 Use own transcoding routines in preference to iconv
1927 which appears to have leaks in some translators.
1928 Call iconv_close after using iconv (oops).
1930 Prefer unicode encoding of Euro char as some
1931 fonts mis-encode Euro in other ones.
1933 Must fetch bitmap glyphs to get width values
1934 to check for monospace/dual-width fonts.
1936 2005-04-13 Ross Burton <ross@burtonini.com>
1939 Check that a pattern isn't already frozen in FcPatternFreeze.
1941 2005-03-31 Ross Burton <ross@burtonini.com>
1946 Run all FcPattern objects through FcObjectStaticName, so that
1947 compares can be done on pointers instead of strings (#2659)
1949 2005-03-17 Tor Lillqvist <tml@novell.com>
1951 * src/fontconfig.def.in: Add the .dll to the dll name.
1953 2005-03-10 Keith Packard <keithp@keithp.com>
1955 * debian/README.Debian:
1956 Update to reflect configuration changes
1958 * debian/fontconfig.postinst:
1959 Fix Autohint vs Autohinter mistake
1960 * debian/fontconfig.templates:
1961 Adopt changes from Josselin Mouette for configuration descriptions
1962 Update debian to version 2.3.1-2
1964 2005-03-08 Keith Packard <keithp@keithp.com>
1968 Update debian for 2.3.1
1970 2005-03-09 Tor Lillqvist <tml@novell.com>
1972 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1975 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1978 2005-03-08 Keith Packard <keithp@keithp.com>
1982 * fontconfig/fontconfig.h:
1985 2005-03-05 Keith Packard <keithp@keithp.com>
1987 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1988 Include space and remove numbers from valid script tags.
1989 This ensures that tags like 'lao ' work while rejecting
1990 those which have any digits.
1991 Eliminate a spurious debugging variable (len)
1993 2005-03-05 Keith Packard <keithp@keithp.com>
1995 * src/fcfreetype.c: (addtag), (GetScriptTags),
1996 (FcFontCapabilities):
1997 Rework GSUB/GPOS script parsing to survive broken fonts.
1998 Thanks for the broken font go to Manish Singh
2000 2005-03-05 Keith Packard <keithp@keithp.com>
2005 * debian/fontconfig.config:
2006 * debian/fontconfig.templates:
2008 Include 2.3 release information in changelog
2009 Add Josselin Mouette as an Uploader
2010 Set hinting_type to low priority configuration option
2013 * debian/fontconfig.postinst:
2014 yes_bitmaps.conf -> yes-bitmaps.conf
2020 2005-03-02 Keith Packard <keithp@keithp.com>
2023 * conf.d/Makefile.am:
2024 * conf.d/autohint.conf:
2025 * conf.d/no-sub-pixel.conf:
2026 * conf.d/sub-pixel.conf:
2027 * conf.d/unhinted.conf:
2028 * debian/autohint.conf:
2029 * debian/fontconfig.install:
2030 * debian/fontconfig.postinst:
2031 * debian/fontconfig.templates:
2032 * debian/no-sub-pixel.conf:
2033 * debian/unhinted.conf:
2034 Move debian-specific conf file examples upstream.
2036 Sub-pixel configuration examples must smash subpixel value
2037 as Xft always sets it from X.
2039 Change sub-pixel rendering debconf descriptions from
2040 Enable/Disable to Always/Never.
2042 2005-03-02 Keith Packard <keithp@keithp.com>
2045 * conf.d/.cvsignore:
2047 Ignore more build detritus
2050 Add debian package construction stuff.
2052 * config/config.guess:
2053 * config/config.sub:
2054 Update to newer versions of these tools
2057 Get library manuals to build again (we love automake).
2059 * debian/README.Debian:
2060 * debian/autohint.conf:
2065 * debian/fontconfig-udeb.install:
2066 * debian/fontconfig.config:
2067 * debian/fontconfig.defoma:
2068 * debian/fontconfig.dirs:
2069 * debian/fontconfig.install:
2070 * debian/fontconfig.postinst:
2071 * debian/fontconfig.postrm:
2072 * debian/fontconfig.templates:
2073 * debian/libfontconfig1-dev.install:
2074 * debian/libfontconfig1.install:
2075 * debian/local.conf.md5sum:
2076 * debian/no-sub-pixel.conf:
2077 * debian/po/POTFILES.in:
2086 * debian/po/pt_BR.po:
2087 * debian/po/templates.pot:
2089 * debian/po/zh_CN.po:
2091 * debian/unhinted.conf:
2092 Update debian build system to switch maintainers and
2093 deal with 2.3 functionality
2095 2005-03-01 Keith Packard <keithp@keithp.com>
2099 * fontconfig/fontconfig.h:
2102 2005-03-01 Keith Packard <keithp@keithp.com>
2105 Generate and install PDF versions of the manuals
2107 * doc/fcpattern.fncs:
2110 * doc/fcstring.fncs:
2111 Add missing exported functions, fix data types
2113 * doc/fontconfig-devel.sgml:
2114 Add missing pattern elements.
2116 * doc/fontconfig-user.sgml:
2117 Add missing pattern elements. Document conf.d usage,
2118 clarify available orthography list. Fix some config file
2119 attributes. Complete list of constants.
2121 * fontconfig/fontconfig.h:
2122 Mark FC_SOURCE deprecated.
2124 * src/fcfreetype.c: (FcFreeTypeQuery):
2125 Don't set FC_SOURCE any longer.
2127 2005-02-28 Keith Packard <keithp@keithp.com>
2130 * conf.d/Makefile.am:
2132 * conf.d/no-bitmaps.conf:
2133 * conf.d/sub-pixel.conf:
2134 * conf.d/yes-bitmaps.conf:
2136 Create prototype /etc/fonts/conf.d directory with a few
2137 sample configuration files.
2138 Deprecate use of local.conf for local customizations in favor of
2139 this directory based scheme which is more easily integrated into
2140 installation systems.
2143 Tag FC_EMBOLDEN as a boolean variable
2145 2005-02-10 Keith Packard <keithp@keithp.com>
2147 reviewed by: pborelli@katamail.com
2149 * src/fcdir.c: (FcFileScanConfig):
2150 Free patterns from fonts which are rejected by configuration
2153 2005-01-28 Keith Packard <keithp@keithp.com>
2157 * fontconfig/fontconfig.h:
2158 Update for version 2.2.99
2160 2005-01-28 Keith Packard <keithp@keithp.com>
2163 Add a few pointers (#2284, #2285)
2165 2005-01-28 Keith Packard <keithp@keithp.com>
2168 * src/fcname.c: (FcNameBool):
2169 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2170 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2171 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2172 Polite typechecking for test and edit expressions. Helps
2173 catch errors in the font configuration. (bug 229)
2175 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2177 reviewed by: Keith Packard <keithp@keithp.com>
2180 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2182 2005-01-13 Keith Packard <keithp@keithp.com>
2184 * doc/fontconfig-user.sgml:
2185 Add SEE ALSO section (bug 2085)
2187 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2189 reviewed by: Keith Packard <keithp@keithp.com>
2194 * fc-case/Makefile.am:
2195 * fc-glyphname/Makefile.am:
2196 * fc-lang/Makefile.am:
2197 * src/fontconfig.def.in:
2198 Cross compiling fixes (bug 280)
2200 2005-01-13 Keith Packard <keithp@keithp.com>
2203 Update blanks list (Closes bug 86)
2205 2005-01-04 Keith Packard <keithp@keithp.com>
2207 * src/fccache.c: (FcCacheFontSetAdd):
2208 Verify that every font pattern loaded from cache has
2209 both FC_FILE and FC_FAMILY entries.
2210 Attempt to fix bug #2219.
2212 2004-12-29 Keith Packard <keithp@keithp.com>
2216 * fontconfig/fontconfig.h:
2217 Update for version 2.2.98
2219 2004-12-29 Keith Packard <keithp@keithp.com>
2221 * fontconfig/fontconfig.h:
2222 Document ASCII limitations of Fc character conversion macros
2223 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2224 Fix off-by-one error in utf-8 case walking code.
2225 Add FcStrDowncase (useful for testing case conversion functions)
2227 2004-12-29 Keith Packard <keithp@keithp.com>
2230 * fc-case/.cvsignore:
2231 clean up CVS ignore lists
2232 * fc-lang/iso-3166.txt:
2233 Add territory database
2235 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2237 Reviewed by: Keith Packard
2240 Remove Han characters from Korean orthography
2242 2004-12-29 Keith Packard <keithp@keithp.com>
2245 Reorder utility programs to make sure fc-case is run before fc-lang
2246 as fc-lang uses fcstr.c which uses fccase.h
2250 2004-12-29 Keith Packard <keithp@keithp.com>
2253 Adopt some RedHat suggestions for standard font configuration.
2257 * fc-case/CaseFolding.txt:
2258 * fc-case/Makefile.am:
2259 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2260 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2261 (dump), (parseRaw), (caseFoldReadRaw), (main):
2262 * fc-case/fccase.tmpl.h:
2263 Add new helper program 'fc-case' to construct case folding
2264 tables from standard Unicode CaseFolding.txt file
2267 * src/fclist.c: (FcListValueHash):
2268 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2269 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2270 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2271 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2272 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2273 Re-implement case insensitive functions with Unicode
2274 aware versions (including full case folding mappings)
2276 2004-12-13 Keith Packard <keithp@keithp.com>
2278 reviewed by: Owen Taylor <otaylor@redhat.com>
2280 * src/fcmatch.c: (FcFontSetSort):
2281 I changed FcFontSetSort to respect the generic aliases better
2282 in the face of language matching.
2284 What I did was to ammend the strict sort order used by FcFontSort so
2285 that it 'satisfies' the language specified in the pattern by locating
2286 the best matching font supporting each pattern language and then
2287 ignores language in the remaining fonts for purposes of matching.
2289 So, when asking for 'sans:lang=en', you'll get an English font first,
2290 and then the remaining fonts sorted with respect to the 'sans' alias
2291 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2293 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2295 reviewed by: Keith Packard <keithp@keithp.com>
2297 * fontconfig/fontconfig.h:
2300 Configuration changes to request synthetic emboldening of
2301 fonts. The actual emboldening code will live in Xft.
2303 2004-12-09 John Thacker <thacker@math.cornell.edu>
2305 reviewed by: Keith Packard <keithp@keithp.com>
2309 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2310 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2311 и), and don't even appear in KOI8-R. (The hypothesis that they
2312 don't appear in KOI8-R due to their similarity with Latin I and i is
2313 eliminated by their presence in KOI8-U.) I have a couple of fonts
2314 with Russian support that don't have the letter.
2316 Therefore, 0406 and 0456 should be removed from or commented out of
2319 2004-12-06 michael meeks <mmeeks@novell.com>
2321 Reviewed by: Keith Packard <keithp@keithp.com>
2323 * src/fcinit.c: (FcMemReport):
2325 * src/fclist.c: (FcObjectSetAdd):
2326 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2327 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2328 * src/fcxml.c: (FcParsePatelt):
2329 memoize strings and share a single copy for all uses. Note that
2330 this could be improved further by using statically allocated blocks
2331 and gluing multiple strings together, but I'm basically lazy.
2332 In my environment with 800 font files, I get a savings of about 90KB.
2334 2004-12-06 Keith Packard <keithp@keithp.com>
2338 * config/Makedefs.in:
2341 * doc/fcatomic.fncs:
2342 * doc/fcblanks.fncs:
2343 * doc/fccharset.fncs:
2344 * doc/fcconfig.fncs:
2345 * doc/fcconstant.fncs:
2347 * doc/fcfontset.fncs:
2348 * doc/fcfreetype.fncs:
2350 * doc/fcmatrix.fncs:
2351 * doc/fcobjectset.fncs:
2352 * doc/fcobjecttype.fncs:
2353 * doc/fcpattern.fncs:
2354 * doc/fcstring.fncs:
2355 * doc/fcstrset.fncs:
2357 * doc/fontconfig-devel.sgml:
2358 * doc/fontconfig-user.sgml:
2360 * doc/version.sgml.in:
2361 * fc-cache/Makefile.am:
2362 * fc-cache/fc-cache.c:
2363 * fc-glyphname/Makefile.am:
2364 * fc-glyphname/fc-glyphname.c:
2365 * fc-glyphname/fcglyphname.tmpl.h:
2366 * fc-lang/Makefile.am:
2376 * fc-lang/az_ir.orth:
2410 * fc-lang/fc-lang.c:
2411 * fc-lang/fc-lang.man:
2412 * fc-lang/fclang.tmpl.h:
2457 * fc-lang/ku_ir.orth:
2490 * fc-lang/ps_af.orth:
2491 * fc-lang/ps_pk.orth:
2520 * fc-lang/ti_er.orth:
2521 * fc-lang/ti_et.orth:
2547 * fc-lang/zh_cn.orth:
2548 * fc-lang/zh_hk.orth:
2549 * fc-lang/zh_mo.orth:
2550 * fc-lang/zh_sg.orth:
2551 * fc-lang/zh_tw.orth:
2553 * fc-list/Makefile.am:
2554 * fc-list/fc-list.c:
2555 * fc-match/Makefile.am:
2556 * fc-match/fc-match.1:
2557 * fc-match/fc-match.c:
2558 * fontconfig/fcfreetype.h:
2559 * fontconfig/fcprivate.h:
2560 * fontconfig/fontconfig.h:
2581 Change files from ISO-Latin-1 to UTF-8
2583 2004-12-04 Keith Packard <keithp@keithp.com>
2586 Update links to new freedesktop.org locations
2588 Add uninstall-local to get rid of fonts.conf and local.conf if they
2589 match the distributed versions. Fixes 'make distcheck'
2591 2004-12-04 Keith Packard <keithp@keithp.com>
2595 * fontconfig/fontconfig.h:
2596 Updates for version 2.2.97
2598 2004-12-04 Owen Taylor <otaylor@redhat.com>
2600 reviewed by: Keith Packard <keithp@keithp.com>
2602 * fc-cache/fc-cache.c: (main):
2603 Sleep for two seconds before exiting to make sure timestamps
2604 for future changes have distinct mod times in the file system.
2607 Add Punjabi orthography. Bug #1671.
2609 2004-12-04 Keith Packard <keithp@keithp.com>
2612 Just remove the FC_FONTDATE -- it has locale issues and
2613 annoys redhat multi-arch installs. Now that all X fonts are
2614 included without prejudice, the chances of the date being at
2615 all interesting are rather limited. Bug #505.
2617 Add copyright and license
2619 2004-12-04 Keith Packard <keithp@keithp.com>
2622 Change default set of fonts to include all of
2623 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2624 * doc/fontconfig-user.sgml:
2625 Document new <include>directory-name</include> semantics
2627 add <include ignore_missing="yes">conf.d</include>
2629 Add selectfont to ignore bitmap fonts, add comment for
2630 selectfont which accepts bitmap fonts.
2633 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2634 Allow <include> configuration elements to reference directories.
2635 Parse and load all files of the form [0-9]* in sorted order.
2637 2004-12-04 Keith Packard <keithp@keithp.com>
2640 Report command line for $srcdir/configure accurately.
2643 2004-12-04 Keith Packard <keithp@keithp.com>
2645 * src/fcfreetype.c: (FcFreeTypeQuery):
2646 Check for non-empty face->family_name and face->style_name
2647 before using those for the font. Empty names match everything.
2650 2004-12-04 Keith Packard <keithp@keithp.com>
2653 * fontconfig/fontconfig.h:
2654 * src/fcfreetype.c: (FcFreeTypeQuery):
2656 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2657 available. This provides font file format information (BDF, Type 1,
2658 PCF, TrueType) for each font. Closes #109.
2660 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2662 reviewed by: Keith Packard <keithp@keithp.com>
2664 * doc/fontconfig-user.sgml:
2667 * fontconfig/fontconfig.h:
2668 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2669 (GetScriptTags), (FcFontCapabilities):
2671 Add detection for font capabilities (bug #105)
2673 2004-12-04 Keith Packard <keithp@keithp.com>
2676 Move existing fonts.conf to fonts.conf.bak
2679 Add detection of iconv
2681 * doc/fcpattern.fncs:
2682 * doc/fontconfig-devel.sgml:
2683 * doc/fontconfig-user.sgml:
2685 Document new selectfont elements
2688 Switch to UTF-8 in comment
2690 * fontconfig/fontconfig.h:
2692 Add fullname, and family/style/fullname language entries
2694 * src/fccache.c: (FcCacheFontSetAdd):
2695 * src/fcdir.c: (FcFileScanConfig):
2696 Respect selectfont/*/glob
2699 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2700 (FcConfigCompareValue), (FcConfigPatternsAdd),
2701 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2702 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2703 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2704 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2705 Add support for selectfont
2707 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2708 (FcStringInPatternElement), (FcFreeTypeQuery):
2709 Add multi-lingual family/style/fullname support
2711 * src/fclist.c: (FcListPatternMatchAny):
2712 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2714 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2715 (FcObjectStaticName):
2716 Add new FcPatternRemove/FcPatternAppend.
2717 FcObjectStaticName stores computed pattern element names which
2718 are required to be static.
2720 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2725 Remove spurious / after $(DESTDIR)
2727 2004-06-30 Keith Packard <keithp@keithp.com>
2731 * fontconfig/fontconfig.h:
2734 2004-06-30 Keith Packard <keithp@keithp.com>
2736 Provided by: Lubos Lunak <l.lunak@suse.cz>
2738 * src/fccfg.c: (FcConfigUptoDate):
2739 However FcConfigUptoDate() doesn't seem to work. See the attached
2740 patch. First there's an obvious misplaced parenthesis making it
2741 return always false, and second, even this call fails to detect font
2742 changes (e.g. adding a new font to
2743 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2744 well. The problem seems to be triggered by my fonts.conf specifying
2745 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2746 doesn't include subdirs, unlike config->fontDirs.
2748 2004-06-03 Keith Packard <keithp@keithp.com>
2750 * fontconfig/fontconfig.h:
2751 Remove comma at end of FcResult enum definition.
2753 2004-05-29 Keith Packard <keithp@keithp.com>
2756 Add steps to md5sum release
2758 2004-05-29 Keith Packard <keithp@keithp.com>
2762 * fontconfig/fontconfig.h:
2765 2004-05-29 Keith Packard <keithp@keithp.com>
2767 * fontconfig/fontconfig.h:
2768 * src/fcmatch.c: (FcFontSetMatch):
2769 Add FcResultOutOfMemory to provide an accurate error when
2770 FcFontSetMatch fails in this way
2773 Make #warning about lacking various FreeType features indicate
2774 which version those features appeared so users know how to
2775 fix the problem (Thanks to Anton Tropashko)
2777 2004-05-05 Keith Packard <keithp@keithp.com>
2779 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2780 Replace MIN/MAX/ABS macros which happen to have come
2781 from FreeType with fontconfig-specific ones (FC_*)
2783 2004-04-23 Keith Packard <keithp@keithp.com>
2786 Extend release preparation instructions to include
2787 notification and distribution steps
2789 2004-04-23 Keith Packard <keithp@keithp.com>
2793 * fontconfig/fontconfig.h:
2794 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2796 2004-04-23 Keith Packard <keithp@keithp.com>
2799 Ignore a few more autotool files
2801 2004-04-14 Keith Packard <keithp@keithp.com>
2804 Add instructions for doing a release
2806 * fontconfig.spec.in:
2807 clean up .spec file; perhaps this will be useful to somebody...
2811 * fontconfig/fontconfig.h:
2814 * fc-lang/fc-lang.c:
2815 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2817 * fc-glyphname/Makefile.am:
2818 * fc-lang/Makefile.am:
2819 * fc-list/Makefile.am:
2820 * fc-match/Makefile.am:
2822 Add WARN_CFLAGS to pass -W flags for GCC systems
2824 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2825 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2826 Change various char types around to match across
2828 Fixed bug in using available_sizes[i].height which
2829 is in pixels, not 64ths of a pixel.
2831 2004-03-06 Keith Packard <keithp@keithp.com>
2833 * src/fcfreetype.c: (FcFreeTypeQuery):
2834 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2835 matches looking for explicit values prefer exact matches
2837 2004-03-02 Keith Packard <keithp@keithp.com>
2839 Supplied by: mfabian@suse.de (Mike FABIAN)
2841 * src/fcfreetype.c: (FcFreeTypeQuery):
2842 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2843 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2845 2004-02-21 Manish Singh <yosh@gimp.org>
2847 * fc-glyphname/fc-glyphname.c: (main):
2848 Cast strlen to int for printf, so we're 64-bit clean.
2850 2004-02-11 Keith Packard <keithp@keithp.com>
2853 * src/fcfreetype.c: (FcGetPixelSize):
2854 Ok, so I messed up the test for y_ppem. Let's see if I
2855 got it right this time.
2857 2004-02-10 Keith Packard <keithp@keithp.com>
2860 * src/fcfreetype.c: (FcGetPixelSize):
2861 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2862 FT_Bitmap_Size record. Add a configure.in test for this
2863 and change the code accordingly (using height instead).
2865 2004-02-06 Keith Packard <keithp@keithp.com>
2868 Add Low Saxon orthography
2869 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2871 * src/fccfg.c: (FcConfigNewestFile):
2872 Oops. Left 'newest.set' unset, which would miscompute
2875 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2876 (FcFreeTypeCheckGlyph):
2877 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2878 font properties (which report the wrong value in current FreeType)
2880 Don't attempt to check for empty glyphs in non-scalable fonts; they
2883 2004-02-01 Tor Lillqvist <tml@iki.fi>
2885 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2886 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2887 cache if config->cache is NULL, which happens if FcConfigHome() is
2888 NULL. Guard against that by using the temp folder in that case.
2890 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2892 * fc-lang/az_ir.orth:
2893 * fc-lang/ku_ir.orth:
2894 * fc-lang/ps_af.orth:
2895 * fc-lang/ps_pk.orth:
2896 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2897 (Afghan and Pakistani).
2899 Updated Urdu orthography with real data.
2901 2003-12-11 Carl Worth <cworth@east.isi.edu>
2903 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2906 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2908 (all-local): Remove excessive whitespace.
2910 * autogen.sh: Add 'set -e' to abort when any program fails,
2911 (avoids printing of 'now type make' after configure aborts).
2913 2003-11-17 Eric Christopherson <rakko@charter.net>
2915 reviewed by: Keith Packard <keithp@keithp.com>
2918 * fontconfig/fcfreetype.h:
2920 Switch to FreeType 2.1.7 style includes. Bug #150.
2922 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2924 * fc-list/fc-list.sgml: Add some example usages.
2926 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2929 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2932 2003-10-27 Keith Packard <keith@keithp.com>
2935 * fontconfig/fontconfig.h:
2936 Update to version 2.2.92
2938 2003-10-27 Keith Packard <keithp@keithp.com>
2943 * fc-cache/Makefile.am:
2944 * fc-glyphname/Makefile.am:
2945 * fc-lang/Makefile.am:
2946 * fc-list/Makefile.am:
2947 * fc-match/Makefile.am:
2950 Yet more cleanups to finish getting 'make distcheck' working
2951 This has been tested to ensure that it even works from a _build
2954 2003-10-26 Keith Packard <keithp@keithp.com>
2958 * fc-cache/Makefile.am:
2959 * fc-glyphname/Makefile.am:
2960 * fc-lang/Makefile.am:
2961 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2962 * fc-list/Makefile.am:
2963 * fc-match/Makefile.am:
2964 Attempts to fix 'make distcheck' work. Things are
2965 progressing pretty well, but there are still failures
2966 long into the process dealing with docs (as always).
2968 The big changes here are mostly to make $(srcdir) != "."
2969 work correctly, fixing the docbook related sections and
2970 fc-lang were particularily tricky. Docbook refuses to load
2971 system entities from anywhere other than where the original .sgml
2972 file was located, so no luck looking in "." for the
2973 configure-generated version.sgml and confdir.sgml files.
2975 fc-lang needed help finding .orth files; added a -d option
2976 to set the directory as the least evil of many options.
2978 Now to go use a faster machine and try and wring out the last
2981 2003-10-26 Keith Packard <keithp@keithp.com>
2985 2003-10-26 Keith Packard <keithp@keithp.com>
2988 Include confdir.sgml.in in EXTRA_DIST
2990 2003-10-09 Josselin Mouette <joss@debian.org>
2992 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2993 * fc-list/fc-list.sgml fc-list/Makefile.am:
2994 Replace fc-cache and fc-list manpages with more detailed, SGML
2997 2003-09-23 Owen Taylor <otaylor@redhat.com>
2999 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
3000 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
3001 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
3004 2003-09-23 Owen Taylor <otaylor@redhat.com>
3006 * fc-lang/ka.orth: Remove Georgian capitals, they
3007 aren't used for normal writing. (Bug #116)
3009 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
3011 * doc/fontconfig-devel.sgml:
3012 * doc/fontconfig-user.sgml:
3013 * fontconfig/fontconfig.h:
3015 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
3016 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
3018 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
3019 monospace and dual-width fonts, allow roughly a 3% variance in the
3022 2003-08-31 Manish Singh <yosh@gimp.org>
3024 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
3027 2003-08-15 Carl Worth <cworth@isi.edu>
3029 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
3030 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
3032 * src/fcpat.c (FcValueListEntDestroy): New function to support
3033 FcFini memory cleanup. Some statistics are not kept in
3035 (FcValueListFreeze): Move hashTable outside this function so it
3036 can be accessed by FcValueListThawAll.
3037 (FcValueListThawAll): New function complements FcValueListFreeze.
3038 (FcPatternBaseFreeze): Move hashTable outside this function so it
3039 can be accessed by FcPatternBaseThawAll.
3040 (FcPatternBaseThawAll): New function complements
3041 FcPatternBaseFreeze.
3042 (FcPatternThawAll): New function complements FcPatternFreeze.
3044 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
3046 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
3047 allocated FcCharLeafEnt "blocks" so they can be freed later.
3048 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
3049 can be accessed by FcCharSetThawAllLeaf.
3050 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
3051 (FcCharSetFreezeBase): Move hashTable outside this function so it
3052 can be accessed by FcCharSetThawAll.
3053 (FcCharSetThawAll): New function complements FcCharSetFreeze.
3055 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
3056 (FcConfigDestroy): Fic leak of FcBlanks.
3058 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
3059 (main): Add call to FcFini when finished.
3061 * fc-glyphname/fc-glyphname.c: Mark several local functions as
3062 static. Add prototypes.
3064 * doc/fcinit.fncs: Add documentation for FcFini function.
3066 * doc/edit-sgml.c: Mark several local functions as static. Add
3069 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
3071 2003-06-15 Tor Lillqvist <tml@iki.fi>
3073 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
3074 before comparing (needed on Windows).
3076 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3078 2003-06-13 Tor Lillqvist <tml@iki.fi>
3080 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3083 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3084 WINDOWSFONTDIR token.
3086 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3087 end, not to confuse libtool, which expects the EXPORTS line to be
3088 the first. Add FcConfigEnableHome.
3090 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3091 built as a DLL on Win32.
3093 2003-06-09 Keith Packard <keithp@keithp.com>
3095 * Tag version 2.2.90
3097 2003-06-09 Keith Packard <keithp@keithp.com>
3099 * Optimization in FcLangSetIndex was broken, occasionally
3100 returning a pointer to the wrong location on miss
3102 * Add fc-match to test font matching from the command line.
3104 2003-05-31 Keith Packard <keithp@keithp.com>
3106 * (Bug 85) add support for culmus fonts
3107 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3108 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3110 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3112 * Fix "contains" op for strings and langsets.
3114 2003-05-17 Keith Packard <keithp@keithp.com>
3116 * Fix build error with BDF prop local. Free langset after query
3118 2003-05-14 Keith Packard <keithp@keithp.com>
3120 * Extract spacing from XLFD atom
3122 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3124 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3125 disappeared in 1.30.
3127 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3129 2003-05-12 Keith Packard <keithp@keithp.com>
3131 * Use FcIsWidth to share code
3133 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3134 misclassifying some Han fonts as monospaced.
3136 2003-05-07 Keith Packard <keithp@keithp.com>
3138 * Add filename-based accept/reject to ammend available fonts.
3140 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3141 older FreeType releases.
3143 2003-05-06 Keith Packard <keithp@keithp.com>
3145 * Remove 0b82 and Tamil numbers from tamil
3146 orthography (Jungshik Shin <jshin@mailaps.org>)
3148 2003-05-04 Keith Packard <keithp@keithp.com>
3150 + Map glyph names in fonts with adobe custom encoding to unicode
3152 2003-05-02 Keith Packard <keithp@keithp.com>
3154 * Add FC_WEIGHT_BOOK as weight 75
3156 2003-04-30 Keith Packard <keithp@keithp.com>
3158 * Typo in bitstream foundry name
3160 2003-04-24 Keith Packard <keithp@keithp.com>
3162 * Eliminate italic_angle check for PS fonts
3164 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3166 * Getting closer to fixing /etc/fonts hard-coding.
3168 2003-04-22 Keith Packard <keithp@keithp.com>
3170 * Update autogen.sh to work with newer automake versions
3171 * Handle pattern elements moving during multiple edits
3173 2003-04-23 James Henstridge <james@daa.com.au>
3175 * doc/fontconfig-devel.sgml: close the <para> element.
3177 * doc/fcpattern.fncs: close the <para> element.
3179 * doc/func.sgml: close the <refsynopsisdiv> element.
3181 2003-04-22 Keith Packard <keithp@keithp.com
3183 * Update autogen.sh to work with newer automake versions
3184 * Handle pattern elements moving during multiple edits
3186 2003-04-17 Colin Walters <walters@debian.org>
3188 + Remove some unused variables, and initialize some other ones so
3189 gcc doesn't warn us.
3191 2003-04-16 Keith Packard <keithp@keithp.com>
3193 + tag version 2.1.94
3195 2003-04-16 Keith Packard <keithp@keithp.com>
3197 + add BDF property fetching support for foundry
3198 (from Juliusz Chroboczek)
3199 + add BDF property fetching support for width
3201 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3203 + Implemented foundry generation for Type 1 and TrueType
3205 2003-04-11 Gerard Escalante <g2@magestudios.net>
3207 + Retrieve information from Type1 FontInfo dictionaries
3209 2003-04-07 Colin Walters <walters@verbum.org>
3211 + src/Makefile.am: Fix dummy makefile target names when
3212 MS_LIB_AVAILABLE isn't set.
3214 2003-03-22 Tor Lillqvist <tml@iki.fi>
3216 Changes for Windows:
3218 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3220 + We don't want to hardcode the fonts.conf file location in the
3221 DLL, so we look up the DLL location at run-time in a DllMain()
3222 function. The fonts.conf location is deduced from that.
3224 + The colon can't be used as path separator on Windows,
3225 semicolon is used instead. File path components can be separated
3226 with either slash or backslash. Absolute paths can also begin
3227 with a drive letter.
3229 + Add internal function FcStrLastSlash that strrchr's the last
3230 slash, or backslash on Windows.
3232 + There is no link() on Windows. For atomicity checks, mkdir a
3233 lock directory instead.
3235 + In addition to HOME, also look for USERPROFILE.
3237 + Recognize the special font directory token WINDOWSFONTDIR, to
3238 use the system's font directory.
3240 + Remove the fontconfig-def.cpp that was obsolete. Add
3241 fontconfig.def(.in), without internal functions.
3243 + Add a fontconfig-zip(.in) script, used to build a binary
3246 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3247 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3248 to main package and man3/* to devel package
3250 + Added missing defattr(-, root, root) to main RPM package
3252 + Added HTML and text development documentation to -devel subpackage
3254 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3255 + Added back the configure macro options --disable-docs, otherwise
3256 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3257 version number) unconditionally, causing RPM to fail the build due
3258 to _unpackaged_files_terminate_build. We pick up the pregenerated
3259 docs with %doc already.
3261 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3262 + Removed commented out rpm macro define at top of spec file,
3263 replacing it with a simple explanation, since rpm macros are
3264 expanded by rpm even in comments.
3266 + Changed /usr/bin to _bindir in BuildRequires lines
3268 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3270 + Reorganized file manifest lists
3272 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3274 + fontconfig.spec.in: Improvements from Red Hat spec file.
3276 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3278 + docs/*.sgml: SGML fixes.
3280 Sat Mar 1 17:28:53 PST 2003 keithp
3281 + Ok, so the ChangeLog is a bit out of date
3283 + Lots of bugs fixed; most are in bugzilla, the
3284 biggest problems were in cache management where
3285 Owen discovered the library would lose badly when
3286 combining fonts-cache and ~/.fonts-cache data
3288 + Converted from autoconf to automake. This after
3289 getting patches accepted into libtool to allow
3290 the '-version-number' argument which lets
3291 packages set version numbers explicitly rather
3292 than the roundabout libtool way
3294 + Converted documentation to SGML using the docbook
3295 DTD. Now .txt and .html documents are installed
3296 in /usr/share/doc/fontconfig and there's no
3297 man page. Perhaps a man version can be written
3300 Sat Aug 31 15:21:22 PDT 2002 keithp
3301 + Xrender and Xft had several bugs related to
3302 rendering manually placed or poly-face text
3304 + Added more complete memory tracing in fontconfig
3305 Checked with (patched) mozilla and found no leaks
3307 + Updated Latin orthographies by comparing those from
3308 evertype.com with those from eki.ee. Tried to make
3309 sensible choices, including chars that occured in both
3310 and leaving some optional chars out that occured only
3313 Mon Aug 26 16:33:04 PDT 2002 keithp
3314 + Owen discovered that FcLangSetHasLang wasn't actually
3315 checking the language set.
3317 Mon Aug 26 13:37:23 PDT 2002 keithp
3318 + Append a version number to cache filenames
3320 Thu Aug 22 11:36:18 PDT 2002 keithp
3322 + Add "contains" and "not_contains" operators and elements to
3325 + Changed semantics of eq operator for LangSets to check for
3326 FcLangEqual so that any match will do
3328 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3329 of FcValueEqual to check for identical values when inserting into
3330 the results. This broke when the above semantic change was made,
3331 now it uses FcValueEqual which is "more correct" in any case.
3333 Thu Aug 22 00:32:29 PDT 2002 keithp
3335 + Reimplement FC_LANG as new datatype. Lists of strings
3336 was consuming over a megabyte of memory for 401 fonts.
3338 + Freeze patterns loaded from cache files. This shares
3339 common value lists and common patterns which saves
3340 considerable memory.
3342 + Change the denotation of 'constant' charsets to use special
3343 ref value instead of separate boolean.
3345 + Clean up leak tracing stuff, found several unannoted alloc/free
3348 Tue Aug 20 16:17:37 PDT 2002 keithp
3350 + Fix memory leak when parsing matrices from XML
3352 Mon Aug 19 11:57:27 PDT 2002 keithp
3354 + Fix autoconf files to pass FONTCONFIG_PATH on
3355 compile line so that ${prefix} gets substituted
3358 + Use getc_unlocked/putc_unlocked on systems that
3359 provide them to avoid damage done to stdio by posix
3361 + Eliminate FC_PATTERN and FcTypePattern in favor of
3362 an extended api for FcConfigSubstitute which takes
3363 both the font and the pattern.
3365 + Add 'sans serif' alias for 'sans-serif' as some apps
3366 can't handle hyphens in family names
3368 + Eliminate pretense of support for libxml2
3370 + Comment origins of Han orthographies
3372 Tue Jul 30 18:37:09 PDT 2002 keithp
3374 + Add binding property to edit element so that strong
3375 binding values may be inserted by the config file.
3376 The default remains weak.
3378 Sun 28 Jul 04:16:55 PDT 2002 keithp
3380 + Tagged release candidate 1 in the CVS tree and
3381 placed fcpackage.rc1.tar.gz for distribution
3383 Thu Aug 1 08:55:08 PDT 2002 keithp
3385 + Fixed autoconf builds to always specify install
3386 target files (for BSD). Also fixed to
3387 define FONTCONFIG_PATH in config.h so that
3388 nonstandard installs will actually work.