1 2006-02-16 Patrick Lam <plam@mit.edu>
2 * fc-cache/fc-cache.c (usage, scanDirs, main):
4 Add -r --really-force option which blows away cache files and then
7 2006-02-16 Patrick Lam <plam@mit.edu>
8 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
10 Don't bail if fontconfig can't remove a dir cache file.
11 Skip the ID of a cache file when copying.
12 Eliminate 'source file too small' bug in FcDirCacheWrite.
14 2006-02-13 Patrick Lam <plam@mit.edu>
15 * src/fcfreetype.c (FcFreeTypeQuery):
17 Fix memory leak in error condition code.
19 2006-02-13 Mike Fabian <mfabian@suse.de>
21 * src/fcfreetype.c (FcFreeTypeQuery):
23 Skip bitmap fonts which can't even get it together enough to
24 declare a family name; this appears to reproduce previous
27 2006-02-10 Takashi Iwai <tiwai@suse.de>
29 * src/fccache.c (FcDirCacheOpen):
31 Try to open /var/cache/fontconfig/[hashed name] before
32 fonts.cache-2 in a directory, because /var/cache/fontconfig
33 failures ought to be fixable, unlike fonts.cache-2 failures,
34 which may leave you screwed.
36 2006-02-10 Takashi Iwai <tiwai@suse.de>
38 * src/fcmatch.c (FcFontSetMatch):
40 Use a tri-state to mark the fonts which didn't get blocked but
41 were just missing an element, to distinguish them from the
42 fonts that do match the element.
44 2006-02-10 Takashi Iwai <tiwai@suse.de>
46 * src/fcmatch.c (FcFontSetMatch):
48 Don't kill fonts because they don't declare an element that's
51 2006-02-09 Patrick Lam <plam@mit.edu>
52 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
53 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
55 Define and pass O_BINARY to open if appropriate, for those
56 platforms that need it. Reported by Doodle.
58 2006-02-09 Patrick Lam <plam@mit.edu>
59 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
62 Fix problem with missing 'en' due to euro.patch: change
63 cache file format slightly to coincide with that generated
66 2006-02-07 Patrick Lam <plam@mit.edu>
67 * src/fccache.c (FcCacheReadDirs):
71 2006-02-07 Patrick Lam <plam@mit.edu>
72 * src/fcdir.c (FcDirScanConfig):
74 Don't reject dirs that can't be normalized (fixes lilypond, and
75 is correct in the context of application font directories.)
77 2006-02-07 Takashi Iwai <tiwai@suse.de>
80 * src/fccache.c (FcCacheReadDirs):
82 Use normalized directory name exclusively in FcCacheReadDirs.
84 2006-02-07 Dirk Mueller <dmueller@suse.com>
87 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
89 Perf optimizations. Inline FcValueCanonicalize,
90 reduce FcValueListPtrU usage, remove redundant cast.
92 2006-02-07 Takashi Iwai <tiwai@suse.de>
95 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
98 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
99 Declare extern for static arrays as arrays, not pointers.
100 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
102 2006-02-07 Dirk Mueller <dmueller@suse.com>
115 Add Euro sign to list of symbols required by European languages.
117 2006-02-07 Patrick Lam <plam@mit.edu>
118 * src/fccache.c (FcCacheReadString):
120 Fix hidden variable warning.
122 2006-02-07 Dirk Mueller <dmueller@suse.com>
125 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
127 Remove de-escaping logic because FcCacheWriteString
128 doesn't escape anyway. Do blockwise reading instead
129 of byte-wise for performance.
131 2006-02-06 Patrick Lam <plam@mit.edu>
132 Takashi Iwai <tiwai@suse.de>
134 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
136 Don't loop infinitely on recursive symlinks (client-side).
138 2006-02-06 Takashi Iwai <tiwai@suse.de>
140 * fc-cache/fc-cache.c (scanDirs, main):
142 Don't loop infinitely on recursive symlinks.
144 2006-02-06 Takashi Iwai <tiwai@suse.de>
146 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
147 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
148 FcGlobalCacheSave, FcCacheReadDirs):
151 Skip subdirs when skipping over stale bits of global cache.
152 Introduce state machine into FcGlobalCacheDir to avoid
153 doing inappropriate operations on global dir entries, e.g.
154 writing out an out-of-date cache entry.
156 2006-02-06 Takashi Iwai <tiwai@suse.de>
158 * src/fcdir.c (FcFileScanConfig):
160 Hoist FcFileIsDir check out of FcFileScanConfig loop.
162 2006-02-06 Takashi Iwai <tiwai@suse.de>
165 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
166 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
168 Don't rescan when trying to normalize a non-declared font dir.
169 Don't add font dirs multiple times (even if they're aliased).
171 2006-02-06 Dirk Mueller <dmueller@suse.de>
174 * src/fcfs.c (FcFontSetUnserialize):
176 Explain apples/oranges comparison and fix compilation error.
178 2006-02-06 Dirk Mueller <dmueller@suse.de>
181 * src/fcfs.c (FcFontSetUnserialize):
183 Insert check for integer overflow in # of fonts.
185 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
189 * fc-cache/Makefile.am:
190 * fc-cat/Makefile.am:
191 * fc-list/Makefile.am:
193 Make 'make distcheck' work with automake 1.6.3.
195 2006-02-03 Takashi IWAI <tiwai@suse.de>
198 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
201 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
202 FcDirCacheConsume, FcDirCacheWrite)
203 * src/fcxml.c (FcConfigMessage):
205 Check I/O call return values and eliminate unused variable
208 2006-02-03 Takashi Iwai <tiwai@suse.de>
211 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
215 2006-02-03 Dirk Mueller <dmueller@suse.de>
218 * src/fcfs.c (FcFontSetUnserialize):
220 Gracefully handle the case where a cache asserts that it
221 has a negative number of fonts, causing overflow.
223 2006-02-03 Patrick Lam <plam@mit.edu>
224 * src/fccache.c (FcDirCacheUnlink):
226 Fix double free in error case.
228 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
229 Stephan Kulow <coolo@suse.de>
232 * fc-cache/Makefile.am:
234 Replace 'stamp' target with mkinstalldirs.
236 2006-01-31 Mike Fabian <mfabian@suse.de>
239 * src/fccache.c (FcGlobalCacheLoad):
241 Toast broken global cache files.
243 2006-01-30 Patrick Lam <plam@mit.edu>
244 * src/fccache.c (FcGlobalCacheReadDir):
246 Actually use the directories that I added to the global cache.
249 2006-01-30 Mike Fabian <mfabian@suse.de>
252 * fc-cache/fc-cache.c (scanDirs):
254 Don't stop scanning if a directory in fonts.conf doesn't
255 exist, because subsequent directories might exist.
257 2006-01-30 Patrick Lam <plam@mit.edu>
258 * src/fccache.c (FcGlobalCacheLoad):
260 Make global cache work again after putting dir names into global
261 cache (I misplaced the recording of a file offset).
263 2006-01-30 Patrick Lam <plam@mit.edu>
264 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
266 Update fc-cat to handle subdir lists in global cache file.
268 * src/fccache.c (FcGlobalCacheLoad):
270 Another FcCacheReadString return value check.
272 2006-01-30 Mike Fabian <mfabian@suse.de>
275 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
276 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
278 Make fccache more resilient to broken cache files by checking
279 return value of FcCacheReadString all the time.
281 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
284 * fc-match/fc-match.1:
285 * fc-lang/fc-lang.man:
287 Remove references to dead fontconfig(3) manpages in
288 other fontconfig manpages.
290 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
293 * doc/fcpattern.fncs:
295 Fix world's tiniest typo in code example.
297 2006-01-29 Mike Fabian <mfabian@suse.de>
300 * src/fccache.c (FcGlobalCacheReadDir):
302 Fix global cache reads of subdirectories.
304 2006-01-29 Patrick Lam <plam@mit.edu>
306 Add documentation for FcConfigNormalizeFontDir.
308 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
309 FcGlobalCacheUpdate, FcGlobalCacheSave):
310 * src/fcdir.c (FcDirScanConfig):
313 Write directory information to global caches to fix make check
314 (reported by Ronny V. Vindenes). This changes the global cache
317 2006-01-27 Patrick Lam <plam@mit.edu>
318 * fc-cache/fc-cache.c (scanDirs):
319 * fontconfig/fontconfig.h:
321 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
323 Move FcConfigNormalizeFontDir call so that it doesn't result in
324 infinite recursion (reported by Ronny V. Vindenes).
326 2006-01-26 Patrick Lam <plam@mit.edu>
327 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
328 * src/fccfg.c (FcConfigNormalizeFontDir):
330 Add a couple of missing normalizations to make fc-cache work
331 right; only scan subdirectories once.
333 2006-01-26 Mike Fabian <mfabian@suse.de>
336 * src/fcacache.c (FcGlobalCacheReadDir):
338 Don't crash on non-existant directories in global cache.
340 2006-01-26 Patrick Lam <plam@mit.edu>
341 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
342 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
343 * src/fcdir.c (FcDirScanConfig):
344 * src/fcxml.c (FcEndElement):
346 Stop trampling the directory name when writing out caches.
347 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
348 subdirs when necessary. Don't scan directories that can't be
351 2006-01-25 Patrick Lam <plam@mit.edu>
352 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
353 * src/fccfg.c (FcConfigEvaluate):
354 * src/fcfreetype.c (FcPatternAddWithBinding):
356 Fix additional memory leaks reported by Ronny V. Vindenes: don't
357 invoke FcValueSave on hashed static strings in
358 FcPatternAddWithBinding.
360 Add another st_dev check in FcDirCacheOpen.
362 2006-01-24 James Su <james.su@gmail.com>
365 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
366 * fc-lang/zh_hk.orth:
368 Treat zh-hk fonts differently from zh-tw fonts. This patch may
369 cause fontconfig to treat A-X fonts differently from A-Y fonts;
370 please mail the fontconfig list if this causes any problems.
372 2006-01-24 Patrick Lam <plam@mit.edu>
373 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
374 * src/fcfreetype.c (FcFreeTypeQuery):
376 Fix memory leaks reported by Ronny V. Vindenes.
378 2006-01-19 Andreas Schwab <schwab@suse.de>
381 * src/fcpat.c (FcStrNeededBytes):
383 Fix for unaligned memory accesses.
385 2006-01-18 Mike Fabian <mfabian@suse.de>
388 * src/fcdir.c (FcDirScanConfig):
390 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
391 calls to avoid crashes.
393 2006-01-14 Patrick Lam <plam@mit.edu>
394 * src/fccache.c (FcDirCacheConsume):
396 Fix segfault when consuming zero-length caches in fc-cat
397 (which has no config, so FcConfigAddFontDir shouldn't be called.)
399 2006-01-14 Patrick Lam <plam@mit.edu>
400 * fc-cache/fc-cache.c (scanDirs):
401 * fontconfig/fontconfig.h:
402 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
403 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
404 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
405 * src/fcdir.c (FcDirScanConfig):
408 Compare device numbers as well as inodes.
409 Always normalize directory names before comparing them.
411 2006-01-11 Mike Fabian <mfabian@suse.de>
414 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
416 Allocate extra space for appended '/' in directory name.
418 2006-01-10 Patrick Lam <plam@mit.edu>
419 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
420 FcDirCacheValid, FcDirCacheHasCurrentArch,
421 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
422 * fc-cache/fc-cache.c (main):
424 Explicitly add font dirs to config.fontDirs even if they're empty.
425 Set current config in fc-cache.c.
426 Fix treatment of cache directory as read from cache file; don't
427 use string equality to determine if we have the right file,
430 2006-01-09 Patrick Lam <plam@mit.edu>
431 * fc-cache/fc-cache.c (scanDirs):
432 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
433 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
434 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
435 * src/fccfg.c (FcConfigNormalizeFontDir):
436 * src/fcdir.c (FcDirScanConfig):
439 Normalize font dirs by using the form, as given in fonts.conf, and
440 recorded in FcConfig's fontDirs string set, as canonical.
442 Actually update config.fontDirs as font directories are scanned.
444 2006-01-08 James Su <james.su@gmail.com>
445 * src/fcmatch.c (FcFontSetMatch):
447 Fix matching bug when multiple elements match; don't use
448 the sum of all scores, but the best score.
450 Also more perf opts, e.g. evaluate best over all font sets
451 rather than on a per-set basis (and other changes).
453 2006-01-08 Patrick Lam <plam@mit.edu>
454 * src/fccache.c (FcDirCacheConsume):
456 Properly skip past dir caches that contain zero fonts (as occurs
457 in global caches.) Reported by Mike Fabian.
459 2006-01-06 Patrick Lam <plam@mit.edu>
460 * src/fcdbg.c (FcPatternPrint):
462 Print out full pathname in fc-match -v as well. Reported by
465 2006-01-06 Mike Fabian <mfabian@suse.de>
468 * src/fcname.c (FcNameParse):
470 Fix bug where fc-match crashes when given __DUMMY__ property to
473 (I added the __DUMMY__ string to enable callers of
474 FcObjectToPtrLookup to distinguish an error return from a
475 successful return. -PL)
477 2006-01-05 Patrick Lam <plam@mit.edu>
480 Add self to AUTHORS list.
482 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
483 FcCacheFileRead, FcCachePrintSet, main):
484 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
485 FcGlobalCacheSave, FcCacheNextOffset,
486 FcDirCacheHasCurrentArch, FcDirCacheRead,
487 FcDirCacheConsume, FcDirCacheWrite):
489 * src/fcpat.c (comment):
491 Minor change to global cache file format to fix fc-cat bug
492 reported by Frederic Crozat, and buglet with not globally caching
493 directories with zero fonts cached.
495 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
498 * src/fccfg.c (FcConfigEvaluate):
500 Fix double-free which occurs because FcValueCanonicalize doesn't
501 create an extra copy of the returned value, it only canonicalizes
504 2006-01-02 Patrick Lam <plam@mit.edu>
505 * doc/fontconfig-user.sgml:
507 Fix version of .cache file (currently 1 -> currently 2). Reported
510 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
513 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
515 Shut up GCC warnings on amd.
517 2005-12-20 Patrick Lam <plam@mit.edu>
521 * fontconfig/fontconfig.h:
523 Bump version to 2.3.93.
525 2005-12-20 Patrick Lam <plam@mit.edu>
526 * src/fccharset.c (FcLangCharSetPopulate):
527 * src/fcint.h (FcCacheBankToIndex):
529 Avoid check on _fcBankId nullness and fix case where it used to
532 2005-12-20 Patrick Lam <plam@mit.edu>
533 * src/fcxml.c (FcConfigParseAndLoad):
535 Use open instead of fopen (requested by Phil Race for Sun).
537 2005-12-20 Patrick Lam <plam@mit.edu>
538 * src/fccache.c (FcDirCacheWrite);
539 * fc-cache/Makefile.am:
541 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
544 2005-12-20 Patrick Lam <plam@mit.edu>
545 * src/fcfreetype.c (FcFreeTypeQuery):
547 Restore code to skip over PCF fonts that have no encoded
549 (We guess that a font is PCF by presence of the PIXEL_SIZE
552 2005-12-12 Patrick Lam <plam@mit.edu>
553 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
555 Read and write the original location as a fallback for the
556 hashed cache file locations. This is mostly for users to be
557 able to have per-directory cache files.
559 2005-12-12 Patrick Lam <plam@mit.edu>
560 * fc-cache/fc-cache.c (scanDirs):
561 * fc-cache/Makefile.am:
562 * src/fccache.c (FcDirCacheHashName):
564 Improve error message when fc-cache can't write the cache. Add
565 missing slash. Reported by Behdad. Incorporate Behdad's patch to
566 create /var/cache/fontconfig when appropriate.
568 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
571 * src/fcxml.c (FcConfigGetAttribute):
573 Fix crash reported by Frederic Crozat when using libxml2.
575 2005-12-09 Patrick Lam <plam@mit.edu>
578 * fc-cache/Makefile.am:
579 * fc-cat/Makefile.am:
581 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
582 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
583 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
584 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
585 FcDirCacheHasCurrentArch, FcDirCacheHashName,
586 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
588 Migrate cache files from fonts directories to
589 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
590 but requires that all caches get rebuilt.
592 Also, autogen.sh now needs the additional parameter
593 --localstatedir=/var.
595 2005-12-07 Patrick Lam <plam@mit.edu>
596 * src/fcpat.c (FcPatternAddString):
598 Because we've changed FcPatternAddString to use FcStrStaticName
599 and not FcValueSave, explicitly handle the case of a null string.
601 2005-12-06 Patrick Lam <plam@mit.edu>
602 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
606 2005-12-05 Patrick Lam <plam@mit.edu>
607 * src/fcname.c (FcNameGetObjectType):
609 Don't assign types to user object names.
611 2005-12-05 Patrick Lam <plam@mit.edu>
612 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
614 Don't free strings that have been returned from FcStrStaticName.
616 2005-12-01 Patrick Lam <plam@mit.edu>
617 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
619 Add codepath for reading global cache files as well.
621 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
624 * conf.d/10-fonts.persian.conf:
625 * conf.d/Makefile.am:
627 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
629 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
632 * src/fcxml.c (FcConfigParseAndLoad):
634 Only add a config file to the set of config files once.
636 2005-11-29 Patrick Lam <plam@mit.edu>
637 * src/fcint.h (FcCacheBankToIndex);
639 Fix segfault by guarding array dereference.
641 2005-11-29 Dirk Mueller <dmueller@suse.de>
645 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
646 FcCacheBankToIndex, FcCacheBankToIndexMTF,
650 Refactor FcCacheBankToIndex into an inlineable part
651 (in fcint.h) which checks the front of the list and a
652 non-inlineable part which finds and moves the appropriate element
653 to the front of the list.
655 2005-11-29 Patrick Lam <plam@mit.edu>
656 * src/fccfg.c (FcConfigBuildFonts):
657 * src/fccache.c (FcCacheReadDirs):
659 Make the perf guys hate me a bit less: hoist the directory-name
660 FcConfigAcceptFont check for cached fonts up to directory cache
661 read time, rather than running it for each font.
663 2005-11-29 Patrick Lam <plam@mit.edu>
664 * src/fccfg.c (FcConfigBuildFonts):
666 * src/fcpat.c (FcPatternFindFullFname):
668 Don't make FcPatternFindFullFname available to fccfg, it's not
669 really safe. Instead go through FcPatternGetString (sorry,
670 perf guys.) Also, use globs for dirs as well.
672 2005-11-28 Patrick Lam <plam@mit.edu>
673 * src/fccfg.c (FcConfigBuildFonts):
677 2005-11-28 Patrick Lam <plam@mit.edu>
679 * src/fcpat.c (FcPatternFindFullFname):
680 * src/fccfg.c (FcConfigBuildFonts):
682 Fix problem dating back at least to 2.3.2 where globs weren't
683 being applied to patterns loaded from a cache.
685 2005-11-28 Patrick Lam <plam@mit.edu>
686 * doc/fontconfig-user.sgml:
688 Fix some obvious spelling mistakes.
690 2005-11-28 Dirk Mueller <dmueller@suse.com>
691 Stephan Kulow <coolo@suse.de>
694 * src/fcmatch.c (FcFontSetMatch):
696 Don't kill all fonts during match (oops!)
699 2005-11-25 Dirk Mueller <dmueller@suse.com>
700 Stephan Kulow <coolo@suse.de>
701 Michael Matz <matz@suse.de>
704 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
707 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
708 inline FcCompare into FcFontSetMatch and reorder the
709 loops, adding a boolean array which blocks patterns from future
710 consideration if they're known to not be best on some past
713 2005-11-26 Dirk Mueller <dmueller@suse.com>
716 * src/fcmatch.c (FcCompareValueList):
720 2005-11-25 Patrick Lam <plam@mit.edu>
721 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
723 Don't do random matching when bad objects are passed into
726 2005-11-25 Patrick Lam <plam@mit.edu>
728 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
729 FcPatternSerialize, FcPatternUnserialize,
730 FcValueListEnsureBank, FcValueListDistributeBytes,
731 FcValueListUnserialize):
733 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
734 _fcPatternElts, _fcValueLists for consistency.
736 2005-11-25 Dirk Mueller <dmueller@suse.com>
741 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
743 2005-11-25 Patrick Lam <plam@mit.edu>
745 * src/fccache.c (FcDirCacheConsume):
746 * src/fccharset.c (FcCharSetUnserialize):
747 * src/fcfs.c (FcFontSetUnserialize):
748 * src/fclang.c (FcLangSetUnserialize):
749 * src/fcname.c (FcObjectUnserialize):
750 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
751 FcPatternUnserialize):
753 Pass around FcCache *s to the Unserialize functions for extra
754 consistency (and less overhead, for what that's worth).
756 2005-11-24 Dirk Mueller <dmueller@suse.com>
760 * src/fcmatch.c (FcCompare*, FcFontSetSort):
761 * src/fcname.c (FcNameUnparseValue):
763 Inline the *PtrU functions to gain perf.
764 Remove unneeded params for the FcCompare* functions.
766 2005-11-24 Dirk Mueller <dmueller@suse.com>
769 * src/fcint.h, fontconfig/fontconfig.h:
771 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
773 * src/fcpat.c, src/fcint.h, src/fcname.c:
775 Check for type validity during FcPatternAddWithBinding, don't
776 verify type in FcFontMatch, don't call FcCanonicalize here
777 (which always does a deep copy).
779 2005-11-24 Dirk Mueller <dmueller@suse.com>
782 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
783 * src/fcpat.c (FcPatternAddWithBinding):
785 Make FcCompareString and FcCompareFamily less expensive.
786 Only add a value for FC_FAMILY if the proposed value is a string.
788 2005-11-24 Dirk Mueller <dmueller@suse.com>
791 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
792 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
793 * src/fcint.h (FcDebug):
795 Inline FcDebug invocations and only initialize once, in FcInit*.
796 Improve debug msg in FcPatternPrint.
798 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
801 * fontconfig/fontconfig.h:
804 Minor code warning cleanups.
806 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
809 * fc-match/fc-match.c (main):
811 Make getopt_long accept -s parameter to fc-match as well.
813 2005-11-21 Dirk Mueller <dmueller@suse.com>
816 * src/fcmatch.c (FcCompareValueList):
818 Manually perform inlining & partial redundancy elimination to
819 reduce calls to FcValueListPtrU.
821 2005-11-21 Dirk Mueller <dmueller@suse.com>
824 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
825 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
827 Only invoke strlen() when really necessary.
829 2005-11-19 Matthias Clasen <mclasen@redhat.com>
833 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
838 Get rid of the use of freetype internal headers in fcfreetype.c,
839 since those headers will go away with freetype 2.2. Replace with
840 public domain ftglue code from pango. Note that the patch removes
841 some extra error checking in FT_Get_BDF_Property() and comments
842 out the skipping of empty pcf fonts.
844 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
847 * fc-lang/fc-lang.c (main):
849 Further fix of patch from 2005-11-04: miscounted numbers count
850 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
851 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
853 Removed leafidx_count and numbers_count since they are the same
854 and replaced them with offset_count.
856 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
859 * fc-cat/fc-cat.c (main):
861 Don't crash when fc-cat invoked with no arguments.
863 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
866 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
868 Fix invalid read access caused by premature free and
869 GCC4 warnings in libxml2 codepath.
871 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
874 * src/fccfg.c (FcConfigValues):
876 List iteration not needed in FcConfigValues, since it's building
877 up the list itself; we can just strip FcVoid elements during
880 2005-11-17 Patrick Lam <plam@mit.edu>
881 * src/fccfg.c (FcConfigValues):
883 Fix crash on invalid constants in config files (forgot to update
884 a pointer upon list iteration.)
886 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
889 * src/fcxml.c (FcTypecheckExpr):
891 Complain about invalid constants in config files.
893 2005-11-17 Andreas Schwab <schwab@suse.de>
896 * src/fccache.c (FcGlobalCacheSave):
898 Don't add current_arch_start more than once.
900 2005-11-16 Patrick Lam <plam@mit.edu>
901 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
902 * src/fcfs.c (FcFontSetUnserialize):
903 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
904 * src/fcpat.c (FcStrUnserialize):
906 Fix ordering of ALIGN with respect to saving block_ptr; add
907 another ALIGN to fcfs.c.
909 2005-11-16 Patrick Lam <plam@mit.edu>
910 * src/fccache.c (FcDirCacheProduce)
912 Fix case where alignment bytes bumped up metadata->count
913 causing unwarranted failures to write cache files.
914 (Reported by Stephan Kulow).
916 2005-11-16 Patrick Lam <plam@mit.edu>
917 * src/fccache.c (FcDirCacheProduce):
918 * src/fccharset.c (FcCharSetDistributeBytes):
919 * src/fcfs.c (FcFontSetDistributeBytes):
921 * src/fclang.c (FcLangSetDistributeBytes):
922 * src/fcname.c (FcObjectDistributeBytes):
923 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
926 Add *NeededBytesAlign(), which overestimates the padding which is
927 later added by the new ALIGN macro. Fix alignment problems on
928 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
929 version by Andreas Schwab).
931 2005-11-16 Stephan Kulow <coolo@kde.org>
936 Use sysconf to determine proper PAGESIZE value; this
937 appears to be POSIX-compliant. (reported by Andreas Schwab)
939 2005-11-04 Patrick Lam <plam@mit.edu>
945 Fix bug 2878 (excessive relocations at startup for charsets,
946 reported by Ross Burton): fc-lang/fc-lang now creates the
947 static form of the langset, not the dynamic form, so that
948 the charsets should now be in .rodata.
950 2005-11-04 Patrick Lam <plam@mit.edu>
951 * src/fcdir.c (FcDirScanConfig):
953 Add test for validity of directory caches that
954 somehow got lost (reported by make distcheck).
956 2005-11-04 Patrick Lam <plam@mit.edu>
960 * fontconfig/fontconfig.h:
962 Bump version to 2.3.92.
964 2005-11-02 Patrick Lam <plam@mit.edu>
965 * src/fcpat.c (FcPatternDuplicate):
967 Fix argument ordering problem in call to FcPatternTransferFullFname.
969 2005-11-02 Patrick Lam <plam@mit.edu>
970 * src/fcfreetype.c (FcFreetypeQuery):
971 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
972 FcPatternTransferFullFname):
974 Fix warnings and embarrassing double-free error.
976 2005-11-02 Zhe Su <zsu@novell.com>
981 Change the rule for artificial emboldening in fonts.conf.in. This
982 enables the support for artificial emboldening included in cairo.
984 2005-11-02 Patrick Lam <plam@mit.edu>
985 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
987 Don't zero out full names for FC_REF_CONSTANT fonts;
988 also, duplicate full names when transferring, and free
989 full names when freeing the associated font.
990 Reported by Jinghua Luo.
992 2005-11-02 Patrick Lam <plam@mit.edu>
993 * fc-cache/fc-cache.c (scanDirs):
994 * src/fcpat.c (FcValueListSerialize):
996 Revert the previous patch and commit the correct patch:
997 I forgot a canonicalization in FcValueListSerialize, so
998 that it would choke on already-serialized input files. Duh!
1000 2005-11-02 Patrick Lam <plam@mit.edu>
1001 * fc-cache/fc-cache.c (scanDirs):
1003 Forcibly rescan a directory before writing a fresh local
1004 cache file for that directory, fixing the losing-fonts
1005 problem reported by Mike Fabian and also apparently the
1006 font cache file corruption.
1008 2005-11-02 Patrick Lam <plam@mit.edu>
1009 * src/fccache.c (FcGlobalCacheLoad):
1011 Fix thinko: actually, the whole global cache is stale
1012 if the global cache is older than the (newest) config file.
1014 2005-11-02 Patrick Lam <plam@mit.edu>
1015 * src/fccache.c (FcGlobalCacheLoad):
1016 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1019 Declare the global cache of a directory's contents to be stale if
1020 the directory is newer than the (newest) configuration file.
1022 2005-10-31 Patrick Lam <plam@mit.edu>
1024 * src/fclist.c (FcListAppend):
1025 * src/fcmatch.c (FcFontRenderPrepare):
1026 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1027 FcPatternFreeze, FcPatternBaseFreeze):
1029 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1030 applications continue breaking.
1032 2005-10-31 Patrick Lam <plam@mit.edu>
1033 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1034 * src/fcfreetype.c (FcFreeTypeQuery):
1036 Fix small memory error (tried to free argv); use basename and
1037 dirname correctly (they can modify their arguments).
1039 2005-10-31 Patrick Lam <plam@mit.edu>
1047 Reinstate basename patch, but keep a hash table linking FcPatterns
1048 to their fully-qualified font names for clients' benefit. Clients
1049 only pay for the font names once they request the FC_FILE property
1050 from an FcPattern, but the font name is malloc'd at that point (i.e.
1051 not mmapped: that's impossible, since it may vary between machines.)
1052 Clients do have to pay for a copy of the path name per cache file.
1054 Note that FcPatternGetString now does some rewriting if you ask
1055 for an FC_FILE, appending the pathname as appropriate.
1057 2005-10-31 Patrick Lam <plam@mit.edu>
1058 * src/fcfreetype.c (FcFreeTypeQuery):
1060 Revert basename patch, which breaks fontconfig clients on my system.
1062 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1065 * fontconfig/fonts.conf.in:
1066 * fontconfig/fontconfig.h:
1070 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1071 to load embedded bitmaps or not.
1073 2005-10-25 Patrick Lam <plam@mit.edu>
1074 * src/fcfreetype.c (FcFreeTypeQuery):
1076 Only add basename to patterns' FC_FILE element, not any part of
1079 2005-10-22 Patrick Lam <plam@mit.edu>
1082 Add some more consts, fixing more GCC4 warnings.
1084 2005-10-22 Zhe Su <zsu@novell.com>
1087 Support localized font family and style names.
1088 This has been reported to break old apps like xfd, but modern
1089 (gtk+/qt/mozilla) apps work fine.
1091 2005-10-21 Patrick Lam <plam@mit.edu>
1092 * src/fccache.c (FcGlobalCacheLoad):
1094 Destroy the global cache file if it's terminally broken. (reported by
1097 2005-10-21 Patrick Lam <plam@mit.edu>
1098 * fc-list/fc-list.c (main):
1099 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1100 * fontconfig/fontconfig.h:
1102 Prevent fc-list from escaping strings when printing them (reported by
1105 2005-10-20 Marcus Meissner <meissner@suse.de>
1108 * fontconfig/fontconfig.h:
1110 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1112 2005-10-14 Ross Burton <ross@burtonini.com>
1115 * fc-glyphname/fc-glyphname.c:
1118 Add consts to variables so as to move arrays into .rodata.
1120 2005-10-14 Mike Fabian <mfabian@suse.de>
1123 * src/fccache.c (FcDirCacheUnlink):
1125 Check existence of directory cache file before attempting to unlink.
1127 2005-10-13 Patrick Lam <plam@mit.edu>
1128 * src/fccache.c (FcDirCacheUnlink):
1130 Fix flipped return value on unlink. (Reported by Mike Fabian)
1132 2005-10-12 Patrick Lam <plam@mit.edu>
1135 * src/fcdir.c (FcDirScanConfig):
1138 When fc-cache is run without --force, use directory cache files
1139 to speed up fc-cache run time. (Reported by Mike Fabian)
1141 2005-10-06 Patrick Lam <plam@mit.edu>
1143 * src/fcname.c (FcObjectToPtr):
1144 * src/fcpat.c (FcStrStaticName):
1146 Add padding to make valgrind and glibc not hate each other
1147 when calling strlen().
1149 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1150 reviewed by: plam & keithp
1154 Modify config file to use Greek fonts before Asian fonts with
1157 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1158 reviewed by: plam & keithp
1162 Use libtool -no-undefined flag on all platforms.
1164 2005-10-05 Patrick Lam <plam@mit.edu>
1165 * src/fccache.c (FcCacheHaveBank):
1167 Implement move-to-front array for banks (perf regression
1168 reported by Ronny V. Vindenes).
1170 2005-10-04 Patrick Lam <plam@mit.edu>
1171 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1172 FcDirCacheHasCurrentArch):
1173 * fc-cache/fc-cache.c (scanDirs):
1174 * fontconfig/fontconfig.h:
1176 Add new API which unlinks directory caches and checks dir caches
1177 for existence of appropriate sections. Fix fc-cache to unlink
1178 stale cache files and save directory caches that lack relevant
1181 2005-10-03 Patrick Lam <plam@mit.edu>
1182 * src/fccache.c (FcDirCacheValid):
1184 Ensure that a directory cache has the appropriate section
1185 before reporting that it is valid (reported by Matthias Clasen).
1187 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1195 Use libxml2 if requested (with --enable-libxml2) or if
1196 expat is not available.
1198 2005-09-29 Patrick Lam <plam@mit.edu>
1199 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1201 Fix multi-arch cache files: compute the position for the
1202 block to be added using info from OrigFile, not NewFile.
1204 2005-09-28 Patrick Lam <plam@mit.edu>
1205 * src/fccache.c (FcCacheMachineSignature):
1207 Cast results of sizeof() to unsigned int to get rid of
1208 warnings on x86_64 (thanks Matthias Clasen).
1210 2005-09-27 Patrick Lam <plam@mit.edu>
1211 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1214 Use FcAtomic to rewrite cache files.
1216 2005-09-27 Patrick Lam <plam@mit.edu>
1218 * src/fccache.c (FcDirCacheWrite):
1220 Don't unlink the fonts.cache-2 file even if there's no data
1221 to write; just write an empty cache file. (thanks Lubos Lunak)
1223 2005-09-27 Patrick Lam <plam@mit.edu>
1225 * src/fccache.c (FcDirCacheWrite):
1227 Allocate room for the subdirectory names in each
1228 directory cache. Thanks to James Cloos for finding
1229 and diagnosing this bug!
1231 2005-09-22 Patrick Lam <plam@mit.edu>
1233 * fc-cache/fc-cache.sgml:
1234 * src/fccache.c (FcDirCacheWrite):
1235 * src/fccache.h (struct FcCache):
1237 Update documentation -- fc-cache's man page now says that you
1238 need to run fc-cache once per cached architecture; add some
1239 documentation to the FcCache structure.
1241 Make fc-cache write out fonts.cache-2 files for directories with
1242 no fonts (i.e. only subdirectories).
1244 2005-09-22 Patrick Lam <plam@mit.edu>
1246 * fc-cache/fc-cache.sgml:
1247 * fc-case/fc-case.c:
1248 * fc-glyphname/fc-glyphname.c:
1254 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1258 * fc-lang/fc-lang.c:
1259 * fontconfig/fcprivate.h:
1260 * fontconfig/fontconfig.h:
1274 Implement new mmaped cache for font information.
1275 Bump so revision to 2.3.90.
1277 2005-07-25 Keith Packard <keithp@keithp.com>
1279 * doc/fontconfig-user.sgml:
1280 * fc-glyphname/fc-glyphname.c: (scan), (main):
1281 * fc-lang/fc-lang.c: (FcConfigHome):
1282 * fc-match/fc-match.c: (main):
1283 * src/fccfg.c: (FcConfigHome):
1284 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1285 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1286 (addtag), (FcFontCapabilities):
1287 * src/fcpat.c: (FcValueListEntCreate):
1288 * src/fcstr.c: (FcStrCaseWalkerInit):
1289 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1291 Various GCC 4 cleanups for signed vs unsigned char
1293 Match only [0-9]*.conf files in <include>{directory}</include>
1294 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1296 2005-07-15 Carl Worth <cworth@cworth.org>
1299 * src/fcinit.c: (FcFini):
1300 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1303 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1304 Pull the FcObjectStateName hash table out to file scope, and add
1305 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1308 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1311 2005-06-16 Patrick Lam <plam@MIT.EDU>
1315 * src/fccfg.c: (FcConfigCompareValue):
1316 Make FcOpNotContains use FcStrStr for strings so that
1317 it matches semantics for !FcOpContains.
1319 2005-05-20 Keith Packard <keithp@keithp.com>
1323 Move fontconfig source package to libs as per override
1325 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1327 reviewed by: Mike Fabian
1330 The ka.orth file requires several characters which are not
1331 used anymore in modern Georgian and which are missing in the free
1332 Georgian TrueType fonts downloadable at:
1334 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1336 2005-04-27 Keith Packard <keithp@keithp.com>
1340 Update date to real 2.3.2 release date.
1341 Fix change attributions
1343 2005-04-27 Keith Packard <keithp@keithp.com>
1346 Bump so revision for 2.3.2
1347 * fc-cache/fc-cache.c: (scanDirs):
1348 Fix a few minor leaks in error cases.
1350 2005-04-23 Keith Packard <keithp@keithp.com>
1355 * fontconfig/fontconfig.h:
1356 Update for version 2.3.2
1358 2005-04-21 Keith Packard <keithp@keithp.com>
1360 * debian/fontconfig.postinst:
1361 Don't force bitmap font enable in default
1362 configuration; allows users to override this in
1372 * debian/po/pt_BR.po:
1373 * debian/po/templates.pot:
1375 * debian/po/zh_CN.po:
1376 Updated translations
1378 * fc-cache/fc-cache.c: (main):
1379 Destroy font configuration on exit to help valgrind
1382 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1383 (FcFreeTypeCheckGlyph):
1384 Use own transcoding routines in preference to iconv
1385 which appears to have leaks in some translators.
1386 Call iconv_close after using iconv (oops).
1388 Prefer unicode encoding of Euro char as some
1389 fonts mis-encode Euro in other ones.
1391 Must fetch bitmap glyphs to get width values
1392 to check for monospace/dual-width fonts.
1394 2005-04-13 Ross Burton <ross@burtonini.com>
1397 Check that a pattern isn't already frozen in FcPatternFreeze.
1399 2005-03-31 Ross Burton <ross@burtonini.com>
1404 Run all FcPattern objects through FcObjectStaticName, so that
1405 compares can be done on pointers instead of strings (#2659)
1407 2005-03-17 Tor Lillqvist <tml@novell.com>
1409 * src/fontconfig.def.in: Add the .dll to the dll name.
1411 2005-03-10 Keith Packard <keithp@keithp.com>
1413 * debian/README.Debian:
1414 Update to reflect configuration changes
1416 * debian/fontconfig.postinst:
1417 Fix Autohint vs Autohinter mistake
1418 * debian/fontconfig.templates:
1419 Adopt changes from Josselin Mouette for configuration descriptions
1420 Update debian to version 2.3.1-2
1422 2005-03-08 Keith Packard <keithp@keithp.com>
1426 Update debian for 2.3.1
1428 2005-03-09 Tor Lillqvist <tml@novell.com>
1430 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1433 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1436 2005-03-08 Keith Packard <keithp@keithp.com>
1440 * fontconfig/fontconfig.h:
1443 2005-03-05 Keith Packard <keithp@keithp.com>
1445 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1446 Include space and remove numbers from valid script tags.
1447 This ensures that tags like 'lao ' work while rejecting
1448 those which have any digits.
1449 Eliminate a spurious debugging variable (len)
1451 2005-03-05 Keith Packard <keithp@keithp.com>
1453 * src/fcfreetype.c: (addtag), (GetScriptTags),
1454 (FcFontCapabilities):
1455 Rework GSUB/GPOS script parsing to survive broken fonts.
1456 Thanks for the broken font go to Manish Singh
1458 2005-03-05 Keith Packard <keithp@keithp.com>
1463 * debian/fontconfig.config:
1464 * debian/fontconfig.templates:
1466 Include 2.3 release information in changelog
1467 Add Josselin Mouette as an Uploader
1468 Set hinting_type to low priority configuration option
1471 * debian/fontconfig.postinst:
1472 yes_bitmaps.conf -> yes-bitmaps.conf
1478 2005-03-02 Keith Packard <keithp@keithp.com>
1481 * conf.d/Makefile.am:
1482 * conf.d/autohint.conf:
1483 * conf.d/no-sub-pixel.conf:
1484 * conf.d/sub-pixel.conf:
1485 * conf.d/unhinted.conf:
1486 * debian/autohint.conf:
1487 * debian/fontconfig.install:
1488 * debian/fontconfig.postinst:
1489 * debian/fontconfig.templates:
1490 * debian/no-sub-pixel.conf:
1491 * debian/unhinted.conf:
1492 Move debian-specific conf file examples upstream.
1494 Sub-pixel configuration examples must smash subpixel value
1495 as Xft always sets it from X.
1497 Change sub-pixel rendering debconf descriptions from
1498 Enable/Disable to Always/Never.
1500 2005-03-02 Keith Packard <keithp@keithp.com>
1503 * conf.d/.cvsignore:
1505 Ignore more build detritus
1508 Add debian package construction stuff.
1510 * config/config.guess:
1511 * config/config.sub:
1512 Update to newer versions of these tools
1515 Get library manuals to build again (we love automake).
1517 * debian/README.Debian:
1518 * debian/autohint.conf:
1523 * debian/fontconfig-udeb.install:
1524 * debian/fontconfig.config:
1525 * debian/fontconfig.defoma:
1526 * debian/fontconfig.dirs:
1527 * debian/fontconfig.install:
1528 * debian/fontconfig.postinst:
1529 * debian/fontconfig.postrm:
1530 * debian/fontconfig.templates:
1531 * debian/libfontconfig1-dev.install:
1532 * debian/libfontconfig1.install:
1533 * debian/local.conf.md5sum:
1534 * debian/no-sub-pixel.conf:
1535 * debian/po/POTFILES.in:
1544 * debian/po/pt_BR.po:
1545 * debian/po/templates.pot:
1547 * debian/po/zh_CN.po:
1549 * debian/unhinted.conf:
1550 Update debian build system to switch maintainers and
1551 deal with 2.3 functionality
1553 2005-03-01 Keith Packard <keithp@keithp.com>
1557 * fontconfig/fontconfig.h:
1560 2005-03-01 Keith Packard <keithp@keithp.com>
1563 Generate and install PDF versions of the manuals
1565 * doc/fcpattern.fncs:
1568 * doc/fcstring.fncs:
1569 Add missing exported functions, fix data types
1571 * doc/fontconfig-devel.sgml:
1572 Add missing pattern elements.
1574 * doc/fontconfig-user.sgml:
1575 Add missing pattern elements. Document conf.d usage,
1576 clarify available orthography list. Fix some config file
1577 attributes. Complete list of constants.
1579 * fontconfig/fontconfig.h:
1580 Mark FC_SOURCE deprecated.
1582 * src/fcfreetype.c: (FcFreeTypeQuery):
1583 Don't set FC_SOURCE any longer.
1585 2005-02-28 Keith Packard <keithp@keithp.com>
1588 * conf.d/Makefile.am:
1590 * conf.d/no-bitmaps.conf:
1591 * conf.d/sub-pixel.conf:
1592 * conf.d/yes-bitmaps.conf:
1594 Create prototype /etc/fonts/conf.d directory with a few
1595 sample configuration files.
1596 Deprecate use of local.conf for local customizations in favor of
1597 this directory based scheme which is more easily integrated into
1598 installation systems.
1601 Tag FC_EMBOLDEN as a boolean variable
1603 2005-02-10 Keith Packard <keithp@keithp.com>
1605 reviewed by: pborelli@katamail.com
1607 * src/fcdir.c: (FcFileScanConfig):
1608 Free patterns from fonts which are rejected by configuration
1611 2005-01-28 Keith Packard <keithp@keithp.com>
1615 * fontconfig/fontconfig.h:
1616 Update for version 2.2.99
1618 2005-01-28 Keith Packard <keithp@keithp.com>
1621 Add a few pointers (#2284, #2285)
1623 2005-01-28 Keith Packard <keithp@keithp.com>
1626 * src/fcname.c: (FcNameBool):
1627 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1628 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1629 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1630 Polite typechecking for test and edit expressions. Helps
1631 catch errors in the font configuration. (bug 229)
1633 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1635 reviewed by: Keith Packard <keithp@keithp.com>
1638 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1640 2005-01-13 Keith Packard <keithp@keithp.com>
1642 * doc/fontconfig-user.sgml:
1643 Add SEE ALSO section (bug 2085)
1645 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1647 reviewed by: Keith Packard <keithp@keithp.com>
1652 * fc-case/Makefile.am:
1653 * fc-glyphname/Makefile.am:
1654 * fc-lang/Makefile.am:
1655 * src/fontconfig.def.in:
1656 Cross compiling fixes (bug 280)
1658 2005-01-13 Keith Packard <keithp@keithp.com>
1661 Update blanks list (Closes bug 86)
1663 2005-01-04 Keith Packard <keithp@keithp.com>
1665 * src/fccache.c: (FcCacheFontSetAdd):
1666 Verify that every font pattern loaded from cache has
1667 both FC_FILE and FC_FAMILY entries.
1668 Attempt to fix bug #2219.
1670 2004-12-29 Keith Packard <keithp@keithp.com>
1674 * fontconfig/fontconfig.h:
1675 Update for version 2.2.98
1677 2004-12-29 Keith Packard <keithp@keithp.com>
1679 * fontconfig/fontconfig.h:
1680 Document ASCII limitations of Fc character conversion macros
1681 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1682 Fix off-by-one error in utf-8 case walking code.
1683 Add FcStrDowncase (useful for testing case conversion functions)
1685 2004-12-29 Keith Packard <keithp@keithp.com>
1688 * fc-case/.cvsignore:
1689 clean up CVS ignore lists
1690 * fc-lang/iso-3166.txt:
1691 Add territory database
1693 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1695 Reviewed by: Keith Packard
1698 Remove Han characters from Korean orthography
1700 2004-12-29 Keith Packard <keithp@keithp.com>
1703 Reorder utility programs to make sure fc-case is run before fc-lang
1704 as fc-lang uses fcstr.c which uses fccase.h
1708 2004-12-29 Keith Packard <keithp@keithp.com>
1711 Adopt some RedHat suggestions for standard font configuration.
1715 * fc-case/CaseFolding.txt:
1716 * fc-case/Makefile.am:
1717 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1718 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1719 (dump), (parseRaw), (caseFoldReadRaw), (main):
1720 * fc-case/fccase.tmpl.h:
1721 Add new helper program 'fc-case' to construct case folding
1722 tables from standard Unicode CaseFolding.txt file
1725 * src/fclist.c: (FcListValueHash):
1726 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1727 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1728 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1729 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1730 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1731 Re-implement case insensitive functions with Unicode
1732 aware versions (including full case folding mappings)
1734 2004-12-13 Keith Packard <keithp@keithp.com>
1736 reviewed by: Owen Taylor <otaylor@redhat.com>
1738 * src/fcmatch.c: (FcFontSetSort):
1739 I changed FcFontSetSort to respect the generic aliases better
1740 in the face of language matching.
1742 What I did was to ammend the strict sort order used by FcFontSort so
1743 that it 'satisfies' the language specified in the pattern by locating
1744 the best matching font supporting each pattern language and then
1745 ignores language in the remaining fonts for purposes of matching.
1747 So, when asking for 'sans:lang=en', you'll get an English font first,
1748 and then the remaining fonts sorted with respect to the 'sans' alias
1749 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1751 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1753 reviewed by: Keith Packard <keithp@keithp.com>
1755 * fontconfig/fontconfig.h:
1758 Configuration changes to request synthetic emboldening of
1759 fonts. The actual emboldening code will live in Xft.
1761 2004-12-09 John Thacker <thacker@math.cornell.edu>
1763 reviewed by: Keith Packard <keithp@keithp.com>
1767 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1768 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1769 и), and don't even appear in KOI8-R. (The hypothesis that they
1770 don't appear in KOI8-R due to their similarity with Latin I and i is
1771 eliminated by their presence in KOI8-U.) I have a couple of fonts
1772 with Russian support that don't have the letter.
1774 Therefore, 0406 and 0456 should be removed from or commented out of
1777 2004-12-06 michael meeks <mmeeks@novell.com>
1779 Reviewed by: Keith Packard <keithp@keithp.com>
1781 * src/fcinit.c: (FcMemReport):
1783 * src/fclist.c: (FcObjectSetAdd):
1784 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1785 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1786 * src/fcxml.c: (FcParsePatelt):
1787 memoize strings and share a single copy for all uses. Note that
1788 this could be improved further by using statically allocated blocks
1789 and gluing multiple strings together, but I'm basically lazy.
1790 In my environment with 800 font files, I get a savings of about 90KB.
1792 2004-12-06 Keith Packard <keithp@keithp.com>
1796 * config/Makedefs.in:
1799 * doc/fcatomic.fncs:
1800 * doc/fcblanks.fncs:
1801 * doc/fccharset.fncs:
1802 * doc/fcconfig.fncs:
1803 * doc/fcconstant.fncs:
1805 * doc/fcfontset.fncs:
1806 * doc/fcfreetype.fncs:
1808 * doc/fcmatrix.fncs:
1809 * doc/fcobjectset.fncs:
1810 * doc/fcobjecttype.fncs:
1811 * doc/fcpattern.fncs:
1812 * doc/fcstring.fncs:
1813 * doc/fcstrset.fncs:
1815 * doc/fontconfig-devel.sgml:
1816 * doc/fontconfig-user.sgml:
1818 * doc/version.sgml.in:
1819 * fc-cache/Makefile.am:
1820 * fc-cache/fc-cache.c:
1821 * fc-glyphname/Makefile.am:
1822 * fc-glyphname/fc-glyphname.c:
1823 * fc-glyphname/fcglyphname.tmpl.h:
1824 * fc-lang/Makefile.am:
1834 * fc-lang/az_ir.orth:
1868 * fc-lang/fc-lang.c:
1869 * fc-lang/fc-lang.man:
1870 * fc-lang/fclang.tmpl.h:
1915 * fc-lang/ku_ir.orth:
1948 * fc-lang/ps_af.orth:
1949 * fc-lang/ps_pk.orth:
1978 * fc-lang/ti_er.orth:
1979 * fc-lang/ti_et.orth:
2005 * fc-lang/zh_cn.orth:
2006 * fc-lang/zh_hk.orth:
2007 * fc-lang/zh_mo.orth:
2008 * fc-lang/zh_sg.orth:
2009 * fc-lang/zh_tw.orth:
2011 * fc-list/Makefile.am:
2012 * fc-list/fc-list.c:
2013 * fc-match/Makefile.am:
2014 * fc-match/fc-match.1:
2015 * fc-match/fc-match.c:
2016 * fontconfig/fcfreetype.h:
2017 * fontconfig/fcprivate.h:
2018 * fontconfig/fontconfig.h:
2039 Change files from ISO-Latin-1 to UTF-8
2041 2004-12-04 Keith Packard <keithp@keithp.com>
2044 Update links to new freedesktop.org locations
2046 Add uninstall-local to get rid of fonts.conf and local.conf if they
2047 match the distributed versions. Fixes 'make distcheck'
2049 2004-12-04 Keith Packard <keithp@keithp.com>
2053 * fontconfig/fontconfig.h:
2054 Updates for version 2.2.97
2056 2004-12-04 Owen Taylor <otaylor@redhat.com>
2058 reviewed by: Keith Packard <keithp@keithp.com>
2060 * fc-cache/fc-cache.c: (main):
2061 Sleep for two seconds before exiting to make sure timestamps
2062 for future changes have distinct mod times in the file system.
2065 Add Punjabi orthography. Bug #1671.
2067 2004-12-04 Keith Packard <keithp@keithp.com>
2070 Just remove the FC_FONTDATE -- it has locale issues and
2071 annoys redhat multi-arch installs. Now that all X fonts are
2072 included without prejudice, the chances of the date being at
2073 all interesting are rather limited. Bug #505.
2075 Add copyright and license
2077 2004-12-04 Keith Packard <keithp@keithp.com>
2080 Change default set of fonts to include all of
2081 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2082 * doc/fontconfig-user.sgml:
2083 Document new <include>directory-name</include> semantics
2085 add <include ignore_missing="yes">conf.d</include>
2087 Add selectfont to ignore bitmap fonts, add comment for
2088 selectfont which accepts bitmap fonts.
2091 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2092 Allow <include> configuration elements to reference directories.
2093 Parse and load all files of the form [0-9]* in sorted order.
2095 2004-12-04 Keith Packard <keithp@keithp.com>
2098 Report command line for $srcdir/configure accurately.
2101 2004-12-04 Keith Packard <keithp@keithp.com>
2103 * src/fcfreetype.c: (FcFreeTypeQuery):
2104 Check for non-empty face->family_name and face->style_name
2105 before using those for the font. Empty names match everything.
2108 2004-12-04 Keith Packard <keithp@keithp.com>
2111 * fontconfig/fontconfig.h:
2112 * src/fcfreetype.c: (FcFreeTypeQuery):
2114 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2115 available. This provides font file format information (BDF, Type 1,
2116 PCF, TrueType) for each font. Closes #109.
2118 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2120 reviewed by: Keith Packard <keithp@keithp.com>
2122 * doc/fontconfig-user.sgml:
2125 * fontconfig/fontconfig.h:
2126 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2127 (GetScriptTags), (FcFontCapabilities):
2129 Add detection for font capabilities (bug #105)
2131 2004-12-04 Keith Packard <keithp@keithp.com>
2134 Move existing fonts.conf to fonts.conf.bak
2137 Add detection of iconv
2139 * doc/fcpattern.fncs:
2140 * doc/fontconfig-devel.sgml:
2141 * doc/fontconfig-user.sgml:
2143 Document new selectfont elements
2146 Switch to UTF-8 in comment
2148 * fontconfig/fontconfig.h:
2150 Add fullname, and family/style/fullname language entries
2152 * src/fccache.c: (FcCacheFontSetAdd):
2153 * src/fcdir.c: (FcFileScanConfig):
2154 Respect selectfont/*/glob
2157 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2158 (FcConfigCompareValue), (FcConfigPatternsAdd),
2159 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2160 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2161 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2162 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2163 Add support for selectfont
2165 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2166 (FcStringInPatternElement), (FcFreeTypeQuery):
2167 Add multi-lingual family/style/fullname support
2169 * src/fclist.c: (FcListPatternMatchAny):
2170 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2172 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2173 (FcObjectStaticName):
2174 Add new FcPatternRemove/FcPatternAppend.
2175 FcObjectStaticName stores computed pattern element names which
2176 are required to be static.
2178 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2183 Remove spurious / after $(DESTDIR)
2185 2004-06-30 Keith Packard <keithp@keithp.com>
2189 * fontconfig/fontconfig.h:
2192 2004-06-30 Keith Packard <keithp@keithp.com>
2194 Provided by: Lubos Lunak <l.lunak@suse.cz>
2196 * src/fccfg.c: (FcConfigUptoDate):
2197 However FcConfigUptoDate() doesn't seem to work. See the attached
2198 patch. First there's an obvious misplaced parenthesis making it
2199 return always false, and second, even this call fails to detect font
2200 changes (e.g. adding a new font to
2201 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2202 well. The problem seems to be triggered by my fonts.conf specifying
2203 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2204 doesn't include subdirs, unlike config->fontDirs.
2206 2004-06-03 Keith Packard <keithp@keithp.com>
2208 * fontconfig/fontconfig.h:
2209 Remove comma at end of FcResult enum definition.
2211 2004-05-29 Keith Packard <keithp@keithp.com>
2214 Add steps to md5sum release
2216 2004-05-29 Keith Packard <keithp@keithp.com>
2220 * fontconfig/fontconfig.h:
2223 2004-05-29 Keith Packard <keithp@keithp.com>
2225 * fontconfig/fontconfig.h:
2226 * src/fcmatch.c: (FcFontSetMatch):
2227 Add FcResultOutOfMemory to provide an accurate error when
2228 FcFontSetMatch fails in this way
2231 Make #warning about lacking various FreeType features indicate
2232 which version those features appeared so users know how to
2233 fix the problem (Thanks to Anton Tropashko)
2235 2004-05-05 Keith Packard <keithp@keithp.com>
2237 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2238 Replace MIN/MAX/ABS macros which happen to have come
2239 from FreeType with fontconfig-specific ones (FC_*)
2241 2004-04-23 Keith Packard <keithp@keithp.com>
2244 Extend release preparation instructions to include
2245 notification and distribution steps
2247 2004-04-23 Keith Packard <keithp@keithp.com>
2251 * fontconfig/fontconfig.h:
2252 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2254 2004-04-23 Keith Packard <keithp@keithp.com>
2257 Ignore a few more autotool files
2259 2004-04-14 Keith Packard <keithp@keithp.com>
2262 Add instructions for doing a release
2264 * fontconfig.spec.in:
2265 clean up .spec file; perhaps this will be useful to somebody...
2269 * fontconfig/fontconfig.h:
2272 * fc-lang/fc-lang.c:
2273 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2275 * fc-glyphname/Makefile.am:
2276 * fc-lang/Makefile.am:
2277 * fc-list/Makefile.am:
2278 * fc-match/Makefile.am:
2280 Add WARN_CFLAGS to pass -W flags for GCC systems
2282 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2283 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2284 Change various char types around to match across
2286 Fixed bug in using available_sizes[i].height which
2287 is in pixels, not 64ths of a pixel.
2289 2004-03-06 Keith Packard <keithp@keithp.com>
2291 * src/fcfreetype.c: (FcFreeTypeQuery):
2292 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2293 matches looking for explicit values prefer exact matches
2295 2004-03-02 Keith Packard <keithp@keithp.com>
2297 Supplied by: mfabian@suse.de (Mike FABIAN)
2299 * src/fcfreetype.c: (FcFreeTypeQuery):
2300 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2301 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2303 2004-02-21 Manish Singh <yosh@gimp.org>
2305 * fc-glyphname/fc-glyphname.c: (main):
2306 Cast strlen to int for printf, so we're 64-bit clean.
2308 2004-02-11 Keith Packard <keithp@keithp.com>
2311 * src/fcfreetype.c: (FcGetPixelSize):
2312 Ok, so I messed up the test for y_ppem. Let's see if I
2313 got it right this time.
2315 2004-02-10 Keith Packard <keithp@keithp.com>
2318 * src/fcfreetype.c: (FcGetPixelSize):
2319 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2320 FT_Bitmap_Size record. Add a configure.in test for this
2321 and change the code accordingly (using height instead).
2323 2004-02-06 Keith Packard <keithp@keithp.com>
2326 Add Low Saxon orthography
2327 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2329 * src/fccfg.c: (FcConfigNewestFile):
2330 Oops. Left 'newest.set' unset, which would miscompute
2333 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2334 (FcFreeTypeCheckGlyph):
2335 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2336 font properties (which report the wrong value in current FreeType)
2338 Don't attempt to check for empty glyphs in non-scalable fonts; they
2341 2004-02-01 Tor Lillqvist <tml@iki.fi>
2343 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2344 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2345 cache if config->cache is NULL, which happens if FcConfigHome() is
2346 NULL. Guard against that by using the temp folder in that case.
2348 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2350 * fc-lang/az_ir.orth:
2351 * fc-lang/ku_ir.orth:
2352 * fc-lang/ps_af.orth:
2353 * fc-lang/ps_pk.orth:
2354 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2355 (Afghan and Pakistani).
2357 Updated Urdu orthography with real data.
2359 2003-12-11 Carl Worth <cworth@east.isi.edu>
2361 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2364 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2366 (all-local): Remove excessive whitespace.
2368 * autogen.sh: Add 'set -e' to abort when any program fails,
2369 (avoids printing of 'now type make' after configure aborts).
2371 2003-11-17 Eric Christopherson <rakko@charter.net>
2373 reviewed by: Keith Packard <keithp@keithp.com>
2376 * fontconfig/fcfreetype.h:
2378 Switch to FreeType 2.1.7 style includes. Bug #150.
2380 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2382 * fc-list/fc-list.sgml: Add some example usages.
2384 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2387 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2390 2003-10-27 Keith Packard <keith@keithp.com>
2393 * fontconfig/fontconfig.h:
2394 Update to version 2.2.92
2396 2003-10-27 Keith Packard <keithp@keithp.com>
2401 * fc-cache/Makefile.am:
2402 * fc-glyphname/Makefile.am:
2403 * fc-lang/Makefile.am:
2404 * fc-list/Makefile.am:
2405 * fc-match/Makefile.am:
2408 Yet more cleanups to finish getting 'make distcheck' working
2409 This has been tested to ensure that it even works from a _build
2412 2003-10-26 Keith Packard <keithp@keithp.com>
2416 * fc-cache/Makefile.am:
2417 * fc-glyphname/Makefile.am:
2418 * fc-lang/Makefile.am:
2419 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2420 * fc-list/Makefile.am:
2421 * fc-match/Makefile.am:
2422 Attempts to fix 'make distcheck' work. Things are
2423 progressing pretty well, but there are still failures
2424 long into the process dealing with docs (as always).
2426 The big changes here are mostly to make $(srcdir) != "."
2427 work correctly, fixing the docbook related sections and
2428 fc-lang were particularily tricky. Docbook refuses to load
2429 system entities from anywhere other than where the original .sgml
2430 file was located, so no luck looking in "." for the
2431 configure-generated version.sgml and confdir.sgml files.
2433 fc-lang needed help finding .orth files; added a -d option
2434 to set the directory as the least evil of many options.
2436 Now to go use a faster machine and try and wring out the last
2439 2003-10-26 Keith Packard <keithp@keithp.com>
2443 2003-10-26 Keith Packard <keithp@keithp.com>
2446 Include confdir.sgml.in in EXTRA_DIST
2448 2003-10-09 Josselin Mouette <joss@debian.org>
2450 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2451 * fc-list/fc-list.sgml fc-list/Makefile.am:
2452 Replace fc-cache and fc-list manpages with more detailed, SGML
2455 2003-09-23 Owen Taylor <otaylor@redhat.com>
2457 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2458 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2459 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2462 2003-09-23 Owen Taylor <otaylor@redhat.com>
2464 * fc-lang/ka.orth: Remove Georgian capitals, they
2465 aren't used for normal writing. (Bug #116)
2467 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2469 * doc/fontconfig-devel.sgml:
2470 * doc/fontconfig-user.sgml:
2471 * fontconfig/fontconfig.h:
2473 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2474 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2476 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2477 monospace and dual-width fonts, allow roughly a 3% variance in the
2480 2003-08-31 Manish Singh <yosh@gimp.org>
2482 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2485 2003-08-15 Carl Worth <cworth@isi.edu>
2487 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2488 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2490 * src/fcpat.c (FcValueListEntDestroy): New function to support
2491 FcFini memory cleanup. Some statistics are not kept in
2493 (FcValueListFreeze): Move hashTable outside this function so it
2494 can be accessed by FcValueListThawAll.
2495 (FcValueListThawAll): New function complements FcValueListFreeze.
2496 (FcPatternBaseFreeze): Move hashTable outside this function so it
2497 can be accessed by FcPatternBaseThawAll.
2498 (FcPatternBaseThawAll): New function complements
2499 FcPatternBaseFreeze.
2500 (FcPatternThawAll): New function complements FcPatternFreeze.
2502 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2504 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2505 allocated FcCharLeafEnt "blocks" so they can be freed later.
2506 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2507 can be accessed by FcCharSetThawAllLeaf.
2508 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2509 (FcCharSetFreezeBase): Move hashTable outside this function so it
2510 can be accessed by FcCharSetThawAll.
2511 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2513 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2514 (FcConfigDestroy): Fic leak of FcBlanks.
2516 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2517 (main): Add call to FcFini when finished.
2519 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2520 static. Add prototypes.
2522 * doc/fcinit.fncs: Add documentation for FcFini function.
2524 * doc/edit-sgml.c: Mark several local functions as static. Add
2527 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2529 2003-06-15 Tor Lillqvist <tml@iki.fi>
2531 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2532 before comparing (needed on Windows).
2534 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2536 2003-06-13 Tor Lillqvist <tml@iki.fi>
2538 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2541 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2542 WINDOWSFONTDIR token.
2544 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2545 end, not to confuse libtool, which expects the EXPORTS line to be
2546 the first. Add FcConfigEnableHome.
2548 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2549 built as a DLL on Win32.
2551 2003-06-09 Keith Packard <keithp@keithp.com>
2553 * Tag version 2.2.90
2555 2003-06-09 Keith Packard <keithp@keithp.com>
2557 * Optimization in FcLangSetIndex was broken, occasionally
2558 returning a pointer to the wrong location on miss
2560 * Add fc-match to test font matching from the command line.
2562 2003-05-31 Keith Packard <keithp@keithp.com>
2564 * (Bug 85) add support for culmus fonts
2565 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2566 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2568 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2570 * Fix "contains" op for strings and langsets.
2572 2003-05-17 Keith Packard <keithp@keithp.com>
2574 * Fix build error with BDF prop local. Free langset after query
2576 2003-05-14 Keith Packard <keithp@keithp.com>
2578 * Extract spacing from XLFD atom
2580 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2582 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2583 disappeared in 1.30.
2585 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2587 2003-05-12 Keith Packard <keithp@keithp.com>
2589 * Use FcIsWidth to share code
2591 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2592 misclassifying some Han fonts as monospaced.
2594 2003-05-07 Keith Packard <keithp@keithp.com>
2596 * Add filename-based accept/reject to ammend available fonts.
2598 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2599 older FreeType releases.
2601 2003-05-06 Keith Packard <keithp@keithp.com>
2603 * Remove 0b82 and Tamil numbers from tamil
2604 orthography (Jungshik Shin <jshin@mailaps.org>)
2606 2003-05-04 Keith Packard <keithp@keithp.com>
2608 + Map glyph names in fonts with adobe custom encoding to unicode
2610 2003-05-02 Keith Packard <keithp@keithp.com>
2612 * Add FC_WEIGHT_BOOK as weight 75
2614 2003-04-30 Keith Packard <keithp@keithp.com>
2616 * Typo in bitstream foundry name
2618 2003-04-24 Keith Packard <keithp@keithp.com>
2620 * Eliminate italic_angle check for PS fonts
2622 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2624 * Getting closer to fixing /etc/fonts hard-coding.
2626 2003-04-22 Keith Packard <keithp@keithp.com>
2628 * Update autogen.sh to work with newer automake versions
2629 * Handle pattern elements moving during multiple edits
2631 2003-04-23 James Henstridge <james@daa.com.au>
2633 * doc/fontconfig-devel.sgml: close the <para> element.
2635 * doc/fcpattern.fncs: close the <para> element.
2637 * doc/func.sgml: close the <refsynopsisdiv> element.
2639 2003-04-22 Keith Packard <keithp@keithp.com
2641 * Update autogen.sh to work with newer automake versions
2642 * Handle pattern elements moving during multiple edits
2644 2003-04-17 Colin Walters <walters@debian.org>
2646 + Remove some unused variables, and initialize some other ones so
2647 gcc doesn't warn us.
2649 2003-04-16 Keith Packard <keithp@keithp.com>
2651 + tag version 2.1.94
2653 2003-04-16 Keith Packard <keithp@keithp.com>
2655 + add BDF property fetching support for foundry
2656 (from Juliusz Chroboczek)
2657 + add BDF property fetching support for width
2659 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2661 + Implemented foundry generation for Type 1 and TrueType
2663 2003-04-11 Gerard Escalante <g2@magestudios.net>
2665 + Retrieve information from Type1 FontInfo dictionaries
2667 2003-04-07 Colin Walters <walters@verbum.org>
2669 + src/Makefile.am: Fix dummy makefile target names when
2670 MS_LIB_AVAILABLE isn't set.
2672 2003-03-22 Tor Lillqvist <tml@iki.fi>
2674 Changes for Windows:
2676 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2678 + We don't want to hardcode the fonts.conf file location in the
2679 DLL, so we look up the DLL location at run-time in a DllMain()
2680 function. The fonts.conf location is deduced from that.
2682 + The colon can't be used as path separator on Windows,
2683 semicolon is used instead. File path components can be separated
2684 with either slash or backslash. Absolute paths can also begin
2685 with a drive letter.
2687 + Add internal function FcStrLastSlash that strrchr's the last
2688 slash, or backslash on Windows.
2690 + There is no link() on Windows. For atomicity checks, mkdir a
2691 lock directory instead.
2693 + In addition to HOME, also look for USERPROFILE.
2695 + Recognize the special font directory token WINDOWSFONTDIR, to
2696 use the system's font directory.
2698 + Remove the fontconfig-def.cpp that was obsolete. Add
2699 fontconfig.def(.in), without internal functions.
2701 + Add a fontconfig-zip(.in) script, used to build a binary
2704 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2705 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2706 to main package and man3/* to devel package
2708 + Added missing defattr(-, root, root) to main RPM package
2710 + Added HTML and text development documentation to -devel subpackage
2712 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2713 + Added back the configure macro options --disable-docs, otherwise
2714 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2715 version number) unconditionally, causing RPM to fail the build due
2716 to _unpackaged_files_terminate_build. We pick up the pregenerated
2717 docs with %doc already.
2719 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2720 + Removed commented out rpm macro define at top of spec file,
2721 replacing it with a simple explanation, since rpm macros are
2722 expanded by rpm even in comments.
2724 + Changed /usr/bin to _bindir in BuildRequires lines
2726 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2728 + Reorganized file manifest lists
2730 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2732 + fontconfig.spec.in: Improvements from Red Hat spec file.
2734 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2736 + docs/*.sgml: SGML fixes.
2738 Sat Mar 1 17:28:53 PST 2003 keithp
2739 + Ok, so the ChangeLog is a bit out of date
2741 + Lots of bugs fixed; most are in bugzilla, the
2742 biggest problems were in cache management where
2743 Owen discovered the library would lose badly when
2744 combining fonts-cache and ~/.fonts-cache data
2746 + Converted from autoconf to automake. This after
2747 getting patches accepted into libtool to allow
2748 the '-version-number' argument which lets
2749 packages set version numbers explicitly rather
2750 than the roundabout libtool way
2752 + Converted documentation to SGML using the docbook
2753 DTD. Now .txt and .html documents are installed
2754 in /usr/share/doc/fontconfig and there's no
2755 man page. Perhaps a man version can be written
2758 Sat Aug 31 15:21:22 PDT 2002 keithp
2759 + Xrender and Xft had several bugs related to
2760 rendering manually placed or poly-face text
2762 + Added more complete memory tracing in fontconfig
2763 Checked with (patched) mozilla and found no leaks
2765 + Updated Latin orthographies by comparing those from
2766 evertype.com with those from eki.ee. Tried to make
2767 sensible choices, including chars that occured in both
2768 and leaving some optional chars out that occured only
2771 Mon Aug 26 16:33:04 PDT 2002 keithp
2772 + Owen discovered that FcLangSetHasLang wasn't actually
2773 checking the language set.
2775 Mon Aug 26 13:37:23 PDT 2002 keithp
2776 + Append a version number to cache filenames
2778 Thu Aug 22 11:36:18 PDT 2002 keithp
2780 + Add "contains" and "not_contains" operators and elements to
2783 + Changed semantics of eq operator for LangSets to check for
2784 FcLangEqual so that any match will do
2786 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2787 of FcValueEqual to check for identical values when inserting into
2788 the results. This broke when the above semantic change was made,
2789 now it uses FcValueEqual which is "more correct" in any case.
2791 Thu Aug 22 00:32:29 PDT 2002 keithp
2793 + Reimplement FC_LANG as new datatype. Lists of strings
2794 was consuming over a megabyte of memory for 401 fonts.
2796 + Freeze patterns loaded from cache files. This shares
2797 common value lists and common patterns which saves
2798 considerable memory.
2800 + Change the denotation of 'constant' charsets to use special
2801 ref value instead of separate boolean.
2803 + Clean up leak tracing stuff, found several unannoted alloc/free
2806 Tue Aug 20 16:17:37 PDT 2002 keithp
2808 + Fix memory leak when parsing matrices from XML
2810 Mon Aug 19 11:57:27 PDT 2002 keithp
2812 + Fix autoconf files to pass FONTCONFIG_PATH on
2813 compile line so that ${prefix} gets substituted
2816 + Use getc_unlocked/putc_unlocked on systems that
2817 provide them to avoid damage done to stdio by posix
2819 + Eliminate FC_PATTERN and FcTypePattern in favor of
2820 an extended api for FcConfigSubstitute which takes
2821 both the font and the pattern.
2823 + Add 'sans serif' alias for 'sans-serif' as some apps
2824 can't handle hyphens in family names
2826 + Eliminate pretense of support for libxml2
2828 + Comment origins of Han orthographies
2830 Tue Jul 30 18:37:09 PDT 2002 keithp
2832 + Add binding property to edit element so that strong
2833 binding values may be inserted by the config file.
2834 The default remains weak.
2836 Sun 28 Jul 04:16:55 PDT 2002 keithp
2838 + Tagged release candidate 1 in the CVS tree and
2839 placed fcpackage.rc1.tar.gz for distribution
2841 Thu Aug 1 08:55:08 PDT 2002 keithp
2843 + Fixed autoconf builds to always specify install
2844 target files (for BSD). Also fixed to
2845 define FONTCONFIG_PATH in config.h so that
2846 nonstandard installs will actually work.