1 2006-02-07 Patrick Lam <plam@mit.edu>
2 * src/fcdir.c (FcDirScanConfig):
4 Don't reject dirs that can't be normalized (fixes lilypond, and
5 is correct in the context of application font directories.)
7 2006-02-07 Takashi Iwai <tiwai@suse.de>
10 * src/fccache.c (FcCacheReadDirs):
12 Use normalized directory name exclusively in FcCacheReadDirs.
14 2006-02-07 Dirk Mueller <dmueller@suse.com>
17 * src/fcpat.c (FcValueHash, FcValueListHash, FcValueListEntCreate):
19 Perf optimizations. Inline FcValueCanonicalize,
20 reduce FcValueListPtrU usage, remove redundant cast.
22 2006-02-07 Takashi Iwai <tiwai@suse.de>
25 * src/fccharset.c (FcLangCharSetPopulate, FcCharSetInsertLeaf)
28 Fix missing FcCacheBankToIndex in FcCharSetInsertLeaf.
29 Declare extern for static arrays as arrays, not pointers.
30 (Part of the fix for 'fonts don't have en' issue after Euro patch.)
32 2006-02-07 Dirk Mueller <dmueller@suse.com>
45 Add Euro sign to list of symbols required by European languages.
47 2006-02-07 Patrick Lam <plam@mit.edu>
48 * src/fccache.c (FcCacheReadString):
50 Fix hidden variable warning.
52 2006-02-07 Dirk Mueller <dmueller@suse.com>
55 * src/fccache.c (FcCacheReadString, FcCacheSkipString):
57 Remove de-escaping logic because FcCacheWriteString
58 doesn't escape anyway. Do blockwise reading instead
59 of byte-wise for performance.
61 2006-02-06 Patrick Lam <plam@mit.edu>
62 Takashi Iwai <tiwai@suse.de>
64 * src/fccache.c (FcCacheReadDirs, FcCacheRead):
66 Don't loop infinitely on recursive symlinks (client-side).
68 2006-02-06 Takashi Iwai <tiwai@suse.de>
70 * fc-cache/fc-cache.c (scanDirs, main):
72 Don't loop infinitely on recursive symlinks.
74 2006-02-06 Takashi Iwai <tiwai@suse.de>
76 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheReadDir,
77 FcGlobalCacheDirFind, FcGlobalCacheUpdate,
78 FcGlobalCacheSave, FcCacheReadDirs):
81 Skip subdirs when skipping over stale bits of global cache.
82 Introduce state machine into FcGlobalCacheDir to avoid
83 doing inappropriate operations on global dir entries, e.g.
84 writing out an out-of-date cache entry.
86 2006-02-06 Takashi Iwai <tiwai@suse.de>
88 * src/fcdir.c (FcFileScanConfig):
90 Hoist FcFileIsDir check out of FcFileScanConfig loop.
92 2006-02-06 Takashi Iwai <tiwai@suse.de>
95 * src/fccfg.c (FcConfigInodeMatchFontDir, FcConfigAddFontDir,
96 FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
98 Don't rescan when trying to normalize a non-declared font dir.
99 Don't add font dirs multiple times (even if they're aliased).
101 2006-02-06 Dirk Mueller <dmueller@suse.de>
104 * src/fcfs.c (FcFontSetUnserialize):
106 Explain apples/oranges comparison and fix compilation error.
108 2006-02-06 Dirk Mueller <dmueller@suse.de>
111 * src/fcfs.c (FcFontSetUnserialize):
113 Insert check for integer overflow in # of fonts.
115 2006-02-04 Behdad Esfahbod <behdad@cs.toronto.edu>
119 * fc-cache/Makefile.am:
120 * fc-cat/Makefile.am:
121 * fc-list/Makefile.am:
123 Make 'make distcheck' work with automake 1.6.3.
125 2006-02-03 Takashi IWAI <tiwai@suse.de>
128 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main,
131 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheSave,
132 FcDirCacheConsume, FcDirCacheWrite)
133 * src/fcxml.c (FcConfigMessage):
135 Check I/O call return values and eliminate unused variable
138 2006-02-03 Takashi Iwai <tiwai@suse.de>
141 * src/fccfg.c (FcConfigAppFontAddFile, FcConfigAppFontAddDir)
145 2006-02-03 Dirk Mueller <dmueller@suse.de>
148 * src/fcfs.c (FcFontSetUnserialize):
150 Gracefully handle the case where a cache asserts that it
151 has a negative number of fonts, causing overflow.
153 2006-02-03 Patrick Lam <plam@mit.edu>
154 * src/fccache.c (FcDirCacheUnlink):
156 Fix double free in error case.
158 2006-01-31 Behdad Esfabod <behdad@cs.utoronto.edu>
159 Stephan Kulow <coolo@suse.de>
162 * fc-cache/Makefile.am:
164 Replace 'stamp' target with mkinstalldirs.
166 2006-01-31 Mike Fabian <mfabian@suse.de>
169 * src/fccache.c (FcGlobalCacheLoad):
171 Toast broken global cache files.
173 2006-01-30 Patrick Lam <plam@mit.edu>
174 * src/fccache.c (FcGlobalCacheReadDir):
176 Actually use the directories that I added to the global cache.
179 2006-01-30 Mike Fabian <mfabian@suse.de>
182 * fc-cache/fc-cache.c (scanDirs):
184 Don't stop scanning if a directory in fonts.conf doesn't
185 exist, because subsequent directories might exist.
187 2006-01-30 Patrick Lam <plam@mit.edu>
188 * src/fccache.c (FcGlobalCacheLoad):
190 Make global cache work again after putting dir names into global
191 cache (I misplaced the recording of a file offset).
193 2006-01-30 Patrick Lam <plam@mit.edu>
194 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
196 Update fc-cat to handle subdir lists in global cache file.
198 * src/fccache.c (FcGlobalCacheLoad):
200 Another FcCacheReadString return value check.
202 2006-01-30 Mike Fabian <mfabian@suse.de>
205 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
206 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
208 Make fccache more resilient to broken cache files by checking
209 return value of FcCacheReadString all the time.
211 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
214 * fc-match/fc-match.1:
215 * fc-lang/fc-lang.man:
217 Remove references to dead fontconfig(3) manpages in
218 other fontconfig manpages.
220 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
223 * doc/fcpattern.fncs:
225 Fix world's tiniest typo in code example.
227 2006-01-29 Mike Fabian <mfabian@suse.de>
230 * src/fccache.c (FcGlobalCacheReadDir):
232 Fix global cache reads of subdirectories.
234 2006-01-29 Patrick Lam <plam@mit.edu>
236 Add documentation for FcConfigNormalizeFontDir.
238 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
239 FcGlobalCacheUpdate, FcGlobalCacheSave):
240 * src/fcdir.c (FcDirScanConfig):
243 Write directory information to global caches to fix make check
244 (reported by Ronny V. Vindenes). This changes the global cache
247 2006-01-27 Patrick Lam <plam@mit.edu>
248 * fc-cache/fc-cache.c (scanDirs):
249 * fontconfig/fontconfig.h:
251 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
253 Move FcConfigNormalizeFontDir call so that it doesn't result in
254 infinite recursion (reported by Ronny V. Vindenes).
256 2006-01-26 Patrick Lam <plam@mit.edu>
257 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
258 * src/fccfg.c (FcConfigNormalizeFontDir):
260 Add a couple of missing normalizations to make fc-cache work
261 right; only scan subdirectories once.
263 2006-01-26 Mike Fabian <mfabian@suse.de>
266 * src/fcacache.c (FcGlobalCacheReadDir):
268 Don't crash on non-existant directories in global cache.
270 2006-01-26 Patirck Lam <plam@mit.edu>
271 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
272 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
273 * src/fcdir.c (FcDirScanConfig):
274 * src/fcxml.c (FcEndElement):
276 Stop trampling the directory name when writing out caches.
277 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
278 subdirs when necessary. Don't scan directories that can't be
281 2006-01-25 Patrick Lam <plam@mit.edu>
282 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
283 * src/fccfg.c (FcConfigEvaluate):
284 * src/fcfreetype.c (FcPatternAddWithBinding):
286 Fix additional memory leaks reported by Ronny V. Vindenes: don't
287 invoke FcValueSave on hashed static strings in
288 FcPatternAddWithBinding.
290 Add another st_dev check in FcDirCacheOpen.
292 2006-01-24 James Su <james.su@gmail.com>
295 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
296 * fc-lang/zh_hk.orth:
298 Treat zh-hk fonts differently from zh-tw fonts. This patch may
299 cause fontconfig to treat A-X fonts differently from A-Y fonts;
300 please mail the fontconfig list if this causes any problems.
302 2006-01-24 Patrick Lam <plam@mit.edu>
303 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
304 * src/fcfreetype.c (FcFreeTypeQuery):
306 Fix memory leaks reported by Ronny V. Vindenes.
308 2006-01-19 Andreas Schwab <schwab@suse.de>
311 * src/fcpat.c (FcStrNeededBytes):
313 Fix for unaligned memory accesses.
315 2006-01-18 Mike Fabian <mfabian@suse.de>
318 * src/fcdir.c (FcDirScanConfig):
320 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
321 calls to avoid crashes.
323 2006-01-14 Patrick Lam <plam@mit.edu>
324 * src/fccache.c (FcDirCacheConsume):
326 Fix segfault when consuming zero-length caches in fc-cat
327 (which has no config, so FcConfigAddFontDir shouldn't be called.)
329 2006-01-14 Patrick Lam <plam@mit.edu>
330 * fc-cache/fc-cache.c (scanDirs):
331 * fontconfig/fontconfig.h:
332 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
333 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
334 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
335 * src/fcdir.c (FcDirScanConfig):
338 Compare device numbers as well as inodes.
339 Always normalize directory names before comparing them.
341 2006-01-11 Mike Fabian <mfabian@suse.de>
344 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
346 Allocate extra space for appended '/' in directory name.
348 2006-01-10 Patrick Lam <plam@mit.edu>
349 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
350 FcDirCacheValid, FcDirCacheHasCurrentArch,
351 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
352 * fc-cache/fc-cache.c (main):
354 Explicitly add font dirs to config.fontDirs even if they're empty.
355 Set current config in fc-cache.c.
356 Fix treatment of cache directory as read from cache file; don't
357 use string equality to determine if we have the right file,
360 2006-01-09 Patrick Lam <plam@mit.edu>
361 * fc-cache/fc-cache.c (scanDirs):
362 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
363 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
364 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
365 * src/fccfg.c (FcConfigNormalizeFontDir):
366 * src/fcdir.c (FcDirScanConfig):
369 Normalize font dirs by using the form, as given in fonts.conf, and
370 recorded in FcConfig's fontDirs string set, as canonical.
372 Actually update config.fontDirs as font directories are scanned.
374 2006-01-08 James Su <james.su@gmail.com>
375 * src/fcmatch.c (FcFontSetMatch):
377 Fix matching bug when multiple elements match; don't use
378 the sum of all scores, but the best score.
380 Also more perf opts, e.g. evaluate best over all font sets
381 rather than on a per-set basis (and other changes).
383 2006-01-08 Patrick Lam <plam@mit.edu>
384 * src/fccache.c (FcDirCacheConsume):
386 Properly skip past dir caches that contain zero fonts (as occurs
387 in global caches.) Reported by Mike Fabian.
389 2006-01-06 Patrick Lam <plam@mit.edu>
390 * src/fcdbg.c (FcPatternPrint):
392 Print out full pathname in fc-match -v as well. Reported by
395 2006-01-06 Mike Fabian <mfabian@suse.de>
398 * src/fcname.c (FcNameParse):
400 Fix bug where fc-match crashes when given __DUMMY__ property to
403 (I added the __DUMMY__ string to enable callers of
404 FcObjectToPtrLookup to distinguish an error return from a
405 successful return. -PL)
407 2006-01-05 Patrick Lam <plam@mit.edu>
410 Add self to AUTHORS list.
412 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
413 FcCacheFileRead, FcCachePrintSet, main):
414 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
415 FcGlobalCacheSave, FcCacheNextOffset,
416 FcDirCacheHasCurrentArch, FcDirCacheRead,
417 FcDirCacheConsume, FcDirCacheWrite):
419 * src/fcpat.c (comment):
421 Minor change to global cache file format to fix fc-cat bug
422 reported by Frederic Crozat, and buglet with not globally caching
423 directories with zero fonts cached.
425 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
428 * src/fccfg.c (FcConfigEvaluate):
430 Fix double-free which occurs because FcValueCanonicalize doesn't
431 create an extra copy of the returned value, it only canonicalizes
434 2006-01-02 Patrick Lam <plam@mit.edu>
435 * doc/fontconfig-user.sgml:
437 Fix version of .cache file (currently 1 -> currently 2). Reported
440 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
443 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
445 Shut up GCC warnings on amd.
447 2005-12-20 Patrick Lam <plam@mit.edu>
451 * fontconfig/fontconfig.h:
453 Bump version to 2.3.93.
455 2005-12-20 Patrick Lam <plam@mit.edu>
456 * src/fccharset.c (FcLangCharSetPopulate):
457 * src/fcint.h (FcCacheBankToIndex):
459 Avoid check on _fcBankId nullness and fix case where it used to
462 2005-12-20 Patrick Lam <plam@mit.edu>
463 * src/fcxml.c (FcConfigParseAndLoad):
465 Use open instead of fopen (requested by Phil Race for Sun).
467 2005-12-20 Patrick Lam <plam@mit.edu>
468 * src/fccache.c (FcDirCacheWrite);
469 * fc-cache/Makefile.am:
471 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
474 2005-12-20 Patrick Lam <plam@mit.edu>
475 * src/fcfreetype.c (FcFreeTypeQuery):
477 Restore code to skip over PCF fonts that have no encoded
479 (We guess that a font is PCF by presence of the PIXEL_SIZE
482 2005-12-12 Patrick Lam <plam@mit.edu>
483 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
485 Read and write the original location as a fallback for the
486 hashed cache file locations. This is mostly for users to be
487 able to have per-directory cache files.
489 2005-12-12 Patrick Lam <plam@mit.edu>
490 * fc-cache/fc-cache.c (scanDirs):
491 * fc-cache/Makefile.am:
492 * src/fccache.c (FcDirCacheHashName):
494 Improve error message when fc-cache can't write the cache. Add
495 missing slash. Reported by Behdad. Incorporate Behdad's patch to
496 create /var/cache/fontconfig when appropriate.
498 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
501 * src/fcxml.c (FcConfigGetAttribute):
503 Fix crash reported by Frederic Crozat when using libxml2.
505 2005-12-09 Patrick Lam <plam@mit.edu>
508 * fc-cache/Makefile.am:
509 * fc-cat/Makefile.am:
511 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
512 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
513 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
514 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
515 FcDirCacheHasCurrentArch, FcDirCacheHashName,
516 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
518 Migrate cache files from fonts directories to
519 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
520 but requires that all caches get rebuilt.
522 Also, autogen.sh now needs the additional parameter
523 --localstatedir=/var.
525 2005-12-07 Patrick Lam <plam@mit.edu>
526 * src/fcpat.c (FcPatternAddString):
528 Because we've changed FcPatternAddString to use FcStrStaticName
529 and not FcValueSave, explicitly handle the case of a null string.
531 2005-12-06 Patrick Lam <plam@mit.edu>
532 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
536 2005-12-05 Patrick Lam <plam@mit.edu>
537 * src/fcname.c (FcNameGetObjectType):
539 Don't assign types to user object names.
541 2005-12-05 Patrick Lam <plam@mit.edu>
542 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
544 Don't free strings that have been returned from FcStrStaticName.
546 2005-12-01 Patrick Lam <plam@mit.edu>
547 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
549 Add codepath for reading global cache files as well.
551 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
554 * conf.d/10-fonts.persian.conf:
555 * conf.d/Makefile.am:
557 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
559 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
562 * src/fcxml.c (FcConfigParseAndLoad):
564 Only add a config file to the set of config files once.
566 2005-11-29 Patrick Lam <plam@mit.edu>
567 * src/fcint.h (FcCacheBankToIndex);
569 Fix segfault by guarding array dereference.
571 2005-11-29 Dirk Mueller <dmueller@suse.de>
575 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
576 FcCacheBankToIndex, FcCacheBankToIndexMTF,
580 Refactor FcCacheBankToIndex into an inlineable part
581 (in fcint.h) which checks the front of the list and a
582 non-inlineable part which finds and moves the appropriate element
583 to the front of the list.
585 2005-11-29 Patrick Lam <plam@mit.edu>
586 * src/fccfg.c (FcConfigBuildFonts):
587 * src/fccache.c (FcCacheReadDirs):
589 Make the perf guys hate me a bit less: hoist the directory-name
590 FcConfigAcceptFont check for cached fonts up to directory cache
591 read time, rather than running it for each font.
593 2005-11-29 Patrick Lam <plam@mit.edu>
594 * src/fccfg.c (FcConfigBuildFonts):
596 * src/fcpat.c (FcPatternFindFullFname):
598 Don't make FcPatternFindFullFname available to fccfg, it's not
599 really safe. Instead go through FcPatternGetString (sorry,
600 perf guys.) Also, use globs for dirs as well.
602 2005-11-28 Patrick Lam <plam@mit.edu>
603 * src/fccfg.c (FcConfigBuildFonts):
607 2005-11-28 Patrick Lam <plam@mit.edu>
609 * src/fcpat.c (FcPatternFindFullFname):
610 * src/fccfg.c (FcConfigBuildFonts):
612 Fix problem dating back at least to 2.3.2 where globs weren't
613 being applied to patterns loaded from a cache.
615 2005-11-28 Patrick Lam <plam@mit.edu>
616 * doc/fontconfig-user.sgml:
618 Fix some obvious spelling mistakes.
620 2005-11-28 Dirk Mueller <dmueller@suse.com>
621 Stephan Kulow <coolo@suse.de>
624 * src/fcmatch.c (FcFontSetMatch):
626 Don't kill all fonts during match (oops!)
629 2005-11-25 Dirk Mueller <dmueller@suse.com>
630 Stephan Kulow <coolo@suse.de>
631 Michael Matz <matz@suse.de>
634 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
637 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
638 inline FcCompare into FcFontSetMatch and reorder the
639 loops, adding a boolean array which blocks patterns from future
640 consideration if they're known to not be best on some past
643 2005-11-26 Dirk Mueller <dmueller@suse.com>
646 * src/fcmatch.c (FcCompareValueList):
650 2005-11-25 Patrick Lam <plam@mit.edu>
651 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
653 Don't do random matching when bad objects are passed into
656 2005-11-25 Patrick Lam <plam@mit.edu>
658 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
659 FcPatternSerialize, FcPatternUnserialize,
660 FcValueListEnsureBank, FcValueListDistributeBytes,
661 FcValueListUnserialize):
663 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
664 _fcPatternElts, _fcValueLists for consistency.
666 2005-11-25 Dirk Mueller <dmueller@suse.com>
671 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
673 2005-11-25 Patrick Lam <plam@mit.edu>
675 * src/fccache.c (FcDirCacheConsume):
676 * src/fccharset.c (FcCharSetUnserialize):
677 * src/fcfs.c (FcFontSetUnserialize):
678 * src/fclang.c (FcLangSetUnserialize):
679 * src/fcname.c (FcObjectUnserialize):
680 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
681 FcPatternUnserialize):
683 Pass around FcCache *s to the Unserialize functions for extra
684 consistency (and less overhead, for what that's worth).
686 2005-11-24 Dirk Mueller <dmueller@suse.com>
690 * src/fcmatch.c (FcCompare*, FcFontSetSort):
691 * src/fcname.c (FcNameUnparseValue):
693 Inline the *PtrU functions to gain perf.
694 Remove unneeded params for the FcCompare* functions.
696 2005-11-24 Dirk Mueller <dmueller@suse.com>
699 * src/fcint.h, fontconfig/fontconfig.h:
701 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
703 * src/fcpat.c, src/fcint.h, src/fcname.c:
705 Check for type validity during FcPatternAddWithBinding, don't
706 verify type in FcFontMatch, don't call FcCanonicalize here
707 (which always does a deep copy).
709 2005-11-24 Dirk Mueller <dmueller@suse.com>
712 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
713 * src/fcpat.c (FcPatternAddWithBinding):
715 Make FcCompareString and FcCompareFamily less expensive.
716 Only add a value for FC_FAMILY if the proposed value is a string.
718 2005-11-24 Dirk Mueller <dmueller@suse.com>
721 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
722 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
723 * src/fcint.h (FcDebug):
725 Inline FcDebug invocations and only initialize once, in FcInit*.
726 Improve debug msg in FcPatternPrint.
728 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
731 * fontconfig/fontconfig.h:
734 Minor code warning cleanups.
736 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
739 * fc-match/fc-match.c (main):
741 Make getopt_long accept -s parameter to fc-match as well.
743 2005-11-21 Dirk Mueller <dmueller@suse.com>
746 * src/fcmatch.c (FcCompareValueList):
748 Manually perform inlining & partial redundancy elimination to
749 reduce calls to FcValueListPtrU.
751 2005-11-21 Dirk Mueller <dmueller@suse.com>
754 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
755 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
757 Only invoke strlen() when really necessary.
759 2005-11-19 Matthias Clasen <mclasen@redhat.com>
763 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
768 Get rid of the use of freetype internal headers in fcfreetype.c,
769 since those headers will go away with freetype 2.2. Replace with
770 public domain ftglue code from pango. Note that the patch removes
771 some extra error checking in FT_Get_BDF_Property() and comments
772 out the skipping of empty pcf fonts.
774 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
777 * fc-lang/fc-lang.c (main):
779 Further fix of patch from 2005-11-04: miscounted numbers count
780 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
781 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
783 Removed leafidx_count and numbers_count since they are the same
784 and replaced them with offset_count.
786 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
789 * fc-cat/fc-cat.c (main):
791 Don't crash when fc-cat invoked with no arguments.
793 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
796 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
798 Fix invalid read access caused by premature free and
799 GCC4 warnings in libxml2 codepath.
801 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
804 * src/fccfg.c (FcConfigValues):
806 List iteration not needed in FcConfigValues, since it's building
807 up the list itself; we can just strip FcVoid elements during
810 2005-11-17 Patrick Lam <plam@mit.edu>
811 * src/fccfg.c (FcConfigValues):
813 Fix crash on invalid constants in config files (forgot to update
814 a pointer upon list iteration.)
816 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
819 * src/fcxml.c (FcTypecheckExpr):
821 Complain about invalid constants in config files.
823 2005-11-17 Andreas Schwab <schwab@suse.de>
826 * src/fccache.c (FcGlobalCacheSave):
828 Don't add current_arch_start more than once.
830 2005-11-16 Patrick Lam <plam@mit.edu>
831 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
832 * src/fcfs.c (FcFontSetUnserialize):
833 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
834 * src/fcpat.c (FcStrUnserialize):
836 Fix ordering of ALIGN with respect to saving block_ptr; add
837 another ALIGN to fcfs.c.
839 2005-11-16 Patrick Lam <plam@mit.edu>
840 * src/fccache.c (FcDirCacheProduce)
842 Fix case where alignment bytes bumped up metadata->count
843 causing unwarranted failures to write cache files.
844 (Reported by Stephan Kulow).
846 2005-11-16 Patrick Lam <plam@mit.edu>
847 * src/fccache.c (FcDirCacheProduce):
848 * src/fccharset.c (FcCharSetDistributeBytes):
849 * src/fcfs.c (FcFontSetDistributeBytes):
851 * src/fclang.c (FcLangSetDistributeBytes):
852 * src/fcname.c (FcObjectDistributeBytes):
853 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
856 Add *NeededBytesAlign(), which overestimates the padding which is
857 later added by the new ALIGN macro. Fix alignment problems on
858 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
859 version by Andreas Schwab).
861 2005-11-16 Stephan Kulow <coolo@kde.org>
866 Use sysconf to determine proper PAGESIZE value; this
867 appears to be POSIX-compliant. (reported by Andreas Schwab)
869 2005-11-04 Patrick Lam <plam@mit.edu>
875 Fix bug 2878 (excessive relocations at startup for charsets,
876 reported by Ross Burton): fc-lang/fc-lang now creates the
877 static form of the langset, not the dynamic form, so that
878 the charsets should now be in .rodata.
880 2005-11-04 Patrick Lam <plam@mit.edu>
881 * src/fcdir.c (FcDirScanConfig):
883 Add test for validity of directory caches that
884 somehow got lost (reported by make distcheck).
886 2005-11-04 Patrick Lam <plam@mit.edu>
890 * fontconfig/fontconfig.h:
892 Bump version to 2.3.92.
894 2005-11-02 Patrick Lam <plam@mit.edu>
895 * src/fcpat.c (FcPatternDuplicate):
897 Fix argument ordering problem in call to FcPatternTransferFullFname.
899 2005-11-02 Patrick Lam <plam@mit.edu>
900 * src/fcfreetype.c (FcFreetypeQuery):
901 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
902 FcPatternTransferFullFname):
904 Fix warnings and embarrassing double-free error.
906 2005-11-02 Zhe Su <zsu@novell.com>
911 Change the rule for artificial emboldening in fonts.conf.in. This
912 enables the support for artificial emboldening included in cairo.
914 2005-11-02 Patrick Lam <plam@mit.edu>
915 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
917 Don't zero out full names for FC_REF_CONSTANT fonts;
918 also, duplicate full names when transferring, and free
919 full names when freeing the associated font.
920 Reported by Jinghua Luo.
922 2005-11-02 Patrick Lam <plam@mit.edu>
923 * fc-cache/fc-cache.c (scanDirs):
924 * src/fcpat.c (FcValueListSerialize):
926 Revert the previous patch and commit the correct patch:
927 I forgot a canonicalization in FcValueListSerialize, so
928 that it would choke on already-serialized input files. Duh!
930 2005-11-02 Patrick Lam <plam@mit.edu>
931 * fc-cache/fc-cache.c (scanDirs):
933 Forcibly rescan a directory before writing a fresh local
934 cache file for that directory, fixing the losing-fonts
935 problem reported by Mike Fabian and also apparently the
936 font cache file corruption.
938 2005-11-02 Patrick Lam <plam@mit.edu>
939 * src/fccache.c (FcGlobalCacheLoad):
941 Fix thinko: actually, the whole global cache is stale
942 if the global cache is older than the (newest) config file.
944 2005-11-02 Patrick Lam <plam@mit.edu>
945 * src/fccache.c (FcGlobalCacheLoad):
946 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
949 Declare the global cache of a directory's contents to be stale if
950 the directory is newer than the (newest) configuration file.
952 2005-10-31 Patrick Lam <plam@mit.edu>
954 * src/fclist.c (FcListAppend):
955 * src/fcmatch.c (FcFontRenderPrepare):
956 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
957 FcPatternFreeze, FcPatternBaseFreeze):
959 Copy the full pathname whenever duplicating an FcPattern; otherwise,
960 applications continue breaking.
962 2005-10-31 Patrick Lam <plam@mit.edu>
963 * fc-cat/fc-cat.c (FcCacheFileRead, main):
964 * src/fcfreetype.c (FcFreeTypeQuery):
966 Fix small memory error (tried to free argv); use basename and
967 dirname correctly (they can modify their arguments).
969 2005-10-31 Patrick Lam <plam@mit.edu>
977 Reinstate basename patch, but keep a hash table linking FcPatterns
978 to their fully-qualified font names for clients' benefit. Clients
979 only pay for the font names once they request the FC_FILE property
980 from an FcPattern, but the font name is malloc'd at that point (i.e.
981 not mmapped: that's impossible, since it may vary between machines.)
982 Clients do have to pay for a copy of the path name per cache file.
984 Note that FcPatternGetString now does some rewriting if you ask
985 for an FC_FILE, appending the pathname as appropriate.
987 2005-10-31 Patrick Lam <plam@mit.edu>
988 * src/fcfreetype.c (FcFreeTypeQuery):
990 Revert basename patch, which breaks fontconfig clients on my system.
992 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
995 * fontconfig/fonts.conf.in:
996 * fontconfig/fontconfig.h:
1000 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
1001 to load embedded bitmaps or not.
1003 2005-10-25 Patrick Lam <plam@mit.edu>
1004 * src/fcfreetype.c (FcFreeTypeQuery):
1006 Only add basename to patterns' FC_FILE element, not any part of
1009 2005-10-22 Patrick Lam <plam@mit.edu>
1012 Add some more consts, fixing more GCC4 warnings.
1014 2005-10-22 Zhe Su <zsu@novell.com>
1017 Support localized font family and style names.
1018 This has been reported to break old apps like xfd, but modern
1019 (gtk+/qt/mozilla) apps work fine.
1021 2005-10-21 Patrick Lam <plam@mit.edu>
1022 * src/fccache.c (FcGlobalCacheLoad):
1024 Destroy the global cache file if it's terminally broken. (reported by
1027 2005-10-21 Patrick Lam <plam@mit.edu>
1028 * fc-list/fc-list.c (main):
1029 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
1030 * fontconfig/fontconfig.h:
1032 Prevent fc-list from escaping strings when printing them (reported by
1035 2005-10-20 Marcus Meissner <meissner@suse.de>
1038 * fontconfig/fontconfig.h:
1040 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
1042 2005-10-14 Ross Burton <ross@burtonini.com>
1045 * fc-glyphname/fc-glyphname.c:
1048 Add consts to variables so as to move arrays into .rodata.
1050 2005-10-14 Mike Fabian <mfabian@suse.de>
1053 * src/fccache.c (FcDirCacheUnlink):
1055 Check existence of directory cache file before attempting to unlink.
1057 2005-10-13 Patrick Lam <plam@mit.edu>
1058 * src/fccache.c (FcDirCacheUnlink):
1060 Fix flipped return value on unlink. (Reported by Mike Fabian)
1062 2005-10-12 Patrick Lam <plam@mit.edu>
1065 * src/fcdir.c (FcDirScanConfig):
1068 When fc-cache is run without --force, use directory cache files
1069 to speed up fc-cache run time. (Reported by Mike Fabian)
1071 2005-10-06 Patrick Lam <plam@mit.edu>
1073 * src/fcname.c (FcObjectToPtr):
1074 * src/fcpat.c (FcStrStaticName):
1076 Add padding to make valgrind and glibc not hate each other
1077 when calling strlen().
1079 2005-10-05 Simos Xenitellis <simos74@gmx.net>
1080 reviewed by: plam & keithp
1084 Modify config file to use Greek fonts before Asian fonts with
1087 2005-10-05 Christian Biesinger <cbiesinger@web.de>
1088 reviewed by: plam & keithp
1092 Use libtool -no-undefined flag on all platforms.
1094 2005-10-05 Patrick Lam <plam@mit.edu>
1095 * src/fccache.c (FcCacheHaveBank):
1097 Implement move-to-front array for banks (perf regression
1098 reported by Ronny V. Vindenes).
1100 2005-10-04 Patrick Lam <plam@mit.edu>
1101 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
1102 FcDirCacheHasCurrentArch):
1103 * fc-cache/fc-cache.c (scanDirs):
1104 * fontconfig/fontconfig.h:
1106 Add new API which unlinks directory caches and checks dir caches
1107 for existence of appropriate sections. Fix fc-cache to unlink
1108 stale cache files and save directory caches that lack relevant
1111 2005-10-03 Patrick Lam <plam@mit.edu>
1112 * src/fccache.c (FcDirCacheValid):
1114 Ensure that a directory cache has the appropriate section
1115 before reporting that it is valid (reported by Matthias Clasen).
1117 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1125 Use libxml2 if requested (with --enable-libxml2) or if
1126 expat is not available.
1128 2005-09-29 Patrick Lam <plam@mit.edu>
1129 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
1131 Fix multi-arch cache files: compute the position for the
1132 block to be added using info from OrigFile, not NewFile.
1134 2005-09-28 Patrick Lam <plam@mit.edu>
1135 * src/fccache.c (FcCacheMachineSignature):
1137 Cast results of sizeof() to unsigned int to get rid of
1138 warnings on x86_64 (thanks Matthias Clasen).
1140 2005-09-27 Patrick Lam <plam@mit.edu>
1141 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
1144 Use FcAtomic to rewrite cache files.
1146 2005-09-27 Patrick Lam <plam@mit.edu>
1148 * src/fccache.c (FcDirCacheWrite):
1150 Don't unlink the fonts.cache-2 file even if there's no data
1151 to write; just write an empty cache file. (thanks Lubos Lunak)
1153 2005-09-27 Patrick Lam <plam@mit.edu>
1155 * src/fccache.c (FcDirCacheWrite):
1157 Allocate room for the subdirectory names in each
1158 directory cache. Thanks to James Cloos for finding
1159 and diagnosing this bug!
1161 2005-09-22 Patrick Lam <plam@mit.edu>
1163 * fc-cache/fc-cache.sgml:
1164 * src/fccache.c (FcDirCacheWrite):
1165 * src/fccache.h (struct FcCache):
1167 Update documentation -- fc-cache's man page now says that you
1168 need to run fc-cache once per cached architecture; add some
1169 documentation to the FcCache structure.
1171 Make fc-cache write out fonts.cache-2 files for directories with
1172 no fonts (i.e. only subdirectories).
1174 2005-09-22 Patrick Lam <plam@mit.edu>
1176 * fc-cache/fc-cache.sgml:
1177 * fc-case/fc-case.c:
1178 * fc-glyphname/fc-glyphname.c:
1184 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
1188 * fc-lang/fc-lang.c:
1189 * fontconfig/fcprivate.h:
1190 * fontconfig/fontconfig.h:
1204 Implement new mmaped cache for font information.
1205 Bump so revision to 2.3.90.
1207 2005-07-25 Keith Packard <keithp@keithp.com>
1209 * doc/fontconfig-user.sgml:
1210 * fc-glyphname/fc-glyphname.c: (scan), (main):
1211 * fc-lang/fc-lang.c: (FcConfigHome):
1212 * fc-match/fc-match.c: (main):
1213 * src/fccfg.c: (FcConfigHome):
1214 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1215 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1216 (addtag), (FcFontCapabilities):
1217 * src/fcpat.c: (FcValueListEntCreate):
1218 * src/fcstr.c: (FcStrCaseWalkerInit):
1219 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1221 Various GCC 4 cleanups for signed vs unsigned char
1223 Match only [0-9]*.conf files in <include>{directory}</include>
1224 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1226 2005-07-15 Carl Worth <cworth@cworth.org>
1229 * src/fcinit.c: (FcFini):
1230 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1233 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1234 Pull the FcObjectStateName hash table out to file scope, and add
1235 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1238 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1241 2005-06-16 Patrick Lam <plam@MIT.EDU>
1245 * src/fccfg.c: (FcConfigCompareValue):
1246 Make FcOpNotContains use FcStrStr for strings so that
1247 it matches semantics for !FcOpContains.
1249 2005-05-20 Keith Packard <keithp@keithp.com>
1253 Move fontconfig source package to libs as per override
1255 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1257 reviewed by: Mike Fabian
1260 The ka.orth file requires several characters which are not
1261 used anymore in modern Georgian and which are missing in the free
1262 Georgian TrueType fonts downloadable at:
1264 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1266 2005-04-27 Keith Packard <keithp@keithp.com>
1270 Update date to real 2.3.2 release date.
1271 Fix change attributions
1273 2005-04-27 Keith Packard <keithp@keithp.com>
1276 Bump so revision for 2.3.2
1277 * fc-cache/fc-cache.c: (scanDirs):
1278 Fix a few minor leaks in error cases.
1280 2005-04-23 Keith Packard <keithp@keithp.com>
1285 * fontconfig/fontconfig.h:
1286 Update for version 2.3.2
1288 2005-04-21 Keith Packard <keithp@keithp.com>
1290 * debian/fontconfig.postinst:
1291 Don't force bitmap font enable in default
1292 configuration; allows users to override this in
1302 * debian/po/pt_BR.po:
1303 * debian/po/templates.pot:
1305 * debian/po/zh_CN.po:
1306 Updated translations
1308 * fc-cache/fc-cache.c: (main):
1309 Destroy font configuration on exit to help valgrind
1312 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1313 (FcFreeTypeCheckGlyph):
1314 Use own transcoding routines in preference to iconv
1315 which appears to have leaks in some translators.
1316 Call iconv_close after using iconv (oops).
1318 Prefer unicode encoding of Euro char as some
1319 fonts mis-encode Euro in other ones.
1321 Must fetch bitmap glyphs to get width values
1322 to check for monospace/dual-width fonts.
1324 2005-04-13 Ross Burton <ross@burtonini.com>
1327 Check that a pattern isn't already frozen in FcPatternFreeze.
1329 2005-03-31 Ross Burton <ross@burtonini.com>
1334 Run all FcPattern objects through FcObjectStaticName, so that
1335 compares can be done on pointers instead of strings (#2659)
1337 2005-03-17 Tor Lillqvist <tml@novell.com>
1339 * src/fontconfig.def.in: Add the .dll to the dll name.
1341 2005-03-10 Keith Packard <keithp@keithp.com>
1343 * debian/README.Debian:
1344 Update to reflect configuration changes
1346 * debian/fontconfig.postinst:
1347 Fix Autohint vs Autohinter mistake
1348 * debian/fontconfig.templates:
1349 Adopt changes from Josselin Mouette for configuration descriptions
1350 Update debian to version 2.3.1-2
1352 2005-03-08 Keith Packard <keithp@keithp.com>
1356 Update debian for 2.3.1
1358 2005-03-09 Tor Lillqvist <tml@novell.com>
1360 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1363 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1366 2005-03-08 Keith Packard <keithp@keithp.com>
1370 * fontconfig/fontconfig.h:
1373 2005-03-05 Keith Packard <keithp@keithp.com>
1375 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1376 Include space and remove numbers from valid script tags.
1377 This ensures that tags like 'lao ' work while rejecting
1378 those which have any digits.
1379 Eliminate a spurious debugging variable (len)
1381 2005-03-05 Keith Packard <keithp@keithp.com>
1383 * src/fcfreetype.c: (addtag), (GetScriptTags),
1384 (FcFontCapabilities):
1385 Rework GSUB/GPOS script parsing to survive broken fonts.
1386 Thanks for the broken font go to Manish Singh
1388 2005-03-05 Keith Packard <keithp@keithp.com>
1393 * debian/fontconfig.config:
1394 * debian/fontconfig.templates:
1396 Include 2.3 release information in changelog
1397 Add Josselin Mouette as an Uploader
1398 Set hinting_type to low priority configuration option
1401 * debian/fontconfig.postinst:
1402 yes_bitmaps.conf -> yes-bitmaps.conf
1408 2005-03-02 Keith Packard <keithp@keithp.com>
1411 * conf.d/Makefile.am:
1412 * conf.d/autohint.conf:
1413 * conf.d/no-sub-pixel.conf:
1414 * conf.d/sub-pixel.conf:
1415 * conf.d/unhinted.conf:
1416 * debian/autohint.conf:
1417 * debian/fontconfig.install:
1418 * debian/fontconfig.postinst:
1419 * debian/fontconfig.templates:
1420 * debian/no-sub-pixel.conf:
1421 * debian/unhinted.conf:
1422 Move debian-specific conf file examples upstream.
1424 Sub-pixel configuration examples must smash subpixel value
1425 as Xft always sets it from X.
1427 Change sub-pixel rendering debconf descriptions from
1428 Enable/Disable to Always/Never.
1430 2005-03-02 Keith Packard <keithp@keithp.com>
1433 * conf.d/.cvsignore:
1435 Ignore more build detritus
1438 Add debian package construction stuff.
1440 * config/config.guess:
1441 * config/config.sub:
1442 Update to newer versions of these tools
1445 Get library manuals to build again (we love automake).
1447 * debian/README.Debian:
1448 * debian/autohint.conf:
1453 * debian/fontconfig-udeb.install:
1454 * debian/fontconfig.config:
1455 * debian/fontconfig.defoma:
1456 * debian/fontconfig.dirs:
1457 * debian/fontconfig.install:
1458 * debian/fontconfig.postinst:
1459 * debian/fontconfig.postrm:
1460 * debian/fontconfig.templates:
1461 * debian/libfontconfig1-dev.install:
1462 * debian/libfontconfig1.install:
1463 * debian/local.conf.md5sum:
1464 * debian/no-sub-pixel.conf:
1465 * debian/po/POTFILES.in:
1474 * debian/po/pt_BR.po:
1475 * debian/po/templates.pot:
1477 * debian/po/zh_CN.po:
1479 * debian/unhinted.conf:
1480 Update debian build system to switch maintainers and
1481 deal with 2.3 functionality
1483 2005-03-01 Keith Packard <keithp@keithp.com>
1487 * fontconfig/fontconfig.h:
1490 2005-03-01 Keith Packard <keithp@keithp.com>
1493 Generate and install PDF versions of the manuals
1495 * doc/fcpattern.fncs:
1498 * doc/fcstring.fncs:
1499 Add missing exported functions, fix data types
1501 * doc/fontconfig-devel.sgml:
1502 Add missing pattern elements.
1504 * doc/fontconfig-user.sgml:
1505 Add missing pattern elements. Document conf.d usage,
1506 clarify available orthography list. Fix some config file
1507 attributes. Complete list of constants.
1509 * fontconfig/fontconfig.h:
1510 Mark FC_SOURCE deprecated.
1512 * src/fcfreetype.c: (FcFreeTypeQuery):
1513 Don't set FC_SOURCE any longer.
1515 2005-02-28 Keith Packard <keithp@keithp.com>
1518 * conf.d/Makefile.am:
1520 * conf.d/no-bitmaps.conf:
1521 * conf.d/sub-pixel.conf:
1522 * conf.d/yes-bitmaps.conf:
1524 Create prototype /etc/fonts/conf.d directory with a few
1525 sample configuration files.
1526 Deprecate use of local.conf for local customizations in favor of
1527 this directory based scheme which is more easily integrated into
1528 installation systems.
1531 Tag FC_EMBOLDEN as a boolean variable
1533 2005-02-10 Keith Packard <keithp@keithp.com>
1535 reviewed by: pborelli@katamail.com
1537 * src/fcdir.c: (FcFileScanConfig):
1538 Free patterns from fonts which are rejected by configuration
1541 2005-01-28 Keith Packard <keithp@keithp.com>
1545 * fontconfig/fontconfig.h:
1546 Update for version 2.2.99
1548 2005-01-28 Keith Packard <keithp@keithp.com>
1551 Add a few pointers (#2284, #2285)
1553 2005-01-28 Keith Packard <keithp@keithp.com>
1556 * src/fcname.c: (FcNameBool):
1557 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1558 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1559 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1560 Polite typechecking for test and edit expressions. Helps
1561 catch errors in the font configuration. (bug 229)
1563 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1565 reviewed by: Keith Packard <keithp@keithp.com>
1568 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1570 2005-01-13 Keith Packard <keithp@keithp.com>
1572 * doc/fontconfig-user.sgml:
1573 Add SEE ALSO section (bug 2085)
1575 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1577 reviewed by: Keith Packard <keithp@keithp.com>
1582 * fc-case/Makefile.am:
1583 * fc-glyphname/Makefile.am:
1584 * fc-lang/Makefile.am:
1585 * src/fontconfig.def.in:
1586 Cross compiling fixes (bug 280)
1588 2005-01-13 Keith Packard <keithp@keithp.com>
1591 Update blanks list (Closes bug 86)
1593 2005-01-04 Keith Packard <keithp@keithp.com>
1595 * src/fccache.c: (FcCacheFontSetAdd):
1596 Verify that every font pattern loaded from cache has
1597 both FC_FILE and FC_FAMILY entries.
1598 Attempt to fix bug #2219.
1600 2004-12-29 Keith Packard <keithp@keithp.com>
1604 * fontconfig/fontconfig.h:
1605 Update for version 2.2.98
1607 2004-12-29 Keith Packard <keithp@keithp.com>
1609 * fontconfig/fontconfig.h:
1610 Document ASCII limitations of Fc character conversion macros
1611 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1612 Fix off-by-one error in utf-8 case walking code.
1613 Add FcStrDowncase (useful for testing case conversion functions)
1615 2004-12-29 Keith Packard <keithp@keithp.com>
1618 * fc-case/.cvsignore:
1619 clean up CVS ignore lists
1620 * fc-lang/iso-3166.txt:
1621 Add territory database
1623 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1625 Reviewed by: Keith Packard
1628 Remove Han characters from Korean orthography
1630 2004-12-29 Keith Packard <keithp@keithp.com>
1633 Reorder utility programs to make sure fc-case is run before fc-lang
1634 as fc-lang uses fcstr.c which uses fccase.h
1638 2004-12-29 Keith Packard <keithp@keithp.com>
1641 Adopt some RedHat suggestions for standard font configuration.
1645 * fc-case/CaseFolding.txt:
1646 * fc-case/Makefile.am:
1647 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1648 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1649 (dump), (parseRaw), (caseFoldReadRaw), (main):
1650 * fc-case/fccase.tmpl.h:
1651 Add new helper program 'fc-case' to construct case folding
1652 tables from standard Unicode CaseFolding.txt file
1655 * src/fclist.c: (FcListValueHash):
1656 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1657 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1658 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1659 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1660 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1661 Re-implement case insensitive functions with Unicode
1662 aware versions (including full case folding mappings)
1664 2004-12-13 Keith Packard <keithp@keithp.com>
1666 reviewed by: Owen Taylor <otaylor@redhat.com>
1668 * src/fcmatch.c: (FcFontSetSort):
1669 I changed FcFontSetSort to respect the generic aliases better
1670 in the face of language matching.
1672 What I did was to ammend the strict sort order used by FcFontSort so
1673 that it 'satisfies' the language specified in the pattern by locating
1674 the best matching font supporting each pattern language and then
1675 ignores language in the remaining fonts for purposes of matching.
1677 So, when asking for 'sans:lang=en', you'll get an English font first,
1678 and then the remaining fonts sorted with respect to the 'sans' alias
1679 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1681 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1683 reviewed by: Keith Packard <keithp@keithp.com>
1685 * fontconfig/fontconfig.h:
1688 Configuration changes to request synthetic emboldening of
1689 fonts. The actual emboldening code will live in Xft.
1691 2004-12-09 John Thacker <thacker@math.cornell.edu>
1693 reviewed by: Keith Packard <keithp@keithp.com>
1697 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1698 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1699 и), and don't even appear in KOI8-R. (The hypothesis that they
1700 don't appear in KOI8-R due to their similarity with Latin I and i is
1701 eliminated by their presence in KOI8-U.) I have a couple of fonts
1702 with Russian support that don't have the letter.
1704 Therefore, 0406 and 0456 should be removed from or commented out of
1707 2004-12-06 michael meeks <mmeeks@novell.com>
1709 Reviewed by: Keith Packard <keithp@keithp.com>
1711 * src/fcinit.c: (FcMemReport):
1713 * src/fclist.c: (FcObjectSetAdd):
1714 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1715 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1716 * src/fcxml.c: (FcParsePatelt):
1717 memoize strings and share a single copy for all uses. Note that
1718 this could be improved further by using statically allocated blocks
1719 and gluing multiple strings together, but I'm basically lazy.
1720 In my environment with 800 font files, I get a savings of about 90KB.
1722 2004-12-06 Keith Packard <keithp@keithp.com>
1726 * config/Makedefs.in:
1729 * doc/fcatomic.fncs:
1730 * doc/fcblanks.fncs:
1731 * doc/fccharset.fncs:
1732 * doc/fcconfig.fncs:
1733 * doc/fcconstant.fncs:
1735 * doc/fcfontset.fncs:
1736 * doc/fcfreetype.fncs:
1738 * doc/fcmatrix.fncs:
1739 * doc/fcobjectset.fncs:
1740 * doc/fcobjecttype.fncs:
1741 * doc/fcpattern.fncs:
1742 * doc/fcstring.fncs:
1743 * doc/fcstrset.fncs:
1745 * doc/fontconfig-devel.sgml:
1746 * doc/fontconfig-user.sgml:
1748 * doc/version.sgml.in:
1749 * fc-cache/Makefile.am:
1750 * fc-cache/fc-cache.c:
1751 * fc-glyphname/Makefile.am:
1752 * fc-glyphname/fc-glyphname.c:
1753 * fc-glyphname/fcglyphname.tmpl.h:
1754 * fc-lang/Makefile.am:
1764 * fc-lang/az_ir.orth:
1798 * fc-lang/fc-lang.c:
1799 * fc-lang/fc-lang.man:
1800 * fc-lang/fclang.tmpl.h:
1845 * fc-lang/ku_ir.orth:
1878 * fc-lang/ps_af.orth:
1879 * fc-lang/ps_pk.orth:
1908 * fc-lang/ti_er.orth:
1909 * fc-lang/ti_et.orth:
1935 * fc-lang/zh_cn.orth:
1936 * fc-lang/zh_hk.orth:
1937 * fc-lang/zh_mo.orth:
1938 * fc-lang/zh_sg.orth:
1939 * fc-lang/zh_tw.orth:
1941 * fc-list/Makefile.am:
1942 * fc-list/fc-list.c:
1943 * fc-match/Makefile.am:
1944 * fc-match/fc-match.1:
1945 * fc-match/fc-match.c:
1946 * fontconfig/fcfreetype.h:
1947 * fontconfig/fcprivate.h:
1948 * fontconfig/fontconfig.h:
1969 Change files from ISO-Latin-1 to UTF-8
1971 2004-12-04 Keith Packard <keithp@keithp.com>
1974 Update links to new freedesktop.org locations
1976 Add uninstall-local to get rid of fonts.conf and local.conf if they
1977 match the distributed versions. Fixes 'make distcheck'
1979 2004-12-04 Keith Packard <keithp@keithp.com>
1983 * fontconfig/fontconfig.h:
1984 Updates for version 2.2.97
1986 2004-12-04 Owen Taylor <otaylor@redhat.com>
1988 reviewed by: Keith Packard <keithp@keithp.com>
1990 * fc-cache/fc-cache.c: (main):
1991 Sleep for two seconds before exiting to make sure timestamps
1992 for future changes have distinct mod times in the file system.
1995 Add Punjabi orthography. Bug #1671.
1997 2004-12-04 Keith Packard <keithp@keithp.com>
2000 Just remove the FC_FONTDATE -- it has locale issues and
2001 annoys redhat multi-arch installs. Now that all X fonts are
2002 included without prejudice, the chances of the date being at
2003 all interesting are rather limited. Bug #505.
2005 Add copyright and license
2007 2004-12-04 Keith Packard <keithp@keithp.com>
2010 Change default set of fonts to include all of
2011 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
2012 * doc/fontconfig-user.sgml:
2013 Document new <include>directory-name</include> semantics
2015 add <include ignore_missing="yes">conf.d</include>
2017 Add selectfont to ignore bitmap fonts, add comment for
2018 selectfont which accepts bitmap fonts.
2021 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
2022 Allow <include> configuration elements to reference directories.
2023 Parse and load all files of the form [0-9]* in sorted order.
2025 2004-12-04 Keith Packard <keithp@keithp.com>
2028 Report command line for $srcdir/configure accurately.
2031 2004-12-04 Keith Packard <keithp@keithp.com>
2033 * src/fcfreetype.c: (FcFreeTypeQuery):
2034 Check for non-empty face->family_name and face->style_name
2035 before using those for the font. Empty names match everything.
2038 2004-12-04 Keith Packard <keithp@keithp.com>
2041 * fontconfig/fontconfig.h:
2042 * src/fcfreetype.c: (FcFreeTypeQuery):
2044 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
2045 available. This provides font file format information (BDF, Type 1,
2046 PCF, TrueType) for each font. Closes #109.
2048 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
2050 reviewed by: Keith Packard <keithp@keithp.com>
2052 * doc/fontconfig-user.sgml:
2055 * fontconfig/fontconfig.h:
2056 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
2057 (GetScriptTags), (FcFontCapabilities):
2059 Add detection for font capabilities (bug #105)
2061 2004-12-04 Keith Packard <keithp@keithp.com>
2064 Move existing fonts.conf to fonts.conf.bak
2067 Add detection of iconv
2069 * doc/fcpattern.fncs:
2070 * doc/fontconfig-devel.sgml:
2071 * doc/fontconfig-user.sgml:
2073 Document new selectfont elements
2076 Switch to UTF-8 in comment
2078 * fontconfig/fontconfig.h:
2080 Add fullname, and family/style/fullname language entries
2082 * src/fccache.c: (FcCacheFontSetAdd):
2083 * src/fcdir.c: (FcFileScanConfig):
2084 Respect selectfont/*/glob
2087 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
2088 (FcConfigCompareValue), (FcConfigPatternsAdd),
2089 (FcConfigPatternsMatch), (FcConfigAcceptFont):
2090 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
2091 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
2092 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
2093 Add support for selectfont
2095 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
2096 (FcStringInPatternElement), (FcFreeTypeQuery):
2097 Add multi-lingual family/style/fullname support
2099 * src/fclist.c: (FcListPatternMatchAny):
2100 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
2102 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
2103 (FcObjectStaticName):
2104 Add new FcPatternRemove/FcPatternAppend.
2105 FcObjectStaticName stores computed pattern element names which
2106 are required to be static.
2108 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
2113 Remove spurious / after $(DESTDIR)
2115 2004-06-30 Keith Packard <keithp@keithp.com>
2119 * fontconfig/fontconfig.h:
2122 2004-06-30 Keith Packard <keithp@keithp.com>
2124 Provided by: Lubos Lunak <l.lunak@suse.cz>
2126 * src/fccfg.c: (FcConfigUptoDate):
2127 However FcConfigUptoDate() doesn't seem to work. See the attached
2128 patch. First there's an obvious misplaced parenthesis making it
2129 return always false, and second, even this call fails to detect font
2130 changes (e.g. adding a new font to
2131 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
2132 well. The problem seems to be triggered by my fonts.conf specifying
2133 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
2134 doesn't include subdirs, unlike config->fontDirs.
2136 2004-06-03 Keith Packard <keithp@keithp.com>
2138 * fontconfig/fontconfig.h:
2139 Remove comma at end of FcResult enum definition.
2141 2004-05-29 Keith Packard <keithp@keithp.com>
2144 Add steps to md5sum release
2146 2004-05-29 Keith Packard <keithp@keithp.com>
2150 * fontconfig/fontconfig.h:
2153 2004-05-29 Keith Packard <keithp@keithp.com>
2155 * fontconfig/fontconfig.h:
2156 * src/fcmatch.c: (FcFontSetMatch):
2157 Add FcResultOutOfMemory to provide an accurate error when
2158 FcFontSetMatch fails in this way
2161 Make #warning about lacking various FreeType features indicate
2162 which version those features appeared so users know how to
2163 fix the problem (Thanks to Anton Tropashko)
2165 2004-05-05 Keith Packard <keithp@keithp.com>
2167 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
2168 Replace MIN/MAX/ABS macros which happen to have come
2169 from FreeType with fontconfig-specific ones (FC_*)
2171 2004-04-23 Keith Packard <keithp@keithp.com>
2174 Extend release preparation instructions to include
2175 notification and distribution steps
2177 2004-04-23 Keith Packard <keithp@keithp.com>
2181 * fontconfig/fontconfig.h:
2182 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
2184 2004-04-23 Keith Packard <keithp@keithp.com>
2187 Ignore a few more autotool files
2189 2004-04-14 Keith Packard <keithp@keithp.com>
2192 Add instructions for doing a release
2194 * fontconfig.spec.in:
2195 clean up .spec file; perhaps this will be useful to somebody...
2199 * fontconfig/fontconfig.h:
2202 * fc-lang/fc-lang.c:
2203 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2205 * fc-glyphname/Makefile.am:
2206 * fc-lang/Makefile.am:
2207 * fc-list/Makefile.am:
2208 * fc-match/Makefile.am:
2210 Add WARN_CFLAGS to pass -W flags for GCC systems
2212 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2213 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2214 Change various char types around to match across
2216 Fixed bug in using available_sizes[i].height which
2217 is in pixels, not 64ths of a pixel.
2219 2004-03-06 Keith Packard <keithp@keithp.com>
2221 * src/fcfreetype.c: (FcFreeTypeQuery):
2222 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2223 matches looking for explicit values prefer exact matches
2225 2004-03-02 Keith Packard <keithp@keithp.com>
2227 Supplied by: mfabian@suse.de (Mike FABIAN)
2229 * src/fcfreetype.c: (FcFreeTypeQuery):
2230 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2231 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2233 2004-02-21 Manish Singh <yosh@gimp.org>
2235 * fc-glyphname/fc-glyphname.c: (main):
2236 Cast strlen to int for printf, so we're 64-bit clean.
2238 2004-02-11 Keith Packard <keithp@keithp.com>
2241 * src/fcfreetype.c: (FcGetPixelSize):
2242 Ok, so I messed up the test for y_ppem. Let's see if I
2243 got it right this time.
2245 2004-02-10 Keith Packard <keithp@keithp.com>
2248 * src/fcfreetype.c: (FcGetPixelSize):
2249 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2250 FT_Bitmap_Size record. Add a configure.in test for this
2251 and change the code accordingly (using height instead).
2253 2004-02-06 Keith Packard <keithp@keithp.com>
2256 Add Low Saxon orthography
2257 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2259 * src/fccfg.c: (FcConfigNewestFile):
2260 Oops. Left 'newest.set' unset, which would miscompute
2263 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2264 (FcFreeTypeCheckGlyph):
2265 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2266 font properties (which report the wrong value in current FreeType)
2268 Don't attempt to check for empty glyphs in non-scalable fonts; they
2271 2004-02-01 Tor Lillqvist <tml@iki.fi>
2273 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2274 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2275 cache if config->cache is NULL, which happens if FcConfigHome() is
2276 NULL. Guard against that by using the temp folder in that case.
2278 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2280 * fc-lang/az_ir.orth:
2281 * fc-lang/ku_ir.orth:
2282 * fc-lang/ps_af.orth:
2283 * fc-lang/ps_pk.orth:
2284 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2285 (Afghan and Pakistani).
2287 Updated Urdu orthography with real data.
2289 2003-12-11 Carl Worth <cworth@east.isi.edu>
2291 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2294 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2296 (all-local): Remove excessive whitespace.
2298 * autogen.sh: Add 'set -e' to abort when any program fails,
2299 (avoids printing of 'now type make' after configure aborts).
2301 2003-11-17 Eric Christopherson <rakko@charter.net>
2303 reviewed by: Keith Packard <keithp@keithp.com>
2306 * fontconfig/fcfreetype.h:
2308 Switch to FreeType 2.1.7 style includes. Bug #150.
2310 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2312 * fc-list/fc-list.sgml: Add some example usages.
2314 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2317 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2320 2003-10-27 Keith Packard <keith@keithp.com>
2323 * fontconfig/fontconfig.h:
2324 Update to version 2.2.92
2326 2003-10-27 Keith Packard <keithp@keithp.com>
2331 * fc-cache/Makefile.am:
2332 * fc-glyphname/Makefile.am:
2333 * fc-lang/Makefile.am:
2334 * fc-list/Makefile.am:
2335 * fc-match/Makefile.am:
2338 Yet more cleanups to finish getting 'make distcheck' working
2339 This has been tested to ensure that it even works from a _build
2342 2003-10-26 Keith Packard <keithp@keithp.com>
2346 * fc-cache/Makefile.am:
2347 * fc-glyphname/Makefile.am:
2348 * fc-lang/Makefile.am:
2349 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2350 * fc-list/Makefile.am:
2351 * fc-match/Makefile.am:
2352 Attempts to fix 'make distcheck' work. Things are
2353 progressing pretty well, but there are still failures
2354 long into the process dealing with docs (as always).
2356 The big changes here are mostly to make $(srcdir) != "."
2357 work correctly, fixing the docbook related sections and
2358 fc-lang were particularily tricky. Docbook refuses to load
2359 system entities from anywhere other than where the original .sgml
2360 file was located, so no luck looking in "." for the
2361 configure-generated version.sgml and confdir.sgml files.
2363 fc-lang needed help finding .orth files; added a -d option
2364 to set the directory as the least evil of many options.
2366 Now to go use a faster machine and try and wring out the last
2369 2003-10-26 Keith Packard <keithp@keithp.com>
2373 2003-10-26 Keith Packard <keithp@keithp.com>
2376 Include confdir.sgml.in in EXTRA_DIST
2378 2003-10-09 Josselin Mouette <joss@debian.org>
2380 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2381 * fc-list/fc-list.sgml fc-list/Makefile.am:
2382 Replace fc-cache and fc-list manpages with more detailed, SGML
2385 2003-09-23 Owen Taylor <otaylor@redhat.com>
2387 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2388 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2389 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2392 2003-09-23 Owen Taylor <otaylor@redhat.com>
2394 * fc-lang/ka.orth: Remove Georgian capitals, they
2395 aren't used for normal writing. (Bug #116)
2397 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2399 * doc/fontconfig-devel.sgml:
2400 * doc/fontconfig-user.sgml:
2401 * fontconfig/fontconfig.h:
2403 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2404 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2406 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2407 monospace and dual-width fonts, allow roughly a 3% variance in the
2410 2003-08-31 Manish Singh <yosh@gimp.org>
2412 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2415 2003-08-15 Carl Worth <cworth@isi.edu>
2417 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2418 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2420 * src/fcpat.c (FcValueListEntDestroy): New function to support
2421 FcFini memory cleanup. Some statistics are not kept in
2423 (FcValueListFreeze): Move hashTable outside this function so it
2424 can be accessed by FcValueListThawAll.
2425 (FcValueListThawAll): New function complements FcValueListFreeze.
2426 (FcPatternBaseFreeze): Move hashTable outside this function so it
2427 can be accessed by FcPatternBaseThawAll.
2428 (FcPatternBaseThawAll): New function complements
2429 FcPatternBaseFreeze.
2430 (FcPatternThawAll): New function complements FcPatternFreeze.
2432 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2434 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2435 allocated FcCharLeafEnt "blocks" so they can be freed later.
2436 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2437 can be accessed by FcCharSetThawAllLeaf.
2438 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2439 (FcCharSetFreezeBase): Move hashTable outside this function so it
2440 can be accessed by FcCharSetThawAll.
2441 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2443 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2444 (FcConfigDestroy): Fic leak of FcBlanks.
2446 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2447 (main): Add call to FcFini when finished.
2449 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2450 static. Add prototypes.
2452 * doc/fcinit.fncs: Add documentation for FcFini function.
2454 * doc/edit-sgml.c: Mark several local functions as static. Add
2457 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2459 2003-06-15 Tor Lillqvist <tml@iki.fi>
2461 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2462 before comparing (needed on Windows).
2464 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2466 2003-06-13 Tor Lillqvist <tml@iki.fi>
2468 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2471 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2472 WINDOWSFONTDIR token.
2474 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2475 end, not to confuse libtool, which expects the EXPORTS line to be
2476 the first. Add FcConfigEnableHome.
2478 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2479 built as a DLL on Win32.
2481 2003-06-09 Keith Packard <keithp@keithp.com>
2483 * Tag version 2.2.90
2485 2003-06-09 Keith Packard <keithp@keithp.com>
2487 * Optimization in FcLangSetIndex was broken, occasionally
2488 returning a pointer to the wrong location on miss
2490 * Add fc-match to test font matching from the command line.
2492 2003-05-31 Keith Packard <keithp@keithp.com>
2494 * (Bug 85) add support for culmus fonts
2495 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2496 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2498 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2500 * Fix "contains" op for strings and langsets.
2502 2003-05-17 Keith Packard <keithp@keithp.com>
2504 * Fix build error with BDF prop local. Free langset after query
2506 2003-05-14 Keith Packard <keithp@keithp.com>
2508 * Extract spacing from XLFD atom
2510 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2512 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2513 disappeared in 1.30.
2515 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2517 2003-05-12 Keith Packard <keithp@keithp.com>
2519 * Use FcIsWidth to share code
2521 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2522 misclassifying some Han fonts as monospaced.
2524 2003-05-07 Keith Packard <keithp@keithp.com>
2526 * Add filename-based accept/reject to ammend available fonts.
2528 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2529 older FreeType releases.
2531 2003-05-06 Keith Packard <keithp@keithp.com>
2533 * Remove 0b82 and Tamil numbers from tamil
2534 orthography (Jungshik Shin <jshin@mailaps.org>)
2536 2003-05-04 Keith Packard <keithp@keithp.com>
2538 + Map glyph names in fonts with adobe custom encoding to unicode
2540 2003-05-02 Keith Packard <keithp@keithp.com>
2542 * Add FC_WEIGHT_BOOK as weight 75
2544 2003-04-30 Keith Packard <keithp@keithp.com>
2546 * Typo in bitstream foundry name
2548 2003-04-24 Keith Packard <keithp@keithp.com>
2550 * Eliminate italic_angle check for PS fonts
2552 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2554 * Getting closer to fixing /etc/fonts hard-coding.
2556 2003-04-22 Keith Packard <keithp@keithp.com>
2558 * Update autogen.sh to work with newer automake versions
2559 * Handle pattern elements moving during multiple edits
2561 2003-04-23 James Henstridge <james@daa.com.au>
2563 * doc/fontconfig-devel.sgml: close the <para> element.
2565 * doc/fcpattern.fncs: close the <para> element.
2567 * doc/func.sgml: close the <refsynopsisdiv> element.
2569 2003-04-22 Keith Packard <keithp@keithp.com
2571 * Update autogen.sh to work with newer automake versions
2572 * Handle pattern elements moving during multiple edits
2574 2003-04-17 Colin Walters <walters@debian.org>
2576 + Remove some unused variables, and initialize some other ones so
2577 gcc doesn't warn us.
2579 2003-04-16 Keith Packard <keithp@keithp.com>
2581 + tag version 2.1.94
2583 2003-04-16 Keith Packard <keithp@keithp.com>
2585 + add BDF property fetching support for foundry
2586 (from Juliusz Chroboczek)
2587 + add BDF property fetching support for width
2589 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2591 + Implemented foundry generation for Type 1 and TrueType
2593 2003-04-11 Gerard Escalante <g2@magestudios.net>
2595 + Retrieve information from Type1 FontInfo dictionaries
2597 2003-04-07 Colin Walters <walters@verbum.org>
2599 + src/Makefile.am: Fix dummy makefile target names when
2600 MS_LIB_AVAILABLE isn't set.
2602 2003-03-22 Tor Lillqvist <tml@iki.fi>
2604 Changes for Windows:
2606 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2608 + We don't want to hardcode the fonts.conf file location in the
2609 DLL, so we look up the DLL location at run-time in a DllMain()
2610 function. The fonts.conf location is deduced from that.
2612 + The colon can't be used as path separator on Windows,
2613 semicolon is used instead. File path components can be separated
2614 with either slash or backslash. Absolute paths can also begin
2615 with a drive letter.
2617 + Add internal function FcStrLastSlash that strrchr's the last
2618 slash, or backslash on Windows.
2620 + There is no link() on Windows. For atomicity checks, mkdir a
2621 lock directory instead.
2623 + In addition to HOME, also look for USERPROFILE.
2625 + Recognize the special font directory token WINDOWSFONTDIR, to
2626 use the system's font directory.
2628 + Remove the fontconfig-def.cpp that was obsolete. Add
2629 fontconfig.def(.in), without internal functions.
2631 + Add a fontconfig-zip(.in) script, used to build a binary
2634 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2635 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2636 to main package and man3/* to devel package
2638 + Added missing defattr(-, root, root) to main RPM package
2640 + Added HTML and text development documentation to -devel subpackage
2642 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2643 + Added back the configure macro options --disable-docs, otherwise
2644 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2645 version number) unconditionally, causing RPM to fail the build due
2646 to _unpackaged_files_terminate_build. We pick up the pregenerated
2647 docs with %doc already.
2649 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2650 + Removed commented out rpm macro define at top of spec file,
2651 replacing it with a simple explanation, since rpm macros are
2652 expanded by rpm even in comments.
2654 + Changed /usr/bin to _bindir in BuildRequires lines
2656 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2658 + Reorganized file manifest lists
2660 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2662 + fontconfig.spec.in: Improvements from Red Hat spec file.
2664 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2666 + docs/*.sgml: SGML fixes.
2668 Sat Mar 1 17:28:53 PST 2003 keithp
2669 + Ok, so the ChangeLog is a bit out of date
2671 + Lots of bugs fixed; most are in bugzilla, the
2672 biggest problems were in cache management where
2673 Owen discovered the library would lose badly when
2674 combining fonts-cache and ~/.fonts-cache data
2676 + Converted from autoconf to automake. This after
2677 getting patches accepted into libtool to allow
2678 the '-version-number' argument which lets
2679 packages set version numbers explicitly rather
2680 than the roundabout libtool way
2682 + Converted documentation to SGML using the docbook
2683 DTD. Now .txt and .html documents are installed
2684 in /usr/share/doc/fontconfig and there's no
2685 man page. Perhaps a man version can be written
2688 Sat Aug 31 15:21:22 PDT 2002 keithp
2689 + Xrender and Xft had several bugs related to
2690 rendering manually placed or poly-face text
2692 + Added more complete memory tracing in fontconfig
2693 Checked with (patched) mozilla and found no leaks
2695 + Updated Latin orthographies by comparing those from
2696 evertype.com with those from eki.ee. Tried to make
2697 sensible choices, including chars that occured in both
2698 and leaving some optional chars out that occured only
2701 Mon Aug 26 16:33:04 PDT 2002 keithp
2702 + Owen discovered that FcLangSetHasLang wasn't actually
2703 checking the language set.
2705 Mon Aug 26 13:37:23 PDT 2002 keithp
2706 + Append a version number to cache filenames
2708 Thu Aug 22 11:36:18 PDT 2002 keithp
2710 + Add "contains" and "not_contains" operators and elements to
2713 + Changed semantics of eq operator for LangSets to check for
2714 FcLangEqual so that any match will do
2716 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2717 of FcValueEqual to check for identical values when inserting into
2718 the results. This broke when the above semantic change was made,
2719 now it uses FcValueEqual which is "more correct" in any case.
2721 Thu Aug 22 00:32:29 PDT 2002 keithp
2723 + Reimplement FC_LANG as new datatype. Lists of strings
2724 was consuming over a megabyte of memory for 401 fonts.
2726 + Freeze patterns loaded from cache files. This shares
2727 common value lists and common patterns which saves
2728 considerable memory.
2730 + Change the denotation of 'constant' charsets to use special
2731 ref value instead of separate boolean.
2733 + Clean up leak tracing stuff, found several unannoted alloc/free
2736 Tue Aug 20 16:17:37 PDT 2002 keithp
2738 + Fix memory leak when parsing matrices from XML
2740 Mon Aug 19 11:57:27 PDT 2002 keithp
2742 + Fix autoconf files to pass FONTCONFIG_PATH on
2743 compile line so that ${prefix} gets substituted
2746 + Use getc_unlocked/putc_unlocked on systems that
2747 provide them to avoid damage done to stdio by posix
2749 + Eliminate FC_PATTERN and FcTypePattern in favor of
2750 an extended api for FcConfigSubstitute which takes
2751 both the font and the pattern.
2753 + Add 'sans serif' alias for 'sans-serif' as some apps
2754 can't handle hyphens in family names
2756 + Eliminate pretense of support for libxml2
2758 + Comment origins of Han orthographies
2760 Tue Jul 30 18:37:09 PDT 2002 keithp
2762 + Add binding property to edit element so that strong
2763 binding values may be inserted by the config file.
2764 The default remains weak.
2766 Sun 28 Jul 04:16:55 PDT 2002 keithp
2768 + Tagged release candidate 1 in the CVS tree and
2769 placed fcpackage.rc1.tar.gz for distribution
2771 Thu Aug 1 08:55:08 PDT 2002 keithp
2773 + Fixed autoconf builds to always specify install
2774 target files (for BSD). Also fixed to
2775 define FONTCONFIG_PATH in config.h so that
2776 nonstandard installs will actually work.