1 2006-02-18 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheHasCurrentArch):
4 Fix segfault (reported by fcrozat) caused by incorrect
7 2006-02-17 Patrick Lam <plam@mit.edu>
8 * src/fcint.h (FC_CACHE_MAGIC):
10 Bump up magic version; we changed the binary format.
12 2006-02-17 Patrick Lam <plam@mit.edu>
13 * fc-cat/fc-cat.c (main):
15 Enable fc-cat to print out old-style cache info when given a
18 2006-02-16 Patrick Lam <plam@mit.edu>
19 * src/fccache.c (FcDirCacheHasCurrentArch):
21 Deal correctly with changing FC_CACHE_MAGIC.
23 2006-02-16 Patrick Lam <plam@mit.edu>
24 * fc-cache/fc-cache.c (usage, scanDirs, main):
26 Add -r --really-force option which blows away cache files and then
29 2006-02-16 Patrick Lam <plam@mit.edu>
30 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
32 Don't bail if fontconfig can't remove a dir cache file.
33 Skip the ID of a cache file when copying.
34 Eliminate 'source file too small' bug in FcDirCacheWrite.
36 2006-02-13 Patrick Lam <plam@mit.edu>
37 * src/fcfreetype.c (FcFreeTypeQuery):
39 Fix memory leak in error condition code.
41 2006-02-13 Mike Fabian <mfabian@suse.de>
43 * src/fcfreetype.c (FcFreeTypeQuery):
45 Skip bitmap fonts which can't even get it together enough to
46 declare a family name; this appears to reproduce previous
49 2006-02-10 Takashi Iwai <tiwai@suse.de>
51 * src/fccache.c (FcDirCacheOpen):
53 Try to open /var/cache/fontconfig/[hashed name] before
54 fonts.cache-2 in a directory, because /var/cache/fontconfig
55 failures ought to be fixable, unlike fonts.cache-2 failures,
56 which may leave you screwed.
58 2006-02-10 Takashi Iwai <tiwai@suse.de>
60 * src/fcmatch.c (FcFontSetMatch):
62 Use a tri-state to mark the fonts which didn't get blocked but
63 were just missing an element, to distinguish them from the
64 fonts that do match the element.
66 2006-02-10 Takashi Iwai <tiwai@suse.de>
68 * src/fcmatch.c (FcFontSetMatch):
70 Don't kill fonts because they don't declare an element that's
73 2006-02-09 Patrick Lam <plam@mit.edu>
74 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
75 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
77 Define and pass O_BINARY to open if appropriate, for those
78 platforms that need it. Reported by Doodle.
80 2006-02-09 Patrick Lam <plam@mit.edu>
81 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
84 Fix problem with missing 'en' due to euro.patch: change
85 cache file format slightly to coincide with that generated
88 2006-02-07 Patrick Lam <plam@mit.edu>
89 * src/fccache.c (FcCacheReadDirs):
93 2006-02-07 Patrick Lam <plam@mit.edu>
94 * src/fcdir.c (FcDirScanConfig):
96 Don't reject dirs that can't be normalized (fixes lilypond, and
97 is correct in the context of application font directories.)
99 2006-02-07 Takashi Iwai <tiwai@suse.de>
102 * src/fccache.c (FcCacheReadDirs):
104 Use normalized directory name exclusively in FcCacheReadDirs.
106 2006-02-07 Dirk Mueller <dmueller@suse.com>
109 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
111 Perf optimizations. Inline FcValueCanonicalize,
112 reduce FcValueListPtrU usage, remove redundant cast.
114 2006-02-07 Takashi Iwai <tiwai@suse.de>
117 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
120 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
121 Declare extern for static arrays as arrays, not pointers.
122 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
124 2006-02-07 Dirk Mueller <dmueller@suse.com>
137 Add Euro sign to list of symbols required by European languages.
139 2006-02-07 Patrick Lam <plam@mit.edu>
140 * src/fccache.c (FcCacheReadString):
142 Fix hidden variable warning.
144 2006-02-07 Dirk Mueller <dmueller@suse.com>
147 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
149 Remove de-escaping logic because FcCacheWriteString
150 doesn't escape anyway. Do blockwise reading instead
151 of byte-wise for performance.
153 2006-02-06 Patrick Lam <plam@mit.edu>
154 Takashi Iwai <tiwai@suse.de>
156 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
158 Don't loop infinitely on recursive symlinks (client-side).
160 2006-02-06 Takashi Iwai <tiwai@suse.de>
162 * fc-cache/fc-cache.c (scanDirs, main):
164 Don't loop infinitely on recursive symlinks.
166 2006-02-06 Takashi Iwai <tiwai@suse.de>
168 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
169 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
170 FcGlobalCacheSave, FcCacheReadDirs):
173 Skip subdirs when skipping over stale bits of global cache.
174 Introduce state machine into FcGlobalCacheDir to avoid
175 doing inappropriate operations on global dir entries, e.g.
176 writing out an out-of-date cache entry.
178 2006-02-06 Takashi Iwai <tiwai@suse.de>
180 * src/fcdir.c (FcFileScanConfig):
182 Hoist FcFileIsDir check out of FcFileScanConfig loop.
184 2006-02-06 Takashi Iwai <tiwai@suse.de>
187 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
188 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
190 Don't rescan when trying to normalize a non-declared font dir.
191 Don't add font dirs multiple times (even if they're aliased).
193 2006-02-06 Dirk Mueller <dmueller@suse.de>
196 * src/fcfs.c (FcFontSetUnserialize):
198 Explain apples/oranges comparison and fix compilation error.
200 2006-02-06 Dirk Mueller <dmueller@suse.de>
203 * src/fcfs.c (FcFontSetUnserialize):
205 Insert check for integer overflow in # of fonts.
207 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
211 * fc-cache/Makefile.am:
212 * fc-cat/Makefile.am:
213 * fc-list/Makefile.am:
215 Make 'make distcheck' work with automake 1.6.3.
217 2006-02-03 Takashi IWAI <tiwai@suse.de>
220 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
223 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
224 FcDirCacheConsume, FcDirCacheWrite)
225 * src/fcxml.c (FcConfigMessage):
227 Check I/O call return values and eliminate unused variable
230 2006-02-03 Takashi Iwai <tiwai@suse.de>
233 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
237 2006-02-03 Dirk Mueller <dmueller@suse.de>
240 * src/fcfs.c (FcFontSetUnserialize):
242 Gracefully handle the case where a cache asserts that it
243 has a negative number of fonts, causing overflow.
245 2006-02-03 Patrick Lam <plam@mit.edu>
246 * src/fccache.c (FcDirCacheUnlink):
248 Fix double free in error case.
250 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
251 Stephan Kulow <coolo@suse.de>
254 * fc-cache/Makefile.am:
256 Replace 'stamp' target with mkinstalldirs.
258 2006-01-31 Mike Fabian <mfabian@suse.de>
261 * src/fccache.c (FcGlobalCacheLoad):
263 Toast broken global cache files.
265 2006-01-30 Patrick Lam <plam@mit.edu>
266 * src/fccache.c (FcGlobalCacheReadDir):
268 Actually use the directories that I added to the global cache.
271 2006-01-30 Mike Fabian <mfabian@suse.de>
274 * fc-cache/fc-cache.c (scanDirs):
276 Don't stop scanning if a directory in fonts.conf doesn't
277 exist, because subsequent directories might exist.
279 2006-01-30 Patrick Lam <plam@mit.edu>
280 * src/fccache.c (FcGlobalCacheLoad):
282 Make global cache work again after putting dir names into global
283 cache (I misplaced the recording of a file offset).
285 2006-01-30 Patrick Lam <plam@mit.edu>
286 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
288 Update fc-cat to handle subdir lists in global cache file.
290 * src/fccache.c (FcGlobalCacheLoad):
292 Another FcCacheReadString return value check.
294 2006-01-30 Mike Fabian <mfabian@suse.de>
297 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
298 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
300 Make fccache more resilient to broken cache files by checking
301 return value of FcCacheReadString all the time.
303 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
306 * fc-match/fc-match.1:
307 * fc-lang/fc-lang.man:
309 Remove references to dead fontconfig(3) manpages in
310 other fontconfig manpages.
312 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
315 * doc/fcpattern.fncs:
317 Fix world's tiniest typo in code example.
319 2006-01-29 Mike Fabian <mfabian@suse.de>
322 * src/fccache.c (FcGlobalCacheReadDir):
324 Fix global cache reads of subdirectories.
326 2006-01-29 Patrick Lam <plam@mit.edu>
328 Add documentation for FcConfigNormalizeFontDir.
330 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
331 FcGlobalCacheUpdate, FcGlobalCacheSave):
332 * src/fcdir.c (FcDirScanConfig):
335 Write directory information to global caches to fix make check
336 (reported by Ronny V. Vindenes). This changes the global cache
339 2006-01-27 Patrick Lam <plam@mit.edu>
340 * fc-cache/fc-cache.c (scanDirs):
341 * fontconfig/fontconfig.h:
343 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
345 Move FcConfigNormalizeFontDir call so that it doesn't result in
346 infinite recursion (reported by Ronny V. Vindenes).
348 2006-01-26 Patrick Lam <plam@mit.edu>
349 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
350 * src/fccfg.c (FcConfigNormalizeFontDir):
352 Add a couple of missing normalizations to make fc-cache work
353 right; only scan subdirectories once.
355 2006-01-26 Mike Fabian <mfabian@suse.de>
358 * src/fcacache.c (FcGlobalCacheReadDir):
360 Don't crash on non-existant directories in global cache.
362 2006-01-26 Patrick Lam <plam@mit.edu>
363 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
364 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
365 * src/fcdir.c (FcDirScanConfig):
366 * src/fcxml.c (FcEndElement):
368 Stop trampling the directory name when writing out caches.
369 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
370 subdirs when necessary. Don't scan directories that can't be
373 2006-01-25 Patrick Lam <plam@mit.edu>
374 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
375 * src/fccfg.c (FcConfigEvaluate):
376 * src/fcfreetype.c (FcPatternAddWithBinding):
378 Fix additional memory leaks reported by Ronny V. Vindenes: don't
379 invoke FcValueSave on hashed static strings in
380 FcPatternAddWithBinding.
382 Add another st_dev check in FcDirCacheOpen.
384 2006-01-24 James Su <james.su@gmail.com>
387 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
388 * fc-lang/zh_hk.orth:
390 Treat zh-hk fonts differently from zh-tw fonts. This patch may
391 cause fontconfig to treat A-X fonts differently from A-Y fonts;
392 please mail the fontconfig list if this causes any problems.
394 2006-01-24 Patrick Lam <plam@mit.edu>
395 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
396 * src/fcfreetype.c (FcFreeTypeQuery):
398 Fix memory leaks reported by Ronny V. Vindenes.
400 2006-01-19 Andreas Schwab <schwab@suse.de>
403 * src/fcpat.c (FcStrNeededBytes):
405 Fix for unaligned memory accesses.
407 2006-01-18 Mike Fabian <mfabian@suse.de>
410 * src/fcdir.c (FcDirScanConfig):
412 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
413 calls to avoid crashes.
415 2006-01-14 Patrick Lam <plam@mit.edu>
416 * src/fccache.c (FcDirCacheConsume):
418 Fix segfault when consuming zero-length caches in fc-cat
419 (which has no config, so FcConfigAddFontDir shouldn't be called.)
421 2006-01-14 Patrick Lam <plam@mit.edu>
422 * fc-cache/fc-cache.c (scanDirs):
423 * fontconfig/fontconfig.h:
424 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
425 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
426 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
427 * src/fcdir.c (FcDirScanConfig):
430 Compare device numbers as well as inodes.
431 Always normalize directory names before comparing them.
433 2006-01-11 Mike Fabian <mfabian@suse.de>
436 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
438 Allocate extra space for appended '/' in directory name.
440 2006-01-10 Patrick Lam <plam@mit.edu>
441 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
442 FcDirCacheValid, FcDirCacheHasCurrentArch,
443 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
444 * fc-cache/fc-cache.c (main):
446 Explicitly add font dirs to config.fontDirs even if they're empty.
447 Set current config in fc-cache.c.
448 Fix treatment of cache directory as read from cache file; don't
449 use string equality to determine if we have the right file,
452 2006-01-09 Patrick Lam <plam@mit.edu>
453 * fc-cache/fc-cache.c (scanDirs):
454 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
455 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
456 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
457 * src/fccfg.c (FcConfigNormalizeFontDir):
458 * src/fcdir.c (FcDirScanConfig):
461 Normalize font dirs by using the form, as given in fonts.conf, and
462 recorded in FcConfig's fontDirs string set, as canonical.
464 Actually update config.fontDirs as font directories are scanned.
466 2006-01-08 James Su <james.su@gmail.com>
467 * src/fcmatch.c (FcFontSetMatch):
469 Fix matching bug when multiple elements match; don't use
470 the sum of all scores, but the best score.
472 Also more perf opts, e.g. evaluate best over all font sets
473 rather than on a per-set basis (and other changes).
475 2006-01-08 Patrick Lam <plam@mit.edu>
476 * src/fccache.c (FcDirCacheConsume):
478 Properly skip past dir caches that contain zero fonts (as occurs
479 in global caches.) Reported by Mike Fabian.
481 2006-01-06 Patrick Lam <plam@mit.edu>
482 * src/fcdbg.c (FcPatternPrint):
484 Print out full pathname in fc-match -v as well. Reported by
487 2006-01-06 Mike Fabian <mfabian@suse.de>
490 * src/fcname.c (FcNameParse):
492 Fix bug where fc-match crashes when given __DUMMY__ property to
495 (I added the __DUMMY__ string to enable callers of
496 FcObjectToPtrLookup to distinguish an error return from a
497 successful return. -PL)
499 2006-01-05 Patrick Lam <plam@mit.edu>
502 Add self to AUTHORS list.
504 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
505 FcCacheFileRead, FcCachePrintSet, main):
506 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
507 FcGlobalCacheSave, FcCacheNextOffset,
508 FcDirCacheHasCurrentArch, FcDirCacheRead,
509 FcDirCacheConsume, FcDirCacheWrite):
511 * src/fcpat.c (comment):
513 Minor change to global cache file format to fix fc-cat bug
514 reported by Frederic Crozat, and buglet with not globally caching
515 directories with zero fonts cached.
517 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
520 * src/fccfg.c (FcConfigEvaluate):
522 Fix double-free which occurs because FcValueCanonicalize doesn't
523 create an extra copy of the returned value, it only canonicalizes
526 2006-01-02 Patrick Lam <plam@mit.edu>
527 * doc/fontconfig-user.sgml:
529 Fix version of .cache file (currently 1 -> currently 2). Reported
532 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
535 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
537 Shut up GCC warnings on amd.
539 2005-12-20 Patrick Lam <plam@mit.edu>
543 * fontconfig/fontconfig.h:
545 Bump version to 2.3.93.
547 2005-12-20 Patrick Lam <plam@mit.edu>
548 * src/fccharset.c (FcLangCharSetPopulate):
549 * src/fcint.h (FcCacheBankToIndex):
551 Avoid check on _fcBankId nullness and fix case where it used to
554 2005-12-20 Patrick Lam <plam@mit.edu>
555 * src/fcxml.c (FcConfigParseAndLoad):
557 Use open instead of fopen (requested by Phil Race for Sun).
559 2005-12-20 Patrick Lam <plam@mit.edu>
560 * src/fccache.c (FcDirCacheWrite);
561 * fc-cache/Makefile.am:
563 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
566 2005-12-20 Patrick Lam <plam@mit.edu>
567 * src/fcfreetype.c (FcFreeTypeQuery):
569 Restore code to skip over PCF fonts that have no encoded
571 (We guess that a font is PCF by presence of the PIXEL_SIZE
574 2005-12-12 Patrick Lam <plam@mit.edu>
575 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
577 Read and write the original location as a fallback for the
578 hashed cache file locations. This is mostly for users to be
579 able to have per-directory cache files.
581 2005-12-12 Patrick Lam <plam@mit.edu>
582 * fc-cache/fc-cache.c (scanDirs):
583 * fc-cache/Makefile.am:
584 * src/fccache.c (FcDirCacheHashName):
586 Improve error message when fc-cache can't write the cache. Add
587 missing slash. Reported by Behdad. Incorporate Behdad's patch to
588 create /var/cache/fontconfig when appropriate.
590 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
593 * src/fcxml.c (FcConfigGetAttribute):
595 Fix crash reported by Frederic Crozat when using libxml2.
597 2005-12-09 Patrick Lam <plam@mit.edu>
600 * fc-cache/Makefile.am:
601 * fc-cat/Makefile.am:
603 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
604 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
605 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
606 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
607 FcDirCacheHasCurrentArch, FcDirCacheHashName,
608 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
610 Migrate cache files from fonts directories to
611 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
612 but requires that all caches get rebuilt.
614 Also, autogen.sh now needs the additional parameter
615 --localstatedir=/var.
617 2005-12-07 Patrick Lam <plam@mit.edu>
618 * src/fcpat.c (FcPatternAddString):
620 Because we've changed FcPatternAddString to use FcStrStaticName
621 and not FcValueSave, explicitly handle the case of a null string.
623 2005-12-06 Patrick Lam <plam@mit.edu>
624 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
628 2005-12-05 Patrick Lam <plam@mit.edu>
629 * src/fcname.c (FcNameGetObjectType):
631 Don't assign types to user object names.
633 2005-12-05 Patrick Lam <plam@mit.edu>
634 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
636 Don't free strings that have been returned from FcStrStaticName.
638 2005-12-01 Patrick Lam <plam@mit.edu>
639 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
641 Add codepath for reading global cache files as well.
643 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
646 * conf.d/10-fonts.persian.conf:
647 * conf.d/Makefile.am:
649 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
651 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
654 * src/fcxml.c (FcConfigParseAndLoad):
656 Only add a config file to the set of config files once.
658 2005-11-29 Patrick Lam <plam@mit.edu>
659 * src/fcint.h (FcCacheBankToIndex);
661 Fix segfault by guarding array dereference.
663 2005-11-29 Dirk Mueller <dmueller@suse.de>
667 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
668 FcCacheBankToIndex, FcCacheBankToIndexMTF,
672 Refactor FcCacheBankToIndex into an inlineable part
673 (in fcint.h) which checks the front of the list and a
674 non-inlineable part which finds and moves the appropriate element
675 to the front of the list.
677 2005-11-29 Patrick Lam <plam@mit.edu>
678 * src/fccfg.c (FcConfigBuildFonts):
679 * src/fccache.c (FcCacheReadDirs):
681 Make the perf guys hate me a bit less: hoist the directory-name
682 FcConfigAcceptFont check for cached fonts up to directory cache
683 read time, rather than running it for each font.
685 2005-11-29 Patrick Lam <plam@mit.edu>
686 * src/fccfg.c (FcConfigBuildFonts):
688 * src/fcpat.c (FcPatternFindFullFname):
690 Don't make FcPatternFindFullFname available to fccfg, it's not
691 really safe. Instead go through FcPatternGetString (sorry,
692 perf guys.) Also, use globs for dirs as well.
694 2005-11-28 Patrick Lam <plam@mit.edu>
695 * src/fccfg.c (FcConfigBuildFonts):
699 2005-11-28 Patrick Lam <plam@mit.edu>
701 * src/fcpat.c (FcPatternFindFullFname):
702 * src/fccfg.c (FcConfigBuildFonts):
704 Fix problem dating back at least to 2.3.2 where globs weren't
705 being applied to patterns loaded from a cache.
707 2005-11-28 Patrick Lam <plam@mit.edu>
708 * doc/fontconfig-user.sgml:
710 Fix some obvious spelling mistakes.
712 2005-11-28 Dirk Mueller <dmueller@suse.com>
713 Stephan Kulow <coolo@suse.de>
716 * src/fcmatch.c (FcFontSetMatch):
718 Don't kill all fonts during match (oops!)
721 2005-11-25 Dirk Mueller <dmueller@suse.com>
722 Stephan Kulow <coolo@suse.de>
723 Michael Matz <matz@suse.de>
726 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
729 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
730 inline FcCompare into FcFontSetMatch and reorder the
731 loops, adding a boolean array which blocks patterns from future
732 consideration if they're known to not be best on some past
735 2005-11-26 Dirk Mueller <dmueller@suse.com>
738 * src/fcmatch.c (FcCompareValueList):
742 2005-11-25 Patrick Lam <plam@mit.edu>
743 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
745 Don't do random matching when bad objects are passed into
748 2005-11-25 Patrick Lam <plam@mit.edu>
750 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
751 FcPatternSerialize, FcPatternUnserialize,
752 FcValueListEnsureBank, FcValueListDistributeBytes,
753 FcValueListUnserialize):
755 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
756 _fcPatternElts, _fcValueLists for consistency.
758 2005-11-25 Dirk Mueller <dmueller@suse.com>
763 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
765 2005-11-25 Patrick Lam <plam@mit.edu>
767 * src/fccache.c (FcDirCacheConsume):
768 * src/fccharset.c (FcCharSetUnserialize):
769 * src/fcfs.c (FcFontSetUnserialize):
770 * src/fclang.c (FcLangSetUnserialize):
771 * src/fcname.c (FcObjectUnserialize):
772 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
773 FcPatternUnserialize):
775 Pass around FcCache *s to the Unserialize functions for extra
776 consistency (and less overhead, for what that's worth).
778 2005-11-24 Dirk Mueller <dmueller@suse.com>
782 * src/fcmatch.c (FcCompare*, FcFontSetSort):
783 * src/fcname.c (FcNameUnparseValue):
785 Inline the *PtrU functions to gain perf.
786 Remove unneeded params for the FcCompare* functions.
788 2005-11-24 Dirk Mueller <dmueller@suse.com>
791 * src/fcint.h, fontconfig/fontconfig.h:
793 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
795 * src/fcpat.c, src/fcint.h, src/fcname.c:
797 Check for type validity during FcPatternAddWithBinding, don't
798 verify type in FcFontMatch, don't call FcCanonicalize here
799 (which always does a deep copy).
801 2005-11-24 Dirk Mueller <dmueller@suse.com>
804 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
805 * src/fcpat.c (FcPatternAddWithBinding):
807 Make FcCompareString and FcCompareFamily less expensive.
808 Only add a value for FC_FAMILY if the proposed value is a string.
810 2005-11-24 Dirk Mueller <dmueller@suse.com>
813 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
814 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
815 * src/fcint.h (FcDebug):
817 Inline FcDebug invocations and only initialize once, in FcInit*.
818 Improve debug msg in FcPatternPrint.
820 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
823 * fontconfig/fontconfig.h:
826 Minor code warning cleanups.
828 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
831 * fc-match/fc-match.c (main):
833 Make getopt_long accept -s parameter to fc-match as well.
835 2005-11-21 Dirk Mueller <dmueller@suse.com>
838 * src/fcmatch.c (FcCompareValueList):
840 Manually perform inlining & partial redundancy elimination to
841 reduce calls to FcValueListPtrU.
843 2005-11-21 Dirk Mueller <dmueller@suse.com>
846 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
847 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
849 Only invoke strlen() when really necessary.
851 2005-11-19 Matthias Clasen <mclasen@redhat.com>
855 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
860 Get rid of the use of freetype internal headers in fcfreetype.c,
861 since those headers will go away with freetype 2.2. Replace with
862 public domain ftglue code from pango. Note that the patch removes
863 some extra error checking in FT_Get_BDF_Property() and comments
864 out the skipping of empty pcf fonts.
866 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
869 * fc-lang/fc-lang.c (main):
871 Further fix of patch from 2005-11-04: miscounted numbers count
872 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
873 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
875 Removed leafidx_count and numbers_count since they are the same
876 and replaced them with offset_count.
878 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
881 * fc-cat/fc-cat.c (main):
883 Don't crash when fc-cat invoked with no arguments.
885 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
888 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
890 Fix invalid read access caused by premature free and
891 GCC4 warnings in libxml2 codepath.
893 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
896 * src/fccfg.c (FcConfigValues):
898 List iteration not needed in FcConfigValues, since it's building
899 up the list itself; we can just strip FcVoid elements during
902 2005-11-17 Patrick Lam <plam@mit.edu>
903 * src/fccfg.c (FcConfigValues):
905 Fix crash on invalid constants in config files (forgot to update
906 a pointer upon list iteration.)
908 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
911 * src/fcxml.c (FcTypecheckExpr):
913 Complain about invalid constants in config files.
915 2005-11-17 Andreas Schwab <schwab@suse.de>
918 * src/fccache.c (FcGlobalCacheSave):
920 Don't add current_arch_start more than once.
922 2005-11-16 Patrick Lam <plam@mit.edu>
923 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
924 * src/fcfs.c (FcFontSetUnserialize):
925 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
926 * src/fcpat.c (FcStrUnserialize):
928 Fix ordering of ALIGN with respect to saving block_ptr; add
929 another ALIGN to fcfs.c.
931 2005-11-16 Patrick Lam <plam@mit.edu>
932 * src/fccache.c (FcDirCacheProduce)
934 Fix case where alignment bytes bumped up metadata->count
935 causing unwarranted failures to write cache files.
936 (Reported by Stephan Kulow).
938 2005-11-16 Patrick Lam <plam@mit.edu>
939 * src/fccache.c (FcDirCacheProduce):
940 * src/fccharset.c (FcCharSetDistributeBytes):
941 * src/fcfs.c (FcFontSetDistributeBytes):
943 * src/fclang.c (FcLangSetDistributeBytes):
944 * src/fcname.c (FcObjectDistributeBytes):
945 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
948 Add *NeededBytesAlign(), which overestimates the padding which is
949 later added by the new ALIGN macro. Fix alignment problems on
950 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
951 version by Andreas Schwab).
953 2005-11-16 Stephan Kulow <coolo@kde.org>
958 Use sysconf to determine proper PAGESIZE value; this
959 appears to be POSIX-compliant. (reported by Andreas Schwab)
961 2005-11-04 Patrick Lam <plam@mit.edu>
967 Fix bug 2878 (excessive relocations at startup for charsets,
968 reported by Ross Burton): fc-lang/fc-lang now creates the
969 static form of the langset, not the dynamic form, so that
970 the charsets should now be in .rodata.
972 2005-11-04 Patrick Lam <plam@mit.edu>
973 * src/fcdir.c (FcDirScanConfig):
975 Add test for validity of directory caches that
976 somehow got lost (reported by make distcheck).
978 2005-11-04 Patrick Lam <plam@mit.edu>
982 * fontconfig/fontconfig.h:
984 Bump version to 2.3.92.
986 2005-11-02 Patrick Lam <plam@mit.edu>
987 * src/fcpat.c (FcPatternDuplicate):
989 Fix argument ordering problem in call to FcPatternTransferFullFname.
991 2005-11-02 Patrick Lam <plam@mit.edu>
992 * src/fcfreetype.c (FcFreetypeQuery):
993 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
994 FcPatternTransferFullFname):
996 Fix warnings and embarrassing double-free error.
998 2005-11-02 Zhe Su <zsu@novell.com>
1003 Change the rule for artificial emboldening in fonts.conf.in. This
1004 enables the support for artificial emboldening included in cairo.
1006 2005-11-02 Patrick Lam <plam@mit.edu>
1007 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1009 Don't zero out full names for FC_REF_CONSTANT fonts;
1010 also, duplicate full names when transferring, and free
1011 full names when freeing the associated font.
1012 Reported by Jinghua Luo.
1014 2005-11-02 Patrick Lam <plam@mit.edu>
1015 * fc-cache/fc-cache.c (scanDirs):
1016 * src/fcpat.c (FcValueListSerialize):
1018 Revert the previous patch and commit the correct patch:
1019 I forgot a canonicalization in FcValueListSerialize, so
1020 that it would choke on already-serialized input files. Duh!
1022 2005-11-02 Patrick Lam <plam@mit.edu>
1023 * fc-cache/fc-cache.c (scanDirs):
1025 Forcibly rescan a directory before writing a fresh local
1026 cache file for that directory, fixing the losing-fonts
1027 problem reported by Mike Fabian and also apparently the
1028 font cache file corruption.
1030 2005-11-02 Patrick Lam <plam@mit.edu>
1031 * src/fccache.c (FcGlobalCacheLoad):
1033 Fix thinko: actually, the whole global cache is stale
1034 if the global cache is older than the (newest) config file.
1036 2005-11-02 Patrick Lam <plam@mit.edu>
1037 * src/fccache.c (FcGlobalCacheLoad):
1038 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1041 Declare the global cache of a directory's contents to be stale if
1042 the directory is newer than the (newest) configuration file.
1044 2005-10-31 Patrick Lam <plam@mit.edu>
1046 * src/fclist.c (FcListAppend):
1047 * src/fcmatch.c (FcFontRenderPrepare):
1048 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1049 FcPatternFreeze, FcPatternBaseFreeze):
1051 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1052 applications continue breaking.
1054 2005-10-31 Patrick Lam <plam@mit.edu>
1055 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1056 * src/fcfreetype.c (FcFreeTypeQuery):
1058 Fix small memory error (tried to free argv); use basename and
1059 dirname correctly (they can modify their arguments).
1061 2005-10-31 Patrick Lam <plam@mit.edu>
1069 Reinstate basename patch, but keep a hash table linking FcPatterns
1070 to their fully-qualified font names for clients' benefit. Clients
1071 only pay for the font names once they request the FC_FILE property
1072 from an FcPattern, but the font name is malloc'd at that point (i.e.
1073 not mmapped: that's impossible, since it may vary between machines.)
1074 Clients do have to pay for a copy of the path name per cache file.
1076 Note that FcPatternGetString now does some rewriting if you ask
1077 for an FC_FILE, appending the pathname as appropriate.
1079 2005-10-31 Patrick Lam <plam@mit.edu>
1080 * src/fcfreetype.c (FcFreeTypeQuery):
1082 Revert basename patch, which breaks fontconfig clients on my system.
1084 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1087 * fontconfig/fonts.conf.in:
1088 * fontconfig/fontconfig.h:
1092 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1093 to load embedded bitmaps or not.
1095 2005-10-25 Patrick Lam <plam@mit.edu>
1096 * src/fcfreetype.c (FcFreeTypeQuery):
1098 Only add basename to patterns' FC_FILE element, not any part of
1101 2005-10-22 Patrick Lam <plam@mit.edu>
1104 Add some more consts, fixing more GCC4 warnings.
1106 2005-10-22 Zhe Su <zsu@novell.com>
1109 Support localized font family and style names.
1110 This has been reported to break old apps like xfd, but modern
1111 (gtk+/qt/mozilla) apps work fine.
1113 2005-10-21 Patrick Lam <plam@mit.edu>
1114 * src/fccache.c (FcGlobalCacheLoad):
1116 Destroy the global cache file if it's terminally broken. (reported by
1119 2005-10-21 Patrick Lam <plam@mit.edu>
1120 * fc-list/fc-list.c (main):
1121 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1122 * fontconfig/fontconfig.h:
1124 Prevent fc-list from escaping strings when printing them (reported by
1127 2005-10-20 Marcus Meissner <meissner@suse.de>
1130 * fontconfig/fontconfig.h:
1132 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1134 2005-10-14 Ross Burton <ross@burtonini.com>
1137 * fc-glyphname/fc-glyphname.c:
1140 Add consts to variables so as to move arrays into .rodata.
1142 2005-10-14 Mike Fabian <mfabian@suse.de>
1145 * src/fccache.c (FcDirCacheUnlink):
1147 Check existence of directory cache file before attempting to unlink.
1149 2005-10-13 Patrick Lam <plam@mit.edu>
1150 * src/fccache.c (FcDirCacheUnlink):
1152 Fix flipped return value on unlink. (Reported by Mike Fabian)
1154 2005-10-12 Patrick Lam <plam@mit.edu>
1157 * src/fcdir.c (FcDirScanConfig):
1160 When fc-cache is run without --force, use directory cache files
1161 to speed up fc-cache run time. (Reported by Mike Fabian)
1163 2005-10-06 Patrick Lam <plam@mit.edu>
1165 * src/fcname.c (FcObjectToPtr):
1166 * src/fcpat.c (FcStrStaticName):
1168 Add padding to make valgrind and glibc not hate each other
1169 when calling strlen().
1171 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1172 reviewed by: plam & keithp
1176 Modify config file to use Greek fonts before Asian fonts with
1179 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1180 reviewed by: plam & keithp
1184 Use libtool -no-undefined flag on all platforms.
1186 2005-10-05 Patrick Lam <plam@mit.edu>
1187 * src/fccache.c (FcCacheHaveBank):
1189 Implement move-to-front array for banks (perf regression
1190 reported by Ronny V. Vindenes).
1192 2005-10-04 Patrick Lam <plam@mit.edu>
1193 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1194 FcDirCacheHasCurrentArch):
1195 * fc-cache/fc-cache.c (scanDirs):
1196 * fontconfig/fontconfig.h:
1198 Add new API which unlinks directory caches and checks dir caches
1199 for existence of appropriate sections. Fix fc-cache to unlink
1200 stale cache files and save directory caches that lack relevant
1203 2005-10-03 Patrick Lam <plam@mit.edu>
1204 * src/fccache.c (FcDirCacheValid):
1206 Ensure that a directory cache has the appropriate section
1207 before reporting that it is valid (reported by Matthias Clasen).
1209 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1217 Use libxml2 if requested (with --enable-libxml2) or if
1218 expat is not available.
1220 2005-09-29 Patrick Lam <plam@mit.edu>
1221 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1223 Fix multi-arch cache files: compute the position for the
1224 block to be added using info from OrigFile, not NewFile.
1226 2005-09-28 Patrick Lam <plam@mit.edu>
1227 * src/fccache.c (FcCacheMachineSignature):
1229 Cast results of sizeof() to unsigned int to get rid of
1230 warnings on x86_64 (thanks Matthias Clasen).
1232 2005-09-27 Patrick Lam <plam@mit.edu>
1233 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1236 Use FcAtomic to rewrite cache files.
1238 2005-09-27 Patrick Lam <plam@mit.edu>
1240 * src/fccache.c (FcDirCacheWrite):
1242 Don't unlink the fonts.cache-2 file even if there's no data
1243 to write; just write an empty cache file. (thanks Lubos Lunak)
1245 2005-09-27 Patrick Lam <plam@mit.edu>
1247 * src/fccache.c (FcDirCacheWrite):
1249 Allocate room for the subdirectory names in each
1250 directory cache. Thanks to James Cloos for finding
1251 and diagnosing this bug!
1253 2005-09-22 Patrick Lam <plam@mit.edu>
1255 * fc-cache/fc-cache.sgml:
1256 * src/fccache.c (FcDirCacheWrite):
1257 * src/fccache.h (struct FcCache):
1259 Update documentation -- fc-cache's man page now says that you
1260 need to run fc-cache once per cached architecture; add some
1261 documentation to the FcCache structure.
1263 Make fc-cache write out fonts.cache-2 files for directories with
1264 no fonts (i.e. only subdirectories).
1266 2005-09-22 Patrick Lam <plam@mit.edu>
1268 * fc-cache/fc-cache.sgml:
1269 * fc-case/fc-case.c:
1270 * fc-glyphname/fc-glyphname.c:
1276 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1280 * fc-lang/fc-lang.c:
1281 * fontconfig/fcprivate.h:
1282 * fontconfig/fontconfig.h:
1296 Implement new mmaped cache for font information.
1297 Bump so revision to 2.3.90.
1299 2005-07-25 Keith Packard <keithp@keithp.com>
1301 * doc/fontconfig-user.sgml:
1302 * fc-glyphname/fc-glyphname.c: (scan), (main):
1303 * fc-lang/fc-lang.c: (FcConfigHome):
1304 * fc-match/fc-match.c: (main):
1305 * src/fccfg.c: (FcConfigHome):
1306 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1307 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1308 (addtag), (FcFontCapabilities):
1309 * src/fcpat.c: (FcValueListEntCreate):
1310 * src/fcstr.c: (FcStrCaseWalkerInit):
1311 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1313 Various GCC 4 cleanups for signed vs unsigned char
1315 Match only [0-9]*.conf files in <include>{directory}</include>
1316 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1318 2005-07-15 Carl Worth <cworth@cworth.org>
1321 * src/fcinit.c: (FcFini):
1322 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1325 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1326 Pull the FcObjectStateName hash table out to file scope, and add
1327 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1330 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1333 2005-06-16 Patrick Lam <plam@MIT.EDU>
1337 * src/fccfg.c: (FcConfigCompareValue):
1338 Make FcOpNotContains use FcStrStr for strings so that
1339 it matches semantics for !FcOpContains.
1341 2005-05-20 Keith Packard <keithp@keithp.com>
1345 Move fontconfig source package to libs as per override
1347 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1349 reviewed by: Mike Fabian
1352 The ka.orth file requires several characters which are not
1353 used anymore in modern Georgian and which are missing in the free
1354 Georgian TrueType fonts downloadable at:
1356 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1358 2005-04-27 Keith Packard <keithp@keithp.com>
1362 Update date to real 2.3.2 release date.
1363 Fix change attributions
1365 2005-04-27 Keith Packard <keithp@keithp.com>
1368 Bump so revision for 2.3.2
1369 * fc-cache/fc-cache.c: (scanDirs):
1370 Fix a few minor leaks in error cases.
1372 2005-04-23 Keith Packard <keithp@keithp.com>
1377 * fontconfig/fontconfig.h:
1378 Update for version 2.3.2
1380 2005-04-21 Keith Packard <keithp@keithp.com>
1382 * debian/fontconfig.postinst:
1383 Don't force bitmap font enable in default
1384 configuration; allows users to override this in
1394 * debian/po/pt_BR.po:
1395 * debian/po/templates.pot:
1397 * debian/po/zh_CN.po:
1398 Updated translations
1400 * fc-cache/fc-cache.c: (main):
1401 Destroy font configuration on exit to help valgrind
1404 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1405 (FcFreeTypeCheckGlyph):
1406 Use own transcoding routines in preference to iconv
1407 which appears to have leaks in some translators.
1408 Call iconv_close after using iconv (oops).
1410 Prefer unicode encoding of Euro char as some
1411 fonts mis-encode Euro in other ones.
1413 Must fetch bitmap glyphs to get width values
1414 to check for monospace/dual-width fonts.
1416 2005-04-13 Ross Burton <ross@burtonini.com>
1419 Check that a pattern isn't already frozen in FcPatternFreeze.
1421 2005-03-31 Ross Burton <ross@burtonini.com>
1426 Run all FcPattern objects through FcObjectStaticName, so that
1427 compares can be done on pointers instead of strings (#2659)
1429 2005-03-17 Tor Lillqvist <tml@novell.com>
1431 * src/fontconfig.def.in: Add the .dll to the dll name.
1433 2005-03-10 Keith Packard <keithp@keithp.com>
1435 * debian/README.Debian:
1436 Update to reflect configuration changes
1438 * debian/fontconfig.postinst:
1439 Fix Autohint vs Autohinter mistake
1440 * debian/fontconfig.templates:
1441 Adopt changes from Josselin Mouette for configuration descriptions
1442 Update debian to version 2.3.1-2
1444 2005-03-08 Keith Packard <keithp@keithp.com>
1448 Update debian for 2.3.1
1450 2005-03-09 Tor Lillqvist <tml@novell.com>
1452 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1455 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1458 2005-03-08 Keith Packard <keithp@keithp.com>
1462 * fontconfig/fontconfig.h:
1465 2005-03-05 Keith Packard <keithp@keithp.com>
1467 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1468 Include space and remove numbers from valid script tags.
1469 This ensures that tags like 'lao ' work while rejecting
1470 those which have any digits.
1471 Eliminate a spurious debugging variable (len)
1473 2005-03-05 Keith Packard <keithp@keithp.com>
1475 * src/fcfreetype.c: (addtag), (GetScriptTags),
1476 (FcFontCapabilities):
1477 Rework GSUB/GPOS script parsing to survive broken fonts.
1478 Thanks for the broken font go to Manish Singh
1480 2005-03-05 Keith Packard <keithp@keithp.com>
1485 * debian/fontconfig.config:
1486 * debian/fontconfig.templates:
1488 Include 2.3 release information in changelog
1489 Add Josselin Mouette as an Uploader
1490 Set hinting_type to low priority configuration option
1493 * debian/fontconfig.postinst:
1494 yes_bitmaps.conf -> yes-bitmaps.conf
1500 2005-03-02 Keith Packard <keithp@keithp.com>
1503 * conf.d/Makefile.am:
1504 * conf.d/autohint.conf:
1505 * conf.d/no-sub-pixel.conf:
1506 * conf.d/sub-pixel.conf:
1507 * conf.d/unhinted.conf:
1508 * debian/autohint.conf:
1509 * debian/fontconfig.install:
1510 * debian/fontconfig.postinst:
1511 * debian/fontconfig.templates:
1512 * debian/no-sub-pixel.conf:
1513 * debian/unhinted.conf:
1514 Move debian-specific conf file examples upstream.
1516 Sub-pixel configuration examples must smash subpixel value
1517 as Xft always sets it from X.
1519 Change sub-pixel rendering debconf descriptions from
1520 Enable/Disable to Always/Never.
1522 2005-03-02 Keith Packard <keithp@keithp.com>
1525 * conf.d/.cvsignore:
1527 Ignore more build detritus
1530 Add debian package construction stuff.
1532 * config/config.guess:
1533 * config/config.sub:
1534 Update to newer versions of these tools
1537 Get library manuals to build again (we love automake).
1539 * debian/README.Debian:
1540 * debian/autohint.conf:
1545 * debian/fontconfig-udeb.install:
1546 * debian/fontconfig.config:
1547 * debian/fontconfig.defoma:
1548 * debian/fontconfig.dirs:
1549 * debian/fontconfig.install:
1550 * debian/fontconfig.postinst:
1551 * debian/fontconfig.postrm:
1552 * debian/fontconfig.templates:
1553 * debian/libfontconfig1-dev.install:
1554 * debian/libfontconfig1.install:
1555 * debian/local.conf.md5sum:
1556 * debian/no-sub-pixel.conf:
1557 * debian/po/POTFILES.in:
1566 * debian/po/pt_BR.po:
1567 * debian/po/templates.pot:
1569 * debian/po/zh_CN.po:
1571 * debian/unhinted.conf:
1572 Update debian build system to switch maintainers and
1573 deal with 2.3 functionality
1575 2005-03-01 Keith Packard <keithp@keithp.com>
1579 * fontconfig/fontconfig.h:
1582 2005-03-01 Keith Packard <keithp@keithp.com>
1585 Generate and install PDF versions of the manuals
1587 * doc/fcpattern.fncs:
1590 * doc/fcstring.fncs:
1591 Add missing exported functions, fix data types
1593 * doc/fontconfig-devel.sgml:
1594 Add missing pattern elements.
1596 * doc/fontconfig-user.sgml:
1597 Add missing pattern elements. Document conf.d usage,
1598 clarify available orthography list. Fix some config file
1599 attributes. Complete list of constants.
1601 * fontconfig/fontconfig.h:
1602 Mark FC_SOURCE deprecated.
1604 * src/fcfreetype.c: (FcFreeTypeQuery):
1605 Don't set FC_SOURCE any longer.
1607 2005-02-28 Keith Packard <keithp@keithp.com>
1610 * conf.d/Makefile.am:
1612 * conf.d/no-bitmaps.conf:
1613 * conf.d/sub-pixel.conf:
1614 * conf.d/yes-bitmaps.conf:
1616 Create prototype /etc/fonts/conf.d directory with a few
1617 sample configuration files.
1618 Deprecate use of local.conf for local customizations in favor of
1619 this directory based scheme which is more easily integrated into
1620 installation systems.
1623 Tag FC_EMBOLDEN as a boolean variable
1625 2005-02-10 Keith Packard <keithp@keithp.com>
1627 reviewed by: pborelli@katamail.com
1629 * src/fcdir.c: (FcFileScanConfig):
1630 Free patterns from fonts which are rejected by configuration
1633 2005-01-28 Keith Packard <keithp@keithp.com>
1637 * fontconfig/fontconfig.h:
1638 Update for version 2.2.99
1640 2005-01-28 Keith Packard <keithp@keithp.com>
1643 Add a few pointers (#2284, #2285)
1645 2005-01-28 Keith Packard <keithp@keithp.com>
1648 * src/fcname.c: (FcNameBool):
1649 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1650 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1651 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1652 Polite typechecking for test and edit expressions. Helps
1653 catch errors in the font configuration. (bug 229)
1655 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1657 reviewed by: Keith Packard <keithp@keithp.com>
1660 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1662 2005-01-13 Keith Packard <keithp@keithp.com>
1664 * doc/fontconfig-user.sgml:
1665 Add SEE ALSO section (bug 2085)
1667 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1669 reviewed by: Keith Packard <keithp@keithp.com>
1674 * fc-case/Makefile.am:
1675 * fc-glyphname/Makefile.am:
1676 * fc-lang/Makefile.am:
1677 * src/fontconfig.def.in:
1678 Cross compiling fixes (bug 280)
1680 2005-01-13 Keith Packard <keithp@keithp.com>
1683 Update blanks list (Closes bug 86)
1685 2005-01-04 Keith Packard <keithp@keithp.com>
1687 * src/fccache.c: (FcCacheFontSetAdd):
1688 Verify that every font pattern loaded from cache has
1689 both FC_FILE and FC_FAMILY entries.
1690 Attempt to fix bug #2219.
1692 2004-12-29 Keith Packard <keithp@keithp.com>
1696 * fontconfig/fontconfig.h:
1697 Update for version 2.2.98
1699 2004-12-29 Keith Packard <keithp@keithp.com>
1701 * fontconfig/fontconfig.h:
1702 Document ASCII limitations of Fc character conversion macros
1703 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1704 Fix off-by-one error in utf-8 case walking code.
1705 Add FcStrDowncase (useful for testing case conversion functions)
1707 2004-12-29 Keith Packard <keithp@keithp.com>
1710 * fc-case/.cvsignore:
1711 clean up CVS ignore lists
1712 * fc-lang/iso-3166.txt:
1713 Add territory database
1715 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1717 Reviewed by: Keith Packard
1720 Remove Han characters from Korean orthography
1722 2004-12-29 Keith Packard <keithp@keithp.com>
1725 Reorder utility programs to make sure fc-case is run before fc-lang
1726 as fc-lang uses fcstr.c which uses fccase.h
1730 2004-12-29 Keith Packard <keithp@keithp.com>
1733 Adopt some RedHat suggestions for standard font configuration.
1737 * fc-case/CaseFolding.txt:
1738 * fc-case/Makefile.am:
1739 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1740 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1741 (dump), (parseRaw), (caseFoldReadRaw), (main):
1742 * fc-case/fccase.tmpl.h:
1743 Add new helper program 'fc-case' to construct case folding
1744 tables from standard Unicode CaseFolding.txt file
1747 * src/fclist.c: (FcListValueHash):
1748 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1749 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1750 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1751 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1752 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1753 Re-implement case insensitive functions with Unicode
1754 aware versions (including full case folding mappings)
1756 2004-12-13 Keith Packard <keithp@keithp.com>
1758 reviewed by: Owen Taylor <otaylor@redhat.com>
1760 * src/fcmatch.c: (FcFontSetSort):
1761 I changed FcFontSetSort to respect the generic aliases better
1762 in the face of language matching.
1764 What I did was to ammend the strict sort order used by FcFontSort so
1765 that it 'satisfies' the language specified in the pattern by locating
1766 the best matching font supporting each pattern language and then
1767 ignores language in the remaining fonts for purposes of matching.
1769 So, when asking for 'sans:lang=en', you'll get an English font first,
1770 and then the remaining fonts sorted with respect to the 'sans' alias
1771 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1773 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1775 reviewed by: Keith Packard <keithp@keithp.com>
1777 * fontconfig/fontconfig.h:
1780 Configuration changes to request synthetic emboldening of
1781 fonts. The actual emboldening code will live in Xft.
1783 2004-12-09 John Thacker <thacker@math.cornell.edu>
1785 reviewed by: Keith Packard <keithp@keithp.com>
1789 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1790 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1791 и), and don't even appear in KOI8-R. (The hypothesis that they
1792 don't appear in KOI8-R due to their similarity with Latin I and i is
1793 eliminated by their presence in KOI8-U.) I have a couple of fonts
1794 with Russian support that don't have the letter.
1796 Therefore, 0406 and 0456 should be removed from or commented out of
1799 2004-12-06 michael meeks <mmeeks@novell.com>
1801 Reviewed by: Keith Packard <keithp@keithp.com>
1803 * src/fcinit.c: (FcMemReport):
1805 * src/fclist.c: (FcObjectSetAdd):
1806 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1807 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1808 * src/fcxml.c: (FcParsePatelt):
1809 memoize strings and share a single copy for all uses. Note that
1810 this could be improved further by using statically allocated blocks
1811 and gluing multiple strings together, but I'm basically lazy.
1812 In my environment with 800 font files, I get a savings of about 90KB.
1814 2004-12-06 Keith Packard <keithp@keithp.com>
1818 * config/Makedefs.in:
1821 * doc/fcatomic.fncs:
1822 * doc/fcblanks.fncs:
1823 * doc/fccharset.fncs:
1824 * doc/fcconfig.fncs:
1825 * doc/fcconstant.fncs:
1827 * doc/fcfontset.fncs:
1828 * doc/fcfreetype.fncs:
1830 * doc/fcmatrix.fncs:
1831 * doc/fcobjectset.fncs:
1832 * doc/fcobjecttype.fncs:
1833 * doc/fcpattern.fncs:
1834 * doc/fcstring.fncs:
1835 * doc/fcstrset.fncs:
1837 * doc/fontconfig-devel.sgml:
1838 * doc/fontconfig-user.sgml:
1840 * doc/version.sgml.in:
1841 * fc-cache/Makefile.am:
1842 * fc-cache/fc-cache.c:
1843 * fc-glyphname/Makefile.am:
1844 * fc-glyphname/fc-glyphname.c:
1845 * fc-glyphname/fcglyphname.tmpl.h:
1846 * fc-lang/Makefile.am:
1856 * fc-lang/az_ir.orth:
1890 * fc-lang/fc-lang.c:
1891 * fc-lang/fc-lang.man:
1892 * fc-lang/fclang.tmpl.h:
1937 * fc-lang/ku_ir.orth:
1970 * fc-lang/ps_af.orth:
1971 * fc-lang/ps_pk.orth:
2000 * fc-lang/ti_er.orth:
2001 * fc-lang/ti_et.orth:
2027 * fc-lang/zh_cn.orth:
2028 * fc-lang/zh_hk.orth:
2029 * fc-lang/zh_mo.orth:
2030 * fc-lang/zh_sg.orth:
2031 * fc-lang/zh_tw.orth:
2033 * fc-list/Makefile.am:
2034 * fc-list/fc-list.c:
2035 * fc-match/Makefile.am:
2036 * fc-match/fc-match.1:
2037 * fc-match/fc-match.c:
2038 * fontconfig/fcfreetype.h:
2039 * fontconfig/fcprivate.h:
2040 * fontconfig/fontconfig.h:
2061 Change files from ISO-Latin-1 to UTF-8
2063 2004-12-04 Keith Packard <keithp@keithp.com>
2066 Update links to new freedesktop.org locations
2068 Add uninstall-local to get rid of fonts.conf and local.conf if they
2069 match the distributed versions. Fixes 'make distcheck'
2071 2004-12-04 Keith Packard <keithp@keithp.com>
2075 * fontconfig/fontconfig.h:
2076 Updates for version 2.2.97
2078 2004-12-04 Owen Taylor <otaylor@redhat.com>
2080 reviewed by: Keith Packard <keithp@keithp.com>
2082 * fc-cache/fc-cache.c: (main):
2083 Sleep for two seconds before exiting to make sure timestamps
2084 for future changes have distinct mod times in the file system.
2087 Add Punjabi orthography. Bug #1671.
2089 2004-12-04 Keith Packard <keithp@keithp.com>
2092 Just remove the FC_FONTDATE -- it has locale issues and
2093 annoys redhat multi-arch installs. Now that all X fonts are
2094 included without prejudice, the chances of the date being at
2095 all interesting are rather limited. Bug #505.
2097 Add copyright and license
2099 2004-12-04 Keith Packard <keithp@keithp.com>
2102 Change default set of fonts to include all of
2103 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2104 * doc/fontconfig-user.sgml:
2105 Document new <include>directory-name</include> semantics
2107 add <include ignore_missing="yes">conf.d</include>
2109 Add selectfont to ignore bitmap fonts, add comment for
2110 selectfont which accepts bitmap fonts.
2113 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2114 Allow <include> configuration elements to reference directories.
2115 Parse and load all files of the form [0-9]* in sorted order.
2117 2004-12-04 Keith Packard <keithp@keithp.com>
2120 Report command line for $srcdir/configure accurately.
2123 2004-12-04 Keith Packard <keithp@keithp.com>
2125 * src/fcfreetype.c: (FcFreeTypeQuery):
2126 Check for non-empty face->family_name and face->style_name
2127 before using those for the font. Empty names match everything.
2130 2004-12-04 Keith Packard <keithp@keithp.com>
2133 * fontconfig/fontconfig.h:
2134 * src/fcfreetype.c: (FcFreeTypeQuery):
2136 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2137 available. This provides font file format information (BDF, Type 1,
2138 PCF, TrueType) for each font. Closes #109.
2140 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2142 reviewed by: Keith Packard <keithp@keithp.com>
2144 * doc/fontconfig-user.sgml:
2147 * fontconfig/fontconfig.h:
2148 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2149 (GetScriptTags), (FcFontCapabilities):
2151 Add detection for font capabilities (bug #105)
2153 2004-12-04 Keith Packard <keithp@keithp.com>
2156 Move existing fonts.conf to fonts.conf.bak
2159 Add detection of iconv
2161 * doc/fcpattern.fncs:
2162 * doc/fontconfig-devel.sgml:
2163 * doc/fontconfig-user.sgml:
2165 Document new selectfont elements
2168 Switch to UTF-8 in comment
2170 * fontconfig/fontconfig.h:
2172 Add fullname, and family/style/fullname language entries
2174 * src/fccache.c: (FcCacheFontSetAdd):
2175 * src/fcdir.c: (FcFileScanConfig):
2176 Respect selectfont/*/glob
2179 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2180 (FcConfigCompareValue), (FcConfigPatternsAdd),
2181 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2182 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2183 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2184 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2185 Add support for selectfont
2187 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2188 (FcStringInPatternElement), (FcFreeTypeQuery):
2189 Add multi-lingual family/style/fullname support
2191 * src/fclist.c: (FcListPatternMatchAny):
2192 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2194 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2195 (FcObjectStaticName):
2196 Add new FcPatternRemove/FcPatternAppend.
2197 FcObjectStaticName stores computed pattern element names which
2198 are required to be static.
2200 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2205 Remove spurious / after $(DESTDIR)
2207 2004-06-30 Keith Packard <keithp@keithp.com>
2211 * fontconfig/fontconfig.h:
2214 2004-06-30 Keith Packard <keithp@keithp.com>
2216 Provided by: Lubos Lunak <l.lunak@suse.cz>
2218 * src/fccfg.c: (FcConfigUptoDate):
2219 However FcConfigUptoDate() doesn't seem to work. See the attached
2220 patch. First there's an obvious misplaced parenthesis making it
2221 return always false, and second, even this call fails to detect font
2222 changes (e.g. adding a new font to
2223 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2224 well. The problem seems to be triggered by my fonts.conf specifying
2225 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2226 doesn't include subdirs, unlike config->fontDirs.
2228 2004-06-03 Keith Packard <keithp@keithp.com>
2230 * fontconfig/fontconfig.h:
2231 Remove comma at end of FcResult enum definition.
2233 2004-05-29 Keith Packard <keithp@keithp.com>
2236 Add steps to md5sum release
2238 2004-05-29 Keith Packard <keithp@keithp.com>
2242 * fontconfig/fontconfig.h:
2245 2004-05-29 Keith Packard <keithp@keithp.com>
2247 * fontconfig/fontconfig.h:
2248 * src/fcmatch.c: (FcFontSetMatch):
2249 Add FcResultOutOfMemory to provide an accurate error when
2250 FcFontSetMatch fails in this way
2253 Make #warning about lacking various FreeType features indicate
2254 which version those features appeared so users know how to
2255 fix the problem (Thanks to Anton Tropashko)
2257 2004-05-05 Keith Packard <keithp@keithp.com>
2259 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2260 Replace MIN/MAX/ABS macros which happen to have come
2261 from FreeType with fontconfig-specific ones (FC_*)
2263 2004-04-23 Keith Packard <keithp@keithp.com>
2266 Extend release preparation instructions to include
2267 notification and distribution steps
2269 2004-04-23 Keith Packard <keithp@keithp.com>
2273 * fontconfig/fontconfig.h:
2274 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2276 2004-04-23 Keith Packard <keithp@keithp.com>
2279 Ignore a few more autotool files
2281 2004-04-14 Keith Packard <keithp@keithp.com>
2284 Add instructions for doing a release
2286 * fontconfig.spec.in:
2287 clean up .spec file; perhaps this will be useful to somebody...
2291 * fontconfig/fontconfig.h:
2294 * fc-lang/fc-lang.c:
2295 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2297 * fc-glyphname/Makefile.am:
2298 * fc-lang/Makefile.am:
2299 * fc-list/Makefile.am:
2300 * fc-match/Makefile.am:
2302 Add WARN_CFLAGS to pass -W flags for GCC systems
2304 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2305 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2306 Change various char types around to match across
2308 Fixed bug in using available_sizes[i].height which
2309 is in pixels, not 64ths of a pixel.
2311 2004-03-06 Keith Packard <keithp@keithp.com>
2313 * src/fcfreetype.c: (FcFreeTypeQuery):
2314 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2315 matches looking for explicit values prefer exact matches
2317 2004-03-02 Keith Packard <keithp@keithp.com>
2319 Supplied by: mfabian@suse.de (Mike FABIAN)
2321 * src/fcfreetype.c: (FcFreeTypeQuery):
2322 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2323 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2325 2004-02-21 Manish Singh <yosh@gimp.org>
2327 * fc-glyphname/fc-glyphname.c: (main):
2328 Cast strlen to int for printf, so we're 64-bit clean.
2330 2004-02-11 Keith Packard <keithp@keithp.com>
2333 * src/fcfreetype.c: (FcGetPixelSize):
2334 Ok, so I messed up the test for y_ppem. Let's see if I
2335 got it right this time.
2337 2004-02-10 Keith Packard <keithp@keithp.com>
2340 * src/fcfreetype.c: (FcGetPixelSize):
2341 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2342 FT_Bitmap_Size record. Add a configure.in test for this
2343 and change the code accordingly (using height instead).
2345 2004-02-06 Keith Packard <keithp@keithp.com>
2348 Add Low Saxon orthography
2349 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2351 * src/fccfg.c: (FcConfigNewestFile):
2352 Oops. Left 'newest.set' unset, which would miscompute
2355 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2356 (FcFreeTypeCheckGlyph):
2357 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2358 font properties (which report the wrong value in current FreeType)
2360 Don't attempt to check for empty glyphs in non-scalable fonts; they
2363 2004-02-01 Tor Lillqvist <tml@iki.fi>
2365 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2366 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2367 cache if config->cache is NULL, which happens if FcConfigHome() is
2368 NULL. Guard against that by using the temp folder in that case.
2370 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2372 * fc-lang/az_ir.orth:
2373 * fc-lang/ku_ir.orth:
2374 * fc-lang/ps_af.orth:
2375 * fc-lang/ps_pk.orth:
2376 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2377 (Afghan and Pakistani).
2379 Updated Urdu orthography with real data.
2381 2003-12-11 Carl Worth <cworth@east.isi.edu>
2383 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2386 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2388 (all-local): Remove excessive whitespace.
2390 * autogen.sh: Add 'set -e' to abort when any program fails,
2391 (avoids printing of 'now type make' after configure aborts).
2393 2003-11-17 Eric Christopherson <rakko@charter.net>
2395 reviewed by: Keith Packard <keithp@keithp.com>
2398 * fontconfig/fcfreetype.h:
2400 Switch to FreeType 2.1.7 style includes. Bug #150.
2402 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2404 * fc-list/fc-list.sgml: Add some example usages.
2406 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2409 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2412 2003-10-27 Keith Packard <keith@keithp.com>
2415 * fontconfig/fontconfig.h:
2416 Update to version 2.2.92
2418 2003-10-27 Keith Packard <keithp@keithp.com>
2423 * fc-cache/Makefile.am:
2424 * fc-glyphname/Makefile.am:
2425 * fc-lang/Makefile.am:
2426 * fc-list/Makefile.am:
2427 * fc-match/Makefile.am:
2430 Yet more cleanups to finish getting 'make distcheck' working
2431 This has been tested to ensure that it even works from a _build
2434 2003-10-26 Keith Packard <keithp@keithp.com>
2438 * fc-cache/Makefile.am:
2439 * fc-glyphname/Makefile.am:
2440 * fc-lang/Makefile.am:
2441 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2442 * fc-list/Makefile.am:
2443 * fc-match/Makefile.am:
2444 Attempts to fix 'make distcheck' work. Things are
2445 progressing pretty well, but there are still failures
2446 long into the process dealing with docs (as always).
2448 The big changes here are mostly to make $(srcdir) != "."
2449 work correctly, fixing the docbook related sections and
2450 fc-lang were particularily tricky. Docbook refuses to load
2451 system entities from anywhere other than where the original .sgml
2452 file was located, so no luck looking in "." for the
2453 configure-generated version.sgml and confdir.sgml files.
2455 fc-lang needed help finding .orth files; added a -d option
2456 to set the directory as the least evil of many options.
2458 Now to go use a faster machine and try and wring out the last
2461 2003-10-26 Keith Packard <keithp@keithp.com>
2465 2003-10-26 Keith Packard <keithp@keithp.com>
2468 Include confdir.sgml.in in EXTRA_DIST
2470 2003-10-09 Josselin Mouette <joss@debian.org>
2472 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2473 * fc-list/fc-list.sgml fc-list/Makefile.am:
2474 Replace fc-cache and fc-list manpages with more detailed, SGML
2477 2003-09-23 Owen Taylor <otaylor@redhat.com>
2479 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2480 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2481 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2484 2003-09-23 Owen Taylor <otaylor@redhat.com>
2486 * fc-lang/ka.orth: Remove Georgian capitals, they
2487 aren't used for normal writing. (Bug #116)
2489 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2491 * doc/fontconfig-devel.sgml:
2492 * doc/fontconfig-user.sgml:
2493 * fontconfig/fontconfig.h:
2495 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2496 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2498 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2499 monospace and dual-width fonts, allow roughly a 3% variance in the
2502 2003-08-31 Manish Singh <yosh@gimp.org>
2504 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2507 2003-08-15 Carl Worth <cworth@isi.edu>
2509 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2510 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2512 * src/fcpat.c (FcValueListEntDestroy): New function to support
2513 FcFini memory cleanup. Some statistics are not kept in
2515 (FcValueListFreeze): Move hashTable outside this function so it
2516 can be accessed by FcValueListThawAll.
2517 (FcValueListThawAll): New function complements FcValueListFreeze.
2518 (FcPatternBaseFreeze): Move hashTable outside this function so it
2519 can be accessed by FcPatternBaseThawAll.
2520 (FcPatternBaseThawAll): New function complements
2521 FcPatternBaseFreeze.
2522 (FcPatternThawAll): New function complements FcPatternFreeze.
2524 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2526 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2527 allocated FcCharLeafEnt "blocks" so they can be freed later.
2528 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2529 can be accessed by FcCharSetThawAllLeaf.
2530 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2531 (FcCharSetFreezeBase): Move hashTable outside this function so it
2532 can be accessed by FcCharSetThawAll.
2533 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2535 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2536 (FcConfigDestroy): Fic leak of FcBlanks.
2538 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2539 (main): Add call to FcFini when finished.
2541 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2542 static. Add prototypes.
2544 * doc/fcinit.fncs: Add documentation for FcFini function.
2546 * doc/edit-sgml.c: Mark several local functions as static. Add
2549 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2551 2003-06-15 Tor Lillqvist <tml@iki.fi>
2553 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2554 before comparing (needed on Windows).
2556 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2558 2003-06-13 Tor Lillqvist <tml@iki.fi>
2560 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2563 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2564 WINDOWSFONTDIR token.
2566 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2567 end, not to confuse libtool, which expects the EXPORTS line to be
2568 the first. Add FcConfigEnableHome.
2570 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2571 built as a DLL on Win32.
2573 2003-06-09 Keith Packard <keithp@keithp.com>
2575 * Tag version 2.2.90
2577 2003-06-09 Keith Packard <keithp@keithp.com>
2579 * Optimization in FcLangSetIndex was broken, occasionally
2580 returning a pointer to the wrong location on miss
2582 * Add fc-match to test font matching from the command line.
2584 2003-05-31 Keith Packard <keithp@keithp.com>
2586 * (Bug 85) add support for culmus fonts
2587 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2588 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2590 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2592 * Fix "contains" op for strings and langsets.
2594 2003-05-17 Keith Packard <keithp@keithp.com>
2596 * Fix build error with BDF prop local. Free langset after query
2598 2003-05-14 Keith Packard <keithp@keithp.com>
2600 * Extract spacing from XLFD atom
2602 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2604 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2605 disappeared in 1.30.
2607 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2609 2003-05-12 Keith Packard <keithp@keithp.com>
2611 * Use FcIsWidth to share code
2613 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2614 misclassifying some Han fonts as monospaced.
2616 2003-05-07 Keith Packard <keithp@keithp.com>
2618 * Add filename-based accept/reject to ammend available fonts.
2620 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2621 older FreeType releases.
2623 2003-05-06 Keith Packard <keithp@keithp.com>
2625 * Remove 0b82 and Tamil numbers from tamil
2626 orthography (Jungshik Shin <jshin@mailaps.org>)
2628 2003-05-04 Keith Packard <keithp@keithp.com>
2630 + Map glyph names in fonts with adobe custom encoding to unicode
2632 2003-05-02 Keith Packard <keithp@keithp.com>
2634 * Add FC_WEIGHT_BOOK as weight 75
2636 2003-04-30 Keith Packard <keithp@keithp.com>
2638 * Typo in bitstream foundry name
2640 2003-04-24 Keith Packard <keithp@keithp.com>
2642 * Eliminate italic_angle check for PS fonts
2644 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2646 * Getting closer to fixing /etc/fonts hard-coding.
2648 2003-04-22 Keith Packard <keithp@keithp.com>
2650 * Update autogen.sh to work with newer automake versions
2651 * Handle pattern elements moving during multiple edits
2653 2003-04-23 James Henstridge <james@daa.com.au>
2655 * doc/fontconfig-devel.sgml: close the <para> element.
2657 * doc/fcpattern.fncs: close the <para> element.
2659 * doc/func.sgml: close the <refsynopsisdiv> element.
2661 2003-04-22 Keith Packard <keithp@keithp.com
2663 * Update autogen.sh to work with newer automake versions
2664 * Handle pattern elements moving during multiple edits
2666 2003-04-17 Colin Walters <walters@debian.org>
2668 + Remove some unused variables, and initialize some other ones so
2669 gcc doesn't warn us.
2671 2003-04-16 Keith Packard <keithp@keithp.com>
2673 + tag version 2.1.94
2675 2003-04-16 Keith Packard <keithp@keithp.com>
2677 + add BDF property fetching support for foundry
2678 (from Juliusz Chroboczek)
2679 + add BDF property fetching support for width
2681 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2683 + Implemented foundry generation for Type 1 and TrueType
2685 2003-04-11 Gerard Escalante <g2@magestudios.net>
2687 + Retrieve information from Type1 FontInfo dictionaries
2689 2003-04-07 Colin Walters <walters@verbum.org>
2691 + src/Makefile.am: Fix dummy makefile target names when
2692 MS_LIB_AVAILABLE isn't set.
2694 2003-03-22 Tor Lillqvist <tml@iki.fi>
2696 Changes for Windows:
2698 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2700 + We don't want to hardcode the fonts.conf file location in the
2701 DLL, so we look up the DLL location at run-time in a DllMain()
2702 function. The fonts.conf location is deduced from that.
2704 + The colon can't be used as path separator on Windows,
2705 semicolon is used instead. File path components can be separated
2706 with either slash or backslash. Absolute paths can also begin
2707 with a drive letter.
2709 + Add internal function FcStrLastSlash that strrchr's the last
2710 slash, or backslash on Windows.
2712 + There is no link() on Windows. For atomicity checks, mkdir a
2713 lock directory instead.
2715 + In addition to HOME, also look for USERPROFILE.
2717 + Recognize the special font directory token WINDOWSFONTDIR, to
2718 use the system's font directory.
2720 + Remove the fontconfig-def.cpp that was obsolete. Add
2721 fontconfig.def(.in), without internal functions.
2723 + Add a fontconfig-zip(.in) script, used to build a binary
2726 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2727 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2728 to main package and man3/* to devel package
2730 + Added missing defattr(-, root, root) to main RPM package
2732 + Added HTML and text development documentation to -devel subpackage
2734 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2735 + Added back the configure macro options --disable-docs, otherwise
2736 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2737 version number) unconditionally, causing RPM to fail the build due
2738 to _unpackaged_files_terminate_build. We pick up the pregenerated
2739 docs with %doc already.
2741 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2742 + Removed commented out rpm macro define at top of spec file,
2743 replacing it with a simple explanation, since rpm macros are
2744 expanded by rpm even in comments.
2746 + Changed /usr/bin to _bindir in BuildRequires lines
2748 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2750 + Reorganized file manifest lists
2752 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2754 + fontconfig.spec.in: Improvements from Red Hat spec file.
2756 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2758 + docs/*.sgml: SGML fixes.
2760 Sat Mar 1 17:28:53 PST 2003 keithp
2761 + Ok, so the ChangeLog is a bit out of date
2763 + Lots of bugs fixed; most are in bugzilla, the
2764 biggest problems were in cache management where
2765 Owen discovered the library would lose badly when
2766 combining fonts-cache and ~/.fonts-cache data
2768 + Converted from autoconf to automake. This after
2769 getting patches accepted into libtool to allow
2770 the '-version-number' argument which lets
2771 packages set version numbers explicitly rather
2772 than the roundabout libtool way
2774 + Converted documentation to SGML using the docbook
2775 DTD. Now .txt and .html documents are installed
2776 in /usr/share/doc/fontconfig and there's no
2777 man page. Perhaps a man version can be written
2780 Sat Aug 31 15:21:22 PDT 2002 keithp
2781 + Xrender and Xft had several bugs related to
2782 rendering manually placed or poly-face text
2784 + Added more complete memory tracing in fontconfig
2785 Checked with (patched) mozilla and found no leaks
2787 + Updated Latin orthographies by comparing those from
2788 evertype.com with those from eki.ee. Tried to make
2789 sensible choices, including chars that occured in both
2790 and leaving some optional chars out that occured only
2793 Mon Aug 26 16:33:04 PDT 2002 keithp
2794 + Owen discovered that FcLangSetHasLang wasn't actually
2795 checking the language set.
2797 Mon Aug 26 13:37:23 PDT 2002 keithp
2798 + Append a version number to cache filenames
2800 Thu Aug 22 11:36:18 PDT 2002 keithp
2802 + Add "contains" and "not_contains" operators and elements to
2805 + Changed semantics of eq operator for LangSets to check for
2806 FcLangEqual so that any match will do
2808 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2809 of FcValueEqual to check for identical values when inserting into
2810 the results. This broke when the above semantic change was made,
2811 now it uses FcValueEqual which is "more correct" in any case.
2813 Thu Aug 22 00:32:29 PDT 2002 keithp
2815 + Reimplement FC_LANG as new datatype. Lists of strings
2816 was consuming over a megabyte of memory for 401 fonts.
2818 + Freeze patterns loaded from cache files. This shares
2819 common value lists and common patterns which saves
2820 considerable memory.
2822 + Change the denotation of 'constant' charsets to use special
2823 ref value instead of separate boolean.
2825 + Clean up leak tracing stuff, found several unannoted alloc/free
2828 Tue Aug 20 16:17:37 PDT 2002 keithp
2830 + Fix memory leak when parsing matrices from XML
2832 Mon Aug 19 11:57:27 PDT 2002 keithp
2834 + Fix autoconf files to pass FONTCONFIG_PATH on
2835 compile line so that ${prefix} gets substituted
2838 + Use getc_unlocked/putc_unlocked on systems that
2839 provide them to avoid damage done to stdio by posix
2841 + Eliminate FC_PATTERN and FcTypePattern in favor of
2842 an extended api for FcConfigSubstitute which takes
2843 both the font and the pattern.
2845 + Add 'sans serif' alias for 'sans-serif' as some apps
2846 can't handle hyphens in family names
2848 + Eliminate pretense of support for libxml2
2850 + Comment origins of Han orthographies
2852 Tue Jul 30 18:37:09 PDT 2002 keithp
2854 + Add binding property to edit element so that strong
2855 binding values may be inserted by the config file.
2856 The default remains weak.
2858 Sun 28 Jul 04:16:55 PDT 2002 keithp
2860 + Tagged release candidate 1 in the CVS tree and
2861 placed fcpackage.rc1.tar.gz for distribution
2863 Thu Aug 1 08:55:08 PDT 2002 keithp
2865 + Fixed autoconf builds to always specify install
2866 target files (for BSD). Also fixed to
2867 define FONTCONFIG_PATH in config.h so that
2868 nonstandard installs will actually work.