1 2006-04-11 Patrick Lam <plam@mit.edu>
2 * src/fccharset.c (FcCharSetPutLeaf):
4 Properly convert static charsets to dynamic charsets.
6 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
9 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
11 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
13 * src/fclang.c: (FcNameUnparseLangSet):
14 Fix memory leak (Coverity defect #1819).
16 * fc-lang/fc-lang.c: (scan):
17 prevent crash when invalid include line is parsed (Coverity defect
20 * fc-cat/fc-cat.c: (FcCacheFileRead):
21 Fix potential null pointer access (Coverity defect #1804).
23 * src/fcname.c: (FcObjectUnserialize):
24 Remove dead code (Coverity defect #1194).
26 * src/fcfreetype.c: (GetScriptTags):
27 Prevent potential null pointer access (Coverity defect #767),
28 ensure error value is read (Coverity defect #1195).
30 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
35 Survive missing docbook2pdf.
37 2006-04-10 Patrick Lam <plam@mit.edu>
39 * fc-glyphname/fc-glyphname.c:
42 Include more stub definitions to make HP-UX's C compiler happy.
44 2006-04-10 Patrick Lam <plam@mit.edu>
45 * src/fcname.c (FcObjectUnserialize):
47 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
49 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
52 * src/fccfg.c: (FcConfigEvaluate):
53 Fix string memory leak (Coverity defect #1823).
55 * src/fccache.c: (FcDirCacheUnlink):
56 Fix memory leak with hash collision (Coverity defect #1824).
58 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
61 * src/fccache.c: (FcGlobalCacheSave):
62 Don't leak header in non-error case (Coverity defect #1825).
64 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
67 * src/fcdir.c (FcDirScanConfig)
68 Don't leak in error cases (Coverity defects #777, #1826)
70 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
73 * src/fccache.c: (FcDirCacheWrite):
74 Fix double free (spotted by Coverity, CID #1965).
76 * fc-match/fc-match.c: (main):
77 Check if pattern is not null before using it (Coverity defect #1883).
79 * src/fccache.c: (FcDirCacheWrite):
80 Fix memory leak with hash collision (Coverity defect #1829).
82 * src/fccfg.c: (FcConfigBuildFonts):
83 Fix memory leak when bail cases (Coverity defect #1828).
85 * src/fccache.c: (FcGlobalCacheLoad):
86 Don't leak directory name (Coverity defect #1827).
88 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
90 * fc-cache/Makefile.am:
92 * fc-list/Makefile.am:
93 * fc-match/Makefile.am:
95 LD_ADD missing dependencies for binaries. Reported by
98 2006-04-07 Patrick Lam <plam@mit.edu>
100 * fc-lang/fc-lang.c (main):
102 SGI compilation fixes (reported by Christoph Bauer):
103 1) reorder union definition of _FcChar;
106 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
109 * src/fccharset.c (FcCharSetNeededBytes):
110 * src/fcfs.c (FcFontSetNeededBytes):
112 * src/fclang.c (FcLangSetNeededBytesAlign):
113 * src/fcname.c (FcObjectNeededBytesAlign):
114 * src/fcpat.c (FcPatternNeededBytesAlign,
115 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
117 Portability fixes for HP-UX (reported by Christoph Bauer).
118 Replace '__inline__' by AC_C_INLINE and 'inline'.
119 Replace '__alignof__' by 'fc_alignof'.
121 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
125 Move up #include of config.h.
126 Fail if neither inttypes.h nor stdint.h is available.
129 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
130 Patrick Lam <plam@mit.edu>
132 * fc-cache/fc-cache.c:
134 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
135 FcDirCacheConsume, FcDirCacheProduce,
136 FcDirCacheWrite, FcCacheMachineSignature):
137 * src/fcfreetype.c (FcFreeTypeQuery):
138 * src/fontconfig.def.in:
140 Make fontconfig compile under MinGW:
141 1) remove unneeded #includes;
142 2) make use of mmap and sysconf conditional;
143 3) replace rand_r by srand/rand if needed;
144 4) use chsize instead of ftruncate; and
145 5) update libtool exports file
147 2006-04-07 Patrick Lam <plam@mit.edu>
148 * src/fcdir.c (FcDirScanConfig):
152 2006-04-06 Patrick Lam <plam@mit.edu>
153 * fc-match/.cvsignore:
154 * fc-match/Makefile.am:
155 * fc-match/fc-match.sgml:
157 Update documentation for fc-match (SGML-ize it).
158 (reported by Ilya Konstantinov)
160 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
166 Reduce amount of dirty rss by const'ing some data structures.
168 2006-04-06 Patrick Lam <plam@mit.edu>
169 * fc-cache/Makefile.am:
171 Don't fail if we can't create or remove
172 $(pkgcachedir) i.e. /var/cache/fontconfig.
173 (reported by Quanah Gibson-Mount).
175 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
178 * fc-glyphname/fc-glyphname.c:
179 * fc-lang/fc-lang.c (main):
180 * fc-match/fc-match.c:
181 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
183 * src/fcfreetype.c (FcFreeTypeQuery):
184 * src/fclang.c (FcFreeTypeLangSet):
187 Fix intel compiler warnings: make many variables static,
188 eliminate duplicate names, reduce variable scopes, unsigned/signed
191 2006-03-24 Mike Fabian <mfabian@suse.de>
193 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
195 Fix multiarch support (don't destroy multiarch files!)
197 2006-03-24 Patrick Lam <plam@mit.edu>
200 Require pkg-config. (Thanks Behdad;
201 better solution wanted for libxml2 detection!)
203 2006-03-22 Patrick Lam <plam@mit.edu>
206 On Windows, unlink before rename. Reported by Tim Evans.
208 2006-03-15 Patrick Lam <plam@mit.edu>
212 Fix typos in orth files. Reported by Denis Jacquerye.
214 2006-03-08 Patrick Lam <plam@mit.edu>
216 * config/config.guess:
219 Fix Makefile.am for removal of debian/ directory.
221 2006-03-08 Patrick Lam <plam@mit.edu>
224 Ignore debian/ directory for CVS.
226 2006-03-08 Patrick Lam <plam@mit.edu>
229 Now remove debian/ directory.
231 2006-03-08 Patrick Lam <plam@mit.edu>
234 Remove debian/ directory from sources. See Debian's subversion
235 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
238 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
242 * fc-lang/iso639-1, fc-lang/iso639-2:
244 Add orthography for Lingala.
246 2006-03-08 Carl Worth <cworth@cworth.org>
249 * conf.d/Makefile.am:
250 * conf.d/10LohitGujarati.conf:
252 Add a configuration file that disables hinting for the Lohit
253 Gujarati font (since the hinting distort some glyphs quite badly).
255 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
258 * src/fcdir.c (FcDirScanConfig):
260 Sort directory entries while scanning them from disk;
261 prevents Heisenbugs due to file ordering in a directory.
263 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
266 * src/fcfreetype.c (GetScriptTags):
267 * src/ftglue.c, src/ftglue.h:
269 Remove stuff we don't use, make get_{char,short,long} functions
270 of ftglue macros to be inlined.
273 * src/fcname.c (FcObjectSerialize):
275 Code cleanups (excess prototype, old-style function definition).
277 2006-03-05 Patrick Lam <plam@mit.edu>
278 * src/fcpat.c (FcPatternGetString):
280 Because we hacked FcPatternGet, we don't really need to expand the
281 filename again in FcPatternGetString.
283 2006-03-05 Patrick Lam <plam@mit.edu>
284 * src/fcpat.c (FcPatternGetString, FcPatternGet):
286 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
287 Make that work. Reported by Bernhard Rosenkraenzer.
289 2006-03-03 Patrick Lam <plam@mit.edu>
292 Include inttypes.h instead of stdint.h if appropriate.
294 2006-03-03 Patrick Lam <plam@mit.edu>
295 * fc-cat/fc-cat.c (FcFileIsDir):
296 * fc-glyphname/fc-flyphname.c:
298 More stub definitions and remove FcFileIsDir from fc-cat.
300 2006-03-03 Patrick Lam <plam@mit.edu>
303 Fix compilation on AIX with stub definitions (bug 6097).
305 2006-03-03 Patrick Lam <plam@mit.edu>
306 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
307 * src/fcfreetype.c (GetScriptTags):
308 * src/fcfs.c (FcFontSetDistributeBytes):
309 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
311 Get rid of C++-style comments.
313 2006-03-03 Patrick Lam <plam@mit.edu>
316 Enable creation of 2.3.94 Debian packages.
318 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
321 * src/fclang.c (FcCharSetForLang):
323 Fix suspicious return expression which causes junk
326 2006-02-24 Patrick Lam <plam@mit.edu>
330 * fontconfig/fontconfig.h:
332 Bump version to 2.3.94.
334 2006-02-24 Patrick Lam <plam@mit.edu>
339 2006-02-24 Patrick Lam <plam@mit.edu>
340 * conf.d/10-fonts-persian.conf:
342 Remove unconditional emboldening (per Behdad's instructions).
346 Add @s to hide some echos.
348 2006-02-24 Mike Fabian <mfabian@suse.de>
349 Takashi Iwai <tiwai@suse.de>
352 * src/fcfreetype.c (GetScriptTags):
354 Fix double-free on error case.
356 2006-02-21 Patrick Lam <plam@mit.edu>
357 * fc-lang/fc-lang.c (scan):
359 Strip \r and whitespace from input; fixes bug 3454.
361 2006-02-21 Patrick Lam <plam@mit.edu>
362 * fc-lang/fc-lang.c (main):
364 Allocate large arrays statically in fc-lang to fix crashes under
367 2006-02-21 Diego Petten <flameeyes@gentoo.org>
368 * src/fcfreetype.c (FcFreeTypeCharIndex):
370 Pass the buck; make fontconfig not crash on pango badness.
372 2006-02-21 Patrick Lam <plam@mit.edu>
373 * conf.d/10-fonts-persian.conf:
375 Use embeddedbitmap rather than rh_prefer_bitmap.
377 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
380 * src/fccache.c (FcDirCacheWrite):
381 * src/fcdir.c (FcFileScanConfig):
382 * src/fcfreetype.c (FcStringInPatternElement):
383 * src/fcxml.c (FcParseFamilies):
384 * src/ftglue.c (ftglue_face_goto_table):
386 Eliminate redundancies.
388 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
391 * fc-list/fc-list.c (main):
392 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
393 * src/fcstr.c (FcStrStr):
394 * src/fcxml.c (FcConfigSaveAttr):
396 Eliminate unused vars reported by Intel's compiler.
398 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
403 Remove one more archaic character.
405 2006-02-21 Ross Burton <ross@burtonini.com>
406 reviewed by: plam, keithp
408 * src/fcxml.c (FcParsePatelt):
410 Freeze patterns created by configuration file for tiny
411 memory savings (every little bit helps).
413 2006-02-21 Mike Fabian <mfabian@suse.de>
416 * fc-cat/fc-cat.c (main):
418 Initialize fontconfig library in fc-cat to avoid segfault.
420 2006-02-18 Patrick Lam <plam@mit.edu>
421 * fc-cache/fc-cache.c (scanDirs):
422 * src/fccache.c (FcCacheReadDirs):
423 * src/fcdir.c (FcDirScanConfig):
425 Fix the underlying cause of the below segfault (must usually
426 call FcDirCacheHasCurrentArch after FcDirCacheValid).
428 2006-02-18 Patrick Lam <plam@mit.edu>
429 * src/fccache.c (FcDirCacheHasCurrentArch):
431 Fix triggering of segfault caused by misreading cache files
432 (reported by fcrozat).
434 2006-02-17 Patrick Lam <plam@mit.edu>
435 * src/fcint.h (FC_CACHE_MAGIC):
437 Bump up magic version; we changed the binary format.
439 2006-02-17 Patrick Lam <plam@mit.edu>
440 * fc-cat/fc-cat.c (main):
442 Enable fc-cat to print out old-style cache info when given a
445 2006-02-16 Patrick Lam <plam@mit.edu>
446 * src/fccache.c (FcDirCacheHasCurrentArch):
448 Deal correctly with changing FC_CACHE_MAGIC.
450 2006-02-16 Patrick Lam <plam@mit.edu>
451 * fc-cache/fc-cache.c (usage, scanDirs, main):
453 Add -r --really-force option which blows away cache files and then
456 2006-02-16 Patrick Lam <plam@mit.edu>
457 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
459 Don't bail if fontconfig can't remove a dir cache file.
460 Skip the ID of a cache file when copying.
461 Eliminate 'source file too small' bug in FcDirCacheWrite.
463 2006-02-13 Patrick Lam <plam@mit.edu>
464 * src/fcfreetype.c (FcFreeTypeQuery):
466 Fix memory leak in error condition code.
468 2006-02-13 Mike Fabian <mfabian@suse.de>
470 * src/fcfreetype.c (FcFreeTypeQuery):
472 Skip bitmap fonts which can't even get it together enough to
473 declare a family name; this appears to reproduce previous
474 fontconfig behaviour.
476 2006-02-10 Takashi Iwai <tiwai@suse.de>
478 * src/fccache.c (FcDirCacheOpen):
480 Try to open /var/cache/fontconfig/[hashed name] before
481 fonts.cache-2 in a directory, because /var/cache/fontconfig
482 failures ought to be fixable, unlike fonts.cache-2 failures,
483 which may leave you screwed.
485 2006-02-10 Takashi Iwai <tiwai@suse.de>
487 * src/fcmatch.c (FcFontSetMatch):
489 Use a tri-state to mark the fonts which didn't get blocked but
490 were just missing an element, to distinguish them from the
491 fonts that do match the element.
493 2006-02-10 Takashi Iwai <tiwai@suse.de>
495 * src/fcmatch.c (FcFontSetMatch):
497 Don't kill fonts because they don't declare an element that's
500 2006-02-09 Patrick Lam <plam@mit.edu>
501 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
502 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
504 Define and pass O_BINARY to open if appropriate, for those
505 platforms that need it. Reported by Doodle.
507 2006-02-09 Patrick Lam <plam@mit.edu>
508 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
511 Fix problem with missing 'en' due to euro.patch: change
512 cache file format slightly to coincide with that generated
515 2006-02-07 Patrick Lam <plam@mit.edu>
516 * src/fccache.c (FcCacheReadDirs):
520 2006-02-07 Patrick Lam <plam@mit.edu>
521 * src/fcdir.c (FcDirScanConfig):
523 Don't reject dirs that can't be normalized (fixes lilypond, and
524 is correct in the context of application font directories.)
526 2006-02-07 Takashi Iwai <tiwai@suse.de>
529 * src/fccache.c (FcCacheReadDirs):
531 Use normalized directory name exclusively in FcCacheReadDirs.
533 2006-02-07 Dirk Mueller <dmueller@suse.com>
536 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
538 Perf optimizations. Inline FcValueCanonicalize,
539 reduce FcValueListPtrU usage, remove redundant cast.
541 2006-02-07 Takashi Iwai <tiwai@suse.de>
544 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
547 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
548 Declare extern for static arrays as arrays, not pointers.
549 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
551 2006-02-07 Dirk Mueller <dmueller@suse.com>
564 Add Euro sign to list of symbols required by European languages.
566 2006-02-07 Patrick Lam <plam@mit.edu>
567 * src/fccache.c (FcCacheReadString):
569 Fix hidden variable warning.
571 2006-02-07 Dirk Mueller <dmueller@suse.com>
574 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
576 Remove de-escaping logic because FcCacheWriteString
577 doesn't escape anyway. Do blockwise reading instead
578 of byte-wise for performance.
580 2006-02-06 Patrick Lam <plam@mit.edu>
581 Takashi Iwai <tiwai@suse.de>
583 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
585 Don't loop infinitely on recursive symlinks (client-side).
587 2006-02-06 Takashi Iwai <tiwai@suse.de>
589 * fc-cache/fc-cache.c (scanDirs, main):
591 Don't loop infinitely on recursive symlinks.
593 2006-02-06 Takashi Iwai <tiwai@suse.de>
595 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
596 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
597 FcGlobalCacheSave, FcCacheReadDirs):
600 Skip subdirs when skipping over stale bits of global cache.
601 Introduce state machine into FcGlobalCacheDir to avoid
602 doing inappropriate operations on global dir entries, e.g.
603 writing out an out-of-date cache entry.
605 2006-02-06 Takashi Iwai <tiwai@suse.de>
607 * src/fcdir.c (FcFileScanConfig):
609 Hoist FcFileIsDir check out of FcFileScanConfig loop.
611 2006-02-06 Takashi Iwai <tiwai@suse.de>
614 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
615 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
617 Don't rescan when trying to normalize a non-declared font dir.
618 Don't add font dirs multiple times (even if they're aliased).
620 2006-02-06 Dirk Mueller <dmueller@suse.de>
623 * src/fcfs.c (FcFontSetUnserialize):
625 Explain apples/oranges comparison and fix compilation error.
627 2006-02-06 Dirk Mueller <dmueller@suse.de>
630 * src/fcfs.c (FcFontSetUnserialize):
632 Insert check for integer overflow in # of fonts.
634 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
638 * fc-cache/Makefile.am:
639 * fc-cat/Makefile.am:
640 * fc-list/Makefile.am:
642 Make 'make distcheck' work with automake 1.6.3.
644 2006-02-03 Takashi IWAI <tiwai@suse.de>
647 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
650 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
651 FcDirCacheConsume, FcDirCacheWrite)
652 * src/fcxml.c (FcConfigMessage):
654 Check I/O call return values and eliminate unused variable
657 2006-02-03 Takashi Iwai <tiwai@suse.de>
660 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
664 2006-02-03 Dirk Mueller <dmueller@suse.de>
667 * src/fcfs.c (FcFontSetUnserialize):
669 Gracefully handle the case where a cache asserts that it
670 has a negative number of fonts, causing overflow.
672 2006-02-03 Patrick Lam <plam@mit.edu>
673 * src/fccache.c (FcDirCacheUnlink):
675 Fix double free in error case.
677 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
678 Stephan Kulow <coolo@suse.de>
681 * fc-cache/Makefile.am:
683 Replace 'stamp' target with mkinstalldirs.
685 2006-01-31 Mike Fabian <mfabian@suse.de>
688 * src/fccache.c (FcGlobalCacheLoad):
690 Toast broken global cache files.
692 2006-01-30 Patrick Lam <plam@mit.edu>
693 * src/fccache.c (FcGlobalCacheReadDir):
695 Actually use the directories that I added to the global cache.
698 2006-01-30 Mike Fabian <mfabian@suse.de>
701 * fc-cache/fc-cache.c (scanDirs):
703 Don't stop scanning if a directory in fonts.conf doesn't
704 exist, because subsequent directories might exist.
706 2006-01-30 Patrick Lam <plam@mit.edu>
707 * src/fccache.c (FcGlobalCacheLoad):
709 Make global cache work again after putting dir names into global
710 cache (I misplaced the recording of a file offset).
712 2006-01-30 Patrick Lam <plam@mit.edu>
713 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
715 Update fc-cat to handle subdir lists in global cache file.
717 * src/fccache.c (FcGlobalCacheLoad):
719 Another FcCacheReadString return value check.
721 2006-01-30 Mike Fabian <mfabian@suse.de>
724 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
725 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
727 Make fccache more resilient to broken cache files by checking
728 return value of FcCacheReadString all the time.
730 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
733 * fc-match/fc-match.1:
734 * fc-lang/fc-lang.man:
736 Remove references to dead fontconfig(3) manpages in
737 other fontconfig manpages.
739 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
742 * doc/fcpattern.fncs:
744 Fix world's tiniest typo in code example.
746 2006-01-29 Mike Fabian <mfabian@suse.de>
749 * src/fccache.c (FcGlobalCacheReadDir):
751 Fix global cache reads of subdirectories.
753 2006-01-29 Patrick Lam <plam@mit.edu>
755 Add documentation for FcConfigNormalizeFontDir.
757 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
758 FcGlobalCacheUpdate, FcGlobalCacheSave):
759 * src/fcdir.c (FcDirScanConfig):
762 Write directory information to global caches to fix make check
763 (reported by Ronny V. Vindenes). This changes the global cache
766 2006-01-27 Patrick Lam <plam@mit.edu>
767 * fc-cache/fc-cache.c (scanDirs):
768 * fontconfig/fontconfig.h:
770 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
772 Move FcConfigNormalizeFontDir call so that it doesn't result in
773 infinite recursion (reported by Ronny V. Vindenes).
775 2006-01-26 Patrick Lam <plam@mit.edu>
776 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
777 * src/fccfg.c (FcConfigNormalizeFontDir):
779 Add a couple of missing normalizations to make fc-cache work
780 right; only scan subdirectories once.
782 2006-01-26 Mike Fabian <mfabian@suse.de>
785 * src/fcacache.c (FcGlobalCacheReadDir):
787 Don't crash on non-existant directories in global cache.
789 2006-01-26 Patrick Lam <plam@mit.edu>
790 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
791 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
792 * src/fcdir.c (FcDirScanConfig):
793 * src/fcxml.c (FcEndElement):
795 Stop trampling the directory name when writing out caches.
796 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
797 subdirs when necessary. Don't scan directories that can't be
800 2006-01-25 Patrick Lam <plam@mit.edu>
801 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
802 * src/fccfg.c (FcConfigEvaluate):
803 * src/fcfreetype.c (FcPatternAddWithBinding):
805 Fix additional memory leaks reported by Ronny V. Vindenes: don't
806 invoke FcValueSave on hashed static strings in
807 FcPatternAddWithBinding.
809 Add another st_dev check in FcDirCacheOpen.
811 2006-01-24 James Su <james.su@gmail.com>
814 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
815 * fc-lang/zh_hk.orth:
817 Treat zh-hk fonts differently from zh-tw fonts. This patch may
818 cause fontconfig to treat A-X fonts differently from A-Y fonts;
819 please mail the fontconfig list if this causes any problems.
821 2006-01-24 Patrick Lam <plam@mit.edu>
822 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
823 * src/fcfreetype.c (FcFreeTypeQuery):
825 Fix memory leaks reported by Ronny V. Vindenes.
827 2006-01-19 Andreas Schwab <schwab@suse.de>
830 * src/fcpat.c (FcStrNeededBytes):
832 Fix for unaligned memory accesses.
834 2006-01-18 Mike Fabian <mfabian@suse.de>
837 * src/fcdir.c (FcDirScanConfig):
839 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
840 calls to avoid crashes.
842 2006-01-14 Patrick Lam <plam@mit.edu>
843 * src/fccache.c (FcDirCacheConsume):
845 Fix segfault when consuming zero-length caches in fc-cat
846 (which has no config, so FcConfigAddFontDir shouldn't be called.)
848 2006-01-14 Patrick Lam <plam@mit.edu>
849 * fc-cache/fc-cache.c (scanDirs):
850 * fontconfig/fontconfig.h:
851 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
852 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
853 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
854 * src/fcdir.c (FcDirScanConfig):
857 Compare device numbers as well as inodes.
858 Always normalize directory names before comparing them.
860 2006-01-11 Mike Fabian <mfabian@suse.de>
863 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
865 Allocate extra space for appended '/' in directory name.
867 2006-01-10 Patrick Lam <plam@mit.edu>
868 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
869 FcDirCacheValid, FcDirCacheHasCurrentArch,
870 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
871 * fc-cache/fc-cache.c (main):
873 Explicitly add font dirs to config.fontDirs even if they're empty.
874 Set current config in fc-cache.c.
875 Fix treatment of cache directory as read from cache file; don't
876 use string equality to determine if we have the right file,
879 2006-01-09 Patrick Lam <plam@mit.edu>
880 * fc-cache/fc-cache.c (scanDirs):
881 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
882 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
883 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
884 * src/fccfg.c (FcConfigNormalizeFontDir):
885 * src/fcdir.c (FcDirScanConfig):
888 Normalize font dirs by using the form, as given in fonts.conf, and
889 recorded in FcConfig's fontDirs string set, as canonical.
891 Actually update config.fontDirs as font directories are scanned.
893 2006-01-08 James Su <james.su@gmail.com>
894 * src/fcmatch.c (FcFontSetMatch):
896 Fix matching bug when multiple elements match; don't use
897 the sum of all scores, but the best score.
899 Also more perf opts, e.g. evaluate best over all font sets
900 rather than on a per-set basis (and other changes).
902 2006-01-08 Patrick Lam <plam@mit.edu>
903 * src/fccache.c (FcDirCacheConsume):
905 Properly skip past dir caches that contain zero fonts (as occurs
906 in global caches.) Reported by Mike Fabian.
908 2006-01-06 Patrick Lam <plam@mit.edu>
909 * src/fcdbg.c (FcPatternPrint):
911 Print out full pathname in fc-match -v as well. Reported by
914 2006-01-06 Mike Fabian <mfabian@suse.de>
917 * src/fcname.c (FcNameParse):
919 Fix bug where fc-match crashes when given __DUMMY__ property to
922 (I added the __DUMMY__ string to enable callers of
923 FcObjectToPtrLookup to distinguish an error return from a
924 successful return. -PL)
926 2006-01-05 Patrick Lam <plam@mit.edu>
929 Add self to AUTHORS list.
931 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
932 FcCacheFileRead, FcCachePrintSet, main):
933 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
934 FcGlobalCacheSave, FcCacheNextOffset,
935 FcDirCacheHasCurrentArch, FcDirCacheRead,
936 FcDirCacheConsume, FcDirCacheWrite):
938 * src/fcpat.c (comment):
940 Minor change to global cache file format to fix fc-cat bug
941 reported by Frederic Crozat, and buglet with not globally caching
942 directories with zero fonts cached.
944 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
947 * src/fccfg.c (FcConfigEvaluate):
949 Fix double-free which occurs because FcValueCanonicalize doesn't
950 create an extra copy of the returned value, it only canonicalizes
953 2006-01-02 Patrick Lam <plam@mit.edu>
954 * doc/fontconfig-user.sgml:
956 Fix version of .cache file (currently 1 -> currently 2). Reported
959 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
962 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
964 Shut up GCC warnings on amd.
966 2005-12-20 Patrick Lam <plam@mit.edu>
970 * fontconfig/fontconfig.h:
972 Bump version to 2.3.93.
974 2005-12-20 Patrick Lam <plam@mit.edu>
975 * src/fccharset.c (FcLangCharSetPopulate):
976 * src/fcint.h (FcCacheBankToIndex):
978 Avoid check on _fcBankId nullness and fix case where it used to
981 2005-12-20 Patrick Lam <plam@mit.edu>
982 * src/fcxml.c (FcConfigParseAndLoad):
984 Use open instead of fopen (requested by Phil Race for Sun).
986 2005-12-20 Patrick Lam <plam@mit.edu>
987 * src/fccache.c (FcDirCacheWrite);
988 * fc-cache/Makefile.am:
990 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
993 2005-12-20 Patrick Lam <plam@mit.edu>
994 * src/fcfreetype.c (FcFreeTypeQuery):
996 Restore code to skip over PCF fonts that have no encoded
998 (We guess that a font is PCF by presence of the PIXEL_SIZE
1001 2005-12-12 Patrick Lam <plam@mit.edu>
1002 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1004 Read and write the original location as a fallback for the
1005 hashed cache file locations. This is mostly for users to be
1006 able to have per-directory cache files.
1008 2005-12-12 Patrick Lam <plam@mit.edu>
1009 * fc-cache/fc-cache.c (scanDirs):
1010 * fc-cache/Makefile.am:
1011 * src/fccache.c (FcDirCacheHashName):
1013 Improve error message when fc-cache can't write the cache. Add
1014 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1015 create /var/cache/fontconfig when appropriate.
1017 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1020 * src/fcxml.c (FcConfigGetAttribute):
1022 Fix crash reported by Frederic Crozat when using libxml2.
1024 2005-12-09 Patrick Lam <plam@mit.edu>
1027 * fc-cache/Makefile.am:
1028 * fc-cat/Makefile.am:
1030 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1031 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1032 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1033 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1034 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1035 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1037 Migrate cache files from fonts directories to
1038 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1039 but requires that all caches get rebuilt.
1041 Also, autogen.sh now needs the additional parameter
1042 --localstatedir=/var.
1044 2005-12-07 Patrick Lam <plam@mit.edu>
1045 * src/fcpat.c (FcPatternAddString):
1047 Because we've changed FcPatternAddString to use FcStrStaticName
1048 and not FcValueSave, explicitly handle the case of a null string.
1050 2005-12-06 Patrick Lam <plam@mit.edu>
1051 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1055 2005-12-05 Patrick Lam <plam@mit.edu>
1056 * src/fcname.c (FcNameGetObjectType):
1058 Don't assign types to user object names.
1060 2005-12-05 Patrick Lam <plam@mit.edu>
1061 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1063 Don't free strings that have been returned from FcStrStaticName.
1065 2005-12-01 Patrick Lam <plam@mit.edu>
1066 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1068 Add codepath for reading global cache files as well.
1070 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1073 * conf.d/10-fonts.persian.conf:
1074 * conf.d/Makefile.am:
1076 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1078 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1081 * src/fcxml.c (FcConfigParseAndLoad):
1083 Only add a config file to the set of config files once.
1085 2005-11-29 Patrick Lam <plam@mit.edu>
1086 * src/fcint.h (FcCacheBankToIndex);
1088 Fix segfault by guarding array dereference.
1090 2005-11-29 Dirk Mueller <dmueller@suse.de>
1093 * fc-lang/fc-lang.c:
1094 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1095 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1099 Refactor FcCacheBankToIndex into an inlineable part
1100 (in fcint.h) which checks the front of the list and a
1101 non-inlineable part which finds and moves the appropriate element
1102 to the front of the list.
1104 2005-11-29 Patrick Lam <plam@mit.edu>
1105 * src/fccfg.c (FcConfigBuildFonts):
1106 * src/fccache.c (FcCacheReadDirs):
1108 Make the perf guys hate me a bit less: hoist the directory-name
1109 FcConfigAcceptFont check for cached fonts up to directory cache
1110 read time, rather than running it for each font.
1112 2005-11-29 Patrick Lam <plam@mit.edu>
1113 * src/fccfg.c (FcConfigBuildFonts):
1115 * src/fcpat.c (FcPatternFindFullFname):
1117 Don't make FcPatternFindFullFname available to fccfg, it's not
1118 really safe. Instead go through FcPatternGetString (sorry,
1119 perf guys.) Also, use globs for dirs as well.
1121 2005-11-28 Patrick Lam <plam@mit.edu>
1122 * src/fccfg.c (FcConfigBuildFonts):
1126 2005-11-28 Patrick Lam <plam@mit.edu>
1128 * src/fcpat.c (FcPatternFindFullFname):
1129 * src/fccfg.c (FcConfigBuildFonts):
1131 Fix problem dating back at least to 2.3.2 where globs weren't
1132 being applied to patterns loaded from a cache.
1134 2005-11-28 Patrick Lam <plam@mit.edu>
1135 * doc/fontconfig-user.sgml:
1137 Fix some obvious spelling mistakes.
1139 2005-11-28 Dirk Mueller <dmueller@suse.com>
1140 Stephan Kulow <coolo@suse.de>
1143 * src/fcmatch.c (FcFontSetMatch):
1145 Don't kill all fonts during match (oops!)
1148 2005-11-25 Dirk Mueller <dmueller@suse.com>
1149 Stephan Kulow <coolo@suse.de>
1150 Michael Matz <matz@suse.de>
1153 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1156 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1157 inline FcCompare into FcFontSetMatch and reorder the
1158 loops, adding a boolean array which blocks patterns from future
1159 consideration if they're known to not be best on some past
1162 2005-11-26 Dirk Mueller <dmueller@suse.com>
1165 * src/fcmatch.c (FcCompareValueList):
1167 Fix incorrect merge.
1169 2005-11-25 Patrick Lam <plam@mit.edu>
1170 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1172 Don't do random matching when bad objects are passed into
1175 2005-11-25 Patrick Lam <plam@mit.edu>
1177 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1178 FcPatternSerialize, FcPatternUnserialize,
1179 FcValueListEnsureBank, FcValueListDistributeBytes,
1180 FcValueListUnserialize):
1182 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1183 _fcPatternElts, _fcValueLists for consistency.
1185 2005-11-25 Dirk Mueller <dmueller@suse.com>
1190 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1192 2005-11-25 Patrick Lam <plam@mit.edu>
1194 * src/fccache.c (FcDirCacheConsume):
1195 * src/fccharset.c (FcCharSetUnserialize):
1196 * src/fcfs.c (FcFontSetUnserialize):
1197 * src/fclang.c (FcLangSetUnserialize):
1198 * src/fcname.c (FcObjectUnserialize):
1199 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1200 FcPatternUnserialize):
1202 Pass around FcCache *s to the Unserialize functions for extra
1203 consistency (and less overhead, for what that's worth).
1205 2005-11-24 Dirk Mueller <dmueller@suse.com>
1209 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1210 * src/fcname.c (FcNameUnparseValue):
1212 Inline the *PtrU functions to gain perf.
1213 Remove unneeded params for the FcCompare* functions.
1215 2005-11-24 Dirk Mueller <dmueller@suse.com>
1218 * src/fcint.h, fontconfig/fontconfig.h:
1220 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1222 * src/fcpat.c, src/fcint.h, src/fcname.c:
1224 Check for type validity during FcPatternAddWithBinding, don't
1225 verify type in FcFontMatch, don't call FcCanonicalize here
1226 (which always does a deep copy).
1228 2005-11-24 Dirk Mueller <dmueller@suse.com>
1231 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1232 * src/fcpat.c (FcPatternAddWithBinding):
1234 Make FcCompareString and FcCompareFamily less expensive.
1235 Only add a value for FC_FAMILY if the proposed value is a string.
1237 2005-11-24 Dirk Mueller <dmueller@suse.com>
1240 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1241 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1242 * src/fcint.h (FcDebug):
1244 Inline FcDebug invocations and only initialize once, in FcInit*.
1245 Improve debug msg in FcPatternPrint.
1247 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1250 * fontconfig/fontconfig.h:
1253 Minor code warning cleanups.
1255 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1258 * fc-match/fc-match.c (main):
1260 Make getopt_long accept -s parameter to fc-match as well.
1262 2005-11-21 Dirk Mueller <dmueller@suse.com>
1265 * src/fcmatch.c (FcCompareValueList):
1267 Manually perform inlining & partial redundancy elimination to
1268 reduce calls to FcValueListPtrU.
1270 2005-11-21 Dirk Mueller <dmueller@suse.com>
1273 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1274 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1276 Only invoke strlen() when really necessary.
1278 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1282 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1283 FcFontCapabilities):
1287 Get rid of the use of freetype internal headers in fcfreetype.c,
1288 since those headers will go away with freetype 2.2. Replace with
1289 public domain ftglue code from pango. Note that the patch removes
1290 some extra error checking in FT_Get_BDF_Property() and comments
1291 out the skipping of empty pcf fonts.
1293 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1296 * fc-lang/fc-lang.c (main):
1298 Further fix of patch from 2005-11-04: miscounted numbers count
1299 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1300 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1302 Removed leafidx_count and numbers_count since they are the same
1303 and replaced them with offset_count.
1305 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1308 * fc-cat/fc-cat.c (main):
1310 Don't crash when fc-cat invoked with no arguments.
1312 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1315 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1317 Fix invalid read access caused by premature free and
1318 GCC4 warnings in libxml2 codepath.
1320 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1323 * src/fccfg.c (FcConfigValues):
1325 List iteration not needed in FcConfigValues, since it's building
1326 up the list itself; we can just strip FcVoid elements during
1329 2005-11-17 Patrick Lam <plam@mit.edu>
1330 * src/fccfg.c (FcConfigValues):
1332 Fix crash on invalid constants in config files (forgot to update
1333 a pointer upon list iteration.)
1335 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1338 * src/fcxml.c (FcTypecheckExpr):
1340 Complain about invalid constants in config files.
1342 2005-11-17 Andreas Schwab <schwab@suse.de>
1345 * src/fccache.c (FcGlobalCacheSave):
1347 Don't add current_arch_start more than once.
1349 2005-11-16 Patrick Lam <plam@mit.edu>
1350 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1351 * src/fcfs.c (FcFontSetUnserialize):
1352 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1353 * src/fcpat.c (FcStrUnserialize):
1355 Fix ordering of ALIGN with respect to saving block_ptr; add
1356 another ALIGN to fcfs.c.
1358 2005-11-16 Patrick Lam <plam@mit.edu>
1359 * src/fccache.c (FcDirCacheProduce)
1361 Fix case where alignment bytes bumped up metadata->count
1362 causing unwarranted failures to write cache files.
1363 (Reported by Stephan Kulow).
1365 2005-11-16 Patrick Lam <plam@mit.edu>
1366 * src/fccache.c (FcDirCacheProduce):
1367 * src/fccharset.c (FcCharSetDistributeBytes):
1368 * src/fcfs.c (FcFontSetDistributeBytes):
1370 * src/fclang.c (FcLangSetDistributeBytes):
1371 * src/fcname.c (FcObjectDistributeBytes):
1372 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1375 Add *NeededBytesAlign(), which overestimates the padding which is
1376 later added by the new ALIGN macro. Fix alignment problems on
1377 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1378 version by Andreas Schwab).
1380 2005-11-16 Stephan Kulow <coolo@kde.org>
1385 Use sysconf to determine proper PAGESIZE value; this
1386 appears to be POSIX-compliant. (reported by Andreas Schwab)
1388 2005-11-04 Patrick Lam <plam@mit.edu>
1389 * fc-lang/fc-lang.c:
1394 Fix bug 2878 (excessive relocations at startup for charsets,
1395 reported by Ross Burton): fc-lang/fc-lang now creates the
1396 static form of the langset, not the dynamic form, so that
1397 the charsets should now be in .rodata.
1399 2005-11-04 Patrick Lam <plam@mit.edu>
1400 * src/fcdir.c (FcDirScanConfig):
1402 Add test for validity of directory caches that
1403 somehow got lost (reported by make distcheck).
1405 2005-11-04 Patrick Lam <plam@mit.edu>
1409 * fontconfig/fontconfig.h:
1411 Bump version to 2.3.92.
1413 2005-11-02 Patrick Lam <plam@mit.edu>
1414 * src/fcpat.c (FcPatternDuplicate):
1416 Fix argument ordering problem in call to FcPatternTransferFullFname.
1418 2005-11-02 Patrick Lam <plam@mit.edu>
1419 * src/fcfreetype.c (FcFreetypeQuery):
1420 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1421 FcPatternTransferFullFname):
1423 Fix warnings and embarrassing double-free error.
1425 2005-11-02 Zhe Su <zsu@novell.com>
1430 Change the rule for artificial emboldening in fonts.conf.in. This
1431 enables the support for artificial emboldening included in cairo.
1433 2005-11-02 Patrick Lam <plam@mit.edu>
1434 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1436 Don't zero out full names for FC_REF_CONSTANT fonts;
1437 also, duplicate full names when transferring, and free
1438 full names when freeing the associated font.
1439 Reported by Jinghua Luo.
1441 2005-11-02 Patrick Lam <plam@mit.edu>
1442 * fc-cache/fc-cache.c (scanDirs):
1443 * src/fcpat.c (FcValueListSerialize):
1445 Revert the previous patch and commit the correct patch:
1446 I forgot a canonicalization in FcValueListSerialize, so
1447 that it would choke on already-serialized input files. Duh!
1449 2005-11-02 Patrick Lam <plam@mit.edu>
1450 * fc-cache/fc-cache.c (scanDirs):
1452 Forcibly rescan a directory before writing a fresh local
1453 cache file for that directory, fixing the losing-fonts
1454 problem reported by Mike Fabian and also apparently the
1455 font cache file corruption.
1457 2005-11-02 Patrick Lam <plam@mit.edu>
1458 * src/fccache.c (FcGlobalCacheLoad):
1460 Fix thinko: actually, the whole global cache is stale
1461 if the global cache is older than the (newest) config file.
1463 2005-11-02 Patrick Lam <plam@mit.edu>
1464 * src/fccache.c (FcGlobalCacheLoad):
1465 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1468 Declare the global cache of a directory's contents to be stale if
1469 the directory is newer than the (newest) configuration file.
1471 2005-10-31 Patrick Lam <plam@mit.edu>
1473 * src/fclist.c (FcListAppend):
1474 * src/fcmatch.c (FcFontRenderPrepare):
1475 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1476 FcPatternFreeze, FcPatternBaseFreeze):
1478 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1479 applications continue breaking.
1481 2005-10-31 Patrick Lam <plam@mit.edu>
1482 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1483 * src/fcfreetype.c (FcFreeTypeQuery):
1485 Fix small memory error (tried to free argv); use basename and
1486 dirname correctly (they can modify their arguments).
1488 2005-10-31 Patrick Lam <plam@mit.edu>
1496 Reinstate basename patch, but keep a hash table linking FcPatterns
1497 to their fully-qualified font names for clients' benefit. Clients
1498 only pay for the font names once they request the FC_FILE property
1499 from an FcPattern, but the font name is malloc'd at that point (i.e.
1500 not mmapped: that's impossible, since it may vary between machines.)
1501 Clients do have to pay for a copy of the path name per cache file.
1503 Note that FcPatternGetString now does some rewriting if you ask
1504 for an FC_FILE, appending the pathname as appropriate.
1506 2005-10-31 Patrick Lam <plam@mit.edu>
1507 * src/fcfreetype.c (FcFreeTypeQuery):
1509 Revert basename patch, which breaks fontconfig clients on my system.
1511 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1514 * fontconfig/fonts.conf.in:
1515 * fontconfig/fontconfig.h:
1519 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1520 to load embedded bitmaps or not.
1522 2005-10-25 Patrick Lam <plam@mit.edu>
1523 * src/fcfreetype.c (FcFreeTypeQuery):
1525 Only add basename to patterns' FC_FILE element, not any part of
1528 2005-10-22 Patrick Lam <plam@mit.edu>
1531 Add some more consts, fixing more GCC4 warnings.
1533 2005-10-22 Zhe Su <zsu@novell.com>
1536 Support localized font family and style names.
1537 This has been reported to break old apps like xfd, but modern
1538 (gtk+/qt/mozilla) apps work fine.
1540 2005-10-21 Patrick Lam <plam@mit.edu>
1541 * src/fccache.c (FcGlobalCacheLoad):
1543 Destroy the global cache file if it's terminally broken. (reported by
1546 2005-10-21 Patrick Lam <plam@mit.edu>
1547 * fc-list/fc-list.c (main):
1548 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1549 * fontconfig/fontconfig.h:
1551 Prevent fc-list from escaping strings when printing them (reported by
1554 2005-10-20 Marcus Meissner <meissner@suse.de>
1557 * fontconfig/fontconfig.h:
1559 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1561 2005-10-14 Ross Burton <ross@burtonini.com>
1564 * fc-glyphname/fc-glyphname.c:
1567 Add consts to variables so as to move arrays into .rodata.
1569 2005-10-14 Mike Fabian <mfabian@suse.de>
1572 * src/fccache.c (FcDirCacheUnlink):
1574 Check existence of directory cache file before attempting to unlink.
1576 2005-10-13 Patrick Lam <plam@mit.edu>
1577 * src/fccache.c (FcDirCacheUnlink):
1579 Fix flipped return value on unlink. (Reported by Mike Fabian)
1581 2005-10-12 Patrick Lam <plam@mit.edu>
1584 * src/fcdir.c (FcDirScanConfig):
1587 When fc-cache is run without --force, use directory cache files
1588 to speed up fc-cache run time. (Reported by Mike Fabian)
1590 2005-10-06 Patrick Lam <plam@mit.edu>
1592 * src/fcname.c (FcObjectToPtr):
1593 * src/fcpat.c (FcStrStaticName):
1595 Add padding to make valgrind and glibc not hate each other
1596 when calling strlen().
1598 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1599 reviewed by: plam & keithp
1603 Modify config file to use Greek fonts before Asian fonts with
1606 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1607 reviewed by: plam & keithp
1611 Use libtool -no-undefined flag on all platforms.
1613 2005-10-05 Patrick Lam <plam@mit.edu>
1614 * src/fccache.c (FcCacheHaveBank):
1616 Implement move-to-front array for banks (perf regression
1617 reported by Ronny V. Vindenes).
1619 2005-10-04 Patrick Lam <plam@mit.edu>
1620 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1621 FcDirCacheHasCurrentArch):
1622 * fc-cache/fc-cache.c (scanDirs):
1623 * fontconfig/fontconfig.h:
1625 Add new API which unlinks directory caches and checks dir caches
1626 for existence of appropriate sections. Fix fc-cache to unlink
1627 stale cache files and save directory caches that lack relevant
1630 2005-10-03 Patrick Lam <plam@mit.edu>
1631 * src/fccache.c (FcDirCacheValid):
1633 Ensure that a directory cache has the appropriate section
1634 before reporting that it is valid (reported by Matthias Clasen).
1636 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1644 Use libxml2 if requested (with --enable-libxml2) or if
1645 expat is not available.
1647 2005-09-29 Patrick Lam <plam@mit.edu>
1648 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1650 Fix multi-arch cache files: compute the position for the
1651 block to be added using info from OrigFile, not NewFile.
1653 2005-09-28 Patrick Lam <plam@mit.edu>
1654 * src/fccache.c (FcCacheMachineSignature):
1656 Cast results of sizeof() to unsigned int to get rid of
1657 warnings on x86_64 (thanks Matthias Clasen).
1659 2005-09-27 Patrick Lam <plam@mit.edu>
1660 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1663 Use FcAtomic to rewrite cache files.
1665 2005-09-27 Patrick Lam <plam@mit.edu>
1667 * src/fccache.c (FcDirCacheWrite):
1669 Don't unlink the fonts.cache-2 file even if there's no data
1670 to write; just write an empty cache file. (thanks Lubos Lunak)
1672 2005-09-27 Patrick Lam <plam@mit.edu>
1674 * src/fccache.c (FcDirCacheWrite):
1676 Allocate room for the subdirectory names in each
1677 directory cache. Thanks to James Cloos for finding
1678 and diagnosing this bug!
1680 2005-09-22 Patrick Lam <plam@mit.edu>
1682 * fc-cache/fc-cache.sgml:
1683 * src/fccache.c (FcDirCacheWrite):
1684 * src/fccache.h (struct FcCache):
1686 Update documentation -- fc-cache's man page now says that you
1687 need to run fc-cache once per cached architecture; add some
1688 documentation to the FcCache structure.
1690 Make fc-cache write out fonts.cache-2 files for directories with
1691 no fonts (i.e. only subdirectories).
1693 2005-09-22 Patrick Lam <plam@mit.edu>
1695 * fc-cache/fc-cache.sgml:
1696 * fc-case/fc-case.c:
1697 * fc-glyphname/fc-glyphname.c:
1703 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1707 * fc-lang/fc-lang.c:
1708 * fontconfig/fcprivate.h:
1709 * fontconfig/fontconfig.h:
1723 Implement new mmaped cache for font information.
1724 Bump so revision to 2.3.90.
1726 2005-07-25 Keith Packard <keithp@keithp.com>
1728 * doc/fontconfig-user.sgml:
1729 * fc-glyphname/fc-glyphname.c: (scan), (main):
1730 * fc-lang/fc-lang.c: (FcConfigHome):
1731 * fc-match/fc-match.c: (main):
1732 * src/fccfg.c: (FcConfigHome):
1733 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1734 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1735 (addtag), (FcFontCapabilities):
1736 * src/fcpat.c: (FcValueListEntCreate):
1737 * src/fcstr.c: (FcStrCaseWalkerInit):
1738 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1740 Various GCC 4 cleanups for signed vs unsigned char
1742 Match only [0-9]*.conf files in <include>{directory}</include>
1743 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1745 2005-07-15 Carl Worth <cworth@cworth.org>
1748 * src/fcinit.c: (FcFini):
1749 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1752 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1753 Pull the FcObjectStateName hash table out to file scope, and add
1754 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1757 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1760 2005-06-16 Patrick Lam <plam@MIT.EDU>
1764 * src/fccfg.c: (FcConfigCompareValue):
1765 Make FcOpNotContains use FcStrStr for strings so that
1766 it matches semantics for !FcOpContains.
1768 2005-05-20 Keith Packard <keithp@keithp.com>
1772 Move fontconfig source package to libs as per override
1774 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1776 reviewed by: Mike Fabian
1779 The ka.orth file requires several characters which are not
1780 used anymore in modern Georgian and which are missing in the free
1781 Georgian TrueType fonts downloadable at:
1783 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1785 2005-04-27 Keith Packard <keithp@keithp.com>
1789 Update date to real 2.3.2 release date.
1790 Fix change attributions
1792 2005-04-27 Keith Packard <keithp@keithp.com>
1795 Bump so revision for 2.3.2
1796 * fc-cache/fc-cache.c: (scanDirs):
1797 Fix a few minor leaks in error cases.
1799 2005-04-23 Keith Packard <keithp@keithp.com>
1804 * fontconfig/fontconfig.h:
1805 Update for version 2.3.2
1807 2005-04-21 Keith Packard <keithp@keithp.com>
1809 * debian/fontconfig.postinst:
1810 Don't force bitmap font enable in default
1811 configuration; allows users to override this in
1821 * debian/po/pt_BR.po:
1822 * debian/po/templates.pot:
1824 * debian/po/zh_CN.po:
1825 Updated translations
1827 * fc-cache/fc-cache.c: (main):
1828 Destroy font configuration on exit to help valgrind
1831 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1832 (FcFreeTypeCheckGlyph):
1833 Use own transcoding routines in preference to iconv
1834 which appears to have leaks in some translators.
1835 Call iconv_close after using iconv (oops).
1837 Prefer unicode encoding of Euro char as some
1838 fonts mis-encode Euro in other ones.
1840 Must fetch bitmap glyphs to get width values
1841 to check for monospace/dual-width fonts.
1843 2005-04-13 Ross Burton <ross@burtonini.com>
1846 Check that a pattern isn't already frozen in FcPatternFreeze.
1848 2005-03-31 Ross Burton <ross@burtonini.com>
1853 Run all FcPattern objects through FcObjectStaticName, so that
1854 compares can be done on pointers instead of strings (#2659)
1856 2005-03-17 Tor Lillqvist <tml@novell.com>
1858 * src/fontconfig.def.in: Add the .dll to the dll name.
1860 2005-03-10 Keith Packard <keithp@keithp.com>
1862 * debian/README.Debian:
1863 Update to reflect configuration changes
1865 * debian/fontconfig.postinst:
1866 Fix Autohint vs Autohinter mistake
1867 * debian/fontconfig.templates:
1868 Adopt changes from Josselin Mouette for configuration descriptions
1869 Update debian to version 2.3.1-2
1871 2005-03-08 Keith Packard <keithp@keithp.com>
1875 Update debian for 2.3.1
1877 2005-03-09 Tor Lillqvist <tml@novell.com>
1879 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1882 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1885 2005-03-08 Keith Packard <keithp@keithp.com>
1889 * fontconfig/fontconfig.h:
1892 2005-03-05 Keith Packard <keithp@keithp.com>
1894 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1895 Include space and remove numbers from valid script tags.
1896 This ensures that tags like 'lao ' work while rejecting
1897 those which have any digits.
1898 Eliminate a spurious debugging variable (len)
1900 2005-03-05 Keith Packard <keithp@keithp.com>
1902 * src/fcfreetype.c: (addtag), (GetScriptTags),
1903 (FcFontCapabilities):
1904 Rework GSUB/GPOS script parsing to survive broken fonts.
1905 Thanks for the broken font go to Manish Singh
1907 2005-03-05 Keith Packard <keithp@keithp.com>
1912 * debian/fontconfig.config:
1913 * debian/fontconfig.templates:
1915 Include 2.3 release information in changelog
1916 Add Josselin Mouette as an Uploader
1917 Set hinting_type to low priority configuration option
1920 * debian/fontconfig.postinst:
1921 yes_bitmaps.conf -> yes-bitmaps.conf
1927 2005-03-02 Keith Packard <keithp@keithp.com>
1930 * conf.d/Makefile.am:
1931 * conf.d/autohint.conf:
1932 * conf.d/no-sub-pixel.conf:
1933 * conf.d/sub-pixel.conf:
1934 * conf.d/unhinted.conf:
1935 * debian/autohint.conf:
1936 * debian/fontconfig.install:
1937 * debian/fontconfig.postinst:
1938 * debian/fontconfig.templates:
1939 * debian/no-sub-pixel.conf:
1940 * debian/unhinted.conf:
1941 Move debian-specific conf file examples upstream.
1943 Sub-pixel configuration examples must smash subpixel value
1944 as Xft always sets it from X.
1946 Change sub-pixel rendering debconf descriptions from
1947 Enable/Disable to Always/Never.
1949 2005-03-02 Keith Packard <keithp@keithp.com>
1952 * conf.d/.cvsignore:
1954 Ignore more build detritus
1957 Add debian package construction stuff.
1959 * config/config.guess:
1960 * config/config.sub:
1961 Update to newer versions of these tools
1964 Get library manuals to build again (we love automake).
1966 * debian/README.Debian:
1967 * debian/autohint.conf:
1972 * debian/fontconfig-udeb.install:
1973 * debian/fontconfig.config:
1974 * debian/fontconfig.defoma:
1975 * debian/fontconfig.dirs:
1976 * debian/fontconfig.install:
1977 * debian/fontconfig.postinst:
1978 * debian/fontconfig.postrm:
1979 * debian/fontconfig.templates:
1980 * debian/libfontconfig1-dev.install:
1981 * debian/libfontconfig1.install:
1982 * debian/local.conf.md5sum:
1983 * debian/no-sub-pixel.conf:
1984 * debian/po/POTFILES.in:
1993 * debian/po/pt_BR.po:
1994 * debian/po/templates.pot:
1996 * debian/po/zh_CN.po:
1998 * debian/unhinted.conf:
1999 Update debian build system to switch maintainers and
2000 deal with 2.3 functionality
2002 2005-03-01 Keith Packard <keithp@keithp.com>
2006 * fontconfig/fontconfig.h:
2009 2005-03-01 Keith Packard <keithp@keithp.com>
2012 Generate and install PDF versions of the manuals
2014 * doc/fcpattern.fncs:
2017 * doc/fcstring.fncs:
2018 Add missing exported functions, fix data types
2020 * doc/fontconfig-devel.sgml:
2021 Add missing pattern elements.
2023 * doc/fontconfig-user.sgml:
2024 Add missing pattern elements. Document conf.d usage,
2025 clarify available orthography list. Fix some config file
2026 attributes. Complete list of constants.
2028 * fontconfig/fontconfig.h:
2029 Mark FC_SOURCE deprecated.
2031 * src/fcfreetype.c: (FcFreeTypeQuery):
2032 Don't set FC_SOURCE any longer.
2034 2005-02-28 Keith Packard <keithp@keithp.com>
2037 * conf.d/Makefile.am:
2039 * conf.d/no-bitmaps.conf:
2040 * conf.d/sub-pixel.conf:
2041 * conf.d/yes-bitmaps.conf:
2043 Create prototype /etc/fonts/conf.d directory with a few
2044 sample configuration files.
2045 Deprecate use of local.conf for local customizations in favor of
2046 this directory based scheme which is more easily integrated into
2047 installation systems.
2050 Tag FC_EMBOLDEN as a boolean variable
2052 2005-02-10 Keith Packard <keithp@keithp.com>
2054 reviewed by: pborelli@katamail.com
2056 * src/fcdir.c: (FcFileScanConfig):
2057 Free patterns from fonts which are rejected by configuration
2060 2005-01-28 Keith Packard <keithp@keithp.com>
2064 * fontconfig/fontconfig.h:
2065 Update for version 2.2.99
2067 2005-01-28 Keith Packard <keithp@keithp.com>
2070 Add a few pointers (#2284, #2285)
2072 2005-01-28 Keith Packard <keithp@keithp.com>
2075 * src/fcname.c: (FcNameBool):
2076 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2077 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2078 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2079 Polite typechecking for test and edit expressions. Helps
2080 catch errors in the font configuration. (bug 229)
2082 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2084 reviewed by: Keith Packard <keithp@keithp.com>
2087 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2089 2005-01-13 Keith Packard <keithp@keithp.com>
2091 * doc/fontconfig-user.sgml:
2092 Add SEE ALSO section (bug 2085)
2094 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2096 reviewed by: Keith Packard <keithp@keithp.com>
2101 * fc-case/Makefile.am:
2102 * fc-glyphname/Makefile.am:
2103 * fc-lang/Makefile.am:
2104 * src/fontconfig.def.in:
2105 Cross compiling fixes (bug 280)
2107 2005-01-13 Keith Packard <keithp@keithp.com>
2110 Update blanks list (Closes bug 86)
2112 2005-01-04 Keith Packard <keithp@keithp.com>
2114 * src/fccache.c: (FcCacheFontSetAdd):
2115 Verify that every font pattern loaded from cache has
2116 both FC_FILE and FC_FAMILY entries.
2117 Attempt to fix bug #2219.
2119 2004-12-29 Keith Packard <keithp@keithp.com>
2123 * fontconfig/fontconfig.h:
2124 Update for version 2.2.98
2126 2004-12-29 Keith Packard <keithp@keithp.com>
2128 * fontconfig/fontconfig.h:
2129 Document ASCII limitations of Fc character conversion macros
2130 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2131 Fix off-by-one error in utf-8 case walking code.
2132 Add FcStrDowncase (useful for testing case conversion functions)
2134 2004-12-29 Keith Packard <keithp@keithp.com>
2137 * fc-case/.cvsignore:
2138 clean up CVS ignore lists
2139 * fc-lang/iso-3166.txt:
2140 Add territory database
2142 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2144 Reviewed by: Keith Packard
2147 Remove Han characters from Korean orthography
2149 2004-12-29 Keith Packard <keithp@keithp.com>
2152 Reorder utility programs to make sure fc-case is run before fc-lang
2153 as fc-lang uses fcstr.c which uses fccase.h
2157 2004-12-29 Keith Packard <keithp@keithp.com>
2160 Adopt some RedHat suggestions for standard font configuration.
2164 * fc-case/CaseFolding.txt:
2165 * fc-case/Makefile.am:
2166 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2167 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2168 (dump), (parseRaw), (caseFoldReadRaw), (main):
2169 * fc-case/fccase.tmpl.h:
2170 Add new helper program 'fc-case' to construct case folding
2171 tables from standard Unicode CaseFolding.txt file
2174 * src/fclist.c: (FcListValueHash):
2175 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2176 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2177 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2178 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2179 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2180 Re-implement case insensitive functions with Unicode
2181 aware versions (including full case folding mappings)
2183 2004-12-13 Keith Packard <keithp@keithp.com>
2185 reviewed by: Owen Taylor <otaylor@redhat.com>
2187 * src/fcmatch.c: (FcFontSetSort):
2188 I changed FcFontSetSort to respect the generic aliases better
2189 in the face of language matching.
2191 What I did was to ammend the strict sort order used by FcFontSort so
2192 that it 'satisfies' the language specified in the pattern by locating
2193 the best matching font supporting each pattern language and then
2194 ignores language in the remaining fonts for purposes of matching.
2196 So, when asking for 'sans:lang=en', you'll get an English font first,
2197 and then the remaining fonts sorted with respect to the 'sans' alias
2198 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2200 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2202 reviewed by: Keith Packard <keithp@keithp.com>
2204 * fontconfig/fontconfig.h:
2207 Configuration changes to request synthetic emboldening of
2208 fonts. The actual emboldening code will live in Xft.
2210 2004-12-09 John Thacker <thacker@math.cornell.edu>
2212 reviewed by: Keith Packard <keithp@keithp.com>
2216 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2217 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2218 и), and don't even appear in KOI8-R. (The hypothesis that they
2219 don't appear in KOI8-R due to their similarity with Latin I and i is
2220 eliminated by their presence in KOI8-U.) I have a couple of fonts
2221 with Russian support that don't have the letter.
2223 Therefore, 0406 and 0456 should be removed from or commented out of
2226 2004-12-06 michael meeks <mmeeks@novell.com>
2228 Reviewed by: Keith Packard <keithp@keithp.com>
2230 * src/fcinit.c: (FcMemReport):
2232 * src/fclist.c: (FcObjectSetAdd):
2233 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2234 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2235 * src/fcxml.c: (FcParsePatelt):
2236 memoize strings and share a single copy for all uses. Note that
2237 this could be improved further by using statically allocated blocks
2238 and gluing multiple strings together, but I'm basically lazy.
2239 In my environment with 800 font files, I get a savings of about 90KB.
2241 2004-12-06 Keith Packard <keithp@keithp.com>
2245 * config/Makedefs.in:
2248 * doc/fcatomic.fncs:
2249 * doc/fcblanks.fncs:
2250 * doc/fccharset.fncs:
2251 * doc/fcconfig.fncs:
2252 * doc/fcconstant.fncs:
2254 * doc/fcfontset.fncs:
2255 * doc/fcfreetype.fncs:
2257 * doc/fcmatrix.fncs:
2258 * doc/fcobjectset.fncs:
2259 * doc/fcobjecttype.fncs:
2260 * doc/fcpattern.fncs:
2261 * doc/fcstring.fncs:
2262 * doc/fcstrset.fncs:
2264 * doc/fontconfig-devel.sgml:
2265 * doc/fontconfig-user.sgml:
2267 * doc/version.sgml.in:
2268 * fc-cache/Makefile.am:
2269 * fc-cache/fc-cache.c:
2270 * fc-glyphname/Makefile.am:
2271 * fc-glyphname/fc-glyphname.c:
2272 * fc-glyphname/fcglyphname.tmpl.h:
2273 * fc-lang/Makefile.am:
2283 * fc-lang/az_ir.orth:
2317 * fc-lang/fc-lang.c:
2318 * fc-lang/fc-lang.man:
2319 * fc-lang/fclang.tmpl.h:
2364 * fc-lang/ku_ir.orth:
2397 * fc-lang/ps_af.orth:
2398 * fc-lang/ps_pk.orth:
2427 * fc-lang/ti_er.orth:
2428 * fc-lang/ti_et.orth:
2454 * fc-lang/zh_cn.orth:
2455 * fc-lang/zh_hk.orth:
2456 * fc-lang/zh_mo.orth:
2457 * fc-lang/zh_sg.orth:
2458 * fc-lang/zh_tw.orth:
2460 * fc-list/Makefile.am:
2461 * fc-list/fc-list.c:
2462 * fc-match/Makefile.am:
2463 * fc-match/fc-match.1:
2464 * fc-match/fc-match.c:
2465 * fontconfig/fcfreetype.h:
2466 * fontconfig/fcprivate.h:
2467 * fontconfig/fontconfig.h:
2488 Change files from ISO-Latin-1 to UTF-8
2490 2004-12-04 Keith Packard <keithp@keithp.com>
2493 Update links to new freedesktop.org locations
2495 Add uninstall-local to get rid of fonts.conf and local.conf if they
2496 match the distributed versions. Fixes 'make distcheck'
2498 2004-12-04 Keith Packard <keithp@keithp.com>
2502 * fontconfig/fontconfig.h:
2503 Updates for version 2.2.97
2505 2004-12-04 Owen Taylor <otaylor@redhat.com>
2507 reviewed by: Keith Packard <keithp@keithp.com>
2509 * fc-cache/fc-cache.c: (main):
2510 Sleep for two seconds before exiting to make sure timestamps
2511 for future changes have distinct mod times in the file system.
2514 Add Punjabi orthography. Bug #1671.
2516 2004-12-04 Keith Packard <keithp@keithp.com>
2519 Just remove the FC_FONTDATE -- it has locale issues and
2520 annoys redhat multi-arch installs. Now that all X fonts are
2521 included without prejudice, the chances of the date being at
2522 all interesting are rather limited. Bug #505.
2524 Add copyright and license
2526 2004-12-04 Keith Packard <keithp@keithp.com>
2529 Change default set of fonts to include all of
2530 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2531 * doc/fontconfig-user.sgml:
2532 Document new <include>directory-name</include> semantics
2534 add <include ignore_missing="yes">conf.d</include>
2536 Add selectfont to ignore bitmap fonts, add comment for
2537 selectfont which accepts bitmap fonts.
2540 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2541 Allow <include> configuration elements to reference directories.
2542 Parse and load all files of the form [0-9]* in sorted order.
2544 2004-12-04 Keith Packard <keithp@keithp.com>
2547 Report command line for $srcdir/configure accurately.
2550 2004-12-04 Keith Packard <keithp@keithp.com>
2552 * src/fcfreetype.c: (FcFreeTypeQuery):
2553 Check for non-empty face->family_name and face->style_name
2554 before using those for the font. Empty names match everything.
2557 2004-12-04 Keith Packard <keithp@keithp.com>
2560 * fontconfig/fontconfig.h:
2561 * src/fcfreetype.c: (FcFreeTypeQuery):
2563 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2564 available. This provides font file format information (BDF, Type 1,
2565 PCF, TrueType) for each font. Closes #109.
2567 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2569 reviewed by: Keith Packard <keithp@keithp.com>
2571 * doc/fontconfig-user.sgml:
2574 * fontconfig/fontconfig.h:
2575 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2576 (GetScriptTags), (FcFontCapabilities):
2578 Add detection for font capabilities (bug #105)
2580 2004-12-04 Keith Packard <keithp@keithp.com>
2583 Move existing fonts.conf to fonts.conf.bak
2586 Add detection of iconv
2588 * doc/fcpattern.fncs:
2589 * doc/fontconfig-devel.sgml:
2590 * doc/fontconfig-user.sgml:
2592 Document new selectfont elements
2595 Switch to UTF-8 in comment
2597 * fontconfig/fontconfig.h:
2599 Add fullname, and family/style/fullname language entries
2601 * src/fccache.c: (FcCacheFontSetAdd):
2602 * src/fcdir.c: (FcFileScanConfig):
2603 Respect selectfont/*/glob
2606 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2607 (FcConfigCompareValue), (FcConfigPatternsAdd),
2608 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2609 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2610 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2611 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2612 Add support for selectfont
2614 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2615 (FcStringInPatternElement), (FcFreeTypeQuery):
2616 Add multi-lingual family/style/fullname support
2618 * src/fclist.c: (FcListPatternMatchAny):
2619 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2621 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2622 (FcObjectStaticName):
2623 Add new FcPatternRemove/FcPatternAppend.
2624 FcObjectStaticName stores computed pattern element names which
2625 are required to be static.
2627 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2632 Remove spurious / after $(DESTDIR)
2634 2004-06-30 Keith Packard <keithp@keithp.com>
2638 * fontconfig/fontconfig.h:
2641 2004-06-30 Keith Packard <keithp@keithp.com>
2643 Provided by: Lubos Lunak <l.lunak@suse.cz>
2645 * src/fccfg.c: (FcConfigUptoDate):
2646 However FcConfigUptoDate() doesn't seem to work. See the attached
2647 patch. First there's an obvious misplaced parenthesis making it
2648 return always false, and second, even this call fails to detect font
2649 changes (e.g. adding a new font to
2650 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2651 well. The problem seems to be triggered by my fonts.conf specifying
2652 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2653 doesn't include subdirs, unlike config->fontDirs.
2655 2004-06-03 Keith Packard <keithp@keithp.com>
2657 * fontconfig/fontconfig.h:
2658 Remove comma at end of FcResult enum definition.
2660 2004-05-29 Keith Packard <keithp@keithp.com>
2663 Add steps to md5sum release
2665 2004-05-29 Keith Packard <keithp@keithp.com>
2669 * fontconfig/fontconfig.h:
2672 2004-05-29 Keith Packard <keithp@keithp.com>
2674 * fontconfig/fontconfig.h:
2675 * src/fcmatch.c: (FcFontSetMatch):
2676 Add FcResultOutOfMemory to provide an accurate error when
2677 FcFontSetMatch fails in this way
2680 Make #warning about lacking various FreeType features indicate
2681 which version those features appeared so users know how to
2682 fix the problem (Thanks to Anton Tropashko)
2684 2004-05-05 Keith Packard <keithp@keithp.com>
2686 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2687 Replace MIN/MAX/ABS macros which happen to have come
2688 from FreeType with fontconfig-specific ones (FC_*)
2690 2004-04-23 Keith Packard <keithp@keithp.com>
2693 Extend release preparation instructions to include
2694 notification and distribution steps
2696 2004-04-23 Keith Packard <keithp@keithp.com>
2700 * fontconfig/fontconfig.h:
2701 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2703 2004-04-23 Keith Packard <keithp@keithp.com>
2706 Ignore a few more autotool files
2708 2004-04-14 Keith Packard <keithp@keithp.com>
2711 Add instructions for doing a release
2713 * fontconfig.spec.in:
2714 clean up .spec file; perhaps this will be useful to somebody...
2718 * fontconfig/fontconfig.h:
2721 * fc-lang/fc-lang.c:
2722 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2724 * fc-glyphname/Makefile.am:
2725 * fc-lang/Makefile.am:
2726 * fc-list/Makefile.am:
2727 * fc-match/Makefile.am:
2729 Add WARN_CFLAGS to pass -W flags for GCC systems
2731 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2732 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2733 Change various char types around to match across
2735 Fixed bug in using available_sizes[i].height which
2736 is in pixels, not 64ths of a pixel.
2738 2004-03-06 Keith Packard <keithp@keithp.com>
2740 * src/fcfreetype.c: (FcFreeTypeQuery):
2741 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2742 matches looking for explicit values prefer exact matches
2744 2004-03-02 Keith Packard <keithp@keithp.com>
2746 Supplied by: mfabian@suse.de (Mike FABIAN)
2748 * src/fcfreetype.c: (FcFreeTypeQuery):
2749 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2750 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2752 2004-02-21 Manish Singh <yosh@gimp.org>
2754 * fc-glyphname/fc-glyphname.c: (main):
2755 Cast strlen to int for printf, so we're 64-bit clean.
2757 2004-02-11 Keith Packard <keithp@keithp.com>
2760 * src/fcfreetype.c: (FcGetPixelSize):
2761 Ok, so I messed up the test for y_ppem. Let's see if I
2762 got it right this time.
2764 2004-02-10 Keith Packard <keithp@keithp.com>
2767 * src/fcfreetype.c: (FcGetPixelSize):
2768 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2769 FT_Bitmap_Size record. Add a configure.in test for this
2770 and change the code accordingly (using height instead).
2772 2004-02-06 Keith Packard <keithp@keithp.com>
2775 Add Low Saxon orthography
2776 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2778 * src/fccfg.c: (FcConfigNewestFile):
2779 Oops. Left 'newest.set' unset, which would miscompute
2782 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2783 (FcFreeTypeCheckGlyph):
2784 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2785 font properties (which report the wrong value in current FreeType)
2787 Don't attempt to check for empty glyphs in non-scalable fonts; they
2790 2004-02-01 Tor Lillqvist <tml@iki.fi>
2792 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2793 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2794 cache if config->cache is NULL, which happens if FcConfigHome() is
2795 NULL. Guard against that by using the temp folder in that case.
2797 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2799 * fc-lang/az_ir.orth:
2800 * fc-lang/ku_ir.orth:
2801 * fc-lang/ps_af.orth:
2802 * fc-lang/ps_pk.orth:
2803 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2804 (Afghan and Pakistani).
2806 Updated Urdu orthography with real data.
2808 2003-12-11 Carl Worth <cworth@east.isi.edu>
2810 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2813 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2815 (all-local): Remove excessive whitespace.
2817 * autogen.sh: Add 'set -e' to abort when any program fails,
2818 (avoids printing of 'now type make' after configure aborts).
2820 2003-11-17 Eric Christopherson <rakko@charter.net>
2822 reviewed by: Keith Packard <keithp@keithp.com>
2825 * fontconfig/fcfreetype.h:
2827 Switch to FreeType 2.1.7 style includes. Bug #150.
2829 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2831 * fc-list/fc-list.sgml: Add some example usages.
2833 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2836 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2839 2003-10-27 Keith Packard <keith@keithp.com>
2842 * fontconfig/fontconfig.h:
2843 Update to version 2.2.92
2845 2003-10-27 Keith Packard <keithp@keithp.com>
2850 * fc-cache/Makefile.am:
2851 * fc-glyphname/Makefile.am:
2852 * fc-lang/Makefile.am:
2853 * fc-list/Makefile.am:
2854 * fc-match/Makefile.am:
2857 Yet more cleanups to finish getting 'make distcheck' working
2858 This has been tested to ensure that it even works from a _build
2861 2003-10-26 Keith Packard <keithp@keithp.com>
2865 * fc-cache/Makefile.am:
2866 * fc-glyphname/Makefile.am:
2867 * fc-lang/Makefile.am:
2868 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2869 * fc-list/Makefile.am:
2870 * fc-match/Makefile.am:
2871 Attempts to fix 'make distcheck' work. Things are
2872 progressing pretty well, but there are still failures
2873 long into the process dealing with docs (as always).
2875 The big changes here are mostly to make $(srcdir) != "."
2876 work correctly, fixing the docbook related sections and
2877 fc-lang were particularily tricky. Docbook refuses to load
2878 system entities from anywhere other than where the original .sgml
2879 file was located, so no luck looking in "." for the
2880 configure-generated version.sgml and confdir.sgml files.
2882 fc-lang needed help finding .orth files; added a -d option
2883 to set the directory as the least evil of many options.
2885 Now to go use a faster machine and try and wring out the last
2888 2003-10-26 Keith Packard <keithp@keithp.com>
2892 2003-10-26 Keith Packard <keithp@keithp.com>
2895 Include confdir.sgml.in in EXTRA_DIST
2897 2003-10-09 Josselin Mouette <joss@debian.org>
2899 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2900 * fc-list/fc-list.sgml fc-list/Makefile.am:
2901 Replace fc-cache and fc-list manpages with more detailed, SGML
2904 2003-09-23 Owen Taylor <otaylor@redhat.com>
2906 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2907 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2908 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2911 2003-09-23 Owen Taylor <otaylor@redhat.com>
2913 * fc-lang/ka.orth: Remove Georgian capitals, they
2914 aren't used for normal writing. (Bug #116)
2916 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2918 * doc/fontconfig-devel.sgml:
2919 * doc/fontconfig-user.sgml:
2920 * fontconfig/fontconfig.h:
2922 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2923 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2925 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2926 monospace and dual-width fonts, allow roughly a 3% variance in the
2929 2003-08-31 Manish Singh <yosh@gimp.org>
2931 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2934 2003-08-15 Carl Worth <cworth@isi.edu>
2936 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2937 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2939 * src/fcpat.c (FcValueListEntDestroy): New function to support
2940 FcFini memory cleanup. Some statistics are not kept in
2942 (FcValueListFreeze): Move hashTable outside this function so it
2943 can be accessed by FcValueListThawAll.
2944 (FcValueListThawAll): New function complements FcValueListFreeze.
2945 (FcPatternBaseFreeze): Move hashTable outside this function so it
2946 can be accessed by FcPatternBaseThawAll.
2947 (FcPatternBaseThawAll): New function complements
2948 FcPatternBaseFreeze.
2949 (FcPatternThawAll): New function complements FcPatternFreeze.
2951 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2953 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2954 allocated FcCharLeafEnt "blocks" so they can be freed later.
2955 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2956 can be accessed by FcCharSetThawAllLeaf.
2957 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2958 (FcCharSetFreezeBase): Move hashTable outside this function so it
2959 can be accessed by FcCharSetThawAll.
2960 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2962 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2963 (FcConfigDestroy): Fic leak of FcBlanks.
2965 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2966 (main): Add call to FcFini when finished.
2968 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2969 static. Add prototypes.
2971 * doc/fcinit.fncs: Add documentation for FcFini function.
2973 * doc/edit-sgml.c: Mark several local functions as static. Add
2976 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2978 2003-06-15 Tor Lillqvist <tml@iki.fi>
2980 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2981 before comparing (needed on Windows).
2983 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2985 2003-06-13 Tor Lillqvist <tml@iki.fi>
2987 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2990 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2991 WINDOWSFONTDIR token.
2993 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2994 end, not to confuse libtool, which expects the EXPORTS line to be
2995 the first. Add FcConfigEnableHome.
2997 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2998 built as a DLL on Win32.
3000 2003-06-09 Keith Packard <keithp@keithp.com>
3002 * Tag version 2.2.90
3004 2003-06-09 Keith Packard <keithp@keithp.com>
3006 * Optimization in FcLangSetIndex was broken, occasionally
3007 returning a pointer to the wrong location on miss
3009 * Add fc-match to test font matching from the command line.
3011 2003-05-31 Keith Packard <keithp@keithp.com>
3013 * (Bug 85) add support for culmus fonts
3014 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3015 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3017 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3019 * Fix "contains" op for strings and langsets.
3021 2003-05-17 Keith Packard <keithp@keithp.com>
3023 * Fix build error with BDF prop local. Free langset after query
3025 2003-05-14 Keith Packard <keithp@keithp.com>
3027 * Extract spacing from XLFD atom
3029 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3031 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3032 disappeared in 1.30.
3034 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3036 2003-05-12 Keith Packard <keithp@keithp.com>
3038 * Use FcIsWidth to share code
3040 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3041 misclassifying some Han fonts as monospaced.
3043 2003-05-07 Keith Packard <keithp@keithp.com>
3045 * Add filename-based accept/reject to ammend available fonts.
3047 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3048 older FreeType releases.
3050 2003-05-06 Keith Packard <keithp@keithp.com>
3052 * Remove 0b82 and Tamil numbers from tamil
3053 orthography (Jungshik Shin <jshin@mailaps.org>)
3055 2003-05-04 Keith Packard <keithp@keithp.com>
3057 + Map glyph names in fonts with adobe custom encoding to unicode
3059 2003-05-02 Keith Packard <keithp@keithp.com>
3061 * Add FC_WEIGHT_BOOK as weight 75
3063 2003-04-30 Keith Packard <keithp@keithp.com>
3065 * Typo in bitstream foundry name
3067 2003-04-24 Keith Packard <keithp@keithp.com>
3069 * Eliminate italic_angle check for PS fonts
3071 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3073 * Getting closer to fixing /etc/fonts hard-coding.
3075 2003-04-22 Keith Packard <keithp@keithp.com>
3077 * Update autogen.sh to work with newer automake versions
3078 * Handle pattern elements moving during multiple edits
3080 2003-04-23 James Henstridge <james@daa.com.au>
3082 * doc/fontconfig-devel.sgml: close the <para> element.
3084 * doc/fcpattern.fncs: close the <para> element.
3086 * doc/func.sgml: close the <refsynopsisdiv> element.
3088 2003-04-22 Keith Packard <keithp@keithp.com
3090 * Update autogen.sh to work with newer automake versions
3091 * Handle pattern elements moving during multiple edits
3093 2003-04-17 Colin Walters <walters@debian.org>
3095 + Remove some unused variables, and initialize some other ones so
3096 gcc doesn't warn us.
3098 2003-04-16 Keith Packard <keithp@keithp.com>
3100 + tag version 2.1.94
3102 2003-04-16 Keith Packard <keithp@keithp.com>
3104 + add BDF property fetching support for foundry
3105 (from Juliusz Chroboczek)
3106 + add BDF property fetching support for width
3108 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3110 + Implemented foundry generation for Type 1 and TrueType
3112 2003-04-11 Gerard Escalante <g2@magestudios.net>
3114 + Retrieve information from Type1 FontInfo dictionaries
3116 2003-04-07 Colin Walters <walters@verbum.org>
3118 + src/Makefile.am: Fix dummy makefile target names when
3119 MS_LIB_AVAILABLE isn't set.
3121 2003-03-22 Tor Lillqvist <tml@iki.fi>
3123 Changes for Windows:
3125 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3127 + We don't want to hardcode the fonts.conf file location in the
3128 DLL, so we look up the DLL location at run-time in a DllMain()
3129 function. The fonts.conf location is deduced from that.
3131 + The colon can't be used as path separator on Windows,
3132 semicolon is used instead. File path components can be separated
3133 with either slash or backslash. Absolute paths can also begin
3134 with a drive letter.
3136 + Add internal function FcStrLastSlash that strrchr's the last
3137 slash, or backslash on Windows.
3139 + There is no link() on Windows. For atomicity checks, mkdir a
3140 lock directory instead.
3142 + In addition to HOME, also look for USERPROFILE.
3144 + Recognize the special font directory token WINDOWSFONTDIR, to
3145 use the system's font directory.
3147 + Remove the fontconfig-def.cpp that was obsolete. Add
3148 fontconfig.def(.in), without internal functions.
3150 + Add a fontconfig-zip(.in) script, used to build a binary
3153 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3154 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3155 to main package and man3/* to devel package
3157 + Added missing defattr(-, root, root) to main RPM package
3159 + Added HTML and text development documentation to -devel subpackage
3161 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3162 + Added back the configure macro options --disable-docs, otherwise
3163 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3164 version number) unconditionally, causing RPM to fail the build due
3165 to _unpackaged_files_terminate_build. We pick up the pregenerated
3166 docs with %doc already.
3168 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3169 + Removed commented out rpm macro define at top of spec file,
3170 replacing it with a simple explanation, since rpm macros are
3171 expanded by rpm even in comments.
3173 + Changed /usr/bin to _bindir in BuildRequires lines
3175 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3177 + Reorganized file manifest lists
3179 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3181 + fontconfig.spec.in: Improvements from Red Hat spec file.
3183 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3185 + docs/*.sgml: SGML fixes.
3187 Sat Mar 1 17:28:53 PST 2003 keithp
3188 + Ok, so the ChangeLog is a bit out of date
3190 + Lots of bugs fixed; most are in bugzilla, the
3191 biggest problems were in cache management where
3192 Owen discovered the library would lose badly when
3193 combining fonts-cache and ~/.fonts-cache data
3195 + Converted from autoconf to automake. This after
3196 getting patches accepted into libtool to allow
3197 the '-version-number' argument which lets
3198 packages set version numbers explicitly rather
3199 than the roundabout libtool way
3201 + Converted documentation to SGML using the docbook
3202 DTD. Now .txt and .html documents are installed
3203 in /usr/share/doc/fontconfig and there's no
3204 man page. Perhaps a man version can be written
3207 Sat Aug 31 15:21:22 PDT 2002 keithp
3208 + Xrender and Xft had several bugs related to
3209 rendering manually placed or poly-face text
3211 + Added more complete memory tracing in fontconfig
3212 Checked with (patched) mozilla and found no leaks
3214 + Updated Latin orthographies by comparing those from
3215 evertype.com with those from eki.ee. Tried to make
3216 sensible choices, including chars that occured in both
3217 and leaving some optional chars out that occured only
3220 Mon Aug 26 16:33:04 PDT 2002 keithp
3221 + Owen discovered that FcLangSetHasLang wasn't actually
3222 checking the language set.
3224 Mon Aug 26 13:37:23 PDT 2002 keithp
3225 + Append a version number to cache filenames
3227 Thu Aug 22 11:36:18 PDT 2002 keithp
3229 + Add "contains" and "not_contains" operators and elements to
3232 + Changed semantics of eq operator for LangSets to check for
3233 FcLangEqual so that any match will do
3235 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3236 of FcValueEqual to check for identical values when inserting into
3237 the results. This broke when the above semantic change was made,
3238 now it uses FcValueEqual which is "more correct" in any case.
3240 Thu Aug 22 00:32:29 PDT 2002 keithp
3242 + Reimplement FC_LANG as new datatype. Lists of strings
3243 was consuming over a megabyte of memory for 401 fonts.
3245 + Freeze patterns loaded from cache files. This shares
3246 common value lists and common patterns which saves
3247 considerable memory.
3249 + Change the denotation of 'constant' charsets to use special
3250 ref value instead of separate boolean.
3252 + Clean up leak tracing stuff, found several unannoted alloc/free
3255 Tue Aug 20 16:17:37 PDT 2002 keithp
3257 + Fix memory leak when parsing matrices from XML
3259 Mon Aug 19 11:57:27 PDT 2002 keithp
3261 + Fix autoconf files to pass FONTCONFIG_PATH on
3262 compile line so that ${prefix} gets substituted
3265 + Use getc_unlocked/putc_unlocked on systems that
3266 provide them to avoid damage done to stdio by posix
3268 + Eliminate FC_PATTERN and FcTypePattern in favor of
3269 an extended api for FcConfigSubstitute which takes
3270 both the font and the pattern.
3272 + Add 'sans serif' alias for 'sans-serif' as some apps
3273 can't handle hyphens in family names
3275 + Eliminate pretense of support for libxml2
3277 + Comment origins of Han orthographies
3279 Tue Jul 30 18:37:09 PDT 2002 keithp
3281 + Add binding property to edit element so that strong
3282 binding values may be inserted by the config file.
3283 The default remains weak.
3285 Sun 28 Jul 04:16:55 PDT 2002 keithp
3287 + Tagged release candidate 1 in the CVS tree and
3288 placed fcpackage.rc1.tar.gz for distribution
3290 Thu Aug 1 08:55:08 PDT 2002 keithp
3292 + Fixed autoconf builds to always specify install
3293 target files (for BSD). Also fixed to
3294 define FONTCONFIG_PATH in config.h so that
3295 nonstandard installs will actually work.