1 2006-03-15 Patrick Lam <plam@mit.edu>
5 Fix typos in orth files. Reported by Denis Jacquerye.
7 2006-03-08 Patrick Lam <plam@mit.edu>
12 Fix Makefile.am for removal of debian/ directory.
14 2006-03-08 Patrick Lam <plam@mit.edu>
17 Ignore debian/ directory for CVS.
19 2006-03-08 Patrick Lam <plam@mit.edu>
22 Now remove debian/ directory.
24 2006-03-08 Patrick Lam <plam@mit.edu>
27 Remove debian/ directory from sources. See Debian's subversion
28 server at svn://svn.debian.org/pkg-freedesktop/trunk/fontconfig
31 2006-03-08 Denis Jacquerye <moyogo@gmail.com>
35 * fc-lang/iso639-1, fc-lang/iso639-2:
37 Add orthography for Lingala.
39 2006-03-08 Carl Worth <cworth@cworth.org>
43 * conf.d/10LohitGujarati.conf:
45 Add a configuration file that disables hinting for the Lohit
46 Gujarati font (since the hinting distort some glyphs quite badly).
48 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
51 * src/fcdir.c (FcDirScanConfig):
53 Sort directory entries while scanning them from disk;
54 prevents Heisenbugs due to file ordering in a directory.
56 2006-03-07 Behdad Esfahbod <behdad@cs.toronto.edu>
59 * src/fcfreetype.c (GetScriptTags):
60 * src/ftglue.c, src/ftglue.h:
62 Remove stuff we don't use, make get_{char,short,long} functions
63 of ftglue macros to be inlined.
66 * src/fcname.c (FcObjectSerialize):
68 Code cleanups (excess prototype, old-style function definition).
70 2006-03-05 Patrick Lam <plam@mit.edu>
71 * src/fcpat.c (FcPatternGetString):
73 Because we hacked FcPatternGet, we don't really need to expand the
74 filename again in FcPatternGetString.
76 2006-03-05 Patrick Lam <plam@mit.edu>
77 * src/fcpat.c (FcPatternGetString, FcPatternGet):
79 Ok, so some people (wine!) use FcPatternGet to fetch FC_FILE.
80 Make that work. Reported by Bernhard Rosenkraenzer.
82 2006-03-03 Patrick Lam <plam@mit.edu>
85 Include inttypes.h instead of stdint.h if appropriate.
87 2006-03-03 Patrick Lam <plam@mit.edu>
88 * fc-cat/fc-cat.c (FcFileIsDir):
89 * fc-glyphname/fc-flyphname.c:
91 More stub definitions and remove FcFileIsDir from fc-cat.
93 2006-03-03 Patrick Lam <plam@mit.edu>
96 Fix compilation on AIX with stub definitions (bug 6097).
98 2006-03-03 Patrick Lam <plam@mit.edu>
99 * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
100 * src/fcfreetype.c (GetScriptTags):
101 * src/fcfs.c (FcFontSetDistributeBytes):
102 * src/fcpat.c (FcValueListEntCreate, FcValueListNeededBytes):
104 Get rid of C++-style comments.
106 2006-03-03 Patrick Lam <plam@mit.edu>
109 Enable creation of 2.3.94 Debian packages.
111 2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
114 * src/fclang.c (FcCharSetForLang):
116 Fix suspicious return expression which causes junk
119 2006-02-24 Patrick Lam <plam@mit.edu>
123 * fontconfig/fontconfig.h:
125 Bump version to 2.3.94.
127 2006-02-24 Patrick Lam <plam@mit.edu>
132 2006-02-24 Patrick Lam <plam@mit.edu>
133 * conf.d/10-fonts-persian.conf:
135 Remove unconditional emboldening (per Behdad's instructions).
139 Add @s to hide some echos.
141 2006-02-24 Mike Fabian <mfabian@suse.de>
142 Takashi Iwai <tiwai@suse.de>
145 * src/fcfreetype.c (GetScriptTags):
147 Fix double-free on error case.
149 2006-02-21 Patrick Lam <plam@mit.edu>
150 * fc-lang/fc-lang.c (scan):
152 Strip \r and whitespace from input; fixes bug 3454.
154 2006-02-21 Patrick Lam <plam@mit.edu>
155 * fc-lang/fc-lang.c (main):
157 Allocate large arrays statically in fc-lang to fix crashes under
160 2006-02-21 Diego Petten <flameeyes@gentoo.org>
161 * src/fcfreetype.c (FcFreeTypeCharIndex):
163 Pass the buck; make fontconfig not crash on pango badness.
165 2006-02-21 Patrick Lam <plam@mit.edu>
166 * conf.d/10-fonts-persian.conf:
168 Use embeddedbitmap rather than rh_prefer_bitmap.
170 2006-02-21 Paul Cornett <paulcor1@bullseye.com>
173 * src/fccache.c (FcDirCacheWrite):
174 * src/fcdir.c (FcFileScanConfig):
175 * src/fcfreetype.c (FcStringInPatternElement):
176 * src/fcxml.c (FcParseFamilies):
177 * src/ftglue.c (ftglue_face_goto_table):
179 Eliminate redundancies.
181 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
184 * fc-list/fc-list.c (main):
185 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
186 * src/fcstr.c (FcStrStr):
187 * src/fcxml.c (FcConfigSaveAttr):
189 Eliminate unused vars reported by Intel's compiler.
191 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
196 Remove one more archaic character.
198 2006-02-21 Ross Burton <ross@burtonini.com>
199 reviewed by: plam, keithp
201 * src/fcxml.c (FcParsePatelt):
203 Freeze patterns created by configuration file for tiny
204 memory savings (every little bit helps).
206 2006-02-21 Mike Fabian <mfabian@suse.de>
209 * fc-cat/fc-cat.c (main):
211 Initialize fontconfig library in fc-cat to avoid segfault.
213 2006-02-18 Patrick Lam <plam@mit.edu>
214 * fc-cache/fc-cache.c (scanDirs):
215 * src/fccache.c (FcCacheReadDirs):
216 * src/fcdir.c (FcDirScanConfig):
218 Fix the underlying cause of the below segfault (must usually
219 call FcDirCacheHasCurrentArch after FcDirCacheValid).
221 2006-02-18 Patrick Lam <plam@mit.edu>
222 * src/fccache.c (FcDirCacheHasCurrentArch):
224 Fix triggering of segfault caused by misreading cache files
225 (reported by fcrozat).
227 2006-02-17 Patrick Lam <plam@mit.edu>
228 * src/fcint.h (FC_CACHE_MAGIC):
230 Bump up magic version; we changed the binary format.
232 2006-02-17 Patrick Lam <plam@mit.edu>
233 * fc-cat/fc-cat.c (main):
235 Enable fc-cat to print out old-style cache info when given a
238 2006-02-16 Patrick Lam <plam@mit.edu>
239 * src/fccache.c (FcDirCacheHasCurrentArch):
241 Deal correctly with changing FC_CACHE_MAGIC.
243 2006-02-16 Patrick Lam <plam@mit.edu>
244 * fc-cache/fc-cache.c (usage, scanDirs, main):
246 Add -r --really-force option which blows away cache files and then
249 2006-02-16 Patrick Lam <plam@mit.edu>
250 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
252 Don't bail if fontconfig can't remove a dir cache file.
253 Skip the ID of a cache file when copying.
254 Eliminate 'source file too small' bug in FcDirCacheWrite.
256 2006-02-13 Patrick Lam <plam@mit.edu>
257 * src/fcfreetype.c (FcFreeTypeQuery):
259 Fix memory leak in error condition code.
261 2006-02-13 Mike Fabian <mfabian@suse.de>
263 * src/fcfreetype.c (FcFreeTypeQuery):
265 Skip bitmap fonts which can't even get it together enough to
266 declare a family name; this appears to reproduce previous
267 fontconfig behaviour.
269 2006-02-10 Takashi Iwai <tiwai@suse.de>
271 * src/fccache.c (FcDirCacheOpen):
273 Try to open /var/cache/fontconfig/[hashed name] before
274 fonts.cache-2 in a directory, because /var/cache/fontconfig
275 failures ought to be fixable, unlike fonts.cache-2 failures,
276 which may leave you screwed.
278 2006-02-10 Takashi Iwai <tiwai@suse.de>
280 * src/fcmatch.c (FcFontSetMatch):
282 Use a tri-state to mark the fonts which didn't get blocked but
283 were just missing an element, to distinguish them from the
284 fonts that do match the element.
286 2006-02-10 Takashi Iwai <tiwai@suse.de>
288 * src/fcmatch.c (FcFontSetMatch):
290 Don't kill fonts because they don't declare an element that's
293 2006-02-09 Patrick Lam <plam@mit.edu>
294 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
295 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
297 Define and pass O_BINARY to open if appropriate, for those
298 platforms that need it. Reported by Doodle.
300 2006-02-09 Patrick Lam <plam@mit.edu>
301 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
304 Fix problem with missing 'en' due to euro.patch: change
305 cache file format slightly to coincide with that generated
308 2006-02-07 Patrick Lam <plam@mit.edu>
309 * src/fccache.c (FcCacheReadDirs):
313 2006-02-07 Patrick Lam <plam@mit.edu>
314 * src/fcdir.c (FcDirScanConfig):
316 Don't reject dirs that can't be normalized (fixes lilypond, and
317 is correct in the context of application font directories.)
319 2006-02-07 Takashi Iwai <tiwai@suse.de>
322 * src/fccache.c (FcCacheReadDirs):
324 Use normalized directory name exclusively in FcCacheReadDirs.
326 2006-02-07 Dirk Mueller <dmueller@suse.com>
329 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
331 Perf optimizations. Inline FcValueCanonicalize,
332 reduce FcValueListPtrU usage, remove redundant cast.
334 2006-02-07 Takashi Iwai <tiwai@suse.de>
337 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
340 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
341 Declare extern for static arrays as arrays, not pointers.
342 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
344 2006-02-07 Dirk Mueller <dmueller@suse.com>
357 Add Euro sign to list of symbols required by European languages.
359 2006-02-07 Patrick Lam <plam@mit.edu>
360 * src/fccache.c (FcCacheReadString):
362 Fix hidden variable warning.
364 2006-02-07 Dirk Mueller <dmueller@suse.com>
367 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
369 Remove de-escaping logic because FcCacheWriteString
370 doesn't escape anyway. Do blockwise reading instead
371 of byte-wise for performance.
373 2006-02-06 Patrick Lam <plam@mit.edu>
374 Takashi Iwai <tiwai@suse.de>
376 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
378 Don't loop infinitely on recursive symlinks (client-side).
380 2006-02-06 Takashi Iwai <tiwai@suse.de>
382 * fc-cache/fc-cache.c (scanDirs, main):
384 Don't loop infinitely on recursive symlinks.
386 2006-02-06 Takashi Iwai <tiwai@suse.de>
388 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
389 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
390 FcGlobalCacheSave, FcCacheReadDirs):
393 Skip subdirs when skipping over stale bits of global cache.
394 Introduce state machine into FcGlobalCacheDir to avoid
395 doing inappropriate operations on global dir entries, e.g.
396 writing out an out-of-date cache entry.
398 2006-02-06 Takashi Iwai <tiwai@suse.de>
400 * src/fcdir.c (FcFileScanConfig):
402 Hoist FcFileIsDir check out of FcFileScanConfig loop.
404 2006-02-06 Takashi Iwai <tiwai@suse.de>
407 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
408 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
410 Don't rescan when trying to normalize a non-declared font dir.
411 Don't add font dirs multiple times (even if they're aliased).
413 2006-02-06 Dirk Mueller <dmueller@suse.de>
416 * src/fcfs.c (FcFontSetUnserialize):
418 Explain apples/oranges comparison and fix compilation error.
420 2006-02-06 Dirk Mueller <dmueller@suse.de>
423 * src/fcfs.c (FcFontSetUnserialize):
425 Insert check for integer overflow in # of fonts.
427 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
431 * fc-cache/Makefile.am:
432 * fc-cat/Makefile.am:
433 * fc-list/Makefile.am:
435 Make 'make distcheck' work with automake 1.6.3.
437 2006-02-03 Takashi IWAI <tiwai@suse.de>
440 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
443 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
444 FcDirCacheConsume, FcDirCacheWrite)
445 * src/fcxml.c (FcConfigMessage):
447 Check I/O call return values and eliminate unused variable
450 2006-02-03 Takashi Iwai <tiwai@suse.de>
453 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
457 2006-02-03 Dirk Mueller <dmueller@suse.de>
460 * src/fcfs.c (FcFontSetUnserialize):
462 Gracefully handle the case where a cache asserts that it
463 has a negative number of fonts, causing overflow.
465 2006-02-03 Patrick Lam <plam@mit.edu>
466 * src/fccache.c (FcDirCacheUnlink):
468 Fix double free in error case.
470 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
471 Stephan Kulow <coolo@suse.de>
474 * fc-cache/Makefile.am:
476 Replace 'stamp' target with mkinstalldirs.
478 2006-01-31 Mike Fabian <mfabian@suse.de>
481 * src/fccache.c (FcGlobalCacheLoad):
483 Toast broken global cache files.
485 2006-01-30 Patrick Lam <plam@mit.edu>
486 * src/fccache.c (FcGlobalCacheReadDir):
488 Actually use the directories that I added to the global cache.
491 2006-01-30 Mike Fabian <mfabian@suse.de>
494 * fc-cache/fc-cache.c (scanDirs):
496 Don't stop scanning if a directory in fonts.conf doesn't
497 exist, because subsequent directories might exist.
499 2006-01-30 Patrick Lam <plam@mit.edu>
500 * src/fccache.c (FcGlobalCacheLoad):
502 Make global cache work again after putting dir names into global
503 cache (I misplaced the recording of a file offset).
505 2006-01-30 Patrick Lam <plam@mit.edu>
506 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
508 Update fc-cat to handle subdir lists in global cache file.
510 * src/fccache.c (FcGlobalCacheLoad):
512 Another FcCacheReadString return value check.
514 2006-01-30 Mike Fabian <mfabian@suse.de>
517 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
518 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
520 Make fccache more resilient to broken cache files by checking
521 return value of FcCacheReadString all the time.
523 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
526 * fc-match/fc-match.1:
527 * fc-lang/fc-lang.man:
529 Remove references to dead fontconfig(3) manpages in
530 other fontconfig manpages.
532 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
535 * doc/fcpattern.fncs:
537 Fix world's tiniest typo in code example.
539 2006-01-29 Mike Fabian <mfabian@suse.de>
542 * src/fccache.c (FcGlobalCacheReadDir):
544 Fix global cache reads of subdirectories.
546 2006-01-29 Patrick Lam <plam@mit.edu>
548 Add documentation for FcConfigNormalizeFontDir.
550 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
551 FcGlobalCacheUpdate, FcGlobalCacheSave):
552 * src/fcdir.c (FcDirScanConfig):
555 Write directory information to global caches to fix make check
556 (reported by Ronny V. Vindenes). This changes the global cache
559 2006-01-27 Patrick Lam <plam@mit.edu>
560 * fc-cache/fc-cache.c (scanDirs):
561 * fontconfig/fontconfig.h:
563 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
565 Move FcConfigNormalizeFontDir call so that it doesn't result in
566 infinite recursion (reported by Ronny V. Vindenes).
568 2006-01-26 Patrick Lam <plam@mit.edu>
569 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
570 * src/fccfg.c (FcConfigNormalizeFontDir):
572 Add a couple of missing normalizations to make fc-cache work
573 right; only scan subdirectories once.
575 2006-01-26 Mike Fabian <mfabian@suse.de>
578 * src/fcacache.c (FcGlobalCacheReadDir):
580 Don't crash on non-existant directories in global cache.
582 2006-01-26 Patrick Lam <plam@mit.edu>
583 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
584 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
585 * src/fcdir.c (FcDirScanConfig):
586 * src/fcxml.c (FcEndElement):
588 Stop trampling the directory name when writing out caches.
589 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
590 subdirs when necessary. Don't scan directories that can't be
593 2006-01-25 Patrick Lam <plam@mit.edu>
594 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
595 * src/fccfg.c (FcConfigEvaluate):
596 * src/fcfreetype.c (FcPatternAddWithBinding):
598 Fix additional memory leaks reported by Ronny V. Vindenes: don't
599 invoke FcValueSave on hashed static strings in
600 FcPatternAddWithBinding.
602 Add another st_dev check in FcDirCacheOpen.
604 2006-01-24 James Su <james.su@gmail.com>
607 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
608 * fc-lang/zh_hk.orth:
610 Treat zh-hk fonts differently from zh-tw fonts. This patch may
611 cause fontconfig to treat A-X fonts differently from A-Y fonts;
612 please mail the fontconfig list if this causes any problems.
614 2006-01-24 Patrick Lam <plam@mit.edu>
615 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
616 * src/fcfreetype.c (FcFreeTypeQuery):
618 Fix memory leaks reported by Ronny V. Vindenes.
620 2006-01-19 Andreas Schwab <schwab@suse.de>
623 * src/fcpat.c (FcStrNeededBytes):
625 Fix for unaligned memory accesses.
627 2006-01-18 Mike Fabian <mfabian@suse.de>
630 * src/fcdir.c (FcDirScanConfig):
632 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
633 calls to avoid crashes.
635 2006-01-14 Patrick Lam <plam@mit.edu>
636 * src/fccache.c (FcDirCacheConsume):
638 Fix segfault when consuming zero-length caches in fc-cat
639 (which has no config, so FcConfigAddFontDir shouldn't be called.)
641 2006-01-14 Patrick Lam <plam@mit.edu>
642 * fc-cache/fc-cache.c (scanDirs):
643 * fontconfig/fontconfig.h:
644 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
645 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
646 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
647 * src/fcdir.c (FcDirScanConfig):
650 Compare device numbers as well as inodes.
651 Always normalize directory names before comparing them.
653 2006-01-11 Mike Fabian <mfabian@suse.de>
656 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
658 Allocate extra space for appended '/' in directory name.
660 2006-01-10 Patrick Lam <plam@mit.edu>
661 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
662 FcDirCacheValid, FcDirCacheHasCurrentArch,
663 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
664 * fc-cache/fc-cache.c (main):
666 Explicitly add font dirs to config.fontDirs even if they're empty.
667 Set current config in fc-cache.c.
668 Fix treatment of cache directory as read from cache file; don't
669 use string equality to determine if we have the right file,
672 2006-01-09 Patrick Lam <plam@mit.edu>
673 * fc-cache/fc-cache.c (scanDirs):
674 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
675 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
676 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
677 * src/fccfg.c (FcConfigNormalizeFontDir):
678 * src/fcdir.c (FcDirScanConfig):
681 Normalize font dirs by using the form, as given in fonts.conf, and
682 recorded in FcConfig's fontDirs string set, as canonical.
684 Actually update config.fontDirs as font directories are scanned.
686 2006-01-08 James Su <james.su@gmail.com>
687 * src/fcmatch.c (FcFontSetMatch):
689 Fix matching bug when multiple elements match; don't use
690 the sum of all scores, but the best score.
692 Also more perf opts, e.g. evaluate best over all font sets
693 rather than on a per-set basis (and other changes).
695 2006-01-08 Patrick Lam <plam@mit.edu>
696 * src/fccache.c (FcDirCacheConsume):
698 Properly skip past dir caches that contain zero fonts (as occurs
699 in global caches.) Reported by Mike Fabian.
701 2006-01-06 Patrick Lam <plam@mit.edu>
702 * src/fcdbg.c (FcPatternPrint):
704 Print out full pathname in fc-match -v as well. Reported by
707 2006-01-06 Mike Fabian <mfabian@suse.de>
710 * src/fcname.c (FcNameParse):
712 Fix bug where fc-match crashes when given __DUMMY__ property to
715 (I added the __DUMMY__ string to enable callers of
716 FcObjectToPtrLookup to distinguish an error return from a
717 successful return. -PL)
719 2006-01-05 Patrick Lam <plam@mit.edu>
722 Add self to AUTHORS list.
724 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
725 FcCacheFileRead, FcCachePrintSet, main):
726 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
727 FcGlobalCacheSave, FcCacheNextOffset,
728 FcDirCacheHasCurrentArch, FcDirCacheRead,
729 FcDirCacheConsume, FcDirCacheWrite):
731 * src/fcpat.c (comment):
733 Minor change to global cache file format to fix fc-cat bug
734 reported by Frederic Crozat, and buglet with not globally caching
735 directories with zero fonts cached.
737 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
740 * src/fccfg.c (FcConfigEvaluate):
742 Fix double-free which occurs because FcValueCanonicalize doesn't
743 create an extra copy of the returned value, it only canonicalizes
746 2006-01-02 Patrick Lam <plam@mit.edu>
747 * doc/fontconfig-user.sgml:
749 Fix version of .cache file (currently 1 -> currently 2). Reported
752 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
755 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
757 Shut up GCC warnings on amd.
759 2005-12-20 Patrick Lam <plam@mit.edu>
763 * fontconfig/fontconfig.h:
765 Bump version to 2.3.93.
767 2005-12-20 Patrick Lam <plam@mit.edu>
768 * src/fccharset.c (FcLangCharSetPopulate):
769 * src/fcint.h (FcCacheBankToIndex):
771 Avoid check on _fcBankId nullness and fix case where it used to
774 2005-12-20 Patrick Lam <plam@mit.edu>
775 * src/fcxml.c (FcConfigParseAndLoad):
777 Use open instead of fopen (requested by Phil Race for Sun).
779 2005-12-20 Patrick Lam <plam@mit.edu>
780 * src/fccache.c (FcDirCacheWrite);
781 * fc-cache/Makefile.am:
783 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
786 2005-12-20 Patrick Lam <plam@mit.edu>
787 * src/fcfreetype.c (FcFreeTypeQuery):
789 Restore code to skip over PCF fonts that have no encoded
791 (We guess that a font is PCF by presence of the PIXEL_SIZE
794 2005-12-12 Patrick Lam <plam@mit.edu>
795 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
797 Read and write the original location as a fallback for the
798 hashed cache file locations. This is mostly for users to be
799 able to have per-directory cache files.
801 2005-12-12 Patrick Lam <plam@mit.edu>
802 * fc-cache/fc-cache.c (scanDirs):
803 * fc-cache/Makefile.am:
804 * src/fccache.c (FcDirCacheHashName):
806 Improve error message when fc-cache can't write the cache. Add
807 missing slash. Reported by Behdad. Incorporate Behdad's patch to
808 create /var/cache/fontconfig when appropriate.
810 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
813 * src/fcxml.c (FcConfigGetAttribute):
815 Fix crash reported by Frederic Crozat when using libxml2.
817 2005-12-09 Patrick Lam <plam@mit.edu>
820 * fc-cache/Makefile.am:
821 * fc-cat/Makefile.am:
823 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
824 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
825 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
826 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
827 FcDirCacheHasCurrentArch, FcDirCacheHashName,
828 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
830 Migrate cache files from fonts directories to
831 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
832 but requires that all caches get rebuilt.
834 Also, autogen.sh now needs the additional parameter
835 --localstatedir=/var.
837 2005-12-07 Patrick Lam <plam@mit.edu>
838 * src/fcpat.c (FcPatternAddString):
840 Because we've changed FcPatternAddString to use FcStrStaticName
841 and not FcValueSave, explicitly handle the case of a null string.
843 2005-12-06 Patrick Lam <plam@mit.edu>
844 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
848 2005-12-05 Patrick Lam <plam@mit.edu>
849 * src/fcname.c (FcNameGetObjectType):
851 Don't assign types to user object names.
853 2005-12-05 Patrick Lam <plam@mit.edu>
854 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
856 Don't free strings that have been returned from FcStrStaticName.
858 2005-12-01 Patrick Lam <plam@mit.edu>
859 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
861 Add codepath for reading global cache files as well.
863 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
866 * conf.d/10-fonts.persian.conf:
867 * conf.d/Makefile.am:
869 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
871 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
874 * src/fcxml.c (FcConfigParseAndLoad):
876 Only add a config file to the set of config files once.
878 2005-11-29 Patrick Lam <plam@mit.edu>
879 * src/fcint.h (FcCacheBankToIndex);
881 Fix segfault by guarding array dereference.
883 2005-11-29 Dirk Mueller <dmueller@suse.de>
887 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
888 FcCacheBankToIndex, FcCacheBankToIndexMTF,
892 Refactor FcCacheBankToIndex into an inlineable part
893 (in fcint.h) which checks the front of the list and a
894 non-inlineable part which finds and moves the appropriate element
895 to the front of the list.
897 2005-11-29 Patrick Lam <plam@mit.edu>
898 * src/fccfg.c (FcConfigBuildFonts):
899 * src/fccache.c (FcCacheReadDirs):
901 Make the perf guys hate me a bit less: hoist the directory-name
902 FcConfigAcceptFont check for cached fonts up to directory cache
903 read time, rather than running it for each font.
905 2005-11-29 Patrick Lam <plam@mit.edu>
906 * src/fccfg.c (FcConfigBuildFonts):
908 * src/fcpat.c (FcPatternFindFullFname):
910 Don't make FcPatternFindFullFname available to fccfg, it's not
911 really safe. Instead go through FcPatternGetString (sorry,
912 perf guys.) Also, use globs for dirs as well.
914 2005-11-28 Patrick Lam <plam@mit.edu>
915 * src/fccfg.c (FcConfigBuildFonts):
919 2005-11-28 Patrick Lam <plam@mit.edu>
921 * src/fcpat.c (FcPatternFindFullFname):
922 * src/fccfg.c (FcConfigBuildFonts):
924 Fix problem dating back at least to 2.3.2 where globs weren't
925 being applied to patterns loaded from a cache.
927 2005-11-28 Patrick Lam <plam@mit.edu>
928 * doc/fontconfig-user.sgml:
930 Fix some obvious spelling mistakes.
932 2005-11-28 Dirk Mueller <dmueller@suse.com>
933 Stephan Kulow <coolo@suse.de>
936 * src/fcmatch.c (FcFontSetMatch):
938 Don't kill all fonts during match (oops!)
941 2005-11-25 Dirk Mueller <dmueller@suse.com>
942 Stephan Kulow <coolo@suse.de>
943 Michael Matz <matz@suse.de>
946 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
949 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
950 inline FcCompare into FcFontSetMatch and reorder the
951 loops, adding a boolean array which blocks patterns from future
952 consideration if they're known to not be best on some past
955 2005-11-26 Dirk Mueller <dmueller@suse.com>
958 * src/fcmatch.c (FcCompareValueList):
962 2005-11-25 Patrick Lam <plam@mit.edu>
963 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
965 Don't do random matching when bad objects are passed into
968 2005-11-25 Patrick Lam <plam@mit.edu>
970 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
971 FcPatternSerialize, FcPatternUnserialize,
972 FcValueListEnsureBank, FcValueListDistributeBytes,
973 FcValueListUnserialize):
975 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
976 _fcPatternElts, _fcValueLists for consistency.
978 2005-11-25 Dirk Mueller <dmueller@suse.com>
983 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
985 2005-11-25 Patrick Lam <plam@mit.edu>
987 * src/fccache.c (FcDirCacheConsume):
988 * src/fccharset.c (FcCharSetUnserialize):
989 * src/fcfs.c (FcFontSetUnserialize):
990 * src/fclang.c (FcLangSetUnserialize):
991 * src/fcname.c (FcObjectUnserialize):
992 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
993 FcPatternUnserialize):
995 Pass around FcCache *s to the Unserialize functions for extra
996 consistency (and less overhead, for what that's worth).
998 2005-11-24 Dirk Mueller <dmueller@suse.com>
1002 * src/fcmatch.c (FcCompare*, FcFontSetSort):
1003 * src/fcname.c (FcNameUnparseValue):
1005 Inline the *PtrU functions to gain perf.
1006 Remove unneeded params for the FcCompare* functions.
1008 2005-11-24 Dirk Mueller <dmueller@suse.com>
1011 * src/fcint.h, fontconfig/fontconfig.h:
1013 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
1015 * src/fcpat.c, src/fcint.h, src/fcname.c:
1017 Check for type validity during FcPatternAddWithBinding, don't
1018 verify type in FcFontMatch, don't call FcCanonicalize here
1019 (which always does a deep copy).
1021 2005-11-24 Dirk Mueller <dmueller@suse.com>
1024 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
1025 * src/fcpat.c (FcPatternAddWithBinding):
1027 Make FcCompareString and FcCompareFamily less expensive.
1028 Only add a value for FC_FAMILY if the proposed value is a string.
1030 2005-11-24 Dirk Mueller <dmueller@suse.com>
1033 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
1034 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
1035 * src/fcint.h (FcDebug):
1037 Inline FcDebug invocations and only initialize once, in FcInit*.
1038 Improve debug msg in FcPatternPrint.
1040 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1043 * fontconfig/fontconfig.h:
1046 Minor code warning cleanups.
1048 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
1051 * fc-match/fc-match.c (main):
1053 Make getopt_long accept -s parameter to fc-match as well.
1055 2005-11-21 Dirk Mueller <dmueller@suse.com>
1058 * src/fcmatch.c (FcCompareValueList):
1060 Manually perform inlining & partial redundancy elimination to
1061 reduce calls to FcValueListPtrU.
1063 2005-11-21 Dirk Mueller <dmueller@suse.com>
1066 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
1067 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
1069 Only invoke strlen() when really necessary.
1071 2005-11-19 Matthias Clasen <mclasen@redhat.com>
1075 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
1076 FcFontCapabilities):
1080 Get rid of the use of freetype internal headers in fcfreetype.c,
1081 since those headers will go away with freetype 2.2. Replace with
1082 public domain ftglue code from pango. Note that the patch removes
1083 some extra error checking in FT_Get_BDF_Property() and comments
1084 out the skipping of empty pcf fonts.
1086 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
1089 * fc-lang/fc-lang.c (main):
1091 Further fix of patch from 2005-11-04: miscounted numbers count
1092 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
1093 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
1095 Removed leafidx_count and numbers_count since they are the same
1096 and replaced them with offset_count.
1098 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1101 * fc-cat/fc-cat.c (main):
1103 Don't crash when fc-cat invoked with no arguments.
1105 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
1108 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
1110 Fix invalid read access caused by premature free and
1111 GCC4 warnings in libxml2 codepath.
1113 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
1116 * src/fccfg.c (FcConfigValues):
1118 List iteration not needed in FcConfigValues, since it's building
1119 up the list itself; we can just strip FcVoid elements during
1122 2005-11-17 Patrick Lam <plam@mit.edu>
1123 * src/fccfg.c (FcConfigValues):
1125 Fix crash on invalid constants in config files (forgot to update
1126 a pointer upon list iteration.)
1128 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
1131 * src/fcxml.c (FcTypecheckExpr):
1133 Complain about invalid constants in config files.
1135 2005-11-17 Andreas Schwab <schwab@suse.de>
1138 * src/fccache.c (FcGlobalCacheSave):
1140 Don't add current_arch_start more than once.
1142 2005-11-16 Patrick Lam <plam@mit.edu>
1143 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
1144 * src/fcfs.c (FcFontSetUnserialize):
1145 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
1146 * src/fcpat.c (FcStrUnserialize):
1148 Fix ordering of ALIGN with respect to saving block_ptr; add
1149 another ALIGN to fcfs.c.
1151 2005-11-16 Patrick Lam <plam@mit.edu>
1152 * src/fccache.c (FcDirCacheProduce)
1154 Fix case where alignment bytes bumped up metadata->count
1155 causing unwarranted failures to write cache files.
1156 (Reported by Stephan Kulow).
1158 2005-11-16 Patrick Lam <plam@mit.edu>
1159 * src/fccache.c (FcDirCacheProduce):
1160 * src/fccharset.c (FcCharSetDistributeBytes):
1161 * src/fcfs.c (FcFontSetDistributeBytes):
1163 * src/fclang.c (FcLangSetDistributeBytes):
1164 * src/fcname.c (FcObjectDistributeBytes):
1165 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
1168 Add *NeededBytesAlign(), which overestimates the padding which is
1169 later added by the new ALIGN macro. Fix alignment problems on
1170 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
1171 version by Andreas Schwab).
1173 2005-11-16 Stephan Kulow <coolo@kde.org>
1178 Use sysconf to determine proper PAGESIZE value; this
1179 appears to be POSIX-compliant. (reported by Andreas Schwab)
1181 2005-11-04 Patrick Lam <plam@mit.edu>
1182 * fc-lang/fc-lang.c:
1187 Fix bug 2878 (excessive relocations at startup for charsets,
1188 reported by Ross Burton): fc-lang/fc-lang now creates the
1189 static form of the langset, not the dynamic form, so that
1190 the charsets should now be in .rodata.
1192 2005-11-04 Patrick Lam <plam@mit.edu>
1193 * src/fcdir.c (FcDirScanConfig):
1195 Add test for validity of directory caches that
1196 somehow got lost (reported by make distcheck).
1198 2005-11-04 Patrick Lam <plam@mit.edu>
1202 * fontconfig/fontconfig.h:
1204 Bump version to 2.3.92.
1206 2005-11-02 Patrick Lam <plam@mit.edu>
1207 * src/fcpat.c (FcPatternDuplicate):
1209 Fix argument ordering problem in call to FcPatternTransferFullFname.
1211 2005-11-02 Patrick Lam <plam@mit.edu>
1212 * src/fcfreetype.c (FcFreetypeQuery):
1213 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1214 FcPatternTransferFullFname):
1216 Fix warnings and embarrassing double-free error.
1218 2005-11-02 Zhe Su <zsu@novell.com>
1223 Change the rule for artificial emboldening in fonts.conf.in. This
1224 enables the support for artificial emboldening included in cairo.
1226 2005-11-02 Patrick Lam <plam@mit.edu>
1227 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1229 Don't zero out full names for FC_REF_CONSTANT fonts;
1230 also, duplicate full names when transferring, and free
1231 full names when freeing the associated font.
1232 Reported by Jinghua Luo.
1234 2005-11-02 Patrick Lam <plam@mit.edu>
1235 * fc-cache/fc-cache.c (scanDirs):
1236 * src/fcpat.c (FcValueListSerialize):
1238 Revert the previous patch and commit the correct patch:
1239 I forgot a canonicalization in FcValueListSerialize, so
1240 that it would choke on already-serialized input files. Duh!
1242 2005-11-02 Patrick Lam <plam@mit.edu>
1243 * fc-cache/fc-cache.c (scanDirs):
1245 Forcibly rescan a directory before writing a fresh local
1246 cache file for that directory, fixing the losing-fonts
1247 problem reported by Mike Fabian and also apparently the
1248 font cache file corruption.
1250 2005-11-02 Patrick Lam <plam@mit.edu>
1251 * src/fccache.c (FcGlobalCacheLoad):
1253 Fix thinko: actually, the whole global cache is stale
1254 if the global cache is older than the (newest) config file.
1256 2005-11-02 Patrick Lam <plam@mit.edu>
1257 * src/fccache.c (FcGlobalCacheLoad):
1258 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1261 Declare the global cache of a directory's contents to be stale if
1262 the directory is newer than the (newest) configuration file.
1264 2005-10-31 Patrick Lam <plam@mit.edu>
1266 * src/fclist.c (FcListAppend):
1267 * src/fcmatch.c (FcFontRenderPrepare):
1268 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1269 FcPatternFreeze, FcPatternBaseFreeze):
1271 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1272 applications continue breaking.
1274 2005-10-31 Patrick Lam <plam@mit.edu>
1275 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1276 * src/fcfreetype.c (FcFreeTypeQuery):
1278 Fix small memory error (tried to free argv); use basename and
1279 dirname correctly (they can modify their arguments).
1281 2005-10-31 Patrick Lam <plam@mit.edu>
1289 Reinstate basename patch, but keep a hash table linking FcPatterns
1290 to their fully-qualified font names for clients' benefit. Clients
1291 only pay for the font names once they request the FC_FILE property
1292 from an FcPattern, but the font name is malloc'd at that point (i.e.
1293 not mmapped: that's impossible, since it may vary between machines.)
1294 Clients do have to pay for a copy of the path name per cache file.
1296 Note that FcPatternGetString now does some rewriting if you ask
1297 for an FC_FILE, appending the pathname as appropriate.
1299 2005-10-31 Patrick Lam <plam@mit.edu>
1300 * src/fcfreetype.c (FcFreeTypeQuery):
1302 Revert basename patch, which breaks fontconfig clients on my system.
1304 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1307 * fontconfig/fonts.conf.in:
1308 * fontconfig/fontconfig.h:
1312 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1313 to load embedded bitmaps or not.
1315 2005-10-25 Patrick Lam <plam@mit.edu>
1316 * src/fcfreetype.c (FcFreeTypeQuery):
1318 Only add basename to patterns' FC_FILE element, not any part of
1321 2005-10-22 Patrick Lam <plam@mit.edu>
1324 Add some more consts, fixing more GCC4 warnings.
1326 2005-10-22 Zhe Su <zsu@novell.com>
1329 Support localized font family and style names.
1330 This has been reported to break old apps like xfd, but modern
1331 (gtk+/qt/mozilla) apps work fine.
1333 2005-10-21 Patrick Lam <plam@mit.edu>
1334 * src/fccache.c (FcGlobalCacheLoad):
1336 Destroy the global cache file if it's terminally broken. (reported by
1339 2005-10-21 Patrick Lam <plam@mit.edu>
1340 * fc-list/fc-list.c (main):
1341 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1342 * fontconfig/fontconfig.h:
1344 Prevent fc-list from escaping strings when printing them (reported by
1347 2005-10-20 Marcus Meissner <meissner@suse.de>
1350 * fontconfig/fontconfig.h:
1352 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1354 2005-10-14 Ross Burton <ross@burtonini.com>
1357 * fc-glyphname/fc-glyphname.c:
1360 Add consts to variables so as to move arrays into .rodata.
1362 2005-10-14 Mike Fabian <mfabian@suse.de>
1365 * src/fccache.c (FcDirCacheUnlink):
1367 Check existence of directory cache file before attempting to unlink.
1369 2005-10-13 Patrick Lam <plam@mit.edu>
1370 * src/fccache.c (FcDirCacheUnlink):
1372 Fix flipped return value on unlink. (Reported by Mike Fabian)
1374 2005-10-12 Patrick Lam <plam@mit.edu>
1377 * src/fcdir.c (FcDirScanConfig):
1380 When fc-cache is run without --force, use directory cache files
1381 to speed up fc-cache run time. (Reported by Mike Fabian)
1383 2005-10-06 Patrick Lam <plam@mit.edu>
1385 * src/fcname.c (FcObjectToPtr):
1386 * src/fcpat.c (FcStrStaticName):
1388 Add padding to make valgrind and glibc not hate each other
1389 when calling strlen().
1391 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1392 reviewed by: plam & keithp
1396 Modify config file to use Greek fonts before Asian fonts with
1399 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1400 reviewed by: plam & keithp
1404 Use libtool -no-undefined flag on all platforms.
1406 2005-10-05 Patrick Lam <plam@mit.edu>
1407 * src/fccache.c (FcCacheHaveBank):
1409 Implement move-to-front array for banks (perf regression
1410 reported by Ronny V. Vindenes).
1412 2005-10-04 Patrick Lam <plam@mit.edu>
1413 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1414 FcDirCacheHasCurrentArch):
1415 * fc-cache/fc-cache.c (scanDirs):
1416 * fontconfig/fontconfig.h:
1418 Add new API which unlinks directory caches and checks dir caches
1419 for existence of appropriate sections. Fix fc-cache to unlink
1420 stale cache files and save directory caches that lack relevant
1423 2005-10-03 Patrick Lam <plam@mit.edu>
1424 * src/fccache.c (FcDirCacheValid):
1426 Ensure that a directory cache has the appropriate section
1427 before reporting that it is valid (reported by Matthias Clasen).
1429 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1437 Use libxml2 if requested (with --enable-libxml2) or if
1438 expat is not available.
1440 2005-09-29 Patrick Lam <plam@mit.edu>
1441 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1443 Fix multi-arch cache files: compute the position for the
1444 block to be added using info from OrigFile, not NewFile.
1446 2005-09-28 Patrick Lam <plam@mit.edu>
1447 * src/fccache.c (FcCacheMachineSignature):
1449 Cast results of sizeof() to unsigned int to get rid of
1450 warnings on x86_64 (thanks Matthias Clasen).
1452 2005-09-27 Patrick Lam <plam@mit.edu>
1453 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1456 Use FcAtomic to rewrite cache files.
1458 2005-09-27 Patrick Lam <plam@mit.edu>
1460 * src/fccache.c (FcDirCacheWrite):
1462 Don't unlink the fonts.cache-2 file even if there's no data
1463 to write; just write an empty cache file. (thanks Lubos Lunak)
1465 2005-09-27 Patrick Lam <plam@mit.edu>
1467 * src/fccache.c (FcDirCacheWrite):
1469 Allocate room for the subdirectory names in each
1470 directory cache. Thanks to James Cloos for finding
1471 and diagnosing this bug!
1473 2005-09-22 Patrick Lam <plam@mit.edu>
1475 * fc-cache/fc-cache.sgml:
1476 * src/fccache.c (FcDirCacheWrite):
1477 * src/fccache.h (struct FcCache):
1479 Update documentation -- fc-cache's man page now says that you
1480 need to run fc-cache once per cached architecture; add some
1481 documentation to the FcCache structure.
1483 Make fc-cache write out fonts.cache-2 files for directories with
1484 no fonts (i.e. only subdirectories).
1486 2005-09-22 Patrick Lam <plam@mit.edu>
1488 * fc-cache/fc-cache.sgml:
1489 * fc-case/fc-case.c:
1490 * fc-glyphname/fc-glyphname.c:
1496 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1500 * fc-lang/fc-lang.c:
1501 * fontconfig/fcprivate.h:
1502 * fontconfig/fontconfig.h:
1516 Implement new mmaped cache for font information.
1517 Bump so revision to 2.3.90.
1519 2005-07-25 Keith Packard <keithp@keithp.com>
1521 * doc/fontconfig-user.sgml:
1522 * fc-glyphname/fc-glyphname.c: (scan), (main):
1523 * fc-lang/fc-lang.c: (FcConfigHome):
1524 * fc-match/fc-match.c: (main):
1525 * src/fccfg.c: (FcConfigHome):
1526 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1527 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1528 (addtag), (FcFontCapabilities):
1529 * src/fcpat.c: (FcValueListEntCreate):
1530 * src/fcstr.c: (FcStrCaseWalkerInit):
1531 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1533 Various GCC 4 cleanups for signed vs unsigned char
1535 Match only [0-9]*.conf files in <include>{directory}</include>
1536 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1538 2005-07-15 Carl Worth <cworth@cworth.org>
1541 * src/fcinit.c: (FcFini):
1542 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1545 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1546 Pull the FcObjectStateName hash table out to file scope, and add
1547 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1550 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1553 2005-06-16 Patrick Lam <plam@MIT.EDU>
1557 * src/fccfg.c: (FcConfigCompareValue):
1558 Make FcOpNotContains use FcStrStr for strings so that
1559 it matches semantics for !FcOpContains.
1561 2005-05-20 Keith Packard <keithp@keithp.com>
1565 Move fontconfig source package to libs as per override
1567 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1569 reviewed by: Mike Fabian
1572 The ka.orth file requires several characters which are not
1573 used anymore in modern Georgian and which are missing in the free
1574 Georgian TrueType fonts downloadable at:
1576 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1578 2005-04-27 Keith Packard <keithp@keithp.com>
1582 Update date to real 2.3.2 release date.
1583 Fix change attributions
1585 2005-04-27 Keith Packard <keithp@keithp.com>
1588 Bump so revision for 2.3.2
1589 * fc-cache/fc-cache.c: (scanDirs):
1590 Fix a few minor leaks in error cases.
1592 2005-04-23 Keith Packard <keithp@keithp.com>
1597 * fontconfig/fontconfig.h:
1598 Update for version 2.3.2
1600 2005-04-21 Keith Packard <keithp@keithp.com>
1602 * debian/fontconfig.postinst:
1603 Don't force bitmap font enable in default
1604 configuration; allows users to override this in
1614 * debian/po/pt_BR.po:
1615 * debian/po/templates.pot:
1617 * debian/po/zh_CN.po:
1618 Updated translations
1620 * fc-cache/fc-cache.c: (main):
1621 Destroy font configuration on exit to help valgrind
1624 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1625 (FcFreeTypeCheckGlyph):
1626 Use own transcoding routines in preference to iconv
1627 which appears to have leaks in some translators.
1628 Call iconv_close after using iconv (oops).
1630 Prefer unicode encoding of Euro char as some
1631 fonts mis-encode Euro in other ones.
1633 Must fetch bitmap glyphs to get width values
1634 to check for monospace/dual-width fonts.
1636 2005-04-13 Ross Burton <ross@burtonini.com>
1639 Check that a pattern isn't already frozen in FcPatternFreeze.
1641 2005-03-31 Ross Burton <ross@burtonini.com>
1646 Run all FcPattern objects through FcObjectStaticName, so that
1647 compares can be done on pointers instead of strings (#2659)
1649 2005-03-17 Tor Lillqvist <tml@novell.com>
1651 * src/fontconfig.def.in: Add the .dll to the dll name.
1653 2005-03-10 Keith Packard <keithp@keithp.com>
1655 * debian/README.Debian:
1656 Update to reflect configuration changes
1658 * debian/fontconfig.postinst:
1659 Fix Autohint vs Autohinter mistake
1660 * debian/fontconfig.templates:
1661 Adopt changes from Josselin Mouette for configuration descriptions
1662 Update debian to version 2.3.1-2
1664 2005-03-08 Keith Packard <keithp@keithp.com>
1668 Update debian for 2.3.1
1670 2005-03-09 Tor Lillqvist <tml@novell.com>
1672 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1675 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1678 2005-03-08 Keith Packard <keithp@keithp.com>
1682 * fontconfig/fontconfig.h:
1685 2005-03-05 Keith Packard <keithp@keithp.com>
1687 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1688 Include space and remove numbers from valid script tags.
1689 This ensures that tags like 'lao ' work while rejecting
1690 those which have any digits.
1691 Eliminate a spurious debugging variable (len)
1693 2005-03-05 Keith Packard <keithp@keithp.com>
1695 * src/fcfreetype.c: (addtag), (GetScriptTags),
1696 (FcFontCapabilities):
1697 Rework GSUB/GPOS script parsing to survive broken fonts.
1698 Thanks for the broken font go to Manish Singh
1700 2005-03-05 Keith Packard <keithp@keithp.com>
1705 * debian/fontconfig.config:
1706 * debian/fontconfig.templates:
1708 Include 2.3 release information in changelog
1709 Add Josselin Mouette as an Uploader
1710 Set hinting_type to low priority configuration option
1713 * debian/fontconfig.postinst:
1714 yes_bitmaps.conf -> yes-bitmaps.conf
1720 2005-03-02 Keith Packard <keithp@keithp.com>
1723 * conf.d/Makefile.am:
1724 * conf.d/autohint.conf:
1725 * conf.d/no-sub-pixel.conf:
1726 * conf.d/sub-pixel.conf:
1727 * conf.d/unhinted.conf:
1728 * debian/autohint.conf:
1729 * debian/fontconfig.install:
1730 * debian/fontconfig.postinst:
1731 * debian/fontconfig.templates:
1732 * debian/no-sub-pixel.conf:
1733 * debian/unhinted.conf:
1734 Move debian-specific conf file examples upstream.
1736 Sub-pixel configuration examples must smash subpixel value
1737 as Xft always sets it from X.
1739 Change sub-pixel rendering debconf descriptions from
1740 Enable/Disable to Always/Never.
1742 2005-03-02 Keith Packard <keithp@keithp.com>
1745 * conf.d/.cvsignore:
1747 Ignore more build detritus
1750 Add debian package construction stuff.
1752 * config/config.guess:
1753 * config/config.sub:
1754 Update to newer versions of these tools
1757 Get library manuals to build again (we love automake).
1759 * debian/README.Debian:
1760 * debian/autohint.conf:
1765 * debian/fontconfig-udeb.install:
1766 * debian/fontconfig.config:
1767 * debian/fontconfig.defoma:
1768 * debian/fontconfig.dirs:
1769 * debian/fontconfig.install:
1770 * debian/fontconfig.postinst:
1771 * debian/fontconfig.postrm:
1772 * debian/fontconfig.templates:
1773 * debian/libfontconfig1-dev.install:
1774 * debian/libfontconfig1.install:
1775 * debian/local.conf.md5sum:
1776 * debian/no-sub-pixel.conf:
1777 * debian/po/POTFILES.in:
1786 * debian/po/pt_BR.po:
1787 * debian/po/templates.pot:
1789 * debian/po/zh_CN.po:
1791 * debian/unhinted.conf:
1792 Update debian build system to switch maintainers and
1793 deal with 2.3 functionality
1795 2005-03-01 Keith Packard <keithp@keithp.com>
1799 * fontconfig/fontconfig.h:
1802 2005-03-01 Keith Packard <keithp@keithp.com>
1805 Generate and install PDF versions of the manuals
1807 * doc/fcpattern.fncs:
1810 * doc/fcstring.fncs:
1811 Add missing exported functions, fix data types
1813 * doc/fontconfig-devel.sgml:
1814 Add missing pattern elements.
1816 * doc/fontconfig-user.sgml:
1817 Add missing pattern elements. Document conf.d usage,
1818 clarify available orthography list. Fix some config file
1819 attributes. Complete list of constants.
1821 * fontconfig/fontconfig.h:
1822 Mark FC_SOURCE deprecated.
1824 * src/fcfreetype.c: (FcFreeTypeQuery):
1825 Don't set FC_SOURCE any longer.
1827 2005-02-28 Keith Packard <keithp@keithp.com>
1830 * conf.d/Makefile.am:
1832 * conf.d/no-bitmaps.conf:
1833 * conf.d/sub-pixel.conf:
1834 * conf.d/yes-bitmaps.conf:
1836 Create prototype /etc/fonts/conf.d directory with a few
1837 sample configuration files.
1838 Deprecate use of local.conf for local customizations in favor of
1839 this directory based scheme which is more easily integrated into
1840 installation systems.
1843 Tag FC_EMBOLDEN as a boolean variable
1845 2005-02-10 Keith Packard <keithp@keithp.com>
1847 reviewed by: pborelli@katamail.com
1849 * src/fcdir.c: (FcFileScanConfig):
1850 Free patterns from fonts which are rejected by configuration
1853 2005-01-28 Keith Packard <keithp@keithp.com>
1857 * fontconfig/fontconfig.h:
1858 Update for version 2.2.99
1860 2005-01-28 Keith Packard <keithp@keithp.com>
1863 Add a few pointers (#2284, #2285)
1865 2005-01-28 Keith Packard <keithp@keithp.com>
1868 * src/fcname.c: (FcNameBool):
1869 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1870 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1871 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1872 Polite typechecking for test and edit expressions. Helps
1873 catch errors in the font configuration. (bug 229)
1875 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1877 reviewed by: Keith Packard <keithp@keithp.com>
1880 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1882 2005-01-13 Keith Packard <keithp@keithp.com>
1884 * doc/fontconfig-user.sgml:
1885 Add SEE ALSO section (bug 2085)
1887 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1889 reviewed by: Keith Packard <keithp@keithp.com>
1894 * fc-case/Makefile.am:
1895 * fc-glyphname/Makefile.am:
1896 * fc-lang/Makefile.am:
1897 * src/fontconfig.def.in:
1898 Cross compiling fixes (bug 280)
1900 2005-01-13 Keith Packard <keithp@keithp.com>
1903 Update blanks list (Closes bug 86)
1905 2005-01-04 Keith Packard <keithp@keithp.com>
1907 * src/fccache.c: (FcCacheFontSetAdd):
1908 Verify that every font pattern loaded from cache has
1909 both FC_FILE and FC_FAMILY entries.
1910 Attempt to fix bug #2219.
1912 2004-12-29 Keith Packard <keithp@keithp.com>
1916 * fontconfig/fontconfig.h:
1917 Update for version 2.2.98
1919 2004-12-29 Keith Packard <keithp@keithp.com>
1921 * fontconfig/fontconfig.h:
1922 Document ASCII limitations of Fc character conversion macros
1923 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1924 Fix off-by-one error in utf-8 case walking code.
1925 Add FcStrDowncase (useful for testing case conversion functions)
1927 2004-12-29 Keith Packard <keithp@keithp.com>
1930 * fc-case/.cvsignore:
1931 clean up CVS ignore lists
1932 * fc-lang/iso-3166.txt:
1933 Add territory database
1935 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1937 Reviewed by: Keith Packard
1940 Remove Han characters from Korean orthography
1942 2004-12-29 Keith Packard <keithp@keithp.com>
1945 Reorder utility programs to make sure fc-case is run before fc-lang
1946 as fc-lang uses fcstr.c which uses fccase.h
1950 2004-12-29 Keith Packard <keithp@keithp.com>
1953 Adopt some RedHat suggestions for standard font configuration.
1957 * fc-case/CaseFolding.txt:
1958 * fc-case/Makefile.am:
1959 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1960 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1961 (dump), (parseRaw), (caseFoldReadRaw), (main):
1962 * fc-case/fccase.tmpl.h:
1963 Add new helper program 'fc-case' to construct case folding
1964 tables from standard Unicode CaseFolding.txt file
1967 * src/fclist.c: (FcListValueHash):
1968 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1969 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1970 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1971 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1972 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1973 Re-implement case insensitive functions with Unicode
1974 aware versions (including full case folding mappings)
1976 2004-12-13 Keith Packard <keithp@keithp.com>
1978 reviewed by: Owen Taylor <otaylor@redhat.com>
1980 * src/fcmatch.c: (FcFontSetSort):
1981 I changed FcFontSetSort to respect the generic aliases better
1982 in the face of language matching.
1984 What I did was to ammend the strict sort order used by FcFontSort so
1985 that it 'satisfies' the language specified in the pattern by locating
1986 the best matching font supporting each pattern language and then
1987 ignores language in the remaining fonts for purposes of matching.
1989 So, when asking for 'sans:lang=en', you'll get an English font first,
1990 and then the remaining fonts sorted with respect to the 'sans' alias
1991 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1993 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1995 reviewed by: Keith Packard <keithp@keithp.com>
1997 * fontconfig/fontconfig.h:
2000 Configuration changes to request synthetic emboldening of
2001 fonts. The actual emboldening code will live in Xft.
2003 2004-12-09 John Thacker <thacker@math.cornell.edu>
2005 reviewed by: Keith Packard <keithp@keithp.com>
2009 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
2010 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
2011 и), and don't even appear in KOI8-R. (The hypothesis that they
2012 don't appear in KOI8-R due to their similarity with Latin I and i is
2013 eliminated by their presence in KOI8-U.) I have a couple of fonts
2014 with Russian support that don't have the letter.
2016 Therefore, 0406 and 0456 should be removed from or commented out of
2019 2004-12-06 michael meeks <mmeeks@novell.com>
2021 Reviewed by: Keith Packard <keithp@keithp.com>
2023 * src/fcinit.c: (FcMemReport):
2025 * src/fclist.c: (FcObjectSetAdd):
2026 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
2027 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
2028 * src/fcxml.c: (FcParsePatelt):
2029 memoize strings and share a single copy for all uses. Note that
2030 this could be improved further by using statically allocated blocks
2031 and gluing multiple strings together, but I'm basically lazy.
2032 In my environment with 800 font files, I get a savings of about 90KB.
2034 2004-12-06 Keith Packard <keithp@keithp.com>
2038 * config/Makedefs.in:
2041 * doc/fcatomic.fncs:
2042 * doc/fcblanks.fncs:
2043 * doc/fccharset.fncs:
2044 * doc/fcconfig.fncs:
2045 * doc/fcconstant.fncs:
2047 * doc/fcfontset.fncs:
2048 * doc/fcfreetype.fncs:
2050 * doc/fcmatrix.fncs:
2051 * doc/fcobjectset.fncs:
2052 * doc/fcobjecttype.fncs:
2053 * doc/fcpattern.fncs:
2054 * doc/fcstring.fncs:
2055 * doc/fcstrset.fncs:
2057 * doc/fontconfig-devel.sgml:
2058 * doc/fontconfig-user.sgml:
2060 * doc/version.sgml.in:
2061 * fc-cache/Makefile.am:
2062 * fc-cache/fc-cache.c:
2063 * fc-glyphname/Makefile.am:
2064 * fc-glyphname/fc-glyphname.c:
2065 * fc-glyphname/fcglyphname.tmpl.h:
2066 * fc-lang/Makefile.am:
2076 * fc-lang/az_ir.orth:
2110 * fc-lang/fc-lang.c:
2111 * fc-lang/fc-lang.man:
2112 * fc-lang/fclang.tmpl.h:
2157 * fc-lang/ku_ir.orth:
2190 * fc-lang/ps_af.orth:
2191 * fc-lang/ps_pk.orth:
2220 * fc-lang/ti_er.orth:
2221 * fc-lang/ti_et.orth:
2247 * fc-lang/zh_cn.orth:
2248 * fc-lang/zh_hk.orth:
2249 * fc-lang/zh_mo.orth:
2250 * fc-lang/zh_sg.orth:
2251 * fc-lang/zh_tw.orth:
2253 * fc-list/Makefile.am:
2254 * fc-list/fc-list.c:
2255 * fc-match/Makefile.am:
2256 * fc-match/fc-match.1:
2257 * fc-match/fc-match.c:
2258 * fontconfig/fcfreetype.h:
2259 * fontconfig/fcprivate.h:
2260 * fontconfig/fontconfig.h:
2281 Change files from ISO-Latin-1 to UTF-8
2283 2004-12-04 Keith Packard <keithp@keithp.com>
2286 Update links to new freedesktop.org locations
2288 Add uninstall-local to get rid of fonts.conf and local.conf if they
2289 match the distributed versions. Fixes 'make distcheck'
2291 2004-12-04 Keith Packard <keithp@keithp.com>
2295 * fontconfig/fontconfig.h:
2296 Updates for version 2.2.97
2298 2004-12-04 Owen Taylor <otaylor@redhat.com>
2300 reviewed by: Keith Packard <keithp@keithp.com>
2302 * fc-cache/fc-cache.c: (main):
2303 Sleep for two seconds before exiting to make sure timestamps
2304 for future changes have distinct mod times in the file system.
2307 Add Punjabi orthography. Bug #1671.
2309 2004-12-04 Keith Packard <keithp@keithp.com>
2312 Just remove the FC_FONTDATE -- it has locale issues and
2313 annoys redhat multi-arch installs. Now that all X fonts are
2314 included without prejudice, the chances of the date being at
2315 all interesting are rather limited. Bug #505.
2317 Add copyright and license
2319 2004-12-04 Keith Packard <keithp@keithp.com>
2322 Change default set of fonts to include all of
2323 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2324 * doc/fontconfig-user.sgml:
2325 Document new <include>directory-name</include> semantics
2327 add <include ignore_missing="yes">conf.d</include>
2329 Add selectfont to ignore bitmap fonts, add comment for
2330 selectfont which accepts bitmap fonts.
2333 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2334 Allow <include> configuration elements to reference directories.
2335 Parse and load all files of the form [0-9]* in sorted order.
2337 2004-12-04 Keith Packard <keithp@keithp.com>
2340 Report command line for $srcdir/configure accurately.
2343 2004-12-04 Keith Packard <keithp@keithp.com>
2345 * src/fcfreetype.c: (FcFreeTypeQuery):
2346 Check for non-empty face->family_name and face->style_name
2347 before using those for the font. Empty names match everything.
2350 2004-12-04 Keith Packard <keithp@keithp.com>
2353 * fontconfig/fontconfig.h:
2354 * src/fcfreetype.c: (FcFreeTypeQuery):
2356 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2357 available. This provides font file format information (BDF, Type 1,
2358 PCF, TrueType) for each font. Closes #109.
2360 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2362 reviewed by: Keith Packard <keithp@keithp.com>
2364 * doc/fontconfig-user.sgml:
2367 * fontconfig/fontconfig.h:
2368 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2369 (GetScriptTags), (FcFontCapabilities):
2371 Add detection for font capabilities (bug #105)
2373 2004-12-04 Keith Packard <keithp@keithp.com>
2376 Move existing fonts.conf to fonts.conf.bak
2379 Add detection of iconv
2381 * doc/fcpattern.fncs:
2382 * doc/fontconfig-devel.sgml:
2383 * doc/fontconfig-user.sgml:
2385 Document new selectfont elements
2388 Switch to UTF-8 in comment
2390 * fontconfig/fontconfig.h:
2392 Add fullname, and family/style/fullname language entries
2394 * src/fccache.c: (FcCacheFontSetAdd):
2395 * src/fcdir.c: (FcFileScanConfig):
2396 Respect selectfont/*/glob
2399 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2400 (FcConfigCompareValue), (FcConfigPatternsAdd),
2401 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2402 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2403 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2404 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2405 Add support for selectfont
2407 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2408 (FcStringInPatternElement), (FcFreeTypeQuery):
2409 Add multi-lingual family/style/fullname support
2411 * src/fclist.c: (FcListPatternMatchAny):
2412 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2414 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2415 (FcObjectStaticName):
2416 Add new FcPatternRemove/FcPatternAppend.
2417 FcObjectStaticName stores computed pattern element names which
2418 are required to be static.
2420 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2425 Remove spurious / after $(DESTDIR)
2427 2004-06-30 Keith Packard <keithp@keithp.com>
2431 * fontconfig/fontconfig.h:
2434 2004-06-30 Keith Packard <keithp@keithp.com>
2436 Provided by: Lubos Lunak <l.lunak@suse.cz>
2438 * src/fccfg.c: (FcConfigUptoDate):
2439 However FcConfigUptoDate() doesn't seem to work. See the attached
2440 patch. First there's an obvious misplaced parenthesis making it
2441 return always false, and second, even this call fails to detect font
2442 changes (e.g. adding a new font to
2443 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2444 well. The problem seems to be triggered by my fonts.conf specifying
2445 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2446 doesn't include subdirs, unlike config->fontDirs.
2448 2004-06-03 Keith Packard <keithp@keithp.com>
2450 * fontconfig/fontconfig.h:
2451 Remove comma at end of FcResult enum definition.
2453 2004-05-29 Keith Packard <keithp@keithp.com>
2456 Add steps to md5sum release
2458 2004-05-29 Keith Packard <keithp@keithp.com>
2462 * fontconfig/fontconfig.h:
2465 2004-05-29 Keith Packard <keithp@keithp.com>
2467 * fontconfig/fontconfig.h:
2468 * src/fcmatch.c: (FcFontSetMatch):
2469 Add FcResultOutOfMemory to provide an accurate error when
2470 FcFontSetMatch fails in this way
2473 Make #warning about lacking various FreeType features indicate
2474 which version those features appeared so users know how to
2475 fix the problem (Thanks to Anton Tropashko)
2477 2004-05-05 Keith Packard <keithp@keithp.com>
2479 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2480 Replace MIN/MAX/ABS macros which happen to have come
2481 from FreeType with fontconfig-specific ones (FC_*)
2483 2004-04-23 Keith Packard <keithp@keithp.com>
2486 Extend release preparation instructions to include
2487 notification and distribution steps
2489 2004-04-23 Keith Packard <keithp@keithp.com>
2493 * fontconfig/fontconfig.h:
2494 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2496 2004-04-23 Keith Packard <keithp@keithp.com>
2499 Ignore a few more autotool files
2501 2004-04-14 Keith Packard <keithp@keithp.com>
2504 Add instructions for doing a release
2506 * fontconfig.spec.in:
2507 clean up .spec file; perhaps this will be useful to somebody...
2511 * fontconfig/fontconfig.h:
2514 * fc-lang/fc-lang.c:
2515 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2517 * fc-glyphname/Makefile.am:
2518 * fc-lang/Makefile.am:
2519 * fc-list/Makefile.am:
2520 * fc-match/Makefile.am:
2522 Add WARN_CFLAGS to pass -W flags for GCC systems
2524 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2525 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2526 Change various char types around to match across
2528 Fixed bug in using available_sizes[i].height which
2529 is in pixels, not 64ths of a pixel.
2531 2004-03-06 Keith Packard <keithp@keithp.com>
2533 * src/fcfreetype.c: (FcFreeTypeQuery):
2534 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2535 matches looking for explicit values prefer exact matches
2537 2004-03-02 Keith Packard <keithp@keithp.com>
2539 Supplied by: mfabian@suse.de (Mike FABIAN)
2541 * src/fcfreetype.c: (FcFreeTypeQuery):
2542 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2543 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2545 2004-02-21 Manish Singh <yosh@gimp.org>
2547 * fc-glyphname/fc-glyphname.c: (main):
2548 Cast strlen to int for printf, so we're 64-bit clean.
2550 2004-02-11 Keith Packard <keithp@keithp.com>
2553 * src/fcfreetype.c: (FcGetPixelSize):
2554 Ok, so I messed up the test for y_ppem. Let's see if I
2555 got it right this time.
2557 2004-02-10 Keith Packard <keithp@keithp.com>
2560 * src/fcfreetype.c: (FcGetPixelSize):
2561 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2562 FT_Bitmap_Size record. Add a configure.in test for this
2563 and change the code accordingly (using height instead).
2565 2004-02-06 Keith Packard <keithp@keithp.com>
2568 Add Low Saxon orthography
2569 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2571 * src/fccfg.c: (FcConfigNewestFile):
2572 Oops. Left 'newest.set' unset, which would miscompute
2575 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2576 (FcFreeTypeCheckGlyph):
2577 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2578 font properties (which report the wrong value in current FreeType)
2580 Don't attempt to check for empty glyphs in non-scalable fonts; they
2583 2004-02-01 Tor Lillqvist <tml@iki.fi>
2585 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2586 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2587 cache if config->cache is NULL, which happens if FcConfigHome() is
2588 NULL. Guard against that by using the temp folder in that case.
2590 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2592 * fc-lang/az_ir.orth:
2593 * fc-lang/ku_ir.orth:
2594 * fc-lang/ps_af.orth:
2595 * fc-lang/ps_pk.orth:
2596 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2597 (Afghan and Pakistani).
2599 Updated Urdu orthography with real data.
2601 2003-12-11 Carl Worth <cworth@east.isi.edu>
2603 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2606 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2608 (all-local): Remove excessive whitespace.
2610 * autogen.sh: Add 'set -e' to abort when any program fails,
2611 (avoids printing of 'now type make' after configure aborts).
2613 2003-11-17 Eric Christopherson <rakko@charter.net>
2615 reviewed by: Keith Packard <keithp@keithp.com>
2618 * fontconfig/fcfreetype.h:
2620 Switch to FreeType 2.1.7 style includes. Bug #150.
2622 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2624 * fc-list/fc-list.sgml: Add some example usages.
2626 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2629 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2632 2003-10-27 Keith Packard <keith@keithp.com>
2635 * fontconfig/fontconfig.h:
2636 Update to version 2.2.92
2638 2003-10-27 Keith Packard <keithp@keithp.com>
2643 * fc-cache/Makefile.am:
2644 * fc-glyphname/Makefile.am:
2645 * fc-lang/Makefile.am:
2646 * fc-list/Makefile.am:
2647 * fc-match/Makefile.am:
2650 Yet more cleanups to finish getting 'make distcheck' working
2651 This has been tested to ensure that it even works from a _build
2654 2003-10-26 Keith Packard <keithp@keithp.com>
2658 * fc-cache/Makefile.am:
2659 * fc-glyphname/Makefile.am:
2660 * fc-lang/Makefile.am:
2661 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2662 * fc-list/Makefile.am:
2663 * fc-match/Makefile.am:
2664 Attempts to fix 'make distcheck' work. Things are
2665 progressing pretty well, but there are still failures
2666 long into the process dealing with docs (as always).
2668 The big changes here are mostly to make $(srcdir) != "."
2669 work correctly, fixing the docbook related sections and
2670 fc-lang were particularily tricky. Docbook refuses to load
2671 system entities from anywhere other than where the original .sgml
2672 file was located, so no luck looking in "." for the
2673 configure-generated version.sgml and confdir.sgml files.
2675 fc-lang needed help finding .orth files; added a -d option
2676 to set the directory as the least evil of many options.
2678 Now to go use a faster machine and try and wring out the last
2681 2003-10-26 Keith Packard <keithp@keithp.com>
2685 2003-10-26 Keith Packard <keithp@keithp.com>
2688 Include confdir.sgml.in in EXTRA_DIST
2690 2003-10-09 Josselin Mouette <joss@debian.org>
2692 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2693 * fc-list/fc-list.sgml fc-list/Makefile.am:
2694 Replace fc-cache and fc-list manpages with more detailed, SGML
2697 2003-09-23 Owen Taylor <otaylor@redhat.com>
2699 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2700 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2701 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2704 2003-09-23 Owen Taylor <otaylor@redhat.com>
2706 * fc-lang/ka.orth: Remove Georgian capitals, they
2707 aren't used for normal writing. (Bug #116)
2709 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2711 * doc/fontconfig-devel.sgml:
2712 * doc/fontconfig-user.sgml:
2713 * fontconfig/fontconfig.h:
2715 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2716 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2718 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2719 monospace and dual-width fonts, allow roughly a 3% variance in the
2722 2003-08-31 Manish Singh <yosh@gimp.org>
2724 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2727 2003-08-15 Carl Worth <cworth@isi.edu>
2729 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2730 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2732 * src/fcpat.c (FcValueListEntDestroy): New function to support
2733 FcFini memory cleanup. Some statistics are not kept in
2735 (FcValueListFreeze): Move hashTable outside this function so it
2736 can be accessed by FcValueListThawAll.
2737 (FcValueListThawAll): New function complements FcValueListFreeze.
2738 (FcPatternBaseFreeze): Move hashTable outside this function so it
2739 can be accessed by FcPatternBaseThawAll.
2740 (FcPatternBaseThawAll): New function complements
2741 FcPatternBaseFreeze.
2742 (FcPatternThawAll): New function complements FcPatternFreeze.
2744 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2746 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2747 allocated FcCharLeafEnt "blocks" so they can be freed later.
2748 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2749 can be accessed by FcCharSetThawAllLeaf.
2750 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2751 (FcCharSetFreezeBase): Move hashTable outside this function so it
2752 can be accessed by FcCharSetThawAll.
2753 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2755 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2756 (FcConfigDestroy): Fic leak of FcBlanks.
2758 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2759 (main): Add call to FcFini when finished.
2761 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2762 static. Add prototypes.
2764 * doc/fcinit.fncs: Add documentation for FcFini function.
2766 * doc/edit-sgml.c: Mark several local functions as static. Add
2769 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2771 2003-06-15 Tor Lillqvist <tml@iki.fi>
2773 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2774 before comparing (needed on Windows).
2776 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2778 2003-06-13 Tor Lillqvist <tml@iki.fi>
2780 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2783 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2784 WINDOWSFONTDIR token.
2786 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2787 end, not to confuse libtool, which expects the EXPORTS line to be
2788 the first. Add FcConfigEnableHome.
2790 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2791 built as a DLL on Win32.
2793 2003-06-09 Keith Packard <keithp@keithp.com>
2795 * Tag version 2.2.90
2797 2003-06-09 Keith Packard <keithp@keithp.com>
2799 * Optimization in FcLangSetIndex was broken, occasionally
2800 returning a pointer to the wrong location on miss
2802 * Add fc-match to test font matching from the command line.
2804 2003-05-31 Keith Packard <keithp@keithp.com>
2806 * (Bug 85) add support for culmus fonts
2807 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2808 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2810 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2812 * Fix "contains" op for strings and langsets.
2814 2003-05-17 Keith Packard <keithp@keithp.com>
2816 * Fix build error with BDF prop local. Free langset after query
2818 2003-05-14 Keith Packard <keithp@keithp.com>
2820 * Extract spacing from XLFD atom
2822 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2824 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2825 disappeared in 1.30.
2827 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2829 2003-05-12 Keith Packard <keithp@keithp.com>
2831 * Use FcIsWidth to share code
2833 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2834 misclassifying some Han fonts as monospaced.
2836 2003-05-07 Keith Packard <keithp@keithp.com>
2838 * Add filename-based accept/reject to ammend available fonts.
2840 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2841 older FreeType releases.
2843 2003-05-06 Keith Packard <keithp@keithp.com>
2845 * Remove 0b82 and Tamil numbers from tamil
2846 orthography (Jungshik Shin <jshin@mailaps.org>)
2848 2003-05-04 Keith Packard <keithp@keithp.com>
2850 + Map glyph names in fonts with adobe custom encoding to unicode
2852 2003-05-02 Keith Packard <keithp@keithp.com>
2854 * Add FC_WEIGHT_BOOK as weight 75
2856 2003-04-30 Keith Packard <keithp@keithp.com>
2858 * Typo in bitstream foundry name
2860 2003-04-24 Keith Packard <keithp@keithp.com>
2862 * Eliminate italic_angle check for PS fonts
2864 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2866 * Getting closer to fixing /etc/fonts hard-coding.
2868 2003-04-22 Keith Packard <keithp@keithp.com>
2870 * Update autogen.sh to work with newer automake versions
2871 * Handle pattern elements moving during multiple edits
2873 2003-04-23 James Henstridge <james@daa.com.au>
2875 * doc/fontconfig-devel.sgml: close the <para> element.
2877 * doc/fcpattern.fncs: close the <para> element.
2879 * doc/func.sgml: close the <refsynopsisdiv> element.
2881 2003-04-22 Keith Packard <keithp@keithp.com
2883 * Update autogen.sh to work with newer automake versions
2884 * Handle pattern elements moving during multiple edits
2886 2003-04-17 Colin Walters <walters@debian.org>
2888 + Remove some unused variables, and initialize some other ones so
2889 gcc doesn't warn us.
2891 2003-04-16 Keith Packard <keithp@keithp.com>
2893 + tag version 2.1.94
2895 2003-04-16 Keith Packard <keithp@keithp.com>
2897 + add BDF property fetching support for foundry
2898 (from Juliusz Chroboczek)
2899 + add BDF property fetching support for width
2901 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2903 + Implemented foundry generation for Type 1 and TrueType
2905 2003-04-11 Gerard Escalante <g2@magestudios.net>
2907 + Retrieve information from Type1 FontInfo dictionaries
2909 2003-04-07 Colin Walters <walters@verbum.org>
2911 + src/Makefile.am: Fix dummy makefile target names when
2912 MS_LIB_AVAILABLE isn't set.
2914 2003-03-22 Tor Lillqvist <tml@iki.fi>
2916 Changes for Windows:
2918 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2920 + We don't want to hardcode the fonts.conf file location in the
2921 DLL, so we look up the DLL location at run-time in a DllMain()
2922 function. The fonts.conf location is deduced from that.
2924 + The colon can't be used as path separator on Windows,
2925 semicolon is used instead. File path components can be separated
2926 with either slash or backslash. Absolute paths can also begin
2927 with a drive letter.
2929 + Add internal function FcStrLastSlash that strrchr's the last
2930 slash, or backslash on Windows.
2932 + There is no link() on Windows. For atomicity checks, mkdir a
2933 lock directory instead.
2935 + In addition to HOME, also look for USERPROFILE.
2937 + Recognize the special font directory token WINDOWSFONTDIR, to
2938 use the system's font directory.
2940 + Remove the fontconfig-def.cpp that was obsolete. Add
2941 fontconfig.def(.in), without internal functions.
2943 + Add a fontconfig-zip(.in) script, used to build a binary
2946 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2947 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2948 to main package and man3/* to devel package
2950 + Added missing defattr(-, root, root) to main RPM package
2952 + Added HTML and text development documentation to -devel subpackage
2954 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2955 + Added back the configure macro options --disable-docs, otherwise
2956 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2957 version number) unconditionally, causing RPM to fail the build due
2958 to _unpackaged_files_terminate_build. We pick up the pregenerated
2959 docs with %doc already.
2961 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2962 + Removed commented out rpm macro define at top of spec file,
2963 replacing it with a simple explanation, since rpm macros are
2964 expanded by rpm even in comments.
2966 + Changed /usr/bin to _bindir in BuildRequires lines
2968 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2970 + Reorganized file manifest lists
2972 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2974 + fontconfig.spec.in: Improvements from Red Hat spec file.
2976 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2978 + docs/*.sgml: SGML fixes.
2980 Sat Mar 1 17:28:53 PST 2003 keithp
2981 + Ok, so the ChangeLog is a bit out of date
2983 + Lots of bugs fixed; most are in bugzilla, the
2984 biggest problems were in cache management where
2985 Owen discovered the library would lose badly when
2986 combining fonts-cache and ~/.fonts-cache data
2988 + Converted from autoconf to automake. This after
2989 getting patches accepted into libtool to allow
2990 the '-version-number' argument which lets
2991 packages set version numbers explicitly rather
2992 than the roundabout libtool way
2994 + Converted documentation to SGML using the docbook
2995 DTD. Now .txt and .html documents are installed
2996 in /usr/share/doc/fontconfig and there's no
2997 man page. Perhaps a man version can be written
3000 Sat Aug 31 15:21:22 PDT 2002 keithp
3001 + Xrender and Xft had several bugs related to
3002 rendering manually placed or poly-face text
3004 + Added more complete memory tracing in fontconfig
3005 Checked with (patched) mozilla and found no leaks
3007 + Updated Latin orthographies by comparing those from
3008 evertype.com with those from eki.ee. Tried to make
3009 sensible choices, including chars that occured in both
3010 and leaving some optional chars out that occured only
3013 Mon Aug 26 16:33:04 PDT 2002 keithp
3014 + Owen discovered that FcLangSetHasLang wasn't actually
3015 checking the language set.
3017 Mon Aug 26 13:37:23 PDT 2002 keithp
3018 + Append a version number to cache filenames
3020 Thu Aug 22 11:36:18 PDT 2002 keithp
3022 + Add "contains" and "not_contains" operators and elements to
3025 + Changed semantics of eq operator for LangSets to check for
3026 FcLangEqual so that any match will do
3028 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
3029 of FcValueEqual to check for identical values when inserting into
3030 the results. This broke when the above semantic change was made,
3031 now it uses FcValueEqual which is "more correct" in any case.
3033 Thu Aug 22 00:32:29 PDT 2002 keithp
3035 + Reimplement FC_LANG as new datatype. Lists of strings
3036 was consuming over a megabyte of memory for 401 fonts.
3038 + Freeze patterns loaded from cache files. This shares
3039 common value lists and common patterns which saves
3040 considerable memory.
3042 + Change the denotation of 'constant' charsets to use special
3043 ref value instead of separate boolean.
3045 + Clean up leak tracing stuff, found several unannoted alloc/free
3048 Tue Aug 20 16:17:37 PDT 2002 keithp
3050 + Fix memory leak when parsing matrices from XML
3052 Mon Aug 19 11:57:27 PDT 2002 keithp
3054 + Fix autoconf files to pass FONTCONFIG_PATH on
3055 compile line so that ${prefix} gets substituted
3058 + Use getc_unlocked/putc_unlocked on systems that
3059 provide them to avoid damage done to stdio by posix
3061 + Eliminate FC_PATTERN and FcTypePattern in favor of
3062 an extended api for FcConfigSubstitute which takes
3063 both the font and the pattern.
3065 + Add 'sans serif' alias for 'sans-serif' as some apps
3066 can't handle hyphens in family names
3068 + Eliminate pretense of support for libxml2
3070 + Comment origins of Han orthographies
3072 Tue Jul 30 18:37:09 PDT 2002 keithp
3074 + Add binding property to edit element so that strong
3075 binding values may be inserted by the config file.
3076 The default remains weak.
3078 Sun 28 Jul 04:16:55 PDT 2002 keithp
3080 + Tagged release candidate 1 in the CVS tree and
3081 placed fcpackage.rc1.tar.gz for distribution
3083 Thu Aug 1 08:55:08 PDT 2002 keithp
3085 + Fixed autoconf builds to always specify install
3086 target files (for BSD). Also fixed to
3087 define FONTCONFIG_PATH in config.h so that
3088 nonstandard installs will actually work.