1 2006-02-17 Patrick Lam <plam@mit.edu>
2 * src/fcint.h (FC_CACHE_MAGIC):
4 Bump up magic version; we changed the binary format.
6 2006-02-17 Patrick Lam <plam@mit.edu>
7 * fc-cat/fc-cat.c (main):
9 Enable fc-cat to print out old-style cache info when given a
12 2006-02-16 Patrick Lam <plam@mit.edu>
13 * src/fccache.c (FcDirCacheHasCurrentArch):
15 Deal correctly with changing FC_CACHE_MAGIC.
17 2006-02-16 Patrick Lam <plam@mit.edu>
18 * fc-cache/fc-cache.c (usage, scanDirs, main):
20 Add -r --really-force option which blows away cache files and then
23 2006-02-16 Patrick Lam <plam@mit.edu>
24 * src/fccache.c (FcDirCacheUnlink, FcCacheCopyOld, FcDirCacheWrite):
26 Don't bail if fontconfig can't remove a dir cache file.
27 Skip the ID of a cache file when copying.
28 Eliminate 'source file too small' bug in FcDirCacheWrite.
30 2006-02-13 Patrick Lam <plam@mit.edu>
31 * src/fcfreetype.c (FcFreeTypeQuery):
33 Fix memory leak in error condition code.
35 2006-02-13 Mike Fabian <mfabian@suse.de>
37 * src/fcfreetype.c (FcFreeTypeQuery):
39 Skip bitmap fonts which can't even get it together enough to
40 declare a family name; this appears to reproduce previous
43 2006-02-10 Takashi Iwai <tiwai@suse.de>
45 * src/fccache.c (FcDirCacheOpen):
47 Try to open /var/cache/fontconfig/[hashed name] before
48 fonts.cache-2 in a directory, because /var/cache/fontconfig
49 failures ought to be fixable, unlike fonts.cache-2 failures,
50 which may leave you screwed.
52 2006-02-10 Takashi Iwai <tiwai@suse.de>
54 * src/fcmatch.c (FcFontSetMatch):
56 Use a tri-state to mark the fonts which didn't get blocked but
57 were just missing an element, to distinguish them from the
58 fonts that do match the element.
60 2006-02-10 Takashi Iwai <tiwai@suse.de>
62 * src/fcmatch.c (FcFontSetMatch):
64 Don't kill fonts because they don't declare an element that's
67 2006-02-09 Patrick Lam <plam@mit.edu>
68 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
69 FcDirCacheUnlink, FcDirCacheOpen, FcDirCacheWrite):
71 Define and pass O_BINARY to open if appropriate, for those
72 platforms that need it. Reported by Doodle.
74 2006-02-09 Patrick Lam <plam@mit.edu>
75 * src/fccharset.c (FcCharSetNeededBytes, FcCharSetSerialize,
78 Fix problem with missing 'en' due to euro.patch: change
79 cache file format slightly to coincide with that generated
82 2006-02-07 Patrick Lam <plam@mit.edu>
83 * src/fccache.c (FcCacheReadDirs):
87 2006-02-07 Patrick Lam <plam@mit.edu>
88 * src/fcdir.c (FcDirScanConfig):
90 Don't reject dirs that can't be normalized (fixes lilypond, and
91 is correct in the context of application font directories.)
93 2006-02-07 Takashi Iwai <tiwai@suse.de>
96 * src/fccache.c (FcCacheReadDirs):
98 Use normalized directory name exclusively in FcCacheReadDirs.
100 2006-02-07 Dirk Mueller <dmueller@suse.com>
103 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
105 Perf optimizations. Inline FcValueCanonicalize,
106 reduce FcValueListPtrU usage, remove redundant cast.
108 2006-02-07 Takashi Iwai <tiwai@suse.de>
111 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
114 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
115 Declare extern for static arrays as arrays, not pointers.
116 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
118 2006-02-07 Dirk Mueller <dmueller@suse.com>
131 Add Euro sign to list of symbols required by European languages.
133 2006-02-07 Patrick Lam <plam@mit.edu>
134 * src/fccache.c (FcCacheReadString):
136 Fix hidden variable warning.
138 2006-02-07 Dirk Mueller <dmueller@suse.com>
141 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
143 Remove de-escaping logic because FcCacheWriteString
144 doesn't escape anyway. Do blockwise reading instead
145 of byte-wise for performance.
147 2006-02-06 Patrick Lam <plam@mit.edu>
148 Takashi Iwai <tiwai@suse.de>
150 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
152 Don't loop infinitely on recursive symlinks (client-side).
154 2006-02-06 Takashi Iwai <tiwai@suse.de>
156 * fc-cache/fc-cache.c (scanDirs, main):
158 Don't loop infinitely on recursive symlinks.
160 2006-02-06 Takashi Iwai <tiwai@suse.de>
162 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
163 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
164 FcGlobalCacheSave, FcCacheReadDirs):
167 Skip subdirs when skipping over stale bits of global cache.
168 Introduce state machine into FcGlobalCacheDir to avoid
169 doing inappropriate operations on global dir entries, e.g.
170 writing out an out-of-date cache entry.
172 2006-02-06 Takashi Iwai <tiwai@suse.de>
174 * src/fcdir.c (FcFileScanConfig):
176 Hoist FcFileIsDir check out of FcFileScanConfig loop.
178 2006-02-06 Takashi Iwai <tiwai@suse.de>
181 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
182 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
184 Don't rescan when trying to normalize a non-declared font dir.
185 Don't add font dirs multiple times (even if they're aliased).
187 2006-02-06 Dirk Mueller <dmueller@suse.de>
190 * src/fcfs.c (FcFontSetUnserialize):
192 Explain apples/oranges comparison and fix compilation error.
194 2006-02-06 Dirk Mueller <dmueller@suse.de>
197 * src/fcfs.c (FcFontSetUnserialize):
199 Insert check for integer overflow in # of fonts.
201 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
205 * fc-cache/Makefile.am:
206 * fc-cat/Makefile.am:
207 * fc-list/Makefile.am:
209 Make 'make distcheck' work with automake 1.6.3.
211 2006-02-03 Takashi IWAI <tiwai@suse.de>
214 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
217 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
218 FcDirCacheConsume, FcDirCacheWrite)
219 * src/fcxml.c (FcConfigMessage):
221 Check I/O call return values and eliminate unused variable
224 2006-02-03 Takashi Iwai <tiwai@suse.de>
227 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
231 2006-02-03 Dirk Mueller <dmueller@suse.de>
234 * src/fcfs.c (FcFontSetUnserialize):
236 Gracefully handle the case where a cache asserts that it
237 has a negative number of fonts, causing overflow.
239 2006-02-03 Patrick Lam <plam@mit.edu>
240 * src/fccache.c (FcDirCacheUnlink):
242 Fix double free in error case.
244 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
245 Stephan Kulow <coolo@suse.de>
248 * fc-cache/Makefile.am:
250 Replace 'stamp' target with mkinstalldirs.
252 2006-01-31 Mike Fabian <mfabian@suse.de>
255 * src/fccache.c (FcGlobalCacheLoad):
257 Toast broken global cache files.
259 2006-01-30 Patrick Lam <plam@mit.edu>
260 * src/fccache.c (FcGlobalCacheReadDir):
262 Actually use the directories that I added to the global cache.
265 2006-01-30 Mike Fabian <mfabian@suse.de>
268 * fc-cache/fc-cache.c (scanDirs):
270 Don't stop scanning if a directory in fonts.conf doesn't
271 exist, because subsequent directories might exist.
273 2006-01-30 Patrick Lam <plam@mit.edu>
274 * src/fccache.c (FcGlobalCacheLoad):
276 Make global cache work again after putting dir names into global
277 cache (I misplaced the recording of a file offset).
279 2006-01-30 Patrick Lam <plam@mit.edu>
280 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
282 Update fc-cat to handle subdir lists in global cache file.
284 * src/fccache.c (FcGlobalCacheLoad):
286 Another FcCacheReadString return value check.
288 2006-01-30 Mike Fabian <mfabian@suse.de>
291 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
292 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
294 Make fccache more resilient to broken cache files by checking
295 return value of FcCacheReadString all the time.
297 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
300 * fc-match/fc-match.1:
301 * fc-lang/fc-lang.man:
303 Remove references to dead fontconfig(3) manpages in
304 other fontconfig manpages.
306 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
309 * doc/fcpattern.fncs:
311 Fix world's tiniest typo in code example.
313 2006-01-29 Mike Fabian <mfabian@suse.de>
316 * src/fccache.c (FcGlobalCacheReadDir):
318 Fix global cache reads of subdirectories.
320 2006-01-29 Patrick Lam <plam@mit.edu>
322 Add documentation for FcConfigNormalizeFontDir.
324 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
325 FcGlobalCacheUpdate, FcGlobalCacheSave):
326 * src/fcdir.c (FcDirScanConfig):
329 Write directory information to global caches to fix make check
330 (reported by Ronny V. Vindenes). This changes the global cache
333 2006-01-27 Patrick Lam <plam@mit.edu>
334 * fc-cache/fc-cache.c (scanDirs):
335 * fontconfig/fontconfig.h:
337 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
339 Move FcConfigNormalizeFontDir call so that it doesn't result in
340 infinite recursion (reported by Ronny V. Vindenes).
342 2006-01-26 Patrick Lam <plam@mit.edu>
343 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
344 * src/fccfg.c (FcConfigNormalizeFontDir):
346 Add a couple of missing normalizations to make fc-cache work
347 right; only scan subdirectories once.
349 2006-01-26 Mike Fabian <mfabian@suse.de>
352 * src/fcacache.c (FcGlobalCacheReadDir):
354 Don't crash on non-existant directories in global cache.
356 2006-01-26 Patrick Lam <plam@mit.edu>
357 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
358 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
359 * src/fcdir.c (FcDirScanConfig):
360 * src/fcxml.c (FcEndElement):
362 Stop trampling the directory name when writing out caches.
363 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
364 subdirs when necessary. Don't scan directories that can't be
367 2006-01-25 Patrick Lam <plam@mit.edu>
368 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
369 * src/fccfg.c (FcConfigEvaluate):
370 * src/fcfreetype.c (FcPatternAddWithBinding):
372 Fix additional memory leaks reported by Ronny V. Vindenes: don't
373 invoke FcValueSave on hashed static strings in
374 FcPatternAddWithBinding.
376 Add another st_dev check in FcDirCacheOpen.
378 2006-01-24 James Su <james.su@gmail.com>
381 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
382 * fc-lang/zh_hk.orth:
384 Treat zh-hk fonts differently from zh-tw fonts. This patch may
385 cause fontconfig to treat A-X fonts differently from A-Y fonts;
386 please mail the fontconfig list if this causes any problems.
388 2006-01-24 Patrick Lam <plam@mit.edu>
389 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
390 * src/fcfreetype.c (FcFreeTypeQuery):
392 Fix memory leaks reported by Ronny V. Vindenes.
394 2006-01-19 Andreas Schwab <schwab@suse.de>
397 * src/fcpat.c (FcStrNeededBytes):
399 Fix for unaligned memory accesses.
401 2006-01-18 Mike Fabian <mfabian@suse.de>
404 * src/fcdir.c (FcDirScanConfig):
406 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
407 calls to avoid crashes.
409 2006-01-14 Patrick Lam <plam@mit.edu>
410 * src/fccache.c (FcDirCacheConsume):
412 Fix segfault when consuming zero-length caches in fc-cat
413 (which has no config, so FcConfigAddFontDir shouldn't be called.)
415 2006-01-14 Patrick Lam <plam@mit.edu>
416 * fc-cache/fc-cache.c (scanDirs):
417 * fontconfig/fontconfig.h:
418 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
419 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
420 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
421 * src/fcdir.c (FcDirScanConfig):
424 Compare device numbers as well as inodes.
425 Always normalize directory names before comparing them.
427 2006-01-11 Mike Fabian <mfabian@suse.de>
430 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
432 Allocate extra space for appended '/' in directory name.
434 2006-01-10 Patrick Lam <plam@mit.edu>
435 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
436 FcDirCacheValid, FcDirCacheHasCurrentArch,
437 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
438 * fc-cache/fc-cache.c (main):
440 Explicitly add font dirs to config.fontDirs even if they're empty.
441 Set current config in fc-cache.c.
442 Fix treatment of cache directory as read from cache file; don't
443 use string equality to determine if we have the right file,
446 2006-01-09 Patrick Lam <plam@mit.edu>
447 * fc-cache/fc-cache.c (scanDirs):
448 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
449 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
450 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
451 * src/fccfg.c (FcConfigNormalizeFontDir):
452 * src/fcdir.c (FcDirScanConfig):
455 Normalize font dirs by using the form, as given in fonts.conf, and
456 recorded in FcConfig's fontDirs string set, as canonical.
458 Actually update config.fontDirs as font directories are scanned.
460 2006-01-08 James Su <james.su@gmail.com>
461 * src/fcmatch.c (FcFontSetMatch):
463 Fix matching bug when multiple elements match; don't use
464 the sum of all scores, but the best score.
466 Also more perf opts, e.g. evaluate best over all font sets
467 rather than on a per-set basis (and other changes).
469 2006-01-08 Patrick Lam <plam@mit.edu>
470 * src/fccache.c (FcDirCacheConsume):
472 Properly skip past dir caches that contain zero fonts (as occurs
473 in global caches.) Reported by Mike Fabian.
475 2006-01-06 Patrick Lam <plam@mit.edu>
476 * src/fcdbg.c (FcPatternPrint):
478 Print out full pathname in fc-match -v as well. Reported by
481 2006-01-06 Mike Fabian <mfabian@suse.de>
484 * src/fcname.c (FcNameParse):
486 Fix bug where fc-match crashes when given __DUMMY__ property to
489 (I added the __DUMMY__ string to enable callers of
490 FcObjectToPtrLookup to distinguish an error return from a
491 successful return. -PL)
493 2006-01-05 Patrick Lam <plam@mit.edu>
496 Add self to AUTHORS list.
498 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
499 FcCacheFileRead, FcCachePrintSet, main):
500 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
501 FcGlobalCacheSave, FcCacheNextOffset,
502 FcDirCacheHasCurrentArch, FcDirCacheRead,
503 FcDirCacheConsume, FcDirCacheWrite):
505 * src/fcpat.c (comment):
507 Minor change to global cache file format to fix fc-cat bug
508 reported by Frederic Crozat, and buglet with not globally caching
509 directories with zero fonts cached.
511 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
514 * src/fccfg.c (FcConfigEvaluate):
516 Fix double-free which occurs because FcValueCanonicalize doesn't
517 create an extra copy of the returned value, it only canonicalizes
520 2006-01-02 Patrick Lam <plam@mit.edu>
521 * doc/fontconfig-user.sgml:
523 Fix version of .cache file (currently 1 -> currently 2). Reported
526 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
529 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
531 Shut up GCC warnings on amd.
533 2005-12-20 Patrick Lam <plam@mit.edu>
537 * fontconfig/fontconfig.h:
539 Bump version to 2.3.93.
541 2005-12-20 Patrick Lam <plam@mit.edu>
542 * src/fccharset.c (FcLangCharSetPopulate):
543 * src/fcint.h (FcCacheBankToIndex):
545 Avoid check on _fcBankId nullness and fix case where it used to
548 2005-12-20 Patrick Lam <plam@mit.edu>
549 * src/fcxml.c (FcConfigParseAndLoad):
551 Use open instead of fopen (requested by Phil Race for Sun).
553 2005-12-20 Patrick Lam <plam@mit.edu>
554 * src/fccache.c (FcDirCacheWrite);
555 * fc-cache/Makefile.am:
557 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
560 2005-12-20 Patrick Lam <plam@mit.edu>
561 * src/fcfreetype.c (FcFreeTypeQuery):
563 Restore code to skip over PCF fonts that have no encoded
565 (We guess that a font is PCF by presence of the PIXEL_SIZE
568 2005-12-12 Patrick Lam <plam@mit.edu>
569 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
571 Read and write the original location as a fallback for the
572 hashed cache file locations. This is mostly for users to be
573 able to have per-directory cache files.
575 2005-12-12 Patrick Lam <plam@mit.edu>
576 * fc-cache/fc-cache.c (scanDirs):
577 * fc-cache/Makefile.am:
578 * src/fccache.c (FcDirCacheHashName):
580 Improve error message when fc-cache can't write the cache. Add
581 missing slash. Reported by Behdad. Incorporate Behdad's patch to
582 create /var/cache/fontconfig when appropriate.
584 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
587 * src/fcxml.c (FcConfigGetAttribute):
589 Fix crash reported by Frederic Crozat when using libxml2.
591 2005-12-09 Patrick Lam <plam@mit.edu>
594 * fc-cache/Makefile.am:
595 * fc-cat/Makefile.am:
597 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
598 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
599 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
600 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
601 FcDirCacheHasCurrentArch, FcDirCacheHashName,
602 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
604 Migrate cache files from fonts directories to
605 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
606 but requires that all caches get rebuilt.
608 Also, autogen.sh now needs the additional parameter
609 --localstatedir=/var.
611 2005-12-07 Patrick Lam <plam@mit.edu>
612 * src/fcpat.c (FcPatternAddString):
614 Because we've changed FcPatternAddString to use FcStrStaticName
615 and not FcValueSave, explicitly handle the case of a null string.
617 2005-12-06 Patrick Lam <plam@mit.edu>
618 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
622 2005-12-05 Patrick Lam <plam@mit.edu>
623 * src/fcname.c (FcNameGetObjectType):
625 Don't assign types to user object names.
627 2005-12-05 Patrick Lam <plam@mit.edu>
628 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
630 Don't free strings that have been returned from FcStrStaticName.
632 2005-12-01 Patrick Lam <plam@mit.edu>
633 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
635 Add codepath for reading global cache files as well.
637 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
640 * conf.d/10-fonts.persian.conf:
641 * conf.d/Makefile.am:
643 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
645 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
648 * src/fcxml.c (FcConfigParseAndLoad):
650 Only add a config file to the set of config files once.
652 2005-11-29 Patrick Lam <plam@mit.edu>
653 * src/fcint.h (FcCacheBankToIndex);
655 Fix segfault by guarding array dereference.
657 2005-11-29 Dirk Mueller <dmueller@suse.de>
661 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
662 FcCacheBankToIndex, FcCacheBankToIndexMTF,
666 Refactor FcCacheBankToIndex into an inlineable part
667 (in fcint.h) which checks the front of the list and a
668 non-inlineable part which finds and moves the appropriate element
669 to the front of the list.
671 2005-11-29 Patrick Lam <plam@mit.edu>
672 * src/fccfg.c (FcConfigBuildFonts):
673 * src/fccache.c (FcCacheReadDirs):
675 Make the perf guys hate me a bit less: hoist the directory-name
676 FcConfigAcceptFont check for cached fonts up to directory cache
677 read time, rather than running it for each font.
679 2005-11-29 Patrick Lam <plam@mit.edu>
680 * src/fccfg.c (FcConfigBuildFonts):
682 * src/fcpat.c (FcPatternFindFullFname):
684 Don't make FcPatternFindFullFname available to fccfg, it's not
685 really safe. Instead go through FcPatternGetString (sorry,
686 perf guys.) Also, use globs for dirs as well.
688 2005-11-28 Patrick Lam <plam@mit.edu>
689 * src/fccfg.c (FcConfigBuildFonts):
693 2005-11-28 Patrick Lam <plam@mit.edu>
695 * src/fcpat.c (FcPatternFindFullFname):
696 * src/fccfg.c (FcConfigBuildFonts):
698 Fix problem dating back at least to 2.3.2 where globs weren't
699 being applied to patterns loaded from a cache.
701 2005-11-28 Patrick Lam <plam@mit.edu>
702 * doc/fontconfig-user.sgml:
704 Fix some obvious spelling mistakes.
706 2005-11-28 Dirk Mueller <dmueller@suse.com>
707 Stephan Kulow <coolo@suse.de>
710 * src/fcmatch.c (FcFontSetMatch):
712 Don't kill all fonts during match (oops!)
715 2005-11-25 Dirk Mueller <dmueller@suse.com>
716 Stephan Kulow <coolo@suse.de>
717 Michael Matz <matz@suse.de>
720 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
723 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
724 inline FcCompare into FcFontSetMatch and reorder the
725 loops, adding a boolean array which blocks patterns from future
726 consideration if they're known to not be best on some past
729 2005-11-26 Dirk Mueller <dmueller@suse.com>
732 * src/fcmatch.c (FcCompareValueList):
736 2005-11-25 Patrick Lam <plam@mit.edu>
737 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
739 Don't do random matching when bad objects are passed into
742 2005-11-25 Patrick Lam <plam@mit.edu>
744 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
745 FcPatternSerialize, FcPatternUnserialize,
746 FcValueListEnsureBank, FcValueListDistributeBytes,
747 FcValueListUnserialize):
749 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
750 _fcPatternElts, _fcValueLists for consistency.
752 2005-11-25 Dirk Mueller <dmueller@suse.com>
757 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
759 2005-11-25 Patrick Lam <plam@mit.edu>
761 * src/fccache.c (FcDirCacheConsume):
762 * src/fccharset.c (FcCharSetUnserialize):
763 * src/fcfs.c (FcFontSetUnserialize):
764 * src/fclang.c (FcLangSetUnserialize):
765 * src/fcname.c (FcObjectUnserialize):
766 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
767 FcPatternUnserialize):
769 Pass around FcCache *s to the Unserialize functions for extra
770 consistency (and less overhead, for what that's worth).
772 2005-11-24 Dirk Mueller <dmueller@suse.com>
776 * src/fcmatch.c (FcCompare*, FcFontSetSort):
777 * src/fcname.c (FcNameUnparseValue):
779 Inline the *PtrU functions to gain perf.
780 Remove unneeded params for the FcCompare* functions.
782 2005-11-24 Dirk Mueller <dmueller@suse.com>
785 * src/fcint.h, fontconfig/fontconfig.h:
787 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
789 * src/fcpat.c, src/fcint.h, src/fcname.c:
791 Check for type validity during FcPatternAddWithBinding, don't
792 verify type in FcFontMatch, don't call FcCanonicalize here
793 (which always does a deep copy).
795 2005-11-24 Dirk Mueller <dmueller@suse.com>
798 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
799 * src/fcpat.c (FcPatternAddWithBinding):
801 Make FcCompareString and FcCompareFamily less expensive.
802 Only add a value for FC_FAMILY if the proposed value is a string.
804 2005-11-24 Dirk Mueller <dmueller@suse.com>
807 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
808 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
809 * src/fcint.h (FcDebug):
811 Inline FcDebug invocations and only initialize once, in FcInit*.
812 Improve debug msg in FcPatternPrint.
814 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
817 * fontconfig/fontconfig.h:
820 Minor code warning cleanups.
822 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
825 * fc-match/fc-match.c (main):
827 Make getopt_long accept -s parameter to fc-match as well.
829 2005-11-21 Dirk Mueller <dmueller@suse.com>
832 * src/fcmatch.c (FcCompareValueList):
834 Manually perform inlining & partial redundancy elimination to
835 reduce calls to FcValueListPtrU.
837 2005-11-21 Dirk Mueller <dmueller@suse.com>
840 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
841 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
843 Only invoke strlen() when really necessary.
845 2005-11-19 Matthias Clasen <mclasen@redhat.com>
849 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
854 Get rid of the use of freetype internal headers in fcfreetype.c,
855 since those headers will go away with freetype 2.2. Replace with
856 public domain ftglue code from pango. Note that the patch removes
857 some extra error checking in FT_Get_BDF_Property() and comments
858 out the skipping of empty pcf fonts.
860 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
863 * fc-lang/fc-lang.c (main):
865 Further fix of patch from 2005-11-04: miscounted numbers count
866 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
867 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
869 Removed leafidx_count and numbers_count since they are the same
870 and replaced them with offset_count.
872 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
875 * fc-cat/fc-cat.c (main):
877 Don't crash when fc-cat invoked with no arguments.
879 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
882 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
884 Fix invalid read access caused by premature free and
885 GCC4 warnings in libxml2 codepath.
887 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
890 * src/fccfg.c (FcConfigValues):
892 List iteration not needed in FcConfigValues, since it's building
893 up the list itself; we can just strip FcVoid elements during
896 2005-11-17 Patrick Lam <plam@mit.edu>
897 * src/fccfg.c (FcConfigValues):
899 Fix crash on invalid constants in config files (forgot to update
900 a pointer upon list iteration.)
902 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
905 * src/fcxml.c (FcTypecheckExpr):
907 Complain about invalid constants in config files.
909 2005-11-17 Andreas Schwab <schwab@suse.de>
912 * src/fccache.c (FcGlobalCacheSave):
914 Don't add current_arch_start more than once.
916 2005-11-16 Patrick Lam <plam@mit.edu>
917 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
918 * src/fcfs.c (FcFontSetUnserialize):
919 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
920 * src/fcpat.c (FcStrUnserialize):
922 Fix ordering of ALIGN with respect to saving block_ptr; add
923 another ALIGN to fcfs.c.
925 2005-11-16 Patrick Lam <plam@mit.edu>
926 * src/fccache.c (FcDirCacheProduce)
928 Fix case where alignment bytes bumped up metadata->count
929 causing unwarranted failures to write cache files.
930 (Reported by Stephan Kulow).
932 2005-11-16 Patrick Lam <plam@mit.edu>
933 * src/fccache.c (FcDirCacheProduce):
934 * src/fccharset.c (FcCharSetDistributeBytes):
935 * src/fcfs.c (FcFontSetDistributeBytes):
937 * src/fclang.c (FcLangSetDistributeBytes):
938 * src/fcname.c (FcObjectDistributeBytes):
939 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
942 Add *NeededBytesAlign(), which overestimates the padding which is
943 later added by the new ALIGN macro. Fix alignment problems on
944 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
945 version by Andreas Schwab).
947 2005-11-16 Stephan Kulow <coolo@kde.org>
952 Use sysconf to determine proper PAGESIZE value; this
953 appears to be POSIX-compliant. (reported by Andreas Schwab)
955 2005-11-04 Patrick Lam <plam@mit.edu>
961 Fix bug 2878 (excessive relocations at startup for charsets,
962 reported by Ross Burton): fc-lang/fc-lang now creates the
963 static form of the langset, not the dynamic form, so that
964 the charsets should now be in .rodata.
966 2005-11-04 Patrick Lam <plam@mit.edu>
967 * src/fcdir.c (FcDirScanConfig):
969 Add test for validity of directory caches that
970 somehow got lost (reported by make distcheck).
972 2005-11-04 Patrick Lam <plam@mit.edu>
976 * fontconfig/fontconfig.h:
978 Bump version to 2.3.92.
980 2005-11-02 Patrick Lam <plam@mit.edu>
981 * src/fcpat.c (FcPatternDuplicate):
983 Fix argument ordering problem in call to FcPatternTransferFullFname.
985 2005-11-02 Patrick Lam <plam@mit.edu>
986 * src/fcfreetype.c (FcFreetypeQuery):
987 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
988 FcPatternTransferFullFname):
990 Fix warnings and embarrassing double-free error.
992 2005-11-02 Zhe Su <zsu@novell.com>
997 Change the rule for artificial emboldening in fonts.conf.in. This
998 enables the support for artificial emboldening included in cairo.
1000 2005-11-02 Patrick Lam <plam@mit.edu>
1001 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
1003 Don't zero out full names for FC_REF_CONSTANT fonts;
1004 also, duplicate full names when transferring, and free
1005 full names when freeing the associated font.
1006 Reported by Jinghua Luo.
1008 2005-11-02 Patrick Lam <plam@mit.edu>
1009 * fc-cache/fc-cache.c (scanDirs):
1010 * src/fcpat.c (FcValueListSerialize):
1012 Revert the previous patch and commit the correct patch:
1013 I forgot a canonicalization in FcValueListSerialize, so
1014 that it would choke on already-serialized input files. Duh!
1016 2005-11-02 Patrick Lam <plam@mit.edu>
1017 * fc-cache/fc-cache.c (scanDirs):
1019 Forcibly rescan a directory before writing a fresh local
1020 cache file for that directory, fixing the losing-fonts
1021 problem reported by Mike Fabian and also apparently the
1022 font cache file corruption.
1024 2005-11-02 Patrick Lam <plam@mit.edu>
1025 * src/fccache.c (FcGlobalCacheLoad):
1027 Fix thinko: actually, the whole global cache is stale
1028 if the global cache is older than the (newest) config file.
1030 2005-11-02 Patrick Lam <plam@mit.edu>
1031 * src/fccache.c (FcGlobalCacheLoad):
1032 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
1035 Declare the global cache of a directory's contents to be stale if
1036 the directory is newer than the (newest) configuration file.
1038 2005-10-31 Patrick Lam <plam@mit.edu>
1040 * src/fclist.c (FcListAppend):
1041 * src/fcmatch.c (FcFontRenderPrepare):
1042 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
1043 FcPatternFreeze, FcPatternBaseFreeze):
1045 Copy the full pathname whenever duplicating an FcPattern; otherwise,
1046 applications continue breaking.
1048 2005-10-31 Patrick Lam <plam@mit.edu>
1049 * fc-cat/fc-cat.c (FcCacheFileRead, main):
1050 * src/fcfreetype.c (FcFreeTypeQuery):
1052 Fix small memory error (tried to free argv); use basename and
1053 dirname correctly (they can modify their arguments).
1055 2005-10-31 Patrick Lam <plam@mit.edu>
1063 Reinstate basename patch, but keep a hash table linking FcPatterns
1064 to their fully-qualified font names for clients' benefit. Clients
1065 only pay for the font names once they request the FC_FILE property
1066 from an FcPattern, but the font name is malloc'd at that point (i.e.
1067 not mmapped: that's impossible, since it may vary between machines.)
1068 Clients do have to pay for a copy of the path name per cache file.
1070 Note that FcPatternGetString now does some rewriting if you ask
1071 for an FC_FILE, appending the pathname as appropriate.
1073 2005-10-31 Patrick Lam <plam@mit.edu>
1074 * src/fcfreetype.c (FcFreeTypeQuery):
1076 Revert basename patch, which breaks fontconfig clients on my system.
1078 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
1081 * fontconfig/fonts.conf.in:
1082 * fontconfig/fontconfig.h:
1086 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1087 to load embedded bitmaps or not.
1089 2005-10-25 Patrick Lam <plam@mit.edu>
1090 * src/fcfreetype.c (FcFreeTypeQuery):
1092 Only add basename to patterns' FC_FILE element, not any part of
1095 2005-10-22 Patrick Lam <plam@mit.edu>
1098 Add some more consts, fixing more GCC4 warnings.
1100 2005-10-22 Zhe Su <zsu@novell.com>
1103 Support localized font family and style names.
1104 This has been reported to break old apps like xfd, but modern
1105 (gtk+/qt/mozilla) apps work fine.
1107 2005-10-21 Patrick Lam <plam@mit.edu>
1108 * src/fccache.c (FcGlobalCacheLoad):
1110 Destroy the global cache file if it's terminally broken. (reported by
1113 2005-10-21 Patrick Lam <plam@mit.edu>
1114 * fc-list/fc-list.c (main):
1115 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1116 * fontconfig/fontconfig.h:
1118 Prevent fc-list from escaping strings when printing them (reported by
1121 2005-10-20 Marcus Meissner <meissner@suse.de>
1124 * fontconfig/fontconfig.h:
1126 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1128 2005-10-14 Ross Burton <ross@burtonini.com>
1131 * fc-glyphname/fc-glyphname.c:
1134 Add consts to variables so as to move arrays into .rodata.
1136 2005-10-14 Mike Fabian <mfabian@suse.de>
1139 * src/fccache.c (FcDirCacheUnlink):
1141 Check existence of directory cache file before attempting to unlink.
1143 2005-10-13 Patrick Lam <plam@mit.edu>
1144 * src/fccache.c (FcDirCacheUnlink):
1146 Fix flipped return value on unlink. (Reported by Mike Fabian)
1148 2005-10-12 Patrick Lam <plam@mit.edu>
1151 * src/fcdir.c (FcDirScanConfig):
1154 When fc-cache is run without --force, use directory cache files
1155 to speed up fc-cache run time. (Reported by Mike Fabian)
1157 2005-10-06 Patrick Lam <plam@mit.edu>
1159 * src/fcname.c (FcObjectToPtr):
1160 * src/fcpat.c (FcStrStaticName):
1162 Add padding to make valgrind and glibc not hate each other
1163 when calling strlen().
1165 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1166 reviewed by: plam & keithp
1170 Modify config file to use Greek fonts before Asian fonts with
1173 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1174 reviewed by: plam & keithp
1178 Use libtool -no-undefined flag on all platforms.
1180 2005-10-05 Patrick Lam <plam@mit.edu>
1181 * src/fccache.c (FcCacheHaveBank):
1183 Implement move-to-front array for banks (perf regression
1184 reported by Ronny V. Vindenes).
1186 2005-10-04 Patrick Lam <plam@mit.edu>
1187 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1188 FcDirCacheHasCurrentArch):
1189 * fc-cache/fc-cache.c (scanDirs):
1190 * fontconfig/fontconfig.h:
1192 Add new API which unlinks directory caches and checks dir caches
1193 for existence of appropriate sections. Fix fc-cache to unlink
1194 stale cache files and save directory caches that lack relevant
1197 2005-10-03 Patrick Lam <plam@mit.edu>
1198 * src/fccache.c (FcDirCacheValid):
1200 Ensure that a directory cache has the appropriate section
1201 before reporting that it is valid (reported by Matthias Clasen).
1203 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1211 Use libxml2 if requested (with --enable-libxml2) or if
1212 expat is not available.
1214 2005-09-29 Patrick Lam <plam@mit.edu>
1215 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1217 Fix multi-arch cache files: compute the position for the
1218 block to be added using info from OrigFile, not NewFile.
1220 2005-09-28 Patrick Lam <plam@mit.edu>
1221 * src/fccache.c (FcCacheMachineSignature):
1223 Cast results of sizeof() to unsigned int to get rid of
1224 warnings on x86_64 (thanks Matthias Clasen).
1226 2005-09-27 Patrick Lam <plam@mit.edu>
1227 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1230 Use FcAtomic to rewrite cache files.
1232 2005-09-27 Patrick Lam <plam@mit.edu>
1234 * src/fccache.c (FcDirCacheWrite):
1236 Don't unlink the fonts.cache-2 file even if there's no data
1237 to write; just write an empty cache file. (thanks Lubos Lunak)
1239 2005-09-27 Patrick Lam <plam@mit.edu>
1241 * src/fccache.c (FcDirCacheWrite):
1243 Allocate room for the subdirectory names in each
1244 directory cache. Thanks to James Cloos for finding
1245 and diagnosing this bug!
1247 2005-09-22 Patrick Lam <plam@mit.edu>
1249 * fc-cache/fc-cache.sgml:
1250 * src/fccache.c (FcDirCacheWrite):
1251 * src/fccache.h (struct FcCache):
1253 Update documentation -- fc-cache's man page now says that you
1254 need to run fc-cache once per cached architecture; add some
1255 documentation to the FcCache structure.
1257 Make fc-cache write out fonts.cache-2 files for directories with
1258 no fonts (i.e. only subdirectories).
1260 2005-09-22 Patrick Lam <plam@mit.edu>
1262 * fc-cache/fc-cache.sgml:
1263 * fc-case/fc-case.c:
1264 * fc-glyphname/fc-glyphname.c:
1270 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1274 * fc-lang/fc-lang.c:
1275 * fontconfig/fcprivate.h:
1276 * fontconfig/fontconfig.h:
1290 Implement new mmaped cache for font information.
1291 Bump so revision to 2.3.90.
1293 2005-07-25 Keith Packard <keithp@keithp.com>
1295 * doc/fontconfig-user.sgml:
1296 * fc-glyphname/fc-glyphname.c: (scan), (main):
1297 * fc-lang/fc-lang.c: (FcConfigHome):
1298 * fc-match/fc-match.c: (main):
1299 * src/fccfg.c: (FcConfigHome):
1300 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1301 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1302 (addtag), (FcFontCapabilities):
1303 * src/fcpat.c: (FcValueListEntCreate):
1304 * src/fcstr.c: (FcStrCaseWalkerInit):
1305 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1307 Various GCC 4 cleanups for signed vs unsigned char
1309 Match only [0-9]*.conf files in <include>{directory}</include>
1310 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1312 2005-07-15 Carl Worth <cworth@cworth.org>
1315 * src/fcinit.c: (FcFini):
1316 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1319 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1320 Pull the FcObjectStateName hash table out to file scope, and add
1321 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1324 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1327 2005-06-16 Patrick Lam <plam@MIT.EDU>
1331 * src/fccfg.c: (FcConfigCompareValue):
1332 Make FcOpNotContains use FcStrStr for strings so that
1333 it matches semantics for !FcOpContains.
1335 2005-05-20 Keith Packard <keithp@keithp.com>
1339 Move fontconfig source package to libs as per override
1341 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1343 reviewed by: Mike Fabian
1346 The ka.orth file requires several characters which are not
1347 used anymore in modern Georgian and which are missing in the free
1348 Georgian TrueType fonts downloadable at:
1350 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1352 2005-04-27 Keith Packard <keithp@keithp.com>
1356 Update date to real 2.3.2 release date.
1357 Fix change attributions
1359 2005-04-27 Keith Packard <keithp@keithp.com>
1362 Bump so revision for 2.3.2
1363 * fc-cache/fc-cache.c: (scanDirs):
1364 Fix a few minor leaks in error cases.
1366 2005-04-23 Keith Packard <keithp@keithp.com>
1371 * fontconfig/fontconfig.h:
1372 Update for version 2.3.2
1374 2005-04-21 Keith Packard <keithp@keithp.com>
1376 * debian/fontconfig.postinst:
1377 Don't force bitmap font enable in default
1378 configuration; allows users to override this in
1388 * debian/po/pt_BR.po:
1389 * debian/po/templates.pot:
1391 * debian/po/zh_CN.po:
1392 Updated translations
1394 * fc-cache/fc-cache.c: (main):
1395 Destroy font configuration on exit to help valgrind
1398 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1399 (FcFreeTypeCheckGlyph):
1400 Use own transcoding routines in preference to iconv
1401 which appears to have leaks in some translators.
1402 Call iconv_close after using iconv (oops).
1404 Prefer unicode encoding of Euro char as some
1405 fonts mis-encode Euro in other ones.
1407 Must fetch bitmap glyphs to get width values
1408 to check for monospace/dual-width fonts.
1410 2005-04-13 Ross Burton <ross@burtonini.com>
1413 Check that a pattern isn't already frozen in FcPatternFreeze.
1415 2005-03-31 Ross Burton <ross@burtonini.com>
1420 Run all FcPattern objects through FcObjectStaticName, so that
1421 compares can be done on pointers instead of strings (#2659)
1423 2005-03-17 Tor Lillqvist <tml@novell.com>
1425 * src/fontconfig.def.in: Add the .dll to the dll name.
1427 2005-03-10 Keith Packard <keithp@keithp.com>
1429 * debian/README.Debian:
1430 Update to reflect configuration changes
1432 * debian/fontconfig.postinst:
1433 Fix Autohint vs Autohinter mistake
1434 * debian/fontconfig.templates:
1435 Adopt changes from Josselin Mouette for configuration descriptions
1436 Update debian to version 2.3.1-2
1438 2005-03-08 Keith Packard <keithp@keithp.com>
1442 Update debian for 2.3.1
1444 2005-03-09 Tor Lillqvist <tml@novell.com>
1446 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1449 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1452 2005-03-08 Keith Packard <keithp@keithp.com>
1456 * fontconfig/fontconfig.h:
1459 2005-03-05 Keith Packard <keithp@keithp.com>
1461 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1462 Include space and remove numbers from valid script tags.
1463 This ensures that tags like 'lao ' work while rejecting
1464 those which have any digits.
1465 Eliminate a spurious debugging variable (len)
1467 2005-03-05 Keith Packard <keithp@keithp.com>
1469 * src/fcfreetype.c: (addtag), (GetScriptTags),
1470 (FcFontCapabilities):
1471 Rework GSUB/GPOS script parsing to survive broken fonts.
1472 Thanks for the broken font go to Manish Singh
1474 2005-03-05 Keith Packard <keithp@keithp.com>
1479 * debian/fontconfig.config:
1480 * debian/fontconfig.templates:
1482 Include 2.3 release information in changelog
1483 Add Josselin Mouette as an Uploader
1484 Set hinting_type to low priority configuration option
1487 * debian/fontconfig.postinst:
1488 yes_bitmaps.conf -> yes-bitmaps.conf
1494 2005-03-02 Keith Packard <keithp@keithp.com>
1497 * conf.d/Makefile.am:
1498 * conf.d/autohint.conf:
1499 * conf.d/no-sub-pixel.conf:
1500 * conf.d/sub-pixel.conf:
1501 * conf.d/unhinted.conf:
1502 * debian/autohint.conf:
1503 * debian/fontconfig.install:
1504 * debian/fontconfig.postinst:
1505 * debian/fontconfig.templates:
1506 * debian/no-sub-pixel.conf:
1507 * debian/unhinted.conf:
1508 Move debian-specific conf file examples upstream.
1510 Sub-pixel configuration examples must smash subpixel value
1511 as Xft always sets it from X.
1513 Change sub-pixel rendering debconf descriptions from
1514 Enable/Disable to Always/Never.
1516 2005-03-02 Keith Packard <keithp@keithp.com>
1519 * conf.d/.cvsignore:
1521 Ignore more build detritus
1524 Add debian package construction stuff.
1526 * config/config.guess:
1527 * config/config.sub:
1528 Update to newer versions of these tools
1531 Get library manuals to build again (we love automake).
1533 * debian/README.Debian:
1534 * debian/autohint.conf:
1539 * debian/fontconfig-udeb.install:
1540 * debian/fontconfig.config:
1541 * debian/fontconfig.defoma:
1542 * debian/fontconfig.dirs:
1543 * debian/fontconfig.install:
1544 * debian/fontconfig.postinst:
1545 * debian/fontconfig.postrm:
1546 * debian/fontconfig.templates:
1547 * debian/libfontconfig1-dev.install:
1548 * debian/libfontconfig1.install:
1549 * debian/local.conf.md5sum:
1550 * debian/no-sub-pixel.conf:
1551 * debian/po/POTFILES.in:
1560 * debian/po/pt_BR.po:
1561 * debian/po/templates.pot:
1563 * debian/po/zh_CN.po:
1565 * debian/unhinted.conf:
1566 Update debian build system to switch maintainers and
1567 deal with 2.3 functionality
1569 2005-03-01 Keith Packard <keithp@keithp.com>
1573 * fontconfig/fontconfig.h:
1576 2005-03-01 Keith Packard <keithp@keithp.com>
1579 Generate and install PDF versions of the manuals
1581 * doc/fcpattern.fncs:
1584 * doc/fcstring.fncs:
1585 Add missing exported functions, fix data types
1587 * doc/fontconfig-devel.sgml:
1588 Add missing pattern elements.
1590 * doc/fontconfig-user.sgml:
1591 Add missing pattern elements. Document conf.d usage,
1592 clarify available orthography list. Fix some config file
1593 attributes. Complete list of constants.
1595 * fontconfig/fontconfig.h:
1596 Mark FC_SOURCE deprecated.
1598 * src/fcfreetype.c: (FcFreeTypeQuery):
1599 Don't set FC_SOURCE any longer.
1601 2005-02-28 Keith Packard <keithp@keithp.com>
1604 * conf.d/Makefile.am:
1606 * conf.d/no-bitmaps.conf:
1607 * conf.d/sub-pixel.conf:
1608 * conf.d/yes-bitmaps.conf:
1610 Create prototype /etc/fonts/conf.d directory with a few
1611 sample configuration files.
1612 Deprecate use of local.conf for local customizations in favor of
1613 this directory based scheme which is more easily integrated into
1614 installation systems.
1617 Tag FC_EMBOLDEN as a boolean variable
1619 2005-02-10 Keith Packard <keithp@keithp.com>
1621 reviewed by: pborelli@katamail.com
1623 * src/fcdir.c: (FcFileScanConfig):
1624 Free patterns from fonts which are rejected by configuration
1627 2005-01-28 Keith Packard <keithp@keithp.com>
1631 * fontconfig/fontconfig.h:
1632 Update for version 2.2.99
1634 2005-01-28 Keith Packard <keithp@keithp.com>
1637 Add a few pointers (#2284, #2285)
1639 2005-01-28 Keith Packard <keithp@keithp.com>
1642 * src/fcname.c: (FcNameBool):
1643 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1644 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1645 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1646 Polite typechecking for test and edit expressions. Helps
1647 catch errors in the font configuration. (bug 229)
1649 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1651 reviewed by: Keith Packard <keithp@keithp.com>
1654 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1656 2005-01-13 Keith Packard <keithp@keithp.com>
1658 * doc/fontconfig-user.sgml:
1659 Add SEE ALSO section (bug 2085)
1661 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1663 reviewed by: Keith Packard <keithp@keithp.com>
1668 * fc-case/Makefile.am:
1669 * fc-glyphname/Makefile.am:
1670 * fc-lang/Makefile.am:
1671 * src/fontconfig.def.in:
1672 Cross compiling fixes (bug 280)
1674 2005-01-13 Keith Packard <keithp@keithp.com>
1677 Update blanks list (Closes bug 86)
1679 2005-01-04 Keith Packard <keithp@keithp.com>
1681 * src/fccache.c: (FcCacheFontSetAdd):
1682 Verify that every font pattern loaded from cache has
1683 both FC_FILE and FC_FAMILY entries.
1684 Attempt to fix bug #2219.
1686 2004-12-29 Keith Packard <keithp@keithp.com>
1690 * fontconfig/fontconfig.h:
1691 Update for version 2.2.98
1693 2004-12-29 Keith Packard <keithp@keithp.com>
1695 * fontconfig/fontconfig.h:
1696 Document ASCII limitations of Fc character conversion macros
1697 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1698 Fix off-by-one error in utf-8 case walking code.
1699 Add FcStrDowncase (useful for testing case conversion functions)
1701 2004-12-29 Keith Packard <keithp@keithp.com>
1704 * fc-case/.cvsignore:
1705 clean up CVS ignore lists
1706 * fc-lang/iso-3166.txt:
1707 Add territory database
1709 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1711 Reviewed by: Keith Packard
1714 Remove Han characters from Korean orthography
1716 2004-12-29 Keith Packard <keithp@keithp.com>
1719 Reorder utility programs to make sure fc-case is run before fc-lang
1720 as fc-lang uses fcstr.c which uses fccase.h
1724 2004-12-29 Keith Packard <keithp@keithp.com>
1727 Adopt some RedHat suggestions for standard font configuration.
1731 * fc-case/CaseFolding.txt:
1732 * fc-case/Makefile.am:
1733 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1734 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1735 (dump), (parseRaw), (caseFoldReadRaw), (main):
1736 * fc-case/fccase.tmpl.h:
1737 Add new helper program 'fc-case' to construct case folding
1738 tables from standard Unicode CaseFolding.txt file
1741 * src/fclist.c: (FcListValueHash):
1742 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1743 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1744 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1745 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1746 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1747 Re-implement case insensitive functions with Unicode
1748 aware versions (including full case folding mappings)
1750 2004-12-13 Keith Packard <keithp@keithp.com>
1752 reviewed by: Owen Taylor <otaylor@redhat.com>
1754 * src/fcmatch.c: (FcFontSetSort):
1755 I changed FcFontSetSort to respect the generic aliases better
1756 in the face of language matching.
1758 What I did was to ammend the strict sort order used by FcFontSort so
1759 that it 'satisfies' the language specified in the pattern by locating
1760 the best matching font supporting each pattern language and then
1761 ignores language in the remaining fonts for purposes of matching.
1763 So, when asking for 'sans:lang=en', you'll get an English font first,
1764 and then the remaining fonts sorted with respect to the 'sans' alias
1765 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1767 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1769 reviewed by: Keith Packard <keithp@keithp.com>
1771 * fontconfig/fontconfig.h:
1774 Configuration changes to request synthetic emboldening of
1775 fonts. The actual emboldening code will live in Xft.
1777 2004-12-09 John Thacker <thacker@math.cornell.edu>
1779 reviewed by: Keith Packard <keithp@keithp.com>
1783 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1784 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1785 и), and don't even appear in KOI8-R. (The hypothesis that they
1786 don't appear in KOI8-R due to their similarity with Latin I and i is
1787 eliminated by their presence in KOI8-U.) I have a couple of fonts
1788 with Russian support that don't have the letter.
1790 Therefore, 0406 and 0456 should be removed from or commented out of
1793 2004-12-06 michael meeks <mmeeks@novell.com>
1795 Reviewed by: Keith Packard <keithp@keithp.com>
1797 * src/fcinit.c: (FcMemReport):
1799 * src/fclist.c: (FcObjectSetAdd):
1800 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1801 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1802 * src/fcxml.c: (FcParsePatelt):
1803 memoize strings and share a single copy for all uses. Note that
1804 this could be improved further by using statically allocated blocks
1805 and gluing multiple strings together, but I'm basically lazy.
1806 In my environment with 800 font files, I get a savings of about 90KB.
1808 2004-12-06 Keith Packard <keithp@keithp.com>
1812 * config/Makedefs.in:
1815 * doc/fcatomic.fncs:
1816 * doc/fcblanks.fncs:
1817 * doc/fccharset.fncs:
1818 * doc/fcconfig.fncs:
1819 * doc/fcconstant.fncs:
1821 * doc/fcfontset.fncs:
1822 * doc/fcfreetype.fncs:
1824 * doc/fcmatrix.fncs:
1825 * doc/fcobjectset.fncs:
1826 * doc/fcobjecttype.fncs:
1827 * doc/fcpattern.fncs:
1828 * doc/fcstring.fncs:
1829 * doc/fcstrset.fncs:
1831 * doc/fontconfig-devel.sgml:
1832 * doc/fontconfig-user.sgml:
1834 * doc/version.sgml.in:
1835 * fc-cache/Makefile.am:
1836 * fc-cache/fc-cache.c:
1837 * fc-glyphname/Makefile.am:
1838 * fc-glyphname/fc-glyphname.c:
1839 * fc-glyphname/fcglyphname.tmpl.h:
1840 * fc-lang/Makefile.am:
1850 * fc-lang/az_ir.orth:
1884 * fc-lang/fc-lang.c:
1885 * fc-lang/fc-lang.man:
1886 * fc-lang/fclang.tmpl.h:
1931 * fc-lang/ku_ir.orth:
1964 * fc-lang/ps_af.orth:
1965 * fc-lang/ps_pk.orth:
1994 * fc-lang/ti_er.orth:
1995 * fc-lang/ti_et.orth:
2021 * fc-lang/zh_cn.orth:
2022 * fc-lang/zh_hk.orth:
2023 * fc-lang/zh_mo.orth:
2024 * fc-lang/zh_sg.orth:
2025 * fc-lang/zh_tw.orth:
2027 * fc-list/Makefile.am:
2028 * fc-list/fc-list.c:
2029 * fc-match/Makefile.am:
2030 * fc-match/fc-match.1:
2031 * fc-match/fc-match.c:
2032 * fontconfig/fcfreetype.h:
2033 * fontconfig/fcprivate.h:
2034 * fontconfig/fontconfig.h:
2055 Change files from ISO-Latin-1 to UTF-8
2057 2004-12-04 Keith Packard <keithp@keithp.com>
2060 Update links to new freedesktop.org locations
2062 Add uninstall-local to get rid of fonts.conf and local.conf if they
2063 match the distributed versions. Fixes 'make distcheck'
2065 2004-12-04 Keith Packard <keithp@keithp.com>
2069 * fontconfig/fontconfig.h:
2070 Updates for version 2.2.97
2072 2004-12-04 Owen Taylor <otaylor@redhat.com>
2074 reviewed by: Keith Packard <keithp@keithp.com>
2076 * fc-cache/fc-cache.c: (main):
2077 Sleep for two seconds before exiting to make sure timestamps
2078 for future changes have distinct mod times in the file system.
2081 Add Punjabi orthography. Bug #1671.
2083 2004-12-04 Keith Packard <keithp@keithp.com>
2086 Just remove the FC_FONTDATE -- it has locale issues and
2087 annoys redhat multi-arch installs. Now that all X fonts are
2088 included without prejudice, the chances of the date being at
2089 all interesting are rather limited. Bug #505.
2091 Add copyright and license
2093 2004-12-04 Keith Packard <keithp@keithp.com>
2096 Change default set of fonts to include all of
2097 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2098 * doc/fontconfig-user.sgml:
2099 Document new <include>directory-name</include> semantics
2101 add <include ignore_missing="yes">conf.d</include>
2103 Add selectfont to ignore bitmap fonts, add comment for
2104 selectfont which accepts bitmap fonts.
2107 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2108 Allow <include> configuration elements to reference directories.
2109 Parse and load all files of the form [0-9]* in sorted order.
2111 2004-12-04 Keith Packard <keithp@keithp.com>
2114 Report command line for $srcdir/configure accurately.
2117 2004-12-04 Keith Packard <keithp@keithp.com>
2119 * src/fcfreetype.c: (FcFreeTypeQuery):
2120 Check for non-empty face->family_name and face->style_name
2121 before using those for the font. Empty names match everything.
2124 2004-12-04 Keith Packard <keithp@keithp.com>
2127 * fontconfig/fontconfig.h:
2128 * src/fcfreetype.c: (FcFreeTypeQuery):
2130 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2131 available. This provides font file format information (BDF, Type 1,
2132 PCF, TrueType) for each font. Closes #109.
2134 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2136 reviewed by: Keith Packard <keithp@keithp.com>
2138 * doc/fontconfig-user.sgml:
2141 * fontconfig/fontconfig.h:
2142 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2143 (GetScriptTags), (FcFontCapabilities):
2145 Add detection for font capabilities (bug #105)
2147 2004-12-04 Keith Packard <keithp@keithp.com>
2150 Move existing fonts.conf to fonts.conf.bak
2153 Add detection of iconv
2155 * doc/fcpattern.fncs:
2156 * doc/fontconfig-devel.sgml:
2157 * doc/fontconfig-user.sgml:
2159 Document new selectfont elements
2162 Switch to UTF-8 in comment
2164 * fontconfig/fontconfig.h:
2166 Add fullname, and family/style/fullname language entries
2168 * src/fccache.c: (FcCacheFontSetAdd):
2169 * src/fcdir.c: (FcFileScanConfig):
2170 Respect selectfont/*/glob
2173 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2174 (FcConfigCompareValue), (FcConfigPatternsAdd),
2175 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2176 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2177 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2178 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2179 Add support for selectfont
2181 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2182 (FcStringInPatternElement), (FcFreeTypeQuery):
2183 Add multi-lingual family/style/fullname support
2185 * src/fclist.c: (FcListPatternMatchAny):
2186 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2188 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2189 (FcObjectStaticName):
2190 Add new FcPatternRemove/FcPatternAppend.
2191 FcObjectStaticName stores computed pattern element names which
2192 are required to be static.
2194 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2199 Remove spurious / after $(DESTDIR)
2201 2004-06-30 Keith Packard <keithp@keithp.com>
2205 * fontconfig/fontconfig.h:
2208 2004-06-30 Keith Packard <keithp@keithp.com>
2210 Provided by: Lubos Lunak <l.lunak@suse.cz>
2212 * src/fccfg.c: (FcConfigUptoDate):
2213 However FcConfigUptoDate() doesn't seem to work. See the attached
2214 patch. First there's an obvious misplaced parenthesis making it
2215 return always false, and second, even this call fails to detect font
2216 changes (e.g. adding a new font to
2217 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2218 well. The problem seems to be triggered by my fonts.conf specifying
2219 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2220 doesn't include subdirs, unlike config->fontDirs.
2222 2004-06-03 Keith Packard <keithp@keithp.com>
2224 * fontconfig/fontconfig.h:
2225 Remove comma at end of FcResult enum definition.
2227 2004-05-29 Keith Packard <keithp@keithp.com>
2230 Add steps to md5sum release
2232 2004-05-29 Keith Packard <keithp@keithp.com>
2236 * fontconfig/fontconfig.h:
2239 2004-05-29 Keith Packard <keithp@keithp.com>
2241 * fontconfig/fontconfig.h:
2242 * src/fcmatch.c: (FcFontSetMatch):
2243 Add FcResultOutOfMemory to provide an accurate error when
2244 FcFontSetMatch fails in this way
2247 Make #warning about lacking various FreeType features indicate
2248 which version those features appeared so users know how to
2249 fix the problem (Thanks to Anton Tropashko)
2251 2004-05-05 Keith Packard <keithp@keithp.com>
2253 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2254 Replace MIN/MAX/ABS macros which happen to have come
2255 from FreeType with fontconfig-specific ones (FC_*)
2257 2004-04-23 Keith Packard <keithp@keithp.com>
2260 Extend release preparation instructions to include
2261 notification and distribution steps
2263 2004-04-23 Keith Packard <keithp@keithp.com>
2267 * fontconfig/fontconfig.h:
2268 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2270 2004-04-23 Keith Packard <keithp@keithp.com>
2273 Ignore a few more autotool files
2275 2004-04-14 Keith Packard <keithp@keithp.com>
2278 Add instructions for doing a release
2280 * fontconfig.spec.in:
2281 clean up .spec file; perhaps this will be useful to somebody...
2285 * fontconfig/fontconfig.h:
2288 * fc-lang/fc-lang.c:
2289 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2291 * fc-glyphname/Makefile.am:
2292 * fc-lang/Makefile.am:
2293 * fc-list/Makefile.am:
2294 * fc-match/Makefile.am:
2296 Add WARN_CFLAGS to pass -W flags for GCC systems
2298 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2299 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2300 Change various char types around to match across
2302 Fixed bug in using available_sizes[i].height which
2303 is in pixels, not 64ths of a pixel.
2305 2004-03-06 Keith Packard <keithp@keithp.com>
2307 * src/fcfreetype.c: (FcFreeTypeQuery):
2308 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2309 matches looking for explicit values prefer exact matches
2311 2004-03-02 Keith Packard <keithp@keithp.com>
2313 Supplied by: mfabian@suse.de (Mike FABIAN)
2315 * src/fcfreetype.c: (FcFreeTypeQuery):
2316 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2317 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2319 2004-02-21 Manish Singh <yosh@gimp.org>
2321 * fc-glyphname/fc-glyphname.c: (main):
2322 Cast strlen to int for printf, so we're 64-bit clean.
2324 2004-02-11 Keith Packard <keithp@keithp.com>
2327 * src/fcfreetype.c: (FcGetPixelSize):
2328 Ok, so I messed up the test for y_ppem. Let's see if I
2329 got it right this time.
2331 2004-02-10 Keith Packard <keithp@keithp.com>
2334 * src/fcfreetype.c: (FcGetPixelSize):
2335 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2336 FT_Bitmap_Size record. Add a configure.in test for this
2337 and change the code accordingly (using height instead).
2339 2004-02-06 Keith Packard <keithp@keithp.com>
2342 Add Low Saxon orthography
2343 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2345 * src/fccfg.c: (FcConfigNewestFile):
2346 Oops. Left 'newest.set' unset, which would miscompute
2349 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2350 (FcFreeTypeCheckGlyph):
2351 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2352 font properties (which report the wrong value in current FreeType)
2354 Don't attempt to check for empty glyphs in non-scalable fonts; they
2357 2004-02-01 Tor Lillqvist <tml@iki.fi>
2359 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2360 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2361 cache if config->cache is NULL, which happens if FcConfigHome() is
2362 NULL. Guard against that by using the temp folder in that case.
2364 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2366 * fc-lang/az_ir.orth:
2367 * fc-lang/ku_ir.orth:
2368 * fc-lang/ps_af.orth:
2369 * fc-lang/ps_pk.orth:
2370 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2371 (Afghan and Pakistani).
2373 Updated Urdu orthography with real data.
2375 2003-12-11 Carl Worth <cworth@east.isi.edu>
2377 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2380 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2382 (all-local): Remove excessive whitespace.
2384 * autogen.sh: Add 'set -e' to abort when any program fails,
2385 (avoids printing of 'now type make' after configure aborts).
2387 2003-11-17 Eric Christopherson <rakko@charter.net>
2389 reviewed by: Keith Packard <keithp@keithp.com>
2392 * fontconfig/fcfreetype.h:
2394 Switch to FreeType 2.1.7 style includes. Bug #150.
2396 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2398 * fc-list/fc-list.sgml: Add some example usages.
2400 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2403 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2406 2003-10-27 Keith Packard <keith@keithp.com>
2409 * fontconfig/fontconfig.h:
2410 Update to version 2.2.92
2412 2003-10-27 Keith Packard <keithp@keithp.com>
2417 * fc-cache/Makefile.am:
2418 * fc-glyphname/Makefile.am:
2419 * fc-lang/Makefile.am:
2420 * fc-list/Makefile.am:
2421 * fc-match/Makefile.am:
2424 Yet more cleanups to finish getting 'make distcheck' working
2425 This has been tested to ensure that it even works from a _build
2428 2003-10-26 Keith Packard <keithp@keithp.com>
2432 * fc-cache/Makefile.am:
2433 * fc-glyphname/Makefile.am:
2434 * fc-lang/Makefile.am:
2435 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2436 * fc-list/Makefile.am:
2437 * fc-match/Makefile.am:
2438 Attempts to fix 'make distcheck' work. Things are
2439 progressing pretty well, but there are still failures
2440 long into the process dealing with docs (as always).
2442 The big changes here are mostly to make $(srcdir) != "."
2443 work correctly, fixing the docbook related sections and
2444 fc-lang were particularily tricky. Docbook refuses to load
2445 system entities from anywhere other than where the original .sgml
2446 file was located, so no luck looking in "." for the
2447 configure-generated version.sgml and confdir.sgml files.
2449 fc-lang needed help finding .orth files; added a -d option
2450 to set the directory as the least evil of many options.
2452 Now to go use a faster machine and try and wring out the last
2455 2003-10-26 Keith Packard <keithp@keithp.com>
2459 2003-10-26 Keith Packard <keithp@keithp.com>
2462 Include confdir.sgml.in in EXTRA_DIST
2464 2003-10-09 Josselin Mouette <joss@debian.org>
2466 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2467 * fc-list/fc-list.sgml fc-list/Makefile.am:
2468 Replace fc-cache and fc-list manpages with more detailed, SGML
2471 2003-09-23 Owen Taylor <otaylor@redhat.com>
2473 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2474 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2475 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2478 2003-09-23 Owen Taylor <otaylor@redhat.com>
2480 * fc-lang/ka.orth: Remove Georgian capitals, they
2481 aren't used for normal writing. (Bug #116)
2483 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2485 * doc/fontconfig-devel.sgml:
2486 * doc/fontconfig-user.sgml:
2487 * fontconfig/fontconfig.h:
2489 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2490 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2492 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2493 monospace and dual-width fonts, allow roughly a 3% variance in the
2496 2003-08-31 Manish Singh <yosh@gimp.org>
2498 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2501 2003-08-15 Carl Worth <cworth@isi.edu>
2503 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2504 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2506 * src/fcpat.c (FcValueListEntDestroy): New function to support
2507 FcFini memory cleanup. Some statistics are not kept in
2509 (FcValueListFreeze): Move hashTable outside this function so it
2510 can be accessed by FcValueListThawAll.
2511 (FcValueListThawAll): New function complements FcValueListFreeze.
2512 (FcPatternBaseFreeze): Move hashTable outside this function so it
2513 can be accessed by FcPatternBaseThawAll.
2514 (FcPatternBaseThawAll): New function complements
2515 FcPatternBaseFreeze.
2516 (FcPatternThawAll): New function complements FcPatternFreeze.
2518 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2520 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2521 allocated FcCharLeafEnt "blocks" so they can be freed later.
2522 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2523 can be accessed by FcCharSetThawAllLeaf.
2524 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2525 (FcCharSetFreezeBase): Move hashTable outside this function so it
2526 can be accessed by FcCharSetThawAll.
2527 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2529 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2530 (FcConfigDestroy): Fic leak of FcBlanks.
2532 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2533 (main): Add call to FcFini when finished.
2535 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2536 static. Add prototypes.
2538 * doc/fcinit.fncs: Add documentation for FcFini function.
2540 * doc/edit-sgml.c: Mark several local functions as static. Add
2543 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2545 2003-06-15 Tor Lillqvist <tml@iki.fi>
2547 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2548 before comparing (needed on Windows).
2550 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2552 2003-06-13 Tor Lillqvist <tml@iki.fi>
2554 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2557 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2558 WINDOWSFONTDIR token.
2560 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2561 end, not to confuse libtool, which expects the EXPORTS line to be
2562 the first. Add FcConfigEnableHome.
2564 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2565 built as a DLL on Win32.
2567 2003-06-09 Keith Packard <keithp@keithp.com>
2569 * Tag version 2.2.90
2571 2003-06-09 Keith Packard <keithp@keithp.com>
2573 * Optimization in FcLangSetIndex was broken, occasionally
2574 returning a pointer to the wrong location on miss
2576 * Add fc-match to test font matching from the command line.
2578 2003-05-31 Keith Packard <keithp@keithp.com>
2580 * (Bug 85) add support for culmus fonts
2581 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2582 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2584 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2586 * Fix "contains" op for strings and langsets.
2588 2003-05-17 Keith Packard <keithp@keithp.com>
2590 * Fix build error with BDF prop local. Free langset after query
2592 2003-05-14 Keith Packard <keithp@keithp.com>
2594 * Extract spacing from XLFD atom
2596 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2598 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2599 disappeared in 1.30.
2601 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2603 2003-05-12 Keith Packard <keithp@keithp.com>
2605 * Use FcIsWidth to share code
2607 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2608 misclassifying some Han fonts as monospaced.
2610 2003-05-07 Keith Packard <keithp@keithp.com>
2612 * Add filename-based accept/reject to ammend available fonts.
2614 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2615 older FreeType releases.
2617 2003-05-06 Keith Packard <keithp@keithp.com>
2619 * Remove 0b82 and Tamil numbers from tamil
2620 orthography (Jungshik Shin <jshin@mailaps.org>)
2622 2003-05-04 Keith Packard <keithp@keithp.com>
2624 + Map glyph names in fonts with adobe custom encoding to unicode
2626 2003-05-02 Keith Packard <keithp@keithp.com>
2628 * Add FC_WEIGHT_BOOK as weight 75
2630 2003-04-30 Keith Packard <keithp@keithp.com>
2632 * Typo in bitstream foundry name
2634 2003-04-24 Keith Packard <keithp@keithp.com>
2636 * Eliminate italic_angle check for PS fonts
2638 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2640 * Getting closer to fixing /etc/fonts hard-coding.
2642 2003-04-22 Keith Packard <keithp@keithp.com>
2644 * Update autogen.sh to work with newer automake versions
2645 * Handle pattern elements moving during multiple edits
2647 2003-04-23 James Henstridge <james@daa.com.au>
2649 * doc/fontconfig-devel.sgml: close the <para> element.
2651 * doc/fcpattern.fncs: close the <para> element.
2653 * doc/func.sgml: close the <refsynopsisdiv> element.
2655 2003-04-22 Keith Packard <keithp@keithp.com
2657 * Update autogen.sh to work with newer automake versions
2658 * Handle pattern elements moving during multiple edits
2660 2003-04-17 Colin Walters <walters@debian.org>
2662 + Remove some unused variables, and initialize some other ones so
2663 gcc doesn't warn us.
2665 2003-04-16 Keith Packard <keithp@keithp.com>
2667 + tag version 2.1.94
2669 2003-04-16 Keith Packard <keithp@keithp.com>
2671 + add BDF property fetching support for foundry
2672 (from Juliusz Chroboczek)
2673 + add BDF property fetching support for width
2675 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2677 + Implemented foundry generation for Type 1 and TrueType
2679 2003-04-11 Gerard Escalante <g2@magestudios.net>
2681 + Retrieve information from Type1 FontInfo dictionaries
2683 2003-04-07 Colin Walters <walters@verbum.org>
2685 + src/Makefile.am: Fix dummy makefile target names when
2686 MS_LIB_AVAILABLE isn't set.
2688 2003-03-22 Tor Lillqvist <tml@iki.fi>
2690 Changes for Windows:
2692 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2694 + We don't want to hardcode the fonts.conf file location in the
2695 DLL, so we look up the DLL location at run-time in a DllMain()
2696 function. The fonts.conf location is deduced from that.
2698 + The colon can't be used as path separator on Windows,
2699 semicolon is used instead. File path components can be separated
2700 with either slash or backslash. Absolute paths can also begin
2701 with a drive letter.
2703 + Add internal function FcStrLastSlash that strrchr's the last
2704 slash, or backslash on Windows.
2706 + There is no link() on Windows. For atomicity checks, mkdir a
2707 lock directory instead.
2709 + In addition to HOME, also look for USERPROFILE.
2711 + Recognize the special font directory token WINDOWSFONTDIR, to
2712 use the system's font directory.
2714 + Remove the fontconfig-def.cpp that was obsolete. Add
2715 fontconfig.def(.in), without internal functions.
2717 + Add a fontconfig-zip(.in) script, used to build a binary
2720 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2721 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2722 to main package and man3/* to devel package
2724 + Added missing defattr(-, root, root) to main RPM package
2726 + Added HTML and text development documentation to -devel subpackage
2728 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2729 + Added back the configure macro options --disable-docs, otherwise
2730 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2731 version number) unconditionally, causing RPM to fail the build due
2732 to _unpackaged_files_terminate_build. We pick up the pregenerated
2733 docs with %doc already.
2735 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2736 + Removed commented out rpm macro define at top of spec file,
2737 replacing it with a simple explanation, since rpm macros are
2738 expanded by rpm even in comments.
2740 + Changed /usr/bin to _bindir in BuildRequires lines
2742 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2744 + Reorganized file manifest lists
2746 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2748 + fontconfig.spec.in: Improvements from Red Hat spec file.
2750 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2752 + docs/*.sgml: SGML fixes.
2754 Sat Mar 1 17:28:53 PST 2003 keithp
2755 + Ok, so the ChangeLog is a bit out of date
2757 + Lots of bugs fixed; most are in bugzilla, the
2758 biggest problems were in cache management where
2759 Owen discovered the library would lose badly when
2760 combining fonts-cache and ~/.fonts-cache data
2762 + Converted from autoconf to automake. This after
2763 getting patches accepted into libtool to allow
2764 the '-version-number' argument which lets
2765 packages set version numbers explicitly rather
2766 than the roundabout libtool way
2768 + Converted documentation to SGML using the docbook
2769 DTD. Now .txt and .html documents are installed
2770 in /usr/share/doc/fontconfig and there's no
2771 man page. Perhaps a man version can be written
2774 Sat Aug 31 15:21:22 PDT 2002 keithp
2775 + Xrender and Xft had several bugs related to
2776 rendering manually placed or poly-face text
2778 + Added more complete memory tracing in fontconfig
2779 Checked with (patched) mozilla and found no leaks
2781 + Updated Latin orthographies by comparing those from
2782 evertype.com with those from eki.ee. Tried to make
2783 sensible choices, including chars that occured in both
2784 and leaving some optional chars out that occured only
2787 Mon Aug 26 16:33:04 PDT 2002 keithp
2788 + Owen discovered that FcLangSetHasLang wasn't actually
2789 checking the language set.
2791 Mon Aug 26 13:37:23 PDT 2002 keithp
2792 + Append a version number to cache filenames
2794 Thu Aug 22 11:36:18 PDT 2002 keithp
2796 + Add "contains" and "not_contains" operators and elements to
2799 + Changed semantics of eq operator for LangSets to check for
2800 FcLangEqual so that any match will do
2802 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2803 of FcValueEqual to check for identical values when inserting into
2804 the results. This broke when the above semantic change was made,
2805 now it uses FcValueEqual which is "more correct" in any case.
2807 Thu Aug 22 00:32:29 PDT 2002 keithp
2809 + Reimplement FC_LANG as new datatype. Lists of strings
2810 was consuming over a megabyte of memory for 401 fonts.
2812 + Freeze patterns loaded from cache files. This shares
2813 common value lists and common patterns which saves
2814 considerable memory.
2816 + Change the denotation of 'constant' charsets to use special
2817 ref value instead of separate boolean.
2819 + Clean up leak tracing stuff, found several unannoted alloc/free
2822 Tue Aug 20 16:17:37 PDT 2002 keithp
2824 + Fix memory leak when parsing matrices from XML
2826 Mon Aug 19 11:57:27 PDT 2002 keithp
2828 + Fix autoconf files to pass FONTCONFIG_PATH on
2829 compile line so that ${prefix} gets substituted
2832 + Use getc_unlocked/putc_unlocked on systems that
2833 provide them to avoid damage done to stdio by posix
2835 + Eliminate FC_PATTERN and FcTypePattern in favor of
2836 an extended api for FcConfigSubstitute which takes
2837 both the font and the pattern.
2839 + Add 'sans serif' alias for 'sans-serif' as some apps
2840 can't handle hyphens in family names
2842 + Eliminate pretense of support for libxml2
2844 + Comment origins of Han orthographies
2846 Tue Jul 30 18:37:09 PDT 2002 keithp
2848 + Add binding property to edit element so that strong
2849 binding values may be inserted by the config file.
2850 The default remains weak.
2852 Sun 28 Jul 04:16:55 PDT 2002 keithp
2854 + Tagged release candidate 1 in the CVS tree and
2855 placed fcpackage.rc1.tar.gz for distribution
2857 Thu Aug 1 08:55:08 PDT 2002 keithp
2859 + Fixed autoconf builds to always specify install
2860 target files (for BSD). Also fixed to
2861 define FONTCONFIG_PATH in config.h so that
2862 nonstandard installs will actually work.