1 2006-02-17 Patrick Lam <plam@mit.edu>
2 * fc-cat/fc-cat.c (main):
4 Enable fc-cat to print out old-style cache info when given a
7 2006-02-16 Patrick Lam <plam@mit.edu>
8 * src/fccache.c (FcDirCacheHasCurrentArch):
10 Deal correctly with changing FC_CACHE_MAGIC.
12 2006-02-16 Patrick Lam <plam@mit.edu>
13 * fc-cache/fc-cache.c (usage, scanDirs, main):
15 Add -r --really-force option which blows away cache files and then
18 2006-02-16 Patrick Lam <plam@mit.edu>
19 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
21 Don't bail if fontconfig can't remove a dir cache file.
22 Skip the ID of a cache file when copying.
23 Eliminate 'source file too small' bug in FcDirCacheWrite.
25 2006-02-13 Patrick Lam <plam@mit.edu>
26 * src/fcfreetype.c (FcFreeTypeQuery):
28 Fix memory leak in error condition code.
30 2006-02-13 Mike Fabian <mfabian@suse.de>
32 * src/fcfreetype.c (FcFreeTypeQuery):
34 Skip bitmap fonts which can't even get it together enough to
35 declare a family name; this appears to reproduce previous
38 2006-02-10 Takashi Iwai <tiwai@suse.de>
40 * src/fccache.c (FcDirCacheOpen):
42 Try to open /var/cache/fontconfig/[hashed name] before
43 fonts.cache-2 in a directory, because /var/cache/fontconfig
44 failures ought to be fixable, unlike fonts.cache-2 failures,
45 which may leave you screwed.
47 2006-02-10 Takashi Iwai <tiwai@suse.de>
49 * src/fcmatch.c (FcFontSetMatch):
51 Use a tri-state to mark the fonts which didn't get blocked but
52 were just missing an element, to distinguish them from the
53 fonts that do match the element.
55 2006-02-10 Takashi Iwai <tiwai@suse.de>
57 * src/fcmatch.c (FcFontSetMatch):
59 Don't kill fonts because they don't declare an element that's
62 2006-02-09 Patrick Lam <plam@mit.edu>
63 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
64 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
66 Define and pass O_BINARY to open if appropriate, for those
67 platforms that need it. Reported by Doodle.
69 2006-02-09 Patrick Lam <plam@mit.edu>
70 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
73 Fix problem with missing 'en' due to euro.patch: change
74 cache file format slightly to coincide with that generated
77 2006-02-07 Patrick Lam <plam@mit.edu>
78 * src/fccache.c (FcCacheReadDirs):
82 2006-02-07 Patrick Lam <plam@mit.edu>
83 * src/fcdir.c (FcDirScanConfig):
85 Don't reject dirs that can't be normalized (fixes lilypond, and
86 is correct in the context of application font directories.)
88 2006-02-07 Takashi Iwai <tiwai@suse.de>
91 * src/fccache.c (FcCacheReadDirs):
93 Use normalized directory name exclusively in FcCacheReadDirs.
95 2006-02-07 Dirk Mueller <dmueller@suse.com>
98 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
100 Perf optimizations. Inline FcValueCanonicalize,
101 reduce FcValueListPtrU usage, remove redundant cast.
103 2006-02-07 Takashi Iwai <tiwai@suse.de>
106 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
109 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
110 Declare extern for static arrays as arrays, not pointers.
111 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
113 2006-02-07 Dirk Mueller <dmueller@suse.com>
126 Add Euro sign to list of symbols required by European languages.
128 2006-02-07 Patrick Lam <plam@mit.edu>
129 * src/fccache.c (FcCacheReadString):
131 Fix hidden variable warning.
133 2006-02-07 Dirk Mueller <dmueller@suse.com>
136 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
138 Remove de-escaping logic because FcCacheWriteString
139 doesn't escape anyway. Do blockwise reading instead
140 of byte-wise for performance.
142 2006-02-06 Patrick Lam <plam@mit.edu>
143 Takashi Iwai <tiwai@suse.de>
145 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
147 Don't loop infinitely on recursive symlinks (client-side).
149 2006-02-06 Takashi Iwai <tiwai@suse.de>
151 * fc-cache/fc-cache.c (scanDirs, main):
153 Don't loop infinitely on recursive symlinks.
155 2006-02-06 Takashi Iwai <tiwai@suse.de>
157 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
158 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
159 FcGlobalCacheSave, FcCacheReadDirs):
162 Skip subdirs when skipping over stale bits of global cache.
163 Introduce state machine into FcGlobalCacheDir to avoid
164 doing inappropriate operations on global dir entries, e.g.
165 writing out an out-of-date cache entry.
167 2006-02-06 Takashi Iwai <tiwai@suse.de>
169 * src/fcdir.c (FcFileScanConfig):
171 Hoist FcFileIsDir check out of FcFileScanConfig loop.
173 2006-02-06 Takashi Iwai <tiwai@suse.de>
176 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
177 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
179 Don't rescan when trying to normalize a non-declared font dir.
180 Don't add font dirs multiple times (even if they're aliased).
182 2006-02-06 Dirk Mueller <dmueller@suse.de>
185 * src/fcfs.c (FcFontSetUnserialize):
187 Explain apples/oranges comparison and fix compilation error.
189 2006-02-06 Dirk Mueller <dmueller@suse.de>
192 * src/fcfs.c (FcFontSetUnserialize):
194 Insert check for integer overflow in # of fonts.
196 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
200 * fc-cache/Makefile.am:
201 * fc-cat/Makefile.am:
202 * fc-list/Makefile.am:
204 Make 'make distcheck' work with automake 1.6.3.
206 2006-02-03 Takashi IWAI <tiwai@suse.de>
209 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
212 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
213 FcDirCacheConsume, FcDirCacheWrite)
214 * src/fcxml.c (FcConfigMessage):
216 Check I/O call return values and eliminate unused variable
219 2006-02-03 Takashi Iwai <tiwai@suse.de>
222 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
226 2006-02-03 Dirk Mueller <dmueller@suse.de>
229 * src/fcfs.c (FcFontSetUnserialize):
231 Gracefully handle the case where a cache asserts that it
232 has a negative number of fonts, causing overflow.
234 2006-02-03 Patrick Lam <plam@mit.edu>
235 * src/fccache.c (FcDirCacheUnlink):
237 Fix double free in error case.
239 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
240 Stephan Kulow <coolo@suse.de>
243 * fc-cache/Makefile.am:
245 Replace 'stamp' target with mkinstalldirs.
247 2006-01-31 Mike Fabian <mfabian@suse.de>
250 * src/fccache.c (FcGlobalCacheLoad):
252 Toast broken global cache files.
254 2006-01-30 Patrick Lam <plam@mit.edu>
255 * src/fccache.c (FcGlobalCacheReadDir):
257 Actually use the directories that I added to the global cache.
260 2006-01-30 Mike Fabian <mfabian@suse.de>
263 * fc-cache/fc-cache.c (scanDirs):
265 Don't stop scanning if a directory in fonts.conf doesn't
266 exist, because subsequent directories might exist.
268 2006-01-30 Patrick Lam <plam@mit.edu>
269 * src/fccache.c (FcGlobalCacheLoad):
271 Make global cache work again after putting dir names into global
272 cache (I misplaced the recording of a file offset).
274 2006-01-30 Patrick Lam <plam@mit.edu>
275 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
277 Update fc-cat to handle subdir lists in global cache file.
279 * src/fccache.c (FcGlobalCacheLoad):
281 Another FcCacheReadString return value check.
283 2006-01-30 Mike Fabian <mfabian@suse.de>
286 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
287 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
289 Make fccache more resilient to broken cache files by checking
290 return value of FcCacheReadString all the time.
292 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
295 * fc-match/fc-match.1:
296 * fc-lang/fc-lang.man:
298 Remove references to dead fontconfig(3) manpages in
299 other fontconfig manpages.
301 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
304 * doc/fcpattern.fncs:
306 Fix world's tiniest typo in code example.
308 2006-01-29 Mike Fabian <mfabian@suse.de>
311 * src/fccache.c (FcGlobalCacheReadDir):
313 Fix global cache reads of subdirectories.
315 2006-01-29 Patrick Lam <plam@mit.edu>
317 Add documentation for FcConfigNormalizeFontDir.
319 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
320 FcGlobalCacheUpdate, FcGlobalCacheSave):
321 * src/fcdir.c (FcDirScanConfig):
324 Write directory information to global caches to fix make check
325 (reported by Ronny V. Vindenes). This changes the global cache
328 2006-01-27 Patrick Lam <plam@mit.edu>
329 * fc-cache/fc-cache.c (scanDirs):
330 * fontconfig/fontconfig.h:
332 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
334 Move FcConfigNormalizeFontDir call so that it doesn't result in
335 infinite recursion (reported by Ronny V. Vindenes).
337 2006-01-26 Patrick Lam <plam@mit.edu>
338 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
339 * src/fccfg.c (FcConfigNormalizeFontDir):
341 Add a couple of missing normalizations to make fc-cache work
342 right; only scan subdirectories once.
344 2006-01-26 Mike Fabian <mfabian@suse.de>
347 * src/fcacache.c (FcGlobalCacheReadDir):
349 Don't crash on non-existant directories in global cache.
351 2006-01-26 Patrick Lam <plam@mit.edu>
352 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
353 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
354 * src/fcdir.c (FcDirScanConfig):
355 * src/fcxml.c (FcEndElement):
357 Stop trampling the directory name when writing out caches.
358 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
359 subdirs when necessary. Don't scan directories that can't be
362 2006-01-25 Patrick Lam <plam@mit.edu>
363 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
364 * src/fccfg.c (FcConfigEvaluate):
365 * src/fcfreetype.c (FcPatternAddWithBinding):
367 Fix additional memory leaks reported by Ronny V. Vindenes: don't
368 invoke FcValueSave on hashed static strings in
369 FcPatternAddWithBinding.
371 Add another st_dev check in FcDirCacheOpen.
373 2006-01-24 James Su <james.su@gmail.com>
376 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
377 * fc-lang/zh_hk.orth:
379 Treat zh-hk fonts differently from zh-tw fonts. This patch may
380 cause fontconfig to treat A-X fonts differently from A-Y fonts;
381 please mail the fontconfig list if this causes any problems.
383 2006-01-24 Patrick Lam <plam@mit.edu>
384 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
385 * src/fcfreetype.c (FcFreeTypeQuery):
387 Fix memory leaks reported by Ronny V. Vindenes.
389 2006-01-19 Andreas Schwab <schwab@suse.de>
392 * src/fcpat.c (FcStrNeededBytes):
394 Fix for unaligned memory accesses.
396 2006-01-18 Mike Fabian <mfabian@suse.de>
399 * src/fcdir.c (FcDirScanConfig):
401 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
402 calls to avoid crashes.
404 2006-01-14 Patrick Lam <plam@mit.edu>
405 * src/fccache.c (FcDirCacheConsume):
407 Fix segfault when consuming zero-length caches in fc-cat
408 (which has no config, so FcConfigAddFontDir shouldn't be called.)
410 2006-01-14 Patrick Lam <plam@mit.edu>
411 * fc-cache/fc-cache.c (scanDirs):
412 * fontconfig/fontconfig.h:
413 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
414 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
415 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
416 * src/fcdir.c (FcDirScanConfig):
419 Compare device numbers as well as inodes.
420 Always normalize directory names before comparing them.
422 2006-01-11 Mike Fabian <mfabian@suse.de>
425 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
427 Allocate extra space for appended '/' in directory name.
429 2006-01-10 Patrick Lam <plam@mit.edu>
430 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
431 FcDirCacheValid, FcDirCacheHasCurrentArch,
432 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
433 * fc-cache/fc-cache.c (main):
435 Explicitly add font dirs to config.fontDirs even if they're empty.
436 Set current config in fc-cache.c.
437 Fix treatment of cache directory as read from cache file; don't
438 use string equality to determine if we have the right file,
441 2006-01-09 Patrick Lam <plam@mit.edu>
442 * fc-cache/fc-cache.c (scanDirs):
443 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
444 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
445 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
446 * src/fccfg.c (FcConfigNormalizeFontDir):
447 * src/fcdir.c (FcDirScanConfig):
450 Normalize font dirs by using the form, as given in fonts.conf, and
451 recorded in FcConfig's fontDirs string set, as canonical.
453 Actually update config.fontDirs as font directories are scanned.
455 2006-01-08 James Su <james.su@gmail.com>
456 * src/fcmatch.c (FcFontSetMatch):
458 Fix matching bug when multiple elements match; don't use
459 the sum of all scores, but the best score.
461 Also more perf opts, e.g. evaluate best over all font sets
462 rather than on a per-set basis (and other changes).
464 2006-01-08 Patrick Lam <plam@mit.edu>
465 * src/fccache.c (FcDirCacheConsume):
467 Properly skip past dir caches that contain zero fonts (as occurs
468 in global caches.) Reported by Mike Fabian.
470 2006-01-06 Patrick Lam <plam@mit.edu>
471 * src/fcdbg.c (FcPatternPrint):
473 Print out full pathname in fc-match -v as well. Reported by
476 2006-01-06 Mike Fabian <mfabian@suse.de>
479 * src/fcname.c (FcNameParse):
481 Fix bug where fc-match crashes when given __DUMMY__ property to
484 (I added the __DUMMY__ string to enable callers of
485 FcObjectToPtrLookup to distinguish an error return from a
486 successful return. -PL)
488 2006-01-05 Patrick Lam <plam@mit.edu>
491 Add self to AUTHORS list.
493 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
494 FcCacheFileRead, FcCachePrintSet, main):
495 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
496 FcGlobalCacheSave, FcCacheNextOffset,
497 FcDirCacheHasCurrentArch, FcDirCacheRead,
498 FcDirCacheConsume, FcDirCacheWrite):
500 * src/fcpat.c (comment):
502 Minor change to global cache file format to fix fc-cat bug
503 reported by Frederic Crozat, and buglet with not globally caching
504 directories with zero fonts cached.
506 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
509 * src/fccfg.c (FcConfigEvaluate):
511 Fix double-free which occurs because FcValueCanonicalize doesn't
512 create an extra copy of the returned value, it only canonicalizes
515 2006-01-02 Patrick Lam <plam@mit.edu>
516 * doc/fontconfig-user.sgml:
518 Fix version of .cache file (currently 1 -> currently 2). Reported
521 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
524 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
526 Shut up GCC warnings on amd.
528 2005-12-20 Patrick Lam <plam@mit.edu>
532 * fontconfig/fontconfig.h:
534 Bump version to 2.3.93.
536 2005-12-20 Patrick Lam <plam@mit.edu>
537 * src/fccharset.c (FcLangCharSetPopulate):
538 * src/fcint.h (FcCacheBankToIndex):
540 Avoid check on _fcBankId nullness and fix case where it used to
543 2005-12-20 Patrick Lam <plam@mit.edu>
544 * src/fcxml.c (FcConfigParseAndLoad):
546 Use open instead of fopen (requested by Phil Race for Sun).
548 2005-12-20 Patrick Lam <plam@mit.edu>
549 * src/fccache.c (FcDirCacheWrite);
550 * fc-cache/Makefile.am:
552 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
555 2005-12-20 Patrick Lam <plam@mit.edu>
556 * src/fcfreetype.c (FcFreeTypeQuery):
558 Restore code to skip over PCF fonts that have no encoded
560 (We guess that a font is PCF by presence of the PIXEL_SIZE
563 2005-12-12 Patrick Lam <plam@mit.edu>
564 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
566 Read and write the original location as a fallback for the
567 hashed cache file locations. This is mostly for users to be
568 able to have per-directory cache files.
570 2005-12-12 Patrick Lam <plam@mit.edu>
571 * fc-cache/fc-cache.c (scanDirs):
572 * fc-cache/Makefile.am:
573 * src/fccache.c (FcDirCacheHashName):
575 Improve error message when fc-cache can't write the cache. Add
576 missing slash. Reported by Behdad. Incorporate Behdad's patch to
577 create /var/cache/fontconfig when appropriate.
579 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
582 * src/fcxml.c (FcConfigGetAttribute):
584 Fix crash reported by Frederic Crozat when using libxml2.
586 2005-12-09 Patrick Lam <plam@mit.edu>
589 * fc-cache/Makefile.am:
590 * fc-cat/Makefile.am:
592 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
593 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
594 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
595 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
596 FcDirCacheHasCurrentArch, FcDirCacheHashName,
597 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
599 Migrate cache files from fonts directories to
600 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
601 but requires that all caches get rebuilt.
603 Also, autogen.sh now needs the additional parameter
604 --localstatedir=/var.
606 2005-12-07 Patrick Lam <plam@mit.edu>
607 * src/fcpat.c (FcPatternAddString):
609 Because we've changed FcPatternAddString to use FcStrStaticName
610 and not FcValueSave, explicitly handle the case of a null string.
612 2005-12-06 Patrick Lam <plam@mit.edu>
613 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
617 2005-12-05 Patrick Lam <plam@mit.edu>
618 * src/fcname.c (FcNameGetObjectType):
620 Don't assign types to user object names.
622 2005-12-05 Patrick Lam <plam@mit.edu>
623 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
625 Don't free strings that have been returned from FcStrStaticName.
627 2005-12-01 Patrick Lam <plam@mit.edu>
628 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
630 Add codepath for reading global cache files as well.
632 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
635 * conf.d/10-fonts.persian.conf:
636 * conf.d/Makefile.am:
638 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
640 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
643 * src/fcxml.c (FcConfigParseAndLoad):
645 Only add a config file to the set of config files once.
647 2005-11-29 Patrick Lam <plam@mit.edu>
648 * src/fcint.h (FcCacheBankToIndex);
650 Fix segfault by guarding array dereference.
652 2005-11-29 Dirk Mueller <dmueller@suse.de>
656 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
657 FcCacheBankToIndex, FcCacheBankToIndexMTF,
661 Refactor FcCacheBankToIndex into an inlineable part
662 (in fcint.h) which checks the front of the list and a
663 non-inlineable part which finds and moves the appropriate element
664 to the front of the list.
666 2005-11-29 Patrick Lam <plam@mit.edu>
667 * src/fccfg.c (FcConfigBuildFonts):
668 * src/fccache.c (FcCacheReadDirs):
670 Make the perf guys hate me a bit less: hoist the directory-name
671 FcConfigAcceptFont check for cached fonts up to directory cache
672 read time, rather than running it for each font.
674 2005-11-29 Patrick Lam <plam@mit.edu>
675 * src/fccfg.c (FcConfigBuildFonts):
677 * src/fcpat.c (FcPatternFindFullFname):
679 Don't make FcPatternFindFullFname available to fccfg, it's not
680 really safe. Instead go through FcPatternGetString (sorry,
681 perf guys.) Also, use globs for dirs as well.
683 2005-11-28 Patrick Lam <plam@mit.edu>
684 * src/fccfg.c (FcConfigBuildFonts):
688 2005-11-28 Patrick Lam <plam@mit.edu>
690 * src/fcpat.c (FcPatternFindFullFname):
691 * src/fccfg.c (FcConfigBuildFonts):
693 Fix problem dating back at least to 2.3.2 where globs weren't
694 being applied to patterns loaded from a cache.
696 2005-11-28 Patrick Lam <plam@mit.edu>
697 * doc/fontconfig-user.sgml:
699 Fix some obvious spelling mistakes.
701 2005-11-28 Dirk Mueller <dmueller@suse.com>
702 Stephan Kulow <coolo@suse.de>
705 * src/fcmatch.c (FcFontSetMatch):
707 Don't kill all fonts during match (oops!)
710 2005-11-25 Dirk Mueller <dmueller@suse.com>
711 Stephan Kulow <coolo@suse.de>
712 Michael Matz <matz@suse.de>
715 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
718 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
719 inline FcCompare into FcFontSetMatch and reorder the
720 loops, adding a boolean array which blocks patterns from future
721 consideration if they're known to not be best on some past
724 2005-11-26 Dirk Mueller <dmueller@suse.com>
727 * src/fcmatch.c (FcCompareValueList):
731 2005-11-25 Patrick Lam <plam@mit.edu>
732 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
734 Don't do random matching when bad objects are passed into
737 2005-11-25 Patrick Lam <plam@mit.edu>
739 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
740 FcPatternSerialize, FcPatternUnserialize,
741 FcValueListEnsureBank, FcValueListDistributeBytes,
742 FcValueListUnserialize):
744 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
745 _fcPatternElts, _fcValueLists for consistency.
747 2005-11-25 Dirk Mueller <dmueller@suse.com>
752 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
754 2005-11-25 Patrick Lam <plam@mit.edu>
756 * src/fccache.c (FcDirCacheConsume):
757 * src/fccharset.c (FcCharSetUnserialize):
758 * src/fcfs.c (FcFontSetUnserialize):
759 * src/fclang.c (FcLangSetUnserialize):
760 * src/fcname.c (FcObjectUnserialize):
761 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
762 FcPatternUnserialize):
764 Pass around FcCache *s to the Unserialize functions for extra
765 consistency (and less overhead, for what that's worth).
767 2005-11-24 Dirk Mueller <dmueller@suse.com>
771 * src/fcmatch.c (FcCompare*, FcFontSetSort):
772 * src/fcname.c (FcNameUnparseValue):
774 Inline the *PtrU functions to gain perf.
775 Remove unneeded params for the FcCompare* functions.
777 2005-11-24 Dirk Mueller <dmueller@suse.com>
780 * src/fcint.h, fontconfig/fontconfig.h:
782 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
784 * src/fcpat.c, src/fcint.h, src/fcname.c:
786 Check for type validity during FcPatternAddWithBinding, don't
787 verify type in FcFontMatch, don't call FcCanonicalize here
788 (which always does a deep copy).
790 2005-11-24 Dirk Mueller <dmueller@suse.com>
793 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
794 * src/fcpat.c (FcPatternAddWithBinding):
796 Make FcCompareString and FcCompareFamily less expensive.
797 Only add a value for FC_FAMILY if the proposed value is a string.
799 2005-11-24 Dirk Mueller <dmueller@suse.com>
802 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
803 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
804 * src/fcint.h (FcDebug):
806 Inline FcDebug invocations and only initialize once, in FcInit*.
807 Improve debug msg in FcPatternPrint.
809 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
812 * fontconfig/fontconfig.h:
815 Minor code warning cleanups.
817 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
820 * fc-match/fc-match.c (main):
822 Make getopt_long accept -s parameter to fc-match as well.
824 2005-11-21 Dirk Mueller <dmueller@suse.com>
827 * src/fcmatch.c (FcCompareValueList):
829 Manually perform inlining & partial redundancy elimination to
830 reduce calls to FcValueListPtrU.
832 2005-11-21 Dirk Mueller <dmueller@suse.com>
835 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
836 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
838 Only invoke strlen() when really necessary.
840 2005-11-19 Matthias Clasen <mclasen@redhat.com>
844 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
849 Get rid of the use of freetype internal headers in fcfreetype.c,
850 since those headers will go away with freetype 2.2. Replace with
851 public domain ftglue code from pango. Note that the patch removes
852 some extra error checking in FT_Get_BDF_Property() and comments
853 out the skipping of empty pcf fonts.
855 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
858 * fc-lang/fc-lang.c (main):
860 Further fix of patch from 2005-11-04: miscounted numbers count
861 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
862 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
864 Removed leafidx_count and numbers_count since they are the same
865 and replaced them with offset_count.
867 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
870 * fc-cat/fc-cat.c (main):
872 Don't crash when fc-cat invoked with no arguments.
874 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
877 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
879 Fix invalid read access caused by premature free and
880 GCC4 warnings in libxml2 codepath.
882 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
885 * src/fccfg.c (FcConfigValues):
887 List iteration not needed in FcConfigValues, since it's building
888 up the list itself; we can just strip FcVoid elements during
891 2005-11-17 Patrick Lam <plam@mit.edu>
892 * src/fccfg.c (FcConfigValues):
894 Fix crash on invalid constants in config files (forgot to update
895 a pointer upon list iteration.)
897 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
900 * src/fcxml.c (FcTypecheckExpr):
902 Complain about invalid constants in config files.
904 2005-11-17 Andreas Schwab <schwab@suse.de>
907 * src/fccache.c (FcGlobalCacheSave):
909 Don't add current_arch_start more than once.
911 2005-11-16 Patrick Lam <plam@mit.edu>
912 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
913 * src/fcfs.c (FcFontSetUnserialize):
914 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
915 * src/fcpat.c (FcStrUnserialize):
917 Fix ordering of ALIGN with respect to saving block_ptr; add
918 another ALIGN to fcfs.c.
920 2005-11-16 Patrick Lam <plam@mit.edu>
921 * src/fccache.c (FcDirCacheProduce)
923 Fix case where alignment bytes bumped up metadata->count
924 causing unwarranted failures to write cache files.
925 (Reported by Stephan Kulow).
927 2005-11-16 Patrick Lam <plam@mit.edu>
928 * src/fccache.c (FcDirCacheProduce):
929 * src/fccharset.c (FcCharSetDistributeBytes):
930 * src/fcfs.c (FcFontSetDistributeBytes):
932 * src/fclang.c (FcLangSetDistributeBytes):
933 * src/fcname.c (FcObjectDistributeBytes):
934 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
937 Add *NeededBytesAlign(), which overestimates the padding which is
938 later added by the new ALIGN macro. Fix alignment problems on
939 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
940 version by Andreas Schwab).
942 2005-11-16 Stephan Kulow <coolo@kde.org>
947 Use sysconf to determine proper PAGESIZE value; this
948 appears to be POSIX-compliant. (reported by Andreas Schwab)
950 2005-11-04 Patrick Lam <plam@mit.edu>
956 Fix bug 2878 (excessive relocations at startup for charsets,
957 reported by Ross Burton): fc-lang/fc-lang now creates the
958 static form of the langset, not the dynamic form, so that
959 the charsets should now be in .rodata.
961 2005-11-04 Patrick Lam <plam@mit.edu>
962 * src/fcdir.c (FcDirScanConfig):
964 Add test for validity of directory caches that
965 somehow got lost (reported by make distcheck).
967 2005-11-04 Patrick Lam <plam@mit.edu>
971 * fontconfig/fontconfig.h:
973 Bump version to 2.3.92.
975 2005-11-02 Patrick Lam <plam@mit.edu>
976 * src/fcpat.c (FcPatternDuplicate):
978 Fix argument ordering problem in call to FcPatternTransferFullFname.
980 2005-11-02 Patrick Lam <plam@mit.edu>
981 * src/fcfreetype.c (FcFreetypeQuery):
982 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
983 FcPatternTransferFullFname):
985 Fix warnings and embarrassing double-free error.
987 2005-11-02 Zhe Su <zsu@novell.com>
992 Change the rule for artificial emboldening in fonts.conf.in. This
993 enables the support for artificial emboldening included in cairo.
995 2005-11-02 Patrick Lam <plam@mit.edu>
996 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
998 Don't zero out full names for FC_REF_CONSTANT fonts;
999 also, duplicate full names when transferring, and free
1000 full names when freeing the associated font.
1001 Reported by Jinghua Luo.
1003 2005-11-02 Patrick Lam <plam@mit.edu>
1004 * fc-cache/fc-cache.c (scanDirs):
1005 * src/fcpat.c (FcValueListSerialize):
1007 Revert the previous patch and commit the correct patch:
1008 I forgot a canonicalization in FcValueListSerialize, so
1009 that it would choke on already-serialized input files. Duh!
1011 2005-11-02 Patrick Lam <plam@mit.edu>
1012 * fc-cache/fc-cache.c (scanDirs):
1014 Forcibly rescan a directory before writing a fresh local
1015 cache file for that directory, fixing the losing-fonts
1016 problem reported by Mike Fabian and also apparently the
1017 font cache file corruption.
1019 2005-11-02 Patrick Lam <plam@mit.edu>
1020 * src/fccache.c (FcGlobalCacheLoad):
1022 Fix thinko: actually, the whole global cache is stale
1023 if the global cache is older than the (newest) config file.
1025 2005-11-02 Patrick Lam <plam@mit.edu>
1026 * src/fccache.c (FcGlobalCacheLoad):
1027 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1030 Declare the global cache of a directory's contents to be stale if
1031 the directory is newer than the (newest) configuration file.
1033 2005-10-31 Patrick Lam <plam@mit.edu>
1035 * src/fclist.c (FcListAppend):
1036 * src/fcmatch.c (FcFontRenderPrepare):
1037 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1038 FcPatternFreeze, FcPatternBaseFreeze):
1040 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1041 applications continue breaking.
1043 2005-10-31 Patrick Lam <plam@mit.edu>
1044 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1045 * src/fcfreetype.c (FcFreeTypeQuery):
1047 Fix small memory error (tried to free argv); use basename and
1048 dirname correctly (they can modify their arguments).
1050 2005-10-31 Patrick Lam <plam@mit.edu>
1058 Reinstate basename patch, but keep a hash table linking FcPatterns
1059 to their fully-qualified font names for clients' benefit. Clients
1060 only pay for the font names once they request the FC_FILE property
1061 from an FcPattern, but the font name is malloc'd at that point (i.e.
1062 not mmapped: that's impossible, since it may vary between machines.)
1063 Clients do have to pay for a copy of the path name per cache file.
1065 Note that FcPatternGetString now does some rewriting if you ask
1066 for an FC_FILE, appending the pathname as appropriate.
1068 2005-10-31 Patrick Lam <plam@mit.edu>
1069 * src/fcfreetype.c (FcFreeTypeQuery):
1071 Revert basename patch, which breaks fontconfig clients on my system.
1073 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1076 * fontconfig/fonts.conf.in:
1077 * fontconfig/fontconfig.h:
1081 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1082 to load embedded bitmaps or not.
1084 2005-10-25 Patrick Lam <plam@mit.edu>
1085 * src/fcfreetype.c (FcFreeTypeQuery):
1087 Only add basename to patterns' FC_FILE element, not any part of
1090 2005-10-22 Patrick Lam <plam@mit.edu>
1093 Add some more consts, fixing more GCC4 warnings.
1095 2005-10-22 Zhe Su <zsu@novell.com>
1098 Support localized font family and style names.
1099 This has been reported to break old apps like xfd, but modern
1100 (gtk+/qt/mozilla) apps work fine.
1102 2005-10-21 Patrick Lam <plam@mit.edu>
1103 * src/fccache.c (FcGlobalCacheLoad):
1105 Destroy the global cache file if it's terminally broken. (reported by
1108 2005-10-21 Patrick Lam <plam@mit.edu>
1109 * fc-list/fc-list.c (main):
1110 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1111 * fontconfig/fontconfig.h:
1113 Prevent fc-list from escaping strings when printing them (reported by
1116 2005-10-20 Marcus Meissner <meissner@suse.de>
1119 * fontconfig/fontconfig.h:
1121 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1123 2005-10-14 Ross Burton <ross@burtonini.com>
1126 * fc-glyphname/fc-glyphname.c:
1129 Add consts to variables so as to move arrays into .rodata.
1131 2005-10-14 Mike Fabian <mfabian@suse.de>
1134 * src/fccache.c (FcDirCacheUnlink):
1136 Check existence of directory cache file before attempting to unlink.
1138 2005-10-13 Patrick Lam <plam@mit.edu>
1139 * src/fccache.c (FcDirCacheUnlink):
1141 Fix flipped return value on unlink. (Reported by Mike Fabian)
1143 2005-10-12 Patrick Lam <plam@mit.edu>
1146 * src/fcdir.c (FcDirScanConfig):
1149 When fc-cache is run without --force, use directory cache files
1150 to speed up fc-cache run time. (Reported by Mike Fabian)
1152 2005-10-06 Patrick Lam <plam@mit.edu>
1154 * src/fcname.c (FcObjectToPtr):
1155 * src/fcpat.c (FcStrStaticName):
1157 Add padding to make valgrind and glibc not hate each other
1158 when calling strlen().
1160 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1161 reviewed by: plam & keithp
1165 Modify config file to use Greek fonts before Asian fonts with
1168 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1169 reviewed by: plam & keithp
1173 Use libtool -no-undefined flag on all platforms.
1175 2005-10-05 Patrick Lam <plam@mit.edu>
1176 * src/fccache.c (FcCacheHaveBank):
1178 Implement move-to-front array for banks (perf regression
1179 reported by Ronny V. Vindenes).
1181 2005-10-04 Patrick Lam <plam@mit.edu>
1182 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1183 FcDirCacheHasCurrentArch):
1184 * fc-cache/fc-cache.c (scanDirs):
1185 * fontconfig/fontconfig.h:
1187 Add new API which unlinks directory caches and checks dir caches
1188 for existence of appropriate sections. Fix fc-cache to unlink
1189 stale cache files and save directory caches that lack relevant
1192 2005-10-03 Patrick Lam <plam@mit.edu>
1193 * src/fccache.c (FcDirCacheValid):
1195 Ensure that a directory cache has the appropriate section
1196 before reporting that it is valid (reported by Matthias Clasen).
1198 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1206 Use libxml2 if requested (with --enable-libxml2) or if
1207 expat is not available.
1209 2005-09-29 Patrick Lam <plam@mit.edu>
1210 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1212 Fix multi-arch cache files: compute the position for the
1213 block to be added using info from OrigFile, not NewFile.
1215 2005-09-28 Patrick Lam <plam@mit.edu>
1216 * src/fccache.c (FcCacheMachineSignature):
1218 Cast results of sizeof() to unsigned int to get rid of
1219 warnings on x86_64 (thanks Matthias Clasen).
1221 2005-09-27 Patrick Lam <plam@mit.edu>
1222 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1225 Use FcAtomic to rewrite cache files.
1227 2005-09-27 Patrick Lam <plam@mit.edu>
1229 * src/fccache.c (FcDirCacheWrite):
1231 Don't unlink the fonts.cache-2 file even if there's no data
1232 to write; just write an empty cache file. (thanks Lubos Lunak)
1234 2005-09-27 Patrick Lam <plam@mit.edu>
1236 * src/fccache.c (FcDirCacheWrite):
1238 Allocate room for the subdirectory names in each
1239 directory cache. Thanks to James Cloos for finding
1240 and diagnosing this bug!
1242 2005-09-22 Patrick Lam <plam@mit.edu>
1244 * fc-cache/fc-cache.sgml:
1245 * src/fccache.c (FcDirCacheWrite):
1246 * src/fccache.h (struct FcCache):
1248 Update documentation -- fc-cache's man page now says that you
1249 need to run fc-cache once per cached architecture; add some
1250 documentation to the FcCache structure.
1252 Make fc-cache write out fonts.cache-2 files for directories with
1253 no fonts (i.e. only subdirectories).
1255 2005-09-22 Patrick Lam <plam@mit.edu>
1257 * fc-cache/fc-cache.sgml:
1258 * fc-case/fc-case.c:
1259 * fc-glyphname/fc-glyphname.c:
1265 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1269 * fc-lang/fc-lang.c:
1270 * fontconfig/fcprivate.h:
1271 * fontconfig/fontconfig.h:
1285 Implement new mmaped cache for font information.
1286 Bump so revision to 2.3.90.
1288 2005-07-25 Keith Packard <keithp@keithp.com>
1290 * doc/fontconfig-user.sgml:
1291 * fc-glyphname/fc-glyphname.c: (scan), (main):
1292 * fc-lang/fc-lang.c: (FcConfigHome):
1293 * fc-match/fc-match.c: (main):
1294 * src/fccfg.c: (FcConfigHome):
1295 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1296 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1297 (addtag), (FcFontCapabilities):
1298 * src/fcpat.c: (FcValueListEntCreate):
1299 * src/fcstr.c: (FcStrCaseWalkerInit):
1300 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1302 Various GCC 4 cleanups for signed vs unsigned char
1304 Match only [0-9]*.conf files in <include>{directory}</include>
1305 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1307 2005-07-15 Carl Worth <cworth@cworth.org>
1310 * src/fcinit.c: (FcFini):
1311 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1314 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1315 Pull the FcObjectStateName hash table out to file scope, and add
1316 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1319 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1322 2005-06-16 Patrick Lam <plam@MIT.EDU>
1326 * src/fccfg.c: (FcConfigCompareValue):
1327 Make FcOpNotContains use FcStrStr for strings so that
1328 it matches semantics for !FcOpContains.
1330 2005-05-20 Keith Packard <keithp@keithp.com>
1334 Move fontconfig source package to libs as per override
1336 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1338 reviewed by: Mike Fabian
1341 The ka.orth file requires several characters which are not
1342 used anymore in modern Georgian and which are missing in the free
1343 Georgian TrueType fonts downloadable at:
1345 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1347 2005-04-27 Keith Packard <keithp@keithp.com>
1351 Update date to real 2.3.2 release date.
1352 Fix change attributions
1354 2005-04-27 Keith Packard <keithp@keithp.com>
1357 Bump so revision for 2.3.2
1358 * fc-cache/fc-cache.c: (scanDirs):
1359 Fix a few minor leaks in error cases.
1361 2005-04-23 Keith Packard <keithp@keithp.com>
1366 * fontconfig/fontconfig.h:
1367 Update for version 2.3.2
1369 2005-04-21 Keith Packard <keithp@keithp.com>
1371 * debian/fontconfig.postinst:
1372 Don't force bitmap font enable in default
1373 configuration; allows users to override this in
1383 * debian/po/pt_BR.po:
1384 * debian/po/templates.pot:
1386 * debian/po/zh_CN.po:
1387 Updated translations
1389 * fc-cache/fc-cache.c: (main):
1390 Destroy font configuration on exit to help valgrind
1393 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1394 (FcFreeTypeCheckGlyph):
1395 Use own transcoding routines in preference to iconv
1396 which appears to have leaks in some translators.
1397 Call iconv_close after using iconv (oops).
1399 Prefer unicode encoding of Euro char as some
1400 fonts mis-encode Euro in other ones.
1402 Must fetch bitmap glyphs to get width values
1403 to check for monospace/dual-width fonts.
1405 2005-04-13 Ross Burton <ross@burtonini.com>
1408 Check that a pattern isn't already frozen in FcPatternFreeze.
1410 2005-03-31 Ross Burton <ross@burtonini.com>
1415 Run all FcPattern objects through FcObjectStaticName, so that
1416 compares can be done on pointers instead of strings (#2659)
1418 2005-03-17 Tor Lillqvist <tml@novell.com>
1420 * src/fontconfig.def.in: Add the .dll to the dll name.
1422 2005-03-10 Keith Packard <keithp@keithp.com>
1424 * debian/README.Debian:
1425 Update to reflect configuration changes
1427 * debian/fontconfig.postinst:
1428 Fix Autohint vs Autohinter mistake
1429 * debian/fontconfig.templates:
1430 Adopt changes from Josselin Mouette for configuration descriptions
1431 Update debian to version 2.3.1-2
1433 2005-03-08 Keith Packard <keithp@keithp.com>
1437 Update debian for 2.3.1
1439 2005-03-09 Tor Lillqvist <tml@novell.com>
1441 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1444 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1447 2005-03-08 Keith Packard <keithp@keithp.com>
1451 * fontconfig/fontconfig.h:
1454 2005-03-05 Keith Packard <keithp@keithp.com>
1456 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1457 Include space and remove numbers from valid script tags.
1458 This ensures that tags like 'lao ' work while rejecting
1459 those which have any digits.
1460 Eliminate a spurious debugging variable (len)
1462 2005-03-05 Keith Packard <keithp@keithp.com>
1464 * src/fcfreetype.c: (addtag), (GetScriptTags),
1465 (FcFontCapabilities):
1466 Rework GSUB/GPOS script parsing to survive broken fonts.
1467 Thanks for the broken font go to Manish Singh
1469 2005-03-05 Keith Packard <keithp@keithp.com>
1474 * debian/fontconfig.config:
1475 * debian/fontconfig.templates:
1477 Include 2.3 release information in changelog
1478 Add Josselin Mouette as an Uploader
1479 Set hinting_type to low priority configuration option
1482 * debian/fontconfig.postinst:
1483 yes_bitmaps.conf -> yes-bitmaps.conf
1489 2005-03-02 Keith Packard <keithp@keithp.com>
1492 * conf.d/Makefile.am:
1493 * conf.d/autohint.conf:
1494 * conf.d/no-sub-pixel.conf:
1495 * conf.d/sub-pixel.conf:
1496 * conf.d/unhinted.conf:
1497 * debian/autohint.conf:
1498 * debian/fontconfig.install:
1499 * debian/fontconfig.postinst:
1500 * debian/fontconfig.templates:
1501 * debian/no-sub-pixel.conf:
1502 * debian/unhinted.conf:
1503 Move debian-specific conf file examples upstream.
1505 Sub-pixel configuration examples must smash subpixel value
1506 as Xft always sets it from X.
1508 Change sub-pixel rendering debconf descriptions from
1509 Enable/Disable to Always/Never.
1511 2005-03-02 Keith Packard <keithp@keithp.com>
1514 * conf.d/.cvsignore:
1516 Ignore more build detritus
1519 Add debian package construction stuff.
1521 * config/config.guess:
1522 * config/config.sub:
1523 Update to newer versions of these tools
1526 Get library manuals to build again (we love automake).
1528 * debian/README.Debian:
1529 * debian/autohint.conf:
1534 * debian/fontconfig-udeb.install:
1535 * debian/fontconfig.config:
1536 * debian/fontconfig.defoma:
1537 * debian/fontconfig.dirs:
1538 * debian/fontconfig.install:
1539 * debian/fontconfig.postinst:
1540 * debian/fontconfig.postrm:
1541 * debian/fontconfig.templates:
1542 * debian/libfontconfig1-dev.install:
1543 * debian/libfontconfig1.install:
1544 * debian/local.conf.md5sum:
1545 * debian/no-sub-pixel.conf:
1546 * debian/po/POTFILES.in:
1555 * debian/po/pt_BR.po:
1556 * debian/po/templates.pot:
1558 * debian/po/zh_CN.po:
1560 * debian/unhinted.conf:
1561 Update debian build system to switch maintainers and
1562 deal with 2.3 functionality
1564 2005-03-01 Keith Packard <keithp@keithp.com>
1568 * fontconfig/fontconfig.h:
1571 2005-03-01 Keith Packard <keithp@keithp.com>
1574 Generate and install PDF versions of the manuals
1576 * doc/fcpattern.fncs:
1579 * doc/fcstring.fncs:
1580 Add missing exported functions, fix data types
1582 * doc/fontconfig-devel.sgml:
1583 Add missing pattern elements.
1585 * doc/fontconfig-user.sgml:
1586 Add missing pattern elements. Document conf.d usage,
1587 clarify available orthography list. Fix some config file
1588 attributes. Complete list of constants.
1590 * fontconfig/fontconfig.h:
1591 Mark FC_SOURCE deprecated.
1593 * src/fcfreetype.c: (FcFreeTypeQuery):
1594 Don't set FC_SOURCE any longer.
1596 2005-02-28 Keith Packard <keithp@keithp.com>
1599 * conf.d/Makefile.am:
1601 * conf.d/no-bitmaps.conf:
1602 * conf.d/sub-pixel.conf:
1603 * conf.d/yes-bitmaps.conf:
1605 Create prototype /etc/fonts/conf.d directory with a few
1606 sample configuration files.
1607 Deprecate use of local.conf for local customizations in favor of
1608 this directory based scheme which is more easily integrated into
1609 installation systems.
1612 Tag FC_EMBOLDEN as a boolean variable
1614 2005-02-10 Keith Packard <keithp@keithp.com>
1616 reviewed by: pborelli@katamail.com
1618 * src/fcdir.c: (FcFileScanConfig):
1619 Free patterns from fonts which are rejected by configuration
1622 2005-01-28 Keith Packard <keithp@keithp.com>
1626 * fontconfig/fontconfig.h:
1627 Update for version 2.2.99
1629 2005-01-28 Keith Packard <keithp@keithp.com>
1632 Add a few pointers (#2284, #2285)
1634 2005-01-28 Keith Packard <keithp@keithp.com>
1637 * src/fcname.c: (FcNameBool):
1638 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1639 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1640 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1641 Polite typechecking for test and edit expressions. Helps
1642 catch errors in the font configuration. (bug 229)
1644 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1646 reviewed by: Keith Packard <keithp@keithp.com>
1649 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1651 2005-01-13 Keith Packard <keithp@keithp.com>
1653 * doc/fontconfig-user.sgml:
1654 Add SEE ALSO section (bug 2085)
1656 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1658 reviewed by: Keith Packard <keithp@keithp.com>
1663 * fc-case/Makefile.am:
1664 * fc-glyphname/Makefile.am:
1665 * fc-lang/Makefile.am:
1666 * src/fontconfig.def.in:
1667 Cross compiling fixes (bug 280)
1669 2005-01-13 Keith Packard <keithp@keithp.com>
1672 Update blanks list (Closes bug 86)
1674 2005-01-04 Keith Packard <keithp@keithp.com>
1676 * src/fccache.c: (FcCacheFontSetAdd):
1677 Verify that every font pattern loaded from cache has
1678 both FC_FILE and FC_FAMILY entries.
1679 Attempt to fix bug #2219.
1681 2004-12-29 Keith Packard <keithp@keithp.com>
1685 * fontconfig/fontconfig.h:
1686 Update for version 2.2.98
1688 2004-12-29 Keith Packard <keithp@keithp.com>
1690 * fontconfig/fontconfig.h:
1691 Document ASCII limitations of Fc character conversion macros
1692 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1693 Fix off-by-one error in utf-8 case walking code.
1694 Add FcStrDowncase (useful for testing case conversion functions)
1696 2004-12-29 Keith Packard <keithp@keithp.com>
1699 * fc-case/.cvsignore:
1700 clean up CVS ignore lists
1701 * fc-lang/iso-3166.txt:
1702 Add territory database
1704 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1706 Reviewed by: Keith Packard
1709 Remove Han characters from Korean orthography
1711 2004-12-29 Keith Packard <keithp@keithp.com>
1714 Reorder utility programs to make sure fc-case is run before fc-lang
1715 as fc-lang uses fcstr.c which uses fccase.h
1719 2004-12-29 Keith Packard <keithp@keithp.com>
1722 Adopt some RedHat suggestions for standard font configuration.
1726 * fc-case/CaseFolding.txt:
1727 * fc-case/Makefile.am:
1728 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1729 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1730 (dump), (parseRaw), (caseFoldReadRaw), (main):
1731 * fc-case/fccase.tmpl.h:
1732 Add new helper program 'fc-case' to construct case folding
1733 tables from standard Unicode CaseFolding.txt file
1736 * src/fclist.c: (FcListValueHash):
1737 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1738 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1739 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1740 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1741 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1742 Re-implement case insensitive functions with Unicode
1743 aware versions (including full case folding mappings)
1745 2004-12-13 Keith Packard <keithp@keithp.com>
1747 reviewed by: Owen Taylor <otaylor@redhat.com>
1749 * src/fcmatch.c: (FcFontSetSort):
1750 I changed FcFontSetSort to respect the generic aliases better
1751 in the face of language matching.
1753 What I did was to ammend the strict sort order used by FcFontSort so
1754 that it 'satisfies' the language specified in the pattern by locating
1755 the best matching font supporting each pattern language and then
1756 ignores language in the remaining fonts for purposes of matching.
1758 So, when asking for 'sans:lang=en', you'll get an English font first,
1759 and then the remaining fonts sorted with respect to the 'sans' alias
1760 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1762 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1764 reviewed by: Keith Packard <keithp@keithp.com>
1766 * fontconfig/fontconfig.h:
1769 Configuration changes to request synthetic emboldening of
1770 fonts. The actual emboldening code will live in Xft.
1772 2004-12-09 John Thacker <thacker@math.cornell.edu>
1774 reviewed by: Keith Packard <keithp@keithp.com>
1778 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1779 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1780 и), and don't even appear in KOI8-R. (The hypothesis that they
1781 don't appear in KOI8-R due to their similarity with Latin I and i is
1782 eliminated by their presence in KOI8-U.) I have a couple of fonts
1783 with Russian support that don't have the letter.
1785 Therefore, 0406 and 0456 should be removed from or commented out of
1788 2004-12-06 michael meeks <mmeeks@novell.com>
1790 Reviewed by: Keith Packard <keithp@keithp.com>
1792 * src/fcinit.c: (FcMemReport):
1794 * src/fclist.c: (FcObjectSetAdd):
1795 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1796 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1797 * src/fcxml.c: (FcParsePatelt):
1798 memoize strings and share a single copy for all uses. Note that
1799 this could be improved further by using statically allocated blocks
1800 and gluing multiple strings together, but I'm basically lazy.
1801 In my environment with 800 font files, I get a savings of about 90KB.
1803 2004-12-06 Keith Packard <keithp@keithp.com>
1807 * config/Makedefs.in:
1810 * doc/fcatomic.fncs:
1811 * doc/fcblanks.fncs:
1812 * doc/fccharset.fncs:
1813 * doc/fcconfig.fncs:
1814 * doc/fcconstant.fncs:
1816 * doc/fcfontset.fncs:
1817 * doc/fcfreetype.fncs:
1819 * doc/fcmatrix.fncs:
1820 * doc/fcobjectset.fncs:
1821 * doc/fcobjecttype.fncs:
1822 * doc/fcpattern.fncs:
1823 * doc/fcstring.fncs:
1824 * doc/fcstrset.fncs:
1826 * doc/fontconfig-devel.sgml:
1827 * doc/fontconfig-user.sgml:
1829 * doc/version.sgml.in:
1830 * fc-cache/Makefile.am:
1831 * fc-cache/fc-cache.c:
1832 * fc-glyphname/Makefile.am:
1833 * fc-glyphname/fc-glyphname.c:
1834 * fc-glyphname/fcglyphname.tmpl.h:
1835 * fc-lang/Makefile.am:
1845 * fc-lang/az_ir.orth:
1879 * fc-lang/fc-lang.c:
1880 * fc-lang/fc-lang.man:
1881 * fc-lang/fclang.tmpl.h:
1926 * fc-lang/ku_ir.orth:
1959 * fc-lang/ps_af.orth:
1960 * fc-lang/ps_pk.orth:
1989 * fc-lang/ti_er.orth:
1990 * fc-lang/ti_et.orth:
2016 * fc-lang/zh_cn.orth:
2017 * fc-lang/zh_hk.orth:
2018 * fc-lang/zh_mo.orth:
2019 * fc-lang/zh_sg.orth:
2020 * fc-lang/zh_tw.orth:
2022 * fc-list/Makefile.am:
2023 * fc-list/fc-list.c:
2024 * fc-match/Makefile.am:
2025 * fc-match/fc-match.1:
2026 * fc-match/fc-match.c:
2027 * fontconfig/fcfreetype.h:
2028 * fontconfig/fcprivate.h:
2029 * fontconfig/fontconfig.h:
2050 Change files from ISO-Latin-1 to UTF-8
2052 2004-12-04 Keith Packard <keithp@keithp.com>
2055 Update links to new freedesktop.org locations
2057 Add uninstall-local to get rid of fonts.conf and local.conf if they
2058 match the distributed versions. Fixes 'make distcheck'
2060 2004-12-04 Keith Packard <keithp@keithp.com>
2064 * fontconfig/fontconfig.h:
2065 Updates for version 2.2.97
2067 2004-12-04 Owen Taylor <otaylor@redhat.com>
2069 reviewed by: Keith Packard <keithp@keithp.com>
2071 * fc-cache/fc-cache.c: (main):
2072 Sleep for two seconds before exiting to make sure timestamps
2073 for future changes have distinct mod times in the file system.
2076 Add Punjabi orthography. Bug #1671.
2078 2004-12-04 Keith Packard <keithp@keithp.com>
2081 Just remove the FC_FONTDATE -- it has locale issues and
2082 annoys redhat multi-arch installs. Now that all X fonts are
2083 included without prejudice, the chances of the date being at
2084 all interesting are rather limited. Bug #505.
2086 Add copyright and license
2088 2004-12-04 Keith Packard <keithp@keithp.com>
2091 Change default set of fonts to include all of
2092 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2093 * doc/fontconfig-user.sgml:
2094 Document new <include>directory-name</include> semantics
2096 add <include ignore_missing="yes">conf.d</include>
2098 Add selectfont to ignore bitmap fonts, add comment for
2099 selectfont which accepts bitmap fonts.
2102 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2103 Allow <include> configuration elements to reference directories.
2104 Parse and load all files of the form [0-9]* in sorted order.
2106 2004-12-04 Keith Packard <keithp@keithp.com>
2109 Report command line for $srcdir/configure accurately.
2112 2004-12-04 Keith Packard <keithp@keithp.com>
2114 * src/fcfreetype.c: (FcFreeTypeQuery):
2115 Check for non-empty face->family_name and face->style_name
2116 before using those for the font. Empty names match everything.
2119 2004-12-04 Keith Packard <keithp@keithp.com>
2122 * fontconfig/fontconfig.h:
2123 * src/fcfreetype.c: (FcFreeTypeQuery):
2125 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2126 available. This provides font file format information (BDF, Type 1,
2127 PCF, TrueType) for each font. Closes #109.
2129 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2131 reviewed by: Keith Packard <keithp@keithp.com>
2133 * doc/fontconfig-user.sgml:
2136 * fontconfig/fontconfig.h:
2137 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2138 (GetScriptTags), (FcFontCapabilities):
2140 Add detection for font capabilities (bug #105)
2142 2004-12-04 Keith Packard <keithp@keithp.com>
2145 Move existing fonts.conf to fonts.conf.bak
2148 Add detection of iconv
2150 * doc/fcpattern.fncs:
2151 * doc/fontconfig-devel.sgml:
2152 * doc/fontconfig-user.sgml:
2154 Document new selectfont elements
2157 Switch to UTF-8 in comment
2159 * fontconfig/fontconfig.h:
2161 Add fullname, and family/style/fullname language entries
2163 * src/fccache.c: (FcCacheFontSetAdd):
2164 * src/fcdir.c: (FcFileScanConfig):
2165 Respect selectfont/*/glob
2168 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2169 (FcConfigCompareValue), (FcConfigPatternsAdd),
2170 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2171 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2172 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2173 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2174 Add support for selectfont
2176 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2177 (FcStringInPatternElement), (FcFreeTypeQuery):
2178 Add multi-lingual family/style/fullname support
2180 * src/fclist.c: (FcListPatternMatchAny):
2181 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2183 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2184 (FcObjectStaticName):
2185 Add new FcPatternRemove/FcPatternAppend.
2186 FcObjectStaticName stores computed pattern element names which
2187 are required to be static.
2189 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2194 Remove spurious / after $(DESTDIR)
2196 2004-06-30 Keith Packard <keithp@keithp.com>
2200 * fontconfig/fontconfig.h:
2203 2004-06-30 Keith Packard <keithp@keithp.com>
2205 Provided by: Lubos Lunak <l.lunak@suse.cz>
2207 * src/fccfg.c: (FcConfigUptoDate):
2208 However FcConfigUptoDate() doesn't seem to work. See the attached
2209 patch. First there's an obvious misplaced parenthesis making it
2210 return always false, and second, even this call fails to detect font
2211 changes (e.g. adding a new font to
2212 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2213 well. The problem seems to be triggered by my fonts.conf specifying
2214 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2215 doesn't include subdirs, unlike config->fontDirs.
2217 2004-06-03 Keith Packard <keithp@keithp.com>
2219 * fontconfig/fontconfig.h:
2220 Remove comma at end of FcResult enum definition.
2222 2004-05-29 Keith Packard <keithp@keithp.com>
2225 Add steps to md5sum release
2227 2004-05-29 Keith Packard <keithp@keithp.com>
2231 * fontconfig/fontconfig.h:
2234 2004-05-29 Keith Packard <keithp@keithp.com>
2236 * fontconfig/fontconfig.h:
2237 * src/fcmatch.c: (FcFontSetMatch):
2238 Add FcResultOutOfMemory to provide an accurate error when
2239 FcFontSetMatch fails in this way
2242 Make #warning about lacking various FreeType features indicate
2243 which version those features appeared so users know how to
2244 fix the problem (Thanks to Anton Tropashko)
2246 2004-05-05 Keith Packard <keithp@keithp.com>
2248 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2249 Replace MIN/MAX/ABS macros which happen to have come
2250 from FreeType with fontconfig-specific ones (FC_*)
2252 2004-04-23 Keith Packard <keithp@keithp.com>
2255 Extend release preparation instructions to include
2256 notification and distribution steps
2258 2004-04-23 Keith Packard <keithp@keithp.com>
2262 * fontconfig/fontconfig.h:
2263 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2265 2004-04-23 Keith Packard <keithp@keithp.com>
2268 Ignore a few more autotool files
2270 2004-04-14 Keith Packard <keithp@keithp.com>
2273 Add instructions for doing a release
2275 * fontconfig.spec.in:
2276 clean up .spec file; perhaps this will be useful to somebody...
2280 * fontconfig/fontconfig.h:
2283 * fc-lang/fc-lang.c:
2284 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2286 * fc-glyphname/Makefile.am:
2287 * fc-lang/Makefile.am:
2288 * fc-list/Makefile.am:
2289 * fc-match/Makefile.am:
2291 Add WARN_CFLAGS to pass -W flags for GCC systems
2293 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2294 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2295 Change various char types around to match across
2297 Fixed bug in using available_sizes[i].height which
2298 is in pixels, not 64ths of a pixel.
2300 2004-03-06 Keith Packard <keithp@keithp.com>
2302 * src/fcfreetype.c: (FcFreeTypeQuery):
2303 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2304 matches looking for explicit values prefer exact matches
2306 2004-03-02 Keith Packard <keithp@keithp.com>
2308 Supplied by: mfabian@suse.de (Mike FABIAN)
2310 * src/fcfreetype.c: (FcFreeTypeQuery):
2311 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2312 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2314 2004-02-21 Manish Singh <yosh@gimp.org>
2316 * fc-glyphname/fc-glyphname.c: (main):
2317 Cast strlen to int for printf, so we're 64-bit clean.
2319 2004-02-11 Keith Packard <keithp@keithp.com>
2322 * src/fcfreetype.c: (FcGetPixelSize):
2323 Ok, so I messed up the test for y_ppem. Let's see if I
2324 got it right this time.
2326 2004-02-10 Keith Packard <keithp@keithp.com>
2329 * src/fcfreetype.c: (FcGetPixelSize):
2330 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2331 FT_Bitmap_Size record. Add a configure.in test for this
2332 and change the code accordingly (using height instead).
2334 2004-02-06 Keith Packard <keithp@keithp.com>
2337 Add Low Saxon orthography
2338 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2340 * src/fccfg.c: (FcConfigNewestFile):
2341 Oops. Left 'newest.set' unset, which would miscompute
2344 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2345 (FcFreeTypeCheckGlyph):
2346 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2347 font properties (which report the wrong value in current FreeType)
2349 Don't attempt to check for empty glyphs in non-scalable fonts; they
2352 2004-02-01 Tor Lillqvist <tml@iki.fi>
2354 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2355 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2356 cache if config->cache is NULL, which happens if FcConfigHome() is
2357 NULL. Guard against that by using the temp folder in that case.
2359 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2361 * fc-lang/az_ir.orth:
2362 * fc-lang/ku_ir.orth:
2363 * fc-lang/ps_af.orth:
2364 * fc-lang/ps_pk.orth:
2365 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2366 (Afghan and Pakistani).
2368 Updated Urdu orthography with real data.
2370 2003-12-11 Carl Worth <cworth@east.isi.edu>
2372 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2375 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2377 (all-local): Remove excessive whitespace.
2379 * autogen.sh: Add 'set -e' to abort when any program fails,
2380 (avoids printing of 'now type make' after configure aborts).
2382 2003-11-17 Eric Christopherson <rakko@charter.net>
2384 reviewed by: Keith Packard <keithp@keithp.com>
2387 * fontconfig/fcfreetype.h:
2389 Switch to FreeType 2.1.7 style includes. Bug #150.
2391 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2393 * fc-list/fc-list.sgml: Add some example usages.
2395 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2398 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2401 2003-10-27 Keith Packard <keith@keithp.com>
2404 * fontconfig/fontconfig.h:
2405 Update to version 2.2.92
2407 2003-10-27 Keith Packard <keithp@keithp.com>
2412 * fc-cache/Makefile.am:
2413 * fc-glyphname/Makefile.am:
2414 * fc-lang/Makefile.am:
2415 * fc-list/Makefile.am:
2416 * fc-match/Makefile.am:
2419 Yet more cleanups to finish getting 'make distcheck' working
2420 This has been tested to ensure that it even works from a _build
2423 2003-10-26 Keith Packard <keithp@keithp.com>
2427 * fc-cache/Makefile.am:
2428 * fc-glyphname/Makefile.am:
2429 * fc-lang/Makefile.am:
2430 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2431 * fc-list/Makefile.am:
2432 * fc-match/Makefile.am:
2433 Attempts to fix 'make distcheck' work. Things are
2434 progressing pretty well, but there are still failures
2435 long into the process dealing with docs (as always).
2437 The big changes here are mostly to make $(srcdir) != "."
2438 work correctly, fixing the docbook related sections and
2439 fc-lang were particularily tricky. Docbook refuses to load
2440 system entities from anywhere other than where the original .sgml
2441 file was located, so no luck looking in "." for the
2442 configure-generated version.sgml and confdir.sgml files.
2444 fc-lang needed help finding .orth files; added a -d option
2445 to set the directory as the least evil of many options.
2447 Now to go use a faster machine and try and wring out the last
2450 2003-10-26 Keith Packard <keithp@keithp.com>
2454 2003-10-26 Keith Packard <keithp@keithp.com>
2457 Include confdir.sgml.in in EXTRA_DIST
2459 2003-10-09 Josselin Mouette <joss@debian.org>
2461 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2462 * fc-list/fc-list.sgml fc-list/Makefile.am:
2463 Replace fc-cache and fc-list manpages with more detailed, SGML
2466 2003-09-23 Owen Taylor <otaylor@redhat.com>
2468 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2469 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2470 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2473 2003-09-23 Owen Taylor <otaylor@redhat.com>
2475 * fc-lang/ka.orth: Remove Georgian capitals, they
2476 aren't used for normal writing. (Bug #116)
2478 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2480 * doc/fontconfig-devel.sgml:
2481 * doc/fontconfig-user.sgml:
2482 * fontconfig/fontconfig.h:
2484 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2485 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2487 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2488 monospace and dual-width fonts, allow roughly a 3% variance in the
2491 2003-08-31 Manish Singh <yosh@gimp.org>
2493 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2496 2003-08-15 Carl Worth <cworth@isi.edu>
2498 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2499 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2501 * src/fcpat.c (FcValueListEntDestroy): New function to support
2502 FcFini memory cleanup. Some statistics are not kept in
2504 (FcValueListFreeze): Move hashTable outside this function so it
2505 can be accessed by FcValueListThawAll.
2506 (FcValueListThawAll): New function complements FcValueListFreeze.
2507 (FcPatternBaseFreeze): Move hashTable outside this function so it
2508 can be accessed by FcPatternBaseThawAll.
2509 (FcPatternBaseThawAll): New function complements
2510 FcPatternBaseFreeze.
2511 (FcPatternThawAll): New function complements FcPatternFreeze.
2513 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2515 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2516 allocated FcCharLeafEnt "blocks" so they can be freed later.
2517 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2518 can be accessed by FcCharSetThawAllLeaf.
2519 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2520 (FcCharSetFreezeBase): Move hashTable outside this function so it
2521 can be accessed by FcCharSetThawAll.
2522 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2524 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2525 (FcConfigDestroy): Fic leak of FcBlanks.
2527 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2528 (main): Add call to FcFini when finished.
2530 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2531 static. Add prototypes.
2533 * doc/fcinit.fncs: Add documentation for FcFini function.
2535 * doc/edit-sgml.c: Mark several local functions as static. Add
2538 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2540 2003-06-15 Tor Lillqvist <tml@iki.fi>
2542 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2543 before comparing (needed on Windows).
2545 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2547 2003-06-13 Tor Lillqvist <tml@iki.fi>
2549 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2552 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2553 WINDOWSFONTDIR token.
2555 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2556 end, not to confuse libtool, which expects the EXPORTS line to be
2557 the first. Add FcConfigEnableHome.
2559 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2560 built as a DLL on Win32.
2562 2003-06-09 Keith Packard <keithp@keithp.com>
2564 * Tag version 2.2.90
2566 2003-06-09 Keith Packard <keithp@keithp.com>
2568 * Optimization in FcLangSetIndex was broken, occasionally
2569 returning a pointer to the wrong location on miss
2571 * Add fc-match to test font matching from the command line.
2573 2003-05-31 Keith Packard <keithp@keithp.com>
2575 * (Bug 85) add support for culmus fonts
2576 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2577 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2579 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2581 * Fix "contains" op for strings and langsets.
2583 2003-05-17 Keith Packard <keithp@keithp.com>
2585 * Fix build error with BDF prop local. Free langset after query
2587 2003-05-14 Keith Packard <keithp@keithp.com>
2589 * Extract spacing from XLFD atom
2591 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2593 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2594 disappeared in 1.30.
2596 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2598 2003-05-12 Keith Packard <keithp@keithp.com>
2600 * Use FcIsWidth to share code
2602 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2603 misclassifying some Han fonts as monospaced.
2605 2003-05-07 Keith Packard <keithp@keithp.com>
2607 * Add filename-based accept/reject to ammend available fonts.
2609 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2610 older FreeType releases.
2612 2003-05-06 Keith Packard <keithp@keithp.com>
2614 * Remove 0b82 and Tamil numbers from tamil
2615 orthography (Jungshik Shin <jshin@mailaps.org>)
2617 2003-05-04 Keith Packard <keithp@keithp.com>
2619 + Map glyph names in fonts with adobe custom encoding to unicode
2621 2003-05-02 Keith Packard <keithp@keithp.com>
2623 * Add FC_WEIGHT_BOOK as weight 75
2625 2003-04-30 Keith Packard <keithp@keithp.com>
2627 * Typo in bitstream foundry name
2629 2003-04-24 Keith Packard <keithp@keithp.com>
2631 * Eliminate italic_angle check for PS fonts
2633 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2635 * Getting closer to fixing /etc/fonts hard-coding.
2637 2003-04-22 Keith Packard <keithp@keithp.com>
2639 * Update autogen.sh to work with newer automake versions
2640 * Handle pattern elements moving during multiple edits
2642 2003-04-23 James Henstridge <james@daa.com.au>
2644 * doc/fontconfig-devel.sgml: close the <para> element.
2646 * doc/fcpattern.fncs: close the <para> element.
2648 * doc/func.sgml: close the <refsynopsisdiv> element.
2650 2003-04-22 Keith Packard <keithp@keithp.com
2652 * Update autogen.sh to work with newer automake versions
2653 * Handle pattern elements moving during multiple edits
2655 2003-04-17 Colin Walters <walters@debian.org>
2657 + Remove some unused variables, and initialize some other ones so
2658 gcc doesn't warn us.
2660 2003-04-16 Keith Packard <keithp@keithp.com>
2662 + tag version 2.1.94
2664 2003-04-16 Keith Packard <keithp@keithp.com>
2666 + add BDF property fetching support for foundry
2667 (from Juliusz Chroboczek)
2668 + add BDF property fetching support for width
2670 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2672 + Implemented foundry generation for Type 1 and TrueType
2674 2003-04-11 Gerard Escalante <g2@magestudios.net>
2676 + Retrieve information from Type1 FontInfo dictionaries
2678 2003-04-07 Colin Walters <walters@verbum.org>
2680 + src/Makefile.am: Fix dummy makefile target names when
2681 MS_LIB_AVAILABLE isn't set.
2683 2003-03-22 Tor Lillqvist <tml@iki.fi>
2685 Changes for Windows:
2687 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2689 + We don't want to hardcode the fonts.conf file location in the
2690 DLL, so we look up the DLL location at run-time in a DllMain()
2691 function. The fonts.conf location is deduced from that.
2693 + The colon can't be used as path separator on Windows,
2694 semicolon is used instead. File path components can be separated
2695 with either slash or backslash. Absolute paths can also begin
2696 with a drive letter.
2698 + Add internal function FcStrLastSlash that strrchr's the last
2699 slash, or backslash on Windows.
2701 + There is no link() on Windows. For atomicity checks, mkdir a
2702 lock directory instead.
2704 + In addition to HOME, also look for USERPROFILE.
2706 + Recognize the special font directory token WINDOWSFONTDIR, to
2707 use the system's font directory.
2709 + Remove the fontconfig-def.cpp that was obsolete. Add
2710 fontconfig.def(.in), without internal functions.
2712 + Add a fontconfig-zip(.in) script, used to build a binary
2715 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2716 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2717 to main package and man3/* to devel package
2719 + Added missing defattr(-, root, root) to main RPM package
2721 + Added HTML and text development documentation to -devel subpackage
2723 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2724 + Added back the configure macro options --disable-docs, otherwise
2725 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2726 version number) unconditionally, causing RPM to fail the build due
2727 to _unpackaged_files_terminate_build. We pick up the pregenerated
2728 docs with %doc already.
2730 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2731 + Removed commented out rpm macro define at top of spec file,
2732 replacing it with a simple explanation, since rpm macros are
2733 expanded by rpm even in comments.
2735 + Changed /usr/bin to _bindir in BuildRequires lines
2737 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2739 + Reorganized file manifest lists
2741 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2743 + fontconfig.spec.in: Improvements from Red Hat spec file.
2745 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2747 + docs/*.sgml: SGML fixes.
2749 Sat Mar 1 17:28:53 PST 2003 keithp
2750 + Ok, so the ChangeLog is a bit out of date
2752 + Lots of bugs fixed; most are in bugzilla, the
2753 biggest problems were in cache management where
2754 Owen discovered the library would lose badly when
2755 combining fonts-cache and ~/.fonts-cache data
2757 + Converted from autoconf to automake. This after
2758 getting patches accepted into libtool to allow
2759 the '-version-number' argument which lets
2760 packages set version numbers explicitly rather
2761 than the roundabout libtool way
2763 + Converted documentation to SGML using the docbook
2764 DTD. Now .txt and .html documents are installed
2765 in /usr/share/doc/fontconfig and there's no
2766 man page. Perhaps a man version can be written
2769 Sat Aug 31 15:21:22 PDT 2002 keithp
2770 + Xrender and Xft had several bugs related to
2771 rendering manually placed or poly-face text
2773 + Added more complete memory tracing in fontconfig
2774 Checked with (patched) mozilla and found no leaks
2776 + Updated Latin orthographies by comparing those from
2777 evertype.com with those from eki.ee. Tried to make
2778 sensible choices, including chars that occured in both
2779 and leaving some optional chars out that occured only
2782 Mon Aug 26 16:33:04 PDT 2002 keithp
2783 + Owen discovered that FcLangSetHasLang wasn't actually
2784 checking the language set.
2786 Mon Aug 26 13:37:23 PDT 2002 keithp
2787 + Append a version number to cache filenames
2789 Thu Aug 22 11:36:18 PDT 2002 keithp
2791 + Add "contains" and "not_contains" operators and elements to
2794 + Changed semantics of eq operator for LangSets to check for
2795 FcLangEqual so that any match will do
2797 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2798 of FcValueEqual to check for identical values when inserting into
2799 the results. This broke when the above semantic change was made,
2800 now it uses FcValueEqual which is "more correct" in any case.
2802 Thu Aug 22 00:32:29 PDT 2002 keithp
2804 + Reimplement FC_LANG as new datatype. Lists of strings
2805 was consuming over a megabyte of memory for 401 fonts.
2807 + Freeze patterns loaded from cache files. This shares
2808 common value lists and common patterns which saves
2809 considerable memory.
2811 + Change the denotation of 'constant' charsets to use special
2812 ref value instead of separate boolean.
2814 + Clean up leak tracing stuff, found several unannoted alloc/free
2817 Tue Aug 20 16:17:37 PDT 2002 keithp
2819 + Fix memory leak when parsing matrices from XML
2821 Mon Aug 19 11:57:27 PDT 2002 keithp
2823 + Fix autoconf files to pass FONTCONFIG_PATH on
2824 compile line so that ${prefix} gets substituted
2827 + Use getc_unlocked/putc_unlocked on systems that
2828 provide them to avoid damage done to stdio by posix
2830 + Eliminate FC_PATTERN and FcTypePattern in favor of
2831 an extended api for FcConfigSubstitute which takes
2832 both the font and the pattern.
2834 + Add 'sans serif' alias for 'sans-serif' as some apps
2835 can't handle hyphens in family names
2837 + Eliminate pretense of support for libxml2
2839 + Comment origins of Han orthographies
2841 Tue Jul 30 18:37:09 PDT 2002 keithp
2843 + Add binding property to edit element so that strong
2844 binding values may be inserted by the config file.
2845 The default remains weak.
2847 Sun 28 Jul 04:16:55 PDT 2002 keithp
2849 + Tagged release candidate 1 in the CVS tree and
2850 placed fcpackage.rc1.tar.gz for distribution
2852 Thu Aug 1 08:55:08 PDT 2002 keithp
2854 + Fixed autoconf builds to always specify install
2855 target files (for BSD). Also fixed to
2856 define FONTCONFIG_PATH in config.h so that
2857 nonstandard installs will actually work.