1 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
6 Fix world's tiniest typo in code example.
8 2006-01-29 Mike Fabian <mfabian@suse.de>
11 * src/fccache.c (FcGlobalCacheReadDir):
13 Fix global cache reads of subdirectories.
15 2006-01-29 Patrick Lam <plam@mit.edu>
17 Add documentation for FcConfigNormalizeFontDir.
19 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
20 FcGlobalCacheUpdate, FcGlobalCacheSave):
21 * src/fcdir.c (FcDirScanConfig):
24 Write directory information to global caches to fix make check
25 (reported by Ronny V. Vindenes). This changes the global cache
28 2006-01-27 Patrick Lam <plam@mit.edu>
29 * fc-cache/fc-cache.c (scanDirs):
30 * fontconfig/fontconfig.h:
32 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
34 Move FcConfigNormalizeFontDir call so that it doesn't result in
35 infinite recursion (reported by Ronny V. Vindenes).
37 2006-01-26 Patrick Lam <plam@mit.edu>
38 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
39 * src/fccfg.c (FcConfigNormalizeFontDir):
41 Add a couple of missing normalizations to make fc-cache work
42 right; only scan subdirectories once.
44 2006-01-26 Mike Fabian <mfabian@suse.de>
47 * src/fcacache.c (FcGlobalCacheReadDir):
49 Don't crash on non-existant directories in global cache.
51 2006-01-26 Patirck Lam <plam@mit.edu>
52 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
53 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
54 * src/fcdir.c (FcDirScanConfig):
55 * src/fcxml.c (FcEndElement):
57 Stop trampling the directory name when writing out caches.
58 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
59 subdirs when necessary. Don't scan directories that can't be
62 2006-01-25 Patrick Lam <plam@mit.edu>
63 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
64 * src/fccfg.c (FcConfigEvaluate):
65 * src/fcfreetype.c (FcPatternAddWithBinding):
67 Fix additional memory leaks reported by Ronny V. Vindenes: don't
68 invoke FcValueSave on hashed static strings in
69 FcPatternAddWithBinding.
71 Add another st_dev check in FcDirCacheOpen.
73 2006-01-24 James Su <james.su@gmail.com>
76 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
79 Treat zh-hk fonts differently from zh-tw fonts. This patch may
80 cause fontconfig to treat A-X fonts differently from A-Y fonts;
81 please mail the fontconfig list if this causes any problems.
83 2006-01-24 Patrick Lam <plam@mit.edu>
84 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
85 * src/fcfreetype.c (FcFreeTypeQuery):
87 Fix memory leaks reported by Ronny V. Vindenes.
89 2006-01-19 Andreas Schwab <schwab@suse.de>
92 * src/fcpat.c (FcStrNeededBytes):
94 Fix for unaligned memory accesses.
96 2006-01-18 Mike Fabian <mfabian@suse.de>
99 * src/fcdir.c (FcDirScanConfig):
101 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
102 calls to avoid crashes.
104 2006-01-14 Patrick Lam <plam@mit.edu>
105 * src/fccache.c (FcDirCacheConsume):
107 Fix segfault when consuming zero-length caches in fc-cat
108 (which has no config, so FcConfigAddFontDir shouldn't be called.)
110 2006-01-14 Patrick Lam <plam@mit.edu>
111 * fc-cache/fc-cache.c (scanDirs):
112 * fontconfig/fontconfig.h:
113 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
114 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
115 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
116 * src/fcdir.c (FcDirScanConfig):
119 Compare device numbers as well as inodes.
120 Always normalize directory names before comparing them.
122 2006-01-11 Mike Fabian <mfabian@suse.de>
125 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
127 Allocate extra space for appended '/' in directory name.
129 2006-01-10 Patrick Lam <plam@mit.edu>
130 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
131 FcDirCacheValid, FcDirCacheHasCurrentArch,
132 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
133 * fc-cache/fc-cache.c (main):
135 Explicitly add font dirs to config.fontDirs even if they're empty.
136 Set current config in fc-cache.c.
137 Fix treatment of cache directory as read from cache file; don't
138 use string equality to determine if we have the right file,
141 2006-01-09 Patrick Lam <plam@mit.edu>
142 * fc-cache/fc-cache.c (scanDirs):
143 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
144 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
145 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
146 * src/fccfg.c (FcConfigNormalizeFontDir):
147 * src/fcdir.c (FcDirScanConfig):
150 Normalize font dirs by using the form, as given in fonts.conf, and
151 recorded in FcConfig's fontDirs string set, as canonical.
153 Actually update config.fontDirs as font directories are scanned.
155 2006-01-08 James Su <james.su@gmail.com>
156 * src/fcmatch.c (FcFontSetMatch):
158 Fix matching bug when multiple elements match; don't use
159 the sum of all scores, but the best score.
161 Also more perf opts, e.g. evaluate best over all font sets
162 rather than on a per-set basis (and other changes).
164 2006-01-08 Patrick Lam <plam@mit.edu>
165 * src/fccache.c (FcDirCacheConsume):
167 Properly skip past dir caches that contain zero fonts (as occurs
168 in global caches.) Reported by Mike Fabian.
170 2006-01-06 Patrick Lam <plam@mit.edu>
171 * src/fcdbg.c (FcPatternPrint):
173 Print out full pathname in fc-match -v as well. Reported by
176 2006-01-06 Mike Fabian <mfabian@suse.de>
179 * src/fcname.c (FcNameParse):
181 Fix bug where fc-match crashes when given __DUMMY__ property to
184 (I added the __DUMMY__ string to enable callers of
185 FcObjectToPtrLookup to distinguish an error return from a
186 successful return. -PL)
188 2006-01-05 Patrick Lam <plam@mit.edu>
191 Add self to AUTHORS list.
193 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
194 FcCacheFileRead, FcCachePrintSet, main):
195 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
196 FcGlobalCacheSave, FcCacheNextOffset,
197 FcDirCacheHasCurrentArch, FcDirCacheRead,
198 FcDirCacheConsume, FcDirCacheWrite):
200 * src/fcpat.c (comment):
202 Minor change to global cache file format to fix fc-cat bug
203 reported by Frederic Crozat, and buglet with not globally caching
204 directories with zero fonts cached.
206 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
209 * src/fccfg.c (FcConfigEvaluate):
211 Fix double-free which occurs because FcValueCanonicalize doesn't
212 create an extra copy of the returned value, it only canonicalizes
215 2006-01-02 Patrick Lam <plam@mit.edu>
216 * doc/fontconfig-user.sgml:
218 Fix version of .cache file (currently 1 -> currently 2). Reported
221 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
224 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
226 Shut up GCC warnings on amd.
228 2005-12-20 Patrick Lam <plam@mit.edu>
232 * fontconfig/fontconfig.h:
234 Bump version to 2.3.93.
236 2005-12-20 Patrick Lam <plam@mit.edu>
237 * src/fccharset.c (FcLangCharSetPopulate):
238 * src/fcint.h (FcCacheBankToIndex):
240 Avoid check on _fcBankId nullness and fix case where it used to
243 2005-12-20 Patrick Lam <plam@mit.edu>
244 * src/fcxml.c (FcConfigParseAndLoad):
246 Use open instead of fopen (requested by Phil Race for Sun).
248 2005-12-20 Patrick Lam <plam@mit.edu>
249 * src/fccache.c (FcDirCacheWrite);
250 * fc-cache/Makefile.am:
252 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
255 2005-12-20 Patrick Lam <plam@mit.edu>
256 * src/fcfreetype.c (FcFreeTypeQuery):
258 Restore code to skip over PCF fonts that have no encoded
260 (We guess that a font is PCF by presence of the PIXEL_SIZE
263 2005-12-12 Patrick Lam <plam@mit.edu>
264 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
266 Read and write the original location as a fallback for the
267 hashed cache file locations. This is mostly for users to be
268 able to have per-directory cache files.
270 2005-12-12 Patrick Lam <plam@mit.edu>
271 * fc-cache/fc-cache.c (scanDirs):
272 * fc-cache/Makefile.am:
273 * src/fccache.c (FcDirCacheHashName):
275 Improve error message when fc-cache can't write the cache. Add
276 missing slash. Reported by Behdad. Incorporate Behdad's patch to
277 create /var/cache/fontconfig when appropriate.
279 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
282 * src/fcxml.c (FcConfigGetAttribute):
284 Fix crash reported by Frederic Crozat when using libxml2.
286 2005-12-09 Patrick Lam <plam@mit.edu>
289 * fc-cache/Makefile.am:
290 * fc-cat/Makefile.am:
292 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
293 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
294 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
295 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
296 FcDirCacheHasCurrentArch, FcDirCacheHashName,
297 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
299 Migrate cache files from fonts directories to
300 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
301 but requires that all caches get rebuilt.
303 Also, autogen.sh now needs the additional parameter
304 --localstatedir=/var.
306 2005-12-07 Patrick Lam <plam@mit.edu>
307 * src/fcpat.c (FcPatternAddString):
309 Because we've changed FcPatternAddString to use FcStrStaticName
310 and not FcValueSave, explicitly handle the case of a null string.
312 2005-12-06 Patrick Lam <plam@mit.edu>
313 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
317 2005-12-05 Patrick Lam <plam@mit.edu>
318 * src/fcname.c (FcNameGetObjectType):
320 Don't assign types to user object names.
322 2005-12-05 Patrick Lam <plam@mit.edu>
323 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
325 Don't free strings that have been returned from FcStrStaticName.
327 2005-12-01 Patrick Lam <plam@mit.edu>
328 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
330 Add codepath for reading global cache files as well.
332 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
335 * conf.d/10-fonts.persian.conf:
336 * conf.d/Makefile.am:
338 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
340 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
343 * src/fcxml.c (FcConfigParseAndLoad):
345 Only add a config file to the set of config files once.
347 2005-11-29 Patrick Lam <plam@mit.edu>
348 * src/fcint.h (FcCacheBankToIndex);
350 Fix segfault by guarding array dereference.
352 2005-11-29 Dirk Mueller <dmueller@suse.de>
356 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
357 FcCacheBankToIndex, FcCacheBankToIndexMTF,
361 Refactor FcCacheBankToIndex into an inlineable part
362 (in fcint.h) which checks the front of the list and a
363 non-inlineable part which finds and moves the appropriate element
364 to the front of the list.
366 2005-11-29 Patrick Lam <plam@mit.edu>
367 * src/fccfg.c (FcConfigBuildFonts):
368 * src/fccache.c (FcCacheReadDirs):
370 Make the perf guys hate me a bit less: hoist the directory-name
371 FcConfigAcceptFont check for cached fonts up to directory cache
372 read time, rather than running it for each font.
374 2005-11-29 Patrick Lam <plam@mit.edu>
375 * src/fccfg.c (FcConfigBuildFonts):
377 * src/fcpat.c (FcPatternFindFullFname):
379 Don't make FcPatternFindFullFname available to fccfg, it's not
380 really safe. Instead go through FcPatternGetString (sorry,
381 perf guys.) Also, use globs for dirs as well.
383 2005-11-28 Patrick Lam <plam@mit.edu>
384 * src/fccfg.c (FcConfigBuildFonts):
388 2005-11-28 Patrick Lam <plam@mit.edu>
390 * src/fcpat.c (FcPatternFindFullFname):
391 * src/fccfg.c (FcConfigBuildFonts):
393 Fix problem dating back at least to 2.3.2 where globs weren't
394 being applied to patterns loaded from a cache.
396 2005-11-28 Patrick Lam <plam@mit.edu>
397 * doc/fontconfig-user.sgml:
399 Fix some obvious spelling mistakes.
401 2005-11-28 Dirk Mueller <dmueller@suse.com>
402 Stephan Kulow <coolo@suse.de>
405 * src/fcmatch.c (FcFontSetMatch):
407 Don't kill all fonts during match (oops!)
410 2005-11-25 Dirk Mueller <dmueller@suse.com>
411 Stephan Kulow <coolo@suse.de>
412 Michael Matz <matz@suse.de>
415 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
418 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
419 inline FcCompare into FcFontSetMatch and reorder the
420 loops, adding a boolean array which blocks patterns from future
421 consideration if they're known to not be best on some past
424 2005-11-26 Dirk Mueller <dmueller@suse.com>
427 * src/fcmatch.c (FcCompareValueList):
431 2005-11-25 Patrick Lam <plam@mit.edu>
432 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
434 Don't do random matching when bad objects are passed into
437 2005-11-25 Patrick Lam <plam@mit.edu>
439 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
440 FcPatternSerialize, FcPatternUnserialize,
441 FcValueListEnsureBank, FcValueListDistributeBytes,
442 FcValueListUnserialize):
444 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
445 _fcPatternElts, _fcValueLists for consistency.
447 2005-11-25 Dirk Mueller <dmueller@suse.com>
452 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
454 2005-11-25 Patrick Lam <plam@mit.edu>
456 * src/fccache.c (FcDirCacheConsume):
457 * src/fccharset.c (FcCharSetUnserialize):
458 * src/fcfs.c (FcFontSetUnserialize):
459 * src/fclang.c (FcLangSetUnserialize):
460 * src/fcname.c (FcObjectUnserialize):
461 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
462 FcPatternUnserialize):
464 Pass around FcCache *s to the Unserialize functions for extra
465 consistency (and less overhead, for what that's worth).
467 2005-11-24 Dirk Mueller <dmueller@suse.com>
471 * src/fcmatch.c (FcCompare*, FcFontSetSort):
472 * src/fcname.c (FcNameUnparseValue):
474 Inline the *PtrU functions to gain perf.
475 Remove unneeded params for the FcCompare* functions.
477 2005-11-24 Dirk Mueller <dmueller@suse.com>
480 * src/fcint.h, fontconfig/fontconfig.h:
482 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
484 * src/fcpat.c, src/fcint.h, src/fcname.c:
486 Check for type validity during FcPatternAddWithBinding, don't
487 verify type in FcFontMatch, don't call FcCanonicalize here
488 (which always does a deep copy).
490 2005-11-24 Dirk Mueller <dmueller@suse.com>
493 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
494 * src/fcpat.c (FcPatternAddWithBinding):
496 Make FcCompareString and FcCompareFamily less expensive.
497 Only add a value for FC_FAMILY if the proposed value is a string.
499 2005-11-24 Dirk Mueller <dmueller@suse.com>
502 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
503 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
504 * src/fcint.h (FcDebug):
506 Inline FcDebug invocations and only initialize once, in FcInit*.
507 Improve debug msg in FcPatternPrint.
509 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
512 * fontconfig/fontconfig.h:
515 Minor code warning cleanups.
517 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
520 * fc-match/fc-match.c (main):
522 Make getopt_long accept -s parameter to fc-match as well.
524 2005-11-21 Dirk Mueller <dmueller@suse.com>
527 * src/fcmatch.c (FcCompareValueList):
529 Manually perform inlining & partial redundancy elimination to
530 reduce calls to FcValueListPtrU.
532 2005-11-21 Dirk Mueller <dmueller@suse.com>
535 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
536 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
538 Only invoke strlen() when really necessary.
540 2005-11-19 Matthias Clasen <mclasen@redhat.com>
544 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
549 Get rid of the use of freetype internal headers in fcfreetype.c,
550 since those headers will go away with freetype 2.2. Replace with
551 public domain ftglue code from pango. Note that the patch removes
552 some extra error checking in FT_Get_BDF_Property() and comments
553 out the skipping of empty pcf fonts.
555 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
558 * fc-lang/fc-lang.c (main):
560 Further fix of patch from 2005-11-04: miscounted numbers count
561 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
562 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
564 Removed leafidx_count and numbers_count since they are the same
565 and replaced them with offset_count.
567 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
570 * fc-cat/fc-cat.c (main):
572 Don't crash when fc-cat invoked with no arguments.
574 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
577 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
579 Fix invalid read access caused by premature free and
580 GCC4 warnings in libxml2 codepath.
582 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
585 * src/fccfg.c (FcConfigValues):
587 List iteration not needed in FcConfigValues, since it's building
588 up the list itself; we can just strip FcVoid elements during
591 2005-11-17 Patrick Lam <plam@mit.edu>
592 * src/fccfg.c (FcConfigValues):
594 Fix crash on invalid constants in config files (forgot to update
595 a pointer upon list iteration.)
597 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
600 * src/fcxml.c (FcTypecheckExpr):
602 Complain about invalid constants in config files.
604 2005-11-17 Andreas Schwab <schwab@suse.de>
607 * src/fccache.c (FcGlobalCacheSave):
609 Don't add current_arch_start more than once.
611 2005-11-16 Patrick Lam <plam@mit.edu>
612 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
613 * src/fcfs.c (FcFontSetUnserialize):
614 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
615 * src/fcpat.c (FcStrUnserialize):
617 Fix ordering of ALIGN with respect to saving block_ptr; add
618 another ALIGN to fcfs.c.
620 2005-11-16 Patrick Lam <plam@mit.edu>
621 * src/fccache.c (FcDirCacheProduce)
623 Fix case where alignment bytes bumped up metadata->count
624 causing unwarranted failures to write cache files.
625 (Reported by Stephan Kulow).
627 2005-11-16 Patrick Lam <plam@mit.edu>
628 * src/fccache.c (FcDirCacheProduce):
629 * src/fccharset.c (FcCharSetDistributeBytes):
630 * src/fcfs.c (FcFontSetDistributeBytes):
632 * src/fclang.c (FcLangSetDistributeBytes):
633 * src/fcname.c (FcObjectDistributeBytes):
634 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
637 Add *NeededBytesAlign(), which overestimates the padding which is
638 later added by the new ALIGN macro. Fix alignment problems on
639 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
640 version by Andreas Schwab).
642 2005-11-16 Stephan Kulow <coolo@kde.org>
647 Use sysconf to determine proper PAGESIZE value; this
648 appears to be POSIX-compliant. (reported by Andreas Schwab)
650 2005-11-04 Patrick Lam <plam@mit.edu>
656 Fix bug 2878 (excessive relocations at startup for charsets,
657 reported by Ross Burton): fc-lang/fc-lang now creates the
658 static form of the langset, not the dynamic form, so that
659 the charsets should now be in .rodata.
661 2005-11-04 Patrick Lam <plam@mit.edu>
662 * src/fcdir.c (FcDirScanConfig):
664 Add test for validity of directory caches that
665 somehow got lost (reported by make distcheck).
667 2005-11-04 Patrick Lam <plam@mit.edu>
671 * fontconfig/fontconfig.h:
673 Bump version to 2.3.92.
675 2005-11-02 Patrick Lam <plam@mit.edu>
676 * src/fcpat.c (FcPatternDuplicate):
678 Fix argument ordering problem in call to FcPatternTransferFullFname.
680 2005-11-02 Patrick Lam <plam@mit.edu>
681 * src/fcfreetype.c (FcFreetypeQuery):
682 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
683 FcPatternTransferFullFname):
685 Fix warnings and embarrassing double-free error.
687 2005-11-02 Zhe Su <zsu@novell.com>
692 Change the rule for artificial emboldening in fonts.conf.in. This
693 enables the support for artificial emboldening included in cairo.
695 2005-11-02 Patrick Lam <plam@mit.edu>
696 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
698 Don't zero out full names for FC_REF_CONSTANT fonts;
699 also, duplicate full names when transferring, and free
700 full names when freeing the associated font.
701 Reported by Jinghua Luo.
703 2005-11-02 Patrick Lam <plam@mit.edu>
704 * fc-cache/fc-cache.c (scanDirs):
705 * src/fcpat.c (FcValueListSerialize):
707 Revert the previous patch and commit the correct patch:
708 I forgot a canonicalization in FcValueListSerialize, so
709 that it would choke on already-serialized input files. Duh!
711 2005-11-02 Patrick Lam <plam@mit.edu>
712 * fc-cache/fc-cache.c (scanDirs):
714 Forcibly rescan a directory before writing a fresh local
715 cache file for that directory, fixing the losing-fonts
716 problem reported by Mike Fabian and also apparently the
717 font cache file corruption.
719 2005-11-02 Patrick Lam <plam@mit.edu>
720 * src/fccache.c (FcGlobalCacheLoad):
722 Fix thinko: actually, the whole global cache is stale
723 if the global cache is older than the (newest) config file.
725 2005-11-02 Patrick Lam <plam@mit.edu>
726 * src/fccache.c (FcGlobalCacheLoad):
727 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
730 Declare the global cache of a directory's contents to be stale if
731 the directory is newer than the (newest) configuration file.
733 2005-10-31 Patrick Lam <plam@mit.edu>
735 * src/fclist.c (FcListAppend):
736 * src/fcmatch.c (FcFontRenderPrepare):
737 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
738 FcPatternFreeze, FcPatternBaseFreeze):
740 Copy the full pathname whenever duplicating an FcPattern; otherwise,
741 applications continue breaking.
743 2005-10-31 Patrick Lam <plam@mit.edu>
744 * fc-cat/fc-cat.c (FcCacheFileRead, main):
745 * src/fcfreetype.c (FcFreeTypeQuery):
747 Fix small memory error (tried to free argv); use basename and
748 dirname correctly (they can modify their arguments).
750 2005-10-31 Patrick Lam <plam@mit.edu>
758 Reinstate basename patch, but keep a hash table linking FcPatterns
759 to their fully-qualified font names for clients' benefit. Clients
760 only pay for the font names once they request the FC_FILE property
761 from an FcPattern, but the font name is malloc'd at that point (i.e.
762 not mmapped: that's impossible, since it may vary between machines.)
763 Clients do have to pay for a copy of the path name per cache file.
765 Note that FcPatternGetString now does some rewriting if you ask
766 for an FC_FILE, appending the pathname as appropriate.
768 2005-10-31 Patrick Lam <plam@mit.edu>
769 * src/fcfreetype.c (FcFreeTypeQuery):
771 Revert basename patch, which breaks fontconfig clients on my system.
773 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
776 * fontconfig/fonts.conf.in:
777 * fontconfig/fontconfig.h:
781 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
782 to load embedded bitmaps or not.
784 2005-10-25 Patrick Lam <plam@mit.edu>
785 * src/fcfreetype.c (FcFreeTypeQuery):
787 Only add basename to patterns' FC_FILE element, not any part of
790 2005-10-22 Patrick Lam <plam@mit.edu>
793 Add some more consts, fixing more GCC4 warnings.
795 2005-10-22 Zhe Su <zsu@novell.com>
798 Support localized font family and style names.
799 This has been reported to break old apps like xfd, but modern
800 (gtk+/qt/mozilla) apps work fine.
802 2005-10-21 Patrick Lam <plam@mit.edu>
803 * src/fccache.c (FcGlobalCacheLoad):
805 Destroy the global cache file if it's terminally broken. (reported by
808 2005-10-21 Patrick Lam <plam@mit.edu>
809 * fc-list/fc-list.c (main):
810 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
811 * fontconfig/fontconfig.h:
813 Prevent fc-list from escaping strings when printing them (reported by
816 2005-10-20 Marcus Meissner <meissner@suse.de>
819 * fontconfig/fontconfig.h:
821 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
823 2005-10-14 Ross Burton <ross@burtonini.com>
826 * fc-glyphname/fc-glyphname.c:
829 Add consts to variables so as to move arrays into .rodata.
831 2005-10-14 Mike Fabian <mfabian@suse.de>
834 * src/fccache.c (FcDirCacheUnlink):
836 Check existence of directory cache file before attempting to unlink.
838 2005-10-13 Patrick Lam <plam@mit.edu>
839 * src/fccache.c (FcDirCacheUnlink):
841 Fix flipped return value on unlink. (Reported by Mike Fabian)
843 2005-10-12 Patrick Lam <plam@mit.edu>
846 * src/fcdir.c (FcDirScanConfig):
849 When fc-cache is run without --force, use directory cache files
850 to speed up fc-cache run time. (Reported by Mike Fabian)
852 2005-10-06 Patrick Lam <plam@mit.edu>
854 * src/fcname.c (FcObjectToPtr):
855 * src/fcpat.c (FcStrStaticName):
857 Add padding to make valgrind and glibc not hate each other
858 when calling strlen().
860 2005-10-05 Simos Xenitellis <simos74@gmx.net>
861 reviewed by: plam & keithp
865 Modify config file to use Greek fonts before Asian fonts with
868 2005-10-05 Christian Biesinger <cbiesinger@web.de>
869 reviewed by: plam & keithp
873 Use libtool -no-undefined flag on all platforms.
875 2005-10-05 Patrick Lam <plam@mit.edu>
876 * src/fccache.c (FcCacheHaveBank):
878 Implement move-to-front array for banks (perf regression
879 reported by Ronny V. Vindenes).
881 2005-10-04 Patrick Lam <plam@mit.edu>
882 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
883 FcDirCacheHasCurrentArch):
884 * fc-cache/fc-cache.c (scanDirs):
885 * fontconfig/fontconfig.h:
887 Add new API which unlinks directory caches and checks dir caches
888 for existence of appropriate sections. Fix fc-cache to unlink
889 stale cache files and save directory caches that lack relevant
892 2005-10-03 Patrick Lam <plam@mit.edu>
893 * src/fccache.c (FcDirCacheValid):
895 Ensure that a directory cache has the appropriate section
896 before reporting that it is valid (reported by Matthias Clasen).
898 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
906 Use libxml2 if requested (with --enable-libxml2) or if
907 expat is not available.
909 2005-09-29 Patrick Lam <plam@mit.edu>
910 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
912 Fix multi-arch cache files: compute the position for the
913 block to be added using info from OrigFile, not NewFile.
915 2005-09-28 Patrick Lam <plam@mit.edu>
916 * src/fccache.c (FcCacheMachineSignature):
918 Cast results of sizeof() to unsigned int to get rid of
919 warnings on x86_64 (thanks Matthias Clasen).
921 2005-09-27 Patrick Lam <plam@mit.edu>
922 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
925 Use FcAtomic to rewrite cache files.
927 2005-09-27 Patrick Lam <plam@mit.edu>
929 * src/fccache.c (FcDirCacheWrite):
931 Don't unlink the fonts.cache-2 file even if there's no data
932 to write; just write an empty cache file. (thanks Lubos Lunak)
934 2005-09-27 Patrick Lam <plam@mit.edu>
936 * src/fccache.c (FcDirCacheWrite):
938 Allocate room for the subdirectory names in each
939 directory cache. Thanks to James Cloos for finding
940 and diagnosing this bug!
942 2005-09-22 Patrick Lam <plam@mit.edu>
944 * fc-cache/fc-cache.sgml:
945 * src/fccache.c (FcDirCacheWrite):
946 * src/fccache.h (struct FcCache):
948 Update documentation -- fc-cache's man page now says that you
949 need to run fc-cache once per cached architecture; add some
950 documentation to the FcCache structure.
952 Make fc-cache write out fonts.cache-2 files for directories with
953 no fonts (i.e. only subdirectories).
955 2005-09-22 Patrick Lam <plam@mit.edu>
957 * fc-cache/fc-cache.sgml:
959 * fc-glyphname/fc-glyphname.c:
965 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
970 * fontconfig/fcprivate.h:
971 * fontconfig/fontconfig.h:
985 Implement new mmaped cache for font information.
986 Bump so revision to 2.3.90.
988 2005-07-25 Keith Packard <keithp@keithp.com>
990 * doc/fontconfig-user.sgml:
991 * fc-glyphname/fc-glyphname.c: (scan), (main):
992 * fc-lang/fc-lang.c: (FcConfigHome):
993 * fc-match/fc-match.c: (main):
994 * src/fccfg.c: (FcConfigHome):
995 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
996 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
997 (addtag), (FcFontCapabilities):
998 * src/fcpat.c: (FcValueListEntCreate):
999 * src/fcstr.c: (FcStrCaseWalkerInit):
1000 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1002 Various GCC 4 cleanups for signed vs unsigned char
1004 Match only [0-9]*.conf files in <include>{directory}</include>
1005 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1007 2005-07-15 Carl Worth <cworth@cworth.org>
1010 * src/fcinit.c: (FcFini):
1011 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1014 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1015 Pull the FcObjectStateName hash table out to file scope, and add
1016 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1019 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1022 2005-06-16 Patrick Lam <plam@MIT.EDU>
1026 * src/fccfg.c: (FcConfigCompareValue):
1027 Make FcOpNotContains use FcStrStr for strings so that
1028 it matches semantics for !FcOpContains.
1030 2005-05-20 Keith Packard <keithp@keithp.com>
1034 Move fontconfig source package to libs as per override
1036 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1038 reviewed by: Mike Fabian
1041 The ka.orth file requires several characters which are not
1042 used anymore in modern Georgian and which are missing in the free
1043 Georgian TrueType fonts downloadable at:
1045 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1047 2005-04-27 Keith Packard <keithp@keithp.com>
1051 Update date to real 2.3.2 release date.
1052 Fix change attributions
1054 2005-04-27 Keith Packard <keithp@keithp.com>
1057 Bump so revision for 2.3.2
1058 * fc-cache/fc-cache.c: (scanDirs):
1059 Fix a few minor leaks in error cases.
1061 2005-04-23 Keith Packard <keithp@keithp.com>
1066 * fontconfig/fontconfig.h:
1067 Update for version 2.3.2
1069 2005-04-21 Keith Packard <keithp@keithp.com>
1071 * debian/fontconfig.postinst:
1072 Don't force bitmap font enable in default
1073 configuration; allows users to override this in
1083 * debian/po/pt_BR.po:
1084 * debian/po/templates.pot:
1086 * debian/po/zh_CN.po:
1087 Updated translations
1089 * fc-cache/fc-cache.c: (main):
1090 Destroy font configuration on exit to help valgrind
1093 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1094 (FcFreeTypeCheckGlyph):
1095 Use own transcoding routines in preference to iconv
1096 which appears to have leaks in some translators.
1097 Call iconv_close after using iconv (oops).
1099 Prefer unicode encoding of Euro char as some
1100 fonts mis-encode Euro in other ones.
1102 Must fetch bitmap glyphs to get width values
1103 to check for monospace/dual-width fonts.
1105 2005-04-13 Ross Burton <ross@burtonini.com>
1108 Check that a pattern isn't already frozen in FcPatternFreeze.
1110 2005-03-31 Ross Burton <ross@burtonini.com>
1115 Run all FcPattern objects through FcObjectStaticName, so that
1116 compares can be done on pointers instead of strings (#2659)
1118 2005-03-17 Tor Lillqvist <tml@novell.com>
1120 * src/fontconfig.def.in: Add the .dll to the dll name.
1122 2005-03-10 Keith Packard <keithp@keithp.com>
1124 * debian/README.Debian:
1125 Update to reflect configuration changes
1127 * debian/fontconfig.postinst:
1128 Fix Autohint vs Autohinter mistake
1129 * debian/fontconfig.templates:
1130 Adopt changes from Josselin Mouette for configuration descriptions
1131 Update debian to version 2.3.1-2
1133 2005-03-08 Keith Packard <keithp@keithp.com>
1137 Update debian for 2.3.1
1139 2005-03-09 Tor Lillqvist <tml@novell.com>
1141 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1144 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1147 2005-03-08 Keith Packard <keithp@keithp.com>
1151 * fontconfig/fontconfig.h:
1154 2005-03-05 Keith Packard <keithp@keithp.com>
1156 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1157 Include space and remove numbers from valid script tags.
1158 This ensures that tags like 'lao ' work while rejecting
1159 those which have any digits.
1160 Eliminate a spurious debugging variable (len)
1162 2005-03-05 Keith Packard <keithp@keithp.com>
1164 * src/fcfreetype.c: (addtag), (GetScriptTags),
1165 (FcFontCapabilities):
1166 Rework GSUB/GPOS script parsing to survive broken fonts.
1167 Thanks for the broken font go to Manish Singh
1169 2005-03-05 Keith Packard <keithp@keithp.com>
1174 * debian/fontconfig.config:
1175 * debian/fontconfig.templates:
1177 Include 2.3 release information in changelog
1178 Add Josselin Mouette as an Uploader
1179 Set hinting_type to low priority configuration option
1182 * debian/fontconfig.postinst:
1183 yes_bitmaps.conf -> yes-bitmaps.conf
1189 2005-03-02 Keith Packard <keithp@keithp.com>
1192 * conf.d/Makefile.am:
1193 * conf.d/autohint.conf:
1194 * conf.d/no-sub-pixel.conf:
1195 * conf.d/sub-pixel.conf:
1196 * conf.d/unhinted.conf:
1197 * debian/autohint.conf:
1198 * debian/fontconfig.install:
1199 * debian/fontconfig.postinst:
1200 * debian/fontconfig.templates:
1201 * debian/no-sub-pixel.conf:
1202 * debian/unhinted.conf:
1203 Move debian-specific conf file examples upstream.
1205 Sub-pixel configuration examples must smash subpixel value
1206 as Xft always sets it from X.
1208 Change sub-pixel rendering debconf descriptions from
1209 Enable/Disable to Always/Never.
1211 2005-03-02 Keith Packard <keithp@keithp.com>
1214 * conf.d/.cvsignore:
1216 Ignore more build detritus
1219 Add debian package construction stuff.
1221 * config/config.guess:
1222 * config/config.sub:
1223 Update to newer versions of these tools
1226 Get library manuals to build again (we love automake).
1228 * debian/README.Debian:
1229 * debian/autohint.conf:
1234 * debian/fontconfig-udeb.install:
1235 * debian/fontconfig.config:
1236 * debian/fontconfig.defoma:
1237 * debian/fontconfig.dirs:
1238 * debian/fontconfig.install:
1239 * debian/fontconfig.postinst:
1240 * debian/fontconfig.postrm:
1241 * debian/fontconfig.templates:
1242 * debian/libfontconfig1-dev.install:
1243 * debian/libfontconfig1.install:
1244 * debian/local.conf.md5sum:
1245 * debian/no-sub-pixel.conf:
1246 * debian/po/POTFILES.in:
1255 * debian/po/pt_BR.po:
1256 * debian/po/templates.pot:
1258 * debian/po/zh_CN.po:
1260 * debian/unhinted.conf:
1261 Update debian build system to switch maintainers and
1262 deal with 2.3 functionality
1264 2005-03-01 Keith Packard <keithp@keithp.com>
1268 * fontconfig/fontconfig.h:
1271 2005-03-01 Keith Packard <keithp@keithp.com>
1274 Generate and install PDF versions of the manuals
1276 * doc/fcpattern.fncs:
1279 * doc/fcstring.fncs:
1280 Add missing exported functions, fix data types
1282 * doc/fontconfig-devel.sgml:
1283 Add missing pattern elements.
1285 * doc/fontconfig-user.sgml:
1286 Add missing pattern elements. Document conf.d usage,
1287 clarify available orthography list. Fix some config file
1288 attributes. Complete list of constants.
1290 * fontconfig/fontconfig.h:
1291 Mark FC_SOURCE deprecated.
1293 * src/fcfreetype.c: (FcFreeTypeQuery):
1294 Don't set FC_SOURCE any longer.
1296 2005-02-28 Keith Packard <keithp@keithp.com>
1299 * conf.d/Makefile.am:
1301 * conf.d/no-bitmaps.conf:
1302 * conf.d/sub-pixel.conf:
1303 * conf.d/yes-bitmaps.conf:
1305 Create prototype /etc/fonts/conf.d directory with a few
1306 sample configuration files.
1307 Deprecate use of local.conf for local customizations in favor of
1308 this directory based scheme which is more easily integrated into
1309 installation systems.
1312 Tag FC_EMBOLDEN as a boolean variable
1314 2005-02-10 Keith Packard <keithp@keithp.com>
1316 reviewed by: pborelli@katamail.com
1318 * src/fcdir.c: (FcFileScanConfig):
1319 Free patterns from fonts which are rejected by configuration
1322 2005-01-28 Keith Packard <keithp@keithp.com>
1326 * fontconfig/fontconfig.h:
1327 Update for version 2.2.99
1329 2005-01-28 Keith Packard <keithp@keithp.com>
1332 Add a few pointers (#2284, #2285)
1334 2005-01-28 Keith Packard <keithp@keithp.com>
1337 * src/fcname.c: (FcNameBool):
1338 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1339 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1340 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1341 Polite typechecking for test and edit expressions. Helps
1342 catch errors in the font configuration. (bug 229)
1344 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1346 reviewed by: Keith Packard <keithp@keithp.com>
1349 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1351 2005-01-13 Keith Packard <keithp@keithp.com>
1353 * doc/fontconfig-user.sgml:
1354 Add SEE ALSO section (bug 2085)
1356 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1358 reviewed by: Keith Packard <keithp@keithp.com>
1363 * fc-case/Makefile.am:
1364 * fc-glyphname/Makefile.am:
1365 * fc-lang/Makefile.am:
1366 * src/fontconfig.def.in:
1367 Cross compiling fixes (bug 280)
1369 2005-01-13 Keith Packard <keithp@keithp.com>
1372 Update blanks list (Closes bug 86)
1374 2005-01-04 Keith Packard <keithp@keithp.com>
1376 * src/fccache.c: (FcCacheFontSetAdd):
1377 Verify that every font pattern loaded from cache has
1378 both FC_FILE and FC_FAMILY entries.
1379 Attempt to fix bug #2219.
1381 2004-12-29 Keith Packard <keithp@keithp.com>
1385 * fontconfig/fontconfig.h:
1386 Update for version 2.2.98
1388 2004-12-29 Keith Packard <keithp@keithp.com>
1390 * fontconfig/fontconfig.h:
1391 Document ASCII limitations of Fc character conversion macros
1392 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1393 Fix off-by-one error in utf-8 case walking code.
1394 Add FcStrDowncase (useful for testing case conversion functions)
1396 2004-12-29 Keith Packard <keithp@keithp.com>
1399 * fc-case/.cvsignore:
1400 clean up CVS ignore lists
1401 * fc-lang/iso-3166.txt:
1402 Add territory database
1404 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1406 Reviewed by: Keith Packard
1409 Remove Han characters from Korean orthography
1411 2004-12-29 Keith Packard <keithp@keithp.com>
1414 Reorder utility programs to make sure fc-case is run before fc-lang
1415 as fc-lang uses fcstr.c which uses fccase.h
1419 2004-12-29 Keith Packard <keithp@keithp.com>
1422 Adopt some RedHat suggestions for standard font configuration.
1426 * fc-case/CaseFolding.txt:
1427 * fc-case/Makefile.am:
1428 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1429 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1430 (dump), (parseRaw), (caseFoldReadRaw), (main):
1431 * fc-case/fccase.tmpl.h:
1432 Add new helper program 'fc-case' to construct case folding
1433 tables from standard Unicode CaseFolding.txt file
1436 * src/fclist.c: (FcListValueHash):
1437 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1438 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1439 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1440 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1441 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1442 Re-implement case insensitive functions with Unicode
1443 aware versions (including full case folding mappings)
1445 2004-12-13 Keith Packard <keithp@keithp.com>
1447 reviewed by: Owen Taylor <otaylor@redhat.com>
1449 * src/fcmatch.c: (FcFontSetSort):
1450 I changed FcFontSetSort to respect the generic aliases better
1451 in the face of language matching.
1453 What I did was to ammend the strict sort order used by FcFontSort so
1454 that it 'satisfies' the language specified in the pattern by locating
1455 the best matching font supporting each pattern language and then
1456 ignores language in the remaining fonts for purposes of matching.
1458 So, when asking for 'sans:lang=en', you'll get an English font first,
1459 and then the remaining fonts sorted with respect to the 'sans' alias
1460 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1462 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1464 reviewed by: Keith Packard <keithp@keithp.com>
1466 * fontconfig/fontconfig.h:
1469 Configuration changes to request synthetic emboldening of
1470 fonts. The actual emboldening code will live in Xft.
1472 2004-12-09 John Thacker <thacker@math.cornell.edu>
1474 reviewed by: Keith Packard <keithp@keithp.com>
1478 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1479 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1480 и), and don't even appear in KOI8-R. (The hypothesis that they
1481 don't appear in KOI8-R due to their similarity with Latin I and i is
1482 eliminated by their presence in KOI8-U.) I have a couple of fonts
1483 with Russian support that don't have the letter.
1485 Therefore, 0406 and 0456 should be removed from or commented out of
1488 2004-12-06 michael meeks <mmeeks@novell.com>
1490 Reviewed by: Keith Packard <keithp@keithp.com>
1492 * src/fcinit.c: (FcMemReport):
1494 * src/fclist.c: (FcObjectSetAdd):
1495 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1496 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1497 * src/fcxml.c: (FcParsePatelt):
1498 memoize strings and share a single copy for all uses. Note that
1499 this could be improved further by using statically allocated blocks
1500 and gluing multiple strings together, but I'm basically lazy.
1501 In my environment with 800 font files, I get a savings of about 90KB.
1503 2004-12-06 Keith Packard <keithp@keithp.com>
1507 * config/Makedefs.in:
1510 * doc/fcatomic.fncs:
1511 * doc/fcblanks.fncs:
1512 * doc/fccharset.fncs:
1513 * doc/fcconfig.fncs:
1514 * doc/fcconstant.fncs:
1516 * doc/fcfontset.fncs:
1517 * doc/fcfreetype.fncs:
1519 * doc/fcmatrix.fncs:
1520 * doc/fcobjectset.fncs:
1521 * doc/fcobjecttype.fncs:
1522 * doc/fcpattern.fncs:
1523 * doc/fcstring.fncs:
1524 * doc/fcstrset.fncs:
1526 * doc/fontconfig-devel.sgml:
1527 * doc/fontconfig-user.sgml:
1529 * doc/version.sgml.in:
1530 * fc-cache/Makefile.am:
1531 * fc-cache/fc-cache.c:
1532 * fc-glyphname/Makefile.am:
1533 * fc-glyphname/fc-glyphname.c:
1534 * fc-glyphname/fcglyphname.tmpl.h:
1535 * fc-lang/Makefile.am:
1545 * fc-lang/az_ir.orth:
1579 * fc-lang/fc-lang.c:
1580 * fc-lang/fc-lang.man:
1581 * fc-lang/fclang.tmpl.h:
1626 * fc-lang/ku_ir.orth:
1659 * fc-lang/ps_af.orth:
1660 * fc-lang/ps_pk.orth:
1689 * fc-lang/ti_er.orth:
1690 * fc-lang/ti_et.orth:
1716 * fc-lang/zh_cn.orth:
1717 * fc-lang/zh_hk.orth:
1718 * fc-lang/zh_mo.orth:
1719 * fc-lang/zh_sg.orth:
1720 * fc-lang/zh_tw.orth:
1722 * fc-list/Makefile.am:
1723 * fc-list/fc-list.c:
1724 * fc-match/Makefile.am:
1725 * fc-match/fc-match.1:
1726 * fc-match/fc-match.c:
1727 * fontconfig/fcfreetype.h:
1728 * fontconfig/fcprivate.h:
1729 * fontconfig/fontconfig.h:
1750 Change files from ISO-Latin-1 to UTF-8
1752 2004-12-04 Keith Packard <keithp@keithp.com>
1755 Update links to new freedesktop.org locations
1757 Add uninstall-local to get rid of fonts.conf and local.conf if they
1758 match the distributed versions. Fixes 'make distcheck'
1760 2004-12-04 Keith Packard <keithp@keithp.com>
1764 * fontconfig/fontconfig.h:
1765 Updates for version 2.2.97
1767 2004-12-04 Owen Taylor <otaylor@redhat.com>
1769 reviewed by: Keith Packard <keithp@keithp.com>
1771 * fc-cache/fc-cache.c: (main):
1772 Sleep for two seconds before exiting to make sure timestamps
1773 for future changes have distinct mod times in the file system.
1776 Add Punjabi orthography. Bug #1671.
1778 2004-12-04 Keith Packard <keithp@keithp.com>
1781 Just remove the FC_FONTDATE -- it has locale issues and
1782 annoys redhat multi-arch installs. Now that all X fonts are
1783 included without prejudice, the chances of the date being at
1784 all interesting are rather limited. Bug #505.
1786 Add copyright and license
1788 2004-12-04 Keith Packard <keithp@keithp.com>
1791 Change default set of fonts to include all of
1792 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1793 * doc/fontconfig-user.sgml:
1794 Document new <include>directory-name</include> semantics
1796 add <include ignore_missing="yes">conf.d</include>
1798 Add selectfont to ignore bitmap fonts, add comment for
1799 selectfont which accepts bitmap fonts.
1802 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1803 Allow <include> configuration elements to reference directories.
1804 Parse and load all files of the form [0-9]* in sorted order.
1806 2004-12-04 Keith Packard <keithp@keithp.com>
1809 Report command line for $srcdir/configure accurately.
1812 2004-12-04 Keith Packard <keithp@keithp.com>
1814 * src/fcfreetype.c: (FcFreeTypeQuery):
1815 Check for non-empty face->family_name and face->style_name
1816 before using those for the font. Empty names match everything.
1819 2004-12-04 Keith Packard <keithp@keithp.com>
1822 * fontconfig/fontconfig.h:
1823 * src/fcfreetype.c: (FcFreeTypeQuery):
1825 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1826 available. This provides font file format information (BDF, Type 1,
1827 PCF, TrueType) for each font. Closes #109.
1829 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1831 reviewed by: Keith Packard <keithp@keithp.com>
1833 * doc/fontconfig-user.sgml:
1836 * fontconfig/fontconfig.h:
1837 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1838 (GetScriptTags), (FcFontCapabilities):
1840 Add detection for font capabilities (bug #105)
1842 2004-12-04 Keith Packard <keithp@keithp.com>
1845 Move existing fonts.conf to fonts.conf.bak
1848 Add detection of iconv
1850 * doc/fcpattern.fncs:
1851 * doc/fontconfig-devel.sgml:
1852 * doc/fontconfig-user.sgml:
1854 Document new selectfont elements
1857 Switch to UTF-8 in comment
1859 * fontconfig/fontconfig.h:
1861 Add fullname, and family/style/fullname language entries
1863 * src/fccache.c: (FcCacheFontSetAdd):
1864 * src/fcdir.c: (FcFileScanConfig):
1865 Respect selectfont/*/glob
1868 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1869 (FcConfigCompareValue), (FcConfigPatternsAdd),
1870 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1871 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1872 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1873 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1874 Add support for selectfont
1876 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1877 (FcStringInPatternElement), (FcFreeTypeQuery):
1878 Add multi-lingual family/style/fullname support
1880 * src/fclist.c: (FcListPatternMatchAny):
1881 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1883 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1884 (FcObjectStaticName):
1885 Add new FcPatternRemove/FcPatternAppend.
1886 FcObjectStaticName stores computed pattern element names which
1887 are required to be static.
1889 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1894 Remove spurious / after $(DESTDIR)
1896 2004-06-30 Keith Packard <keithp@keithp.com>
1900 * fontconfig/fontconfig.h:
1903 2004-06-30 Keith Packard <keithp@keithp.com>
1905 Provided by: Lubos Lunak <l.lunak@suse.cz>
1907 * src/fccfg.c: (FcConfigUptoDate):
1908 However FcConfigUptoDate() doesn't seem to work. See the attached
1909 patch. First there's an obvious misplaced parenthesis making it
1910 return always false, and second, even this call fails to detect font
1911 changes (e.g. adding a new font to
1912 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1913 well. The problem seems to be triggered by my fonts.conf specifying
1914 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1915 doesn't include subdirs, unlike config->fontDirs.
1917 2004-06-03 Keith Packard <keithp@keithp.com>
1919 * fontconfig/fontconfig.h:
1920 Remove comma at end of FcResult enum definition.
1922 2004-05-29 Keith Packard <keithp@keithp.com>
1925 Add steps to md5sum release
1927 2004-05-29 Keith Packard <keithp@keithp.com>
1931 * fontconfig/fontconfig.h:
1934 2004-05-29 Keith Packard <keithp@keithp.com>
1936 * fontconfig/fontconfig.h:
1937 * src/fcmatch.c: (FcFontSetMatch):
1938 Add FcResultOutOfMemory to provide an accurate error when
1939 FcFontSetMatch fails in this way
1942 Make #warning about lacking various FreeType features indicate
1943 which version those features appeared so users know how to
1944 fix the problem (Thanks to Anton Tropashko)
1946 2004-05-05 Keith Packard <keithp@keithp.com>
1948 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1949 Replace MIN/MAX/ABS macros which happen to have come
1950 from FreeType with fontconfig-specific ones (FC_*)
1952 2004-04-23 Keith Packard <keithp@keithp.com>
1955 Extend release preparation instructions to include
1956 notification and distribution steps
1958 2004-04-23 Keith Packard <keithp@keithp.com>
1962 * fontconfig/fontconfig.h:
1963 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1965 2004-04-23 Keith Packard <keithp@keithp.com>
1968 Ignore a few more autotool files
1970 2004-04-14 Keith Packard <keithp@keithp.com>
1973 Add instructions for doing a release
1975 * fontconfig.spec.in:
1976 clean up .spec file; perhaps this will be useful to somebody...
1980 * fontconfig/fontconfig.h:
1983 * fc-lang/fc-lang.c:
1984 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1986 * fc-glyphname/Makefile.am:
1987 * fc-lang/Makefile.am:
1988 * fc-list/Makefile.am:
1989 * fc-match/Makefile.am:
1991 Add WARN_CFLAGS to pass -W flags for GCC systems
1993 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1994 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1995 Change various char types around to match across
1997 Fixed bug in using available_sizes[i].height which
1998 is in pixels, not 64ths of a pixel.
2000 2004-03-06 Keith Packard <keithp@keithp.com>
2002 * src/fcfreetype.c: (FcFreeTypeQuery):
2003 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2004 matches looking for explicit values prefer exact matches
2006 2004-03-02 Keith Packard <keithp@keithp.com>
2008 Supplied by: mfabian@suse.de (Mike FABIAN)
2010 * src/fcfreetype.c: (FcFreeTypeQuery):
2011 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2012 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2014 2004-02-21 Manish Singh <yosh@gimp.org>
2016 * fc-glyphname/fc-glyphname.c: (main):
2017 Cast strlen to int for printf, so we're 64-bit clean.
2019 2004-02-11 Keith Packard <keithp@keithp.com>
2022 * src/fcfreetype.c: (FcGetPixelSize):
2023 Ok, so I messed up the test for y_ppem. Let's see if I
2024 got it right this time.
2026 2004-02-10 Keith Packard <keithp@keithp.com>
2029 * src/fcfreetype.c: (FcGetPixelSize):
2030 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2031 FT_Bitmap_Size record. Add a configure.in test for this
2032 and change the code accordingly (using height instead).
2034 2004-02-06 Keith Packard <keithp@keithp.com>
2037 Add Low Saxon orthography
2038 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2040 * src/fccfg.c: (FcConfigNewestFile):
2041 Oops. Left 'newest.set' unset, which would miscompute
2044 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2045 (FcFreeTypeCheckGlyph):
2046 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2047 font properties (which report the wrong value in current FreeType)
2049 Don't attempt to check for empty glyphs in non-scalable fonts; they
2052 2004-02-01 Tor Lillqvist <tml@iki.fi>
2054 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2055 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2056 cache if config->cache is NULL, which happens if FcConfigHome() is
2057 NULL. Guard against that by using the temp folder in that case.
2059 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2061 * fc-lang/az_ir.orth:
2062 * fc-lang/ku_ir.orth:
2063 * fc-lang/ps_af.orth:
2064 * fc-lang/ps_pk.orth:
2065 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2066 (Afghan and Pakistani).
2068 Updated Urdu orthography with real data.
2070 2003-12-11 Carl Worth <cworth@east.isi.edu>
2072 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2075 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2077 (all-local): Remove excessive whitespace.
2079 * autogen.sh: Add 'set -e' to abort when any program fails,
2080 (avoids printing of 'now type make' after configure aborts).
2082 2003-11-17 Eric Christopherson <rakko@charter.net>
2084 reviewed by: Keith Packard <keithp@keithp.com>
2087 * fontconfig/fcfreetype.h:
2089 Switch to FreeType 2.1.7 style includes. Bug #150.
2091 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2093 * fc-list/fc-list.sgml: Add some example usages.
2095 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2098 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2101 2003-10-27 Keith Packard <keith@keithp.com>
2104 * fontconfig/fontconfig.h:
2105 Update to version 2.2.92
2107 2003-10-27 Keith Packard <keithp@keithp.com>
2112 * fc-cache/Makefile.am:
2113 * fc-glyphname/Makefile.am:
2114 * fc-lang/Makefile.am:
2115 * fc-list/Makefile.am:
2116 * fc-match/Makefile.am:
2119 Yet more cleanups to finish getting 'make distcheck' working
2120 This has been tested to ensure that it even works from a _build
2123 2003-10-26 Keith Packard <keithp@keithp.com>
2127 * fc-cache/Makefile.am:
2128 * fc-glyphname/Makefile.am:
2129 * fc-lang/Makefile.am:
2130 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2131 * fc-list/Makefile.am:
2132 * fc-match/Makefile.am:
2133 Attempts to fix 'make distcheck' work. Things are
2134 progressing pretty well, but there are still failures
2135 long into the process dealing with docs (as always).
2137 The big changes here are mostly to make $(srcdir) != "."
2138 work correctly, fixing the docbook related sections and
2139 fc-lang were particularily tricky. Docbook refuses to load
2140 system entities from anywhere other than where the original .sgml
2141 file was located, so no luck looking in "." for the
2142 configure-generated version.sgml and confdir.sgml files.
2144 fc-lang needed help finding .orth files; added a -d option
2145 to set the directory as the least evil of many options.
2147 Now to go use a faster machine and try and wring out the last
2150 2003-10-26 Keith Packard <keithp@keithp.com>
2154 2003-10-26 Keith Packard <keithp@keithp.com>
2157 Include confdir.sgml.in in EXTRA_DIST
2159 2003-10-09 Josselin Mouette <joss@debian.org>
2161 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2162 * fc-list/fc-list.sgml fc-list/Makefile.am:
2163 Replace fc-cache and fc-list manpages with more detailed, SGML
2166 2003-09-23 Owen Taylor <otaylor@redhat.com>
2168 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2169 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2170 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2173 2003-09-23 Owen Taylor <otaylor@redhat.com>
2175 * fc-lang/ka.orth: Remove Georgian capitals, they
2176 aren't used for normal writing. (Bug #116)
2178 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2180 * doc/fontconfig-devel.sgml:
2181 * doc/fontconfig-user.sgml:
2182 * fontconfig/fontconfig.h:
2184 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2185 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2187 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2188 monospace and dual-width fonts, allow roughly a 3% variance in the
2191 2003-08-31 Manish Singh <yosh@gimp.org>
2193 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2196 2003-08-15 Carl Worth <cworth@isi.edu>
2198 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2199 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2201 * src/fcpat.c (FcValueListEntDestroy): New function to support
2202 FcFini memory cleanup. Some statistics are not kept in
2204 (FcValueListFreeze): Move hashTable outside this function so it
2205 can be accessed by FcValueListThawAll.
2206 (FcValueListThawAll): New function complements FcValueListFreeze.
2207 (FcPatternBaseFreeze): Move hashTable outside this function so it
2208 can be accessed by FcPatternBaseThawAll.
2209 (FcPatternBaseThawAll): New function complements
2210 FcPatternBaseFreeze.
2211 (FcPatternThawAll): New function complements FcPatternFreeze.
2213 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2215 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2216 allocated FcCharLeafEnt "blocks" so they can be freed later.
2217 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2218 can be accessed by FcCharSetThawAllLeaf.
2219 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2220 (FcCharSetFreezeBase): Move hashTable outside this function so it
2221 can be accessed by FcCharSetThawAll.
2222 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2224 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2225 (FcConfigDestroy): Fic leak of FcBlanks.
2227 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2228 (main): Add call to FcFini when finished.
2230 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2231 static. Add prototypes.
2233 * doc/fcinit.fncs: Add documentation for FcFini function.
2235 * doc/edit-sgml.c: Mark several local functions as static. Add
2238 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2240 2003-06-15 Tor Lillqvist <tml@iki.fi>
2242 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2243 before comparing (needed on Windows).
2245 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2247 2003-06-13 Tor Lillqvist <tml@iki.fi>
2249 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2252 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2253 WINDOWSFONTDIR token.
2255 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2256 end, not to confuse libtool, which expects the EXPORTS line to be
2257 the first. Add FcConfigEnableHome.
2259 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2260 built as a DLL on Win32.
2262 2003-06-09 Keith Packard <keithp@keithp.com>
2264 * Tag version 2.2.90
2266 2003-06-09 Keith Packard <keithp@keithp.com>
2268 * Optimization in FcLangSetIndex was broken, occasionally
2269 returning a pointer to the wrong location on miss
2271 * Add fc-match to test font matching from the command line.
2273 2003-05-31 Keith Packard <keithp@keithp.com>
2275 * (Bug 85) add support for culmus fonts
2276 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2277 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2279 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2281 * Fix "contains" op for strings and langsets.
2283 2003-05-17 Keith Packard <keithp@keithp.com>
2285 * Fix build error with BDF prop local. Free langset after query
2287 2003-05-14 Keith Packard <keithp@keithp.com>
2289 * Extract spacing from XLFD atom
2291 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2293 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2294 disappeared in 1.30.
2296 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2298 2003-05-12 Keith Packard <keithp@keithp.com>
2300 * Use FcIsWidth to share code
2302 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2303 misclassifying some Han fonts as monospaced.
2305 2003-05-07 Keith Packard <keithp@keithp.com>
2307 * Add filename-based accept/reject to ammend available fonts.
2309 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2310 older FreeType releases.
2312 2003-05-06 Keith Packard <keithp@keithp.com>
2314 * Remove 0b82 and Tamil numbers from tamil
2315 orthography (Jungshik Shin <jshin@mailaps.org>)
2317 2003-05-04 Keith Packard <keithp@keithp.com>
2319 + Map glyph names in fonts with adobe custom encoding to unicode
2321 2003-05-02 Keith Packard <keithp@keithp.com>
2323 * Add FC_WEIGHT_BOOK as weight 75
2325 2003-04-30 Keith Packard <keithp@keithp.com>
2327 * Typo in bitstream foundry name
2329 2003-04-24 Keith Packard <keithp@keithp.com>
2331 * Eliminate italic_angle check for PS fonts
2333 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2335 * Getting closer to fixing /etc/fonts hard-coding.
2337 2003-04-22 Keith Packard <keithp@keithp.com>
2339 * Update autogen.sh to work with newer automake versions
2340 * Handle pattern elements moving during multiple edits
2342 2003-04-23 James Henstridge <james@daa.com.au>
2344 * doc/fontconfig-devel.sgml: close the <para> element.
2346 * doc/fcpattern.fncs: close the <para> element.
2348 * doc/func.sgml: close the <refsynopsisdiv> element.
2350 2003-04-22 Keith Packard <keithp@keithp.com
2352 * Update autogen.sh to work with newer automake versions
2353 * Handle pattern elements moving during multiple edits
2355 2003-04-17 Colin Walters <walters@debian.org>
2357 + Remove some unused variables, and initialize some other ones so
2358 gcc doesn't warn us.
2360 2003-04-16 Keith Packard <keithp@keithp.com>
2362 + tag version 2.1.94
2364 2003-04-16 Keith Packard <keithp@keithp.com>
2366 + add BDF property fetching support for foundry
2367 (from Juliusz Chroboczek)
2368 + add BDF property fetching support for width
2370 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2372 + Implemented foundry generation for Type 1 and TrueType
2374 2003-04-11 Gerard Escalante <g2@magestudios.net>
2376 + Retrieve information from Type1 FontInfo dictionaries
2378 2003-04-07 Colin Walters <walters@verbum.org>
2380 + src/Makefile.am: Fix dummy makefile target names when
2381 MS_LIB_AVAILABLE isn't set.
2383 2003-03-22 Tor Lillqvist <tml@iki.fi>
2385 Changes for Windows:
2387 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2389 + We don't want to hardcode the fonts.conf file location in the
2390 DLL, so we look up the DLL location at run-time in a DllMain()
2391 function. The fonts.conf location is deduced from that.
2393 + The colon can't be used as path separator on Windows,
2394 semicolon is used instead. File path components can be separated
2395 with either slash or backslash. Absolute paths can also begin
2396 with a drive letter.
2398 + Add internal function FcStrLastSlash that strrchr's the last
2399 slash, or backslash on Windows.
2401 + There is no link() on Windows. For atomicity checks, mkdir a
2402 lock directory instead.
2404 + In addition to HOME, also look for USERPROFILE.
2406 + Recognize the special font directory token WINDOWSFONTDIR, to
2407 use the system's font directory.
2409 + Remove the fontconfig-def.cpp that was obsolete. Add
2410 fontconfig.def(.in), without internal functions.
2412 + Add a fontconfig-zip(.in) script, used to build a binary
2415 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2416 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2417 to main package and man3/* to devel package
2419 + Added missing defattr(-, root, root) to main RPM package
2421 + Added HTML and text development documentation to -devel subpackage
2423 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2424 + Added back the configure macro options --disable-docs, otherwise
2425 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2426 version number) unconditionally, causing RPM to fail the build due
2427 to _unpackaged_files_terminate_build. We pick up the pregenerated
2428 docs with %doc already.
2430 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2431 + Removed commented out rpm macro define at top of spec file,
2432 replacing it with a simple explanation, since rpm macros are
2433 expanded by rpm even in comments.
2435 + Changed /usr/bin to _bindir in BuildRequires lines
2437 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2439 + Reorganized file manifest lists
2441 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2443 + fontconfig.spec.in: Improvements from Red Hat spec file.
2445 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2447 + docs/*.sgml: SGML fixes.
2449 Sat Mar 1 17:28:53 PST 2003 keithp
2450 + Ok, so the ChangeLog is a bit out of date
2452 + Lots of bugs fixed; most are in bugzilla, the
2453 biggest problems were in cache management where
2454 Owen discovered the library would lose badly when
2455 combining fonts-cache and ~/.fonts-cache data
2457 + Converted from autoconf to automake. This after
2458 getting patches accepted into libtool to allow
2459 the '-version-number' argument which lets
2460 packages set version numbers explicitly rather
2461 than the roundabout libtool way
2463 + Converted documentation to SGML using the docbook
2464 DTD. Now .txt and .html documents are installed
2465 in /usr/share/doc/fontconfig and there's no
2466 man page. Perhaps a man version can be written
2469 Sat Aug 31 15:21:22 PDT 2002 keithp
2470 + Xrender and Xft had several bugs related to
2471 rendering manually placed or poly-face text
2473 + Added more complete memory tracing in fontconfig
2474 Checked with (patched) mozilla and found no leaks
2476 + Updated Latin orthographies by comparing those from
2477 evertype.com with those from eki.ee. Tried to make
2478 sensible choices, including chars that occured in both
2479 and leaving some optional chars out that occured only
2482 Mon Aug 26 16:33:04 PDT 2002 keithp
2483 + Owen discovered that FcLangSetHasLang wasn't actually
2484 checking the language set.
2486 Mon Aug 26 13:37:23 PDT 2002 keithp
2487 + Append a version number to cache filenames
2489 Thu Aug 22 11:36:18 PDT 2002 keithp
2491 + Add "contains" and "not_contains" operators and elements to
2494 + Changed semantics of eq operator for LangSets to check for
2495 FcLangEqual so that any match will do
2497 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2498 of FcValueEqual to check for identical values when inserting into
2499 the results. This broke when the above semantic change was made,
2500 now it uses FcValueEqual which is "more correct" in any case.
2502 Thu Aug 22 00:32:29 PDT 2002 keithp
2504 + Reimplement FC_LANG as new datatype. Lists of strings
2505 was consuming over a megabyte of memory for 401 fonts.
2507 + Freeze patterns loaded from cache files. This shares
2508 common value lists and common patterns which saves
2509 considerable memory.
2511 + Change the denotation of 'constant' charsets to use special
2512 ref value instead of separate boolean.
2514 + Clean up leak tracing stuff, found several unannoted alloc/free
2517 Tue Aug 20 16:17:37 PDT 2002 keithp
2519 + Fix memory leak when parsing matrices from XML
2521 Mon Aug 19 11:57:27 PDT 2002 keithp
2523 + Fix autoconf files to pass FONTCONFIG_PATH on
2524 compile line so that ${prefix} gets substituted
2527 + Use getc_unlocked/putc_unlocked on systems that
2528 provide them to avoid damage done to stdio by posix
2530 + Eliminate FC_PATTERN and FcTypePattern in favor of
2531 an extended api for FcConfigSubstitute which takes
2532 both the font and the pattern.
2534 + Add 'sans serif' alias for 'sans-serif' as some apps
2535 can't handle hyphens in family names
2537 + Eliminate pretense of support for libxml2
2539 + Comment origins of Han orthographies
2541 Tue Jul 30 18:37:09 PDT 2002 keithp
2543 + Add binding property to edit element so that strong
2544 binding values may be inserted by the config file.
2545 The default remains weak.
2547 Sun 28 Jul 04:16:55 PDT 2002 keithp
2549 + Tagged release candidate 1 in the CVS tree and
2550 placed fcpackage.rc1.tar.gz for distribution
2552 Thu Aug 1 08:55:08 PDT 2002 keithp
2554 + Fixed autoconf builds to always specify install
2555 target files (for BSD). Also fixed to
2556 define FONTCONFIG_PATH in config.h so that
2557 nonstandard installs will actually work.