1 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
4 * src/fccharset.c: (FcCharSetPutLeaf):
5 * src/fclang.c: (FcNameUnparseLangSet):
7 Missing bits from previous patches.
9 * src/fccharset.c (FcCharSetSubtractCount):
10 Remove extra semi-colon.
12 * src/fccfg.c: (FcConfigBuildFonts):
13 Fix memory leak in error case (Coverity defects #776, #985).
15 * src/fcxml.c: (FcPopBinary, FcParsePatelt, FcParsePattern):
16 Fix memory leaks (Coverity defects #779, #781)
17 and memory use after free (Coverity defect #780).
19 2006-04-11 Patrick Lam <plam@mit.edu>
20 * src/fccharset.c (FcCharSetPutLeaf):
22 Properly convert static charsets to dynamic charsets.
24 2006-04-11 Frederic Crozat <fcrozat@mandriva.com>
27 * src/fcpat.c: (FcValueListEntCreate, FcPatternBaseFreeze,
29 Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
31 * src/fclang.c: (FcNameUnparseLangSet):
32 Fix memory leak (Coverity defect #1819).
34 * fc-lang/fc-lang.c: (scan):
35 prevent crash when invalid include line is parsed (Coverity defect
38 * fc-cat/fc-cat.c: (FcCacheFileRead):
39 Fix potential null pointer access (Coverity defect #1804).
41 * src/fcname.c: (FcObjectUnserialize):
42 Remove dead code (Coverity defect #1194).
44 * src/fcfreetype.c: (GetScriptTags):
45 Prevent potential null pointer access (Coverity defect #767),
46 ensure error value is read (Coverity defect #1195).
48 2006-04-11 Behdad Esfahbod <behdad@cs.toronto.edu>
53 Survive missing docbook2pdf.
55 2006-04-10 Patrick Lam <plam@mit.edu>
57 * fc-glyphname/fc-glyphname.c:
60 Include more stub definitions to make HP-UX's C compiler happy.
62 2006-04-10 Patrick Lam <plam@mit.edu>
63 * src/fcname.c (FcObjectUnserialize):
65 Swap typo in order of ALIGN and dereferencing, fixing bug 6529.
67 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
70 * src/fccfg.c: (FcConfigEvaluate):
71 Fix string memory leak (Coverity defect #1823).
73 * src/fccache.c: (FcDirCacheUnlink):
74 Fix memory leak with hash collision (Coverity defect #1824).
76 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
79 * src/fccache.c: (FcGlobalCacheSave):
80 Don't leak header in non-error case (Coverity defect #1825).
82 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
85 * src/fcdir.c (FcDirScanConfig)
86 Don't leak in error cases (Coverity defects #777, #1826)
88 2006-04-10 Frederic Crozat <fcrozat@mandriva.com>
91 * src/fccache.c: (FcDirCacheWrite):
92 Fix double free (spotted by Coverity, CID #1965).
94 * fc-match/fc-match.c: (main):
95 Check if pattern is not null before using it (Coverity defect #1883).
97 * src/fccache.c: (FcDirCacheWrite):
98 Fix memory leak with hash collision (Coverity defect #1829).
100 * src/fccfg.c: (FcConfigBuildFonts):
101 Fix memory leak when bail cases (Coverity defect #1828).
103 * src/fccache.c: (FcGlobalCacheLoad):
104 Don't leak directory name (Coverity defect #1827).
106 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
108 * fc-cache/Makefile.am:
109 * fc-cat/Makefile.am:
110 * fc-list/Makefile.am:
111 * fc-match/Makefile.am:
113 LD_ADD missing dependencies for binaries. Reported by
116 2006-04-07 Patrick Lam <plam@mit.edu>
118 * fc-lang/fc-lang.c (main):
120 SGI compilation fixes (reported by Christoph Bauer):
121 1) reorder union definition of _FcChar;
124 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
127 * src/fccharset.c (FcCharSetNeededBytes):
128 * src/fcfs.c (FcFontSetNeededBytes):
130 * src/fclang.c (FcLangSetNeededBytesAlign):
131 * src/fcname.c (FcObjectNeededBytesAlign):
132 * src/fcpat.c (FcPatternNeededBytesAlign,
133 FcValueListNeededBytesAlign, FcStrNeededBytesAlign):
135 Portability fixes for HP-UX (reported by Christoph Bauer).
136 Replace '__inline__' by AC_C_INLINE and 'inline'.
137 Replace '__alignof__' by 'fc_alignof'.
139 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
143 Move up #include of config.h.
144 Fail if neither inttypes.h nor stdint.h is available.
147 2006-04-07 Dominic Lachowicz <cinamod@hotmail.com>
148 Patrick Lam <plam@mit.edu>
150 * fc-cache/fc-cache.c:
152 * src/fccache.c (FcGlobalCacheSave, FcCacheNextOffset,
153 FcDirCacheConsume, FcDirCacheProduce,
154 FcDirCacheWrite, FcCacheMachineSignature):
155 * src/fcfreetype.c (FcFreeTypeQuery):
156 * src/fontconfig.def.in:
158 Make fontconfig compile under MinGW:
159 1) remove unneeded #includes;
160 2) make use of mmap and sysconf conditional;
161 3) replace rand_r by srand/rand if needed;
162 4) use chsize instead of ftruncate; and
163 5) update libtool exports file
165 2006-04-07 Patrick Lam <plam@mit.edu>
166 * src/fcdir.c (FcDirScanConfig):
170 2006-04-06 Patrick Lam <plam@mit.edu>
171 * fc-match/.cvsignore:
172 * fc-match/Makefile.am:
173 * fc-match/fc-match.sgml:
175 Update documentation for fc-match (SGML-ize it).
176 (reported by Ilya Konstantinov)
178 2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
184 Reduce amount of dirty rss by const'ing some data structures.
186 2006-04-06 Patrick Lam <plam@mit.edu>
187 * fc-cache/Makefile.am:
189 Don't fail if we can't create or remove
190 $(pkgcachedir) i.e. /var/cache/fontconfig.
191 (reported by Quanah Gibson-Mount).
193 2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
196 * fc-glyphname/fc-glyphname.c:
197 * fc-lang/fc-lang.c (main):
198 * fc-match/fc-match.c:
199 * src/fccache.c (FcGlobalCacheSave, FcCacheSkipToArch,
201 * src/fcfreetype.c (FcFreeTypeQuery):
202 * src/fclang.c (FcFreeTypeLangSet):
205 Fix intel compiler warnings: make many variables static,
206 eliminate duplicate names, reduce variable scopes, unsigned/signed
209 2006-03-24 Mike Fabian <mfabian@suse.de>
211 * src/fccache.c (FcGlobalCacheLoad, FcCacheSkipToArch):
213 Fix multiarch support (don't destroy multiarch files!)
215 2006-03-24 Patrick Lam <plam@mit.edu>
218 Require pkg-config. (Thanks Behdad;
219 better solution wanted for libxml2 detection!)
221 2006-03-22 Patrick Lam <plam@mit.edu>
224 On Windows, unlink before rename. Reported by Tim Evans.
226 2006-03-15 Patrick Lam <plam@mit.edu>
230 Fix typos in orth files. Reported by Denis Jacquerye.
232 2006-03-08 Patrick Lam <plam@mit.edu>
234 * config/config.guess:
237 Fix Makefile.am for removal of debian/ directory.
239 2006-03-08 Patrick Lam <plam@mit.edu>
242 Ignore debian/ directory for CVS.
244 2006-03-08 Patrick Lam <plam@mit.edu>
247 Now remove debian/ directory.
249 2006-03-08 Patrick Lam <plam@mit.edu>
252 Remove debian/ directory from sources. See Debian's subversion
253 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
256 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
260 * fc-lang/iso639-1, fc-lang/iso639-2:
262 Add orthography for Lingala.
264 2006-03-08 Carl Worth <cworth@cworth.org>
267 * conf.d/Makefile.am:
268 * conf.d/10LohitGujarati.conf:
270 Add a configuration file that disables hinting for the Lohit
271 Gujarati font (since the hinting distort some glyphs quite badly).
273 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
276 * src/fcdir.c (FcDirScanConfig):
278 Sort directory entries while scanning them from disk;
279 prevents Heisenbugs due to file ordering in a directory.
281 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
284 * src/fcfreetype.c (GetScriptTags):
285 * src/ftglue.c, src/ftglue.h:
287 Remove stuff we don't use, make get_{char,short,long} functions
288 of ftglue macros to be inlined.
291 * src/fcname.c (FcObjectSerialize):
293 Code cleanups (excess prototype, old-style function definition).
295 2006-03-05 Patrick Lam <plam@mit.edu>
296 * src/fcpat.c (FcPatternGetString):
298 Because we hacked FcPatternGet, we don't really need to expand the
299 filename again in FcPatternGetString.
301 2006-03-05 Patrick Lam <plam@mit.edu>
302 * src/fcpat.c (FcPatternGetString, FcPatternGet):
304 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
305 Make that work. Reported by Bernhard Rosenkraenzer.
307 2006-03-03 Patrick Lam <plam@mit.edu>
310 Include inttypes.h instead of stdint.h if appropriate.
312 2006-03-03 Patrick Lam <plam@mit.edu>
313 * fc-cat/fc-cat.c (FcFileIsDir):
314 * fc-glyphname/fc-flyphname.c:
316 More stub definitions and remove FcFileIsDir from fc-cat.
318 2006-03-03 Patrick Lam <plam@mit.edu>
321 Fix compilation on AIX with stub definitions (bug 6097).
323 2006-03-03 Patrick Lam <plam@mit.edu>
324 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
325 * src/fcfreetype.c (GetScriptTags):
326 * src/fcfs.c (FcFontSetDistributeBytes):
327 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
329 Get rid of C++-style comments.
331 2006-03-03 Patrick Lam <plam@mit.edu>
334 Enable creation of 2.3.94 Debian packages.
336 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
339 * src/fclang.c (FcCharSetForLang):
341 Fix suspicious return expression which causes junk
344 2006-02-24 Patrick Lam <plam@mit.edu>
348 * fontconfig/fontconfig.h:
350 Bump version to 2.3.94.
352 2006-02-24 Patrick Lam <plam@mit.edu>
357 2006-02-24 Patrick Lam <plam@mit.edu>
358 * conf.d/10-fonts-persian.conf:
360 Remove unconditional emboldening (per Behdad's instructions).
364 Add @s to hide some echos.
366 2006-02-24 Mike Fabian <mfabian@suse.de>
367 Takashi Iwai <tiwai@suse.de>
370 * src/fcfreetype.c (GetScriptTags):
372 Fix double-free on error case.
374 2006-02-21 Patrick Lam <plam@mit.edu>
375 * fc-lang/fc-lang.c (scan):
377 Strip \r and whitespace from input; fixes bug 3454.
379 2006-02-21 Patrick Lam <plam@mit.edu>
380 * fc-lang/fc-lang.c (main):
382 Allocate large arrays statically in fc-lang to fix crashes under
385 2006-02-21 Diego Petten <flameeyes@gentoo.org>
386 * src/fcfreetype.c (FcFreeTypeCharIndex):
388 Pass the buck; make fontconfig not crash on pango badness.
390 2006-02-21 Patrick Lam <plam@mit.edu>
391 * conf.d/10-fonts-persian.conf:
393 Use embeddedbitmap rather than rh_prefer_bitmap.
395 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
398 * src/fccache.c (FcDirCacheWrite):
399 * src/fcdir.c (FcFileScanConfig):
400 * src/fcfreetype.c (FcStringInPatternElement):
401 * src/fcxml.c (FcParseFamilies):
402 * src/ftglue.c (ftglue_face_goto_table):
404 Eliminate redundancies.
406 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
409 * fc-list/fc-list.c (main):
410 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
411 * src/fcstr.c (FcStrStr):
412 * src/fcxml.c (FcConfigSaveAttr):
414 Eliminate unused vars reported by Intel's compiler.
416 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
421 Remove one more archaic character.
423 2006-02-21 Ross Burton <ross@burtonini.com>
424 reviewed by: plam, keithp
426 * src/fcxml.c (FcParsePatelt):
428 Freeze patterns created by configuration file for tiny
429 memory savings (every little bit helps).
431 2006-02-21 Mike Fabian <mfabian@suse.de>
434 * fc-cat/fc-cat.c (main):
436 Initialize fontconfig library in fc-cat to avoid segfault.
438 2006-02-18 Patrick Lam <plam@mit.edu>
439 * fc-cache/fc-cache.c (scanDirs):
440 * src/fccache.c (FcCacheReadDirs):
441 * src/fcdir.c (FcDirScanConfig):
443 Fix the underlying cause of the below segfault (must usually
444 call FcDirCacheHasCurrentArch after FcDirCacheValid).
446 2006-02-18 Patrick Lam <plam@mit.edu>
447 * src/fccache.c (FcDirCacheHasCurrentArch):
449 Fix triggering of segfault caused by misreading cache files
450 (reported by fcrozat).
452 2006-02-17 Patrick Lam <plam@mit.edu>
453 * src/fcint.h (FC_CACHE_MAGIC):
455 Bump up magic version; we changed the binary format.
457 2006-02-17 Patrick Lam <plam@mit.edu>
458 * fc-cat/fc-cat.c (main):
460 Enable fc-cat to print out old-style cache info when given a
463 2006-02-16 Patrick Lam <plam@mit.edu>
464 * src/fccache.c (FcDirCacheHasCurrentArch):
466 Deal correctly with changing FC_CACHE_MAGIC.
468 2006-02-16 Patrick Lam <plam@mit.edu>
469 * fc-cache/fc-cache.c (usage, scanDirs, main):
471 Add -r --really-force option which blows away cache files and then
474 2006-02-16 Patrick Lam <plam@mit.edu>
475 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
477 Don't bail if fontconfig can't remove a dir cache file.
478 Skip the ID of a cache file when copying.
479 Eliminate 'source file too small' bug in FcDirCacheWrite.
481 2006-02-13 Patrick Lam <plam@mit.edu>
482 * src/fcfreetype.c (FcFreeTypeQuery):
484 Fix memory leak in error condition code.
486 2006-02-13 Mike Fabian <mfabian@suse.de>
488 * src/fcfreetype.c (FcFreeTypeQuery):
490 Skip bitmap fonts which can't even get it together enough to
491 declare a family name; this appears to reproduce previous
492 fontconfig behaviour.
494 2006-02-10 Takashi Iwai <tiwai@suse.de>
496 * src/fccache.c (FcDirCacheOpen):
498 Try to open /var/cache/fontconfig/[hashed name] before
499 fonts.cache-2 in a directory, because /var/cache/fontconfig
500 failures ought to be fixable, unlike fonts.cache-2 failures,
501 which may leave you screwed.
503 2006-02-10 Takashi Iwai <tiwai@suse.de>
505 * src/fcmatch.c (FcFontSetMatch):
507 Use a tri-state to mark the fonts which didn't get blocked but
508 were just missing an element, to distinguish them from the
509 fonts that do match the element.
511 2006-02-10 Takashi Iwai <tiwai@suse.de>
513 * src/fcmatch.c (FcFontSetMatch):
515 Don't kill fonts because they don't declare an element that's
518 2006-02-09 Patrick Lam <plam@mit.edu>
519 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
520 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
522 Define and pass O_BINARY to open if appropriate, for those
523 platforms that need it. Reported by Doodle.
525 2006-02-09 Patrick Lam <plam@mit.edu>
526 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
529 Fix problem with missing 'en' due to euro.patch: change
530 cache file format slightly to coincide with that generated
533 2006-02-07 Patrick Lam <plam@mit.edu>
534 * src/fccache.c (FcCacheReadDirs):
538 2006-02-07 Patrick Lam <plam@mit.edu>
539 * src/fcdir.c (FcDirScanConfig):
541 Don't reject dirs that can't be normalized (fixes lilypond, and
542 is correct in the context of application font directories.)
544 2006-02-07 Takashi Iwai <tiwai@suse.de>
547 * src/fccache.c (FcCacheReadDirs):
549 Use normalized directory name exclusively in FcCacheReadDirs.
551 2006-02-07 Dirk Mueller <dmueller@suse.com>
554 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
556 Perf optimizations. Inline FcValueCanonicalize,
557 reduce FcValueListPtrU usage, remove redundant cast.
559 2006-02-07 Takashi Iwai <tiwai@suse.de>
562 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
565 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
566 Declare extern for static arrays as arrays, not pointers.
567 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
569 2006-02-07 Dirk Mueller <dmueller@suse.com>
582 Add Euro sign to list of symbols required by European languages.
584 2006-02-07 Patrick Lam <plam@mit.edu>
585 * src/fccache.c (FcCacheReadString):
587 Fix hidden variable warning.
589 2006-02-07 Dirk Mueller <dmueller@suse.com>
592 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
594 Remove de-escaping logic because FcCacheWriteString
595 doesn't escape anyway. Do blockwise reading instead
596 of byte-wise for performance.
598 2006-02-06 Patrick Lam <plam@mit.edu>
599 Takashi Iwai <tiwai@suse.de>
601 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
603 Don't loop infinitely on recursive symlinks (client-side).
605 2006-02-06 Takashi Iwai <tiwai@suse.de>
607 * fc-cache/fc-cache.c (scanDirs, main):
609 Don't loop infinitely on recursive symlinks.
611 2006-02-06 Takashi Iwai <tiwai@suse.de>
613 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
614 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
615 FcGlobalCacheSave, FcCacheReadDirs):
618 Skip subdirs when skipping over stale bits of global cache.
619 Introduce state machine into FcGlobalCacheDir to avoid
620 doing inappropriate operations on global dir entries, e.g.
621 writing out an out-of-date cache entry.
623 2006-02-06 Takashi Iwai <tiwai@suse.de>
625 * src/fcdir.c (FcFileScanConfig):
627 Hoist FcFileIsDir check out of FcFileScanConfig loop.
629 2006-02-06 Takashi Iwai <tiwai@suse.de>
632 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
633 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
635 Don't rescan when trying to normalize a non-declared font dir.
636 Don't add font dirs multiple times (even if they're aliased).
638 2006-02-06 Dirk Mueller <dmueller@suse.de>
641 * src/fcfs.c (FcFontSetUnserialize):
643 Explain apples/oranges comparison and fix compilation error.
645 2006-02-06 Dirk Mueller <dmueller@suse.de>
648 * src/fcfs.c (FcFontSetUnserialize):
650 Insert check for integer overflow in # of fonts.
652 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
656 * fc-cache/Makefile.am:
657 * fc-cat/Makefile.am:
658 * fc-list/Makefile.am:
660 Make 'make distcheck' work with automake 1.6.3.
662 2006-02-03 Takashi IWAI <tiwai@suse.de>
665 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
668 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
669 FcDirCacheConsume, FcDirCacheWrite)
670 * src/fcxml.c (FcConfigMessage):
672 Check I/O call return values and eliminate unused variable
675 2006-02-03 Takashi Iwai <tiwai@suse.de>
678 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
682 2006-02-03 Dirk Mueller <dmueller@suse.de>
685 * src/fcfs.c (FcFontSetUnserialize):
687 Gracefully handle the case where a cache asserts that it
688 has a negative number of fonts, causing overflow.
690 2006-02-03 Patrick Lam <plam@mit.edu>
691 * src/fccache.c (FcDirCacheUnlink):
693 Fix double free in error case.
695 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
696 Stephan Kulow <coolo@suse.de>
699 * fc-cache/Makefile.am:
701 Replace 'stamp' target with mkinstalldirs.
703 2006-01-31 Mike Fabian <mfabian@suse.de>
706 * src/fccache.c (FcGlobalCacheLoad):
708 Toast broken global cache files.
710 2006-01-30 Patrick Lam <plam@mit.edu>
711 * src/fccache.c (FcGlobalCacheReadDir):
713 Actually use the directories that I added to the global cache.
716 2006-01-30 Mike Fabian <mfabian@suse.de>
719 * fc-cache/fc-cache.c (scanDirs):
721 Don't stop scanning if a directory in fonts.conf doesn't
722 exist, because subsequent directories might exist.
724 2006-01-30 Patrick Lam <plam@mit.edu>
725 * src/fccache.c (FcGlobalCacheLoad):
727 Make global cache work again after putting dir names into global
728 cache (I misplaced the recording of a file offset).
730 2006-01-30 Patrick Lam <plam@mit.edu>
731 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
733 Update fc-cat to handle subdir lists in global cache file.
735 * src/fccache.c (FcGlobalCacheLoad):
737 Another FcCacheReadString return value check.
739 2006-01-30 Mike Fabian <mfabian@suse.de>
742 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
743 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
745 Make fccache more resilient to broken cache files by checking
746 return value of FcCacheReadString all the time.
748 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
751 * fc-match/fc-match.1:
752 * fc-lang/fc-lang.man:
754 Remove references to dead fontconfig(3) manpages in
755 other fontconfig manpages.
757 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
760 * doc/fcpattern.fncs:
762 Fix world's tiniest typo in code example.
764 2006-01-29 Mike Fabian <mfabian@suse.de>
767 * src/fccache.c (FcGlobalCacheReadDir):
769 Fix global cache reads of subdirectories.
771 2006-01-29 Patrick Lam <plam@mit.edu>
773 Add documentation for FcConfigNormalizeFontDir.
775 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
776 FcGlobalCacheUpdate, FcGlobalCacheSave):
777 * src/fcdir.c (FcDirScanConfig):
780 Write directory information to global caches to fix make check
781 (reported by Ronny V. Vindenes). This changes the global cache
784 2006-01-27 Patrick Lam <plam@mit.edu>
785 * fc-cache/fc-cache.c (scanDirs):
786 * fontconfig/fontconfig.h:
788 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
790 Move FcConfigNormalizeFontDir call so that it doesn't result in
791 infinite recursion (reported by Ronny V. Vindenes).
793 2006-01-26 Patrick Lam <plam@mit.edu>
794 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
795 * src/fccfg.c (FcConfigNormalizeFontDir):
797 Add a couple of missing normalizations to make fc-cache work
798 right; only scan subdirectories once.
800 2006-01-26 Mike Fabian <mfabian@suse.de>
803 * src/fcacache.c (FcGlobalCacheReadDir):
805 Don't crash on non-existant directories in global cache.
807 2006-01-26 Patrick Lam <plam@mit.edu>
808 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
809 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
810 * src/fcdir.c (FcDirScanConfig):
811 * src/fcxml.c (FcEndElement):
813 Stop trampling the directory name when writing out caches.
814 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
815 subdirs when necessary. Don't scan directories that can't be
818 2006-01-25 Patrick Lam <plam@mit.edu>
819 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
820 * src/fccfg.c (FcConfigEvaluate):
821 * src/fcfreetype.c (FcPatternAddWithBinding):
823 Fix additional memory leaks reported by Ronny V. Vindenes: don't
824 invoke FcValueSave on hashed static strings in
825 FcPatternAddWithBinding.
827 Add another st_dev check in FcDirCacheOpen.
829 2006-01-24 James Su <james.su@gmail.com>
832 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
833 * fc-lang/zh_hk.orth:
835 Treat zh-hk fonts differently from zh-tw fonts. This patch may
836 cause fontconfig to treat A-X fonts differently from A-Y fonts;
837 please mail the fontconfig list if this causes any problems.
839 2006-01-24 Patrick Lam <plam@mit.edu>
840 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
841 * src/fcfreetype.c (FcFreeTypeQuery):
843 Fix memory leaks reported by Ronny V. Vindenes.
845 2006-01-19 Andreas Schwab <schwab@suse.de>
848 * src/fcpat.c (FcStrNeededBytes):
850 Fix for unaligned memory accesses.
852 2006-01-18 Mike Fabian <mfabian@suse.de>
855 * src/fcdir.c (FcDirScanConfig):
857 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
858 calls to avoid crashes.
860 2006-01-14 Patrick Lam <plam@mit.edu>
861 * src/fccache.c (FcDirCacheConsume):
863 Fix segfault when consuming zero-length caches in fc-cat
864 (which has no config, so FcConfigAddFontDir shouldn't be called.)
866 2006-01-14 Patrick Lam <plam@mit.edu>
867 * fc-cache/fc-cache.c (scanDirs):
868 * fontconfig/fontconfig.h:
869 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
870 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
871 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
872 * src/fcdir.c (FcDirScanConfig):
875 Compare device numbers as well as inodes.
876 Always normalize directory names before comparing them.
878 2006-01-11 Mike Fabian <mfabian@suse.de>
881 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
883 Allocate extra space for appended '/' in directory name.
885 2006-01-10 Patrick Lam <plam@mit.edu>
886 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
887 FcDirCacheValid, FcDirCacheHasCurrentArch,
888 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
889 * fc-cache/fc-cache.c (main):
891 Explicitly add font dirs to config.fontDirs even if they're empty.
892 Set current config in fc-cache.c.
893 Fix treatment of cache directory as read from cache file; don't
894 use string equality to determine if we have the right file,
897 2006-01-09 Patrick Lam <plam@mit.edu>
898 * fc-cache/fc-cache.c (scanDirs):
899 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
900 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
901 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
902 * src/fccfg.c (FcConfigNormalizeFontDir):
903 * src/fcdir.c (FcDirScanConfig):
906 Normalize font dirs by using the form, as given in fonts.conf, and
907 recorded in FcConfig's fontDirs string set, as canonical.
909 Actually update config.fontDirs as font directories are scanned.
911 2006-01-08 James Su <james.su@gmail.com>
912 * src/fcmatch.c (FcFontSetMatch):
914 Fix matching bug when multiple elements match; don't use
915 the sum of all scores, but the best score.
917 Also more perf opts, e.g. evaluate best over all font sets
918 rather than on a per-set basis (and other changes).
920 2006-01-08 Patrick Lam <plam@mit.edu>
921 * src/fccache.c (FcDirCacheConsume):
923 Properly skip past dir caches that contain zero fonts (as occurs
924 in global caches.) Reported by Mike Fabian.
926 2006-01-06 Patrick Lam <plam@mit.edu>
927 * src/fcdbg.c (FcPatternPrint):
929 Print out full pathname in fc-match -v as well. Reported by
932 2006-01-06 Mike Fabian <mfabian@suse.de>
935 * src/fcname.c (FcNameParse):
937 Fix bug where fc-match crashes when given __DUMMY__ property to
940 (I added the __DUMMY__ string to enable callers of
941 FcObjectToPtrLookup to distinguish an error return from a
942 successful return. -PL)
944 2006-01-05 Patrick Lam <plam@mit.edu>
947 Add self to AUTHORS list.
949 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
950 FcCacheFileRead, FcCachePrintSet, main):
951 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
952 FcGlobalCacheSave, FcCacheNextOffset,
953 FcDirCacheHasCurrentArch, FcDirCacheRead,
954 FcDirCacheConsume, FcDirCacheWrite):
956 * src/fcpat.c (comment):
958 Minor change to global cache file format to fix fc-cat bug
959 reported by Frederic Crozat, and buglet with not globally caching
960 directories with zero fonts cached.
962 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
965 * src/fccfg.c (FcConfigEvaluate):
967 Fix double-free which occurs because FcValueCanonicalize doesn't
968 create an extra copy of the returned value, it only canonicalizes
971 2006-01-02 Patrick Lam <plam@mit.edu>
972 * doc/fontconfig-user.sgml:
974 Fix version of .cache file (currently 1 -> currently 2). Reported
977 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
980 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
982 Shut up GCC warnings on amd.
984 2005-12-20 Patrick Lam <plam@mit.edu>
988 * fontconfig/fontconfig.h:
990 Bump version to 2.3.93.
992 2005-12-20 Patrick Lam <plam@mit.edu>
993 * src/fccharset.c (FcLangCharSetPopulate):
994 * src/fcint.h (FcCacheBankToIndex):
996 Avoid check on _fcBankId nullness and fix case where it used to
999 2005-12-20 Patrick Lam <plam@mit.edu>
1000 * src/fcxml.c (FcConfigParseAndLoad):
1002 Use open instead of fopen (requested by Phil Race for Sun).
1004 2005-12-20 Patrick Lam <plam@mit.edu>
1005 * src/fccache.c (FcDirCacheWrite);
1006 * fc-cache/Makefile.am:
1008 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
1011 2005-12-20 Patrick Lam <plam@mit.edu>
1012 * src/fcfreetype.c (FcFreeTypeQuery):
1014 Restore code to skip over PCF fonts that have no encoded
1016 (We guess that a font is PCF by presence of the PIXEL_SIZE
1019 2005-12-12 Patrick Lam <plam@mit.edu>
1020 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
1022 Read and write the original location as a fallback for the
1023 hashed cache file locations. This is mostly for users to be
1024 able to have per-directory cache files.
1026 2005-12-12 Patrick Lam <plam@mit.edu>
1027 * fc-cache/fc-cache.c (scanDirs):
1028 * fc-cache/Makefile.am:
1029 * src/fccache.c (FcDirCacheHashName):
1031 Improve error message when fc-cache can't write the cache. Add
1032 missing slash. Reported by Behdad. Incorporate Behdad's patch to
1033 create /var/cache/fontconfig when appropriate.
1035 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
1038 * src/fcxml.c (FcConfigGetAttribute):
1040 Fix crash reported by Frederic Crozat when using libxml2.
1042 2005-12-09 Patrick Lam <plam@mit.edu>
1045 * fc-cache/Makefile.am:
1046 * fc-cat/Makefile.am:
1048 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
1049 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
1050 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
1051 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
1052 FcDirCacheHasCurrentArch, FcDirCacheHashName,
1053 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
1055 Migrate cache files from fonts directories to
1056 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
1057 but requires that all caches get rebuilt.
1059 Also, autogen.sh now needs the additional parameter
1060 --localstatedir=/var.
1062 2005-12-07 Patrick Lam <plam@mit.edu>
1063 * src/fcpat.c (FcPatternAddString):
1065 Because we've changed FcPatternAddString to use FcStrStaticName
1066 and not FcValueSave, explicitly handle the case of a null string.
1068 2005-12-06 Patrick Lam <plam@mit.edu>
1069 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
1073 2005-12-05 Patrick Lam <plam@mit.edu>
1074 * src/fcname.c (FcNameGetObjectType):
1076 Don't assign types to user object names.
1078 2005-12-05 Patrick Lam <plam@mit.edu>
1079 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
1081 Don't free strings that have been returned from FcStrStaticName.
1083 2005-12-01 Patrick Lam <plam@mit.edu>
1084 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
1086 Add codepath for reading global cache files as well.
1088 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
1091 * conf.d/10-fonts.persian.conf:
1092 * conf.d/Makefile.am:
1094 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
1096 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
1099 * src/fcxml.c (FcConfigParseAndLoad):
1101 Only add a config file to the set of config files once.
1103 2005-11-29 Patrick Lam <plam@mit.edu>
1104 * src/fcint.h (FcCacheBankToIndex);
1106 Fix segfault by guarding array dereference.
1108 2005-11-29 Dirk Mueller <dmueller@suse.de>
1111 * fc-lang/fc-lang.c:
1112 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
1113 FcCacheBankToIndex, FcCacheBankToIndexMTF,
1117 Refactor FcCacheBankToIndex into an inlineable part
1118 (in fcint.h) which checks the front of the list and a
1119 non-inlineable part which finds and moves the appropriate element
1120 to the front of the list.
1122 2005-11-29 Patrick Lam <plam@mit.edu>
1123 * src/fccfg.c (FcConfigBuildFonts):
1124 * src/fccache.c (FcCacheReadDirs):
1126 Make the perf guys hate me a bit less: hoist the directory-name
1127 FcConfigAcceptFont check for cached fonts up to directory cache
1128 read time, rather than running it for each font.
1130 2005-11-29 Patrick Lam <plam@mit.edu>
1131 * src/fccfg.c (FcConfigBuildFonts):
1133 * src/fcpat.c (FcPatternFindFullFname):
1135 Don't make FcPatternFindFullFname available to fccfg, it's not
1136 really safe. Instead go through FcPatternGetString (sorry,
1137 perf guys.) Also, use globs for dirs as well.
1139 2005-11-28 Patrick Lam <plam@mit.edu>
1140 * src/fccfg.c (FcConfigBuildFonts):
1144 2005-11-28 Patrick Lam <plam@mit.edu>
1146 * src/fcpat.c (FcPatternFindFullFname):
1147 * src/fccfg.c (FcConfigBuildFonts):
1149 Fix problem dating back at least to 2.3.2 where globs weren't
1150 being applied to patterns loaded from a cache.
1152 2005-11-28 Patrick Lam <plam@mit.edu>
1153 * doc/fontconfig-user.sgml:
1155 Fix some obvious spelling mistakes.
1157 2005-11-28 Dirk Mueller <dmueller@suse.com>
1158 Stephan Kulow <coolo@suse.de>
1161 * src/fcmatch.c (FcFontSetMatch):
1163 Don't kill all fonts during match (oops!)
1166 2005-11-25 Dirk Mueller <dmueller@suse.com>
1167 Stephan Kulow <coolo@suse.de>
1168 Michael Matz <matz@suse.de>
1171 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
1174 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
1175 inline FcCompare into FcFontSetMatch and reorder the
1176 loops, adding a boolean array which blocks patterns from future
1177 consideration if they're known to not be best on some past
1180 2005-11-26 Dirk Mueller <dmueller@suse.com>
1183 * src/fcmatch.c (FcCompareValueList):
1185 Fix incorrect merge.
1187 2005-11-25 Patrick Lam <plam@mit.edu>
1188 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
1190 Don't do random matching when bad objects are passed into
1193 2005-11-25 Patrick Lam <plam@mit.edu>
1195 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
1196 FcPatternSerialize, FcPatternUnserialize,
1197 FcValueListEnsureBank, FcValueListDistributeBytes,
1198 FcValueListUnserialize):
1200 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
1201 _fcPatternElts, _fcValueLists for consistency.
1203 2005-11-25 Dirk Mueller <dmueller@suse.com>
1208 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
1210 2005-11-25 Patrick Lam <plam@mit.edu>
1212 * src/fccache.c (FcDirCacheConsume):
1213 * src/fccharset.c (FcCharSetUnserialize):
1214 * src/fcfs.c (FcFontSetUnserialize):
1215 * src/fclang.c (FcLangSetUnserialize):
1216 * src/fcname.c (FcObjectUnserialize):
1217 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
1218 FcPatternUnserialize):
1220 Pass around FcCache *s to the Unserialize functions for extra
1221 consistency (and less overhead, for what that's worth).
1223 2005-11-24 Dirk Mueller <dmueller@suse.com>
1227 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1228 * src/fcname.c (FcNameUnparseValue):
1230 Inline the *PtrU functions to gain perf.
1231 Remove unneeded params for the FcCompare* functions.
1233 2005-11-24 Dirk Mueller <dmueller@suse.com>
1236 * src/fcint.h, fontconfig/fontconfig.h:
1238 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1240 * src/fcpat.c, src/fcint.h, src/fcname.c:
1242 Check for type validity during FcPatternAddWithBinding, don't
1243 verify type in FcFontMatch, don't call FcCanonicalize here
1244 (which always does a deep copy).
1246 2005-11-24 Dirk Mueller <dmueller@suse.com>
1249 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1250 * src/fcpat.c (FcPatternAddWithBinding):
1252 Make FcCompareString and FcCompareFamily less expensive.
1253 Only add a value for FC_FAMILY if the proposed value is a string.
1255 2005-11-24 Dirk Mueller <dmueller@suse.com>
1258 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1259 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1260 * src/fcint.h (FcDebug):
1262 Inline FcDebug invocations and only initialize once, in FcInit*.
1263 Improve debug msg in FcPatternPrint.
1265 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1268 * fontconfig/fontconfig.h:
1271 Minor code warning cleanups.
1273 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1276 * fc-match/fc-match.c (main):
1278 Make getopt_long accept -s parameter to fc-match as well.
1280 2005-11-21 Dirk Mueller <dmueller@suse.com>
1283 * src/fcmatch.c (FcCompareValueList):
1285 Manually perform inlining & partial redundancy elimination to
1286 reduce calls to FcValueListPtrU.
1288 2005-11-21 Dirk Mueller <dmueller@suse.com>
1291 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1292 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1294 Only invoke strlen() when really necessary.
1296 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1300 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1301 FcFontCapabilities):
1305 Get rid of the use of freetype internal headers in fcfreetype.c,
1306 since those headers will go away with freetype 2.2. Replace with
1307 public domain ftglue code from pango. Note that the patch removes
1308 some extra error checking in FT_Get_BDF_Property() and comments
1309 out the skipping of empty pcf fonts.
1311 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1314 * fc-lang/fc-lang.c (main):
1316 Further fix of patch from 2005-11-04: miscounted numbers count
1317 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1318 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1320 Removed leafidx_count and numbers_count since they are the same
1321 and replaced them with offset_count.
1323 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1326 * fc-cat/fc-cat.c (main):
1328 Don't crash when fc-cat invoked with no arguments.
1330 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1333 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1335 Fix invalid read access caused by premature free and
1336 GCC4 warnings in libxml2 codepath.
1338 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1341 * src/fccfg.c (FcConfigValues):
1343 List iteration not needed in FcConfigValues, since it's building
1344 up the list itself; we can just strip FcVoid elements during
1347 2005-11-17 Patrick Lam <plam@mit.edu>
1348 * src/fccfg.c (FcConfigValues):
1350 Fix crash on invalid constants in config files (forgot to update
1351 a pointer upon list iteration.)
1353 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1356 * src/fcxml.c (FcTypecheckExpr):
1358 Complain about invalid constants in config files.
1360 2005-11-17 Andreas Schwab <schwab@suse.de>
1363 * src/fccache.c (FcGlobalCacheSave):
1365 Don't add current_arch_start more than once.
1367 2005-11-16 Patrick Lam <plam@mit.edu>
1368 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1369 * src/fcfs.c (FcFontSetUnserialize):
1370 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1371 * src/fcpat.c (FcStrUnserialize):
1373 Fix ordering of ALIGN with respect to saving block_ptr; add
1374 another ALIGN to fcfs.c.
1376 2005-11-16 Patrick Lam <plam@mit.edu>
1377 * src/fccache.c (FcDirCacheProduce)
1379 Fix case where alignment bytes bumped up metadata->count
1380 causing unwarranted failures to write cache files.
1381 (Reported by Stephan Kulow).
1383 2005-11-16 Patrick Lam <plam@mit.edu>
1384 * src/fccache.c (FcDirCacheProduce):
1385 * src/fccharset.c (FcCharSetDistributeBytes):
1386 * src/fcfs.c (FcFontSetDistributeBytes):
1388 * src/fclang.c (FcLangSetDistributeBytes):
1389 * src/fcname.c (FcObjectDistributeBytes):
1390 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1393 Add *NeededBytesAlign(), which overestimates the padding which is
1394 later added by the new ALIGN macro. Fix alignment problems on
1395 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1396 version by Andreas Schwab).
1398 2005-11-16 Stephan Kulow <coolo@kde.org>
1403 Use sysconf to determine proper PAGESIZE value; this
1404 appears to be POSIX-compliant. (reported by Andreas Schwab)
1406 2005-11-04 Patrick Lam <plam@mit.edu>
1407 * fc-lang/fc-lang.c:
1412 Fix bug 2878 (excessive relocations at startup for charsets,
1413 reported by Ross Burton): fc-lang/fc-lang now creates the
1414 static form of the langset, not the dynamic form, so that
1415 the charsets should now be in .rodata.
1417 2005-11-04 Patrick Lam <plam@mit.edu>
1418 * src/fcdir.c (FcDirScanConfig):
1420 Add test for validity of directory caches that
1421 somehow got lost (reported by make distcheck).
1423 2005-11-04 Patrick Lam <plam@mit.edu>
1427 * fontconfig/fontconfig.h:
1429 Bump version to 2.3.92.
1431 2005-11-02 Patrick Lam <plam@mit.edu>
1432 * src/fcpat.c (FcPatternDuplicate):
1434 Fix argument ordering problem in call to FcPatternTransferFullFname.
1436 2005-11-02 Patrick Lam <plam@mit.edu>
1437 * src/fcfreetype.c (FcFreetypeQuery):
1438 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1439 FcPatternTransferFullFname):
1441 Fix warnings and embarrassing double-free error.
1443 2005-11-02 Zhe Su <zsu@novell.com>
1448 Change the rule for artificial emboldening in fonts.conf.in. This
1449 enables the support for artificial emboldening included in cairo.
1451 2005-11-02 Patrick Lam <plam@mit.edu>
1452 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1454 Don't zero out full names for FC_REF_CONSTANT fonts;
1455 also, duplicate full names when transferring, and free
1456 full names when freeing the associated font.
1457 Reported by Jinghua Luo.
1459 2005-11-02 Patrick Lam <plam@mit.edu>
1460 * fc-cache/fc-cache.c (scanDirs):
1461 * src/fcpat.c (FcValueListSerialize):
1463 Revert the previous patch and commit the correct patch:
1464 I forgot a canonicalization in FcValueListSerialize, so
1465 that it would choke on already-serialized input files. Duh!
1467 2005-11-02 Patrick Lam <plam@mit.edu>
1468 * fc-cache/fc-cache.c (scanDirs):
1470 Forcibly rescan a directory before writing a fresh local
1471 cache file for that directory, fixing the losing-fonts
1472 problem reported by Mike Fabian and also apparently the
1473 font cache file corruption.
1475 2005-11-02 Patrick Lam <plam@mit.edu>
1476 * src/fccache.c (FcGlobalCacheLoad):
1478 Fix thinko: actually, the whole global cache is stale
1479 if the global cache is older than the (newest) config file.
1481 2005-11-02 Patrick Lam <plam@mit.edu>
1482 * src/fccache.c (FcGlobalCacheLoad):
1483 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1486 Declare the global cache of a directory's contents to be stale if
1487 the directory is newer than the (newest) configuration file.
1489 2005-10-31 Patrick Lam <plam@mit.edu>
1491 * src/fclist.c (FcListAppend):
1492 * src/fcmatch.c (FcFontRenderPrepare):
1493 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1494 FcPatternFreeze, FcPatternBaseFreeze):
1496 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1497 applications continue breaking.
1499 2005-10-31 Patrick Lam <plam@mit.edu>
1500 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1501 * src/fcfreetype.c (FcFreeTypeQuery):
1503 Fix small memory error (tried to free argv); use basename and
1504 dirname correctly (they can modify their arguments).
1506 2005-10-31 Patrick Lam <plam@mit.edu>
1514 Reinstate basename patch, but keep a hash table linking FcPatterns
1515 to their fully-qualified font names for clients' benefit. Clients
1516 only pay for the font names once they request the FC_FILE property
1517 from an FcPattern, but the font name is malloc'd at that point (i.e.
1518 not mmapped: that's impossible, since it may vary between machines.)
1519 Clients do have to pay for a copy of the path name per cache file.
1521 Note that FcPatternGetString now does some rewriting if you ask
1522 for an FC_FILE, appending the pathname as appropriate.
1524 2005-10-31 Patrick Lam <plam@mit.edu>
1525 * src/fcfreetype.c (FcFreeTypeQuery):
1527 Revert basename patch, which breaks fontconfig clients on my system.
1529 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1532 * fontconfig/fonts.conf.in:
1533 * fontconfig/fontconfig.h:
1537 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1538 to load embedded bitmaps or not.
1540 2005-10-25 Patrick Lam <plam@mit.edu>
1541 * src/fcfreetype.c (FcFreeTypeQuery):
1543 Only add basename to patterns' FC_FILE element, not any part of
1546 2005-10-22 Patrick Lam <plam@mit.edu>
1549 Add some more consts, fixing more GCC4 warnings.
1551 2005-10-22 Zhe Su <zsu@novell.com>
1554 Support localized font family and style names.
1555 This has been reported to break old apps like xfd, but modern
1556 (gtk+/qt/mozilla) apps work fine.
1558 2005-10-21 Patrick Lam <plam@mit.edu>
1559 * src/fccache.c (FcGlobalCacheLoad):
1561 Destroy the global cache file if it's terminally broken. (reported by
1564 2005-10-21 Patrick Lam <plam@mit.edu>
1565 * fc-list/fc-list.c (main):
1566 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1567 * fontconfig/fontconfig.h:
1569 Prevent fc-list from escaping strings when printing them (reported by
1572 2005-10-20 Marcus Meissner <meissner@suse.de>
1575 * fontconfig/fontconfig.h:
1577 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1579 2005-10-14 Ross Burton <ross@burtonini.com>
1582 * fc-glyphname/fc-glyphname.c:
1585 Add consts to variables so as to move arrays into .rodata.
1587 2005-10-14 Mike Fabian <mfabian@suse.de>
1590 * src/fccache.c (FcDirCacheUnlink):
1592 Check existence of directory cache file before attempting to unlink.
1594 2005-10-13 Patrick Lam <plam@mit.edu>
1595 * src/fccache.c (FcDirCacheUnlink):
1597 Fix flipped return value on unlink. (Reported by Mike Fabian)
1599 2005-10-12 Patrick Lam <plam@mit.edu>
1602 * src/fcdir.c (FcDirScanConfig):
1605 When fc-cache is run without --force, use directory cache files
1606 to speed up fc-cache run time. (Reported by Mike Fabian)
1608 2005-10-06 Patrick Lam <plam@mit.edu>
1610 * src/fcname.c (FcObjectToPtr):
1611 * src/fcpat.c (FcStrStaticName):
1613 Add padding to make valgrind and glibc not hate each other
1614 when calling strlen().
1616 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1617 reviewed by: plam & keithp
1621 Modify config file to use Greek fonts before Asian fonts with
1624 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1625 reviewed by: plam & keithp
1629 Use libtool -no-undefined flag on all platforms.
1631 2005-10-05 Patrick Lam <plam@mit.edu>
1632 * src/fccache.c (FcCacheHaveBank):
1634 Implement move-to-front array for banks (perf regression
1635 reported by Ronny V. Vindenes).
1637 2005-10-04 Patrick Lam <plam@mit.edu>
1638 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1639 FcDirCacheHasCurrentArch):
1640 * fc-cache/fc-cache.c (scanDirs):
1641 * fontconfig/fontconfig.h:
1643 Add new API which unlinks directory caches and checks dir caches
1644 for existence of appropriate sections. Fix fc-cache to unlink
1645 stale cache files and save directory caches that lack relevant
1648 2005-10-03 Patrick Lam <plam@mit.edu>
1649 * src/fccache.c (FcDirCacheValid):
1651 Ensure that a directory cache has the appropriate section
1652 before reporting that it is valid (reported by Matthias Clasen).
1654 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1662 Use libxml2 if requested (with --enable-libxml2) or if
1663 expat is not available.
1665 2005-09-29 Patrick Lam <plam@mit.edu>
1666 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1668 Fix multi-arch cache files: compute the position for the
1669 block to be added using info from OrigFile, not NewFile.
1671 2005-09-28 Patrick Lam <plam@mit.edu>
1672 * src/fccache.c (FcCacheMachineSignature):
1674 Cast results of sizeof() to unsigned int to get rid of
1675 warnings on x86_64 (thanks Matthias Clasen).
1677 2005-09-27 Patrick Lam <plam@mit.edu>
1678 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1681 Use FcAtomic to rewrite cache files.
1683 2005-09-27 Patrick Lam <plam@mit.edu>
1685 * src/fccache.c (FcDirCacheWrite):
1687 Don't unlink the fonts.cache-2 file even if there's no data
1688 to write; just write an empty cache file. (thanks Lubos Lunak)
1690 2005-09-27 Patrick Lam <plam@mit.edu>
1692 * src/fccache.c (FcDirCacheWrite):
1694 Allocate room for the subdirectory names in each
1695 directory cache. Thanks to James Cloos for finding
1696 and diagnosing this bug!
1698 2005-09-22 Patrick Lam <plam@mit.edu>
1700 * fc-cache/fc-cache.sgml:
1701 * src/fccache.c (FcDirCacheWrite):
1702 * src/fccache.h (struct FcCache):
1704 Update documentation -- fc-cache's man page now says that you
1705 need to run fc-cache once per cached architecture; add some
1706 documentation to the FcCache structure.
1708 Make fc-cache write out fonts.cache-2 files for directories with
1709 no fonts (i.e. only subdirectories).
1711 2005-09-22 Patrick Lam <plam@mit.edu>
1713 * fc-cache/fc-cache.sgml:
1714 * fc-case/fc-case.c:
1715 * fc-glyphname/fc-glyphname.c:
1721 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1725 * fc-lang/fc-lang.c:
1726 * fontconfig/fcprivate.h:
1727 * fontconfig/fontconfig.h:
1741 Implement new mmaped cache for font information.
1742 Bump so revision to 2.3.90.
1744 2005-07-25 Keith Packard <keithp@keithp.com>
1746 * doc/fontconfig-user.sgml:
1747 * fc-glyphname/fc-glyphname.c: (scan), (main):
1748 * fc-lang/fc-lang.c: (FcConfigHome):
1749 * fc-match/fc-match.c: (main):
1750 * src/fccfg.c: (FcConfigHome):
1751 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1752 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1753 (addtag), (FcFontCapabilities):
1754 * src/fcpat.c: (FcValueListEntCreate):
1755 * src/fcstr.c: (FcStrCaseWalkerInit):
1756 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1758 Various GCC 4 cleanups for signed vs unsigned char
1760 Match only [0-9]*.conf files in <include>{directory}</include>
1761 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1763 2005-07-15 Carl Worth <cworth@cworth.org>
1766 * src/fcinit.c: (FcFini):
1767 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1770 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1771 Pull the FcObjectStateName hash table out to file scope, and add
1772 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1775 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1778 2005-06-16 Patrick Lam <plam@MIT.EDU>
1782 * src/fccfg.c: (FcConfigCompareValue):
1783 Make FcOpNotContains use FcStrStr for strings so that
1784 it matches semantics for !FcOpContains.
1786 2005-05-20 Keith Packard <keithp@keithp.com>
1790 Move fontconfig source package to libs as per override
1792 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1794 reviewed by: Mike Fabian
1797 The ka.orth file requires several characters which are not
1798 used anymore in modern Georgian and which are missing in the free
1799 Georgian TrueType fonts downloadable at:
1801 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1803 2005-04-27 Keith Packard <keithp@keithp.com>
1807 Update date to real 2.3.2 release date.
1808 Fix change attributions
1810 2005-04-27 Keith Packard <keithp@keithp.com>
1813 Bump so revision for 2.3.2
1814 * fc-cache/fc-cache.c: (scanDirs):
1815 Fix a few minor leaks in error cases.
1817 2005-04-23 Keith Packard <keithp@keithp.com>
1822 * fontconfig/fontconfig.h:
1823 Update for version 2.3.2
1825 2005-04-21 Keith Packard <keithp@keithp.com>
1827 * debian/fontconfig.postinst:
1828 Don't force bitmap font enable in default
1829 configuration; allows users to override this in
1839 * debian/po/pt_BR.po:
1840 * debian/po/templates.pot:
1842 * debian/po/zh_CN.po:
1843 Updated translations
1845 * fc-cache/fc-cache.c: (main):
1846 Destroy font configuration on exit to help valgrind
1849 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1850 (FcFreeTypeCheckGlyph):
1851 Use own transcoding routines in preference to iconv
1852 which appears to have leaks in some translators.
1853 Call iconv_close after using iconv (oops).
1855 Prefer unicode encoding of Euro char as some
1856 fonts mis-encode Euro in other ones.
1858 Must fetch bitmap glyphs to get width values
1859 to check for monospace/dual-width fonts.
1861 2005-04-13 Ross Burton <ross@burtonini.com>
1864 Check that a pattern isn't already frozen in FcPatternFreeze.
1866 2005-03-31 Ross Burton <ross@burtonini.com>
1871 Run all FcPattern objects through FcObjectStaticName, so that
1872 compares can be done on pointers instead of strings (#2659)
1874 2005-03-17 Tor Lillqvist <tml@novell.com>
1876 * src/fontconfig.def.in: Add the .dll to the dll name.
1878 2005-03-10 Keith Packard <keithp@keithp.com>
1880 * debian/README.Debian:
1881 Update to reflect configuration changes
1883 * debian/fontconfig.postinst:
1884 Fix Autohint vs Autohinter mistake
1885 * debian/fontconfig.templates:
1886 Adopt changes from Josselin Mouette for configuration descriptions
1887 Update debian to version 2.3.1-2
1889 2005-03-08 Keith Packard <keithp@keithp.com>
1893 Update debian for 2.3.1
1895 2005-03-09 Tor Lillqvist <tml@novell.com>
1897 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1900 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1903 2005-03-08 Keith Packard <keithp@keithp.com>
1907 * fontconfig/fontconfig.h:
1910 2005-03-05 Keith Packard <keithp@keithp.com>
1912 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1913 Include space and remove numbers from valid script tags.
1914 This ensures that tags like 'lao ' work while rejecting
1915 those which have any digits.
1916 Eliminate a spurious debugging variable (len)
1918 2005-03-05 Keith Packard <keithp@keithp.com>
1920 * src/fcfreetype.c: (addtag), (GetScriptTags),
1921 (FcFontCapabilities):
1922 Rework GSUB/GPOS script parsing to survive broken fonts.
1923 Thanks for the broken font go to Manish Singh
1925 2005-03-05 Keith Packard <keithp@keithp.com>
1930 * debian/fontconfig.config:
1931 * debian/fontconfig.templates:
1933 Include 2.3 release information in changelog
1934 Add Josselin Mouette as an Uploader
1935 Set hinting_type to low priority configuration option
1938 * debian/fontconfig.postinst:
1939 yes_bitmaps.conf -> yes-bitmaps.conf
1945 2005-03-02 Keith Packard <keithp@keithp.com>
1948 * conf.d/Makefile.am:
1949 * conf.d/autohint.conf:
1950 * conf.d/no-sub-pixel.conf:
1951 * conf.d/sub-pixel.conf:
1952 * conf.d/unhinted.conf:
1953 * debian/autohint.conf:
1954 * debian/fontconfig.install:
1955 * debian/fontconfig.postinst:
1956 * debian/fontconfig.templates:
1957 * debian/no-sub-pixel.conf:
1958 * debian/unhinted.conf:
1959 Move debian-specific conf file examples upstream.
1961 Sub-pixel configuration examples must smash subpixel value
1962 as Xft always sets it from X.
1964 Change sub-pixel rendering debconf descriptions from
1965 Enable/Disable to Always/Never.
1967 2005-03-02 Keith Packard <keithp@keithp.com>
1970 * conf.d/.cvsignore:
1972 Ignore more build detritus
1975 Add debian package construction stuff.
1977 * config/config.guess:
1978 * config/config.sub:
1979 Update to newer versions of these tools
1982 Get library manuals to build again (we love automake).
1984 * debian/README.Debian:
1985 * debian/autohint.conf:
1990 * debian/fontconfig-udeb.install:
1991 * debian/fontconfig.config:
1992 * debian/fontconfig.defoma:
1993 * debian/fontconfig.dirs:
1994 * debian/fontconfig.install:
1995 * debian/fontconfig.postinst:
1996 * debian/fontconfig.postrm:
1997 * debian/fontconfig.templates:
1998 * debian/libfontconfig1-dev.install:
1999 * debian/libfontconfig1.install:
2000 * debian/local.conf.md5sum:
2001 * debian/no-sub-pixel.conf:
2002 * debian/po/POTFILES.in:
2011 * debian/po/pt_BR.po:
2012 * debian/po/templates.pot:
2014 * debian/po/zh_CN.po:
2016 * debian/unhinted.conf:
2017 Update debian build system to switch maintainers and
2018 deal with 2.3 functionality
2020 2005-03-01 Keith Packard <keithp@keithp.com>
2024 * fontconfig/fontconfig.h:
2027 2005-03-01 Keith Packard <keithp@keithp.com>
2030 Generate and install PDF versions of the manuals
2032 * doc/fcpattern.fncs:
2035 * doc/fcstring.fncs:
2036 Add missing exported functions, fix data types
2038 * doc/fontconfig-devel.sgml:
2039 Add missing pattern elements.
2041 * doc/fontconfig-user.sgml:
2042 Add missing pattern elements. Document conf.d usage,
2043 clarify available orthography list. Fix some config file
2044 attributes. Complete list of constants.
2046 * fontconfig/fontconfig.h:
2047 Mark FC_SOURCE deprecated.
2049 * src/fcfreetype.c: (FcFreeTypeQuery):
2050 Don't set FC_SOURCE any longer.
2052 2005-02-28 Keith Packard <keithp@keithp.com>
2055 * conf.d/Makefile.am:
2057 * conf.d/no-bitmaps.conf:
2058 * conf.d/sub-pixel.conf:
2059 * conf.d/yes-bitmaps.conf:
2061 Create prototype /etc/fonts/conf.d directory with a few
2062 sample configuration files.
2063 Deprecate use of local.conf for local customizations in favor of
2064 this directory based scheme which is more easily integrated into
2065 installation systems.
2068 Tag FC_EMBOLDEN as a boolean variable
2070 2005-02-10 Keith Packard <keithp@keithp.com>
2072 reviewed by: pborelli@katamail.com
2074 * src/fcdir.c: (FcFileScanConfig):
2075 Free patterns from fonts which are rejected by configuration
2078 2005-01-28 Keith Packard <keithp@keithp.com>
2082 * fontconfig/fontconfig.h:
2083 Update for version 2.2.99
2085 2005-01-28 Keith Packard <keithp@keithp.com>
2088 Add a few pointers (#2284, #2285)
2090 2005-01-28 Keith Packard <keithp@keithp.com>
2093 * src/fcname.c: (FcNameBool):
2094 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
2095 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
2096 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
2097 Polite typechecking for test and edit expressions. Helps
2098 catch errors in the font configuration. (bug 229)
2100 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
2102 reviewed by: Keith Packard <keithp@keithp.com>
2105 Have --with-expat set EXPAT_CFLAGS (bug 2278)
2107 2005-01-13 Keith Packard <keithp@keithp.com>
2109 * doc/fontconfig-user.sgml:
2110 Add SEE ALSO section (bug 2085)
2112 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
2114 reviewed by: Keith Packard <keithp@keithp.com>
2119 * fc-case/Makefile.am:
2120 * fc-glyphname/Makefile.am:
2121 * fc-lang/Makefile.am:
2122 * src/fontconfig.def.in:
2123 Cross compiling fixes (bug 280)
2125 2005-01-13 Keith Packard <keithp@keithp.com>
2128 Update blanks list (Closes bug 86)
2130 2005-01-04 Keith Packard <keithp@keithp.com>
2132 * src/fccache.c: (FcCacheFontSetAdd):
2133 Verify that every font pattern loaded from cache has
2134 both FC_FILE and FC_FAMILY entries.
2135 Attempt to fix bug #2219.
2137 2004-12-29 Keith Packard <keithp@keithp.com>
2141 * fontconfig/fontconfig.h:
2142 Update for version 2.2.98
2144 2004-12-29 Keith Packard <keithp@keithp.com>
2146 * fontconfig/fontconfig.h:
2147 Document ASCII limitations of Fc character conversion macros
2148 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
2149 Fix off-by-one error in utf-8 case walking code.
2150 Add FcStrDowncase (useful for testing case conversion functions)
2152 2004-12-29 Keith Packard <keithp@keithp.com>
2155 * fc-case/.cvsignore:
2156 clean up CVS ignore lists
2157 * fc-lang/iso-3166.txt:
2158 Add territory database
2160 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
2162 Reviewed by: Keith Packard
2165 Remove Han characters from Korean orthography
2167 2004-12-29 Keith Packard <keithp@keithp.com>
2170 Reorder utility programs to make sure fc-case is run before fc-lang
2171 as fc-lang uses fcstr.c which uses fccase.h
2175 2004-12-29 Keith Packard <keithp@keithp.com>
2178 Adopt some RedHat suggestions for standard font configuration.
2182 * fc-case/CaseFolding.txt:
2183 * fc-case/Makefile.am:
2184 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
2185 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
2186 (dump), (parseRaw), (caseFoldReadRaw), (main):
2187 * fc-case/fccase.tmpl.h:
2188 Add new helper program 'fc-case' to construct case folding
2189 tables from standard Unicode CaseFolding.txt file
2192 * src/fclist.c: (FcListValueHash):
2193 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
2194 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
2195 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
2196 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
2197 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
2198 Re-implement case insensitive functions with Unicode
2199 aware versions (including full case folding mappings)
2201 2004-12-13 Keith Packard <keithp@keithp.com>
2203 reviewed by: Owen Taylor <otaylor@redhat.com>
2205 * src/fcmatch.c: (FcFontSetSort):
2206 I changed FcFontSetSort to respect the generic aliases better
2207 in the face of language matching.
2209 What I did was to ammend the strict sort order used by FcFontSort so
2210 that it 'satisfies' the language specified in the pattern by locating
2211 the best matching font supporting each pattern language and then
2212 ignores language in the remaining fonts for purposes of matching.
2214 So, when asking for 'sans:lang=en', you'll get an English font first,
2215 and then the remaining fonts sorted with respect to the 'sans' alias
2216 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
2218 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
2220 reviewed by: Keith Packard <keithp@keithp.com>
2222 * fontconfig/fontconfig.h:
2225 Configuration changes to request synthetic emboldening of
2226 fonts. The actual emboldening code will live in Xft.
2228 2004-12-09 John Thacker <thacker@math.cornell.edu>
2230 reviewed by: Keith Packard <keithp@keithp.com>
2234 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2235 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2236 и), and don't even appear in KOI8-R. (The hypothesis that they
2237 don't appear in KOI8-R due to their similarity with Latin I and i is
2238 eliminated by their presence in KOI8-U.) I have a couple of fonts
2239 with Russian support that don't have the letter.
2241 Therefore, 0406 and 0456 should be removed from or commented out of
2244 2004-12-06 michael meeks <mmeeks@novell.com>
2246 Reviewed by: Keith Packard <keithp@keithp.com>
2248 * src/fcinit.c: (FcMemReport):
2250 * src/fclist.c: (FcObjectSetAdd):
2251 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2252 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2253 * src/fcxml.c: (FcParsePatelt):
2254 memoize strings and share a single copy for all uses. Note that
2255 this could be improved further by using statically allocated blocks
2256 and gluing multiple strings together, but I'm basically lazy.
2257 In my environment with 800 font files, I get a savings of about 90KB.
2259 2004-12-06 Keith Packard <keithp@keithp.com>
2263 * config/Makedefs.in:
2266 * doc/fcatomic.fncs:
2267 * doc/fcblanks.fncs:
2268 * doc/fccharset.fncs:
2269 * doc/fcconfig.fncs:
2270 * doc/fcconstant.fncs:
2272 * doc/fcfontset.fncs:
2273 * doc/fcfreetype.fncs:
2275 * doc/fcmatrix.fncs:
2276 * doc/fcobjectset.fncs:
2277 * doc/fcobjecttype.fncs:
2278 * doc/fcpattern.fncs:
2279 * doc/fcstring.fncs:
2280 * doc/fcstrset.fncs:
2282 * doc/fontconfig-devel.sgml:
2283 * doc/fontconfig-user.sgml:
2285 * doc/version.sgml.in:
2286 * fc-cache/Makefile.am:
2287 * fc-cache/fc-cache.c:
2288 * fc-glyphname/Makefile.am:
2289 * fc-glyphname/fc-glyphname.c:
2290 * fc-glyphname/fcglyphname.tmpl.h:
2291 * fc-lang/Makefile.am:
2301 * fc-lang/az_ir.orth:
2335 * fc-lang/fc-lang.c:
2336 * fc-lang/fc-lang.man:
2337 * fc-lang/fclang.tmpl.h:
2382 * fc-lang/ku_ir.orth:
2415 * fc-lang/ps_af.orth:
2416 * fc-lang/ps_pk.orth:
2445 * fc-lang/ti_er.orth:
2446 * fc-lang/ti_et.orth:
2472 * fc-lang/zh_cn.orth:
2473 * fc-lang/zh_hk.orth:
2474 * fc-lang/zh_mo.orth:
2475 * fc-lang/zh_sg.orth:
2476 * fc-lang/zh_tw.orth:
2478 * fc-list/Makefile.am:
2479 * fc-list/fc-list.c:
2480 * fc-match/Makefile.am:
2481 * fc-match/fc-match.1:
2482 * fc-match/fc-match.c:
2483 * fontconfig/fcfreetype.h:
2484 * fontconfig/fcprivate.h:
2485 * fontconfig/fontconfig.h:
2506 Change files from ISO-Latin-1 to UTF-8
2508 2004-12-04 Keith Packard <keithp@keithp.com>
2511 Update links to new freedesktop.org locations
2513 Add uninstall-local to get rid of fonts.conf and local.conf if they
2514 match the distributed versions. Fixes 'make distcheck'
2516 2004-12-04 Keith Packard <keithp@keithp.com>
2520 * fontconfig/fontconfig.h:
2521 Updates for version 2.2.97
2523 2004-12-04 Owen Taylor <otaylor@redhat.com>
2525 reviewed by: Keith Packard <keithp@keithp.com>
2527 * fc-cache/fc-cache.c: (main):
2528 Sleep for two seconds before exiting to make sure timestamps
2529 for future changes have distinct mod times in the file system.
2532 Add Punjabi orthography. Bug #1671.
2534 2004-12-04 Keith Packard <keithp@keithp.com>
2537 Just remove the FC_FONTDATE -- it has locale issues and
2538 annoys redhat multi-arch installs. Now that all X fonts are
2539 included without prejudice, the chances of the date being at
2540 all interesting are rather limited. Bug #505.
2542 Add copyright and license
2544 2004-12-04 Keith Packard <keithp@keithp.com>
2547 Change default set of fonts to include all of
2548 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2549 * doc/fontconfig-user.sgml:
2550 Document new <include>directory-name</include> semantics
2552 add <include ignore_missing="yes">conf.d</include>
2554 Add selectfont to ignore bitmap fonts, add comment for
2555 selectfont which accepts bitmap fonts.
2558 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2559 Allow <include> configuration elements to reference directories.
2560 Parse and load all files of the form [0-9]* in sorted order.
2562 2004-12-04 Keith Packard <keithp@keithp.com>
2565 Report command line for $srcdir/configure accurately.
2568 2004-12-04 Keith Packard <keithp@keithp.com>
2570 * src/fcfreetype.c: (FcFreeTypeQuery):
2571 Check for non-empty face->family_name and face->style_name
2572 before using those for the font. Empty names match everything.
2575 2004-12-04 Keith Packard <keithp@keithp.com>
2578 * fontconfig/fontconfig.h:
2579 * src/fcfreetype.c: (FcFreeTypeQuery):
2581 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2582 available. This provides font file format information (BDF, Type 1,
2583 PCF, TrueType) for each font. Closes #109.
2585 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2587 reviewed by: Keith Packard <keithp@keithp.com>
2589 * doc/fontconfig-user.sgml:
2592 * fontconfig/fontconfig.h:
2593 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2594 (GetScriptTags), (FcFontCapabilities):
2596 Add detection for font capabilities (bug #105)
2598 2004-12-04 Keith Packard <keithp@keithp.com>
2601 Move existing fonts.conf to fonts.conf.bak
2604 Add detection of iconv
2606 * doc/fcpattern.fncs:
2607 * doc/fontconfig-devel.sgml:
2608 * doc/fontconfig-user.sgml:
2610 Document new selectfont elements
2613 Switch to UTF-8 in comment
2615 * fontconfig/fontconfig.h:
2617 Add fullname, and family/style/fullname language entries
2619 * src/fccache.c: (FcCacheFontSetAdd):
2620 * src/fcdir.c: (FcFileScanConfig):
2621 Respect selectfont/*/glob
2624 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2625 (FcConfigCompareValue), (FcConfigPatternsAdd),
2626 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2627 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2628 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2629 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2630 Add support for selectfont
2632 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2633 (FcStringInPatternElement), (FcFreeTypeQuery):
2634 Add multi-lingual family/style/fullname support
2636 * src/fclist.c: (FcListPatternMatchAny):
2637 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2639 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2640 (FcObjectStaticName):
2641 Add new FcPatternRemove/FcPatternAppend.
2642 FcObjectStaticName stores computed pattern element names which
2643 are required to be static.
2645 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2650 Remove spurious / after $(DESTDIR)
2652 2004-06-30 Keith Packard <keithp@keithp.com>
2656 * fontconfig/fontconfig.h:
2659 2004-06-30 Keith Packard <keithp@keithp.com>
2661 Provided by: Lubos Lunak <l.lunak@suse.cz>
2663 * src/fccfg.c: (FcConfigUptoDate):
2664 However FcConfigUptoDate() doesn't seem to work. See the attached
2665 patch. First there's an obvious misplaced parenthesis making it
2666 return always false, and second, even this call fails to detect font
2667 changes (e.g. adding a new font to
2668 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2669 well. The problem seems to be triggered by my fonts.conf specifying
2670 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2671 doesn't include subdirs, unlike config->fontDirs.
2673 2004-06-03 Keith Packard <keithp@keithp.com>
2675 * fontconfig/fontconfig.h:
2676 Remove comma at end of FcResult enum definition.
2678 2004-05-29 Keith Packard <keithp@keithp.com>
2681 Add steps to md5sum release
2683 2004-05-29 Keith Packard <keithp@keithp.com>
2687 * fontconfig/fontconfig.h:
2690 2004-05-29 Keith Packard <keithp@keithp.com>
2692 * fontconfig/fontconfig.h:
2693 * src/fcmatch.c: (FcFontSetMatch):
2694 Add FcResultOutOfMemory to provide an accurate error when
2695 FcFontSetMatch fails in this way
2698 Make #warning about lacking various FreeType features indicate
2699 which version those features appeared so users know how to
2700 fix the problem (Thanks to Anton Tropashko)
2702 2004-05-05 Keith Packard <keithp@keithp.com>
2704 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2705 Replace MIN/MAX/ABS macros which happen to have come
2706 from FreeType with fontconfig-specific ones (FC_*)
2708 2004-04-23 Keith Packard <keithp@keithp.com>
2711 Extend release preparation instructions to include
2712 notification and distribution steps
2714 2004-04-23 Keith Packard <keithp@keithp.com>
2718 * fontconfig/fontconfig.h:
2719 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2721 2004-04-23 Keith Packard <keithp@keithp.com>
2724 Ignore a few more autotool files
2726 2004-04-14 Keith Packard <keithp@keithp.com>
2729 Add instructions for doing a release
2731 * fontconfig.spec.in:
2732 clean up .spec file; perhaps this will be useful to somebody...
2736 * fontconfig/fontconfig.h:
2739 * fc-lang/fc-lang.c:
2740 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2742 * fc-glyphname/Makefile.am:
2743 * fc-lang/Makefile.am:
2744 * fc-list/Makefile.am:
2745 * fc-match/Makefile.am:
2747 Add WARN_CFLAGS to pass -W flags for GCC systems
2749 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2750 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2751 Change various char types around to match across
2753 Fixed bug in using available_sizes[i].height which
2754 is in pixels, not 64ths of a pixel.
2756 2004-03-06 Keith Packard <keithp@keithp.com>
2758 * src/fcfreetype.c: (FcFreeTypeQuery):
2759 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2760 matches looking for explicit values prefer exact matches
2762 2004-03-02 Keith Packard <keithp@keithp.com>
2764 Supplied by: mfabian@suse.de (Mike FABIAN)
2766 * src/fcfreetype.c: (FcFreeTypeQuery):
2767 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2768 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2770 2004-02-21 Manish Singh <yosh@gimp.org>
2772 * fc-glyphname/fc-glyphname.c: (main):
2773 Cast strlen to int for printf, so we're 64-bit clean.
2775 2004-02-11 Keith Packard <keithp@keithp.com>
2778 * src/fcfreetype.c: (FcGetPixelSize):
2779 Ok, so I messed up the test for y_ppem. Let's see if I
2780 got it right this time.
2782 2004-02-10 Keith Packard <keithp@keithp.com>
2785 * src/fcfreetype.c: (FcGetPixelSize):
2786 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2787 FT_Bitmap_Size record. Add a configure.in test for this
2788 and change the code accordingly (using height instead).
2790 2004-02-06 Keith Packard <keithp@keithp.com>
2793 Add Low Saxon orthography
2794 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2796 * src/fccfg.c: (FcConfigNewestFile):
2797 Oops. Left 'newest.set' unset, which would miscompute
2800 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2801 (FcFreeTypeCheckGlyph):
2802 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2803 font properties (which report the wrong value in current FreeType)
2805 Don't attempt to check for empty glyphs in non-scalable fonts; they
2808 2004-02-01 Tor Lillqvist <tml@iki.fi>
2810 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2811 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2812 cache if config->cache is NULL, which happens if FcConfigHome() is
2813 NULL. Guard against that by using the temp folder in that case.
2815 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2817 * fc-lang/az_ir.orth:
2818 * fc-lang/ku_ir.orth:
2819 * fc-lang/ps_af.orth:
2820 * fc-lang/ps_pk.orth:
2821 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2822 (Afghan and Pakistani).
2824 Updated Urdu orthography with real data.
2826 2003-12-11 Carl Worth <cworth@east.isi.edu>
2828 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2831 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2833 (all-local): Remove excessive whitespace.
2835 * autogen.sh: Add 'set -e' to abort when any program fails,
2836 (avoids printing of 'now type make' after configure aborts).
2838 2003-11-17 Eric Christopherson <rakko@charter.net>
2840 reviewed by: Keith Packard <keithp@keithp.com>
2843 * fontconfig/fcfreetype.h:
2845 Switch to FreeType 2.1.7 style includes. Bug #150.
2847 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2849 * fc-list/fc-list.sgml: Add some example usages.
2851 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2854 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2857 2003-10-27 Keith Packard <keith@keithp.com>
2860 * fontconfig/fontconfig.h:
2861 Update to version 2.2.92
2863 2003-10-27 Keith Packard <keithp@keithp.com>
2868 * fc-cache/Makefile.am:
2869 * fc-glyphname/Makefile.am:
2870 * fc-lang/Makefile.am:
2871 * fc-list/Makefile.am:
2872 * fc-match/Makefile.am:
2875 Yet more cleanups to finish getting 'make distcheck' working
2876 This has been tested to ensure that it even works from a _build
2879 2003-10-26 Keith Packard <keithp@keithp.com>
2883 * fc-cache/Makefile.am:
2884 * fc-glyphname/Makefile.am:
2885 * fc-lang/Makefile.am:
2886 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2887 * fc-list/Makefile.am:
2888 * fc-match/Makefile.am:
2889 Attempts to fix 'make distcheck' work. Things are
2890 progressing pretty well, but there are still failures
2891 long into the process dealing with docs (as always).
2893 The big changes here are mostly to make $(srcdir) != "."
2894 work correctly, fixing the docbook related sections and
2895 fc-lang were particularily tricky. Docbook refuses to load
2896 system entities from anywhere other than where the original .sgml
2897 file was located, so no luck looking in "." for the
2898 configure-generated version.sgml and confdir.sgml files.
2900 fc-lang needed help finding .orth files; added a -d option
2901 to set the directory as the least evil of many options.
2903 Now to go use a faster machine and try and wring out the last
2906 2003-10-26 Keith Packard <keithp@keithp.com>
2910 2003-10-26 Keith Packard <keithp@keithp.com>
2913 Include confdir.sgml.in in EXTRA_DIST
2915 2003-10-09 Josselin Mouette <joss@debian.org>
2917 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2918 * fc-list/fc-list.sgml fc-list/Makefile.am:
2919 Replace fc-cache and fc-list manpages with more detailed, SGML
2922 2003-09-23 Owen Taylor <otaylor@redhat.com>
2924 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2925 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2926 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2929 2003-09-23 Owen Taylor <otaylor@redhat.com>
2931 * fc-lang/ka.orth: Remove Georgian capitals, they
2932 aren't used for normal writing. (Bug #116)
2934 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2936 * doc/fontconfig-devel.sgml:
2937 * doc/fontconfig-user.sgml:
2938 * fontconfig/fontconfig.h:
2940 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2941 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2943 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2944 monospace and dual-width fonts, allow roughly a 3% variance in the
2947 2003-08-31 Manish Singh <yosh@gimp.org>
2949 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2952 2003-08-15 Carl Worth <cworth@isi.edu>
2954 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2955 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2957 * src/fcpat.c (FcValueListEntDestroy): New function to support
2958 FcFini memory cleanup. Some statistics are not kept in
2960 (FcValueListFreeze): Move hashTable outside this function so it
2961 can be accessed by FcValueListThawAll.
2962 (FcValueListThawAll): New function complements FcValueListFreeze.
2963 (FcPatternBaseFreeze): Move hashTable outside this function so it
2964 can be accessed by FcPatternBaseThawAll.
2965 (FcPatternBaseThawAll): New function complements
2966 FcPatternBaseFreeze.
2967 (FcPatternThawAll): New function complements FcPatternFreeze.
2969 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2971 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2972 allocated FcCharLeafEnt "blocks" so they can be freed later.
2973 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2974 can be accessed by FcCharSetThawAllLeaf.
2975 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2976 (FcCharSetFreezeBase): Move hashTable outside this function so it
2977 can be accessed by FcCharSetThawAll.
2978 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2980 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2981 (FcConfigDestroy): Fic leak of FcBlanks.
2983 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2984 (main): Add call to FcFini when finished.
2986 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2987 static. Add prototypes.
2989 * doc/fcinit.fncs: Add documentation for FcFini function.
2991 * doc/edit-sgml.c: Mark several local functions as static. Add
2994 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2996 2003-06-15 Tor Lillqvist <tml@iki.fi>
2998 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2999 before comparing (needed on Windows).
3001 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
3003 2003-06-13 Tor Lillqvist <tml@iki.fi>
3005 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
3008 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
3009 WINDOWSFONTDIR token.
3011 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
3012 end, not to confuse libtool, which expects the EXPORTS line to be
3013 the first. Add FcConfigEnableHome.
3015 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
3016 built as a DLL on Win32.
3018 2003-06-09 Keith Packard <keithp@keithp.com>
3020 * Tag version 2.2.90
3022 2003-06-09 Keith Packard <keithp@keithp.com>
3024 * Optimization in FcLangSetIndex was broken, occasionally
3025 returning a pointer to the wrong location on miss
3027 * Add fc-match to test font matching from the command line.
3029 2003-05-31 Keith Packard <keithp@keithp.com>
3031 * (Bug 85) add support for culmus fonts
3032 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
3033 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
3035 2003-05-28 James Su <suzhe@turbolinux.com.cn>
3037 * Fix "contains" op for strings and langsets.
3039 2003-05-17 Keith Packard <keithp@keithp.com>
3041 * Fix build error with BDF prop local. Free langset after query
3043 2003-05-14 Keith Packard <keithp@keithp.com>
3045 * Extract spacing from XLFD atom
3047 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
3049 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
3050 disappeared in 1.30.
3052 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
3054 2003-05-12 Keith Packard <keithp@keithp.com>
3056 * Use FcIsWidth to share code
3058 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
3059 misclassifying some Han fonts as monospaced.
3061 2003-05-07 Keith Packard <keithp@keithp.com>
3063 * Add filename-based accept/reject to ammend available fonts.
3065 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
3066 older FreeType releases.
3068 2003-05-06 Keith Packard <keithp@keithp.com>
3070 * Remove 0b82 and Tamil numbers from tamil
3071 orthography (Jungshik Shin <jshin@mailaps.org>)
3073 2003-05-04 Keith Packard <keithp@keithp.com>
3075 + Map glyph names in fonts with adobe custom encoding to unicode
3077 2003-05-02 Keith Packard <keithp@keithp.com>
3079 * Add FC_WEIGHT_BOOK as weight 75
3081 2003-04-30 Keith Packard <keithp@keithp.com>
3083 * Typo in bitstream foundry name
3085 2003-04-24 Keith Packard <keithp@keithp.com>
3087 * Eliminate italic_angle check for PS fonts
3089 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
3091 * Getting closer to fixing /etc/fonts hard-coding.
3093 2003-04-22 Keith Packard <keithp@keithp.com>
3095 * Update autogen.sh to work with newer automake versions
3096 * Handle pattern elements moving during multiple edits
3098 2003-04-23 James Henstridge <james@daa.com.au>
3100 * doc/fontconfig-devel.sgml: close the <para> element.
3102 * doc/fcpattern.fncs: close the <para> element.
3104 * doc/func.sgml: close the <refsynopsisdiv> element.
3106 2003-04-22 Keith Packard <keithp@keithp.com
3108 * Update autogen.sh to work with newer automake versions
3109 * Handle pattern elements moving during multiple edits
3111 2003-04-17 Colin Walters <walters@debian.org>
3113 + Remove some unused variables, and initialize some other ones so
3114 gcc doesn't warn us.
3116 2003-04-16 Keith Packard <keithp@keithp.com>
3118 + tag version 2.1.94
3120 2003-04-16 Keith Packard <keithp@keithp.com>
3122 + add BDF property fetching support for foundry
3123 (from Juliusz Chroboczek)
3124 + add BDF property fetching support for width
3126 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
3128 + Implemented foundry generation for Type 1 and TrueType
3130 2003-04-11 Gerard Escalante <g2@magestudios.net>
3132 + Retrieve information from Type1 FontInfo dictionaries
3134 2003-04-07 Colin Walters <walters@verbum.org>
3136 + src/Makefile.am: Fix dummy makefile target names when
3137 MS_LIB_AVAILABLE isn't set.
3139 2003-03-22 Tor Lillqvist <tml@iki.fi>
3141 Changes for Windows:
3143 + On Windows with gcc (a.k.a. mingw) build as a DLL.
3145 + We don't want to hardcode the fonts.conf file location in the
3146 DLL, so we look up the DLL location at run-time in a DllMain()
3147 function. The fonts.conf location is deduced from that.
3149 + The colon can't be used as path separator on Windows,
3150 semicolon is used instead. File path components can be separated
3151 with either slash or backslash. Absolute paths can also begin
3152 with a drive letter.
3154 + Add internal function FcStrLastSlash that strrchr's the last
3155 slash, or backslash on Windows.
3157 + There is no link() on Windows. For atomicity checks, mkdir a
3158 lock directory instead.
3160 + In addition to HOME, also look for USERPROFILE.
3162 + Recognize the special font directory token WINDOWSFONTDIR, to
3163 use the system's font directory.
3165 + Remove the fontconfig-def.cpp that was obsolete. Add
3166 fontconfig.def(.in), without internal functions.
3168 + Add a fontconfig-zip(.in) script, used to build a binary
3171 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3172 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
3173 to main package and man3/* to devel package
3175 + Added missing defattr(-, root, root) to main RPM package
3177 + Added HTML and text development documentation to -devel subpackage
3179 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
3180 + Added back the configure macro options --disable-docs, otherwise
3181 fontconfig installs docs into /usr/share/doc/fontconfig (with no
3182 version number) unconditionally, causing RPM to fail the build due
3183 to _unpackaged_files_terminate_build. We pick up the pregenerated
3184 docs with %doc already.
3186 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
3187 + Removed commented out rpm macro define at top of spec file,
3188 replacing it with a simple explanation, since rpm macros are
3189 expanded by rpm even in comments.
3191 + Changed /usr/bin to _bindir in BuildRequires lines
3193 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
3195 + Reorganized file manifest lists
3197 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
3199 + fontconfig.spec.in: Improvements from Red Hat spec file.
3201 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
3203 + docs/*.sgml: SGML fixes.
3205 Sat Mar 1 17:28:53 PST 2003 keithp
3206 + Ok, so the ChangeLog is a bit out of date
3208 + Lots of bugs fixed; most are in bugzilla, the
3209 biggest problems were in cache management where
3210 Owen discovered the library would lose badly when
3211 combining fonts-cache and ~/.fonts-cache data
3213 + Converted from autoconf to automake. This after
3214 getting patches accepted into libtool to allow
3215 the '-version-number' argument which lets
3216 packages set version numbers explicitly rather
3217 than the roundabout libtool way
3219 + Converted documentation to SGML using the docbook
3220 DTD. Now .txt and .html documents are installed
3221 in /usr/share/doc/fontconfig and there's no
3222 man page. Perhaps a man version can be written
3225 Sat Aug 31 15:21:22 PDT 2002 keithp
3226 + Xrender and Xft had several bugs related to
3227 rendering manually placed or poly-face text
3229 + Added more complete memory tracing in fontconfig
3230 Checked with (patched) mozilla and found no leaks
3232 + Updated Latin orthographies by comparing those from
3233 evertype.com with those from eki.ee. Tried to make
3234 sensible choices, including chars that occured in both
3235 and leaving some optional chars out that occured only
3238 Mon Aug 26 16:33:04 PDT 2002 keithp
3239 + Owen discovered that FcLangSetHasLang wasn't actually
3240 checking the language set.
3242 Mon Aug 26 13:37:23 PDT 2002 keithp
3243 + Append a version number to cache filenames
3245 Thu Aug 22 11:36:18 PDT 2002 keithp
3247 + Add "contains" and "not_contains" operators and elements to
3250 + Changed semantics of eq operator for LangSets to check for
3251 FcLangEqual so that any match will do
3253 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3254 of FcValueEqual to check for identical values when inserting into
3255 the results. This broke when the above semantic change was made,
3256 now it uses FcValueEqual which is "more correct" in any case.
3258 Thu Aug 22 00:32:29 PDT 2002 keithp
3260 + Reimplement FC_LANG as new datatype. Lists of strings
3261 was consuming over a megabyte of memory for 401 fonts.
3263 + Freeze patterns loaded from cache files. This shares
3264 common value lists and common patterns which saves
3265 considerable memory.
3267 + Change the denotation of 'constant' charsets to use special
3268 ref value instead of separate boolean.
3270 + Clean up leak tracing stuff, found several unannoted alloc/free
3273 Tue Aug 20 16:17:37 PDT 2002 keithp
3275 + Fix memory leak when parsing matrices from XML
3277 Mon Aug 19 11:57:27 PDT 2002 keithp
3279 + Fix autoconf files to pass FONTCONFIG_PATH on
3280 compile line so that ${prefix} gets substituted
3283 + Use getc_unlocked/putc_unlocked on systems that
3284 provide them to avoid damage done to stdio by posix
3286 + Eliminate FC_PATTERN and FcTypePattern in favor of
3287 an extended api for FcConfigSubstitute which takes
3288 both the font and the pattern.
3290 + Add 'sans serif' alias for 'sans-serif' as some apps
3291 can't handle hyphens in family names
3293 + Eliminate pretense of support for libxml2
3295 + Comment origins of Han orthographies
3297 Tue Jul 30 18:37:09 PDT 2002 keithp
3299 + Add binding property to edit element so that strong
3300 binding values may be inserted by the config file.
3301 The default remains weak.
3303 Sun 28 Jul 04:16:55 PDT 2002 keithp
3305 + Tagged release candidate 1 in the CVS tree and
3306 placed fcpackage.rc1.tar.gz for distribution
3308 Thu Aug 1 08:55:08 PDT 2002 keithp
3310 + Fixed autoconf builds to always specify install
3311 target files (for BSD). Also fixed to
3312 define FONTCONFIG_PATH in config.h so that
3313 nonstandard installs will actually work.