1 2006-02-21 Kjartan Maraas <kmaraas@gnome.org>
4 * fc-list/fc-list.c (main):
5 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing):
6 * src/fcstr.c (FcStrStr):
7 * src/fcxml.c (FcConfigSaveAttr):
9 Eliminate unused vars reported by Intel's compiler.
11 2006-02-21 Aiet Kolkhi <aietkolkhi@gmail.com>
16 Remove one more archaic character.
18 2006-02-21 Ross Burton <ross@burtonini.com>
19 reviewed by: plam, keithp
21 * src/fcxml.c (FcParsePatelt):
23 Freeze patterns created by configuration file for tiny
24 memory savings (every little bit helps).
26 2006-02-21 Mike Fabian <mfabian@suse.de>
29 * fc-cat/fc-cat.c (main):
31 Initialize fontconfig library in fc-cat to avoid segfault.
33 2006-02-18 Patrick Lam <plam@mit.edu>
34 * fc-cache/fc-cache.c (scanDirs):
35 * src/fccache.c (FcCacheReadDirs):
36 * src/fcdir.c (FcDirScanConfig):
38 Fix the underlying cause of the below segfault (must usually
39 call FcDirCacheHasCurrentArch after FcDirCacheValid).
41 2006-02-18 Patrick Lam <plam@mit.edu>
42 * src/fccache.c (FcDirCacheHasCurrentArch):
44 Fix triggering of segfault caused by misreading cache files
45 (reported by fcrozat).
47 2006-02-17 Patrick Lam <plam@mit.edu>
48 * src/fcint.h (FC_CACHE_MAGIC):
50 Bump up magic version; we changed the binary format.
52 2006-02-17 Patrick Lam <plam@mit.edu>
53 * fc-cat/fc-cat.c (main):
55 Enable fc-cat to print out old-style cache info when given a
58 2006-02-16 Patrick Lam <plam@mit.edu>
59 * src/fccache.c (FcDirCacheHasCurrentArch):
61 Deal correctly with changing FC_CACHE_MAGIC.
63 2006-02-16 Patrick Lam <plam@mit.edu>
64 * fc-cache/fc-cache.c (usage, scanDirs, main):
66 Add -r --really-force option which blows away cache files and then
69 2006-02-16 Patrick Lam <plam@mit.edu>
70 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
72 Don't bail if fontconfig can't remove a dir cache file.
73 Skip the ID of a cache file when copying.
74 Eliminate 'source file too small' bug in FcDirCacheWrite.
76 2006-02-13 Patrick Lam <plam@mit.edu>
77 * src/fcfreetype.c (FcFreeTypeQuery):
79 Fix memory leak in error condition code.
81 2006-02-13 Mike Fabian <mfabian@suse.de>
83 * src/fcfreetype.c (FcFreeTypeQuery):
85 Skip bitmap fonts which can't even get it together enough to
86 declare a family name; this appears to reproduce previous
89 2006-02-10 Takashi Iwai <tiwai@suse.de>
91 * src/fccache.c (FcDirCacheOpen):
93 Try to open /var/cache/fontconfig/[hashed name] before
94 fonts.cache-2 in a directory, because /var/cache/fontconfig
95 failures ought to be fixable, unlike fonts.cache-2 failures,
96 which may leave you screwed.
98 2006-02-10 Takashi Iwai <tiwai@suse.de>
100 * src/fcmatch.c (FcFontSetMatch):
102 Use a tri-state to mark the fonts which didn't get blocked but
103 were just missing an element, to distinguish them from the
104 fonts that do match the element.
106 2006-02-10 Takashi Iwai <tiwai@suse.de>
108 * src/fcmatch.c (FcFontSetMatch):
110 Don't kill fonts because they don't declare an element that's
113 2006-02-09 Patrick Lam <plam@mit.edu>
114 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
115 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
117 Define and pass O_BINARY to open if appropriate, for those
118 platforms that need it. Reported by Doodle.
120 2006-02-09 Patrick Lam <plam@mit.edu>
121 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
124 Fix problem with missing 'en' due to euro.patch: change
125 cache file format slightly to coincide with that generated
128 2006-02-07 Patrick Lam <plam@mit.edu>
129 * src/fccache.c (FcCacheReadDirs):
133 2006-02-07 Patrick Lam <plam@mit.edu>
134 * src/fcdir.c (FcDirScanConfig):
136 Don't reject dirs that can't be normalized (fixes lilypond, and
137 is correct in the context of application font directories.)
139 2006-02-07 Takashi Iwai <tiwai@suse.de>
142 * src/fccache.c (FcCacheReadDirs):
144 Use normalized directory name exclusively in FcCacheReadDirs.
146 2006-02-07 Dirk Mueller <dmueller@suse.com>
149 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
151 Perf optimizations. Inline FcValueCanonicalize,
152 reduce FcValueListPtrU usage, remove redundant cast.
154 2006-02-07 Takashi Iwai <tiwai@suse.de>
157 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
160 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
161 Declare extern for static arrays as arrays, not pointers.
162 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
164 2006-02-07 Dirk Mueller <dmueller@suse.com>
177 Add Euro sign to list of symbols required by European languages.
179 2006-02-07 Patrick Lam <plam@mit.edu>
180 * src/fccache.c (FcCacheReadString):
182 Fix hidden variable warning.
184 2006-02-07 Dirk Mueller <dmueller@suse.com>
187 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
189 Remove de-escaping logic because FcCacheWriteString
190 doesn't escape anyway. Do blockwise reading instead
191 of byte-wise for performance.
193 2006-02-06 Patrick Lam <plam@mit.edu>
194 Takashi Iwai <tiwai@suse.de>
196 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
198 Don't loop infinitely on recursive symlinks (client-side).
200 2006-02-06 Takashi Iwai <tiwai@suse.de>
202 * fc-cache/fc-cache.c (scanDirs, main):
204 Don't loop infinitely on recursive symlinks.
206 2006-02-06 Takashi Iwai <tiwai@suse.de>
208 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
209 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
210 FcGlobalCacheSave, FcCacheReadDirs):
213 Skip subdirs when skipping over stale bits of global cache.
214 Introduce state machine into FcGlobalCacheDir to avoid
215 doing inappropriate operations on global dir entries, e.g.
216 writing out an out-of-date cache entry.
218 2006-02-06 Takashi Iwai <tiwai@suse.de>
220 * src/fcdir.c (FcFileScanConfig):
222 Hoist FcFileIsDir check out of FcFileScanConfig loop.
224 2006-02-06 Takashi Iwai <tiwai@suse.de>
227 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
228 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
230 Don't rescan when trying to normalize a non-declared font dir.
231 Don't add font dirs multiple times (even if they're aliased).
233 2006-02-06 Dirk Mueller <dmueller@suse.de>
236 * src/fcfs.c (FcFontSetUnserialize):
238 Explain apples/oranges comparison and fix compilation error.
240 2006-02-06 Dirk Mueller <dmueller@suse.de>
243 * src/fcfs.c (FcFontSetUnserialize):
245 Insert check for integer overflow in # of fonts.
247 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
251 * fc-cache/Makefile.am:
252 * fc-cat/Makefile.am:
253 * fc-list/Makefile.am:
255 Make 'make distcheck' work with automake 1.6.3.
257 2006-02-03 Takashi IWAI <tiwai@suse.de>
260 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
263 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
264 FcDirCacheConsume, FcDirCacheWrite)
265 * src/fcxml.c (FcConfigMessage):
267 Check I/O call return values and eliminate unused variable
270 2006-02-03 Takashi Iwai <tiwai@suse.de>
273 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
277 2006-02-03 Dirk Mueller <dmueller@suse.de>
280 * src/fcfs.c (FcFontSetUnserialize):
282 Gracefully handle the case where a cache asserts that it
283 has a negative number of fonts, causing overflow.
285 2006-02-03 Patrick Lam <plam@mit.edu>
286 * src/fccache.c (FcDirCacheUnlink):
288 Fix double free in error case.
290 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
291 Stephan Kulow <coolo@suse.de>
294 * fc-cache/Makefile.am:
296 Replace 'stamp' target with mkinstalldirs.
298 2006-01-31 Mike Fabian <mfabian@suse.de>
301 * src/fccache.c (FcGlobalCacheLoad):
303 Toast broken global cache files.
305 2006-01-30 Patrick Lam <plam@mit.edu>
306 * src/fccache.c (FcGlobalCacheReadDir):
308 Actually use the directories that I added to the global cache.
311 2006-01-30 Mike Fabian <mfabian@suse.de>
314 * fc-cache/fc-cache.c (scanDirs):
316 Don't stop scanning if a directory in fonts.conf doesn't
317 exist, because subsequent directories might exist.
319 2006-01-30 Patrick Lam <plam@mit.edu>
320 * src/fccache.c (FcGlobalCacheLoad):
322 Make global cache work again after putting dir names into global
323 cache (I misplaced the recording of a file offset).
325 2006-01-30 Patrick Lam <plam@mit.edu>
326 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
328 Update fc-cat to handle subdir lists in global cache file.
330 * src/fccache.c (FcGlobalCacheLoad):
332 Another FcCacheReadString return value check.
334 2006-01-30 Mike Fabian <mfabian@suse.de>
337 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
338 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
340 Make fccache more resilient to broken cache files by checking
341 return value of FcCacheReadString all the time.
343 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
346 * fc-match/fc-match.1:
347 * fc-lang/fc-lang.man:
349 Remove references to dead fontconfig(3) manpages in
350 other fontconfig manpages.
352 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
355 * doc/fcpattern.fncs:
357 Fix world's tiniest typo in code example.
359 2006-01-29 Mike Fabian <mfabian@suse.de>
362 * src/fccache.c (FcGlobalCacheReadDir):
364 Fix global cache reads of subdirectories.
366 2006-01-29 Patrick Lam <plam@mit.edu>
368 Add documentation for FcConfigNormalizeFontDir.
370 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
371 FcGlobalCacheUpdate, FcGlobalCacheSave):
372 * src/fcdir.c (FcDirScanConfig):
375 Write directory information to global caches to fix make check
376 (reported by Ronny V. Vindenes). This changes the global cache
379 2006-01-27 Patrick Lam <plam@mit.edu>
380 * fc-cache/fc-cache.c (scanDirs):
381 * fontconfig/fontconfig.h:
383 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
385 Move FcConfigNormalizeFontDir call so that it doesn't result in
386 infinite recursion (reported by Ronny V. Vindenes).
388 2006-01-26 Patrick Lam <plam@mit.edu>
389 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
390 * src/fccfg.c (FcConfigNormalizeFontDir):
392 Add a couple of missing normalizations to make fc-cache work
393 right; only scan subdirectories once.
395 2006-01-26 Mike Fabian <mfabian@suse.de>
398 * src/fcacache.c (FcGlobalCacheReadDir):
400 Don't crash on non-existant directories in global cache.
402 2006-01-26 Patrick Lam <plam@mit.edu>
403 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
404 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
405 * src/fcdir.c (FcDirScanConfig):
406 * src/fcxml.c (FcEndElement):
408 Stop trampling the directory name when writing out caches.
409 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
410 subdirs when necessary. Don't scan directories that can't be
413 2006-01-25 Patrick Lam <plam@mit.edu>
414 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
415 * src/fccfg.c (FcConfigEvaluate):
416 * src/fcfreetype.c (FcPatternAddWithBinding):
418 Fix additional memory leaks reported by Ronny V. Vindenes: don't
419 invoke FcValueSave on hashed static strings in
420 FcPatternAddWithBinding.
422 Add another st_dev check in FcDirCacheOpen.
424 2006-01-24 James Su <james.su@gmail.com>
427 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
428 * fc-lang/zh_hk.orth:
430 Treat zh-hk fonts differently from zh-tw fonts. This patch may
431 cause fontconfig to treat A-X fonts differently from A-Y fonts;
432 please mail the fontconfig list if this causes any problems.
434 2006-01-24 Patrick Lam <plam@mit.edu>
435 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
436 * src/fcfreetype.c (FcFreeTypeQuery):
438 Fix memory leaks reported by Ronny V. Vindenes.
440 2006-01-19 Andreas Schwab <schwab@suse.de>
443 * src/fcpat.c (FcStrNeededBytes):
445 Fix for unaligned memory accesses.
447 2006-01-18 Mike Fabian <mfabian@suse.de>
450 * src/fcdir.c (FcDirScanConfig):
452 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
453 calls to avoid crashes.
455 2006-01-14 Patrick Lam <plam@mit.edu>
456 * src/fccache.c (FcDirCacheConsume):
458 Fix segfault when consuming zero-length caches in fc-cat
459 (which has no config, so FcConfigAddFontDir shouldn't be called.)
461 2006-01-14 Patrick Lam <plam@mit.edu>
462 * fc-cache/fc-cache.c (scanDirs):
463 * fontconfig/fontconfig.h:
464 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
465 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
466 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
467 * src/fcdir.c (FcDirScanConfig):
470 Compare device numbers as well as inodes.
471 Always normalize directory names before comparing them.
473 2006-01-11 Mike Fabian <mfabian@suse.de>
476 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
478 Allocate extra space for appended '/' in directory name.
480 2006-01-10 Patrick Lam <plam@mit.edu>
481 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
482 FcDirCacheValid, FcDirCacheHasCurrentArch,
483 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
484 * fc-cache/fc-cache.c (main):
486 Explicitly add font dirs to config.fontDirs even if they're empty.
487 Set current config in fc-cache.c.
488 Fix treatment of cache directory as read from cache file; don't
489 use string equality to determine if we have the right file,
492 2006-01-09 Patrick Lam <plam@mit.edu>
493 * fc-cache/fc-cache.c (scanDirs):
494 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
495 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
496 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
497 * src/fccfg.c (FcConfigNormalizeFontDir):
498 * src/fcdir.c (FcDirScanConfig):
501 Normalize font dirs by using the form, as given in fonts.conf, and
502 recorded in FcConfig's fontDirs string set, as canonical.
504 Actually update config.fontDirs as font directories are scanned.
506 2006-01-08 James Su <james.su@gmail.com>
507 * src/fcmatch.c (FcFontSetMatch):
509 Fix matching bug when multiple elements match; don't use
510 the sum of all scores, but the best score.
512 Also more perf opts, e.g. evaluate best over all font sets
513 rather than on a per-set basis (and other changes).
515 2006-01-08 Patrick Lam <plam@mit.edu>
516 * src/fccache.c (FcDirCacheConsume):
518 Properly skip past dir caches that contain zero fonts (as occurs
519 in global caches.) Reported by Mike Fabian.
521 2006-01-06 Patrick Lam <plam@mit.edu>
522 * src/fcdbg.c (FcPatternPrint):
524 Print out full pathname in fc-match -v as well. Reported by
527 2006-01-06 Mike Fabian <mfabian@suse.de>
530 * src/fcname.c (FcNameParse):
532 Fix bug where fc-match crashes when given __DUMMY__ property to
535 (I added the __DUMMY__ string to enable callers of
536 FcObjectToPtrLookup to distinguish an error return from a
537 successful return. -PL)
539 2006-01-05 Patrick Lam <plam@mit.edu>
542 Add self to AUTHORS list.
544 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
545 FcCacheFileRead, FcCachePrintSet, main):
546 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
547 FcGlobalCacheSave, FcCacheNextOffset,
548 FcDirCacheHasCurrentArch, FcDirCacheRead,
549 FcDirCacheConsume, FcDirCacheWrite):
551 * src/fcpat.c (comment):
553 Minor change to global cache file format to fix fc-cat bug
554 reported by Frederic Crozat, and buglet with not globally caching
555 directories with zero fonts cached.
557 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
560 * src/fccfg.c (FcConfigEvaluate):
562 Fix double-free which occurs because FcValueCanonicalize doesn't
563 create an extra copy of the returned value, it only canonicalizes
566 2006-01-02 Patrick Lam <plam@mit.edu>
567 * doc/fontconfig-user.sgml:
569 Fix version of .cache file (currently 1 -> currently 2). Reported
572 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
575 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
577 Shut up GCC warnings on amd.
579 2005-12-20 Patrick Lam <plam@mit.edu>
583 * fontconfig/fontconfig.h:
585 Bump version to 2.3.93.
587 2005-12-20 Patrick Lam <plam@mit.edu>
588 * src/fccharset.c (FcLangCharSetPopulate):
589 * src/fcint.h (FcCacheBankToIndex):
591 Avoid check on _fcBankId nullness and fix case where it used to
594 2005-12-20 Patrick Lam <plam@mit.edu>
595 * src/fcxml.c (FcConfigParseAndLoad):
597 Use open instead of fopen (requested by Phil Race for Sun).
599 2005-12-20 Patrick Lam <plam@mit.edu>
600 * src/fccache.c (FcDirCacheWrite);
601 * fc-cache/Makefile.am:
603 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
606 2005-12-20 Patrick Lam <plam@mit.edu>
607 * src/fcfreetype.c (FcFreeTypeQuery):
609 Restore code to skip over PCF fonts that have no encoded
611 (We guess that a font is PCF by presence of the PIXEL_SIZE
614 2005-12-12 Patrick Lam <plam@mit.edu>
615 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
617 Read and write the original location as a fallback for the
618 hashed cache file locations. This is mostly for users to be
619 able to have per-directory cache files.
621 2005-12-12 Patrick Lam <plam@mit.edu>
622 * fc-cache/fc-cache.c (scanDirs):
623 * fc-cache/Makefile.am:
624 * src/fccache.c (FcDirCacheHashName):
626 Improve error message when fc-cache can't write the cache. Add
627 missing slash. Reported by Behdad. Incorporate Behdad's patch to
628 create /var/cache/fontconfig when appropriate.
630 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
633 * src/fcxml.c (FcConfigGetAttribute):
635 Fix crash reported by Frederic Crozat when using libxml2.
637 2005-12-09 Patrick Lam <plam@mit.edu>
640 * fc-cache/Makefile.am:
641 * fc-cat/Makefile.am:
643 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
644 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
645 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
646 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
647 FcDirCacheHasCurrentArch, FcDirCacheHashName,
648 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
650 Migrate cache files from fonts directories to
651 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
652 but requires that all caches get rebuilt.
654 Also, autogen.sh now needs the additional parameter
655 --localstatedir=/var.
657 2005-12-07 Patrick Lam <plam@mit.edu>
658 * src/fcpat.c (FcPatternAddString):
660 Because we've changed FcPatternAddString to use FcStrStaticName
661 and not FcValueSave, explicitly handle the case of a null string.
663 2005-12-06 Patrick Lam <plam@mit.edu>
664 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
668 2005-12-05 Patrick Lam <plam@mit.edu>
669 * src/fcname.c (FcNameGetObjectType):
671 Don't assign types to user object names.
673 2005-12-05 Patrick Lam <plam@mit.edu>
674 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
676 Don't free strings that have been returned from FcStrStaticName.
678 2005-12-01 Patrick Lam <plam@mit.edu>
679 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
681 Add codepath for reading global cache files as well.
683 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
686 * conf.d/10-fonts.persian.conf:
687 * conf.d/Makefile.am:
689 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
691 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
694 * src/fcxml.c (FcConfigParseAndLoad):
696 Only add a config file to the set of config files once.
698 2005-11-29 Patrick Lam <plam@mit.edu>
699 * src/fcint.h (FcCacheBankToIndex);
701 Fix segfault by guarding array dereference.
703 2005-11-29 Dirk Mueller <dmueller@suse.de>
707 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
708 FcCacheBankToIndex, FcCacheBankToIndexMTF,
712 Refactor FcCacheBankToIndex into an inlineable part
713 (in fcint.h) which checks the front of the list and a
714 non-inlineable part which finds and moves the appropriate element
715 to the front of the list.
717 2005-11-29 Patrick Lam <plam@mit.edu>
718 * src/fccfg.c (FcConfigBuildFonts):
719 * src/fccache.c (FcCacheReadDirs):
721 Make the perf guys hate me a bit less: hoist the directory-name
722 FcConfigAcceptFont check for cached fonts up to directory cache
723 read time, rather than running it for each font.
725 2005-11-29 Patrick Lam <plam@mit.edu>
726 * src/fccfg.c (FcConfigBuildFonts):
728 * src/fcpat.c (FcPatternFindFullFname):
730 Don't make FcPatternFindFullFname available to fccfg, it's not
731 really safe. Instead go through FcPatternGetString (sorry,
732 perf guys.) Also, use globs for dirs as well.
734 2005-11-28 Patrick Lam <plam@mit.edu>
735 * src/fccfg.c (FcConfigBuildFonts):
739 2005-11-28 Patrick Lam <plam@mit.edu>
741 * src/fcpat.c (FcPatternFindFullFname):
742 * src/fccfg.c (FcConfigBuildFonts):
744 Fix problem dating back at least to 2.3.2 where globs weren't
745 being applied to patterns loaded from a cache.
747 2005-11-28 Patrick Lam <plam@mit.edu>
748 * doc/fontconfig-user.sgml:
750 Fix some obvious spelling mistakes.
752 2005-11-28 Dirk Mueller <dmueller@suse.com>
753 Stephan Kulow <coolo@suse.de>
756 * src/fcmatch.c (FcFontSetMatch):
758 Don't kill all fonts during match (oops!)
761 2005-11-25 Dirk Mueller <dmueller@suse.com>
762 Stephan Kulow <coolo@suse.de>
763 Michael Matz <matz@suse.de>
766 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
769 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
770 inline FcCompare into FcFontSetMatch and reorder the
771 loops, adding a boolean array which blocks patterns from future
772 consideration if they're known to not be best on some past
775 2005-11-26 Dirk Mueller <dmueller@suse.com>
778 * src/fcmatch.c (FcCompareValueList):
782 2005-11-25 Patrick Lam <plam@mit.edu>
783 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
785 Don't do random matching when bad objects are passed into
788 2005-11-25 Patrick Lam <plam@mit.edu>
790 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
791 FcPatternSerialize, FcPatternUnserialize,
792 FcValueListEnsureBank, FcValueListDistributeBytes,
793 FcValueListUnserialize):
795 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
796 _fcPatternElts, _fcValueLists for consistency.
798 2005-11-25 Dirk Mueller <dmueller@suse.com>
803 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
805 2005-11-25 Patrick Lam <plam@mit.edu>
807 * src/fccache.c (FcDirCacheConsume):
808 * src/fccharset.c (FcCharSetUnserialize):
809 * src/fcfs.c (FcFontSetUnserialize):
810 * src/fclang.c (FcLangSetUnserialize):
811 * src/fcname.c (FcObjectUnserialize):
812 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
813 FcPatternUnserialize):
815 Pass around FcCache *s to the Unserialize functions for extra
816 consistency (and less overhead, for what that's worth).
818 2005-11-24 Dirk Mueller <dmueller@suse.com>
822 * src/fcmatch.c (FcCompare*, FcFontSetSort):
823 * src/fcname.c (FcNameUnparseValue):
825 Inline the *PtrU functions to gain perf.
826 Remove unneeded params for the FcCompare* functions.
828 2005-11-24 Dirk Mueller <dmueller@suse.com>
831 * src/fcint.h, fontconfig/fontconfig.h:
833 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
835 * src/fcpat.c, src/fcint.h, src/fcname.c:
837 Check for type validity during FcPatternAddWithBinding, don't
838 verify type in FcFontMatch, don't call FcCanonicalize here
839 (which always does a deep copy).
841 2005-11-24 Dirk Mueller <dmueller@suse.com>
844 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
845 * src/fcpat.c (FcPatternAddWithBinding):
847 Make FcCompareString and FcCompareFamily less expensive.
848 Only add a value for FC_FAMILY if the proposed value is a string.
850 2005-11-24 Dirk Mueller <dmueller@suse.com>
853 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
854 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
855 * src/fcint.h (FcDebug):
857 Inline FcDebug invocations and only initialize once, in FcInit*.
858 Improve debug msg in FcPatternPrint.
860 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
863 * fontconfig/fontconfig.h:
866 Minor code warning cleanups.
868 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
871 * fc-match/fc-match.c (main):
873 Make getopt_long accept -s parameter to fc-match as well.
875 2005-11-21 Dirk Mueller <dmueller@suse.com>
878 * src/fcmatch.c (FcCompareValueList):
880 Manually perform inlining & partial redundancy elimination to
881 reduce calls to FcValueListPtrU.
883 2005-11-21 Dirk Mueller <dmueller@suse.com>
886 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
887 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
889 Only invoke strlen() when really necessary.
891 2005-11-19 Matthias Clasen <mclasen@redhat.com>
895 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
900 Get rid of the use of freetype internal headers in fcfreetype.c,
901 since those headers will go away with freetype 2.2. Replace with
902 public domain ftglue code from pango. Note that the patch removes
903 some extra error checking in FT_Get_BDF_Property() and comments
904 out the skipping of empty pcf fonts.
906 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
909 * fc-lang/fc-lang.c (main):
911 Further fix of patch from 2005-11-04: miscounted numbers count
912 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
913 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
915 Removed leafidx_count and numbers_count since they are the same
916 and replaced them with offset_count.
918 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
921 * fc-cat/fc-cat.c (main):
923 Don't crash when fc-cat invoked with no arguments.
925 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
928 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
930 Fix invalid read access caused by premature free and
931 GCC4 warnings in libxml2 codepath.
933 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
936 * src/fccfg.c (FcConfigValues):
938 List iteration not needed in FcConfigValues, since it's building
939 up the list itself; we can just strip FcVoid elements during
942 2005-11-17 Patrick Lam <plam@mit.edu>
943 * src/fccfg.c (FcConfigValues):
945 Fix crash on invalid constants in config files (forgot to update
946 a pointer upon list iteration.)
948 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
951 * src/fcxml.c (FcTypecheckExpr):
953 Complain about invalid constants in config files.
955 2005-11-17 Andreas Schwab <schwab@suse.de>
958 * src/fccache.c (FcGlobalCacheSave):
960 Don't add current_arch_start more than once.
962 2005-11-16 Patrick Lam <plam@mit.edu>
963 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
964 * src/fcfs.c (FcFontSetUnserialize):
965 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
966 * src/fcpat.c (FcStrUnserialize):
968 Fix ordering of ALIGN with respect to saving block_ptr; add
969 another ALIGN to fcfs.c.
971 2005-11-16 Patrick Lam <plam@mit.edu>
972 * src/fccache.c (FcDirCacheProduce)
974 Fix case where alignment bytes bumped up metadata->count
975 causing unwarranted failures to write cache files.
976 (Reported by Stephan Kulow).
978 2005-11-16 Patrick Lam <plam@mit.edu>
979 * src/fccache.c (FcDirCacheProduce):
980 * src/fccharset.c (FcCharSetDistributeBytes):
981 * src/fcfs.c (FcFontSetDistributeBytes):
983 * src/fclang.c (FcLangSetDistributeBytes):
984 * src/fcname.c (FcObjectDistributeBytes):
985 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
988 Add *NeededBytesAlign(), which overestimates the padding which is
989 later added by the new ALIGN macro. Fix alignment problems on
990 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
991 version by Andreas Schwab).
993 2005-11-16 Stephan Kulow <coolo@kde.org>
998 Use sysconf to determine proper PAGESIZE value; this
999 appears to be POSIX-compliant. (reported by Andreas Schwab)
1001 2005-11-04 Patrick Lam <plam@mit.edu>
1002 * fc-lang/fc-lang.c:
1007 Fix bug 2878 (excessive relocations at startup for charsets,
1008 reported by Ross Burton): fc-lang/fc-lang now creates the
1009 static form of the langset, not the dynamic form, so that
1010 the charsets should now be in .rodata.
1012 2005-11-04 Patrick Lam <plam@mit.edu>
1013 * src/fcdir.c (FcDirScanConfig):
1015 Add test for validity of directory caches that
1016 somehow got lost (reported by make distcheck).
1018 2005-11-04 Patrick Lam <plam@mit.edu>
1022 * fontconfig/fontconfig.h:
1024 Bump version to 2.3.92.
1026 2005-11-02 Patrick Lam <plam@mit.edu>
1027 * src/fcpat.c (FcPatternDuplicate):
1029 Fix argument ordering problem in call to FcPatternTransferFullFname.
1031 2005-11-02 Patrick Lam <plam@mit.edu>
1032 * src/fcfreetype.c (FcFreetypeQuery):
1033 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1034 FcPatternTransferFullFname):
1036 Fix warnings and embarrassing double-free error.
1038 2005-11-02 Zhe Su <zsu@novell.com>
1043 Change the rule for artificial emboldening in fonts.conf.in. This
1044 enables the support for artificial emboldening included in cairo.
1046 2005-11-02 Patrick Lam <plam@mit.edu>
1047 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1049 Don't zero out full names for FC_REF_CONSTANT fonts;
1050 also, duplicate full names when transferring, and free
1051 full names when freeing the associated font.
1052 Reported by Jinghua Luo.
1054 2005-11-02 Patrick Lam <plam@mit.edu>
1055 * fc-cache/fc-cache.c (scanDirs):
1056 * src/fcpat.c (FcValueListSerialize):
1058 Revert the previous patch and commit the correct patch:
1059 I forgot a canonicalization in FcValueListSerialize, so
1060 that it would choke on already-serialized input files. Duh!
1062 2005-11-02 Patrick Lam <plam@mit.edu>
1063 * fc-cache/fc-cache.c (scanDirs):
1065 Forcibly rescan a directory before writing a fresh local
1066 cache file for that directory, fixing the losing-fonts
1067 problem reported by Mike Fabian and also apparently the
1068 font cache file corruption.
1070 2005-11-02 Patrick Lam <plam@mit.edu>
1071 * src/fccache.c (FcGlobalCacheLoad):
1073 Fix thinko: actually, the whole global cache is stale
1074 if the global cache is older than the (newest) config file.
1076 2005-11-02 Patrick Lam <plam@mit.edu>
1077 * src/fccache.c (FcGlobalCacheLoad):
1078 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1081 Declare the global cache of a directory's contents to be stale if
1082 the directory is newer than the (newest) configuration file.
1084 2005-10-31 Patrick Lam <plam@mit.edu>
1086 * src/fclist.c (FcListAppend):
1087 * src/fcmatch.c (FcFontRenderPrepare):
1088 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1089 FcPatternFreeze, FcPatternBaseFreeze):
1091 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1092 applications continue breaking.
1094 2005-10-31 Patrick Lam <plam@mit.edu>
1095 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1096 * src/fcfreetype.c (FcFreeTypeQuery):
1098 Fix small memory error (tried to free argv); use basename and
1099 dirname correctly (they can modify their arguments).
1101 2005-10-31 Patrick Lam <plam@mit.edu>
1109 Reinstate basename patch, but keep a hash table linking FcPatterns
1110 to their fully-qualified font names for clients' benefit. Clients
1111 only pay for the font names once they request the FC_FILE property
1112 from an FcPattern, but the font name is malloc'd at that point (i.e.
1113 not mmapped: that's impossible, since it may vary between machines.)
1114 Clients do have to pay for a copy of the path name per cache file.
1116 Note that FcPatternGetString now does some rewriting if you ask
1117 for an FC_FILE, appending the pathname as appropriate.
1119 2005-10-31 Patrick Lam <plam@mit.edu>
1120 * src/fcfreetype.c (FcFreeTypeQuery):
1122 Revert basename patch, which breaks fontconfig clients on my system.
1124 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1127 * fontconfig/fonts.conf.in:
1128 * fontconfig/fontconfig.h:
1132 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1133 to load embedded bitmaps or not.
1135 2005-10-25 Patrick Lam <plam@mit.edu>
1136 * src/fcfreetype.c (FcFreeTypeQuery):
1138 Only add basename to patterns' FC_FILE element, not any part of
1141 2005-10-22 Patrick Lam <plam@mit.edu>
1144 Add some more consts, fixing more GCC4 warnings.
1146 2005-10-22 Zhe Su <zsu@novell.com>
1149 Support localized font family and style names.
1150 This has been reported to break old apps like xfd, but modern
1151 (gtk+/qt/mozilla) apps work fine.
1153 2005-10-21 Patrick Lam <plam@mit.edu>
1154 * src/fccache.c (FcGlobalCacheLoad):
1156 Destroy the global cache file if it's terminally broken. (reported by
1159 2005-10-21 Patrick Lam <plam@mit.edu>
1160 * fc-list/fc-list.c (main):
1161 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1162 * fontconfig/fontconfig.h:
1164 Prevent fc-list from escaping strings when printing them (reported by
1167 2005-10-20 Marcus Meissner <meissner@suse.de>
1170 * fontconfig/fontconfig.h:
1172 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1174 2005-10-14 Ross Burton <ross@burtonini.com>
1177 * fc-glyphname/fc-glyphname.c:
1180 Add consts to variables so as to move arrays into .rodata.
1182 2005-10-14 Mike Fabian <mfabian@suse.de>
1185 * src/fccache.c (FcDirCacheUnlink):
1187 Check existence of directory cache file before attempting to unlink.
1189 2005-10-13 Patrick Lam <plam@mit.edu>
1190 * src/fccache.c (FcDirCacheUnlink):
1192 Fix flipped return value on unlink. (Reported by Mike Fabian)
1194 2005-10-12 Patrick Lam <plam@mit.edu>
1197 * src/fcdir.c (FcDirScanConfig):
1200 When fc-cache is run without --force, use directory cache files
1201 to speed up fc-cache run time. (Reported by Mike Fabian)
1203 2005-10-06 Patrick Lam <plam@mit.edu>
1205 * src/fcname.c (FcObjectToPtr):
1206 * src/fcpat.c (FcStrStaticName):
1208 Add padding to make valgrind and glibc not hate each other
1209 when calling strlen().
1211 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1212 reviewed by: plam & keithp
1216 Modify config file to use Greek fonts before Asian fonts with
1219 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1220 reviewed by: plam & keithp
1224 Use libtool -no-undefined flag on all platforms.
1226 2005-10-05 Patrick Lam <plam@mit.edu>
1227 * src/fccache.c (FcCacheHaveBank):
1229 Implement move-to-front array for banks (perf regression
1230 reported by Ronny V. Vindenes).
1232 2005-10-04 Patrick Lam <plam@mit.edu>
1233 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1234 FcDirCacheHasCurrentArch):
1235 * fc-cache/fc-cache.c (scanDirs):
1236 * fontconfig/fontconfig.h:
1238 Add new API which unlinks directory caches and checks dir caches
1239 for existence of appropriate sections. Fix fc-cache to unlink
1240 stale cache files and save directory caches that lack relevant
1243 2005-10-03 Patrick Lam <plam@mit.edu>
1244 * src/fccache.c (FcDirCacheValid):
1246 Ensure that a directory cache has the appropriate section
1247 before reporting that it is valid (reported by Matthias Clasen).
1249 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1257 Use libxml2 if requested (with --enable-libxml2) or if
1258 expat is not available.
1260 2005-09-29 Patrick Lam <plam@mit.edu>
1261 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1263 Fix multi-arch cache files: compute the position for the
1264 block to be added using info from OrigFile, not NewFile.
1266 2005-09-28 Patrick Lam <plam@mit.edu>
1267 * src/fccache.c (FcCacheMachineSignature):
1269 Cast results of sizeof() to unsigned int to get rid of
1270 warnings on x86_64 (thanks Matthias Clasen).
1272 2005-09-27 Patrick Lam <plam@mit.edu>
1273 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1276 Use FcAtomic to rewrite cache files.
1278 2005-09-27 Patrick Lam <plam@mit.edu>
1280 * src/fccache.c (FcDirCacheWrite):
1282 Don't unlink the fonts.cache-2 file even if there's no data
1283 to write; just write an empty cache file. (thanks Lubos Lunak)
1285 2005-09-27 Patrick Lam <plam@mit.edu>
1287 * src/fccache.c (FcDirCacheWrite):
1289 Allocate room for the subdirectory names in each
1290 directory cache. Thanks to James Cloos for finding
1291 and diagnosing this bug!
1293 2005-09-22 Patrick Lam <plam@mit.edu>
1295 * fc-cache/fc-cache.sgml:
1296 * src/fccache.c (FcDirCacheWrite):
1297 * src/fccache.h (struct FcCache):
1299 Update documentation -- fc-cache's man page now says that you
1300 need to run fc-cache once per cached architecture; add some
1301 documentation to the FcCache structure.
1303 Make fc-cache write out fonts.cache-2 files for directories with
1304 no fonts (i.e. only subdirectories).
1306 2005-09-22 Patrick Lam <plam@mit.edu>
1308 * fc-cache/fc-cache.sgml:
1309 * fc-case/fc-case.c:
1310 * fc-glyphname/fc-glyphname.c:
1316 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1320 * fc-lang/fc-lang.c:
1321 * fontconfig/fcprivate.h:
1322 * fontconfig/fontconfig.h:
1336 Implement new mmaped cache for font information.
1337 Bump so revision to 2.3.90.
1339 2005-07-25 Keith Packard <keithp@keithp.com>
1341 * doc/fontconfig-user.sgml:
1342 * fc-glyphname/fc-glyphname.c: (scan), (main):
1343 * fc-lang/fc-lang.c: (FcConfigHome):
1344 * fc-match/fc-match.c: (main):
1345 * src/fccfg.c: (FcConfigHome):
1346 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1347 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1348 (addtag), (FcFontCapabilities):
1349 * src/fcpat.c: (FcValueListEntCreate):
1350 * src/fcstr.c: (FcStrCaseWalkerInit):
1351 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1353 Various GCC 4 cleanups for signed vs unsigned char
1355 Match only [0-9]*.conf files in <include>{directory}</include>
1356 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1358 2005-07-15 Carl Worth <cworth@cworth.org>
1361 * src/fcinit.c: (FcFini):
1362 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1365 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1366 Pull the FcObjectStateName hash table out to file scope, and add
1367 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1370 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1373 2005-06-16 Patrick Lam <plam@MIT.EDU>
1377 * src/fccfg.c: (FcConfigCompareValue):
1378 Make FcOpNotContains use FcStrStr for strings so that
1379 it matches semantics for !FcOpContains.
1381 2005-05-20 Keith Packard <keithp@keithp.com>
1385 Move fontconfig source package to libs as per override
1387 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1389 reviewed by: Mike Fabian
1392 The ka.orth file requires several characters which are not
1393 used anymore in modern Georgian and which are missing in the free
1394 Georgian TrueType fonts downloadable at:
1396 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1398 2005-04-27 Keith Packard <keithp@keithp.com>
1402 Update date to real 2.3.2 release date.
1403 Fix change attributions
1405 2005-04-27 Keith Packard <keithp@keithp.com>
1408 Bump so revision for 2.3.2
1409 * fc-cache/fc-cache.c: (scanDirs):
1410 Fix a few minor leaks in error cases.
1412 2005-04-23 Keith Packard <keithp@keithp.com>
1417 * fontconfig/fontconfig.h:
1418 Update for version 2.3.2
1420 2005-04-21 Keith Packard <keithp@keithp.com>
1422 * debian/fontconfig.postinst:
1423 Don't force bitmap font enable in default
1424 configuration; allows users to override this in
1434 * debian/po/pt_BR.po:
1435 * debian/po/templates.pot:
1437 * debian/po/zh_CN.po:
1438 Updated translations
1440 * fc-cache/fc-cache.c: (main):
1441 Destroy font configuration on exit to help valgrind
1444 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1445 (FcFreeTypeCheckGlyph):
1446 Use own transcoding routines in preference to iconv
1447 which appears to have leaks in some translators.
1448 Call iconv_close after using iconv (oops).
1450 Prefer unicode encoding of Euro char as some
1451 fonts mis-encode Euro in other ones.
1453 Must fetch bitmap glyphs to get width values
1454 to check for monospace/dual-width fonts.
1456 2005-04-13 Ross Burton <ross@burtonini.com>
1459 Check that a pattern isn't already frozen in FcPatternFreeze.
1461 2005-03-31 Ross Burton <ross@burtonini.com>
1466 Run all FcPattern objects through FcObjectStaticName, so that
1467 compares can be done on pointers instead of strings (#2659)
1469 2005-03-17 Tor Lillqvist <tml@novell.com>
1471 * src/fontconfig.def.in: Add the .dll to the dll name.
1473 2005-03-10 Keith Packard <keithp@keithp.com>
1475 * debian/README.Debian:
1476 Update to reflect configuration changes
1478 * debian/fontconfig.postinst:
1479 Fix Autohint vs Autohinter mistake
1480 * debian/fontconfig.templates:
1481 Adopt changes from Josselin Mouette for configuration descriptions
1482 Update debian to version 2.3.1-2
1484 2005-03-08 Keith Packard <keithp@keithp.com>
1488 Update debian for 2.3.1
1490 2005-03-09 Tor Lillqvist <tml@novell.com>
1492 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1495 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1498 2005-03-08 Keith Packard <keithp@keithp.com>
1502 * fontconfig/fontconfig.h:
1505 2005-03-05 Keith Packard <keithp@keithp.com>
1507 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1508 Include space and remove numbers from valid script tags.
1509 This ensures that tags like 'lao ' work while rejecting
1510 those which have any digits.
1511 Eliminate a spurious debugging variable (len)
1513 2005-03-05 Keith Packard <keithp@keithp.com>
1515 * src/fcfreetype.c: (addtag), (GetScriptTags),
1516 (FcFontCapabilities):
1517 Rework GSUB/GPOS script parsing to survive broken fonts.
1518 Thanks for the broken font go to Manish Singh
1520 2005-03-05 Keith Packard <keithp@keithp.com>
1525 * debian/fontconfig.config:
1526 * debian/fontconfig.templates:
1528 Include 2.3 release information in changelog
1529 Add Josselin Mouette as an Uploader
1530 Set hinting_type to low priority configuration option
1533 * debian/fontconfig.postinst:
1534 yes_bitmaps.conf -> yes-bitmaps.conf
1540 2005-03-02 Keith Packard <keithp@keithp.com>
1543 * conf.d/Makefile.am:
1544 * conf.d/autohint.conf:
1545 * conf.d/no-sub-pixel.conf:
1546 * conf.d/sub-pixel.conf:
1547 * conf.d/unhinted.conf:
1548 * debian/autohint.conf:
1549 * debian/fontconfig.install:
1550 * debian/fontconfig.postinst:
1551 * debian/fontconfig.templates:
1552 * debian/no-sub-pixel.conf:
1553 * debian/unhinted.conf:
1554 Move debian-specific conf file examples upstream.
1556 Sub-pixel configuration examples must smash subpixel value
1557 as Xft always sets it from X.
1559 Change sub-pixel rendering debconf descriptions from
1560 Enable/Disable to Always/Never.
1562 2005-03-02 Keith Packard <keithp@keithp.com>
1565 * conf.d/.cvsignore:
1567 Ignore more build detritus
1570 Add debian package construction stuff.
1572 * config/config.guess:
1573 * config/config.sub:
1574 Update to newer versions of these tools
1577 Get library manuals to build again (we love automake).
1579 * debian/README.Debian:
1580 * debian/autohint.conf:
1585 * debian/fontconfig-udeb.install:
1586 * debian/fontconfig.config:
1587 * debian/fontconfig.defoma:
1588 * debian/fontconfig.dirs:
1589 * debian/fontconfig.install:
1590 * debian/fontconfig.postinst:
1591 * debian/fontconfig.postrm:
1592 * debian/fontconfig.templates:
1593 * debian/libfontconfig1-dev.install:
1594 * debian/libfontconfig1.install:
1595 * debian/local.conf.md5sum:
1596 * debian/no-sub-pixel.conf:
1597 * debian/po/POTFILES.in:
1606 * debian/po/pt_BR.po:
1607 * debian/po/templates.pot:
1609 * debian/po/zh_CN.po:
1611 * debian/unhinted.conf:
1612 Update debian build system to switch maintainers and
1613 deal with 2.3 functionality
1615 2005-03-01 Keith Packard <keithp@keithp.com>
1619 * fontconfig/fontconfig.h:
1622 2005-03-01 Keith Packard <keithp@keithp.com>
1625 Generate and install PDF versions of the manuals
1627 * doc/fcpattern.fncs:
1630 * doc/fcstring.fncs:
1631 Add missing exported functions, fix data types
1633 * doc/fontconfig-devel.sgml:
1634 Add missing pattern elements.
1636 * doc/fontconfig-user.sgml:
1637 Add missing pattern elements. Document conf.d usage,
1638 clarify available orthography list. Fix some config file
1639 attributes. Complete list of constants.
1641 * fontconfig/fontconfig.h:
1642 Mark FC_SOURCE deprecated.
1644 * src/fcfreetype.c: (FcFreeTypeQuery):
1645 Don't set FC_SOURCE any longer.
1647 2005-02-28 Keith Packard <keithp@keithp.com>
1650 * conf.d/Makefile.am:
1652 * conf.d/no-bitmaps.conf:
1653 * conf.d/sub-pixel.conf:
1654 * conf.d/yes-bitmaps.conf:
1656 Create prototype /etc/fonts/conf.d directory with a few
1657 sample configuration files.
1658 Deprecate use of local.conf for local customizations in favor of
1659 this directory based scheme which is more easily integrated into
1660 installation systems.
1663 Tag FC_EMBOLDEN as a boolean variable
1665 2005-02-10 Keith Packard <keithp@keithp.com>
1667 reviewed by: pborelli@katamail.com
1669 * src/fcdir.c: (FcFileScanConfig):
1670 Free patterns from fonts which are rejected by configuration
1673 2005-01-28 Keith Packard <keithp@keithp.com>
1677 * fontconfig/fontconfig.h:
1678 Update for version 2.2.99
1680 2005-01-28 Keith Packard <keithp@keithp.com>
1683 Add a few pointers (#2284, #2285)
1685 2005-01-28 Keith Packard <keithp@keithp.com>
1688 * src/fcname.c: (FcNameBool):
1689 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1690 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1691 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1692 Polite typechecking for test and edit expressions. Helps
1693 catch errors in the font configuration. (bug 229)
1695 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1697 reviewed by: Keith Packard <keithp@keithp.com>
1700 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1702 2005-01-13 Keith Packard <keithp@keithp.com>
1704 * doc/fontconfig-user.sgml:
1705 Add SEE ALSO section (bug 2085)
1707 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1709 reviewed by: Keith Packard <keithp@keithp.com>
1714 * fc-case/Makefile.am:
1715 * fc-glyphname/Makefile.am:
1716 * fc-lang/Makefile.am:
1717 * src/fontconfig.def.in:
1718 Cross compiling fixes (bug 280)
1720 2005-01-13 Keith Packard <keithp@keithp.com>
1723 Update blanks list (Closes bug 86)
1725 2005-01-04 Keith Packard <keithp@keithp.com>
1727 * src/fccache.c: (FcCacheFontSetAdd):
1728 Verify that every font pattern loaded from cache has
1729 both FC_FILE and FC_FAMILY entries.
1730 Attempt to fix bug #2219.
1732 2004-12-29 Keith Packard <keithp@keithp.com>
1736 * fontconfig/fontconfig.h:
1737 Update for version 2.2.98
1739 2004-12-29 Keith Packard <keithp@keithp.com>
1741 * fontconfig/fontconfig.h:
1742 Document ASCII limitations of Fc character conversion macros
1743 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1744 Fix off-by-one error in utf-8 case walking code.
1745 Add FcStrDowncase (useful for testing case conversion functions)
1747 2004-12-29 Keith Packard <keithp@keithp.com>
1750 * fc-case/.cvsignore:
1751 clean up CVS ignore lists
1752 * fc-lang/iso-3166.txt:
1753 Add territory database
1755 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1757 Reviewed by: Keith Packard
1760 Remove Han characters from Korean orthography
1762 2004-12-29 Keith Packard <keithp@keithp.com>
1765 Reorder utility programs to make sure fc-case is run before fc-lang
1766 as fc-lang uses fcstr.c which uses fccase.h
1770 2004-12-29 Keith Packard <keithp@keithp.com>
1773 Adopt some RedHat suggestions for standard font configuration.
1777 * fc-case/CaseFolding.txt:
1778 * fc-case/Makefile.am:
1779 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1780 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1781 (dump), (parseRaw), (caseFoldReadRaw), (main):
1782 * fc-case/fccase.tmpl.h:
1783 Add new helper program 'fc-case' to construct case folding
1784 tables from standard Unicode CaseFolding.txt file
1787 * src/fclist.c: (FcListValueHash):
1788 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1789 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1790 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1791 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1792 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1793 Re-implement case insensitive functions with Unicode
1794 aware versions (including full case folding mappings)
1796 2004-12-13 Keith Packard <keithp@keithp.com>
1798 reviewed by: Owen Taylor <otaylor@redhat.com>
1800 * src/fcmatch.c: (FcFontSetSort):
1801 I changed FcFontSetSort to respect the generic aliases better
1802 in the face of language matching.
1804 What I did was to ammend the strict sort order used by FcFontSort so
1805 that it 'satisfies' the language specified in the pattern by locating
1806 the best matching font supporting each pattern language and then
1807 ignores language in the remaining fonts for purposes of matching.
1809 So, when asking for 'sans:lang=en', you'll get an English font first,
1810 and then the remaining fonts sorted with respect to the 'sans' alias
1811 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1813 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1815 reviewed by: Keith Packard <keithp@keithp.com>
1817 * fontconfig/fontconfig.h:
1820 Configuration changes to request synthetic emboldening of
1821 fonts. The actual emboldening code will live in Xft.
1823 2004-12-09 John Thacker <thacker@math.cornell.edu>
1825 reviewed by: Keith Packard <keithp@keithp.com>
1829 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1830 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1831 и), and don't even appear in KOI8-R. (The hypothesis that they
1832 don't appear in KOI8-R due to their similarity with Latin I and i is
1833 eliminated by their presence in KOI8-U.) I have a couple of fonts
1834 with Russian support that don't have the letter.
1836 Therefore, 0406 and 0456 should be removed from or commented out of
1839 2004-12-06 michael meeks <mmeeks@novell.com>
1841 Reviewed by: Keith Packard <keithp@keithp.com>
1843 * src/fcinit.c: (FcMemReport):
1845 * src/fclist.c: (FcObjectSetAdd):
1846 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1847 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1848 * src/fcxml.c: (FcParsePatelt):
1849 memoize strings and share a single copy for all uses. Note that
1850 this could be improved further by using statically allocated blocks
1851 and gluing multiple strings together, but I'm basically lazy.
1852 In my environment with 800 font files, I get a savings of about 90KB.
1854 2004-12-06 Keith Packard <keithp@keithp.com>
1858 * config/Makedefs.in:
1861 * doc/fcatomic.fncs:
1862 * doc/fcblanks.fncs:
1863 * doc/fccharset.fncs:
1864 * doc/fcconfig.fncs:
1865 * doc/fcconstant.fncs:
1867 * doc/fcfontset.fncs:
1868 * doc/fcfreetype.fncs:
1870 * doc/fcmatrix.fncs:
1871 * doc/fcobjectset.fncs:
1872 * doc/fcobjecttype.fncs:
1873 * doc/fcpattern.fncs:
1874 * doc/fcstring.fncs:
1875 * doc/fcstrset.fncs:
1877 * doc/fontconfig-devel.sgml:
1878 * doc/fontconfig-user.sgml:
1880 * doc/version.sgml.in:
1881 * fc-cache/Makefile.am:
1882 * fc-cache/fc-cache.c:
1883 * fc-glyphname/Makefile.am:
1884 * fc-glyphname/fc-glyphname.c:
1885 * fc-glyphname/fcglyphname.tmpl.h:
1886 * fc-lang/Makefile.am:
1896 * fc-lang/az_ir.orth:
1930 * fc-lang/fc-lang.c:
1931 * fc-lang/fc-lang.man:
1932 * fc-lang/fclang.tmpl.h:
1977 * fc-lang/ku_ir.orth:
2010 * fc-lang/ps_af.orth:
2011 * fc-lang/ps_pk.orth:
2040 * fc-lang/ti_er.orth:
2041 * fc-lang/ti_et.orth:
2067 * fc-lang/zh_cn.orth:
2068 * fc-lang/zh_hk.orth:
2069 * fc-lang/zh_mo.orth:
2070 * fc-lang/zh_sg.orth:
2071 * fc-lang/zh_tw.orth:
2073 * fc-list/Makefile.am:
2074 * fc-list/fc-list.c:
2075 * fc-match/Makefile.am:
2076 * fc-match/fc-match.1:
2077 * fc-match/fc-match.c:
2078 * fontconfig/fcfreetype.h:
2079 * fontconfig/fcprivate.h:
2080 * fontconfig/fontconfig.h:
2101 Change files from ISO-Latin-1 to UTF-8
2103 2004-12-04 Keith Packard <keithp@keithp.com>
2106 Update links to new freedesktop.org locations
2108 Add uninstall-local to get rid of fonts.conf and local.conf if they
2109 match the distributed versions. Fixes 'make distcheck'
2111 2004-12-04 Keith Packard <keithp@keithp.com>
2115 * fontconfig/fontconfig.h:
2116 Updates for version 2.2.97
2118 2004-12-04 Owen Taylor <otaylor@redhat.com>
2120 reviewed by: Keith Packard <keithp@keithp.com>
2122 * fc-cache/fc-cache.c: (main):
2123 Sleep for two seconds before exiting to make sure timestamps
2124 for future changes have distinct mod times in the file system.
2127 Add Punjabi orthography. Bug #1671.
2129 2004-12-04 Keith Packard <keithp@keithp.com>
2132 Just remove the FC_FONTDATE -- it has locale issues and
2133 annoys redhat multi-arch installs. Now that all X fonts are
2134 included without prejudice, the chances of the date being at
2135 all interesting are rather limited. Bug #505.
2137 Add copyright and license
2139 2004-12-04 Keith Packard <keithp@keithp.com>
2142 Change default set of fonts to include all of
2143 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2144 * doc/fontconfig-user.sgml:
2145 Document new <include>directory-name</include> semantics
2147 add <include ignore_missing="yes">conf.d</include>
2149 Add selectfont to ignore bitmap fonts, add comment for
2150 selectfont which accepts bitmap fonts.
2153 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2154 Allow <include> configuration elements to reference directories.
2155 Parse and load all files of the form [0-9]* in sorted order.
2157 2004-12-04 Keith Packard <keithp@keithp.com>
2160 Report command line for $srcdir/configure accurately.
2163 2004-12-04 Keith Packard <keithp@keithp.com>
2165 * src/fcfreetype.c: (FcFreeTypeQuery):
2166 Check for non-empty face->family_name and face->style_name
2167 before using those for the font. Empty names match everything.
2170 2004-12-04 Keith Packard <keithp@keithp.com>
2173 * fontconfig/fontconfig.h:
2174 * src/fcfreetype.c: (FcFreeTypeQuery):
2176 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2177 available. This provides font file format information (BDF, Type 1,
2178 PCF, TrueType) for each font. Closes #109.
2180 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2182 reviewed by: Keith Packard <keithp@keithp.com>
2184 * doc/fontconfig-user.sgml:
2187 * fontconfig/fontconfig.h:
2188 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2189 (GetScriptTags), (FcFontCapabilities):
2191 Add detection for font capabilities (bug #105)
2193 2004-12-04 Keith Packard <keithp@keithp.com>
2196 Move existing fonts.conf to fonts.conf.bak
2199 Add detection of iconv
2201 * doc/fcpattern.fncs:
2202 * doc/fontconfig-devel.sgml:
2203 * doc/fontconfig-user.sgml:
2205 Document new selectfont elements
2208 Switch to UTF-8 in comment
2210 * fontconfig/fontconfig.h:
2212 Add fullname, and family/style/fullname language entries
2214 * src/fccache.c: (FcCacheFontSetAdd):
2215 * src/fcdir.c: (FcFileScanConfig):
2216 Respect selectfont/*/glob
2219 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2220 (FcConfigCompareValue), (FcConfigPatternsAdd),
2221 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2222 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2223 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2224 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2225 Add support for selectfont
2227 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2228 (FcStringInPatternElement), (FcFreeTypeQuery):
2229 Add multi-lingual family/style/fullname support
2231 * src/fclist.c: (FcListPatternMatchAny):
2232 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2234 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2235 (FcObjectStaticName):
2236 Add new FcPatternRemove/FcPatternAppend.
2237 FcObjectStaticName stores computed pattern element names which
2238 are required to be static.
2240 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2245 Remove spurious / after $(DESTDIR)
2247 2004-06-30 Keith Packard <keithp@keithp.com>
2251 * fontconfig/fontconfig.h:
2254 2004-06-30 Keith Packard <keithp@keithp.com>
2256 Provided by: Lubos Lunak <l.lunak@suse.cz>
2258 * src/fccfg.c: (FcConfigUptoDate):
2259 However FcConfigUptoDate() doesn't seem to work. See the attached
2260 patch. First there's an obvious misplaced parenthesis making it
2261 return always false, and second, even this call fails to detect font
2262 changes (e.g. adding a new font to
2263 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2264 well. The problem seems to be triggered by my fonts.conf specifying
2265 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2266 doesn't include subdirs, unlike config->fontDirs.
2268 2004-06-03 Keith Packard <keithp@keithp.com>
2270 * fontconfig/fontconfig.h:
2271 Remove comma at end of FcResult enum definition.
2273 2004-05-29 Keith Packard <keithp@keithp.com>
2276 Add steps to md5sum release
2278 2004-05-29 Keith Packard <keithp@keithp.com>
2282 * fontconfig/fontconfig.h:
2285 2004-05-29 Keith Packard <keithp@keithp.com>
2287 * fontconfig/fontconfig.h:
2288 * src/fcmatch.c: (FcFontSetMatch):
2289 Add FcResultOutOfMemory to provide an accurate error when
2290 FcFontSetMatch fails in this way
2293 Make #warning about lacking various FreeType features indicate
2294 which version those features appeared so users know how to
2295 fix the problem (Thanks to Anton Tropashko)
2297 2004-05-05 Keith Packard <keithp@keithp.com>
2299 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2300 Replace MIN/MAX/ABS macros which happen to have come
2301 from FreeType with fontconfig-specific ones (FC_*)
2303 2004-04-23 Keith Packard <keithp@keithp.com>
2306 Extend release preparation instructions to include
2307 notification and distribution steps
2309 2004-04-23 Keith Packard <keithp@keithp.com>
2313 * fontconfig/fontconfig.h:
2314 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2316 2004-04-23 Keith Packard <keithp@keithp.com>
2319 Ignore a few more autotool files
2321 2004-04-14 Keith Packard <keithp@keithp.com>
2324 Add instructions for doing a release
2326 * fontconfig.spec.in:
2327 clean up .spec file; perhaps this will be useful to somebody...
2331 * fontconfig/fontconfig.h:
2334 * fc-lang/fc-lang.c:
2335 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2337 * fc-glyphname/Makefile.am:
2338 * fc-lang/Makefile.am:
2339 * fc-list/Makefile.am:
2340 * fc-match/Makefile.am:
2342 Add WARN_CFLAGS to pass -W flags for GCC systems
2344 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2345 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2346 Change various char types around to match across
2348 Fixed bug in using available_sizes[i].height which
2349 is in pixels, not 64ths of a pixel.
2351 2004-03-06 Keith Packard <keithp@keithp.com>
2353 * src/fcfreetype.c: (FcFreeTypeQuery):
2354 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2355 matches looking for explicit values prefer exact matches
2357 2004-03-02 Keith Packard <keithp@keithp.com>
2359 Supplied by: mfabian@suse.de (Mike FABIAN)
2361 * src/fcfreetype.c: (FcFreeTypeQuery):
2362 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2363 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2365 2004-02-21 Manish Singh <yosh@gimp.org>
2367 * fc-glyphname/fc-glyphname.c: (main):
2368 Cast strlen to int for printf, so we're 64-bit clean.
2370 2004-02-11 Keith Packard <keithp@keithp.com>
2373 * src/fcfreetype.c: (FcGetPixelSize):
2374 Ok, so I messed up the test for y_ppem. Let's see if I
2375 got it right this time.
2377 2004-02-10 Keith Packard <keithp@keithp.com>
2380 * src/fcfreetype.c: (FcGetPixelSize):
2381 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2382 FT_Bitmap_Size record. Add a configure.in test for this
2383 and change the code accordingly (using height instead).
2385 2004-02-06 Keith Packard <keithp@keithp.com>
2388 Add Low Saxon orthography
2389 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2391 * src/fccfg.c: (FcConfigNewestFile):
2392 Oops. Left 'newest.set' unset, which would miscompute
2395 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2396 (FcFreeTypeCheckGlyph):
2397 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2398 font properties (which report the wrong value in current FreeType)
2400 Don't attempt to check for empty glyphs in non-scalable fonts; they
2403 2004-02-01 Tor Lillqvist <tml@iki.fi>
2405 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2406 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2407 cache if config->cache is NULL, which happens if FcConfigHome() is
2408 NULL. Guard against that by using the temp folder in that case.
2410 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2412 * fc-lang/az_ir.orth:
2413 * fc-lang/ku_ir.orth:
2414 * fc-lang/ps_af.orth:
2415 * fc-lang/ps_pk.orth:
2416 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2417 (Afghan and Pakistani).
2419 Updated Urdu orthography with real data.
2421 2003-12-11 Carl Worth <cworth@east.isi.edu>
2423 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2426 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2428 (all-local): Remove excessive whitespace.
2430 * autogen.sh: Add 'set -e' to abort when any program fails,
2431 (avoids printing of 'now type make' after configure aborts).
2433 2003-11-17 Eric Christopherson <rakko@charter.net>
2435 reviewed by: Keith Packard <keithp@keithp.com>
2438 * fontconfig/fcfreetype.h:
2440 Switch to FreeType 2.1.7 style includes. Bug #150.
2442 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2444 * fc-list/fc-list.sgml: Add some example usages.
2446 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2449 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2452 2003-10-27 Keith Packard <keith@keithp.com>
2455 * fontconfig/fontconfig.h:
2456 Update to version 2.2.92
2458 2003-10-27 Keith Packard <keithp@keithp.com>
2463 * fc-cache/Makefile.am:
2464 * fc-glyphname/Makefile.am:
2465 * fc-lang/Makefile.am:
2466 * fc-list/Makefile.am:
2467 * fc-match/Makefile.am:
2470 Yet more cleanups to finish getting 'make distcheck' working
2471 This has been tested to ensure that it even works from a _build
2474 2003-10-26 Keith Packard <keithp@keithp.com>
2478 * fc-cache/Makefile.am:
2479 * fc-glyphname/Makefile.am:
2480 * fc-lang/Makefile.am:
2481 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2482 * fc-list/Makefile.am:
2483 * fc-match/Makefile.am:
2484 Attempts to fix 'make distcheck' work. Things are
2485 progressing pretty well, but there are still failures
2486 long into the process dealing with docs (as always).
2488 The big changes here are mostly to make $(srcdir) != "."
2489 work correctly, fixing the docbook related sections and
2490 fc-lang were particularily tricky. Docbook refuses to load
2491 system entities from anywhere other than where the original .sgml
2492 file was located, so no luck looking in "." for the
2493 configure-generated version.sgml and confdir.sgml files.
2495 fc-lang needed help finding .orth files; added a -d option
2496 to set the directory as the least evil of many options.
2498 Now to go use a faster machine and try and wring out the last
2501 2003-10-26 Keith Packard <keithp@keithp.com>
2505 2003-10-26 Keith Packard <keithp@keithp.com>
2508 Include confdir.sgml.in in EXTRA_DIST
2510 2003-10-09 Josselin Mouette <joss@debian.org>
2512 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2513 * fc-list/fc-list.sgml fc-list/Makefile.am:
2514 Replace fc-cache and fc-list manpages with more detailed, SGML
2517 2003-09-23 Owen Taylor <otaylor@redhat.com>
2519 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2520 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2521 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2524 2003-09-23 Owen Taylor <otaylor@redhat.com>
2526 * fc-lang/ka.orth: Remove Georgian capitals, they
2527 aren't used for normal writing. (Bug #116)
2529 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2531 * doc/fontconfig-devel.sgml:
2532 * doc/fontconfig-user.sgml:
2533 * fontconfig/fontconfig.h:
2535 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2536 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2538 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2539 monospace and dual-width fonts, allow roughly a 3% variance in the
2542 2003-08-31 Manish Singh <yosh@gimp.org>
2544 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2547 2003-08-15 Carl Worth <cworth@isi.edu>
2549 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2550 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2552 * src/fcpat.c (FcValueListEntDestroy): New function to support
2553 FcFini memory cleanup. Some statistics are not kept in
2555 (FcValueListFreeze): Move hashTable outside this function so it
2556 can be accessed by FcValueListThawAll.
2557 (FcValueListThawAll): New function complements FcValueListFreeze.
2558 (FcPatternBaseFreeze): Move hashTable outside this function so it
2559 can be accessed by FcPatternBaseThawAll.
2560 (FcPatternBaseThawAll): New function complements
2561 FcPatternBaseFreeze.
2562 (FcPatternThawAll): New function complements FcPatternFreeze.
2564 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2566 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2567 allocated FcCharLeafEnt "blocks" so they can be freed later.
2568 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2569 can be accessed by FcCharSetThawAllLeaf.
2570 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2571 (FcCharSetFreezeBase): Move hashTable outside this function so it
2572 can be accessed by FcCharSetThawAll.
2573 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2575 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2576 (FcConfigDestroy): Fic leak of FcBlanks.
2578 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2579 (main): Add call to FcFini when finished.
2581 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2582 static. Add prototypes.
2584 * doc/fcinit.fncs: Add documentation for FcFini function.
2586 * doc/edit-sgml.c: Mark several local functions as static. Add
2589 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2591 2003-06-15 Tor Lillqvist <tml@iki.fi>
2593 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2594 before comparing (needed on Windows).
2596 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2598 2003-06-13 Tor Lillqvist <tml@iki.fi>
2600 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2603 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2604 WINDOWSFONTDIR token.
2606 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2607 end, not to confuse libtool, which expects the EXPORTS line to be
2608 the first. Add FcConfigEnableHome.
2610 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2611 built as a DLL on Win32.
2613 2003-06-09 Keith Packard <keithp@keithp.com>
2615 * Tag version 2.2.90
2617 2003-06-09 Keith Packard <keithp@keithp.com>
2619 * Optimization in FcLangSetIndex was broken, occasionally
2620 returning a pointer to the wrong location on miss
2622 * Add fc-match to test font matching from the command line.
2624 2003-05-31 Keith Packard <keithp@keithp.com>
2626 * (Bug 85) add support for culmus fonts
2627 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2628 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2630 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2632 * Fix "contains" op for strings and langsets.
2634 2003-05-17 Keith Packard <keithp@keithp.com>
2636 * Fix build error with BDF prop local. Free langset after query
2638 2003-05-14 Keith Packard <keithp@keithp.com>
2640 * Extract spacing from XLFD atom
2642 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2644 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2645 disappeared in 1.30.
2647 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2649 2003-05-12 Keith Packard <keithp@keithp.com>
2651 * Use FcIsWidth to share code
2653 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2654 misclassifying some Han fonts as monospaced.
2656 2003-05-07 Keith Packard <keithp@keithp.com>
2658 * Add filename-based accept/reject to ammend available fonts.
2660 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2661 older FreeType releases.
2663 2003-05-06 Keith Packard <keithp@keithp.com>
2665 * Remove 0b82 and Tamil numbers from tamil
2666 orthography (Jungshik Shin <jshin@mailaps.org>)
2668 2003-05-04 Keith Packard <keithp@keithp.com>
2670 + Map glyph names in fonts with adobe custom encoding to unicode
2672 2003-05-02 Keith Packard <keithp@keithp.com>
2674 * Add FC_WEIGHT_BOOK as weight 75
2676 2003-04-30 Keith Packard <keithp@keithp.com>
2678 * Typo in bitstream foundry name
2680 2003-04-24 Keith Packard <keithp@keithp.com>
2682 * Eliminate italic_angle check for PS fonts
2684 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2686 * Getting closer to fixing /etc/fonts hard-coding.
2688 2003-04-22 Keith Packard <keithp@keithp.com>
2690 * Update autogen.sh to work with newer automake versions
2691 * Handle pattern elements moving during multiple edits
2693 2003-04-23 James Henstridge <james@daa.com.au>
2695 * doc/fontconfig-devel.sgml: close the <para> element.
2697 * doc/fcpattern.fncs: close the <para> element.
2699 * doc/func.sgml: close the <refsynopsisdiv> element.
2701 2003-04-22 Keith Packard <keithp@keithp.com
2703 * Update autogen.sh to work with newer automake versions
2704 * Handle pattern elements moving during multiple edits
2706 2003-04-17 Colin Walters <walters@debian.org>
2708 + Remove some unused variables, and initialize some other ones so
2709 gcc doesn't warn us.
2711 2003-04-16 Keith Packard <keithp@keithp.com>
2713 + tag version 2.1.94
2715 2003-04-16 Keith Packard <keithp@keithp.com>
2717 + add BDF property fetching support for foundry
2718 (from Juliusz Chroboczek)
2719 + add BDF property fetching support for width
2721 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2723 + Implemented foundry generation for Type 1 and TrueType
2725 2003-04-11 Gerard Escalante <g2@magestudios.net>
2727 + Retrieve information from Type1 FontInfo dictionaries
2729 2003-04-07 Colin Walters <walters@verbum.org>
2731 + src/Makefile.am: Fix dummy makefile target names when
2732 MS_LIB_AVAILABLE isn't set.
2734 2003-03-22 Tor Lillqvist <tml@iki.fi>
2736 Changes for Windows:
2738 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2740 + We don't want to hardcode the fonts.conf file location in the
2741 DLL, so we look up the DLL location at run-time in a DllMain()
2742 function. The fonts.conf location is deduced from that.
2744 + The colon can't be used as path separator on Windows,
2745 semicolon is used instead. File path components can be separated
2746 with either slash or backslash. Absolute paths can also begin
2747 with a drive letter.
2749 + Add internal function FcStrLastSlash that strrchr's the last
2750 slash, or backslash on Windows.
2752 + There is no link() on Windows. For atomicity checks, mkdir a
2753 lock directory instead.
2755 + In addition to HOME, also look for USERPROFILE.
2757 + Recognize the special font directory token WINDOWSFONTDIR, to
2758 use the system's font directory.
2760 + Remove the fontconfig-def.cpp that was obsolete. Add
2761 fontconfig.def(.in), without internal functions.
2763 + Add a fontconfig-zip(.in) script, used to build a binary
2766 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2767 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2768 to main package and man3/* to devel package
2770 + Added missing defattr(-, root, root) to main RPM package
2772 + Added HTML and text development documentation to -devel subpackage
2774 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2775 + Added back the configure macro options --disable-docs, otherwise
2776 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2777 version number) unconditionally, causing RPM to fail the build due
2778 to _unpackaged_files_terminate_build. We pick up the pregenerated
2779 docs with %doc already.
2781 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2782 + Removed commented out rpm macro define at top of spec file,
2783 replacing it with a simple explanation, since rpm macros are
2784 expanded by rpm even in comments.
2786 + Changed /usr/bin to _bindir in BuildRequires lines
2788 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2790 + Reorganized file manifest lists
2792 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2794 + fontconfig.spec.in: Improvements from Red Hat spec file.
2796 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2798 + docs/*.sgml: SGML fixes.
2800 Sat Mar 1 17:28:53 PST 2003 keithp
2801 + Ok, so the ChangeLog is a bit out of date
2803 + Lots of bugs fixed; most are in bugzilla, the
2804 biggest problems were in cache management where
2805 Owen discovered the library would lose badly when
2806 combining fonts-cache and ~/.fonts-cache data
2808 + Converted from autoconf to automake. This after
2809 getting patches accepted into libtool to allow
2810 the '-version-number' argument which lets
2811 packages set version numbers explicitly rather
2812 than the roundabout libtool way
2814 + Converted documentation to SGML using the docbook
2815 DTD. Now .txt and .html documents are installed
2816 in /usr/share/doc/fontconfig and there's no
2817 man page. Perhaps a man version can be written
2820 Sat Aug 31 15:21:22 PDT 2002 keithp
2821 + Xrender and Xft had several bugs related to
2822 rendering manually placed or poly-face text
2824 + Added more complete memory tracing in fontconfig
2825 Checked with (patched) mozilla and found no leaks
2827 + Updated Latin orthographies by comparing those from
2828 evertype.com with those from eki.ee. Tried to make
2829 sensible choices, including chars that occured in both
2830 and leaving some optional chars out that occured only
2833 Mon Aug 26 16:33:04 PDT 2002 keithp
2834 + Owen discovered that FcLangSetHasLang wasn't actually
2835 checking the language set.
2837 Mon Aug 26 13:37:23 PDT 2002 keithp
2838 + Append a version number to cache filenames
2840 Thu Aug 22 11:36:18 PDT 2002 keithp
2842 + Add "contains" and "not_contains" operators and elements to
2845 + Changed semantics of eq operator for LangSets to check for
2846 FcLangEqual so that any match will do
2848 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2849 of FcValueEqual to check for identical values when inserting into
2850 the results. This broke when the above semantic change was made,
2851 now it uses FcValueEqual which is "more correct" in any case.
2853 Thu Aug 22 00:32:29 PDT 2002 keithp
2855 + Reimplement FC_LANG as new datatype. Lists of strings
2856 was consuming over a megabyte of memory for 401 fonts.
2858 + Freeze patterns loaded from cache files. This shares
2859 common value lists and common patterns which saves
2860 considerable memory.
2862 + Change the denotation of 'constant' charsets to use special
2863 ref value instead of separate boolean.
2865 + Clean up leak tracing stuff, found several unannoted alloc/free
2868 Tue Aug 20 16:17:37 PDT 2002 keithp
2870 + Fix memory leak when parsing matrices from XML
2872 Mon Aug 19 11:57:27 PDT 2002 keithp
2874 + Fix autoconf files to pass FONTCONFIG_PATH on
2875 compile line so that ${prefix} gets substituted
2878 + Use getc_unlocked/putc_unlocked on systems that
2879 provide them to avoid damage done to stdio by posix
2881 + Eliminate FC_PATTERN and FcTypePattern in favor of
2882 an extended api for FcConfigSubstitute which takes
2883 both the font and the pattern.
2885 + Add 'sans serif' alias for 'sans-serif' as some apps
2886 can't handle hyphens in family names
2888 + Eliminate pretense of support for libxml2
2890 + Comment origins of Han orthographies
2892 Tue Jul 30 18:37:09 PDT 2002 keithp
2894 + Add binding property to edit element so that strong
2895 binding values may be inserted by the config file.
2896 The default remains weak.
2898 Sun 28 Jul 04:16:55 PDT 2002 keithp
2900 + Tagged release candidate 1 in the CVS tree and
2901 placed fcpackage.rc1.tar.gz for distribution
2903 Thu Aug 1 08:55:08 PDT 2002 keithp
2905 + Fixed autoconf builds to always specify install
2906 target files (for BSD). Also fixed to
2907 define FONTCONFIG_PATH in config.h so that
2908 nonstandard installs will actually work.