1 2006-03-08 Patrick Lam <plam@mit.edu>
6 Fix Makefile.am for removal of debian/ directory.
8 2006-03-08 Patrick Lam <plam@mit.edu>
11 Ignore debian/ directory for CVS.
13 2006-03-08 Patrick Lam <plam@mit.edu>
16 Now remove debian/ directory.
18 2006-03-08 Patrick Lam <plam@mit.edu>
21 Remove debian/ directory from sources. See Debian's subversion
22 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
25 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
29 * fc-lang/iso639-1, fc-lang/iso639-2:
31 Add orthography for Lingala.
33 2006-03-08 Carl Worth <cworth@cworth.org>
37 * conf.d/10LohitGujarati.conf:
39 Add a configuration file that disables hinting for the Lohit
40 Gujarati font (since the hinting distort some glyphs quite badly).
42 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
45 * src/fcdir.c (FcDirScanConfig):
47 Sort directory entries while scanning them from disk;
48 prevents Heisenbugs due to file ordering in a directory.
50 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
53 * src/fcfreetype.c (GetScriptTags):
54 * src/ftglue.c, src/ftglue.h:
56 Remove stuff we don't use, make get_{char,short,long} functions
57 of ftglue macros to be inlined.
60 * src/fcname.c (FcObjectSerialize):
62 Code cleanups (excess prototype, old-style function definition).
64 2006-03-05 Patrick Lam <plam@mit.edu>
65 * src/fcpat.c (FcPatternGetString):
67 Because we hacked FcPatternGet, we don't really need to expand the
68 filename again in FcPatternGetString.
70 2006-03-05 Patrick Lam <plam@mit.edu>
71 * src/fcpat.c (FcPatternGetString, FcPatternGet):
73 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
74 Make that work. Reported by Bernhard Rosenkraenzer.
76 2006-03-03 Patrick Lam <plam@mit.edu>
79 Include inttypes.h instead of stdint.h if appropriate.
81 2006-03-03 Patrick Lam <plam@mit.edu>
82 * fc-cat/fc-cat.c (FcFileIsDir):
83 * fc-glyphname/fc-flyphname.c:
85 More stub definitions and remove FcFileIsDir from fc-cat.
87 2006-03-03 Patrick Lam <plam@mit.edu>
90 Fix compilation on AIX with stub definitions (bug 6097).
92 2006-03-03 Patrick Lam <plam@mit.edu>
93 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
94 * src/fcfreetype.c (GetScriptTags):
95 * src/fcfs.c (FcFontSetDistributeBytes):
96 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
98 Get rid of C++-style comments.
100 2006-03-03 Patrick Lam <plam@mit.edu>
103 Enable creation of 2.3.94 Debian packages.
105 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
108 * src/fclang.c (FcCharSetForLang):
110 Fix suspicious return expression which causes junk
113 2006-02-24 Patrick Lam <plam@mit.edu>
117 * fontconfig/fontconfig.h:
119 Bump version to 2.3.94.
121 2006-02-24 Patrick Lam <plam@mit.edu>
126 2006-02-24 Patrick Lam <plam@mit.edu>
127 * conf.d/10-fonts-persian.conf:
129 Remove unconditional emboldening (per Behdad's instructions).
133 Add @s to hide some echos.
135 2006-02-24 Mike Fabian <mfabian@suse.de>
136 Takashi Iwai <tiwai@suse.de>
139 * src/fcfreetype.c (GetScriptTags):
141 Fix double-free on error case.
143 2006-02-21 Patrick Lam <plam@mit.edu>
144 * fc-lang/fc-lang.c (scan):
146 Strip \r and whitespace from input; fixes bug 3454.
148 2006-02-21 Patrick Lam <plam@mit.edu>
149 * fc-lang/fc-lang.c (main):
151 Allocate large arrays statically in fc-lang to fix crashes under
154 2006-02-21 Diego Petten <flameeyes@gentoo.org>
155 * src/fcfreetype.c (FcFreeTypeCharIndex):
157 Pass the buck; make fontconfig not crash on pango badness.
159 2006-02-21 Patrick Lam <plam@mit.edu>
160 * conf.d/10-fonts-persian.conf:
162 Use embeddedbitmap rather than rh_prefer_bitmap.
164 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
167 * src/fccache.c (FcDirCacheWrite):
168 * src/fcdir.c (FcFileScanConfig):
169 * src/fcfreetype.c (FcStringInPatternElement):
170 * src/fcxml.c (FcParseFamilies):
171 * src/ftglue.c (ftglue_face_goto_table):
173 Eliminate redundancies.
175 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
178 * fc-list/fc-list.c (main):
179 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
180 * src/fcstr.c (FcStrStr):
181 * src/fcxml.c (FcConfigSaveAttr):
183 Eliminate unused vars reported by Intel's compiler.
185 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
190 Remove one more archaic character.
192 2006-02-21 Ross Burton <ross@burtonini.com>
193 reviewed by: plam, keithp
195 * src/fcxml.c (FcParsePatelt):
197 Freeze patterns created by configuration file for tiny
198 memory savings (every little bit helps).
200 2006-02-21 Mike Fabian <mfabian@suse.de>
203 * fc-cat/fc-cat.c (main):
205 Initialize fontconfig library in fc-cat to avoid segfault.
207 2006-02-18 Patrick Lam <plam@mit.edu>
208 * fc-cache/fc-cache.c (scanDirs):
209 * src/fccache.c (FcCacheReadDirs):
210 * src/fcdir.c (FcDirScanConfig):
212 Fix the underlying cause of the below segfault (must usually
213 call FcDirCacheHasCurrentArch after FcDirCacheValid).
215 2006-02-18 Patrick Lam <plam@mit.edu>
216 * src/fccache.c (FcDirCacheHasCurrentArch):
218 Fix triggering of segfault caused by misreading cache files
219 (reported by fcrozat).
221 2006-02-17 Patrick Lam <plam@mit.edu>
222 * src/fcint.h (FC_CACHE_MAGIC):
224 Bump up magic version; we changed the binary format.
226 2006-02-17 Patrick Lam <plam@mit.edu>
227 * fc-cat/fc-cat.c (main):
229 Enable fc-cat to print out old-style cache info when given a
232 2006-02-16 Patrick Lam <plam@mit.edu>
233 * src/fccache.c (FcDirCacheHasCurrentArch):
235 Deal correctly with changing FC_CACHE_MAGIC.
237 2006-02-16 Patrick Lam <plam@mit.edu>
238 * fc-cache/fc-cache.c (usage, scanDirs, main):
240 Add -r --really-force option which blows away cache files and then
243 2006-02-16 Patrick Lam <plam@mit.edu>
244 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
246 Don't bail if fontconfig can't remove a dir cache file.
247 Skip the ID of a cache file when copying.
248 Eliminate 'source file too small' bug in FcDirCacheWrite.
250 2006-02-13 Patrick Lam <plam@mit.edu>
251 * src/fcfreetype.c (FcFreeTypeQuery):
253 Fix memory leak in error condition code.
255 2006-02-13 Mike Fabian <mfabian@suse.de>
257 * src/fcfreetype.c (FcFreeTypeQuery):
259 Skip bitmap fonts which can't even get it together enough to
260 declare a family name; this appears to reproduce previous
261 fontconfig behaviour.
263 2006-02-10 Takashi Iwai <tiwai@suse.de>
265 * src/fccache.c (FcDirCacheOpen):
267 Try to open /var/cache/fontconfig/[hashed name] before
268 fonts.cache-2 in a directory, because /var/cache/fontconfig
269 failures ought to be fixable, unlike fonts.cache-2 failures,
270 which may leave you screwed.
272 2006-02-10 Takashi Iwai <tiwai@suse.de>
274 * src/fcmatch.c (FcFontSetMatch):
276 Use a tri-state to mark the fonts which didn't get blocked but
277 were just missing an element, to distinguish them from the
278 fonts that do match the element.
280 2006-02-10 Takashi Iwai <tiwai@suse.de>
282 * src/fcmatch.c (FcFontSetMatch):
284 Don't kill fonts because they don't declare an element that's
287 2006-02-09 Patrick Lam <plam@mit.edu>
288 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
289 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
291 Define and pass O_BINARY to open if appropriate, for those
292 platforms that need it. Reported by Doodle.
294 2006-02-09 Patrick Lam <plam@mit.edu>
295 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
298 Fix problem with missing 'en' due to euro.patch: change
299 cache file format slightly to coincide with that generated
302 2006-02-07 Patrick Lam <plam@mit.edu>
303 * src/fccache.c (FcCacheReadDirs):
307 2006-02-07 Patrick Lam <plam@mit.edu>
308 * src/fcdir.c (FcDirScanConfig):
310 Don't reject dirs that can't be normalized (fixes lilypond, and
311 is correct in the context of application font directories.)
313 2006-02-07 Takashi Iwai <tiwai@suse.de>
316 * src/fccache.c (FcCacheReadDirs):
318 Use normalized directory name exclusively in FcCacheReadDirs.
320 2006-02-07 Dirk Mueller <dmueller@suse.com>
323 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
325 Perf optimizations. Inline FcValueCanonicalize,
326 reduce FcValueListPtrU usage, remove redundant cast.
328 2006-02-07 Takashi Iwai <tiwai@suse.de>
331 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
334 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
335 Declare extern for static arrays as arrays, not pointers.
336 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
338 2006-02-07 Dirk Mueller <dmueller@suse.com>
351 Add Euro sign to list of symbols required by European languages.
353 2006-02-07 Patrick Lam <plam@mit.edu>
354 * src/fccache.c (FcCacheReadString):
356 Fix hidden variable warning.
358 2006-02-07 Dirk Mueller <dmueller@suse.com>
361 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
363 Remove de-escaping logic because FcCacheWriteString
364 doesn't escape anyway. Do blockwise reading instead
365 of byte-wise for performance.
367 2006-02-06 Patrick Lam <plam@mit.edu>
368 Takashi Iwai <tiwai@suse.de>
370 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
372 Don't loop infinitely on recursive symlinks (client-side).
374 2006-02-06 Takashi Iwai <tiwai@suse.de>
376 * fc-cache/fc-cache.c (scanDirs, main):
378 Don't loop infinitely on recursive symlinks.
380 2006-02-06 Takashi Iwai <tiwai@suse.de>
382 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
383 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
384 FcGlobalCacheSave, FcCacheReadDirs):
387 Skip subdirs when skipping over stale bits of global cache.
388 Introduce state machine into FcGlobalCacheDir to avoid
389 doing inappropriate operations on global dir entries, e.g.
390 writing out an out-of-date cache entry.
392 2006-02-06 Takashi Iwai <tiwai@suse.de>
394 * src/fcdir.c (FcFileScanConfig):
396 Hoist FcFileIsDir check out of FcFileScanConfig loop.
398 2006-02-06 Takashi Iwai <tiwai@suse.de>
401 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
402 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
404 Don't rescan when trying to normalize a non-declared font dir.
405 Don't add font dirs multiple times (even if they're aliased).
407 2006-02-06 Dirk Mueller <dmueller@suse.de>
410 * src/fcfs.c (FcFontSetUnserialize):
412 Explain apples/oranges comparison and fix compilation error.
414 2006-02-06 Dirk Mueller <dmueller@suse.de>
417 * src/fcfs.c (FcFontSetUnserialize):
419 Insert check for integer overflow in # of fonts.
421 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
425 * fc-cache/Makefile.am:
426 * fc-cat/Makefile.am:
427 * fc-list/Makefile.am:
429 Make 'make distcheck' work with automake 1.6.3.
431 2006-02-03 Takashi IWAI <tiwai@suse.de>
434 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
437 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
438 FcDirCacheConsume, FcDirCacheWrite)
439 * src/fcxml.c (FcConfigMessage):
441 Check I/O call return values and eliminate unused variable
444 2006-02-03 Takashi Iwai <tiwai@suse.de>
447 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
451 2006-02-03 Dirk Mueller <dmueller@suse.de>
454 * src/fcfs.c (FcFontSetUnserialize):
456 Gracefully handle the case where a cache asserts that it
457 has a negative number of fonts, causing overflow.
459 2006-02-03 Patrick Lam <plam@mit.edu>
460 * src/fccache.c (FcDirCacheUnlink):
462 Fix double free in error case.
464 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
465 Stephan Kulow <coolo@suse.de>
468 * fc-cache/Makefile.am:
470 Replace 'stamp' target with mkinstalldirs.
472 2006-01-31 Mike Fabian <mfabian@suse.de>
475 * src/fccache.c (FcGlobalCacheLoad):
477 Toast broken global cache files.
479 2006-01-30 Patrick Lam <plam@mit.edu>
480 * src/fccache.c (FcGlobalCacheReadDir):
482 Actually use the directories that I added to the global cache.
485 2006-01-30 Mike Fabian <mfabian@suse.de>
488 * fc-cache/fc-cache.c (scanDirs):
490 Don't stop scanning if a directory in fonts.conf doesn't
491 exist, because subsequent directories might exist.
493 2006-01-30 Patrick Lam <plam@mit.edu>
494 * src/fccache.c (FcGlobalCacheLoad):
496 Make global cache work again after putting dir names into global
497 cache (I misplaced the recording of a file offset).
499 2006-01-30 Patrick Lam <plam@mit.edu>
500 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
502 Update fc-cat to handle subdir lists in global cache file.
504 * src/fccache.c (FcGlobalCacheLoad):
506 Another FcCacheReadString return value check.
508 2006-01-30 Mike Fabian <mfabian@suse.de>
511 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
512 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
514 Make fccache more resilient to broken cache files by checking
515 return value of FcCacheReadString all the time.
517 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
520 * fc-match/fc-match.1:
521 * fc-lang/fc-lang.man:
523 Remove references to dead fontconfig(3) manpages in
524 other fontconfig manpages.
526 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
529 * doc/fcpattern.fncs:
531 Fix world's tiniest typo in code example.
533 2006-01-29 Mike Fabian <mfabian@suse.de>
536 * src/fccache.c (FcGlobalCacheReadDir):
538 Fix global cache reads of subdirectories.
540 2006-01-29 Patrick Lam <plam@mit.edu>
542 Add documentation for FcConfigNormalizeFontDir.
544 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
545 FcGlobalCacheUpdate, FcGlobalCacheSave):
546 * src/fcdir.c (FcDirScanConfig):
549 Write directory information to global caches to fix make check
550 (reported by Ronny V. Vindenes). This changes the global cache
553 2006-01-27 Patrick Lam <plam@mit.edu>
554 * fc-cache/fc-cache.c (scanDirs):
555 * fontconfig/fontconfig.h:
557 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
559 Move FcConfigNormalizeFontDir call so that it doesn't result in
560 infinite recursion (reported by Ronny V. Vindenes).
562 2006-01-26 Patrick Lam <plam@mit.edu>
563 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
564 * src/fccfg.c (FcConfigNormalizeFontDir):
566 Add a couple of missing normalizations to make fc-cache work
567 right; only scan subdirectories once.
569 2006-01-26 Mike Fabian <mfabian@suse.de>
572 * src/fcacache.c (FcGlobalCacheReadDir):
574 Don't crash on non-existant directories in global cache.
576 2006-01-26 Patrick Lam <plam@mit.edu>
577 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
578 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
579 * src/fcdir.c (FcDirScanConfig):
580 * src/fcxml.c (FcEndElement):
582 Stop trampling the directory name when writing out caches.
583 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
584 subdirs when necessary. Don't scan directories that can't be
587 2006-01-25 Patrick Lam <plam@mit.edu>
588 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
589 * src/fccfg.c (FcConfigEvaluate):
590 * src/fcfreetype.c (FcPatternAddWithBinding):
592 Fix additional memory leaks reported by Ronny V. Vindenes: don't
593 invoke FcValueSave on hashed static strings in
594 FcPatternAddWithBinding.
596 Add another st_dev check in FcDirCacheOpen.
598 2006-01-24 James Su <james.su@gmail.com>
601 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
602 * fc-lang/zh_hk.orth:
604 Treat zh-hk fonts differently from zh-tw fonts. This patch may
605 cause fontconfig to treat A-X fonts differently from A-Y fonts;
606 please mail the fontconfig list if this causes any problems.
608 2006-01-24 Patrick Lam <plam@mit.edu>
609 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
610 * src/fcfreetype.c (FcFreeTypeQuery):
612 Fix memory leaks reported by Ronny V. Vindenes.
614 2006-01-19 Andreas Schwab <schwab@suse.de>
617 * src/fcpat.c (FcStrNeededBytes):
619 Fix for unaligned memory accesses.
621 2006-01-18 Mike Fabian <mfabian@suse.de>
624 * src/fcdir.c (FcDirScanConfig):
626 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
627 calls to avoid crashes.
629 2006-01-14 Patrick Lam <plam@mit.edu>
630 * src/fccache.c (FcDirCacheConsume):
632 Fix segfault when consuming zero-length caches in fc-cat
633 (which has no config, so FcConfigAddFontDir shouldn't be called.)
635 2006-01-14 Patrick Lam <plam@mit.edu>
636 * fc-cache/fc-cache.c (scanDirs):
637 * fontconfig/fontconfig.h:
638 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
639 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
640 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
641 * src/fcdir.c (FcDirScanConfig):
644 Compare device numbers as well as inodes.
645 Always normalize directory names before comparing them.
647 2006-01-11 Mike Fabian <mfabian@suse.de>
650 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
652 Allocate extra space for appended '/' in directory name.
654 2006-01-10 Patrick Lam <plam@mit.edu>
655 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
656 FcDirCacheValid, FcDirCacheHasCurrentArch,
657 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
658 * fc-cache/fc-cache.c (main):
660 Explicitly add font dirs to config.fontDirs even if they're empty.
661 Set current config in fc-cache.c.
662 Fix treatment of cache directory as read from cache file; don't
663 use string equality to determine if we have the right file,
666 2006-01-09 Patrick Lam <plam@mit.edu>
667 * fc-cache/fc-cache.c (scanDirs):
668 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
669 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
670 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
671 * src/fccfg.c (FcConfigNormalizeFontDir):
672 * src/fcdir.c (FcDirScanConfig):
675 Normalize font dirs by using the form, as given in fonts.conf, and
676 recorded in FcConfig's fontDirs string set, as canonical.
678 Actually update config.fontDirs as font directories are scanned.
680 2006-01-08 James Su <james.su@gmail.com>
681 * src/fcmatch.c (FcFontSetMatch):
683 Fix matching bug when multiple elements match; don't use
684 the sum of all scores, but the best score.
686 Also more perf opts, e.g. evaluate best over all font sets
687 rather than on a per-set basis (and other changes).
689 2006-01-08 Patrick Lam <plam@mit.edu>
690 * src/fccache.c (FcDirCacheConsume):
692 Properly skip past dir caches that contain zero fonts (as occurs
693 in global caches.) Reported by Mike Fabian.
695 2006-01-06 Patrick Lam <plam@mit.edu>
696 * src/fcdbg.c (FcPatternPrint):
698 Print out full pathname in fc-match -v as well. Reported by
701 2006-01-06 Mike Fabian <mfabian@suse.de>
704 * src/fcname.c (FcNameParse):
706 Fix bug where fc-match crashes when given __DUMMY__ property to
709 (I added the __DUMMY__ string to enable callers of
710 FcObjectToPtrLookup to distinguish an error return from a
711 successful return. -PL)
713 2006-01-05 Patrick Lam <plam@mit.edu>
716 Add self to AUTHORS list.
718 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
719 FcCacheFileRead, FcCachePrintSet, main):
720 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
721 FcGlobalCacheSave, FcCacheNextOffset,
722 FcDirCacheHasCurrentArch, FcDirCacheRead,
723 FcDirCacheConsume, FcDirCacheWrite):
725 * src/fcpat.c (comment):
727 Minor change to global cache file format to fix fc-cat bug
728 reported by Frederic Crozat, and buglet with not globally caching
729 directories with zero fonts cached.
731 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
734 * src/fccfg.c (FcConfigEvaluate):
736 Fix double-free which occurs because FcValueCanonicalize doesn't
737 create an extra copy of the returned value, it only canonicalizes
740 2006-01-02 Patrick Lam <plam@mit.edu>
741 * doc/fontconfig-user.sgml:
743 Fix version of .cache file (currently 1 -> currently 2). Reported
746 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
749 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
751 Shut up GCC warnings on amd.
753 2005-12-20 Patrick Lam <plam@mit.edu>
757 * fontconfig/fontconfig.h:
759 Bump version to 2.3.93.
761 2005-12-20 Patrick Lam <plam@mit.edu>
762 * src/fccharset.c (FcLangCharSetPopulate):
763 * src/fcint.h (FcCacheBankToIndex):
765 Avoid check on _fcBankId nullness and fix case where it used to
768 2005-12-20 Patrick Lam <plam@mit.edu>
769 * src/fcxml.c (FcConfigParseAndLoad):
771 Use open instead of fopen (requested by Phil Race for Sun).
773 2005-12-20 Patrick Lam <plam@mit.edu>
774 * src/fccache.c (FcDirCacheWrite);
775 * fc-cache/Makefile.am:
777 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
780 2005-12-20 Patrick Lam <plam@mit.edu>
781 * src/fcfreetype.c (FcFreeTypeQuery):
783 Restore code to skip over PCF fonts that have no encoded
785 (We guess that a font is PCF by presence of the PIXEL_SIZE
788 2005-12-12 Patrick Lam <plam@mit.edu>
789 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
791 Read and write the original location as a fallback for the
792 hashed cache file locations. This is mostly for users to be
793 able to have per-directory cache files.
795 2005-12-12 Patrick Lam <plam@mit.edu>
796 * fc-cache/fc-cache.c (scanDirs):
797 * fc-cache/Makefile.am:
798 * src/fccache.c (FcDirCacheHashName):
800 Improve error message when fc-cache can't write the cache. Add
801 missing slash. Reported by Behdad. Incorporate Behdad's patch to
802 create /var/cache/fontconfig when appropriate.
804 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
807 * src/fcxml.c (FcConfigGetAttribute):
809 Fix crash reported by Frederic Crozat when using libxml2.
811 2005-12-09 Patrick Lam <plam@mit.edu>
814 * fc-cache/Makefile.am:
815 * fc-cat/Makefile.am:
817 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
818 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
819 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
820 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
821 FcDirCacheHasCurrentArch, FcDirCacheHashName,
822 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
824 Migrate cache files from fonts directories to
825 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
826 but requires that all caches get rebuilt.
828 Also, autogen.sh now needs the additional parameter
829 --localstatedir=/var.
831 2005-12-07 Patrick Lam <plam@mit.edu>
832 * src/fcpat.c (FcPatternAddString):
834 Because we've changed FcPatternAddString to use FcStrStaticName
835 and not FcValueSave, explicitly handle the case of a null string.
837 2005-12-06 Patrick Lam <plam@mit.edu>
838 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
842 2005-12-05 Patrick Lam <plam@mit.edu>
843 * src/fcname.c (FcNameGetObjectType):
845 Don't assign types to user object names.
847 2005-12-05 Patrick Lam <plam@mit.edu>
848 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
850 Don't free strings that have been returned from FcStrStaticName.
852 2005-12-01 Patrick Lam <plam@mit.edu>
853 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
855 Add codepath for reading global cache files as well.
857 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
860 * conf.d/10-fonts.persian.conf:
861 * conf.d/Makefile.am:
863 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
865 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
868 * src/fcxml.c (FcConfigParseAndLoad):
870 Only add a config file to the set of config files once.
872 2005-11-29 Patrick Lam <plam@mit.edu>
873 * src/fcint.h (FcCacheBankToIndex);
875 Fix segfault by guarding array dereference.
877 2005-11-29 Dirk Mueller <dmueller@suse.de>
881 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
882 FcCacheBankToIndex, FcCacheBankToIndexMTF,
886 Refactor FcCacheBankToIndex into an inlineable part
887 (in fcint.h) which checks the front of the list and a
888 non-inlineable part which finds and moves the appropriate element
889 to the front of the list.
891 2005-11-29 Patrick Lam <plam@mit.edu>
892 * src/fccfg.c (FcConfigBuildFonts):
893 * src/fccache.c (FcCacheReadDirs):
895 Make the perf guys hate me a bit less: hoist the directory-name
896 FcConfigAcceptFont check for cached fonts up to directory cache
897 read time, rather than running it for each font.
899 2005-11-29 Patrick Lam <plam@mit.edu>
900 * src/fccfg.c (FcConfigBuildFonts):
902 * src/fcpat.c (FcPatternFindFullFname):
904 Don't make FcPatternFindFullFname available to fccfg, it's not
905 really safe. Instead go through FcPatternGetString (sorry,
906 perf guys.) Also, use globs for dirs as well.
908 2005-11-28 Patrick Lam <plam@mit.edu>
909 * src/fccfg.c (FcConfigBuildFonts):
913 2005-11-28 Patrick Lam <plam@mit.edu>
915 * src/fcpat.c (FcPatternFindFullFname):
916 * src/fccfg.c (FcConfigBuildFonts):
918 Fix problem dating back at least to 2.3.2 where globs weren't
919 being applied to patterns loaded from a cache.
921 2005-11-28 Patrick Lam <plam@mit.edu>
922 * doc/fontconfig-user.sgml:
924 Fix some obvious spelling mistakes.
926 2005-11-28 Dirk Mueller <dmueller@suse.com>
927 Stephan Kulow <coolo@suse.de>
930 * src/fcmatch.c (FcFontSetMatch):
932 Don't kill all fonts during match (oops!)
935 2005-11-25 Dirk Mueller <dmueller@suse.com>
936 Stephan Kulow <coolo@suse.de>
937 Michael Matz <matz@suse.de>
940 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
943 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
944 inline FcCompare into FcFontSetMatch and reorder the
945 loops, adding a boolean array which blocks patterns from future
946 consideration if they're known to not be best on some past
949 2005-11-26 Dirk Mueller <dmueller@suse.com>
952 * src/fcmatch.c (FcCompareValueList):
956 2005-11-25 Patrick Lam <plam@mit.edu>
957 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
959 Don't do random matching when bad objects are passed into
962 2005-11-25 Patrick Lam <plam@mit.edu>
964 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
965 FcPatternSerialize, FcPatternUnserialize,
966 FcValueListEnsureBank, FcValueListDistributeBytes,
967 FcValueListUnserialize):
969 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
970 _fcPatternElts, _fcValueLists for consistency.
972 2005-11-25 Dirk Mueller <dmueller@suse.com>
977 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
979 2005-11-25 Patrick Lam <plam@mit.edu>
981 * src/fccache.c (FcDirCacheConsume):
982 * src/fccharset.c (FcCharSetUnserialize):
983 * src/fcfs.c (FcFontSetUnserialize):
984 * src/fclang.c (FcLangSetUnserialize):
985 * src/fcname.c (FcObjectUnserialize):
986 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
987 FcPatternUnserialize):
989 Pass around FcCache *s to the Unserialize functions for extra
990 consistency (and less overhead, for what that's worth).
992 2005-11-24 Dirk Mueller <dmueller@suse.com>
996 * src/fcmatch.c (FcCompare*, FcFontSetSort):
997 * src/fcname.c (FcNameUnparseValue):
999 Inline the *PtrU functions to gain perf.
1000 Remove unneeded params for the FcCompare* functions.
1002 2005-11-24 Dirk Mueller <dmueller@suse.com>
1005 * src/fcint.h, fontconfig/fontconfig.h:
1007 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1009 * src/fcpat.c, src/fcint.h, src/fcname.c:
1011 Check for type validity during FcPatternAddWithBinding, don't
1012 verify type in FcFontMatch, don't call FcCanonicalize here
1013 (which always does a deep copy).
1015 2005-11-24 Dirk Mueller <dmueller@suse.com>
1018 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1019 * src/fcpat.c (FcPatternAddWithBinding):
1021 Make FcCompareString and FcCompareFamily less expensive.
1022 Only add a value for FC_FAMILY if the proposed value is a string.
1024 2005-11-24 Dirk Mueller <dmueller@suse.com>
1027 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1028 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1029 * src/fcint.h (FcDebug):
1031 Inline FcDebug invocations and only initialize once, in FcInit*.
1032 Improve debug msg in FcPatternPrint.
1034 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1037 * fontconfig/fontconfig.h:
1040 Minor code warning cleanups.
1042 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1045 * fc-match/fc-match.c (main):
1047 Make getopt_long accept -s parameter to fc-match as well.
1049 2005-11-21 Dirk Mueller <dmueller@suse.com>
1052 * src/fcmatch.c (FcCompareValueList):
1054 Manually perform inlining & partial redundancy elimination to
1055 reduce calls to FcValueListPtrU.
1057 2005-11-21 Dirk Mueller <dmueller@suse.com>
1060 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1061 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1063 Only invoke strlen() when really necessary.
1065 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1069 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1070 FcFontCapabilities):
1074 Get rid of the use of freetype internal headers in fcfreetype.c,
1075 since those headers will go away with freetype 2.2. Replace with
1076 public domain ftglue code from pango. Note that the patch removes
1077 some extra error checking in FT_Get_BDF_Property() and comments
1078 out the skipping of empty pcf fonts.
1080 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1083 * fc-lang/fc-lang.c (main):
1085 Further fix of patch from 2005-11-04: miscounted numbers count
1086 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1087 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1089 Removed leafidx_count and numbers_count since they are the same
1090 and replaced them with offset_count.
1092 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1095 * fc-cat/fc-cat.c (main):
1097 Don't crash when fc-cat invoked with no arguments.
1099 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1102 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1104 Fix invalid read access caused by premature free and
1105 GCC4 warnings in libxml2 codepath.
1107 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1110 * src/fccfg.c (FcConfigValues):
1112 List iteration not needed in FcConfigValues, since it's building
1113 up the list itself; we can just strip FcVoid elements during
1116 2005-11-17 Patrick Lam <plam@mit.edu>
1117 * src/fccfg.c (FcConfigValues):
1119 Fix crash on invalid constants in config files (forgot to update
1120 a pointer upon list iteration.)
1122 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1125 * src/fcxml.c (FcTypecheckExpr):
1127 Complain about invalid constants in config files.
1129 2005-11-17 Andreas Schwab <schwab@suse.de>
1132 * src/fccache.c (FcGlobalCacheSave):
1134 Don't add current_arch_start more than once.
1136 2005-11-16 Patrick Lam <plam@mit.edu>
1137 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1138 * src/fcfs.c (FcFontSetUnserialize):
1139 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1140 * src/fcpat.c (FcStrUnserialize):
1142 Fix ordering of ALIGN with respect to saving block_ptr; add
1143 another ALIGN to fcfs.c.
1145 2005-11-16 Patrick Lam <plam@mit.edu>
1146 * src/fccache.c (FcDirCacheProduce)
1148 Fix case where alignment bytes bumped up metadata->count
1149 causing unwarranted failures to write cache files.
1150 (Reported by Stephan Kulow).
1152 2005-11-16 Patrick Lam <plam@mit.edu>
1153 * src/fccache.c (FcDirCacheProduce):
1154 * src/fccharset.c (FcCharSetDistributeBytes):
1155 * src/fcfs.c (FcFontSetDistributeBytes):
1157 * src/fclang.c (FcLangSetDistributeBytes):
1158 * src/fcname.c (FcObjectDistributeBytes):
1159 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1162 Add *NeededBytesAlign(), which overestimates the padding which is
1163 later added by the new ALIGN macro. Fix alignment problems on
1164 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1165 version by Andreas Schwab).
1167 2005-11-16 Stephan Kulow <coolo@kde.org>
1172 Use sysconf to determine proper PAGESIZE value; this
1173 appears to be POSIX-compliant. (reported by Andreas Schwab)
1175 2005-11-04 Patrick Lam <plam@mit.edu>
1176 * fc-lang/fc-lang.c:
1181 Fix bug 2878 (excessive relocations at startup for charsets,
1182 reported by Ross Burton): fc-lang/fc-lang now creates the
1183 static form of the langset, not the dynamic form, so that
1184 the charsets should now be in .rodata.
1186 2005-11-04 Patrick Lam <plam@mit.edu>
1187 * src/fcdir.c (FcDirScanConfig):
1189 Add test for validity of directory caches that
1190 somehow got lost (reported by make distcheck).
1192 2005-11-04 Patrick Lam <plam@mit.edu>
1196 * fontconfig/fontconfig.h:
1198 Bump version to 2.3.92.
1200 2005-11-02 Patrick Lam <plam@mit.edu>
1201 * src/fcpat.c (FcPatternDuplicate):
1203 Fix argument ordering problem in call to FcPatternTransferFullFname.
1205 2005-11-02 Patrick Lam <plam@mit.edu>
1206 * src/fcfreetype.c (FcFreetypeQuery):
1207 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1208 FcPatternTransferFullFname):
1210 Fix warnings and embarrassing double-free error.
1212 2005-11-02 Zhe Su <zsu@novell.com>
1217 Change the rule for artificial emboldening in fonts.conf.in. This
1218 enables the support for artificial emboldening included in cairo.
1220 2005-11-02 Patrick Lam <plam@mit.edu>
1221 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1223 Don't zero out full names for FC_REF_CONSTANT fonts;
1224 also, duplicate full names when transferring, and free
1225 full names when freeing the associated font.
1226 Reported by Jinghua Luo.
1228 2005-11-02 Patrick Lam <plam@mit.edu>
1229 * fc-cache/fc-cache.c (scanDirs):
1230 * src/fcpat.c (FcValueListSerialize):
1232 Revert the previous patch and commit the correct patch:
1233 I forgot a canonicalization in FcValueListSerialize, so
1234 that it would choke on already-serialized input files. Duh!
1236 2005-11-02 Patrick Lam <plam@mit.edu>
1237 * fc-cache/fc-cache.c (scanDirs):
1239 Forcibly rescan a directory before writing a fresh local
1240 cache file for that directory, fixing the losing-fonts
1241 problem reported by Mike Fabian and also apparently the
1242 font cache file corruption.
1244 2005-11-02 Patrick Lam <plam@mit.edu>
1245 * src/fccache.c (FcGlobalCacheLoad):
1247 Fix thinko: actually, the whole global cache is stale
1248 if the global cache is older than the (newest) config file.
1250 2005-11-02 Patrick Lam <plam@mit.edu>
1251 * src/fccache.c (FcGlobalCacheLoad):
1252 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1255 Declare the global cache of a directory's contents to be stale if
1256 the directory is newer than the (newest) configuration file.
1258 2005-10-31 Patrick Lam <plam@mit.edu>
1260 * src/fclist.c (FcListAppend):
1261 * src/fcmatch.c (FcFontRenderPrepare):
1262 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1263 FcPatternFreeze, FcPatternBaseFreeze):
1265 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1266 applications continue breaking.
1268 2005-10-31 Patrick Lam <plam@mit.edu>
1269 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1270 * src/fcfreetype.c (FcFreeTypeQuery):
1272 Fix small memory error (tried to free argv); use basename and
1273 dirname correctly (they can modify their arguments).
1275 2005-10-31 Patrick Lam <plam@mit.edu>
1283 Reinstate basename patch, but keep a hash table linking FcPatterns
1284 to their fully-qualified font names for clients' benefit. Clients
1285 only pay for the font names once they request the FC_FILE property
1286 from an FcPattern, but the font name is malloc'd at that point (i.e.
1287 not mmapped: that's impossible, since it may vary between machines.)
1288 Clients do have to pay for a copy of the path name per cache file.
1290 Note that FcPatternGetString now does some rewriting if you ask
1291 for an FC_FILE, appending the pathname as appropriate.
1293 2005-10-31 Patrick Lam <plam@mit.edu>
1294 * src/fcfreetype.c (FcFreeTypeQuery):
1296 Revert basename patch, which breaks fontconfig clients on my system.
1298 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1301 * fontconfig/fonts.conf.in:
1302 * fontconfig/fontconfig.h:
1306 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1307 to load embedded bitmaps or not.
1309 2005-10-25 Patrick Lam <plam@mit.edu>
1310 * src/fcfreetype.c (FcFreeTypeQuery):
1312 Only add basename to patterns' FC_FILE element, not any part of
1315 2005-10-22 Patrick Lam <plam@mit.edu>
1318 Add some more consts, fixing more GCC4 warnings.
1320 2005-10-22 Zhe Su <zsu@novell.com>
1323 Support localized font family and style names.
1324 This has been reported to break old apps like xfd, but modern
1325 (gtk+/qt/mozilla) apps work fine.
1327 2005-10-21 Patrick Lam <plam@mit.edu>
1328 * src/fccache.c (FcGlobalCacheLoad):
1330 Destroy the global cache file if it's terminally broken. (reported by
1333 2005-10-21 Patrick Lam <plam@mit.edu>
1334 * fc-list/fc-list.c (main):
1335 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1336 * fontconfig/fontconfig.h:
1338 Prevent fc-list from escaping strings when printing them (reported by
1341 2005-10-20 Marcus Meissner <meissner@suse.de>
1344 * fontconfig/fontconfig.h:
1346 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1348 2005-10-14 Ross Burton <ross@burtonini.com>
1351 * fc-glyphname/fc-glyphname.c:
1354 Add consts to variables so as to move arrays into .rodata.
1356 2005-10-14 Mike Fabian <mfabian@suse.de>
1359 * src/fccache.c (FcDirCacheUnlink):
1361 Check existence of directory cache file before attempting to unlink.
1363 2005-10-13 Patrick Lam <plam@mit.edu>
1364 * src/fccache.c (FcDirCacheUnlink):
1366 Fix flipped return value on unlink. (Reported by Mike Fabian)
1368 2005-10-12 Patrick Lam <plam@mit.edu>
1371 * src/fcdir.c (FcDirScanConfig):
1374 When fc-cache is run without --force, use directory cache files
1375 to speed up fc-cache run time. (Reported by Mike Fabian)
1377 2005-10-06 Patrick Lam <plam@mit.edu>
1379 * src/fcname.c (FcObjectToPtr):
1380 * src/fcpat.c (FcStrStaticName):
1382 Add padding to make valgrind and glibc not hate each other
1383 when calling strlen().
1385 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1386 reviewed by: plam & keithp
1390 Modify config file to use Greek fonts before Asian fonts with
1393 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1394 reviewed by: plam & keithp
1398 Use libtool -no-undefined flag on all platforms.
1400 2005-10-05 Patrick Lam <plam@mit.edu>
1401 * src/fccache.c (FcCacheHaveBank):
1403 Implement move-to-front array for banks (perf regression
1404 reported by Ronny V. Vindenes).
1406 2005-10-04 Patrick Lam <plam@mit.edu>
1407 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1408 FcDirCacheHasCurrentArch):
1409 * fc-cache/fc-cache.c (scanDirs):
1410 * fontconfig/fontconfig.h:
1412 Add new API which unlinks directory caches and checks dir caches
1413 for existence of appropriate sections. Fix fc-cache to unlink
1414 stale cache files and save directory caches that lack relevant
1417 2005-10-03 Patrick Lam <plam@mit.edu>
1418 * src/fccache.c (FcDirCacheValid):
1420 Ensure that a directory cache has the appropriate section
1421 before reporting that it is valid (reported by Matthias Clasen).
1423 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1431 Use libxml2 if requested (with --enable-libxml2) or if
1432 expat is not available.
1434 2005-09-29 Patrick Lam <plam@mit.edu>
1435 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1437 Fix multi-arch cache files: compute the position for the
1438 block to be added using info from OrigFile, not NewFile.
1440 2005-09-28 Patrick Lam <plam@mit.edu>
1441 * src/fccache.c (FcCacheMachineSignature):
1443 Cast results of sizeof() to unsigned int to get rid of
1444 warnings on x86_64 (thanks Matthias Clasen).
1446 2005-09-27 Patrick Lam <plam@mit.edu>
1447 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1450 Use FcAtomic to rewrite cache files.
1452 2005-09-27 Patrick Lam <plam@mit.edu>
1454 * src/fccache.c (FcDirCacheWrite):
1456 Don't unlink the fonts.cache-2 file even if there's no data
1457 to write; just write an empty cache file. (thanks Lubos Lunak)
1459 2005-09-27 Patrick Lam <plam@mit.edu>
1461 * src/fccache.c (FcDirCacheWrite):
1463 Allocate room for the subdirectory names in each
1464 directory cache. Thanks to James Cloos for finding
1465 and diagnosing this bug!
1467 2005-09-22 Patrick Lam <plam@mit.edu>
1469 * fc-cache/fc-cache.sgml:
1470 * src/fccache.c (FcDirCacheWrite):
1471 * src/fccache.h (struct FcCache):
1473 Update documentation -- fc-cache's man page now says that you
1474 need to run fc-cache once per cached architecture; add some
1475 documentation to the FcCache structure.
1477 Make fc-cache write out fonts.cache-2 files for directories with
1478 no fonts (i.e. only subdirectories).
1480 2005-09-22 Patrick Lam <plam@mit.edu>
1482 * fc-cache/fc-cache.sgml:
1483 * fc-case/fc-case.c:
1484 * fc-glyphname/fc-glyphname.c:
1490 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1494 * fc-lang/fc-lang.c:
1495 * fontconfig/fcprivate.h:
1496 * fontconfig/fontconfig.h:
1510 Implement new mmaped cache for font information.
1511 Bump so revision to 2.3.90.
1513 2005-07-25 Keith Packard <keithp@keithp.com>
1515 * doc/fontconfig-user.sgml:
1516 * fc-glyphname/fc-glyphname.c: (scan), (main):
1517 * fc-lang/fc-lang.c: (FcConfigHome):
1518 * fc-match/fc-match.c: (main):
1519 * src/fccfg.c: (FcConfigHome):
1520 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1521 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1522 (addtag), (FcFontCapabilities):
1523 * src/fcpat.c: (FcValueListEntCreate):
1524 * src/fcstr.c: (FcStrCaseWalkerInit):
1525 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1527 Various GCC 4 cleanups for signed vs unsigned char
1529 Match only [0-9]*.conf files in <include>{directory}</include>
1530 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1532 2005-07-15 Carl Worth <cworth@cworth.org>
1535 * src/fcinit.c: (FcFini):
1536 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1539 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1540 Pull the FcObjectStateName hash table out to file scope, and add
1541 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1544 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1547 2005-06-16 Patrick Lam <plam@MIT.EDU>
1551 * src/fccfg.c: (FcConfigCompareValue):
1552 Make FcOpNotContains use FcStrStr for strings so that
1553 it matches semantics for !FcOpContains.
1555 2005-05-20 Keith Packard <keithp@keithp.com>
1559 Move fontconfig source package to libs as per override
1561 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1563 reviewed by: Mike Fabian
1566 The ka.orth file requires several characters which are not
1567 used anymore in modern Georgian and which are missing in the free
1568 Georgian TrueType fonts downloadable at:
1570 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1572 2005-04-27 Keith Packard <keithp@keithp.com>
1576 Update date to real 2.3.2 release date.
1577 Fix change attributions
1579 2005-04-27 Keith Packard <keithp@keithp.com>
1582 Bump so revision for 2.3.2
1583 * fc-cache/fc-cache.c: (scanDirs):
1584 Fix a few minor leaks in error cases.
1586 2005-04-23 Keith Packard <keithp@keithp.com>
1591 * fontconfig/fontconfig.h:
1592 Update for version 2.3.2
1594 2005-04-21 Keith Packard <keithp@keithp.com>
1596 * debian/fontconfig.postinst:
1597 Don't force bitmap font enable in default
1598 configuration; allows users to override this in
1608 * debian/po/pt_BR.po:
1609 * debian/po/templates.pot:
1611 * debian/po/zh_CN.po:
1612 Updated translations
1614 * fc-cache/fc-cache.c: (main):
1615 Destroy font configuration on exit to help valgrind
1618 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1619 (FcFreeTypeCheckGlyph):
1620 Use own transcoding routines in preference to iconv
1621 which appears to have leaks in some translators.
1622 Call iconv_close after using iconv (oops).
1624 Prefer unicode encoding of Euro char as some
1625 fonts mis-encode Euro in other ones.
1627 Must fetch bitmap glyphs to get width values
1628 to check for monospace/dual-width fonts.
1630 2005-04-13 Ross Burton <ross@burtonini.com>
1633 Check that a pattern isn't already frozen in FcPatternFreeze.
1635 2005-03-31 Ross Burton <ross@burtonini.com>
1640 Run all FcPattern objects through FcObjectStaticName, so that
1641 compares can be done on pointers instead of strings (#2659)
1643 2005-03-17 Tor Lillqvist <tml@novell.com>
1645 * src/fontconfig.def.in: Add the .dll to the dll name.
1647 2005-03-10 Keith Packard <keithp@keithp.com>
1649 * debian/README.Debian:
1650 Update to reflect configuration changes
1652 * debian/fontconfig.postinst:
1653 Fix Autohint vs Autohinter mistake
1654 * debian/fontconfig.templates:
1655 Adopt changes from Josselin Mouette for configuration descriptions
1656 Update debian to version 2.3.1-2
1658 2005-03-08 Keith Packard <keithp@keithp.com>
1662 Update debian for 2.3.1
1664 2005-03-09 Tor Lillqvist <tml@novell.com>
1666 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1669 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1672 2005-03-08 Keith Packard <keithp@keithp.com>
1676 * fontconfig/fontconfig.h:
1679 2005-03-05 Keith Packard <keithp@keithp.com>
1681 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1682 Include space and remove numbers from valid script tags.
1683 This ensures that tags like 'lao ' work while rejecting
1684 those which have any digits.
1685 Eliminate a spurious debugging variable (len)
1687 2005-03-05 Keith Packard <keithp@keithp.com>
1689 * src/fcfreetype.c: (addtag), (GetScriptTags),
1690 (FcFontCapabilities):
1691 Rework GSUB/GPOS script parsing to survive broken fonts.
1692 Thanks for the broken font go to Manish Singh
1694 2005-03-05 Keith Packard <keithp@keithp.com>
1699 * debian/fontconfig.config:
1700 * debian/fontconfig.templates:
1702 Include 2.3 release information in changelog
1703 Add Josselin Mouette as an Uploader
1704 Set hinting_type to low priority configuration option
1707 * debian/fontconfig.postinst:
1708 yes_bitmaps.conf -> yes-bitmaps.conf
1714 2005-03-02 Keith Packard <keithp@keithp.com>
1717 * conf.d/Makefile.am:
1718 * conf.d/autohint.conf:
1719 * conf.d/no-sub-pixel.conf:
1720 * conf.d/sub-pixel.conf:
1721 * conf.d/unhinted.conf:
1722 * debian/autohint.conf:
1723 * debian/fontconfig.install:
1724 * debian/fontconfig.postinst:
1725 * debian/fontconfig.templates:
1726 * debian/no-sub-pixel.conf:
1727 * debian/unhinted.conf:
1728 Move debian-specific conf file examples upstream.
1730 Sub-pixel configuration examples must smash subpixel value
1731 as Xft always sets it from X.
1733 Change sub-pixel rendering debconf descriptions from
1734 Enable/Disable to Always/Never.
1736 2005-03-02 Keith Packard <keithp@keithp.com>
1739 * conf.d/.cvsignore:
1741 Ignore more build detritus
1744 Add debian package construction stuff.
1746 * config/config.guess:
1747 * config/config.sub:
1748 Update to newer versions of these tools
1751 Get library manuals to build again (we love automake).
1753 * debian/README.Debian:
1754 * debian/autohint.conf:
1759 * debian/fontconfig-udeb.install:
1760 * debian/fontconfig.config:
1761 * debian/fontconfig.defoma:
1762 * debian/fontconfig.dirs:
1763 * debian/fontconfig.install:
1764 * debian/fontconfig.postinst:
1765 * debian/fontconfig.postrm:
1766 * debian/fontconfig.templates:
1767 * debian/libfontconfig1-dev.install:
1768 * debian/libfontconfig1.install:
1769 * debian/local.conf.md5sum:
1770 * debian/no-sub-pixel.conf:
1771 * debian/po/POTFILES.in:
1780 * debian/po/pt_BR.po:
1781 * debian/po/templates.pot:
1783 * debian/po/zh_CN.po:
1785 * debian/unhinted.conf:
1786 Update debian build system to switch maintainers and
1787 deal with 2.3 functionality
1789 2005-03-01 Keith Packard <keithp@keithp.com>
1793 * fontconfig/fontconfig.h:
1796 2005-03-01 Keith Packard <keithp@keithp.com>
1799 Generate and install PDF versions of the manuals
1801 * doc/fcpattern.fncs:
1804 * doc/fcstring.fncs:
1805 Add missing exported functions, fix data types
1807 * doc/fontconfig-devel.sgml:
1808 Add missing pattern elements.
1810 * doc/fontconfig-user.sgml:
1811 Add missing pattern elements. Document conf.d usage,
1812 clarify available orthography list. Fix some config file
1813 attributes. Complete list of constants.
1815 * fontconfig/fontconfig.h:
1816 Mark FC_SOURCE deprecated.
1818 * src/fcfreetype.c: (FcFreeTypeQuery):
1819 Don't set FC_SOURCE any longer.
1821 2005-02-28 Keith Packard <keithp@keithp.com>
1824 * conf.d/Makefile.am:
1826 * conf.d/no-bitmaps.conf:
1827 * conf.d/sub-pixel.conf:
1828 * conf.d/yes-bitmaps.conf:
1830 Create prototype /etc/fonts/conf.d directory with a few
1831 sample configuration files.
1832 Deprecate use of local.conf for local customizations in favor of
1833 this directory based scheme which is more easily integrated into
1834 installation systems.
1837 Tag FC_EMBOLDEN as a boolean variable
1839 2005-02-10 Keith Packard <keithp@keithp.com>
1841 reviewed by: pborelli@katamail.com
1843 * src/fcdir.c: (FcFileScanConfig):
1844 Free patterns from fonts which are rejected by configuration
1847 2005-01-28 Keith Packard <keithp@keithp.com>
1851 * fontconfig/fontconfig.h:
1852 Update for version 2.2.99
1854 2005-01-28 Keith Packard <keithp@keithp.com>
1857 Add a few pointers (#2284, #2285)
1859 2005-01-28 Keith Packard <keithp@keithp.com>
1862 * src/fcname.c: (FcNameBool):
1863 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1864 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1865 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1866 Polite typechecking for test and edit expressions. Helps
1867 catch errors in the font configuration. (bug 229)
1869 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1871 reviewed by: Keith Packard <keithp@keithp.com>
1874 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1876 2005-01-13 Keith Packard <keithp@keithp.com>
1878 * doc/fontconfig-user.sgml:
1879 Add SEE ALSO section (bug 2085)
1881 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1883 reviewed by: Keith Packard <keithp@keithp.com>
1888 * fc-case/Makefile.am:
1889 * fc-glyphname/Makefile.am:
1890 * fc-lang/Makefile.am:
1891 * src/fontconfig.def.in:
1892 Cross compiling fixes (bug 280)
1894 2005-01-13 Keith Packard <keithp@keithp.com>
1897 Update blanks list (Closes bug 86)
1899 2005-01-04 Keith Packard <keithp@keithp.com>
1901 * src/fccache.c: (FcCacheFontSetAdd):
1902 Verify that every font pattern loaded from cache has
1903 both FC_FILE and FC_FAMILY entries.
1904 Attempt to fix bug #2219.
1906 2004-12-29 Keith Packard <keithp@keithp.com>
1910 * fontconfig/fontconfig.h:
1911 Update for version 2.2.98
1913 2004-12-29 Keith Packard <keithp@keithp.com>
1915 * fontconfig/fontconfig.h:
1916 Document ASCII limitations of Fc character conversion macros
1917 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1918 Fix off-by-one error in utf-8 case walking code.
1919 Add FcStrDowncase (useful for testing case conversion functions)
1921 2004-12-29 Keith Packard <keithp@keithp.com>
1924 * fc-case/.cvsignore:
1925 clean up CVS ignore lists
1926 * fc-lang/iso-3166.txt:
1927 Add territory database
1929 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1931 Reviewed by: Keith Packard
1934 Remove Han characters from Korean orthography
1936 2004-12-29 Keith Packard <keithp@keithp.com>
1939 Reorder utility programs to make sure fc-case is run before fc-lang
1940 as fc-lang uses fcstr.c which uses fccase.h
1944 2004-12-29 Keith Packard <keithp@keithp.com>
1947 Adopt some RedHat suggestions for standard font configuration.
1951 * fc-case/CaseFolding.txt:
1952 * fc-case/Makefile.am:
1953 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1954 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1955 (dump), (parseRaw), (caseFoldReadRaw), (main):
1956 * fc-case/fccase.tmpl.h:
1957 Add new helper program 'fc-case' to construct case folding
1958 tables from standard Unicode CaseFolding.txt file
1961 * src/fclist.c: (FcListValueHash):
1962 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1963 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1964 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1965 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1966 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1967 Re-implement case insensitive functions with Unicode
1968 aware versions (including full case folding mappings)
1970 2004-12-13 Keith Packard <keithp@keithp.com>
1972 reviewed by: Owen Taylor <otaylor@redhat.com>
1974 * src/fcmatch.c: (FcFontSetSort):
1975 I changed FcFontSetSort to respect the generic aliases better
1976 in the face of language matching.
1978 What I did was to ammend the strict sort order used by FcFontSort so
1979 that it 'satisfies' the language specified in the pattern by locating
1980 the best matching font supporting each pattern language and then
1981 ignores language in the remaining fonts for purposes of matching.
1983 So, when asking for 'sans:lang=en', you'll get an English font first,
1984 and then the remaining fonts sorted with respect to the 'sans' alias
1985 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1987 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1989 reviewed by: Keith Packard <keithp@keithp.com>
1991 * fontconfig/fontconfig.h:
1994 Configuration changes to request synthetic emboldening of
1995 fonts. The actual emboldening code will live in Xft.
1997 2004-12-09 John Thacker <thacker@math.cornell.edu>
1999 reviewed by: Keith Packard <keithp@keithp.com>
2003 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2004 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2005 и), and don't even appear in KOI8-R. (The hypothesis that they
2006 don't appear in KOI8-R due to their similarity with Latin I and i is
2007 eliminated by their presence in KOI8-U.) I have a couple of fonts
2008 with Russian support that don't have the letter.
2010 Therefore, 0406 and 0456 should be removed from or commented out of
2013 2004-12-06 michael meeks <mmeeks@novell.com>
2015 Reviewed by: Keith Packard <keithp@keithp.com>
2017 * src/fcinit.c: (FcMemReport):
2019 * src/fclist.c: (FcObjectSetAdd):
2020 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2021 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2022 * src/fcxml.c: (FcParsePatelt):
2023 memoize strings and share a single copy for all uses. Note that
2024 this could be improved further by using statically allocated blocks
2025 and gluing multiple strings together, but I'm basically lazy.
2026 In my environment with 800 font files, I get a savings of about 90KB.
2028 2004-12-06 Keith Packard <keithp@keithp.com>
2032 * config/Makedefs.in:
2035 * doc/fcatomic.fncs:
2036 * doc/fcblanks.fncs:
2037 * doc/fccharset.fncs:
2038 * doc/fcconfig.fncs:
2039 * doc/fcconstant.fncs:
2041 * doc/fcfontset.fncs:
2042 * doc/fcfreetype.fncs:
2044 * doc/fcmatrix.fncs:
2045 * doc/fcobjectset.fncs:
2046 * doc/fcobjecttype.fncs:
2047 * doc/fcpattern.fncs:
2048 * doc/fcstring.fncs:
2049 * doc/fcstrset.fncs:
2051 * doc/fontconfig-devel.sgml:
2052 * doc/fontconfig-user.sgml:
2054 * doc/version.sgml.in:
2055 * fc-cache/Makefile.am:
2056 * fc-cache/fc-cache.c:
2057 * fc-glyphname/Makefile.am:
2058 * fc-glyphname/fc-glyphname.c:
2059 * fc-glyphname/fcglyphname.tmpl.h:
2060 * fc-lang/Makefile.am:
2070 * fc-lang/az_ir.orth:
2104 * fc-lang/fc-lang.c:
2105 * fc-lang/fc-lang.man:
2106 * fc-lang/fclang.tmpl.h:
2151 * fc-lang/ku_ir.orth:
2184 * fc-lang/ps_af.orth:
2185 * fc-lang/ps_pk.orth:
2214 * fc-lang/ti_er.orth:
2215 * fc-lang/ti_et.orth:
2241 * fc-lang/zh_cn.orth:
2242 * fc-lang/zh_hk.orth:
2243 * fc-lang/zh_mo.orth:
2244 * fc-lang/zh_sg.orth:
2245 * fc-lang/zh_tw.orth:
2247 * fc-list/Makefile.am:
2248 * fc-list/fc-list.c:
2249 * fc-match/Makefile.am:
2250 * fc-match/fc-match.1:
2251 * fc-match/fc-match.c:
2252 * fontconfig/fcfreetype.h:
2253 * fontconfig/fcprivate.h:
2254 * fontconfig/fontconfig.h:
2275 Change files from ISO-Latin-1 to UTF-8
2277 2004-12-04 Keith Packard <keithp@keithp.com>
2280 Update links to new freedesktop.org locations
2282 Add uninstall-local to get rid of fonts.conf and local.conf if they
2283 match the distributed versions. Fixes 'make distcheck'
2285 2004-12-04 Keith Packard <keithp@keithp.com>
2289 * fontconfig/fontconfig.h:
2290 Updates for version 2.2.97
2292 2004-12-04 Owen Taylor <otaylor@redhat.com>
2294 reviewed by: Keith Packard <keithp@keithp.com>
2296 * fc-cache/fc-cache.c: (main):
2297 Sleep for two seconds before exiting to make sure timestamps
2298 for future changes have distinct mod times in the file system.
2301 Add Punjabi orthography. Bug #1671.
2303 2004-12-04 Keith Packard <keithp@keithp.com>
2306 Just remove the FC_FONTDATE -- it has locale issues and
2307 annoys redhat multi-arch installs. Now that all X fonts are
2308 included without prejudice, the chances of the date being at
2309 all interesting are rather limited. Bug #505.
2311 Add copyright and license
2313 2004-12-04 Keith Packard <keithp@keithp.com>
2316 Change default set of fonts to include all of
2317 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2318 * doc/fontconfig-user.sgml:
2319 Document new <include>directory-name</include> semantics
2321 add <include ignore_missing="yes">conf.d</include>
2323 Add selectfont to ignore bitmap fonts, add comment for
2324 selectfont which accepts bitmap fonts.
2327 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2328 Allow <include> configuration elements to reference directories.
2329 Parse and load all files of the form [0-9]* in sorted order.
2331 2004-12-04 Keith Packard <keithp@keithp.com>
2334 Report command line for $srcdir/configure accurately.
2337 2004-12-04 Keith Packard <keithp@keithp.com>
2339 * src/fcfreetype.c: (FcFreeTypeQuery):
2340 Check for non-empty face->family_name and face->style_name
2341 before using those for the font. Empty names match everything.
2344 2004-12-04 Keith Packard <keithp@keithp.com>
2347 * fontconfig/fontconfig.h:
2348 * src/fcfreetype.c: (FcFreeTypeQuery):
2350 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2351 available. This provides font file format information (BDF, Type 1,
2352 PCF, TrueType) for each font. Closes #109.
2354 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2356 reviewed by: Keith Packard <keithp@keithp.com>
2358 * doc/fontconfig-user.sgml:
2361 * fontconfig/fontconfig.h:
2362 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2363 (GetScriptTags), (FcFontCapabilities):
2365 Add detection for font capabilities (bug #105)
2367 2004-12-04 Keith Packard <keithp@keithp.com>
2370 Move existing fonts.conf to fonts.conf.bak
2373 Add detection of iconv
2375 * doc/fcpattern.fncs:
2376 * doc/fontconfig-devel.sgml:
2377 * doc/fontconfig-user.sgml:
2379 Document new selectfont elements
2382 Switch to UTF-8 in comment
2384 * fontconfig/fontconfig.h:
2386 Add fullname, and family/style/fullname language entries
2388 * src/fccache.c: (FcCacheFontSetAdd):
2389 * src/fcdir.c: (FcFileScanConfig):
2390 Respect selectfont/*/glob
2393 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2394 (FcConfigCompareValue), (FcConfigPatternsAdd),
2395 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2396 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2397 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2398 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2399 Add support for selectfont
2401 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2402 (FcStringInPatternElement), (FcFreeTypeQuery):
2403 Add multi-lingual family/style/fullname support
2405 * src/fclist.c: (FcListPatternMatchAny):
2406 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2408 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2409 (FcObjectStaticName):
2410 Add new FcPatternRemove/FcPatternAppend.
2411 FcObjectStaticName stores computed pattern element names which
2412 are required to be static.
2414 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2419 Remove spurious / after $(DESTDIR)
2421 2004-06-30 Keith Packard <keithp@keithp.com>
2425 * fontconfig/fontconfig.h:
2428 2004-06-30 Keith Packard <keithp@keithp.com>
2430 Provided by: Lubos Lunak <l.lunak@suse.cz>
2432 * src/fccfg.c: (FcConfigUptoDate):
2433 However FcConfigUptoDate() doesn't seem to work. See the attached
2434 patch. First there's an obvious misplaced parenthesis making it
2435 return always false, and second, even this call fails to detect font
2436 changes (e.g. adding a new font to
2437 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2438 well. The problem seems to be triggered by my fonts.conf specifying
2439 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2440 doesn't include subdirs, unlike config->fontDirs.
2442 2004-06-03 Keith Packard <keithp@keithp.com>
2444 * fontconfig/fontconfig.h:
2445 Remove comma at end of FcResult enum definition.
2447 2004-05-29 Keith Packard <keithp@keithp.com>
2450 Add steps to md5sum release
2452 2004-05-29 Keith Packard <keithp@keithp.com>
2456 * fontconfig/fontconfig.h:
2459 2004-05-29 Keith Packard <keithp@keithp.com>
2461 * fontconfig/fontconfig.h:
2462 * src/fcmatch.c: (FcFontSetMatch):
2463 Add FcResultOutOfMemory to provide an accurate error when
2464 FcFontSetMatch fails in this way
2467 Make #warning about lacking various FreeType features indicate
2468 which version those features appeared so users know how to
2469 fix the problem (Thanks to Anton Tropashko)
2471 2004-05-05 Keith Packard <keithp@keithp.com>
2473 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2474 Replace MIN/MAX/ABS macros which happen to have come
2475 from FreeType with fontconfig-specific ones (FC_*)
2477 2004-04-23 Keith Packard <keithp@keithp.com>
2480 Extend release preparation instructions to include
2481 notification and distribution steps
2483 2004-04-23 Keith Packard <keithp@keithp.com>
2487 * fontconfig/fontconfig.h:
2488 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2490 2004-04-23 Keith Packard <keithp@keithp.com>
2493 Ignore a few more autotool files
2495 2004-04-14 Keith Packard <keithp@keithp.com>
2498 Add instructions for doing a release
2500 * fontconfig.spec.in:
2501 clean up .spec file; perhaps this will be useful to somebody...
2505 * fontconfig/fontconfig.h:
2508 * fc-lang/fc-lang.c:
2509 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2511 * fc-glyphname/Makefile.am:
2512 * fc-lang/Makefile.am:
2513 * fc-list/Makefile.am:
2514 * fc-match/Makefile.am:
2516 Add WARN_CFLAGS to pass -W flags for GCC systems
2518 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2519 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2520 Change various char types around to match across
2522 Fixed bug in using available_sizes[i].height which
2523 is in pixels, not 64ths of a pixel.
2525 2004-03-06 Keith Packard <keithp@keithp.com>
2527 * src/fcfreetype.c: (FcFreeTypeQuery):
2528 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2529 matches looking for explicit values prefer exact matches
2531 2004-03-02 Keith Packard <keithp@keithp.com>
2533 Supplied by: mfabian@suse.de (Mike FABIAN)
2535 * src/fcfreetype.c: (FcFreeTypeQuery):
2536 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2537 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2539 2004-02-21 Manish Singh <yosh@gimp.org>
2541 * fc-glyphname/fc-glyphname.c: (main):
2542 Cast strlen to int for printf, so we're 64-bit clean.
2544 2004-02-11 Keith Packard <keithp@keithp.com>
2547 * src/fcfreetype.c: (FcGetPixelSize):
2548 Ok, so I messed up the test for y_ppem. Let's see if I
2549 got it right this time.
2551 2004-02-10 Keith Packard <keithp@keithp.com>
2554 * src/fcfreetype.c: (FcGetPixelSize):
2555 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2556 FT_Bitmap_Size record. Add a configure.in test for this
2557 and change the code accordingly (using height instead).
2559 2004-02-06 Keith Packard <keithp@keithp.com>
2562 Add Low Saxon orthography
2563 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2565 * src/fccfg.c: (FcConfigNewestFile):
2566 Oops. Left 'newest.set' unset, which would miscompute
2569 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2570 (FcFreeTypeCheckGlyph):
2571 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2572 font properties (which report the wrong value in current FreeType)
2574 Don't attempt to check for empty glyphs in non-scalable fonts; they
2577 2004-02-01 Tor Lillqvist <tml@iki.fi>
2579 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2580 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2581 cache if config->cache is NULL, which happens if FcConfigHome() is
2582 NULL. Guard against that by using the temp folder in that case.
2584 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2586 * fc-lang/az_ir.orth:
2587 * fc-lang/ku_ir.orth:
2588 * fc-lang/ps_af.orth:
2589 * fc-lang/ps_pk.orth:
2590 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2591 (Afghan and Pakistani).
2593 Updated Urdu orthography with real data.
2595 2003-12-11 Carl Worth <cworth@east.isi.edu>
2597 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2600 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2602 (all-local): Remove excessive whitespace.
2604 * autogen.sh: Add 'set -e' to abort when any program fails,
2605 (avoids printing of 'now type make' after configure aborts).
2607 2003-11-17 Eric Christopherson <rakko@charter.net>
2609 reviewed by: Keith Packard <keithp@keithp.com>
2612 * fontconfig/fcfreetype.h:
2614 Switch to FreeType 2.1.7 style includes. Bug #150.
2616 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2618 * fc-list/fc-list.sgml: Add some example usages.
2620 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2623 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2626 2003-10-27 Keith Packard <keith@keithp.com>
2629 * fontconfig/fontconfig.h:
2630 Update to version 2.2.92
2632 2003-10-27 Keith Packard <keithp@keithp.com>
2637 * fc-cache/Makefile.am:
2638 * fc-glyphname/Makefile.am:
2639 * fc-lang/Makefile.am:
2640 * fc-list/Makefile.am:
2641 * fc-match/Makefile.am:
2644 Yet more cleanups to finish getting 'make distcheck' working
2645 This has been tested to ensure that it even works from a _build
2648 2003-10-26 Keith Packard <keithp@keithp.com>
2652 * fc-cache/Makefile.am:
2653 * fc-glyphname/Makefile.am:
2654 * fc-lang/Makefile.am:
2655 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2656 * fc-list/Makefile.am:
2657 * fc-match/Makefile.am:
2658 Attempts to fix 'make distcheck' work. Things are
2659 progressing pretty well, but there are still failures
2660 long into the process dealing with docs (as always).
2662 The big changes here are mostly to make $(srcdir) != "."
2663 work correctly, fixing the docbook related sections and
2664 fc-lang were particularily tricky. Docbook refuses to load
2665 system entities from anywhere other than where the original .sgml
2666 file was located, so no luck looking in "." for the
2667 configure-generated version.sgml and confdir.sgml files.
2669 fc-lang needed help finding .orth files; added a -d option
2670 to set the directory as the least evil of many options.
2672 Now to go use a faster machine and try and wring out the last
2675 2003-10-26 Keith Packard <keithp@keithp.com>
2679 2003-10-26 Keith Packard <keithp@keithp.com>
2682 Include confdir.sgml.in in EXTRA_DIST
2684 2003-10-09 Josselin Mouette <joss@debian.org>
2686 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2687 * fc-list/fc-list.sgml fc-list/Makefile.am:
2688 Replace fc-cache and fc-list manpages with more detailed, SGML
2691 2003-09-23 Owen Taylor <otaylor@redhat.com>
2693 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2694 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2695 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2698 2003-09-23 Owen Taylor <otaylor@redhat.com>
2700 * fc-lang/ka.orth: Remove Georgian capitals, they
2701 aren't used for normal writing. (Bug #116)
2703 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2705 * doc/fontconfig-devel.sgml:
2706 * doc/fontconfig-user.sgml:
2707 * fontconfig/fontconfig.h:
2709 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2710 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2712 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2713 monospace and dual-width fonts, allow roughly a 3% variance in the
2716 2003-08-31 Manish Singh <yosh@gimp.org>
2718 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2721 2003-08-15 Carl Worth <cworth@isi.edu>
2723 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2724 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2726 * src/fcpat.c (FcValueListEntDestroy): New function to support
2727 FcFini memory cleanup. Some statistics are not kept in
2729 (FcValueListFreeze): Move hashTable outside this function so it
2730 can be accessed by FcValueListThawAll.
2731 (FcValueListThawAll): New function complements FcValueListFreeze.
2732 (FcPatternBaseFreeze): Move hashTable outside this function so it
2733 can be accessed by FcPatternBaseThawAll.
2734 (FcPatternBaseThawAll): New function complements
2735 FcPatternBaseFreeze.
2736 (FcPatternThawAll): New function complements FcPatternFreeze.
2738 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2740 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2741 allocated FcCharLeafEnt "blocks" so they can be freed later.
2742 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2743 can be accessed by FcCharSetThawAllLeaf.
2744 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2745 (FcCharSetFreezeBase): Move hashTable outside this function so it
2746 can be accessed by FcCharSetThawAll.
2747 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2749 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2750 (FcConfigDestroy): Fic leak of FcBlanks.
2752 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2753 (main): Add call to FcFini when finished.
2755 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2756 static. Add prototypes.
2758 * doc/fcinit.fncs: Add documentation for FcFini function.
2760 * doc/edit-sgml.c: Mark several local functions as static. Add
2763 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2765 2003-06-15 Tor Lillqvist <tml@iki.fi>
2767 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2768 before comparing (needed on Windows).
2770 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2772 2003-06-13 Tor Lillqvist <tml@iki.fi>
2774 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2777 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2778 WINDOWSFONTDIR token.
2780 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2781 end, not to confuse libtool, which expects the EXPORTS line to be
2782 the first. Add FcConfigEnableHome.
2784 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2785 built as a DLL on Win32.
2787 2003-06-09 Keith Packard <keithp@keithp.com>
2789 * Tag version 2.2.90
2791 2003-06-09 Keith Packard <keithp@keithp.com>
2793 * Optimization in FcLangSetIndex was broken, occasionally
2794 returning a pointer to the wrong location on miss
2796 * Add fc-match to test font matching from the command line.
2798 2003-05-31 Keith Packard <keithp@keithp.com>
2800 * (Bug 85) add support for culmus fonts
2801 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2802 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2804 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2806 * Fix "contains" op for strings and langsets.
2808 2003-05-17 Keith Packard <keithp@keithp.com>
2810 * Fix build error with BDF prop local. Free langset after query
2812 2003-05-14 Keith Packard <keithp@keithp.com>
2814 * Extract spacing from XLFD atom
2816 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2818 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2819 disappeared in 1.30.
2821 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2823 2003-05-12 Keith Packard <keithp@keithp.com>
2825 * Use FcIsWidth to share code
2827 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2828 misclassifying some Han fonts as monospaced.
2830 2003-05-07 Keith Packard <keithp@keithp.com>
2832 * Add filename-based accept/reject to ammend available fonts.
2834 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2835 older FreeType releases.
2837 2003-05-06 Keith Packard <keithp@keithp.com>
2839 * Remove 0b82 and Tamil numbers from tamil
2840 orthography (Jungshik Shin <jshin@mailaps.org>)
2842 2003-05-04 Keith Packard <keithp@keithp.com>
2844 + Map glyph names in fonts with adobe custom encoding to unicode
2846 2003-05-02 Keith Packard <keithp@keithp.com>
2848 * Add FC_WEIGHT_BOOK as weight 75
2850 2003-04-30 Keith Packard <keithp@keithp.com>
2852 * Typo in bitstream foundry name
2854 2003-04-24 Keith Packard <keithp@keithp.com>
2856 * Eliminate italic_angle check for PS fonts
2858 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2860 * Getting closer to fixing /etc/fonts hard-coding.
2862 2003-04-22 Keith Packard <keithp@keithp.com>
2864 * Update autogen.sh to work with newer automake versions
2865 * Handle pattern elements moving during multiple edits
2867 2003-04-23 James Henstridge <james@daa.com.au>
2869 * doc/fontconfig-devel.sgml: close the <para> element.
2871 * doc/fcpattern.fncs: close the <para> element.
2873 * doc/func.sgml: close the <refsynopsisdiv> element.
2875 2003-04-22 Keith Packard <keithp@keithp.com
2877 * Update autogen.sh to work with newer automake versions
2878 * Handle pattern elements moving during multiple edits
2880 2003-04-17 Colin Walters <walters@debian.org>
2882 + Remove some unused variables, and initialize some other ones so
2883 gcc doesn't warn us.
2885 2003-04-16 Keith Packard <keithp@keithp.com>
2887 + tag version 2.1.94
2889 2003-04-16 Keith Packard <keithp@keithp.com>
2891 + add BDF property fetching support for foundry
2892 (from Juliusz Chroboczek)
2893 + add BDF property fetching support for width
2895 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2897 + Implemented foundry generation for Type 1 and TrueType
2899 2003-04-11 Gerard Escalante <g2@magestudios.net>
2901 + Retrieve information from Type1 FontInfo dictionaries
2903 2003-04-07 Colin Walters <walters@verbum.org>
2905 + src/Makefile.am: Fix dummy makefile target names when
2906 MS_LIB_AVAILABLE isn't set.
2908 2003-03-22 Tor Lillqvist <tml@iki.fi>
2910 Changes for Windows:
2912 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2914 + We don't want to hardcode the fonts.conf file location in the
2915 DLL, so we look up the DLL location at run-time in a DllMain()
2916 function. The fonts.conf location is deduced from that.
2918 + The colon can't be used as path separator on Windows,
2919 semicolon is used instead. File path components can be separated
2920 with either slash or backslash. Absolute paths can also begin
2921 with a drive letter.
2923 + Add internal function FcStrLastSlash that strrchr's the last
2924 slash, or backslash on Windows.
2926 + There is no link() on Windows. For atomicity checks, mkdir a
2927 lock directory instead.
2929 + In addition to HOME, also look for USERPROFILE.
2931 + Recognize the special font directory token WINDOWSFONTDIR, to
2932 use the system's font directory.
2934 + Remove the fontconfig-def.cpp that was obsolete. Add
2935 fontconfig.def(.in), without internal functions.
2937 + Add a fontconfig-zip(.in) script, used to build a binary
2940 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2941 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2942 to main package and man3/* to devel package
2944 + Added missing defattr(-, root, root) to main RPM package
2946 + Added HTML and text development documentation to -devel subpackage
2948 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2949 + Added back the configure macro options --disable-docs, otherwise
2950 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2951 version number) unconditionally, causing RPM to fail the build due
2952 to _unpackaged_files_terminate_build. We pick up the pregenerated
2953 docs with %doc already.
2955 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2956 + Removed commented out rpm macro define at top of spec file,
2957 replacing it with a simple explanation, since rpm macros are
2958 expanded by rpm even in comments.
2960 + Changed /usr/bin to _bindir in BuildRequires lines
2962 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2964 + Reorganized file manifest lists
2966 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2968 + fontconfig.spec.in: Improvements from Red Hat spec file.
2970 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2972 + docs/*.sgml: SGML fixes.
2974 Sat Mar 1 17:28:53 PST 2003 keithp
2975 + Ok, so the ChangeLog is a bit out of date
2977 + Lots of bugs fixed; most are in bugzilla, the
2978 biggest problems were in cache management where
2979 Owen discovered the library would lose badly when
2980 combining fonts-cache and ~/.fonts-cache data
2982 + Converted from autoconf to automake. This after
2983 getting patches accepted into libtool to allow
2984 the '-version-number' argument which lets
2985 packages set version numbers explicitly rather
2986 than the roundabout libtool way
2988 + Converted documentation to SGML using the docbook
2989 DTD. Now .txt and .html documents are installed
2990 in /usr/share/doc/fontconfig and there's no
2991 man page. Perhaps a man version can be written
2994 Sat Aug 31 15:21:22 PDT 2002 keithp
2995 + Xrender and Xft had several bugs related to
2996 rendering manually placed or poly-face text
2998 + Added more complete memory tracing in fontconfig
2999 Checked with (patched) mozilla and found no leaks
3001 + Updated Latin orthographies by comparing those from
3002 evertype.com with those from eki.ee. Tried to make
3003 sensible choices, including chars that occured in both
3004 and leaving some optional chars out that occured only
3007 Mon Aug 26 16:33:04 PDT 2002 keithp
3008 + Owen discovered that FcLangSetHasLang wasn't actually
3009 checking the language set.
3011 Mon Aug 26 13:37:23 PDT 2002 keithp
3012 + Append a version number to cache filenames
3014 Thu Aug 22 11:36:18 PDT 2002 keithp
3016 + Add "contains" and "not_contains" operators and elements to
3019 + Changed semantics of eq operator for LangSets to check for
3020 FcLangEqual so that any match will do
3022 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3023 of FcValueEqual to check for identical values when inserting into
3024 the results. This broke when the above semantic change was made,
3025 now it uses FcValueEqual which is "more correct" in any case.
3027 Thu Aug 22 00:32:29 PDT 2002 keithp
3029 + Reimplement FC_LANG as new datatype. Lists of strings
3030 was consuming over a megabyte of memory for 401 fonts.
3032 + Freeze patterns loaded from cache files. This shares
3033 common value lists and common patterns which saves
3034 considerable memory.
3036 + Change the denotation of 'constant' charsets to use special
3037 ref value instead of separate boolean.
3039 + Clean up leak tracing stuff, found several unannoted alloc/free
3042 Tue Aug 20 16:17:37 PDT 2002 keithp
3044 + Fix memory leak when parsing matrices from XML
3046 Mon Aug 19 11:57:27 PDT 2002 keithp
3048 + Fix autoconf files to pass FONTCONFIG_PATH on
3049 compile line so that ${prefix} gets substituted
3052 + Use getc_unlocked/putc_unlocked on systems that
3053 provide them to avoid damage done to stdio by posix
3055 + Eliminate FC_PATTERN and FcTypePattern in favor of
3056 an extended api for FcConfigSubstitute which takes
3057 both the font and the pattern.
3059 + Add 'sans serif' alias for 'sans-serif' as some apps
3060 can't handle hyphens in family names
3062 + Eliminate pretense of support for libxml2
3064 + Comment origins of Han orthographies
3066 Tue Jul 30 18:37:09 PDT 2002 keithp
3068 + Add binding property to edit element so that strong
3069 binding values may be inserted by the config file.
3070 The default remains weak.
3072 Sun 28 Jul 04:16:55 PDT 2002 keithp
3074 + Tagged release candidate 1 in the CVS tree and
3075 placed fcpackage.rc1.tar.gz for distribution
3077 Thu Aug 1 08:55:08 PDT 2002 keithp
3079 + Fixed autoconf builds to always specify install
3080 target files (for BSD). Also fixed to
3081 define FONTCONFIG_PATH in config.h so that
3082 nonstandard installs will actually work.