1 2006-02-21 Mike Fabian <mfabian@suse.de>
4 * fc-cat/fc-cat.c (main):
6 Initialize fontconfig library in fc-cat to avoid segfault.
8 2006-02-18 Patrick Lam <plam@mit.edu>
9 * fc-cache/fc-cache.c (scanDirs):
10 * src/fccache.c (FcCacheReadDirs):
11 * src/fcdir.c (FcDirScanConfig):
13 Fix the underlying cause of the below segfault (must usually
14 call FcDirCacheHasCurrentArch after FcDirCacheValid).
16 2006-02-18 Patrick Lam <plam@mit.edu>
17 * src/fccache.c (FcDirCacheHasCurrentArch):
19 Fix triggering of segfault caused by misreading cache files
20 (reported by fcrozat).
22 2006-02-17 Patrick Lam <plam@mit.edu>
23 * src/fcint.h (FC_CACHE_MAGIC):
25 Bump up magic version; we changed the binary format.
27 2006-02-17 Patrick Lam <plam@mit.edu>
28 * fc-cat/fc-cat.c (main):
30 Enable fc-cat to print out old-style cache info when given a
33 2006-02-16 Patrick Lam <plam@mit.edu>
34 * src/fccache.c (FcDirCacheHasCurrentArch):
36 Deal correctly with changing FC_CACHE_MAGIC.
38 2006-02-16 Patrick Lam <plam@mit.edu>
39 * fc-cache/fc-cache.c (usage, scanDirs, main):
41 Add -r --really-force option which blows away cache files and then
44 2006-02-16 Patrick Lam <plam@mit.edu>
45 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
47 Don't bail if fontconfig can't remove a dir cache file.
48 Skip the ID of a cache file when copying.
49 Eliminate 'source file too small' bug in FcDirCacheWrite.
51 2006-02-13 Patrick Lam <plam@mit.edu>
52 * src/fcfreetype.c (FcFreeTypeQuery):
54 Fix memory leak in error condition code.
56 2006-02-13 Mike Fabian <mfabian@suse.de>
58 * src/fcfreetype.c (FcFreeTypeQuery):
60 Skip bitmap fonts which can't even get it together enough to
61 declare a family name; this appears to reproduce previous
64 2006-02-10 Takashi Iwai <tiwai@suse.de>
66 * src/fccache.c (FcDirCacheOpen):
68 Try to open /var/cache/fontconfig/[hashed name] before
69 fonts.cache-2 in a directory, because /var/cache/fontconfig
70 failures ought to be fixable, unlike fonts.cache-2 failures,
71 which may leave you screwed.
73 2006-02-10 Takashi Iwai <tiwai@suse.de>
75 * src/fcmatch.c (FcFontSetMatch):
77 Use a tri-state to mark the fonts which didn't get blocked but
78 were just missing an element, to distinguish them from the
79 fonts that do match the element.
81 2006-02-10 Takashi Iwai <tiwai@suse.de>
83 * src/fcmatch.c (FcFontSetMatch):
85 Don't kill fonts because they don't declare an element that's
88 2006-02-09 Patrick Lam <plam@mit.edu>
89 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
90 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
92 Define and pass O_BINARY to open if appropriate, for those
93 platforms that need it. Reported by Doodle.
95 2006-02-09 Patrick Lam <plam@mit.edu>
96 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
99 Fix problem with missing 'en' due to euro.patch: change
100 cache file format slightly to coincide with that generated
103 2006-02-07 Patrick Lam <plam@mit.edu>
104 * src/fccache.c (FcCacheReadDirs):
108 2006-02-07 Patrick Lam <plam@mit.edu>
109 * src/fcdir.c (FcDirScanConfig):
111 Don't reject dirs that can't be normalized (fixes lilypond, and
112 is correct in the context of application font directories.)
114 2006-02-07 Takashi Iwai <tiwai@suse.de>
117 * src/fccache.c (FcCacheReadDirs):
119 Use normalized directory name exclusively in FcCacheReadDirs.
121 2006-02-07 Dirk Mueller <dmueller@suse.com>
124 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
126 Perf optimizations. Inline FcValueCanonicalize,
127 reduce FcValueListPtrU usage, remove redundant cast.
129 2006-02-07 Takashi Iwai <tiwai@suse.de>
132 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
135 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
136 Declare extern for static arrays as arrays, not pointers.
137 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
139 2006-02-07 Dirk Mueller <dmueller@suse.com>
152 Add Euro sign to list of symbols required by European languages.
154 2006-02-07 Patrick Lam <plam@mit.edu>
155 * src/fccache.c (FcCacheReadString):
157 Fix hidden variable warning.
159 2006-02-07 Dirk Mueller <dmueller@suse.com>
162 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
164 Remove de-escaping logic because FcCacheWriteString
165 doesn't escape anyway. Do blockwise reading instead
166 of byte-wise for performance.
168 2006-02-06 Patrick Lam <plam@mit.edu>
169 Takashi Iwai <tiwai@suse.de>
171 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
173 Don't loop infinitely on recursive symlinks (client-side).
175 2006-02-06 Takashi Iwai <tiwai@suse.de>
177 * fc-cache/fc-cache.c (scanDirs, main):
179 Don't loop infinitely on recursive symlinks.
181 2006-02-06 Takashi Iwai <tiwai@suse.de>
183 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
184 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
185 FcGlobalCacheSave, FcCacheReadDirs):
188 Skip subdirs when skipping over stale bits of global cache.
189 Introduce state machine into FcGlobalCacheDir to avoid
190 doing inappropriate operations on global dir entries, e.g.
191 writing out an out-of-date cache entry.
193 2006-02-06 Takashi Iwai <tiwai@suse.de>
195 * src/fcdir.c (FcFileScanConfig):
197 Hoist FcFileIsDir check out of FcFileScanConfig loop.
199 2006-02-06 Takashi Iwai <tiwai@suse.de>
202 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
203 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
205 Don't rescan when trying to normalize a non-declared font dir.
206 Don't add font dirs multiple times (even if they're aliased).
208 2006-02-06 Dirk Mueller <dmueller@suse.de>
211 * src/fcfs.c (FcFontSetUnserialize):
213 Explain apples/oranges comparison and fix compilation error.
215 2006-02-06 Dirk Mueller <dmueller@suse.de>
218 * src/fcfs.c (FcFontSetUnserialize):
220 Insert check for integer overflow in # of fonts.
222 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
226 * fc-cache/Makefile.am:
227 * fc-cat/Makefile.am:
228 * fc-list/Makefile.am:
230 Make 'make distcheck' work with automake 1.6.3.
232 2006-02-03 Takashi IWAI <tiwai@suse.de>
235 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
238 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
239 FcDirCacheConsume, FcDirCacheWrite)
240 * src/fcxml.c (FcConfigMessage):
242 Check I/O call return values and eliminate unused variable
245 2006-02-03 Takashi Iwai <tiwai@suse.de>
248 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
252 2006-02-03 Dirk Mueller <dmueller@suse.de>
255 * src/fcfs.c (FcFontSetUnserialize):
257 Gracefully handle the case where a cache asserts that it
258 has a negative number of fonts, causing overflow.
260 2006-02-03 Patrick Lam <plam@mit.edu>
261 * src/fccache.c (FcDirCacheUnlink):
263 Fix double free in error case.
265 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
266 Stephan Kulow <coolo@suse.de>
269 * fc-cache/Makefile.am:
271 Replace 'stamp' target with mkinstalldirs.
273 2006-01-31 Mike Fabian <mfabian@suse.de>
276 * src/fccache.c (FcGlobalCacheLoad):
278 Toast broken global cache files.
280 2006-01-30 Patrick Lam <plam@mit.edu>
281 * src/fccache.c (FcGlobalCacheReadDir):
283 Actually use the directories that I added to the global cache.
286 2006-01-30 Mike Fabian <mfabian@suse.de>
289 * fc-cache/fc-cache.c (scanDirs):
291 Don't stop scanning if a directory in fonts.conf doesn't
292 exist, because subsequent directories might exist.
294 2006-01-30 Patrick Lam <plam@mit.edu>
295 * src/fccache.c (FcGlobalCacheLoad):
297 Make global cache work again after putting dir names into global
298 cache (I misplaced the recording of a file offset).
300 2006-01-30 Patrick Lam <plam@mit.edu>
301 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
303 Update fc-cat to handle subdir lists in global cache file.
305 * src/fccache.c (FcGlobalCacheLoad):
307 Another FcCacheReadString return value check.
309 2006-01-30 Mike Fabian <mfabian@suse.de>
312 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
313 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
315 Make fccache more resilient to broken cache files by checking
316 return value of FcCacheReadString all the time.
318 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
321 * fc-match/fc-match.1:
322 * fc-lang/fc-lang.man:
324 Remove references to dead fontconfig(3) manpages in
325 other fontconfig manpages.
327 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
330 * doc/fcpattern.fncs:
332 Fix world's tiniest typo in code example.
334 2006-01-29 Mike Fabian <mfabian@suse.de>
337 * src/fccache.c (FcGlobalCacheReadDir):
339 Fix global cache reads of subdirectories.
341 2006-01-29 Patrick Lam <plam@mit.edu>
343 Add documentation for FcConfigNormalizeFontDir.
345 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
346 FcGlobalCacheUpdate, FcGlobalCacheSave):
347 * src/fcdir.c (FcDirScanConfig):
350 Write directory information to global caches to fix make check
351 (reported by Ronny V. Vindenes). This changes the global cache
354 2006-01-27 Patrick Lam <plam@mit.edu>
355 * fc-cache/fc-cache.c (scanDirs):
356 * fontconfig/fontconfig.h:
358 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
360 Move FcConfigNormalizeFontDir call so that it doesn't result in
361 infinite recursion (reported by Ronny V. Vindenes).
363 2006-01-26 Patrick Lam <plam@mit.edu>
364 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
365 * src/fccfg.c (FcConfigNormalizeFontDir):
367 Add a couple of missing normalizations to make fc-cache work
368 right; only scan subdirectories once.
370 2006-01-26 Mike Fabian <mfabian@suse.de>
373 * src/fcacache.c (FcGlobalCacheReadDir):
375 Don't crash on non-existant directories in global cache.
377 2006-01-26 Patrick Lam <plam@mit.edu>
378 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
379 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
380 * src/fcdir.c (FcDirScanConfig):
381 * src/fcxml.c (FcEndElement):
383 Stop trampling the directory name when writing out caches.
384 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
385 subdirs when necessary. Don't scan directories that can't be
388 2006-01-25 Patrick Lam <plam@mit.edu>
389 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
390 * src/fccfg.c (FcConfigEvaluate):
391 * src/fcfreetype.c (FcPatternAddWithBinding):
393 Fix additional memory leaks reported by Ronny V. Vindenes: don't
394 invoke FcValueSave on hashed static strings in
395 FcPatternAddWithBinding.
397 Add another st_dev check in FcDirCacheOpen.
399 2006-01-24 James Su <james.su@gmail.com>
402 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
403 * fc-lang/zh_hk.orth:
405 Treat zh-hk fonts differently from zh-tw fonts. This patch may
406 cause fontconfig to treat A-X fonts differently from A-Y fonts;
407 please mail the fontconfig list if this causes any problems.
409 2006-01-24 Patrick Lam <plam@mit.edu>
410 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
411 * src/fcfreetype.c (FcFreeTypeQuery):
413 Fix memory leaks reported by Ronny V. Vindenes.
415 2006-01-19 Andreas Schwab <schwab@suse.de>
418 * src/fcpat.c (FcStrNeededBytes):
420 Fix for unaligned memory accesses.
422 2006-01-18 Mike Fabian <mfabian@suse.de>
425 * src/fcdir.c (FcDirScanConfig):
427 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
428 calls to avoid crashes.
430 2006-01-14 Patrick Lam <plam@mit.edu>
431 * src/fccache.c (FcDirCacheConsume):
433 Fix segfault when consuming zero-length caches in fc-cat
434 (which has no config, so FcConfigAddFontDir shouldn't be called.)
436 2006-01-14 Patrick Lam <plam@mit.edu>
437 * fc-cache/fc-cache.c (scanDirs):
438 * fontconfig/fontconfig.h:
439 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
440 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
441 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
442 * src/fcdir.c (FcDirScanConfig):
445 Compare device numbers as well as inodes.
446 Always normalize directory names before comparing them.
448 2006-01-11 Mike Fabian <mfabian@suse.de>
451 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
453 Allocate extra space for appended '/' in directory name.
455 2006-01-10 Patrick Lam <plam@mit.edu>
456 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
457 FcDirCacheValid, FcDirCacheHasCurrentArch,
458 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
459 * fc-cache/fc-cache.c (main):
461 Explicitly add font dirs to config.fontDirs even if they're empty.
462 Set current config in fc-cache.c.
463 Fix treatment of cache directory as read from cache file; don't
464 use string equality to determine if we have the right file,
467 2006-01-09 Patrick Lam <plam@mit.edu>
468 * fc-cache/fc-cache.c (scanDirs):
469 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
470 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
471 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
472 * src/fccfg.c (FcConfigNormalizeFontDir):
473 * src/fcdir.c (FcDirScanConfig):
476 Normalize font dirs by using the form, as given in fonts.conf, and
477 recorded in FcConfig's fontDirs string set, as canonical.
479 Actually update config.fontDirs as font directories are scanned.
481 2006-01-08 James Su <james.su@gmail.com>
482 * src/fcmatch.c (FcFontSetMatch):
484 Fix matching bug when multiple elements match; don't use
485 the sum of all scores, but the best score.
487 Also more perf opts, e.g. evaluate best over all font sets
488 rather than on a per-set basis (and other changes).
490 2006-01-08 Patrick Lam <plam@mit.edu>
491 * src/fccache.c (FcDirCacheConsume):
493 Properly skip past dir caches that contain zero fonts (as occurs
494 in global caches.) Reported by Mike Fabian.
496 2006-01-06 Patrick Lam <plam@mit.edu>
497 * src/fcdbg.c (FcPatternPrint):
499 Print out full pathname in fc-match -v as well. Reported by
502 2006-01-06 Mike Fabian <mfabian@suse.de>
505 * src/fcname.c (FcNameParse):
507 Fix bug where fc-match crashes when given __DUMMY__ property to
510 (I added the __DUMMY__ string to enable callers of
511 FcObjectToPtrLookup to distinguish an error return from a
512 successful return. -PL)
514 2006-01-05 Patrick Lam <plam@mit.edu>
517 Add self to AUTHORS list.
519 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
520 FcCacheFileRead, FcCachePrintSet, main):
521 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
522 FcGlobalCacheSave, FcCacheNextOffset,
523 FcDirCacheHasCurrentArch, FcDirCacheRead,
524 FcDirCacheConsume, FcDirCacheWrite):
526 * src/fcpat.c (comment):
528 Minor change to global cache file format to fix fc-cat bug
529 reported by Frederic Crozat, and buglet with not globally caching
530 directories with zero fonts cached.
532 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
535 * src/fccfg.c (FcConfigEvaluate):
537 Fix double-free which occurs because FcValueCanonicalize doesn't
538 create an extra copy of the returned value, it only canonicalizes
541 2006-01-02 Patrick Lam <plam@mit.edu>
542 * doc/fontconfig-user.sgml:
544 Fix version of .cache file (currently 1 -> currently 2). Reported
547 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
550 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
552 Shut up GCC warnings on amd.
554 2005-12-20 Patrick Lam <plam@mit.edu>
558 * fontconfig/fontconfig.h:
560 Bump version to 2.3.93.
562 2005-12-20 Patrick Lam <plam@mit.edu>
563 * src/fccharset.c (FcLangCharSetPopulate):
564 * src/fcint.h (FcCacheBankToIndex):
566 Avoid check on _fcBankId nullness and fix case where it used to
569 2005-12-20 Patrick Lam <plam@mit.edu>
570 * src/fcxml.c (FcConfigParseAndLoad):
572 Use open instead of fopen (requested by Phil Race for Sun).
574 2005-12-20 Patrick Lam <plam@mit.edu>
575 * src/fccache.c (FcDirCacheWrite);
576 * fc-cache/Makefile.am:
578 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
581 2005-12-20 Patrick Lam <plam@mit.edu>
582 * src/fcfreetype.c (FcFreeTypeQuery):
584 Restore code to skip over PCF fonts that have no encoded
586 (We guess that a font is PCF by presence of the PIXEL_SIZE
589 2005-12-12 Patrick Lam <plam@mit.edu>
590 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
592 Read and write the original location as a fallback for the
593 hashed cache file locations. This is mostly for users to be
594 able to have per-directory cache files.
596 2005-12-12 Patrick Lam <plam@mit.edu>
597 * fc-cache/fc-cache.c (scanDirs):
598 * fc-cache/Makefile.am:
599 * src/fccache.c (FcDirCacheHashName):
601 Improve error message when fc-cache can't write the cache. Add
602 missing slash. Reported by Behdad. Incorporate Behdad's patch to
603 create /var/cache/fontconfig when appropriate.
605 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
608 * src/fcxml.c (FcConfigGetAttribute):
610 Fix crash reported by Frederic Crozat when using libxml2.
612 2005-12-09 Patrick Lam <plam@mit.edu>
615 * fc-cache/Makefile.am:
616 * fc-cat/Makefile.am:
618 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
619 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
620 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
621 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
622 FcDirCacheHasCurrentArch, FcDirCacheHashName,
623 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
625 Migrate cache files from fonts directories to
626 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
627 but requires that all caches get rebuilt.
629 Also, autogen.sh now needs the additional parameter
630 --localstatedir=/var.
632 2005-12-07 Patrick Lam <plam@mit.edu>
633 * src/fcpat.c (FcPatternAddString):
635 Because we've changed FcPatternAddString to use FcStrStaticName
636 and not FcValueSave, explicitly handle the case of a null string.
638 2005-12-06 Patrick Lam <plam@mit.edu>
639 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
643 2005-12-05 Patrick Lam <plam@mit.edu>
644 * src/fcname.c (FcNameGetObjectType):
646 Don't assign types to user object names.
648 2005-12-05 Patrick Lam <plam@mit.edu>
649 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
651 Don't free strings that have been returned from FcStrStaticName.
653 2005-12-01 Patrick Lam <plam@mit.edu>
654 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
656 Add codepath for reading global cache files as well.
658 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
661 * conf.d/10-fonts.persian.conf:
662 * conf.d/Makefile.am:
664 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
666 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
669 * src/fcxml.c (FcConfigParseAndLoad):
671 Only add a config file to the set of config files once.
673 2005-11-29 Patrick Lam <plam@mit.edu>
674 * src/fcint.h (FcCacheBankToIndex);
676 Fix segfault by guarding array dereference.
678 2005-11-29 Dirk Mueller <dmueller@suse.de>
682 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
683 FcCacheBankToIndex, FcCacheBankToIndexMTF,
687 Refactor FcCacheBankToIndex into an inlineable part
688 (in fcint.h) which checks the front of the list and a
689 non-inlineable part which finds and moves the appropriate element
690 to the front of the list.
692 2005-11-29 Patrick Lam <plam@mit.edu>
693 * src/fccfg.c (FcConfigBuildFonts):
694 * src/fccache.c (FcCacheReadDirs):
696 Make the perf guys hate me a bit less: hoist the directory-name
697 FcConfigAcceptFont check for cached fonts up to directory cache
698 read time, rather than running it for each font.
700 2005-11-29 Patrick Lam <plam@mit.edu>
701 * src/fccfg.c (FcConfigBuildFonts):
703 * src/fcpat.c (FcPatternFindFullFname):
705 Don't make FcPatternFindFullFname available to fccfg, it's not
706 really safe. Instead go through FcPatternGetString (sorry,
707 perf guys.) Also, use globs for dirs as well.
709 2005-11-28 Patrick Lam <plam@mit.edu>
710 * src/fccfg.c (FcConfigBuildFonts):
714 2005-11-28 Patrick Lam <plam@mit.edu>
716 * src/fcpat.c (FcPatternFindFullFname):
717 * src/fccfg.c (FcConfigBuildFonts):
719 Fix problem dating back at least to 2.3.2 where globs weren't
720 being applied to patterns loaded from a cache.
722 2005-11-28 Patrick Lam <plam@mit.edu>
723 * doc/fontconfig-user.sgml:
725 Fix some obvious spelling mistakes.
727 2005-11-28 Dirk Mueller <dmueller@suse.com>
728 Stephan Kulow <coolo@suse.de>
731 * src/fcmatch.c (FcFontSetMatch):
733 Don't kill all fonts during match (oops!)
736 2005-11-25 Dirk Mueller <dmueller@suse.com>
737 Stephan Kulow <coolo@suse.de>
738 Michael Matz <matz@suse.de>
741 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
744 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
745 inline FcCompare into FcFontSetMatch and reorder the
746 loops, adding a boolean array which blocks patterns from future
747 consideration if they're known to not be best on some past
750 2005-11-26 Dirk Mueller <dmueller@suse.com>
753 * src/fcmatch.c (FcCompareValueList):
757 2005-11-25 Patrick Lam <plam@mit.edu>
758 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
760 Don't do random matching when bad objects are passed into
763 2005-11-25 Patrick Lam <plam@mit.edu>
765 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
766 FcPatternSerialize, FcPatternUnserialize,
767 FcValueListEnsureBank, FcValueListDistributeBytes,
768 FcValueListUnserialize):
770 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
771 _fcPatternElts, _fcValueLists for consistency.
773 2005-11-25 Dirk Mueller <dmueller@suse.com>
778 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
780 2005-11-25 Patrick Lam <plam@mit.edu>
782 * src/fccache.c (FcDirCacheConsume):
783 * src/fccharset.c (FcCharSetUnserialize):
784 * src/fcfs.c (FcFontSetUnserialize):
785 * src/fclang.c (FcLangSetUnserialize):
786 * src/fcname.c (FcObjectUnserialize):
787 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
788 FcPatternUnserialize):
790 Pass around FcCache *s to the Unserialize functions for extra
791 consistency (and less overhead, for what that's worth).
793 2005-11-24 Dirk Mueller <dmueller@suse.com>
797 * src/fcmatch.c (FcCompare*, FcFontSetSort):
798 * src/fcname.c (FcNameUnparseValue):
800 Inline the *PtrU functions to gain perf.
801 Remove unneeded params for the FcCompare* functions.
803 2005-11-24 Dirk Mueller <dmueller@suse.com>
806 * src/fcint.h, fontconfig/fontconfig.h:
808 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
810 * src/fcpat.c, src/fcint.h, src/fcname.c:
812 Check for type validity during FcPatternAddWithBinding, don't
813 verify type in FcFontMatch, don't call FcCanonicalize here
814 (which always does a deep copy).
816 2005-11-24 Dirk Mueller <dmueller@suse.com>
819 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
820 * src/fcpat.c (FcPatternAddWithBinding):
822 Make FcCompareString and FcCompareFamily less expensive.
823 Only add a value for FC_FAMILY if the proposed value is a string.
825 2005-11-24 Dirk Mueller <dmueller@suse.com>
828 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
829 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
830 * src/fcint.h (FcDebug):
832 Inline FcDebug invocations and only initialize once, in FcInit*.
833 Improve debug msg in FcPatternPrint.
835 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
838 * fontconfig/fontconfig.h:
841 Minor code warning cleanups.
843 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
846 * fc-match/fc-match.c (main):
848 Make getopt_long accept -s parameter to fc-match as well.
850 2005-11-21 Dirk Mueller <dmueller@suse.com>
853 * src/fcmatch.c (FcCompareValueList):
855 Manually perform inlining & partial redundancy elimination to
856 reduce calls to FcValueListPtrU.
858 2005-11-21 Dirk Mueller <dmueller@suse.com>
861 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
862 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
864 Only invoke strlen() when really necessary.
866 2005-11-19 Matthias Clasen <mclasen@redhat.com>
870 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
875 Get rid of the use of freetype internal headers in fcfreetype.c,
876 since those headers will go away with freetype 2.2. Replace with
877 public domain ftglue code from pango. Note that the patch removes
878 some extra error checking in FT_Get_BDF_Property() and comments
879 out the skipping of empty pcf fonts.
881 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
884 * fc-lang/fc-lang.c (main):
886 Further fix of patch from 2005-11-04: miscounted numbers count
887 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
888 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
890 Removed leafidx_count and numbers_count since they are the same
891 and replaced them with offset_count.
893 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
896 * fc-cat/fc-cat.c (main):
898 Don't crash when fc-cat invoked with no arguments.
900 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
903 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
905 Fix invalid read access caused by premature free and
906 GCC4 warnings in libxml2 codepath.
908 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
911 * src/fccfg.c (FcConfigValues):
913 List iteration not needed in FcConfigValues, since it's building
914 up the list itself; we can just strip FcVoid elements during
917 2005-11-17 Patrick Lam <plam@mit.edu>
918 * src/fccfg.c (FcConfigValues):
920 Fix crash on invalid constants in config files (forgot to update
921 a pointer upon list iteration.)
923 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
926 * src/fcxml.c (FcTypecheckExpr):
928 Complain about invalid constants in config files.
930 2005-11-17 Andreas Schwab <schwab@suse.de>
933 * src/fccache.c (FcGlobalCacheSave):
935 Don't add current_arch_start more than once.
937 2005-11-16 Patrick Lam <plam@mit.edu>
938 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
939 * src/fcfs.c (FcFontSetUnserialize):
940 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
941 * src/fcpat.c (FcStrUnserialize):
943 Fix ordering of ALIGN with respect to saving block_ptr; add
944 another ALIGN to fcfs.c.
946 2005-11-16 Patrick Lam <plam@mit.edu>
947 * src/fccache.c (FcDirCacheProduce)
949 Fix case where alignment bytes bumped up metadata->count
950 causing unwarranted failures to write cache files.
951 (Reported by Stephan Kulow).
953 2005-11-16 Patrick Lam <plam@mit.edu>
954 * src/fccache.c (FcDirCacheProduce):
955 * src/fccharset.c (FcCharSetDistributeBytes):
956 * src/fcfs.c (FcFontSetDistributeBytes):
958 * src/fclang.c (FcLangSetDistributeBytes):
959 * src/fcname.c (FcObjectDistributeBytes):
960 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
963 Add *NeededBytesAlign(), which overestimates the padding which is
964 later added by the new ALIGN macro. Fix alignment problems on
965 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
966 version by Andreas Schwab).
968 2005-11-16 Stephan Kulow <coolo@kde.org>
973 Use sysconf to determine proper PAGESIZE value; this
974 appears to be POSIX-compliant. (reported by Andreas Schwab)
976 2005-11-04 Patrick Lam <plam@mit.edu>
982 Fix bug 2878 (excessive relocations at startup for charsets,
983 reported by Ross Burton): fc-lang/fc-lang now creates the
984 static form of the langset, not the dynamic form, so that
985 the charsets should now be in .rodata.
987 2005-11-04 Patrick Lam <plam@mit.edu>
988 * src/fcdir.c (FcDirScanConfig):
990 Add test for validity of directory caches that
991 somehow got lost (reported by make distcheck).
993 2005-11-04 Patrick Lam <plam@mit.edu>
997 * fontconfig/fontconfig.h:
999 Bump version to 2.3.92.
1001 2005-11-02 Patrick Lam <plam@mit.edu>
1002 * src/fcpat.c (FcPatternDuplicate):
1004 Fix argument ordering problem in call to FcPatternTransferFullFname.
1006 2005-11-02 Patrick Lam <plam@mit.edu>
1007 * src/fcfreetype.c (FcFreetypeQuery):
1008 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
1009 FcPatternTransferFullFname):
1011 Fix warnings and embarrassing double-free error.
1013 2005-11-02 Zhe Su <zsu@novell.com>
1018 Change the rule for artificial emboldening in fonts.conf.in. This
1019 enables the support for artificial emboldening included in cairo.
1021 2005-11-02 Patrick Lam <plam@mit.edu>
1022 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1024 Don't zero out full names for FC_REF_CONSTANT fonts;
1025 also, duplicate full names when transferring, and free
1026 full names when freeing the associated font.
1027 Reported by Jinghua Luo.
1029 2005-11-02 Patrick Lam <plam@mit.edu>
1030 * fc-cache/fc-cache.c (scanDirs):
1031 * src/fcpat.c (FcValueListSerialize):
1033 Revert the previous patch and commit the correct patch:
1034 I forgot a canonicalization in FcValueListSerialize, so
1035 that it would choke on already-serialized input files. Duh!
1037 2005-11-02 Patrick Lam <plam@mit.edu>
1038 * fc-cache/fc-cache.c (scanDirs):
1040 Forcibly rescan a directory before writing a fresh local
1041 cache file for that directory, fixing the losing-fonts
1042 problem reported by Mike Fabian and also apparently the
1043 font cache file corruption.
1045 2005-11-02 Patrick Lam <plam@mit.edu>
1046 * src/fccache.c (FcGlobalCacheLoad):
1048 Fix thinko: actually, the whole global cache is stale
1049 if the global cache is older than the (newest) config file.
1051 2005-11-02 Patrick Lam <plam@mit.edu>
1052 * src/fccache.c (FcGlobalCacheLoad):
1053 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1056 Declare the global cache of a directory's contents to be stale if
1057 the directory is newer than the (newest) configuration file.
1059 2005-10-31 Patrick Lam <plam@mit.edu>
1061 * src/fclist.c (FcListAppend):
1062 * src/fcmatch.c (FcFontRenderPrepare):
1063 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1064 FcPatternFreeze, FcPatternBaseFreeze):
1066 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1067 applications continue breaking.
1069 2005-10-31 Patrick Lam <plam@mit.edu>
1070 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1071 * src/fcfreetype.c (FcFreeTypeQuery):
1073 Fix small memory error (tried to free argv); use basename and
1074 dirname correctly (they can modify their arguments).
1076 2005-10-31 Patrick Lam <plam@mit.edu>
1084 Reinstate basename patch, but keep a hash table linking FcPatterns
1085 to their fully-qualified font names for clients' benefit. Clients
1086 only pay for the font names once they request the FC_FILE property
1087 from an FcPattern, but the font name is malloc'd at that point (i.e.
1088 not mmapped: that's impossible, since it may vary between machines.)
1089 Clients do have to pay for a copy of the path name per cache file.
1091 Note that FcPatternGetString now does some rewriting if you ask
1092 for an FC_FILE, appending the pathname as appropriate.
1094 2005-10-31 Patrick Lam <plam@mit.edu>
1095 * src/fcfreetype.c (FcFreeTypeQuery):
1097 Revert basename patch, which breaks fontconfig clients on my system.
1099 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1102 * fontconfig/fonts.conf.in:
1103 * fontconfig/fontconfig.h:
1107 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1108 to load embedded bitmaps or not.
1110 2005-10-25 Patrick Lam <plam@mit.edu>
1111 * src/fcfreetype.c (FcFreeTypeQuery):
1113 Only add basename to patterns' FC_FILE element, not any part of
1116 2005-10-22 Patrick Lam <plam@mit.edu>
1119 Add some more consts, fixing more GCC4 warnings.
1121 2005-10-22 Zhe Su <zsu@novell.com>
1124 Support localized font family and style names.
1125 This has been reported to break old apps like xfd, but modern
1126 (gtk+/qt/mozilla) apps work fine.
1128 2005-10-21 Patrick Lam <plam@mit.edu>
1129 * src/fccache.c (FcGlobalCacheLoad):
1131 Destroy the global cache file if it's terminally broken. (reported by
1134 2005-10-21 Patrick Lam <plam@mit.edu>
1135 * fc-list/fc-list.c (main):
1136 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1137 * fontconfig/fontconfig.h:
1139 Prevent fc-list from escaping strings when printing them (reported by
1142 2005-10-20 Marcus Meissner <meissner@suse.de>
1145 * fontconfig/fontconfig.h:
1147 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1149 2005-10-14 Ross Burton <ross@burtonini.com>
1152 * fc-glyphname/fc-glyphname.c:
1155 Add consts to variables so as to move arrays into .rodata.
1157 2005-10-14 Mike Fabian <mfabian@suse.de>
1160 * src/fccache.c (FcDirCacheUnlink):
1162 Check existence of directory cache file before attempting to unlink.
1164 2005-10-13 Patrick Lam <plam@mit.edu>
1165 * src/fccache.c (FcDirCacheUnlink):
1167 Fix flipped return value on unlink. (Reported by Mike Fabian)
1169 2005-10-12 Patrick Lam <plam@mit.edu>
1172 * src/fcdir.c (FcDirScanConfig):
1175 When fc-cache is run without --force, use directory cache files
1176 to speed up fc-cache run time. (Reported by Mike Fabian)
1178 2005-10-06 Patrick Lam <plam@mit.edu>
1180 * src/fcname.c (FcObjectToPtr):
1181 * src/fcpat.c (FcStrStaticName):
1183 Add padding to make valgrind and glibc not hate each other
1184 when calling strlen().
1186 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1187 reviewed by: plam & keithp
1191 Modify config file to use Greek fonts before Asian fonts with
1194 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1195 reviewed by: plam & keithp
1199 Use libtool -no-undefined flag on all platforms.
1201 2005-10-05 Patrick Lam <plam@mit.edu>
1202 * src/fccache.c (FcCacheHaveBank):
1204 Implement move-to-front array for banks (perf regression
1205 reported by Ronny V. Vindenes).
1207 2005-10-04 Patrick Lam <plam@mit.edu>
1208 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1209 FcDirCacheHasCurrentArch):
1210 * fc-cache/fc-cache.c (scanDirs):
1211 * fontconfig/fontconfig.h:
1213 Add new API which unlinks directory caches and checks dir caches
1214 for existence of appropriate sections. Fix fc-cache to unlink
1215 stale cache files and save directory caches that lack relevant
1218 2005-10-03 Patrick Lam <plam@mit.edu>
1219 * src/fccache.c (FcDirCacheValid):
1221 Ensure that a directory cache has the appropriate section
1222 before reporting that it is valid (reported by Matthias Clasen).
1224 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1232 Use libxml2 if requested (with --enable-libxml2) or if
1233 expat is not available.
1235 2005-09-29 Patrick Lam <plam@mit.edu>
1236 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1238 Fix multi-arch cache files: compute the position for the
1239 block to be added using info from OrigFile, not NewFile.
1241 2005-09-28 Patrick Lam <plam@mit.edu>
1242 * src/fccache.c (FcCacheMachineSignature):
1244 Cast results of sizeof() to unsigned int to get rid of
1245 warnings on x86_64 (thanks Matthias Clasen).
1247 2005-09-27 Patrick Lam <plam@mit.edu>
1248 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1251 Use FcAtomic to rewrite cache files.
1253 2005-09-27 Patrick Lam <plam@mit.edu>
1255 * src/fccache.c (FcDirCacheWrite):
1257 Don't unlink the fonts.cache-2 file even if there's no data
1258 to write; just write an empty cache file. (thanks Lubos Lunak)
1260 2005-09-27 Patrick Lam <plam@mit.edu>
1262 * src/fccache.c (FcDirCacheWrite):
1264 Allocate room for the subdirectory names in each
1265 directory cache. Thanks to James Cloos for finding
1266 and diagnosing this bug!
1268 2005-09-22 Patrick Lam <plam@mit.edu>
1270 * fc-cache/fc-cache.sgml:
1271 * src/fccache.c (FcDirCacheWrite):
1272 * src/fccache.h (struct FcCache):
1274 Update documentation -- fc-cache's man page now says that you
1275 need to run fc-cache once per cached architecture; add some
1276 documentation to the FcCache structure.
1278 Make fc-cache write out fonts.cache-2 files for directories with
1279 no fonts (i.e. only subdirectories).
1281 2005-09-22 Patrick Lam <plam@mit.edu>
1283 * fc-cache/fc-cache.sgml:
1284 * fc-case/fc-case.c:
1285 * fc-glyphname/fc-glyphname.c:
1291 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1295 * fc-lang/fc-lang.c:
1296 * fontconfig/fcprivate.h:
1297 * fontconfig/fontconfig.h:
1311 Implement new mmaped cache for font information.
1312 Bump so revision to 2.3.90.
1314 2005-07-25 Keith Packard <keithp@keithp.com>
1316 * doc/fontconfig-user.sgml:
1317 * fc-glyphname/fc-glyphname.c: (scan), (main):
1318 * fc-lang/fc-lang.c: (FcConfigHome):
1319 * fc-match/fc-match.c: (main):
1320 * src/fccfg.c: (FcConfigHome):
1321 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1322 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1323 (addtag), (FcFontCapabilities):
1324 * src/fcpat.c: (FcValueListEntCreate):
1325 * src/fcstr.c: (FcStrCaseWalkerInit):
1326 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1328 Various GCC 4 cleanups for signed vs unsigned char
1330 Match only [0-9]*.conf files in <include>{directory}</include>
1331 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1333 2005-07-15 Carl Worth <cworth@cworth.org>
1336 * src/fcinit.c: (FcFini):
1337 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1340 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1341 Pull the FcObjectStateName hash table out to file scope, and add
1342 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1345 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1348 2005-06-16 Patrick Lam <plam@MIT.EDU>
1352 * src/fccfg.c: (FcConfigCompareValue):
1353 Make FcOpNotContains use FcStrStr for strings so that
1354 it matches semantics for !FcOpContains.
1356 2005-05-20 Keith Packard <keithp@keithp.com>
1360 Move fontconfig source package to libs as per override
1362 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1364 reviewed by: Mike Fabian
1367 The ka.orth file requires several characters which are not
1368 used anymore in modern Georgian and which are missing in the free
1369 Georgian TrueType fonts downloadable at:
1371 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1373 2005-04-27 Keith Packard <keithp@keithp.com>
1377 Update date to real 2.3.2 release date.
1378 Fix change attributions
1380 2005-04-27 Keith Packard <keithp@keithp.com>
1383 Bump so revision for 2.3.2
1384 * fc-cache/fc-cache.c: (scanDirs):
1385 Fix a few minor leaks in error cases.
1387 2005-04-23 Keith Packard <keithp@keithp.com>
1392 * fontconfig/fontconfig.h:
1393 Update for version 2.3.2
1395 2005-04-21 Keith Packard <keithp@keithp.com>
1397 * debian/fontconfig.postinst:
1398 Don't force bitmap font enable in default
1399 configuration; allows users to override this in
1409 * debian/po/pt_BR.po:
1410 * debian/po/templates.pot:
1412 * debian/po/zh_CN.po:
1413 Updated translations
1415 * fc-cache/fc-cache.c: (main):
1416 Destroy font configuration on exit to help valgrind
1419 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1420 (FcFreeTypeCheckGlyph):
1421 Use own transcoding routines in preference to iconv
1422 which appears to have leaks in some translators.
1423 Call iconv_close after using iconv (oops).
1425 Prefer unicode encoding of Euro char as some
1426 fonts mis-encode Euro in other ones.
1428 Must fetch bitmap glyphs to get width values
1429 to check for monospace/dual-width fonts.
1431 2005-04-13 Ross Burton <ross@burtonini.com>
1434 Check that a pattern isn't already frozen in FcPatternFreeze.
1436 2005-03-31 Ross Burton <ross@burtonini.com>
1441 Run all FcPattern objects through FcObjectStaticName, so that
1442 compares can be done on pointers instead of strings (#2659)
1444 2005-03-17 Tor Lillqvist <tml@novell.com>
1446 * src/fontconfig.def.in: Add the .dll to the dll name.
1448 2005-03-10 Keith Packard <keithp@keithp.com>
1450 * debian/README.Debian:
1451 Update to reflect configuration changes
1453 * debian/fontconfig.postinst:
1454 Fix Autohint vs Autohinter mistake
1455 * debian/fontconfig.templates:
1456 Adopt changes from Josselin Mouette for configuration descriptions
1457 Update debian to version 2.3.1-2
1459 2005-03-08 Keith Packard <keithp@keithp.com>
1463 Update debian for 2.3.1
1465 2005-03-09 Tor Lillqvist <tml@novell.com>
1467 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1470 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1473 2005-03-08 Keith Packard <keithp@keithp.com>
1477 * fontconfig/fontconfig.h:
1480 2005-03-05 Keith Packard <keithp@keithp.com>
1482 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1483 Include space and remove numbers from valid script tags.
1484 This ensures that tags like 'lao ' work while rejecting
1485 those which have any digits.
1486 Eliminate a spurious debugging variable (len)
1488 2005-03-05 Keith Packard <keithp@keithp.com>
1490 * src/fcfreetype.c: (addtag), (GetScriptTags),
1491 (FcFontCapabilities):
1492 Rework GSUB/GPOS script parsing to survive broken fonts.
1493 Thanks for the broken font go to Manish Singh
1495 2005-03-05 Keith Packard <keithp@keithp.com>
1500 * debian/fontconfig.config:
1501 * debian/fontconfig.templates:
1503 Include 2.3 release information in changelog
1504 Add Josselin Mouette as an Uploader
1505 Set hinting_type to low priority configuration option
1508 * debian/fontconfig.postinst:
1509 yes_bitmaps.conf -> yes-bitmaps.conf
1515 2005-03-02 Keith Packard <keithp@keithp.com>
1518 * conf.d/Makefile.am:
1519 * conf.d/autohint.conf:
1520 * conf.d/no-sub-pixel.conf:
1521 * conf.d/sub-pixel.conf:
1522 * conf.d/unhinted.conf:
1523 * debian/autohint.conf:
1524 * debian/fontconfig.install:
1525 * debian/fontconfig.postinst:
1526 * debian/fontconfig.templates:
1527 * debian/no-sub-pixel.conf:
1528 * debian/unhinted.conf:
1529 Move debian-specific conf file examples upstream.
1531 Sub-pixel configuration examples must smash subpixel value
1532 as Xft always sets it from X.
1534 Change sub-pixel rendering debconf descriptions from
1535 Enable/Disable to Always/Never.
1537 2005-03-02 Keith Packard <keithp@keithp.com>
1540 * conf.d/.cvsignore:
1542 Ignore more build detritus
1545 Add debian package construction stuff.
1547 * config/config.guess:
1548 * config/config.sub:
1549 Update to newer versions of these tools
1552 Get library manuals to build again (we love automake).
1554 * debian/README.Debian:
1555 * debian/autohint.conf:
1560 * debian/fontconfig-udeb.install:
1561 * debian/fontconfig.config:
1562 * debian/fontconfig.defoma:
1563 * debian/fontconfig.dirs:
1564 * debian/fontconfig.install:
1565 * debian/fontconfig.postinst:
1566 * debian/fontconfig.postrm:
1567 * debian/fontconfig.templates:
1568 * debian/libfontconfig1-dev.install:
1569 * debian/libfontconfig1.install:
1570 * debian/local.conf.md5sum:
1571 * debian/no-sub-pixel.conf:
1572 * debian/po/POTFILES.in:
1581 * debian/po/pt_BR.po:
1582 * debian/po/templates.pot:
1584 * debian/po/zh_CN.po:
1586 * debian/unhinted.conf:
1587 Update debian build system to switch maintainers and
1588 deal with 2.3 functionality
1590 2005-03-01 Keith Packard <keithp@keithp.com>
1594 * fontconfig/fontconfig.h:
1597 2005-03-01 Keith Packard <keithp@keithp.com>
1600 Generate and install PDF versions of the manuals
1602 * doc/fcpattern.fncs:
1605 * doc/fcstring.fncs:
1606 Add missing exported functions, fix data types
1608 * doc/fontconfig-devel.sgml:
1609 Add missing pattern elements.
1611 * doc/fontconfig-user.sgml:
1612 Add missing pattern elements. Document conf.d usage,
1613 clarify available orthography list. Fix some config file
1614 attributes. Complete list of constants.
1616 * fontconfig/fontconfig.h:
1617 Mark FC_SOURCE deprecated.
1619 * src/fcfreetype.c: (FcFreeTypeQuery):
1620 Don't set FC_SOURCE any longer.
1622 2005-02-28 Keith Packard <keithp@keithp.com>
1625 * conf.d/Makefile.am:
1627 * conf.d/no-bitmaps.conf:
1628 * conf.d/sub-pixel.conf:
1629 * conf.d/yes-bitmaps.conf:
1631 Create prototype /etc/fonts/conf.d directory with a few
1632 sample configuration files.
1633 Deprecate use of local.conf for local customizations in favor of
1634 this directory based scheme which is more easily integrated into
1635 installation systems.
1638 Tag FC_EMBOLDEN as a boolean variable
1640 2005-02-10 Keith Packard <keithp@keithp.com>
1642 reviewed by: pborelli@katamail.com
1644 * src/fcdir.c: (FcFileScanConfig):
1645 Free patterns from fonts which are rejected by configuration
1648 2005-01-28 Keith Packard <keithp@keithp.com>
1652 * fontconfig/fontconfig.h:
1653 Update for version 2.2.99
1655 2005-01-28 Keith Packard <keithp@keithp.com>
1658 Add a few pointers (#2284, #2285)
1660 2005-01-28 Keith Packard <keithp@keithp.com>
1663 * src/fcname.c: (FcNameBool):
1664 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1665 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1666 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1667 Polite typechecking for test and edit expressions. Helps
1668 catch errors in the font configuration. (bug 229)
1670 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1672 reviewed by: Keith Packard <keithp@keithp.com>
1675 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1677 2005-01-13 Keith Packard <keithp@keithp.com>
1679 * doc/fontconfig-user.sgml:
1680 Add SEE ALSO section (bug 2085)
1682 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1684 reviewed by: Keith Packard <keithp@keithp.com>
1689 * fc-case/Makefile.am:
1690 * fc-glyphname/Makefile.am:
1691 * fc-lang/Makefile.am:
1692 * src/fontconfig.def.in:
1693 Cross compiling fixes (bug 280)
1695 2005-01-13 Keith Packard <keithp@keithp.com>
1698 Update blanks list (Closes bug 86)
1700 2005-01-04 Keith Packard <keithp@keithp.com>
1702 * src/fccache.c: (FcCacheFontSetAdd):
1703 Verify that every font pattern loaded from cache has
1704 both FC_FILE and FC_FAMILY entries.
1705 Attempt to fix bug #2219.
1707 2004-12-29 Keith Packard <keithp@keithp.com>
1711 * fontconfig/fontconfig.h:
1712 Update for version 2.2.98
1714 2004-12-29 Keith Packard <keithp@keithp.com>
1716 * fontconfig/fontconfig.h:
1717 Document ASCII limitations of Fc character conversion macros
1718 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1719 Fix off-by-one error in utf-8 case walking code.
1720 Add FcStrDowncase (useful for testing case conversion functions)
1722 2004-12-29 Keith Packard <keithp@keithp.com>
1725 * fc-case/.cvsignore:
1726 clean up CVS ignore lists
1727 * fc-lang/iso-3166.txt:
1728 Add territory database
1730 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1732 Reviewed by: Keith Packard
1735 Remove Han characters from Korean orthography
1737 2004-12-29 Keith Packard <keithp@keithp.com>
1740 Reorder utility programs to make sure fc-case is run before fc-lang
1741 as fc-lang uses fcstr.c which uses fccase.h
1745 2004-12-29 Keith Packard <keithp@keithp.com>
1748 Adopt some RedHat suggestions for standard font configuration.
1752 * fc-case/CaseFolding.txt:
1753 * fc-case/Makefile.am:
1754 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1755 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1756 (dump), (parseRaw), (caseFoldReadRaw), (main):
1757 * fc-case/fccase.tmpl.h:
1758 Add new helper program 'fc-case' to construct case folding
1759 tables from standard Unicode CaseFolding.txt file
1762 * src/fclist.c: (FcListValueHash):
1763 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1764 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1765 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1766 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1767 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1768 Re-implement case insensitive functions with Unicode
1769 aware versions (including full case folding mappings)
1771 2004-12-13 Keith Packard <keithp@keithp.com>
1773 reviewed by: Owen Taylor <otaylor@redhat.com>
1775 * src/fcmatch.c: (FcFontSetSort):
1776 I changed FcFontSetSort to respect the generic aliases better
1777 in the face of language matching.
1779 What I did was to ammend the strict sort order used by FcFontSort so
1780 that it 'satisfies' the language specified in the pattern by locating
1781 the best matching font supporting each pattern language and then
1782 ignores language in the remaining fonts for purposes of matching.
1784 So, when asking for 'sans:lang=en', you'll get an English font first,
1785 and then the remaining fonts sorted with respect to the 'sans' alias
1786 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1788 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1790 reviewed by: Keith Packard <keithp@keithp.com>
1792 * fontconfig/fontconfig.h:
1795 Configuration changes to request synthetic emboldening of
1796 fonts. The actual emboldening code will live in Xft.
1798 2004-12-09 John Thacker <thacker@math.cornell.edu>
1800 reviewed by: Keith Packard <keithp@keithp.com>
1804 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1805 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1806 и), and don't even appear in KOI8-R. (The hypothesis that they
1807 don't appear in KOI8-R due to their similarity with Latin I and i is
1808 eliminated by their presence in KOI8-U.) I have a couple of fonts
1809 with Russian support that don't have the letter.
1811 Therefore, 0406 and 0456 should be removed from or commented out of
1814 2004-12-06 michael meeks <mmeeks@novell.com>
1816 Reviewed by: Keith Packard <keithp@keithp.com>
1818 * src/fcinit.c: (FcMemReport):
1820 * src/fclist.c: (FcObjectSetAdd):
1821 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1822 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1823 * src/fcxml.c: (FcParsePatelt):
1824 memoize strings and share a single copy for all uses. Note that
1825 this could be improved further by using statically allocated blocks
1826 and gluing multiple strings together, but I'm basically lazy.
1827 In my environment with 800 font files, I get a savings of about 90KB.
1829 2004-12-06 Keith Packard <keithp@keithp.com>
1833 * config/Makedefs.in:
1836 * doc/fcatomic.fncs:
1837 * doc/fcblanks.fncs:
1838 * doc/fccharset.fncs:
1839 * doc/fcconfig.fncs:
1840 * doc/fcconstant.fncs:
1842 * doc/fcfontset.fncs:
1843 * doc/fcfreetype.fncs:
1845 * doc/fcmatrix.fncs:
1846 * doc/fcobjectset.fncs:
1847 * doc/fcobjecttype.fncs:
1848 * doc/fcpattern.fncs:
1849 * doc/fcstring.fncs:
1850 * doc/fcstrset.fncs:
1852 * doc/fontconfig-devel.sgml:
1853 * doc/fontconfig-user.sgml:
1855 * doc/version.sgml.in:
1856 * fc-cache/Makefile.am:
1857 * fc-cache/fc-cache.c:
1858 * fc-glyphname/Makefile.am:
1859 * fc-glyphname/fc-glyphname.c:
1860 * fc-glyphname/fcglyphname.tmpl.h:
1861 * fc-lang/Makefile.am:
1871 * fc-lang/az_ir.orth:
1905 * fc-lang/fc-lang.c:
1906 * fc-lang/fc-lang.man:
1907 * fc-lang/fclang.tmpl.h:
1952 * fc-lang/ku_ir.orth:
1985 * fc-lang/ps_af.orth:
1986 * fc-lang/ps_pk.orth:
2015 * fc-lang/ti_er.orth:
2016 * fc-lang/ti_et.orth:
2042 * fc-lang/zh_cn.orth:
2043 * fc-lang/zh_hk.orth:
2044 * fc-lang/zh_mo.orth:
2045 * fc-lang/zh_sg.orth:
2046 * fc-lang/zh_tw.orth:
2048 * fc-list/Makefile.am:
2049 * fc-list/fc-list.c:
2050 * fc-match/Makefile.am:
2051 * fc-match/fc-match.1:
2052 * fc-match/fc-match.c:
2053 * fontconfig/fcfreetype.h:
2054 * fontconfig/fcprivate.h:
2055 * fontconfig/fontconfig.h:
2076 Change files from ISO-Latin-1 to UTF-8
2078 2004-12-04 Keith Packard <keithp@keithp.com>
2081 Update links to new freedesktop.org locations
2083 Add uninstall-local to get rid of fonts.conf and local.conf if they
2084 match the distributed versions. Fixes 'make distcheck'
2086 2004-12-04 Keith Packard <keithp@keithp.com>
2090 * fontconfig/fontconfig.h:
2091 Updates for version 2.2.97
2093 2004-12-04 Owen Taylor <otaylor@redhat.com>
2095 reviewed by: Keith Packard <keithp@keithp.com>
2097 * fc-cache/fc-cache.c: (main):
2098 Sleep for two seconds before exiting to make sure timestamps
2099 for future changes have distinct mod times in the file system.
2102 Add Punjabi orthography. Bug #1671.
2104 2004-12-04 Keith Packard <keithp@keithp.com>
2107 Just remove the FC_FONTDATE -- it has locale issues and
2108 annoys redhat multi-arch installs. Now that all X fonts are
2109 included without prejudice, the chances of the date being at
2110 all interesting are rather limited. Bug #505.
2112 Add copyright and license
2114 2004-12-04 Keith Packard <keithp@keithp.com>
2117 Change default set of fonts to include all of
2118 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2119 * doc/fontconfig-user.sgml:
2120 Document new <include>directory-name</include> semantics
2122 add <include ignore_missing="yes">conf.d</include>
2124 Add selectfont to ignore bitmap fonts, add comment for
2125 selectfont which accepts bitmap fonts.
2128 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2129 Allow <include> configuration elements to reference directories.
2130 Parse and load all files of the form [0-9]* in sorted order.
2132 2004-12-04 Keith Packard <keithp@keithp.com>
2135 Report command line for $srcdir/configure accurately.
2138 2004-12-04 Keith Packard <keithp@keithp.com>
2140 * src/fcfreetype.c: (FcFreeTypeQuery):
2141 Check for non-empty face->family_name and face->style_name
2142 before using those for the font. Empty names match everything.
2145 2004-12-04 Keith Packard <keithp@keithp.com>
2148 * fontconfig/fontconfig.h:
2149 * src/fcfreetype.c: (FcFreeTypeQuery):
2151 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2152 available. This provides font file format information (BDF, Type 1,
2153 PCF, TrueType) for each font. Closes #109.
2155 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2157 reviewed by: Keith Packard <keithp@keithp.com>
2159 * doc/fontconfig-user.sgml:
2162 * fontconfig/fontconfig.h:
2163 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2164 (GetScriptTags), (FcFontCapabilities):
2166 Add detection for font capabilities (bug #105)
2168 2004-12-04 Keith Packard <keithp@keithp.com>
2171 Move existing fonts.conf to fonts.conf.bak
2174 Add detection of iconv
2176 * doc/fcpattern.fncs:
2177 * doc/fontconfig-devel.sgml:
2178 * doc/fontconfig-user.sgml:
2180 Document new selectfont elements
2183 Switch to UTF-8 in comment
2185 * fontconfig/fontconfig.h:
2187 Add fullname, and family/style/fullname language entries
2189 * src/fccache.c: (FcCacheFontSetAdd):
2190 * src/fcdir.c: (FcFileScanConfig):
2191 Respect selectfont/*/glob
2194 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2195 (FcConfigCompareValue), (FcConfigPatternsAdd),
2196 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2197 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2198 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2199 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2200 Add support for selectfont
2202 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2203 (FcStringInPatternElement), (FcFreeTypeQuery):
2204 Add multi-lingual family/style/fullname support
2206 * src/fclist.c: (FcListPatternMatchAny):
2207 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2209 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2210 (FcObjectStaticName):
2211 Add new FcPatternRemove/FcPatternAppend.
2212 FcObjectStaticName stores computed pattern element names which
2213 are required to be static.
2215 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2220 Remove spurious / after $(DESTDIR)
2222 2004-06-30 Keith Packard <keithp@keithp.com>
2226 * fontconfig/fontconfig.h:
2229 2004-06-30 Keith Packard <keithp@keithp.com>
2231 Provided by: Lubos Lunak <l.lunak@suse.cz>
2233 * src/fccfg.c: (FcConfigUptoDate):
2234 However FcConfigUptoDate() doesn't seem to work. See the attached
2235 patch. First there's an obvious misplaced parenthesis making it
2236 return always false, and second, even this call fails to detect font
2237 changes (e.g. adding a new font to
2238 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2239 well. The problem seems to be triggered by my fonts.conf specifying
2240 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2241 doesn't include subdirs, unlike config->fontDirs.
2243 2004-06-03 Keith Packard <keithp@keithp.com>
2245 * fontconfig/fontconfig.h:
2246 Remove comma at end of FcResult enum definition.
2248 2004-05-29 Keith Packard <keithp@keithp.com>
2251 Add steps to md5sum release
2253 2004-05-29 Keith Packard <keithp@keithp.com>
2257 * fontconfig/fontconfig.h:
2260 2004-05-29 Keith Packard <keithp@keithp.com>
2262 * fontconfig/fontconfig.h:
2263 * src/fcmatch.c: (FcFontSetMatch):
2264 Add FcResultOutOfMemory to provide an accurate error when
2265 FcFontSetMatch fails in this way
2268 Make #warning about lacking various FreeType features indicate
2269 which version those features appeared so users know how to
2270 fix the problem (Thanks to Anton Tropashko)
2272 2004-05-05 Keith Packard <keithp@keithp.com>
2274 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2275 Replace MIN/MAX/ABS macros which happen to have come
2276 from FreeType with fontconfig-specific ones (FC_*)
2278 2004-04-23 Keith Packard <keithp@keithp.com>
2281 Extend release preparation instructions to include
2282 notification and distribution steps
2284 2004-04-23 Keith Packard <keithp@keithp.com>
2288 * fontconfig/fontconfig.h:
2289 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2291 2004-04-23 Keith Packard <keithp@keithp.com>
2294 Ignore a few more autotool files
2296 2004-04-14 Keith Packard <keithp@keithp.com>
2299 Add instructions for doing a release
2301 * fontconfig.spec.in:
2302 clean up .spec file; perhaps this will be useful to somebody...
2306 * fontconfig/fontconfig.h:
2309 * fc-lang/fc-lang.c:
2310 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2312 * fc-glyphname/Makefile.am:
2313 * fc-lang/Makefile.am:
2314 * fc-list/Makefile.am:
2315 * fc-match/Makefile.am:
2317 Add WARN_CFLAGS to pass -W flags for GCC systems
2319 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2320 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2321 Change various char types around to match across
2323 Fixed bug in using available_sizes[i].height which
2324 is in pixels, not 64ths of a pixel.
2326 2004-03-06 Keith Packard <keithp@keithp.com>
2328 * src/fcfreetype.c: (FcFreeTypeQuery):
2329 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2330 matches looking for explicit values prefer exact matches
2332 2004-03-02 Keith Packard <keithp@keithp.com>
2334 Supplied by: mfabian@suse.de (Mike FABIAN)
2336 * src/fcfreetype.c: (FcFreeTypeQuery):
2337 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2338 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2340 2004-02-21 Manish Singh <yosh@gimp.org>
2342 * fc-glyphname/fc-glyphname.c: (main):
2343 Cast strlen to int for printf, so we're 64-bit clean.
2345 2004-02-11 Keith Packard <keithp@keithp.com>
2348 * src/fcfreetype.c: (FcGetPixelSize):
2349 Ok, so I messed up the test for y_ppem. Let's see if I
2350 got it right this time.
2352 2004-02-10 Keith Packard <keithp@keithp.com>
2355 * src/fcfreetype.c: (FcGetPixelSize):
2356 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2357 FT_Bitmap_Size record. Add a configure.in test for this
2358 and change the code accordingly (using height instead).
2360 2004-02-06 Keith Packard <keithp@keithp.com>
2363 Add Low Saxon orthography
2364 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2366 * src/fccfg.c: (FcConfigNewestFile):
2367 Oops. Left 'newest.set' unset, which would miscompute
2370 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2371 (FcFreeTypeCheckGlyph):
2372 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2373 font properties (which report the wrong value in current FreeType)
2375 Don't attempt to check for empty glyphs in non-scalable fonts; they
2378 2004-02-01 Tor Lillqvist <tml@iki.fi>
2380 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2381 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2382 cache if config->cache is NULL, which happens if FcConfigHome() is
2383 NULL. Guard against that by using the temp folder in that case.
2385 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2387 * fc-lang/az_ir.orth:
2388 * fc-lang/ku_ir.orth:
2389 * fc-lang/ps_af.orth:
2390 * fc-lang/ps_pk.orth:
2391 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2392 (Afghan and Pakistani).
2394 Updated Urdu orthography with real data.
2396 2003-12-11 Carl Worth <cworth@east.isi.edu>
2398 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2401 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2403 (all-local): Remove excessive whitespace.
2405 * autogen.sh: Add 'set -e' to abort when any program fails,
2406 (avoids printing of 'now type make' after configure aborts).
2408 2003-11-17 Eric Christopherson <rakko@charter.net>
2410 reviewed by: Keith Packard <keithp@keithp.com>
2413 * fontconfig/fcfreetype.h:
2415 Switch to FreeType 2.1.7 style includes. Bug #150.
2417 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2419 * fc-list/fc-list.sgml: Add some example usages.
2421 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2424 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2427 2003-10-27 Keith Packard <keith@keithp.com>
2430 * fontconfig/fontconfig.h:
2431 Update to version 2.2.92
2433 2003-10-27 Keith Packard <keithp@keithp.com>
2438 * fc-cache/Makefile.am:
2439 * fc-glyphname/Makefile.am:
2440 * fc-lang/Makefile.am:
2441 * fc-list/Makefile.am:
2442 * fc-match/Makefile.am:
2445 Yet more cleanups to finish getting 'make distcheck' working
2446 This has been tested to ensure that it even works from a _build
2449 2003-10-26 Keith Packard <keithp@keithp.com>
2453 * fc-cache/Makefile.am:
2454 * fc-glyphname/Makefile.am:
2455 * fc-lang/Makefile.am:
2456 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2457 * fc-list/Makefile.am:
2458 * fc-match/Makefile.am:
2459 Attempts to fix 'make distcheck' work. Things are
2460 progressing pretty well, but there are still failures
2461 long into the process dealing with docs (as always).
2463 The big changes here are mostly to make $(srcdir) != "."
2464 work correctly, fixing the docbook related sections and
2465 fc-lang were particularily tricky. Docbook refuses to load
2466 system entities from anywhere other than where the original .sgml
2467 file was located, so no luck looking in "." for the
2468 configure-generated version.sgml and confdir.sgml files.
2470 fc-lang needed help finding .orth files; added a -d option
2471 to set the directory as the least evil of many options.
2473 Now to go use a faster machine and try and wring out the last
2476 2003-10-26 Keith Packard <keithp@keithp.com>
2480 2003-10-26 Keith Packard <keithp@keithp.com>
2483 Include confdir.sgml.in in EXTRA_DIST
2485 2003-10-09 Josselin Mouette <joss@debian.org>
2487 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2488 * fc-list/fc-list.sgml fc-list/Makefile.am:
2489 Replace fc-cache and fc-list manpages with more detailed, SGML
2492 2003-09-23 Owen Taylor <otaylor@redhat.com>
2494 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2495 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2496 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2499 2003-09-23 Owen Taylor <otaylor@redhat.com>
2501 * fc-lang/ka.orth: Remove Georgian capitals, they
2502 aren't used for normal writing. (Bug #116)
2504 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2506 * doc/fontconfig-devel.sgml:
2507 * doc/fontconfig-user.sgml:
2508 * fontconfig/fontconfig.h:
2510 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2511 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2513 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2514 monospace and dual-width fonts, allow roughly a 3% variance in the
2517 2003-08-31 Manish Singh <yosh@gimp.org>
2519 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2522 2003-08-15 Carl Worth <cworth@isi.edu>
2524 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2525 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2527 * src/fcpat.c (FcValueListEntDestroy): New function to support
2528 FcFini memory cleanup. Some statistics are not kept in
2530 (FcValueListFreeze): Move hashTable outside this function so it
2531 can be accessed by FcValueListThawAll.
2532 (FcValueListThawAll): New function complements FcValueListFreeze.
2533 (FcPatternBaseFreeze): Move hashTable outside this function so it
2534 can be accessed by FcPatternBaseThawAll.
2535 (FcPatternBaseThawAll): New function complements
2536 FcPatternBaseFreeze.
2537 (FcPatternThawAll): New function complements FcPatternFreeze.
2539 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2541 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2542 allocated FcCharLeafEnt "blocks" so they can be freed later.
2543 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2544 can be accessed by FcCharSetThawAllLeaf.
2545 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2546 (FcCharSetFreezeBase): Move hashTable outside this function so it
2547 can be accessed by FcCharSetThawAll.
2548 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2550 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2551 (FcConfigDestroy): Fic leak of FcBlanks.
2553 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2554 (main): Add call to FcFini when finished.
2556 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2557 static. Add prototypes.
2559 * doc/fcinit.fncs: Add documentation for FcFini function.
2561 * doc/edit-sgml.c: Mark several local functions as static. Add
2564 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2566 2003-06-15 Tor Lillqvist <tml@iki.fi>
2568 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2569 before comparing (needed on Windows).
2571 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2573 2003-06-13 Tor Lillqvist <tml@iki.fi>
2575 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2578 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2579 WINDOWSFONTDIR token.
2581 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2582 end, not to confuse libtool, which expects the EXPORTS line to be
2583 the first. Add FcConfigEnableHome.
2585 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2586 built as a DLL on Win32.
2588 2003-06-09 Keith Packard <keithp@keithp.com>
2590 * Tag version 2.2.90
2592 2003-06-09 Keith Packard <keithp@keithp.com>
2594 * Optimization in FcLangSetIndex was broken, occasionally
2595 returning a pointer to the wrong location on miss
2597 * Add fc-match to test font matching from the command line.
2599 2003-05-31 Keith Packard <keithp@keithp.com>
2601 * (Bug 85) add support for culmus fonts
2602 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2603 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2605 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2607 * Fix "contains" op for strings and langsets.
2609 2003-05-17 Keith Packard <keithp@keithp.com>
2611 * Fix build error with BDF prop local. Free langset after query
2613 2003-05-14 Keith Packard <keithp@keithp.com>
2615 * Extract spacing from XLFD atom
2617 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2619 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2620 disappeared in 1.30.
2622 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2624 2003-05-12 Keith Packard <keithp@keithp.com>
2626 * Use FcIsWidth to share code
2628 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2629 misclassifying some Han fonts as monospaced.
2631 2003-05-07 Keith Packard <keithp@keithp.com>
2633 * Add filename-based accept/reject to ammend available fonts.
2635 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2636 older FreeType releases.
2638 2003-05-06 Keith Packard <keithp@keithp.com>
2640 * Remove 0b82 and Tamil numbers from tamil
2641 orthography (Jungshik Shin <jshin@mailaps.org>)
2643 2003-05-04 Keith Packard <keithp@keithp.com>
2645 + Map glyph names in fonts with adobe custom encoding to unicode
2647 2003-05-02 Keith Packard <keithp@keithp.com>
2649 * Add FC_WEIGHT_BOOK as weight 75
2651 2003-04-30 Keith Packard <keithp@keithp.com>
2653 * Typo in bitstream foundry name
2655 2003-04-24 Keith Packard <keithp@keithp.com>
2657 * Eliminate italic_angle check for PS fonts
2659 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2661 * Getting closer to fixing /etc/fonts hard-coding.
2663 2003-04-22 Keith Packard <keithp@keithp.com>
2665 * Update autogen.sh to work with newer automake versions
2666 * Handle pattern elements moving during multiple edits
2668 2003-04-23 James Henstridge <james@daa.com.au>
2670 * doc/fontconfig-devel.sgml: close the <para> element.
2672 * doc/fcpattern.fncs: close the <para> element.
2674 * doc/func.sgml: close the <refsynopsisdiv> element.
2676 2003-04-22 Keith Packard <keithp@keithp.com
2678 * Update autogen.sh to work with newer automake versions
2679 * Handle pattern elements moving during multiple edits
2681 2003-04-17 Colin Walters <walters@debian.org>
2683 + Remove some unused variables, and initialize some other ones so
2684 gcc doesn't warn us.
2686 2003-04-16 Keith Packard <keithp@keithp.com>
2688 + tag version 2.1.94
2690 2003-04-16 Keith Packard <keithp@keithp.com>
2692 + add BDF property fetching support for foundry
2693 (from Juliusz Chroboczek)
2694 + add BDF property fetching support for width
2696 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2698 + Implemented foundry generation for Type 1 and TrueType
2700 2003-04-11 Gerard Escalante <g2@magestudios.net>
2702 + Retrieve information from Type1 FontInfo dictionaries
2704 2003-04-07 Colin Walters <walters@verbum.org>
2706 + src/Makefile.am: Fix dummy makefile target names when
2707 MS_LIB_AVAILABLE isn't set.
2709 2003-03-22 Tor Lillqvist <tml@iki.fi>
2711 Changes for Windows:
2713 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2715 + We don't want to hardcode the fonts.conf file location in the
2716 DLL, so we look up the DLL location at run-time in a DllMain()
2717 function. The fonts.conf location is deduced from that.
2719 + The colon can't be used as path separator on Windows,
2720 semicolon is used instead. File path components can be separated
2721 with either slash or backslash. Absolute paths can also begin
2722 with a drive letter.
2724 + Add internal function FcStrLastSlash that strrchr's the last
2725 slash, or backslash on Windows.
2727 + There is no link() on Windows. For atomicity checks, mkdir a
2728 lock directory instead.
2730 + In addition to HOME, also look for USERPROFILE.
2732 + Recognize the special font directory token WINDOWSFONTDIR, to
2733 use the system's font directory.
2735 + Remove the fontconfig-def.cpp that was obsolete. Add
2736 fontconfig.def(.in), without internal functions.
2738 + Add a fontconfig-zip(.in) script, used to build a binary
2741 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2742 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2743 to main package and man3/* to devel package
2745 + Added missing defattr(-, root, root) to main RPM package
2747 + Added HTML and text development documentation to -devel subpackage
2749 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2750 + Added back the configure macro options --disable-docs, otherwise
2751 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2752 version number) unconditionally, causing RPM to fail the build due
2753 to _unpackaged_files_terminate_build. We pick up the pregenerated
2754 docs with %doc already.
2756 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2757 + Removed commented out rpm macro define at top of spec file,
2758 replacing it with a simple explanation, since rpm macros are
2759 expanded by rpm even in comments.
2761 + Changed /usr/bin to _bindir in BuildRequires lines
2763 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2765 + Reorganized file manifest lists
2767 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2769 + fontconfig.spec.in: Improvements from Red Hat spec file.
2771 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2773 + docs/*.sgml: SGML fixes.
2775 Sat Mar 1 17:28:53 PST 2003 keithp
2776 + Ok, so the ChangeLog is a bit out of date
2778 + Lots of bugs fixed; most are in bugzilla, the
2779 biggest problems were in cache management where
2780 Owen discovered the library would lose badly when
2781 combining fonts-cache and ~/.fonts-cache data
2783 + Converted from autoconf to automake. This after
2784 getting patches accepted into libtool to allow
2785 the '-version-number' argument which lets
2786 packages set version numbers explicitly rather
2787 than the roundabout libtool way
2789 + Converted documentation to SGML using the docbook
2790 DTD. Now .txt and .html documents are installed
2791 in /usr/share/doc/fontconfig and there's no
2792 man page. Perhaps a man version can be written
2795 Sat Aug 31 15:21:22 PDT 2002 keithp
2796 + Xrender and Xft had several bugs related to
2797 rendering manually placed or poly-face text
2799 + Added more complete memory tracing in fontconfig
2800 Checked with (patched) mozilla and found no leaks
2802 + Updated Latin orthographies by comparing those from
2803 evertype.com with those from eki.ee. Tried to make
2804 sensible choices, including chars that occured in both
2805 and leaving some optional chars out that occured only
2808 Mon Aug 26 16:33:04 PDT 2002 keithp
2809 + Owen discovered that FcLangSetHasLang wasn't actually
2810 checking the language set.
2812 Mon Aug 26 13:37:23 PDT 2002 keithp
2813 + Append a version number to cache filenames
2815 Thu Aug 22 11:36:18 PDT 2002 keithp
2817 + Add "contains" and "not_contains" operators and elements to
2820 + Changed semantics of eq operator for LangSets to check for
2821 FcLangEqual so that any match will do
2823 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2824 of FcValueEqual to check for identical values when inserting into
2825 the results. This broke when the above semantic change was made,
2826 now it uses FcValueEqual which is "more correct" in any case.
2828 Thu Aug 22 00:32:29 PDT 2002 keithp
2830 + Reimplement FC_LANG as new datatype. Lists of strings
2831 was consuming over a megabyte of memory for 401 fonts.
2833 + Freeze patterns loaded from cache files. This shares
2834 common value lists and common patterns which saves
2835 considerable memory.
2837 + Change the denotation of 'constant' charsets to use special
2838 ref value instead of separate boolean.
2840 + Clean up leak tracing stuff, found several unannoted alloc/free
2843 Tue Aug 20 16:17:37 PDT 2002 keithp
2845 + Fix memory leak when parsing matrices from XML
2847 Mon Aug 19 11:57:27 PDT 2002 keithp
2849 + Fix autoconf files to pass FONTCONFIG_PATH on
2850 compile line so that ${prefix} gets substituted
2853 + Use getc_unlocked/putc_unlocked on systems that
2854 provide them to avoid damage done to stdio by posix
2856 + Eliminate FC_PATTERN and FcTypePattern in favor of
2857 an extended api for FcConfigSubstitute which takes
2858 both the font and the pattern.
2860 + Add 'sans serif' alias for 'sans-serif' as some apps
2861 can't handle hyphens in family names
2863 + Eliminate pretense of support for libxml2
2865 + Comment origins of Han orthographies
2867 Tue Jul 30 18:37:09 PDT 2002 keithp
2869 + Add binding property to edit element so that strong
2870 binding values may be inserted by the config file.
2871 The default remains weak.
2873 Sun 28 Jul 04:16:55 PDT 2002 keithp
2875 + Tagged release candidate 1 in the CVS tree and
2876 placed fcpackage.rc1.tar.gz for distribution
2878 Thu Aug 1 08:55:08 PDT 2002 keithp
2880 + Fixed autoconf builds to always specify install
2881 target files (for BSD). Also fixed to
2882 define FONTCONFIG_PATH in config.h so that
2883 nonstandard installs will actually work.