1 2006-02-16 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheHasCurrentArch):
4 Deal correctly with changing FC_CACHE_MAGIC.
6 2006-02-16 Patrick Lam <plam@mit.edu>
7 * fc-cache/fc-cache.c (usage, scanDirs, main):
9 Add -r --really-force option which blows away cache files and then
12 2006-02-16 Patrick Lam <plam@mit.edu>
13 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
15 Don't bail if fontconfig can't remove a dir cache file.
16 Skip the ID of a cache file when copying.
17 Eliminate 'source file too small' bug in FcDirCacheWrite.
19 2006-02-13 Patrick Lam <plam@mit.edu>
20 * src/fcfreetype.c (FcFreeTypeQuery):
22 Fix memory leak in error condition code.
24 2006-02-13 Mike Fabian <mfabian@suse.de>
26 * src/fcfreetype.c (FcFreeTypeQuery):
28 Skip bitmap fonts which can't even get it together enough to
29 declare a family name; this appears to reproduce previous
32 2006-02-10 Takashi Iwai <tiwai@suse.de>
34 * src/fccache.c (FcDirCacheOpen):
36 Try to open /var/cache/fontconfig/[hashed name] before
37 fonts.cache-2 in a directory, because /var/cache/fontconfig
38 failures ought to be fixable, unlike fonts.cache-2 failures,
39 which may leave you screwed.
41 2006-02-10 Takashi Iwai <tiwai@suse.de>
43 * src/fcmatch.c (FcFontSetMatch):
45 Use a tri-state to mark the fonts which didn't get blocked but
46 were just missing an element, to distinguish them from the
47 fonts that do match the element.
49 2006-02-10 Takashi Iwai <tiwai@suse.de>
51 * src/fcmatch.c (FcFontSetMatch):
53 Don't kill fonts because they don't declare an element that's
56 2006-02-09 Patrick Lam <plam@mit.edu>
57 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
58 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
60 Define and pass O_BINARY to open if appropriate, for those
61 platforms that need it. Reported by Doodle.
63 2006-02-09 Patrick Lam <plam@mit.edu>
64 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
67 Fix problem with missing 'en' due to euro.patch: change
68 cache file format slightly to coincide with that generated
71 2006-02-07 Patrick Lam <plam@mit.edu>
72 * src/fccache.c (FcCacheReadDirs):
76 2006-02-07 Patrick Lam <plam@mit.edu>
77 * src/fcdir.c (FcDirScanConfig):
79 Don't reject dirs that can't be normalized (fixes lilypond, and
80 is correct in the context of application font directories.)
82 2006-02-07 Takashi Iwai <tiwai@suse.de>
85 * src/fccache.c (FcCacheReadDirs):
87 Use normalized directory name exclusively in FcCacheReadDirs.
89 2006-02-07 Dirk Mueller <dmueller@suse.com>
92 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
94 Perf optimizations. Inline FcValueCanonicalize,
95 reduce FcValueListPtrU usage, remove redundant cast.
97 2006-02-07 Takashi Iwai <tiwai@suse.de>
100 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
103 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
104 Declare extern for static arrays as arrays, not pointers.
105 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
107 2006-02-07 Dirk Mueller <dmueller@suse.com>
120 Add Euro sign to list of symbols required by European languages.
122 2006-02-07 Patrick Lam <plam@mit.edu>
123 * src/fccache.c (FcCacheReadString):
125 Fix hidden variable warning.
127 2006-02-07 Dirk Mueller <dmueller@suse.com>
130 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
132 Remove de-escaping logic because FcCacheWriteString
133 doesn't escape anyway. Do blockwise reading instead
134 of byte-wise for performance.
136 2006-02-06 Patrick Lam <plam@mit.edu>
137 Takashi Iwai <tiwai@suse.de>
139 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
141 Don't loop infinitely on recursive symlinks (client-side).
143 2006-02-06 Takashi Iwai <tiwai@suse.de>
145 * fc-cache/fc-cache.c (scanDirs, main):
147 Don't loop infinitely on recursive symlinks.
149 2006-02-06 Takashi Iwai <tiwai@suse.de>
151 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
152 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
153 FcGlobalCacheSave, FcCacheReadDirs):
156 Skip subdirs when skipping over stale bits of global cache.
157 Introduce state machine into FcGlobalCacheDir to avoid
158 doing inappropriate operations on global dir entries, e.g.
159 writing out an out-of-date cache entry.
161 2006-02-06 Takashi Iwai <tiwai@suse.de>
163 * src/fcdir.c (FcFileScanConfig):
165 Hoist FcFileIsDir check out of FcFileScanConfig loop.
167 2006-02-06 Takashi Iwai <tiwai@suse.de>
170 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
171 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
173 Don't rescan when trying to normalize a non-declared font dir.
174 Don't add font dirs multiple times (even if they're aliased).
176 2006-02-06 Dirk Mueller <dmueller@suse.de>
179 * src/fcfs.c (FcFontSetUnserialize):
181 Explain apples/oranges comparison and fix compilation error.
183 2006-02-06 Dirk Mueller <dmueller@suse.de>
186 * src/fcfs.c (FcFontSetUnserialize):
188 Insert check for integer overflow in # of fonts.
190 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
194 * fc-cache/Makefile.am:
195 * fc-cat/Makefile.am:
196 * fc-list/Makefile.am:
198 Make 'make distcheck' work with automake 1.6.3.
200 2006-02-03 Takashi IWAI <tiwai@suse.de>
203 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
206 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
207 FcDirCacheConsume, FcDirCacheWrite)
208 * src/fcxml.c (FcConfigMessage):
210 Check I/O call return values and eliminate unused variable
213 2006-02-03 Takashi Iwai <tiwai@suse.de>
216 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
220 2006-02-03 Dirk Mueller <dmueller@suse.de>
223 * src/fcfs.c (FcFontSetUnserialize):
225 Gracefully handle the case where a cache asserts that it
226 has a negative number of fonts, causing overflow.
228 2006-02-03 Patrick Lam <plam@mit.edu>
229 * src/fccache.c (FcDirCacheUnlink):
231 Fix double free in error case.
233 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
234 Stephan Kulow <coolo@suse.de>
237 * fc-cache/Makefile.am:
239 Replace 'stamp' target with mkinstalldirs.
241 2006-01-31 Mike Fabian <mfabian@suse.de>
244 * src/fccache.c (FcGlobalCacheLoad):
246 Toast broken global cache files.
248 2006-01-30 Patrick Lam <plam@mit.edu>
249 * src/fccache.c (FcGlobalCacheReadDir):
251 Actually use the directories that I added to the global cache.
254 2006-01-30 Mike Fabian <mfabian@suse.de>
257 * fc-cache/fc-cache.c (scanDirs):
259 Don't stop scanning if a directory in fonts.conf doesn't
260 exist, because subsequent directories might exist.
262 2006-01-30 Patrick Lam <plam@mit.edu>
263 * src/fccache.c (FcGlobalCacheLoad):
265 Make global cache work again after putting dir names into global
266 cache (I misplaced the recording of a file offset).
268 2006-01-30 Patrick Lam <plam@mit.edu>
269 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
271 Update fc-cat to handle subdir lists in global cache file.
273 * src/fccache.c (FcGlobalCacheLoad):
275 Another FcCacheReadString return value check.
277 2006-01-30 Mike Fabian <mfabian@suse.de>
280 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
281 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
283 Make fccache more resilient to broken cache files by checking
284 return value of FcCacheReadString all the time.
286 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
289 * fc-match/fc-match.1:
290 * fc-lang/fc-lang.man:
292 Remove references to dead fontconfig(3) manpages in
293 other fontconfig manpages.
295 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
298 * doc/fcpattern.fncs:
300 Fix world's tiniest typo in code example.
302 2006-01-29 Mike Fabian <mfabian@suse.de>
305 * src/fccache.c (FcGlobalCacheReadDir):
307 Fix global cache reads of subdirectories.
309 2006-01-29 Patrick Lam <plam@mit.edu>
311 Add documentation for FcConfigNormalizeFontDir.
313 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
314 FcGlobalCacheUpdate, FcGlobalCacheSave):
315 * src/fcdir.c (FcDirScanConfig):
318 Write directory information to global caches to fix make check
319 (reported by Ronny V. Vindenes). This changes the global cache
322 2006-01-27 Patrick Lam <plam@mit.edu>
323 * fc-cache/fc-cache.c (scanDirs):
324 * fontconfig/fontconfig.h:
326 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
328 Move FcConfigNormalizeFontDir call so that it doesn't result in
329 infinite recursion (reported by Ronny V. Vindenes).
331 2006-01-26 Patrick Lam <plam@mit.edu>
332 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
333 * src/fccfg.c (FcConfigNormalizeFontDir):
335 Add a couple of missing normalizations to make fc-cache work
336 right; only scan subdirectories once.
338 2006-01-26 Mike Fabian <mfabian@suse.de>
341 * src/fcacache.c (FcGlobalCacheReadDir):
343 Don't crash on non-existant directories in global cache.
345 2006-01-26 Patrick Lam <plam@mit.edu>
346 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
347 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
348 * src/fcdir.c (FcDirScanConfig):
349 * src/fcxml.c (FcEndElement):
351 Stop trampling the directory name when writing out caches.
352 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
353 subdirs when necessary. Don't scan directories that can't be
356 2006-01-25 Patrick Lam <plam@mit.edu>
357 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
358 * src/fccfg.c (FcConfigEvaluate):
359 * src/fcfreetype.c (FcPatternAddWithBinding):
361 Fix additional memory leaks reported by Ronny V. Vindenes: don't
362 invoke FcValueSave on hashed static strings in
363 FcPatternAddWithBinding.
365 Add another st_dev check in FcDirCacheOpen.
367 2006-01-24 James Su <james.su@gmail.com>
370 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
371 * fc-lang/zh_hk.orth:
373 Treat zh-hk fonts differently from zh-tw fonts. This patch may
374 cause fontconfig to treat A-X fonts differently from A-Y fonts;
375 please mail the fontconfig list if this causes any problems.
377 2006-01-24 Patrick Lam <plam@mit.edu>
378 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
379 * src/fcfreetype.c (FcFreeTypeQuery):
381 Fix memory leaks reported by Ronny V. Vindenes.
383 2006-01-19 Andreas Schwab <schwab@suse.de>
386 * src/fcpat.c (FcStrNeededBytes):
388 Fix for unaligned memory accesses.
390 2006-01-18 Mike Fabian <mfabian@suse.de>
393 * src/fcdir.c (FcDirScanConfig):
395 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
396 calls to avoid crashes.
398 2006-01-14 Patrick Lam <plam@mit.edu>
399 * src/fccache.c (FcDirCacheConsume):
401 Fix segfault when consuming zero-length caches in fc-cat
402 (which has no config, so FcConfigAddFontDir shouldn't be called.)
404 2006-01-14 Patrick Lam <plam@mit.edu>
405 * fc-cache/fc-cache.c (scanDirs):
406 * fontconfig/fontconfig.h:
407 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
408 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
409 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
410 * src/fcdir.c (FcDirScanConfig):
413 Compare device numbers as well as inodes.
414 Always normalize directory names before comparing them.
416 2006-01-11 Mike Fabian <mfabian@suse.de>
419 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
421 Allocate extra space for appended '/' in directory name.
423 2006-01-10 Patrick Lam <plam@mit.edu>
424 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
425 FcDirCacheValid, FcDirCacheHasCurrentArch,
426 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
427 * fc-cache/fc-cache.c (main):
429 Explicitly add font dirs to config.fontDirs even if they're empty.
430 Set current config in fc-cache.c.
431 Fix treatment of cache directory as read from cache file; don't
432 use string equality to determine if we have the right file,
435 2006-01-09 Patrick Lam <plam@mit.edu>
436 * fc-cache/fc-cache.c (scanDirs):
437 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
438 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
439 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
440 * src/fccfg.c (FcConfigNormalizeFontDir):
441 * src/fcdir.c (FcDirScanConfig):
444 Normalize font dirs by using the form, as given in fonts.conf, and
445 recorded in FcConfig's fontDirs string set, as canonical.
447 Actually update config.fontDirs as font directories are scanned.
449 2006-01-08 James Su <james.su@gmail.com>
450 * src/fcmatch.c (FcFontSetMatch):
452 Fix matching bug when multiple elements match; don't use
453 the sum of all scores, but the best score.
455 Also more perf opts, e.g. evaluate best over all font sets
456 rather than on a per-set basis (and other changes).
458 2006-01-08 Patrick Lam <plam@mit.edu>
459 * src/fccache.c (FcDirCacheConsume):
461 Properly skip past dir caches that contain zero fonts (as occurs
462 in global caches.) Reported by Mike Fabian.
464 2006-01-06 Patrick Lam <plam@mit.edu>
465 * src/fcdbg.c (FcPatternPrint):
467 Print out full pathname in fc-match -v as well. Reported by
470 2006-01-06 Mike Fabian <mfabian@suse.de>
473 * src/fcname.c (FcNameParse):
475 Fix bug where fc-match crashes when given __DUMMY__ property to
478 (I added the __DUMMY__ string to enable callers of
479 FcObjectToPtrLookup to distinguish an error return from a
480 successful return. -PL)
482 2006-01-05 Patrick Lam <plam@mit.edu>
485 Add self to AUTHORS list.
487 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
488 FcCacheFileRead, FcCachePrintSet, main):
489 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
490 FcGlobalCacheSave, FcCacheNextOffset,
491 FcDirCacheHasCurrentArch, FcDirCacheRead,
492 FcDirCacheConsume, FcDirCacheWrite):
494 * src/fcpat.c (comment):
496 Minor change to global cache file format to fix fc-cat bug
497 reported by Frederic Crozat, and buglet with not globally caching
498 directories with zero fonts cached.
500 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
503 * src/fccfg.c (FcConfigEvaluate):
505 Fix double-free which occurs because FcValueCanonicalize doesn't
506 create an extra copy of the returned value, it only canonicalizes
509 2006-01-02 Patrick Lam <plam@mit.edu>
510 * doc/fontconfig-user.sgml:
512 Fix version of .cache file (currently 1 -> currently 2). Reported
515 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
518 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
520 Shut up GCC warnings on amd.
522 2005-12-20 Patrick Lam <plam@mit.edu>
526 * fontconfig/fontconfig.h:
528 Bump version to 2.3.93.
530 2005-12-20 Patrick Lam <plam@mit.edu>
531 * src/fccharset.c (FcLangCharSetPopulate):
532 * src/fcint.h (FcCacheBankToIndex):
534 Avoid check on _fcBankId nullness and fix case where it used to
537 2005-12-20 Patrick Lam <plam@mit.edu>
538 * src/fcxml.c (FcConfigParseAndLoad):
540 Use open instead of fopen (requested by Phil Race for Sun).
542 2005-12-20 Patrick Lam <plam@mit.edu>
543 * src/fccache.c (FcDirCacheWrite);
544 * fc-cache/Makefile.am:
546 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
549 2005-12-20 Patrick Lam <plam@mit.edu>
550 * src/fcfreetype.c (FcFreeTypeQuery):
552 Restore code to skip over PCF fonts that have no encoded
554 (We guess that a font is PCF by presence of the PIXEL_SIZE
557 2005-12-12 Patrick Lam <plam@mit.edu>
558 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
560 Read and write the original location as a fallback for the
561 hashed cache file locations. This is mostly for users to be
562 able to have per-directory cache files.
564 2005-12-12 Patrick Lam <plam@mit.edu>
565 * fc-cache/fc-cache.c (scanDirs):
566 * fc-cache/Makefile.am:
567 * src/fccache.c (FcDirCacheHashName):
569 Improve error message when fc-cache can't write the cache. Add
570 missing slash. Reported by Behdad. Incorporate Behdad's patch to
571 create /var/cache/fontconfig when appropriate.
573 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
576 * src/fcxml.c (FcConfigGetAttribute):
578 Fix crash reported by Frederic Crozat when using libxml2.
580 2005-12-09 Patrick Lam <plam@mit.edu>
583 * fc-cache/Makefile.am:
584 * fc-cat/Makefile.am:
586 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
587 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
588 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
589 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
590 FcDirCacheHasCurrentArch, FcDirCacheHashName,
591 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
593 Migrate cache files from fonts directories to
594 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
595 but requires that all caches get rebuilt.
597 Also, autogen.sh now needs the additional parameter
598 --localstatedir=/var.
600 2005-12-07 Patrick Lam <plam@mit.edu>
601 * src/fcpat.c (FcPatternAddString):
603 Because we've changed FcPatternAddString to use FcStrStaticName
604 and not FcValueSave, explicitly handle the case of a null string.
606 2005-12-06 Patrick Lam <plam@mit.edu>
607 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
611 2005-12-05 Patrick Lam <plam@mit.edu>
612 * src/fcname.c (FcNameGetObjectType):
614 Don't assign types to user object names.
616 2005-12-05 Patrick Lam <plam@mit.edu>
617 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
619 Don't free strings that have been returned from FcStrStaticName.
621 2005-12-01 Patrick Lam <plam@mit.edu>
622 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
624 Add codepath for reading global cache files as well.
626 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
629 * conf.d/10-fonts.persian.conf:
630 * conf.d/Makefile.am:
632 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
634 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
637 * src/fcxml.c (FcConfigParseAndLoad):
639 Only add a config file to the set of config files once.
641 2005-11-29 Patrick Lam <plam@mit.edu>
642 * src/fcint.h (FcCacheBankToIndex);
644 Fix segfault by guarding array dereference.
646 2005-11-29 Dirk Mueller <dmueller@suse.de>
650 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
651 FcCacheBankToIndex, FcCacheBankToIndexMTF,
655 Refactor FcCacheBankToIndex into an inlineable part
656 (in fcint.h) which checks the front of the list and a
657 non-inlineable part which finds and moves the appropriate element
658 to the front of the list.
660 2005-11-29 Patrick Lam <plam@mit.edu>
661 * src/fccfg.c (FcConfigBuildFonts):
662 * src/fccache.c (FcCacheReadDirs):
664 Make the perf guys hate me a bit less: hoist the directory-name
665 FcConfigAcceptFont check for cached fonts up to directory cache
666 read time, rather than running it for each font.
668 2005-11-29 Patrick Lam <plam@mit.edu>
669 * src/fccfg.c (FcConfigBuildFonts):
671 * src/fcpat.c (FcPatternFindFullFname):
673 Don't make FcPatternFindFullFname available to fccfg, it's not
674 really safe. Instead go through FcPatternGetString (sorry,
675 perf guys.) Also, use globs for dirs as well.
677 2005-11-28 Patrick Lam <plam@mit.edu>
678 * src/fccfg.c (FcConfigBuildFonts):
682 2005-11-28 Patrick Lam <plam@mit.edu>
684 * src/fcpat.c (FcPatternFindFullFname):
685 * src/fccfg.c (FcConfigBuildFonts):
687 Fix problem dating back at least to 2.3.2 where globs weren't
688 being applied to patterns loaded from a cache.
690 2005-11-28 Patrick Lam <plam@mit.edu>
691 * doc/fontconfig-user.sgml:
693 Fix some obvious spelling mistakes.
695 2005-11-28 Dirk Mueller <dmueller@suse.com>
696 Stephan Kulow <coolo@suse.de>
699 * src/fcmatch.c (FcFontSetMatch):
701 Don't kill all fonts during match (oops!)
704 2005-11-25 Dirk Mueller <dmueller@suse.com>
705 Stephan Kulow <coolo@suse.de>
706 Michael Matz <matz@suse.de>
709 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
712 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
713 inline FcCompare into FcFontSetMatch and reorder the
714 loops, adding a boolean array which blocks patterns from future
715 consideration if they're known to not be best on some past
718 2005-11-26 Dirk Mueller <dmueller@suse.com>
721 * src/fcmatch.c (FcCompareValueList):
725 2005-11-25 Patrick Lam <plam@mit.edu>
726 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
728 Don't do random matching when bad objects are passed into
731 2005-11-25 Patrick Lam <plam@mit.edu>
733 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
734 FcPatternSerialize, FcPatternUnserialize,
735 FcValueListEnsureBank, FcValueListDistributeBytes,
736 FcValueListUnserialize):
738 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
739 _fcPatternElts, _fcValueLists for consistency.
741 2005-11-25 Dirk Mueller <dmueller@suse.com>
746 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
748 2005-11-25 Patrick Lam <plam@mit.edu>
750 * src/fccache.c (FcDirCacheConsume):
751 * src/fccharset.c (FcCharSetUnserialize):
752 * src/fcfs.c (FcFontSetUnserialize):
753 * src/fclang.c (FcLangSetUnserialize):
754 * src/fcname.c (FcObjectUnserialize):
755 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
756 FcPatternUnserialize):
758 Pass around FcCache *s to the Unserialize functions for extra
759 consistency (and less overhead, for what that's worth).
761 2005-11-24 Dirk Mueller <dmueller@suse.com>
765 * src/fcmatch.c (FcCompare*, FcFontSetSort):
766 * src/fcname.c (FcNameUnparseValue):
768 Inline the *PtrU functions to gain perf.
769 Remove unneeded params for the FcCompare* functions.
771 2005-11-24 Dirk Mueller <dmueller@suse.com>
774 * src/fcint.h, fontconfig/fontconfig.h:
776 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
778 * src/fcpat.c, src/fcint.h, src/fcname.c:
780 Check for type validity during FcPatternAddWithBinding, don't
781 verify type in FcFontMatch, don't call FcCanonicalize here
782 (which always does a deep copy).
784 2005-11-24 Dirk Mueller <dmueller@suse.com>
787 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
788 * src/fcpat.c (FcPatternAddWithBinding):
790 Make FcCompareString and FcCompareFamily less expensive.
791 Only add a value for FC_FAMILY if the proposed value is a string.
793 2005-11-24 Dirk Mueller <dmueller@suse.com>
796 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
797 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
798 * src/fcint.h (FcDebug):
800 Inline FcDebug invocations and only initialize once, in FcInit*.
801 Improve debug msg in FcPatternPrint.
803 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
806 * fontconfig/fontconfig.h:
809 Minor code warning cleanups.
811 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
814 * fc-match/fc-match.c (main):
816 Make getopt_long accept -s parameter to fc-match as well.
818 2005-11-21 Dirk Mueller <dmueller@suse.com>
821 * src/fcmatch.c (FcCompareValueList):
823 Manually perform inlining & partial redundancy elimination to
824 reduce calls to FcValueListPtrU.
826 2005-11-21 Dirk Mueller <dmueller@suse.com>
829 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
830 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
832 Only invoke strlen() when really necessary.
834 2005-11-19 Matthias Clasen <mclasen@redhat.com>
838 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
843 Get rid of the use of freetype internal headers in fcfreetype.c,
844 since those headers will go away with freetype 2.2. Replace with
845 public domain ftglue code from pango. Note that the patch removes
846 some extra error checking in FT_Get_BDF_Property() and comments
847 out the skipping of empty pcf fonts.
849 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
852 * fc-lang/fc-lang.c (main):
854 Further fix of patch from 2005-11-04: miscounted numbers count
855 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
856 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
858 Removed leafidx_count and numbers_count since they are the same
859 and replaced them with offset_count.
861 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
864 * fc-cat/fc-cat.c (main):
866 Don't crash when fc-cat invoked with no arguments.
868 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
871 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
873 Fix invalid read access caused by premature free and
874 GCC4 warnings in libxml2 codepath.
876 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
879 * src/fccfg.c (FcConfigValues):
881 List iteration not needed in FcConfigValues, since it's building
882 up the list itself; we can just strip FcVoid elements during
885 2005-11-17 Patrick Lam <plam@mit.edu>
886 * src/fccfg.c (FcConfigValues):
888 Fix crash on invalid constants in config files (forgot to update
889 a pointer upon list iteration.)
891 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
894 * src/fcxml.c (FcTypecheckExpr):
896 Complain about invalid constants in config files.
898 2005-11-17 Andreas Schwab <schwab@suse.de>
901 * src/fccache.c (FcGlobalCacheSave):
903 Don't add current_arch_start more than once.
905 2005-11-16 Patrick Lam <plam@mit.edu>
906 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
907 * src/fcfs.c (FcFontSetUnserialize):
908 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
909 * src/fcpat.c (FcStrUnserialize):
911 Fix ordering of ALIGN with respect to saving block_ptr; add
912 another ALIGN to fcfs.c.
914 2005-11-16 Patrick Lam <plam@mit.edu>
915 * src/fccache.c (FcDirCacheProduce)
917 Fix case where alignment bytes bumped up metadata->count
918 causing unwarranted failures to write cache files.
919 (Reported by Stephan Kulow).
921 2005-11-16 Patrick Lam <plam@mit.edu>
922 * src/fccache.c (FcDirCacheProduce):
923 * src/fccharset.c (FcCharSetDistributeBytes):
924 * src/fcfs.c (FcFontSetDistributeBytes):
926 * src/fclang.c (FcLangSetDistributeBytes):
927 * src/fcname.c (FcObjectDistributeBytes):
928 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
931 Add *NeededBytesAlign(), which overestimates the padding which is
932 later added by the new ALIGN macro. Fix alignment problems on
933 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
934 version by Andreas Schwab).
936 2005-11-16 Stephan Kulow <coolo@kde.org>
941 Use sysconf to determine proper PAGESIZE value; this
942 appears to be POSIX-compliant. (reported by Andreas Schwab)
944 2005-11-04 Patrick Lam <plam@mit.edu>
950 Fix bug 2878 (excessive relocations at startup for charsets,
951 reported by Ross Burton): fc-lang/fc-lang now creates the
952 static form of the langset, not the dynamic form, so that
953 the charsets should now be in .rodata.
955 2005-11-04 Patrick Lam <plam@mit.edu>
956 * src/fcdir.c (FcDirScanConfig):
958 Add test for validity of directory caches that
959 somehow got lost (reported by make distcheck).
961 2005-11-04 Patrick Lam <plam@mit.edu>
965 * fontconfig/fontconfig.h:
967 Bump version to 2.3.92.
969 2005-11-02 Patrick Lam <plam@mit.edu>
970 * src/fcpat.c (FcPatternDuplicate):
972 Fix argument ordering problem in call to FcPatternTransferFullFname.
974 2005-11-02 Patrick Lam <plam@mit.edu>
975 * src/fcfreetype.c (FcFreetypeQuery):
976 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
977 FcPatternTransferFullFname):
979 Fix warnings and embarrassing double-free error.
981 2005-11-02 Zhe Su <zsu@novell.com>
986 Change the rule for artificial emboldening in fonts.conf.in. This
987 enables the support for artificial emboldening included in cairo.
989 2005-11-02 Patrick Lam <plam@mit.edu>
990 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
992 Don't zero out full names for FC_REF_CONSTANT fonts;
993 also, duplicate full names when transferring, and free
994 full names when freeing the associated font.
995 Reported by Jinghua Luo.
997 2005-11-02 Patrick Lam <plam@mit.edu>
998 * fc-cache/fc-cache.c (scanDirs):
999 * src/fcpat.c (FcValueListSerialize):
1001 Revert the previous patch and commit the correct patch:
1002 I forgot a canonicalization in FcValueListSerialize, so
1003 that it would choke on already-serialized input files. Duh!
1005 2005-11-02 Patrick Lam <plam@mit.edu>
1006 * fc-cache/fc-cache.c (scanDirs):
1008 Forcibly rescan a directory before writing a fresh local
1009 cache file for that directory, fixing the losing-fonts
1010 problem reported by Mike Fabian and also apparently the
1011 font cache file corruption.
1013 2005-11-02 Patrick Lam <plam@mit.edu>
1014 * src/fccache.c (FcGlobalCacheLoad):
1016 Fix thinko: actually, the whole global cache is stale
1017 if the global cache is older than the (newest) config file.
1019 2005-11-02 Patrick Lam <plam@mit.edu>
1020 * src/fccache.c (FcGlobalCacheLoad):
1021 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1024 Declare the global cache of a directory's contents to be stale if
1025 the directory is newer than the (newest) configuration file.
1027 2005-10-31 Patrick Lam <plam@mit.edu>
1029 * src/fclist.c (FcListAppend):
1030 * src/fcmatch.c (FcFontRenderPrepare):
1031 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1032 FcPatternFreeze, FcPatternBaseFreeze):
1034 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1035 applications continue breaking.
1037 2005-10-31 Patrick Lam <plam@mit.edu>
1038 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1039 * src/fcfreetype.c (FcFreeTypeQuery):
1041 Fix small memory error (tried to free argv); use basename and
1042 dirname correctly (they can modify their arguments).
1044 2005-10-31 Patrick Lam <plam@mit.edu>
1052 Reinstate basename patch, but keep a hash table linking FcPatterns
1053 to their fully-qualified font names for clients' benefit. Clients
1054 only pay for the font names once they request the FC_FILE property
1055 from an FcPattern, but the font name is malloc'd at that point (i.e.
1056 not mmapped: that's impossible, since it may vary between machines.)
1057 Clients do have to pay for a copy of the path name per cache file.
1059 Note that FcPatternGetString now does some rewriting if you ask
1060 for an FC_FILE, appending the pathname as appropriate.
1062 2005-10-31 Patrick Lam <plam@mit.edu>
1063 * src/fcfreetype.c (FcFreeTypeQuery):
1065 Revert basename patch, which breaks fontconfig clients on my system.
1067 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1070 * fontconfig/fonts.conf.in:
1071 * fontconfig/fontconfig.h:
1075 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1076 to load embedded bitmaps or not.
1078 2005-10-25 Patrick Lam <plam@mit.edu>
1079 * src/fcfreetype.c (FcFreeTypeQuery):
1081 Only add basename to patterns' FC_FILE element, not any part of
1084 2005-10-22 Patrick Lam <plam@mit.edu>
1087 Add some more consts, fixing more GCC4 warnings.
1089 2005-10-22 Zhe Su <zsu@novell.com>
1092 Support localized font family and style names.
1093 This has been reported to break old apps like xfd, but modern
1094 (gtk+/qt/mozilla) apps work fine.
1096 2005-10-21 Patrick Lam <plam@mit.edu>
1097 * src/fccache.c (FcGlobalCacheLoad):
1099 Destroy the global cache file if it's terminally broken. (reported by
1102 2005-10-21 Patrick Lam <plam@mit.edu>
1103 * fc-list/fc-list.c (main):
1104 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1105 * fontconfig/fontconfig.h:
1107 Prevent fc-list from escaping strings when printing them (reported by
1110 2005-10-20 Marcus Meissner <meissner@suse.de>
1113 * fontconfig/fontconfig.h:
1115 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1117 2005-10-14 Ross Burton <ross@burtonini.com>
1120 * fc-glyphname/fc-glyphname.c:
1123 Add consts to variables so as to move arrays into .rodata.
1125 2005-10-14 Mike Fabian <mfabian@suse.de>
1128 * src/fccache.c (FcDirCacheUnlink):
1130 Check existence of directory cache file before attempting to unlink.
1132 2005-10-13 Patrick Lam <plam@mit.edu>
1133 * src/fccache.c (FcDirCacheUnlink):
1135 Fix flipped return value on unlink. (Reported by Mike Fabian)
1137 2005-10-12 Patrick Lam <plam@mit.edu>
1140 * src/fcdir.c (FcDirScanConfig):
1143 When fc-cache is run without --force, use directory cache files
1144 to speed up fc-cache run time. (Reported by Mike Fabian)
1146 2005-10-06 Patrick Lam <plam@mit.edu>
1148 * src/fcname.c (FcObjectToPtr):
1149 * src/fcpat.c (FcStrStaticName):
1151 Add padding to make valgrind and glibc not hate each other
1152 when calling strlen().
1154 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1155 reviewed by: plam & keithp
1159 Modify config file to use Greek fonts before Asian fonts with
1162 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1163 reviewed by: plam & keithp
1167 Use libtool -no-undefined flag on all platforms.
1169 2005-10-05 Patrick Lam <plam@mit.edu>
1170 * src/fccache.c (FcCacheHaveBank):
1172 Implement move-to-front array for banks (perf regression
1173 reported by Ronny V. Vindenes).
1175 2005-10-04 Patrick Lam <plam@mit.edu>
1176 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1177 FcDirCacheHasCurrentArch):
1178 * fc-cache/fc-cache.c (scanDirs):
1179 * fontconfig/fontconfig.h:
1181 Add new API which unlinks directory caches and checks dir caches
1182 for existence of appropriate sections. Fix fc-cache to unlink
1183 stale cache files and save directory caches that lack relevant
1186 2005-10-03 Patrick Lam <plam@mit.edu>
1187 * src/fccache.c (FcDirCacheValid):
1189 Ensure that a directory cache has the appropriate section
1190 before reporting that it is valid (reported by Matthias Clasen).
1192 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1200 Use libxml2 if requested (with --enable-libxml2) or if
1201 expat is not available.
1203 2005-09-29 Patrick Lam <plam@mit.edu>
1204 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1206 Fix multi-arch cache files: compute the position for the
1207 block to be added using info from OrigFile, not NewFile.
1209 2005-09-28 Patrick Lam <plam@mit.edu>
1210 * src/fccache.c (FcCacheMachineSignature):
1212 Cast results of sizeof() to unsigned int to get rid of
1213 warnings on x86_64 (thanks Matthias Clasen).
1215 2005-09-27 Patrick Lam <plam@mit.edu>
1216 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1219 Use FcAtomic to rewrite cache files.
1221 2005-09-27 Patrick Lam <plam@mit.edu>
1223 * src/fccache.c (FcDirCacheWrite):
1225 Don't unlink the fonts.cache-2 file even if there's no data
1226 to write; just write an empty cache file. (thanks Lubos Lunak)
1228 2005-09-27 Patrick Lam <plam@mit.edu>
1230 * src/fccache.c (FcDirCacheWrite):
1232 Allocate room for the subdirectory names in each
1233 directory cache. Thanks to James Cloos for finding
1234 and diagnosing this bug!
1236 2005-09-22 Patrick Lam <plam@mit.edu>
1238 * fc-cache/fc-cache.sgml:
1239 * src/fccache.c (FcDirCacheWrite):
1240 * src/fccache.h (struct FcCache):
1242 Update documentation -- fc-cache's man page now says that you
1243 need to run fc-cache once per cached architecture; add some
1244 documentation to the FcCache structure.
1246 Make fc-cache write out fonts.cache-2 files for directories with
1247 no fonts (i.e. only subdirectories).
1249 2005-09-22 Patrick Lam <plam@mit.edu>
1251 * fc-cache/fc-cache.sgml:
1252 * fc-case/fc-case.c:
1253 * fc-glyphname/fc-glyphname.c:
1259 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1263 * fc-lang/fc-lang.c:
1264 * fontconfig/fcprivate.h:
1265 * fontconfig/fontconfig.h:
1279 Implement new mmaped cache for font information.
1280 Bump so revision to 2.3.90.
1282 2005-07-25 Keith Packard <keithp@keithp.com>
1284 * doc/fontconfig-user.sgml:
1285 * fc-glyphname/fc-glyphname.c: (scan), (main):
1286 * fc-lang/fc-lang.c: (FcConfigHome):
1287 * fc-match/fc-match.c: (main):
1288 * src/fccfg.c: (FcConfigHome):
1289 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1290 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1291 (addtag), (FcFontCapabilities):
1292 * src/fcpat.c: (FcValueListEntCreate):
1293 * src/fcstr.c: (FcStrCaseWalkerInit):
1294 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1296 Various GCC 4 cleanups for signed vs unsigned char
1298 Match only [0-9]*.conf files in <include>{directory}</include>
1299 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1301 2005-07-15 Carl Worth <cworth@cworth.org>
1304 * src/fcinit.c: (FcFini):
1305 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1308 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1309 Pull the FcObjectStateName hash table out to file scope, and add
1310 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1313 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1316 2005-06-16 Patrick Lam <plam@MIT.EDU>
1320 * src/fccfg.c: (FcConfigCompareValue):
1321 Make FcOpNotContains use FcStrStr for strings so that
1322 it matches semantics for !FcOpContains.
1324 2005-05-20 Keith Packard <keithp@keithp.com>
1328 Move fontconfig source package to libs as per override
1330 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1332 reviewed by: Mike Fabian
1335 The ka.orth file requires several characters which are not
1336 used anymore in modern Georgian and which are missing in the free
1337 Georgian TrueType fonts downloadable at:
1339 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1341 2005-04-27 Keith Packard <keithp@keithp.com>
1345 Update date to real 2.3.2 release date.
1346 Fix change attributions
1348 2005-04-27 Keith Packard <keithp@keithp.com>
1351 Bump so revision for 2.3.2
1352 * fc-cache/fc-cache.c: (scanDirs):
1353 Fix a few minor leaks in error cases.
1355 2005-04-23 Keith Packard <keithp@keithp.com>
1360 * fontconfig/fontconfig.h:
1361 Update for version 2.3.2
1363 2005-04-21 Keith Packard <keithp@keithp.com>
1365 * debian/fontconfig.postinst:
1366 Don't force bitmap font enable in default
1367 configuration; allows users to override this in
1377 * debian/po/pt_BR.po:
1378 * debian/po/templates.pot:
1380 * debian/po/zh_CN.po:
1381 Updated translations
1383 * fc-cache/fc-cache.c: (main):
1384 Destroy font configuration on exit to help valgrind
1387 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1388 (FcFreeTypeCheckGlyph):
1389 Use own transcoding routines in preference to iconv
1390 which appears to have leaks in some translators.
1391 Call iconv_close after using iconv (oops).
1393 Prefer unicode encoding of Euro char as some
1394 fonts mis-encode Euro in other ones.
1396 Must fetch bitmap glyphs to get width values
1397 to check for monospace/dual-width fonts.
1399 2005-04-13 Ross Burton <ross@burtonini.com>
1402 Check that a pattern isn't already frozen in FcPatternFreeze.
1404 2005-03-31 Ross Burton <ross@burtonini.com>
1409 Run all FcPattern objects through FcObjectStaticName, so that
1410 compares can be done on pointers instead of strings (#2659)
1412 2005-03-17 Tor Lillqvist <tml@novell.com>
1414 * src/fontconfig.def.in: Add the .dll to the dll name.
1416 2005-03-10 Keith Packard <keithp@keithp.com>
1418 * debian/README.Debian:
1419 Update to reflect configuration changes
1421 * debian/fontconfig.postinst:
1422 Fix Autohint vs Autohinter mistake
1423 * debian/fontconfig.templates:
1424 Adopt changes from Josselin Mouette for configuration descriptions
1425 Update debian to version 2.3.1-2
1427 2005-03-08 Keith Packard <keithp@keithp.com>
1431 Update debian for 2.3.1
1433 2005-03-09 Tor Lillqvist <tml@novell.com>
1435 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1438 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1441 2005-03-08 Keith Packard <keithp@keithp.com>
1445 * fontconfig/fontconfig.h:
1448 2005-03-05 Keith Packard <keithp@keithp.com>
1450 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1451 Include space and remove numbers from valid script tags.
1452 This ensures that tags like 'lao ' work while rejecting
1453 those which have any digits.
1454 Eliminate a spurious debugging variable (len)
1456 2005-03-05 Keith Packard <keithp@keithp.com>
1458 * src/fcfreetype.c: (addtag), (GetScriptTags),
1459 (FcFontCapabilities):
1460 Rework GSUB/GPOS script parsing to survive broken fonts.
1461 Thanks for the broken font go to Manish Singh
1463 2005-03-05 Keith Packard <keithp@keithp.com>
1468 * debian/fontconfig.config:
1469 * debian/fontconfig.templates:
1471 Include 2.3 release information in changelog
1472 Add Josselin Mouette as an Uploader
1473 Set hinting_type to low priority configuration option
1476 * debian/fontconfig.postinst:
1477 yes_bitmaps.conf -> yes-bitmaps.conf
1483 2005-03-02 Keith Packard <keithp@keithp.com>
1486 * conf.d/Makefile.am:
1487 * conf.d/autohint.conf:
1488 * conf.d/no-sub-pixel.conf:
1489 * conf.d/sub-pixel.conf:
1490 * conf.d/unhinted.conf:
1491 * debian/autohint.conf:
1492 * debian/fontconfig.install:
1493 * debian/fontconfig.postinst:
1494 * debian/fontconfig.templates:
1495 * debian/no-sub-pixel.conf:
1496 * debian/unhinted.conf:
1497 Move debian-specific conf file examples upstream.
1499 Sub-pixel configuration examples must smash subpixel value
1500 as Xft always sets it from X.
1502 Change sub-pixel rendering debconf descriptions from
1503 Enable/Disable to Always/Never.
1505 2005-03-02 Keith Packard <keithp@keithp.com>
1508 * conf.d/.cvsignore:
1510 Ignore more build detritus
1513 Add debian package construction stuff.
1515 * config/config.guess:
1516 * config/config.sub:
1517 Update to newer versions of these tools
1520 Get library manuals to build again (we love automake).
1522 * debian/README.Debian:
1523 * debian/autohint.conf:
1528 * debian/fontconfig-udeb.install:
1529 * debian/fontconfig.config:
1530 * debian/fontconfig.defoma:
1531 * debian/fontconfig.dirs:
1532 * debian/fontconfig.install:
1533 * debian/fontconfig.postinst:
1534 * debian/fontconfig.postrm:
1535 * debian/fontconfig.templates:
1536 * debian/libfontconfig1-dev.install:
1537 * debian/libfontconfig1.install:
1538 * debian/local.conf.md5sum:
1539 * debian/no-sub-pixel.conf:
1540 * debian/po/POTFILES.in:
1549 * debian/po/pt_BR.po:
1550 * debian/po/templates.pot:
1552 * debian/po/zh_CN.po:
1554 * debian/unhinted.conf:
1555 Update debian build system to switch maintainers and
1556 deal with 2.3 functionality
1558 2005-03-01 Keith Packard <keithp@keithp.com>
1562 * fontconfig/fontconfig.h:
1565 2005-03-01 Keith Packard <keithp@keithp.com>
1568 Generate and install PDF versions of the manuals
1570 * doc/fcpattern.fncs:
1573 * doc/fcstring.fncs:
1574 Add missing exported functions, fix data types
1576 * doc/fontconfig-devel.sgml:
1577 Add missing pattern elements.
1579 * doc/fontconfig-user.sgml:
1580 Add missing pattern elements. Document conf.d usage,
1581 clarify available orthography list. Fix some config file
1582 attributes. Complete list of constants.
1584 * fontconfig/fontconfig.h:
1585 Mark FC_SOURCE deprecated.
1587 * src/fcfreetype.c: (FcFreeTypeQuery):
1588 Don't set FC_SOURCE any longer.
1590 2005-02-28 Keith Packard <keithp@keithp.com>
1593 * conf.d/Makefile.am:
1595 * conf.d/no-bitmaps.conf:
1596 * conf.d/sub-pixel.conf:
1597 * conf.d/yes-bitmaps.conf:
1599 Create prototype /etc/fonts/conf.d directory with a few
1600 sample configuration files.
1601 Deprecate use of local.conf for local customizations in favor of
1602 this directory based scheme which is more easily integrated into
1603 installation systems.
1606 Tag FC_EMBOLDEN as a boolean variable
1608 2005-02-10 Keith Packard <keithp@keithp.com>
1610 reviewed by: pborelli@katamail.com
1612 * src/fcdir.c: (FcFileScanConfig):
1613 Free patterns from fonts which are rejected by configuration
1616 2005-01-28 Keith Packard <keithp@keithp.com>
1620 * fontconfig/fontconfig.h:
1621 Update for version 2.2.99
1623 2005-01-28 Keith Packard <keithp@keithp.com>
1626 Add a few pointers (#2284, #2285)
1628 2005-01-28 Keith Packard <keithp@keithp.com>
1631 * src/fcname.c: (FcNameBool):
1632 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1633 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1634 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1635 Polite typechecking for test and edit expressions. Helps
1636 catch errors in the font configuration. (bug 229)
1638 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1640 reviewed by: Keith Packard <keithp@keithp.com>
1643 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1645 2005-01-13 Keith Packard <keithp@keithp.com>
1647 * doc/fontconfig-user.sgml:
1648 Add SEE ALSO section (bug 2085)
1650 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1652 reviewed by: Keith Packard <keithp@keithp.com>
1657 * fc-case/Makefile.am:
1658 * fc-glyphname/Makefile.am:
1659 * fc-lang/Makefile.am:
1660 * src/fontconfig.def.in:
1661 Cross compiling fixes (bug 280)
1663 2005-01-13 Keith Packard <keithp@keithp.com>
1666 Update blanks list (Closes bug 86)
1668 2005-01-04 Keith Packard <keithp@keithp.com>
1670 * src/fccache.c: (FcCacheFontSetAdd):
1671 Verify that every font pattern loaded from cache has
1672 both FC_FILE and FC_FAMILY entries.
1673 Attempt to fix bug #2219.
1675 2004-12-29 Keith Packard <keithp@keithp.com>
1679 * fontconfig/fontconfig.h:
1680 Update for version 2.2.98
1682 2004-12-29 Keith Packard <keithp@keithp.com>
1684 * fontconfig/fontconfig.h:
1685 Document ASCII limitations of Fc character conversion macros
1686 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1687 Fix off-by-one error in utf-8 case walking code.
1688 Add FcStrDowncase (useful for testing case conversion functions)
1690 2004-12-29 Keith Packard <keithp@keithp.com>
1693 * fc-case/.cvsignore:
1694 clean up CVS ignore lists
1695 * fc-lang/iso-3166.txt:
1696 Add territory database
1698 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1700 Reviewed by: Keith Packard
1703 Remove Han characters from Korean orthography
1705 2004-12-29 Keith Packard <keithp@keithp.com>
1708 Reorder utility programs to make sure fc-case is run before fc-lang
1709 as fc-lang uses fcstr.c which uses fccase.h
1713 2004-12-29 Keith Packard <keithp@keithp.com>
1716 Adopt some RedHat suggestions for standard font configuration.
1720 * fc-case/CaseFolding.txt:
1721 * fc-case/Makefile.am:
1722 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1723 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1724 (dump), (parseRaw), (caseFoldReadRaw), (main):
1725 * fc-case/fccase.tmpl.h:
1726 Add new helper program 'fc-case' to construct case folding
1727 tables from standard Unicode CaseFolding.txt file
1730 * src/fclist.c: (FcListValueHash):
1731 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1732 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1733 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1734 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1735 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1736 Re-implement case insensitive functions with Unicode
1737 aware versions (including full case folding mappings)
1739 2004-12-13 Keith Packard <keithp@keithp.com>
1741 reviewed by: Owen Taylor <otaylor@redhat.com>
1743 * src/fcmatch.c: (FcFontSetSort):
1744 I changed FcFontSetSort to respect the generic aliases better
1745 in the face of language matching.
1747 What I did was to ammend the strict sort order used by FcFontSort so
1748 that it 'satisfies' the language specified in the pattern by locating
1749 the best matching font supporting each pattern language and then
1750 ignores language in the remaining fonts for purposes of matching.
1752 So, when asking for 'sans:lang=en', you'll get an English font first,
1753 and then the remaining fonts sorted with respect to the 'sans' alias
1754 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1756 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1758 reviewed by: Keith Packard <keithp@keithp.com>
1760 * fontconfig/fontconfig.h:
1763 Configuration changes to request synthetic emboldening of
1764 fonts. The actual emboldening code will live in Xft.
1766 2004-12-09 John Thacker <thacker@math.cornell.edu>
1768 reviewed by: Keith Packard <keithp@keithp.com>
1772 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1773 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1774 и), and don't even appear in KOI8-R. (The hypothesis that they
1775 don't appear in KOI8-R due to their similarity with Latin I and i is
1776 eliminated by their presence in KOI8-U.) I have a couple of fonts
1777 with Russian support that don't have the letter.
1779 Therefore, 0406 and 0456 should be removed from or commented out of
1782 2004-12-06 michael meeks <mmeeks@novell.com>
1784 Reviewed by: Keith Packard <keithp@keithp.com>
1786 * src/fcinit.c: (FcMemReport):
1788 * src/fclist.c: (FcObjectSetAdd):
1789 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1790 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1791 * src/fcxml.c: (FcParsePatelt):
1792 memoize strings and share a single copy for all uses. Note that
1793 this could be improved further by using statically allocated blocks
1794 and gluing multiple strings together, but I'm basically lazy.
1795 In my environment with 800 font files, I get a savings of about 90KB.
1797 2004-12-06 Keith Packard <keithp@keithp.com>
1801 * config/Makedefs.in:
1804 * doc/fcatomic.fncs:
1805 * doc/fcblanks.fncs:
1806 * doc/fccharset.fncs:
1807 * doc/fcconfig.fncs:
1808 * doc/fcconstant.fncs:
1810 * doc/fcfontset.fncs:
1811 * doc/fcfreetype.fncs:
1813 * doc/fcmatrix.fncs:
1814 * doc/fcobjectset.fncs:
1815 * doc/fcobjecttype.fncs:
1816 * doc/fcpattern.fncs:
1817 * doc/fcstring.fncs:
1818 * doc/fcstrset.fncs:
1820 * doc/fontconfig-devel.sgml:
1821 * doc/fontconfig-user.sgml:
1823 * doc/version.sgml.in:
1824 * fc-cache/Makefile.am:
1825 * fc-cache/fc-cache.c:
1826 * fc-glyphname/Makefile.am:
1827 * fc-glyphname/fc-glyphname.c:
1828 * fc-glyphname/fcglyphname.tmpl.h:
1829 * fc-lang/Makefile.am:
1839 * fc-lang/az_ir.orth:
1873 * fc-lang/fc-lang.c:
1874 * fc-lang/fc-lang.man:
1875 * fc-lang/fclang.tmpl.h:
1920 * fc-lang/ku_ir.orth:
1953 * fc-lang/ps_af.orth:
1954 * fc-lang/ps_pk.orth:
1983 * fc-lang/ti_er.orth:
1984 * fc-lang/ti_et.orth:
2010 * fc-lang/zh_cn.orth:
2011 * fc-lang/zh_hk.orth:
2012 * fc-lang/zh_mo.orth:
2013 * fc-lang/zh_sg.orth:
2014 * fc-lang/zh_tw.orth:
2016 * fc-list/Makefile.am:
2017 * fc-list/fc-list.c:
2018 * fc-match/Makefile.am:
2019 * fc-match/fc-match.1:
2020 * fc-match/fc-match.c:
2021 * fontconfig/fcfreetype.h:
2022 * fontconfig/fcprivate.h:
2023 * fontconfig/fontconfig.h:
2044 Change files from ISO-Latin-1 to UTF-8
2046 2004-12-04 Keith Packard <keithp@keithp.com>
2049 Update links to new freedesktop.org locations
2051 Add uninstall-local to get rid of fonts.conf and local.conf if they
2052 match the distributed versions. Fixes 'make distcheck'
2054 2004-12-04 Keith Packard <keithp@keithp.com>
2058 * fontconfig/fontconfig.h:
2059 Updates for version 2.2.97
2061 2004-12-04 Owen Taylor <otaylor@redhat.com>
2063 reviewed by: Keith Packard <keithp@keithp.com>
2065 * fc-cache/fc-cache.c: (main):
2066 Sleep for two seconds before exiting to make sure timestamps
2067 for future changes have distinct mod times in the file system.
2070 Add Punjabi orthography. Bug #1671.
2072 2004-12-04 Keith Packard <keithp@keithp.com>
2075 Just remove the FC_FONTDATE -- it has locale issues and
2076 annoys redhat multi-arch installs. Now that all X fonts are
2077 included without prejudice, the chances of the date being at
2078 all interesting are rather limited. Bug #505.
2080 Add copyright and license
2082 2004-12-04 Keith Packard <keithp@keithp.com>
2085 Change default set of fonts to include all of
2086 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2087 * doc/fontconfig-user.sgml:
2088 Document new <include>directory-name</include> semantics
2090 add <include ignore_missing="yes">conf.d</include>
2092 Add selectfont to ignore bitmap fonts, add comment for
2093 selectfont which accepts bitmap fonts.
2096 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2097 Allow <include> configuration elements to reference directories.
2098 Parse and load all files of the form [0-9]* in sorted order.
2100 2004-12-04 Keith Packard <keithp@keithp.com>
2103 Report command line for $srcdir/configure accurately.
2106 2004-12-04 Keith Packard <keithp@keithp.com>
2108 * src/fcfreetype.c: (FcFreeTypeQuery):
2109 Check for non-empty face->family_name and face->style_name
2110 before using those for the font. Empty names match everything.
2113 2004-12-04 Keith Packard <keithp@keithp.com>
2116 * fontconfig/fontconfig.h:
2117 * src/fcfreetype.c: (FcFreeTypeQuery):
2119 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2120 available. This provides font file format information (BDF, Type 1,
2121 PCF, TrueType) for each font. Closes #109.
2123 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2125 reviewed by: Keith Packard <keithp@keithp.com>
2127 * doc/fontconfig-user.sgml:
2130 * fontconfig/fontconfig.h:
2131 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2132 (GetScriptTags), (FcFontCapabilities):
2134 Add detection for font capabilities (bug #105)
2136 2004-12-04 Keith Packard <keithp@keithp.com>
2139 Move existing fonts.conf to fonts.conf.bak
2142 Add detection of iconv
2144 * doc/fcpattern.fncs:
2145 * doc/fontconfig-devel.sgml:
2146 * doc/fontconfig-user.sgml:
2148 Document new selectfont elements
2151 Switch to UTF-8 in comment
2153 * fontconfig/fontconfig.h:
2155 Add fullname, and family/style/fullname language entries
2157 * src/fccache.c: (FcCacheFontSetAdd):
2158 * src/fcdir.c: (FcFileScanConfig):
2159 Respect selectfont/*/glob
2162 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2163 (FcConfigCompareValue), (FcConfigPatternsAdd),
2164 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2165 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2166 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2167 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2168 Add support for selectfont
2170 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2171 (FcStringInPatternElement), (FcFreeTypeQuery):
2172 Add multi-lingual family/style/fullname support
2174 * src/fclist.c: (FcListPatternMatchAny):
2175 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2177 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2178 (FcObjectStaticName):
2179 Add new FcPatternRemove/FcPatternAppend.
2180 FcObjectStaticName stores computed pattern element names which
2181 are required to be static.
2183 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2188 Remove spurious / after $(DESTDIR)
2190 2004-06-30 Keith Packard <keithp@keithp.com>
2194 * fontconfig/fontconfig.h:
2197 2004-06-30 Keith Packard <keithp@keithp.com>
2199 Provided by: Lubos Lunak <l.lunak@suse.cz>
2201 * src/fccfg.c: (FcConfigUptoDate):
2202 However FcConfigUptoDate() doesn't seem to work. See the attached
2203 patch. First there's an obvious misplaced parenthesis making it
2204 return always false, and second, even this call fails to detect font
2205 changes (e.g. adding a new font to
2206 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2207 well. The problem seems to be triggered by my fonts.conf specifying
2208 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2209 doesn't include subdirs, unlike config->fontDirs.
2211 2004-06-03 Keith Packard <keithp@keithp.com>
2213 * fontconfig/fontconfig.h:
2214 Remove comma at end of FcResult enum definition.
2216 2004-05-29 Keith Packard <keithp@keithp.com>
2219 Add steps to md5sum release
2221 2004-05-29 Keith Packard <keithp@keithp.com>
2225 * fontconfig/fontconfig.h:
2228 2004-05-29 Keith Packard <keithp@keithp.com>
2230 * fontconfig/fontconfig.h:
2231 * src/fcmatch.c: (FcFontSetMatch):
2232 Add FcResultOutOfMemory to provide an accurate error when
2233 FcFontSetMatch fails in this way
2236 Make #warning about lacking various FreeType features indicate
2237 which version those features appeared so users know how to
2238 fix the problem (Thanks to Anton Tropashko)
2240 2004-05-05 Keith Packard <keithp@keithp.com>
2242 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2243 Replace MIN/MAX/ABS macros which happen to have come
2244 from FreeType with fontconfig-specific ones (FC_*)
2246 2004-04-23 Keith Packard <keithp@keithp.com>
2249 Extend release preparation instructions to include
2250 notification and distribution steps
2252 2004-04-23 Keith Packard <keithp@keithp.com>
2256 * fontconfig/fontconfig.h:
2257 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2259 2004-04-23 Keith Packard <keithp@keithp.com>
2262 Ignore a few more autotool files
2264 2004-04-14 Keith Packard <keithp@keithp.com>
2267 Add instructions for doing a release
2269 * fontconfig.spec.in:
2270 clean up .spec file; perhaps this will be useful to somebody...
2274 * fontconfig/fontconfig.h:
2277 * fc-lang/fc-lang.c:
2278 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2280 * fc-glyphname/Makefile.am:
2281 * fc-lang/Makefile.am:
2282 * fc-list/Makefile.am:
2283 * fc-match/Makefile.am:
2285 Add WARN_CFLAGS to pass -W flags for GCC systems
2287 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2288 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2289 Change various char types around to match across
2291 Fixed bug in using available_sizes[i].height which
2292 is in pixels, not 64ths of a pixel.
2294 2004-03-06 Keith Packard <keithp@keithp.com>
2296 * src/fcfreetype.c: (FcFreeTypeQuery):
2297 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2298 matches looking for explicit values prefer exact matches
2300 2004-03-02 Keith Packard <keithp@keithp.com>
2302 Supplied by: mfabian@suse.de (Mike FABIAN)
2304 * src/fcfreetype.c: (FcFreeTypeQuery):
2305 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2306 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2308 2004-02-21 Manish Singh <yosh@gimp.org>
2310 * fc-glyphname/fc-glyphname.c: (main):
2311 Cast strlen to int for printf, so we're 64-bit clean.
2313 2004-02-11 Keith Packard <keithp@keithp.com>
2316 * src/fcfreetype.c: (FcGetPixelSize):
2317 Ok, so I messed up the test for y_ppem. Let's see if I
2318 got it right this time.
2320 2004-02-10 Keith Packard <keithp@keithp.com>
2323 * src/fcfreetype.c: (FcGetPixelSize):
2324 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2325 FT_Bitmap_Size record. Add a configure.in test for this
2326 and change the code accordingly (using height instead).
2328 2004-02-06 Keith Packard <keithp@keithp.com>
2331 Add Low Saxon orthography
2332 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2334 * src/fccfg.c: (FcConfigNewestFile):
2335 Oops. Left 'newest.set' unset, which would miscompute
2338 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2339 (FcFreeTypeCheckGlyph):
2340 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2341 font properties (which report the wrong value in current FreeType)
2343 Don't attempt to check for empty glyphs in non-scalable fonts; they
2346 2004-02-01 Tor Lillqvist <tml@iki.fi>
2348 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2349 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2350 cache if config->cache is NULL, which happens if FcConfigHome() is
2351 NULL. Guard against that by using the temp folder in that case.
2353 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2355 * fc-lang/az_ir.orth:
2356 * fc-lang/ku_ir.orth:
2357 * fc-lang/ps_af.orth:
2358 * fc-lang/ps_pk.orth:
2359 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2360 (Afghan and Pakistani).
2362 Updated Urdu orthography with real data.
2364 2003-12-11 Carl Worth <cworth@east.isi.edu>
2366 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2369 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2371 (all-local): Remove excessive whitespace.
2373 * autogen.sh: Add 'set -e' to abort when any program fails,
2374 (avoids printing of 'now type make' after configure aborts).
2376 2003-11-17 Eric Christopherson <rakko@charter.net>
2378 reviewed by: Keith Packard <keithp@keithp.com>
2381 * fontconfig/fcfreetype.h:
2383 Switch to FreeType 2.1.7 style includes. Bug #150.
2385 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2387 * fc-list/fc-list.sgml: Add some example usages.
2389 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2392 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2395 2003-10-27 Keith Packard <keith@keithp.com>
2398 * fontconfig/fontconfig.h:
2399 Update to version 2.2.92
2401 2003-10-27 Keith Packard <keithp@keithp.com>
2406 * fc-cache/Makefile.am:
2407 * fc-glyphname/Makefile.am:
2408 * fc-lang/Makefile.am:
2409 * fc-list/Makefile.am:
2410 * fc-match/Makefile.am:
2413 Yet more cleanups to finish getting 'make distcheck' working
2414 This has been tested to ensure that it even works from a _build
2417 2003-10-26 Keith Packard <keithp@keithp.com>
2421 * fc-cache/Makefile.am:
2422 * fc-glyphname/Makefile.am:
2423 * fc-lang/Makefile.am:
2424 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2425 * fc-list/Makefile.am:
2426 * fc-match/Makefile.am:
2427 Attempts to fix 'make distcheck' work. Things are
2428 progressing pretty well, but there are still failures
2429 long into the process dealing with docs (as always).
2431 The big changes here are mostly to make $(srcdir) != "."
2432 work correctly, fixing the docbook related sections and
2433 fc-lang were particularily tricky. Docbook refuses to load
2434 system entities from anywhere other than where the original .sgml
2435 file was located, so no luck looking in "." for the
2436 configure-generated version.sgml and confdir.sgml files.
2438 fc-lang needed help finding .orth files; added a -d option
2439 to set the directory as the least evil of many options.
2441 Now to go use a faster machine and try and wring out the last
2444 2003-10-26 Keith Packard <keithp@keithp.com>
2448 2003-10-26 Keith Packard <keithp@keithp.com>
2451 Include confdir.sgml.in in EXTRA_DIST
2453 2003-10-09 Josselin Mouette <joss@debian.org>
2455 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2456 * fc-list/fc-list.sgml fc-list/Makefile.am:
2457 Replace fc-cache and fc-list manpages with more detailed, SGML
2460 2003-09-23 Owen Taylor <otaylor@redhat.com>
2462 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2463 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2464 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2467 2003-09-23 Owen Taylor <otaylor@redhat.com>
2469 * fc-lang/ka.orth: Remove Georgian capitals, they
2470 aren't used for normal writing. (Bug #116)
2472 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2474 * doc/fontconfig-devel.sgml:
2475 * doc/fontconfig-user.sgml:
2476 * fontconfig/fontconfig.h:
2478 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2479 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2481 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2482 monospace and dual-width fonts, allow roughly a 3% variance in the
2485 2003-08-31 Manish Singh <yosh@gimp.org>
2487 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2490 2003-08-15 Carl Worth <cworth@isi.edu>
2492 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2493 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2495 * src/fcpat.c (FcValueListEntDestroy): New function to support
2496 FcFini memory cleanup. Some statistics are not kept in
2498 (FcValueListFreeze): Move hashTable outside this function so it
2499 can be accessed by FcValueListThawAll.
2500 (FcValueListThawAll): New function complements FcValueListFreeze.
2501 (FcPatternBaseFreeze): Move hashTable outside this function so it
2502 can be accessed by FcPatternBaseThawAll.
2503 (FcPatternBaseThawAll): New function complements
2504 FcPatternBaseFreeze.
2505 (FcPatternThawAll): New function complements FcPatternFreeze.
2507 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2509 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2510 allocated FcCharLeafEnt "blocks" so they can be freed later.
2511 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2512 can be accessed by FcCharSetThawAllLeaf.
2513 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2514 (FcCharSetFreezeBase): Move hashTable outside this function so it
2515 can be accessed by FcCharSetThawAll.
2516 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2518 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2519 (FcConfigDestroy): Fic leak of FcBlanks.
2521 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2522 (main): Add call to FcFini when finished.
2524 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2525 static. Add prototypes.
2527 * doc/fcinit.fncs: Add documentation for FcFini function.
2529 * doc/edit-sgml.c: Mark several local functions as static. Add
2532 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2534 2003-06-15 Tor Lillqvist <tml@iki.fi>
2536 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2537 before comparing (needed on Windows).
2539 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2541 2003-06-13 Tor Lillqvist <tml@iki.fi>
2543 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2546 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2547 WINDOWSFONTDIR token.
2549 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2550 end, not to confuse libtool, which expects the EXPORTS line to be
2551 the first. Add FcConfigEnableHome.
2553 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2554 built as a DLL on Win32.
2556 2003-06-09 Keith Packard <keithp@keithp.com>
2558 * Tag version 2.2.90
2560 2003-06-09 Keith Packard <keithp@keithp.com>
2562 * Optimization in FcLangSetIndex was broken, occasionally
2563 returning a pointer to the wrong location on miss
2565 * Add fc-match to test font matching from the command line.
2567 2003-05-31 Keith Packard <keithp@keithp.com>
2569 * (Bug 85) add support for culmus fonts
2570 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2571 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2573 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2575 * Fix "contains" op for strings and langsets.
2577 2003-05-17 Keith Packard <keithp@keithp.com>
2579 * Fix build error with BDF prop local. Free langset after query
2581 2003-05-14 Keith Packard <keithp@keithp.com>
2583 * Extract spacing from XLFD atom
2585 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2587 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2588 disappeared in 1.30.
2590 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2592 2003-05-12 Keith Packard <keithp@keithp.com>
2594 * Use FcIsWidth to share code
2596 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2597 misclassifying some Han fonts as monospaced.
2599 2003-05-07 Keith Packard <keithp@keithp.com>
2601 * Add filename-based accept/reject to ammend available fonts.
2603 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2604 older FreeType releases.
2606 2003-05-06 Keith Packard <keithp@keithp.com>
2608 * Remove 0b82 and Tamil numbers from tamil
2609 orthography (Jungshik Shin <jshin@mailaps.org>)
2611 2003-05-04 Keith Packard <keithp@keithp.com>
2613 + Map glyph names in fonts with adobe custom encoding to unicode
2615 2003-05-02 Keith Packard <keithp@keithp.com>
2617 * Add FC_WEIGHT_BOOK as weight 75
2619 2003-04-30 Keith Packard <keithp@keithp.com>
2621 * Typo in bitstream foundry name
2623 2003-04-24 Keith Packard <keithp@keithp.com>
2625 * Eliminate italic_angle check for PS fonts
2627 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2629 * Getting closer to fixing /etc/fonts hard-coding.
2631 2003-04-22 Keith Packard <keithp@keithp.com>
2633 * Update autogen.sh to work with newer automake versions
2634 * Handle pattern elements moving during multiple edits
2636 2003-04-23 James Henstridge <james@daa.com.au>
2638 * doc/fontconfig-devel.sgml: close the <para> element.
2640 * doc/fcpattern.fncs: close the <para> element.
2642 * doc/func.sgml: close the <refsynopsisdiv> element.
2644 2003-04-22 Keith Packard <keithp@keithp.com
2646 * Update autogen.sh to work with newer automake versions
2647 * Handle pattern elements moving during multiple edits
2649 2003-04-17 Colin Walters <walters@debian.org>
2651 + Remove some unused variables, and initialize some other ones so
2652 gcc doesn't warn us.
2654 2003-04-16 Keith Packard <keithp@keithp.com>
2656 + tag version 2.1.94
2658 2003-04-16 Keith Packard <keithp@keithp.com>
2660 + add BDF property fetching support for foundry
2661 (from Juliusz Chroboczek)
2662 + add BDF property fetching support for width
2664 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2666 + Implemented foundry generation for Type 1 and TrueType
2668 2003-04-11 Gerard Escalante <g2@magestudios.net>
2670 + Retrieve information from Type1 FontInfo dictionaries
2672 2003-04-07 Colin Walters <walters@verbum.org>
2674 + src/Makefile.am: Fix dummy makefile target names when
2675 MS_LIB_AVAILABLE isn't set.
2677 2003-03-22 Tor Lillqvist <tml@iki.fi>
2679 Changes for Windows:
2681 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2683 + We don't want to hardcode the fonts.conf file location in the
2684 DLL, so we look up the DLL location at run-time in a DllMain()
2685 function. The fonts.conf location is deduced from that.
2687 + The colon can't be used as path separator on Windows,
2688 semicolon is used instead. File path components can be separated
2689 with either slash or backslash. Absolute paths can also begin
2690 with a drive letter.
2692 + Add internal function FcStrLastSlash that strrchr's the last
2693 slash, or backslash on Windows.
2695 + There is no link() on Windows. For atomicity checks, mkdir a
2696 lock directory instead.
2698 + In addition to HOME, also look for USERPROFILE.
2700 + Recognize the special font directory token WINDOWSFONTDIR, to
2701 use the system's font directory.
2703 + Remove the fontconfig-def.cpp that was obsolete. Add
2704 fontconfig.def(.in), without internal functions.
2706 + Add a fontconfig-zip(.in) script, used to build a binary
2709 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2710 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2711 to main package and man3/* to devel package
2713 + Added missing defattr(-, root, root) to main RPM package
2715 + Added HTML and text development documentation to -devel subpackage
2717 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2718 + Added back the configure macro options --disable-docs, otherwise
2719 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2720 version number) unconditionally, causing RPM to fail the build due
2721 to _unpackaged_files_terminate_build. We pick up the pregenerated
2722 docs with %doc already.
2724 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2725 + Removed commented out rpm macro define at top of spec file,
2726 replacing it with a simple explanation, since rpm macros are
2727 expanded by rpm even in comments.
2729 + Changed /usr/bin to _bindir in BuildRequires lines
2731 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2733 + Reorganized file manifest lists
2735 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2737 + fontconfig.spec.in: Improvements from Red Hat spec file.
2739 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2741 + docs/*.sgml: SGML fixes.
2743 Sat Mar 1 17:28:53 PST 2003 keithp
2744 + Ok, so the ChangeLog is a bit out of date
2746 + Lots of bugs fixed; most are in bugzilla, the
2747 biggest problems were in cache management where
2748 Owen discovered the library would lose badly when
2749 combining fonts-cache and ~/.fonts-cache data
2751 + Converted from autoconf to automake. This after
2752 getting patches accepted into libtool to allow
2753 the '-version-number' argument which lets
2754 packages set version numbers explicitly rather
2755 than the roundabout libtool way
2757 + Converted documentation to SGML using the docbook
2758 DTD. Now .txt and .html documents are installed
2759 in /usr/share/doc/fontconfig and there's no
2760 man page. Perhaps a man version can be written
2763 Sat Aug 31 15:21:22 PDT 2002 keithp
2764 + Xrender and Xft had several bugs related to
2765 rendering manually placed or poly-face text
2767 + Added more complete memory tracing in fontconfig
2768 Checked with (patched) mozilla and found no leaks
2770 + Updated Latin orthographies by comparing those from
2771 evertype.com with those from eki.ee. Tried to make
2772 sensible choices, including chars that occured in both
2773 and leaving some optional chars out that occured only
2776 Mon Aug 26 16:33:04 PDT 2002 keithp
2777 + Owen discovered that FcLangSetHasLang wasn't actually
2778 checking the language set.
2780 Mon Aug 26 13:37:23 PDT 2002 keithp
2781 + Append a version number to cache filenames
2783 Thu Aug 22 11:36:18 PDT 2002 keithp
2785 + Add "contains" and "not_contains" operators and elements to
2788 + Changed semantics of eq operator for LangSets to check for
2789 FcLangEqual so that any match will do
2791 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2792 of FcValueEqual to check for identical values when inserting into
2793 the results. This broke when the above semantic change was made,
2794 now it uses FcValueEqual which is "more correct" in any case.
2796 Thu Aug 22 00:32:29 PDT 2002 keithp
2798 + Reimplement FC_LANG as new datatype. Lists of strings
2799 was consuming over a megabyte of memory for 401 fonts.
2801 + Freeze patterns loaded from cache files. This shares
2802 common value lists and common patterns which saves
2803 considerable memory.
2805 + Change the denotation of 'constant' charsets to use special
2806 ref value instead of separate boolean.
2808 + Clean up leak tracing stuff, found several unannoted alloc/free
2811 Tue Aug 20 16:17:37 PDT 2002 keithp
2813 + Fix memory leak when parsing matrices from XML
2815 Mon Aug 19 11:57:27 PDT 2002 keithp
2817 + Fix autoconf files to pass FONTCONFIG_PATH on
2818 compile line so that ${prefix} gets substituted
2821 + Use getc_unlocked/putc_unlocked on systems that
2822 provide them to avoid damage done to stdio by posix
2824 + Eliminate FC_PATTERN and FcTypePattern in favor of
2825 an extended api for FcConfigSubstitute which takes
2826 both the font and the pattern.
2828 + Add 'sans serif' alias for 'sans-serif' as some apps
2829 can't handle hyphens in family names
2831 + Eliminate pretense of support for libxml2
2833 + Comment origins of Han orthographies
2835 Tue Jul 30 18:37:09 PDT 2002 keithp
2837 + Add binding property to edit element so that strong
2838 binding values may be inserted by the config file.
2839 The default remains weak.
2841 Sun 28 Jul 04:16:55 PDT 2002 keithp
2843 + Tagged release candidate 1 in the CVS tree and
2844 placed fcpackage.rc1.tar.gz for distribution
2846 Thu Aug 1 08:55:08 PDT 2002 keithp
2848 + Fixed autoconf builds to always specify install
2849 target files (for BSD). Also fixed to
2850 define FONTCONFIG_PATH in config.h so that
2851 nonstandard installs will actually work.