1 2006-01-29 Patrick Lam <plam@mit.edu>
3 Add documentation for FcConfigNormalizeFontDir.
5 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
6 FcGlobalCacheUpdate, FcGlobalCacheSave):
7 * src/fcdir.c (FcDirScanConfig):
10 Write directory information to global caches to fix make check
11 (reported by Ronny V. Vindenes). This changes the global cache
14 2006-01-27 Patrick Lam <plam@mit.edu>
15 * fc-cache/fc-cache.c (scanDirs):
16 * fontconfig/fontconfig.h:
18 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
20 Move FcConfigNormalizeFontDir call so that it doesn't result in
21 infinite recursion (reported by Ronny V. Vindenes).
23 2006-01-26 Patrick Lam <plam@mit.edu>
24 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
25 * src/fccfg.c (FcConfigNormalizeFontDir):
27 Add a couple of missing normalizations to make fc-cache work
28 right; only scan subdirectories once.
30 2006-01-26 Mike Fabian <mfabian@suse.de>
33 * src/fcacache.c (FcGlobalCacheReadDir):
35 Don't crash on non-existant directories in global cache.
37 2006-01-26 Patirck Lam <plam@mit.edu>
38 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
39 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
40 * src/fcdir.c (FcDirScanConfig):
41 * src/fcxml.c (FcEndElement):
43 Stop trampling the directory name when writing out caches.
44 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
45 subdirs when necessary. Don't scan directories that can't be
48 2006-01-25 Patrick Lam <plam@mit.edu>
49 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
50 * src/fccfg.c (FcConfigEvaluate):
51 * src/fcfreetype.c (FcPatternAddWithBinding):
53 Fix additional memory leaks reported by Ronny V. Vindenes: don't
54 invoke FcValueSave on hashed static strings in
55 FcPatternAddWithBinding.
57 Add another st_dev check in FcDirCacheOpen.
59 2006-01-24 James Su <james.su@gmail.com>
62 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
65 Treat zh-hk fonts differently from zh-tw fonts. This patch may
66 cause fontconfig to treat A-X fonts differently from A-Y fonts;
67 please mail the fontconfig list if this causes any problems.
69 2006-01-24 Patrick Lam <plam@mit.edu>
70 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
71 * src/fcfreetype.c (FcFreeTypeQuery):
73 Fix memory leaks reported by Ronny V. Vindenes.
75 2006-01-19 Andreas Schwab <schwab@suse.de>
78 * src/fcpat.c (FcStrNeededBytes):
80 Fix for unaligned memory accesses.
82 2006-01-18 Mike Fabian <mfabian@suse.de>
85 * src/fcdir.c (FcDirScanConfig):
87 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
88 calls to avoid crashes.
90 2006-01-14 Patrick Lam <plam@mit.edu>
91 * src/fccache.c (FcDirCacheConsume):
93 Fix segfault when consuming zero-length caches in fc-cat
94 (which has no config, so FcConfigAddFontDir shouldn't be called.)
96 2006-01-14 Patrick Lam <plam@mit.edu>
97 * fc-cache/fc-cache.c (scanDirs):
98 * fontconfig/fontconfig.h:
99 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
100 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
101 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
102 * src/fcdir.c (FcDirScanConfig):
105 Compare device numbers as well as inodes.
106 Always normalize directory names before comparing them.
108 2006-01-11 Mike Fabian <mfabian@suse.de>
111 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
113 Allocate extra space for appended '/' in directory name.
115 2006-01-10 Patrick Lam <plam@mit.edu>
116 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
117 FcDirCacheValid, FcDirCacheHasCurrentArch,
118 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
119 * fc-cache/fc-cache.c (main):
121 Explicitly add font dirs to config.fontDirs even if they're empty.
122 Set current config in fc-cache.c.
123 Fix treatment of cache directory as read from cache file; don't
124 use string equality to determine if we have the right file,
127 2006-01-09 Patrick Lam <plam@mit.edu>
128 * fc-cache/fc-cache.c (scanDirs):
129 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
130 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
131 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
132 * src/fccfg.c (FcConfigNormalizeFontDir):
133 * src/fcdir.c (FcDirScanConfig):
136 Normalize font dirs by using the form, as given in fonts.conf, and
137 recorded in FcConfig's fontDirs string set, as canonical.
139 Actually update config.fontDirs as font directories are scanned.
141 2006-01-08 James Su <james.su@gmail.com>
142 * src/fcmatch.c (FcFontSetMatch):
144 Fix matching bug when multiple elements match; don't use
145 the sum of all scores, but the best score.
147 Also more perf opts, e.g. evaluate best over all font sets
148 rather than on a per-set basis (and other changes).
150 2006-01-08 Patrick Lam <plam@mit.edu>
151 * src/fccache.c (FcDirCacheConsume):
153 Properly skip past dir caches that contain zero fonts (as occurs
154 in global caches.) Reported by Mike Fabian.
156 2006-01-06 Patrick Lam <plam@mit.edu>
157 * src/fcdbg.c (FcPatternPrint):
159 Print out full pathname in fc-match -v as well. Reported by
162 2006-01-06 Mike Fabian <mfabian@suse.de>
165 * src/fcname.c (FcNameParse):
167 Fix bug where fc-match crashes when given __DUMMY__ property to
170 (I added the __DUMMY__ string to enable callers of
171 FcObjectToPtrLookup to distinguish an error return from a
172 successful return. -PL)
174 2006-01-05 Patrick Lam <plam@mit.edu>
177 Add self to AUTHORS list.
179 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
180 FcCacheFileRead, FcCachePrintSet, main):
181 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
182 FcGlobalCacheSave, FcCacheNextOffset,
183 FcDirCacheHasCurrentArch, FcDirCacheRead,
184 FcDirCacheConsume, FcDirCacheWrite):
186 * src/fcpat.c (comment):
188 Minor change to global cache file format to fix fc-cat bug
189 reported by Frederic Crozat, and buglet with not globally caching
190 directories with zero fonts cached.
192 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
195 * src/fccfg.c (FcConfigEvaluate):
197 Fix double-free which occurs because FcValueCanonicalize doesn't
198 create an extra copy of the returned value, it only canonicalizes
201 2006-01-02 Patrick Lam <plam@mit.edu>
202 * doc/fontconfig-user.sgml:
204 Fix version of .cache file (currently 1 -> currently 2). Reported
207 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
210 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
212 Shut up GCC warnings on amd.
214 2005-12-20 Patrick Lam <plam@mit.edu>
218 * fontconfig/fontconfig.h:
220 Bump version to 2.3.93.
222 2005-12-20 Patrick Lam <plam@mit.edu>
223 * src/fccharset.c (FcLangCharSetPopulate):
224 * src/fcint.h (FcCacheBankToIndex):
226 Avoid check on _fcBankId nullness and fix case where it used to
229 2005-12-20 Patrick Lam <plam@mit.edu>
230 * src/fcxml.c (FcConfigParseAndLoad):
232 Use open instead of fopen (requested by Phil Race for Sun).
234 2005-12-20 Patrick Lam <plam@mit.edu>
235 * src/fccache.c (FcDirCacheWrite);
236 * fc-cache/Makefile.am:
238 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
241 2005-12-20 Patrick Lam <plam@mit.edu>
242 * src/fcfreetype.c (FcFreeTypeQuery):
244 Restore code to skip over PCF fonts that have no encoded
246 (We guess that a font is PCF by presence of the PIXEL_SIZE
249 2005-12-12 Patrick Lam <plam@mit.edu>
250 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
252 Read and write the original location as a fallback for the
253 hashed cache file locations. This is mostly for users to be
254 able to have per-directory cache files.
256 2005-12-12 Patrick Lam <plam@mit.edu>
257 * fc-cache/fc-cache.c (scanDirs):
258 * fc-cache/Makefile.am:
259 * src/fccache.c (FcDirCacheHashName):
261 Improve error message when fc-cache can't write the cache. Add
262 missing slash. Reported by Behdad. Incorporate Behdad's patch to
263 create /var/cache/fontconfig when appropriate.
265 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
268 * src/fcxml.c (FcConfigGetAttribute):
270 Fix crash reported by Frederic Crozat when using libxml2.
272 2005-12-09 Patrick Lam <plam@mit.edu>
275 * fc-cache/Makefile.am:
276 * fc-cat/Makefile.am:
278 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
279 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
280 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
281 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
282 FcDirCacheHasCurrentArch, FcDirCacheHashName,
283 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
285 Migrate cache files from fonts directories to
286 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
287 but requires that all caches get rebuilt.
289 Also, autogen.sh now needs the additional parameter
290 --localstatedir=/var.
292 2005-12-07 Patrick Lam <plam@mit.edu>
293 * src/fcpat.c (FcPatternAddString):
295 Because we've changed FcPatternAddString to use FcStrStaticName
296 and not FcValueSave, explicitly handle the case of a null string.
298 2005-12-06 Patrick Lam <plam@mit.edu>
299 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
303 2005-12-05 Patrick Lam <plam@mit.edu>
304 * src/fcname.c (FcNameGetObjectType):
306 Don't assign types to user object names.
308 2005-12-05 Patrick Lam <plam@mit.edu>
309 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
311 Don't free strings that have been returned from FcStrStaticName.
313 2005-12-01 Patrick Lam <plam@mit.edu>
314 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
316 Add codepath for reading global cache files as well.
318 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
321 * conf.d/10-fonts.persian.conf:
322 * conf.d/Makefile.am:
324 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
326 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
329 * src/fcxml.c (FcConfigParseAndLoad):
331 Only add a config file to the set of config files once.
333 2005-11-29 Patrick Lam <plam@mit.edu>
334 * src/fcint.h (FcCacheBankToIndex);
336 Fix segfault by guarding array dereference.
338 2005-11-29 Dirk Mueller <dmueller@suse.de>
342 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
343 FcCacheBankToIndex, FcCacheBankToIndexMTF,
347 Refactor FcCacheBankToIndex into an inlineable part
348 (in fcint.h) which checks the front of the list and a
349 non-inlineable part which finds and moves the appropriate element
350 to the front of the list.
352 2005-11-29 Patrick Lam <plam@mit.edu>
353 * src/fccfg.c (FcConfigBuildFonts):
354 * src/fccache.c (FcCacheReadDirs):
356 Make the perf guys hate me a bit less: hoist the directory-name
357 FcConfigAcceptFont check for cached fonts up to directory cache
358 read time, rather than running it for each font.
360 2005-11-29 Patrick Lam <plam@mit.edu>
361 * src/fccfg.c (FcConfigBuildFonts):
363 * src/fcpat.c (FcPatternFindFullFname):
365 Don't make FcPatternFindFullFname available to fccfg, it's not
366 really safe. Instead go through FcPatternGetString (sorry,
367 perf guys.) Also, use globs for dirs as well.
369 2005-11-28 Patrick Lam <plam@mit.edu>
370 * src/fccfg.c (FcConfigBuildFonts):
374 2005-11-28 Patrick Lam <plam@mit.edu>
376 * src/fcpat.c (FcPatternFindFullFname):
377 * src/fccfg.c (FcConfigBuildFonts):
379 Fix problem dating back at least to 2.3.2 where globs weren't
380 being applied to patterns loaded from a cache.
382 2005-11-28 Patrick Lam <plam@mit.edu>
383 * doc/fontconfig-user.sgml:
385 Fix some obvious spelling mistakes.
387 2005-11-28 Dirk Mueller <dmueller@suse.com>
388 Stephan Kulow <coolo@suse.de>
391 * src/fcmatch.c (FcFontSetMatch):
393 Don't kill all fonts during match (oops!)
396 2005-11-25 Dirk Mueller <dmueller@suse.com>
397 Stephan Kulow <coolo@suse.de>
398 Michael Matz <matz@suse.de>
401 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
404 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
405 inline FcCompare into FcFontSetMatch and reorder the
406 loops, adding a boolean array which blocks patterns from future
407 consideration if they're known to not be best on some past
410 2005-11-26 Dirk Mueller <dmueller@suse.com>
413 * src/fcmatch.c (FcCompareValueList):
417 2005-11-25 Patrick Lam <plam@mit.edu>
418 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
420 Don't do random matching when bad objects are passed into
423 2005-11-25 Patrick Lam <plam@mit.edu>
425 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
426 FcPatternSerialize, FcPatternUnserialize,
427 FcValueListEnsureBank, FcValueListDistributeBytes,
428 FcValueListUnserialize):
430 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
431 _fcPatternElts, _fcValueLists for consistency.
433 2005-11-25 Dirk Mueller <dmueller@suse.com>
438 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
440 2005-11-25 Patrick Lam <plam@mit.edu>
442 * src/fccache.c (FcDirCacheConsume):
443 * src/fccharset.c (FcCharSetUnserialize):
444 * src/fcfs.c (FcFontSetUnserialize):
445 * src/fclang.c (FcLangSetUnserialize):
446 * src/fcname.c (FcObjectUnserialize):
447 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
448 FcPatternUnserialize):
450 Pass around FcCache *s to the Unserialize functions for extra
451 consistency (and less overhead, for what that's worth).
453 2005-11-24 Dirk Mueller <dmueller@suse.com>
457 * src/fcmatch.c (FcCompare*, FcFontSetSort):
458 * src/fcname.c (FcNameUnparseValue):
460 Inline the *PtrU functions to gain perf.
461 Remove unneeded params for the FcCompare* functions.
463 2005-11-24 Dirk Mueller <dmueller@suse.com>
466 * src/fcint.h, fontconfig/fontconfig.h:
468 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
470 * src/fcpat.c, src/fcint.h, src/fcname.c:
472 Check for type validity during FcPatternAddWithBinding, don't
473 verify type in FcFontMatch, don't call FcCanonicalize here
474 (which always does a deep copy).
476 2005-11-24 Dirk Mueller <dmueller@suse.com>
479 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
480 * src/fcpat.c (FcPatternAddWithBinding):
482 Make FcCompareString and FcCompareFamily less expensive.
483 Only add a value for FC_FAMILY if the proposed value is a string.
485 2005-11-24 Dirk Mueller <dmueller@suse.com>
488 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
489 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
490 * src/fcint.h (FcDebug):
492 Inline FcDebug invocations and only initialize once, in FcInit*.
493 Improve debug msg in FcPatternPrint.
495 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
498 * fontconfig/fontconfig.h:
501 Minor code warning cleanups.
503 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
506 * fc-match/fc-match.c (main):
508 Make getopt_long accept -s parameter to fc-match as well.
510 2005-11-21 Dirk Mueller <dmueller@suse.com>
513 * src/fcmatch.c (FcCompareValueList):
515 Manually perform inlining & partial redundancy elimination to
516 reduce calls to FcValueListPtrU.
518 2005-11-21 Dirk Mueller <dmueller@suse.com>
521 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
522 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
524 Only invoke strlen() when really necessary.
526 2005-11-19 Matthias Clasen <mclasen@redhat.com>
530 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
535 Get rid of the use of freetype internal headers in fcfreetype.c,
536 since those headers will go away with freetype 2.2. Replace with
537 public domain ftglue code from pango. Note that the patch removes
538 some extra error checking in FT_Get_BDF_Property() and comments
539 out the skipping of empty pcf fonts.
541 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
544 * fc-lang/fc-lang.c (main):
546 Further fix of patch from 2005-11-04: miscounted numbers count
547 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
548 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
550 Removed leafidx_count and numbers_count since they are the same
551 and replaced them with offset_count.
553 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
556 * fc-cat/fc-cat.c (main):
558 Don't crash when fc-cat invoked with no arguments.
560 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
563 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
565 Fix invalid read access caused by premature free and
566 GCC4 warnings in libxml2 codepath.
568 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
571 * src/fccfg.c (FcConfigValues):
573 List iteration not needed in FcConfigValues, since it's building
574 up the list itself; we can just strip FcVoid elements during
577 2005-11-17 Patrick Lam <plam@mit.edu>
578 * src/fccfg.c (FcConfigValues):
580 Fix crash on invalid constants in config files (forgot to update
581 a pointer upon list iteration.)
583 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
586 * src/fcxml.c (FcTypecheckExpr):
588 Complain about invalid constants in config files.
590 2005-11-17 Andreas Schwab <schwab@suse.de>
593 * src/fccache.c (FcGlobalCacheSave):
595 Don't add current_arch_start more than once.
597 2005-11-16 Patrick Lam <plam@mit.edu>
598 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
599 * src/fcfs.c (FcFontSetUnserialize):
600 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
601 * src/fcpat.c (FcStrUnserialize):
603 Fix ordering of ALIGN with respect to saving block_ptr; add
604 another ALIGN to fcfs.c.
606 2005-11-16 Patrick Lam <plam@mit.edu>
607 * src/fccache.c (FcDirCacheProduce)
609 Fix case where alignment bytes bumped up metadata->count
610 causing unwarranted failures to write cache files.
611 (Reported by Stephan Kulow).
613 2005-11-16 Patrick Lam <plam@mit.edu>
614 * src/fccache.c (FcDirCacheProduce):
615 * src/fccharset.c (FcCharSetDistributeBytes):
616 * src/fcfs.c (FcFontSetDistributeBytes):
618 * src/fclang.c (FcLangSetDistributeBytes):
619 * src/fcname.c (FcObjectDistributeBytes):
620 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
623 Add *NeededBytesAlign(), which overestimates the padding which is
624 later added by the new ALIGN macro. Fix alignment problems on
625 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
626 version by Andreas Schwab).
628 2005-11-16 Stephan Kulow <coolo@kde.org>
633 Use sysconf to determine proper PAGESIZE value; this
634 appears to be POSIX-compliant. (reported by Andreas Schwab)
636 2005-11-04 Patrick Lam <plam@mit.edu>
642 Fix bug 2878 (excessive relocations at startup for charsets,
643 reported by Ross Burton): fc-lang/fc-lang now creates the
644 static form of the langset, not the dynamic form, so that
645 the charsets should now be in .rodata.
647 2005-11-04 Patrick Lam <plam@mit.edu>
648 * src/fcdir.c (FcDirScanConfig):
650 Add test for validity of directory caches that
651 somehow got lost (reported by make distcheck).
653 2005-11-04 Patrick Lam <plam@mit.edu>
657 * fontconfig/fontconfig.h:
659 Bump version to 2.3.92.
661 2005-11-02 Patrick Lam <plam@mit.edu>
662 * src/fcpat.c (FcPatternDuplicate):
664 Fix argument ordering problem in call to FcPatternTransferFullFname.
666 2005-11-02 Patrick Lam <plam@mit.edu>
667 * src/fcfreetype.c (FcFreetypeQuery):
668 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
669 FcPatternTransferFullFname):
671 Fix warnings and embarrassing double-free error.
673 2005-11-02 Zhe Su <zsu@novell.com>
678 Change the rule for artificial emboldening in fonts.conf.in. This
679 enables the support for artificial emboldening included in cairo.
681 2005-11-02 Patrick Lam <plam@mit.edu>
682 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
684 Don't zero out full names for FC_REF_CONSTANT fonts;
685 also, duplicate full names when transferring, and free
686 full names when freeing the associated font.
687 Reported by Jinghua Luo.
689 2005-11-02 Patrick Lam <plam@mit.edu>
690 * fc-cache/fc-cache.c (scanDirs):
691 * src/fcpat.c (FcValueListSerialize):
693 Revert the previous patch and commit the correct patch:
694 I forgot a canonicalization in FcValueListSerialize, so
695 that it would choke on already-serialized input files. Duh!
697 2005-11-02 Patrick Lam <plam@mit.edu>
698 * fc-cache/fc-cache.c (scanDirs):
700 Forcibly rescan a directory before writing a fresh local
701 cache file for that directory, fixing the losing-fonts
702 problem reported by Mike Fabian and also apparently the
703 font cache file corruption.
705 2005-11-02 Patrick Lam <plam@mit.edu>
706 * src/fccache.c (FcGlobalCacheLoad):
708 Fix thinko: actually, the whole global cache is stale
709 if the global cache is older than the (newest) config file.
711 2005-11-02 Patrick Lam <plam@mit.edu>
712 * src/fccache.c (FcGlobalCacheLoad):
713 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
716 Declare the global cache of a directory's contents to be stale if
717 the directory is newer than the (newest) configuration file.
719 2005-10-31 Patrick Lam <plam@mit.edu>
721 * src/fclist.c (FcListAppend):
722 * src/fcmatch.c (FcFontRenderPrepare):
723 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
724 FcPatternFreeze, FcPatternBaseFreeze):
726 Copy the full pathname whenever duplicating an FcPattern; otherwise,
727 applications continue breaking.
729 2005-10-31 Patrick Lam <plam@mit.edu>
730 * fc-cat/fc-cat.c (FcCacheFileRead, main):
731 * src/fcfreetype.c (FcFreeTypeQuery):
733 Fix small memory error (tried to free argv); use basename and
734 dirname correctly (they can modify their arguments).
736 2005-10-31 Patrick Lam <plam@mit.edu>
744 Reinstate basename patch, but keep a hash table linking FcPatterns
745 to their fully-qualified font names for clients' benefit. Clients
746 only pay for the font names once they request the FC_FILE property
747 from an FcPattern, but the font name is malloc'd at that point (i.e.
748 not mmapped: that's impossible, since it may vary between machines.)
749 Clients do have to pay for a copy of the path name per cache file.
751 Note that FcPatternGetString now does some rewriting if you ask
752 for an FC_FILE, appending the pathname as appropriate.
754 2005-10-31 Patrick Lam <plam@mit.edu>
755 * src/fcfreetype.c (FcFreeTypeQuery):
757 Revert basename patch, which breaks fontconfig clients on my system.
759 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
762 * fontconfig/fonts.conf.in:
763 * fontconfig/fontconfig.h:
767 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
768 to load embedded bitmaps or not.
770 2005-10-25 Patrick Lam <plam@mit.edu>
771 * src/fcfreetype.c (FcFreeTypeQuery):
773 Only add basename to patterns' FC_FILE element, not any part of
776 2005-10-22 Patrick Lam <plam@mit.edu>
779 Add some more consts, fixing more GCC4 warnings.
781 2005-10-22 Zhe Su <zsu@novell.com>
784 Support localized font family and style names.
785 This has been reported to break old apps like xfd, but modern
786 (gtk+/qt/mozilla) apps work fine.
788 2005-10-21 Patrick Lam <plam@mit.edu>
789 * src/fccache.c (FcGlobalCacheLoad):
791 Destroy the global cache file if it's terminally broken. (reported by
794 2005-10-21 Patrick Lam <plam@mit.edu>
795 * fc-list/fc-list.c (main):
796 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
797 * fontconfig/fontconfig.h:
799 Prevent fc-list from escaping strings when printing them (reported by
802 2005-10-20 Marcus Meissner <meissner@suse.de>
805 * fontconfig/fontconfig.h:
807 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
809 2005-10-14 Ross Burton <ross@burtonini.com>
812 * fc-glyphname/fc-glyphname.c:
815 Add consts to variables so as to move arrays into .rodata.
817 2005-10-14 Mike Fabian <mfabian@suse.de>
820 * src/fccache.c (FcDirCacheUnlink):
822 Check existence of directory cache file before attempting to unlink.
824 2005-10-13 Patrick Lam <plam@mit.edu>
825 * src/fccache.c (FcDirCacheUnlink):
827 Fix flipped return value on unlink. (Reported by Mike Fabian)
829 2005-10-12 Patrick Lam <plam@mit.edu>
832 * src/fcdir.c (FcDirScanConfig):
835 When fc-cache is run without --force, use directory cache files
836 to speed up fc-cache run time. (Reported by Mike Fabian)
838 2005-10-06 Patrick Lam <plam@mit.edu>
840 * src/fcname.c (FcObjectToPtr):
841 * src/fcpat.c (FcStrStaticName):
843 Add padding to make valgrind and glibc not hate each other
844 when calling strlen().
846 2005-10-05 Simos Xenitellis <simos74@gmx.net>
847 reviewed by: plam & keithp
851 Modify config file to use Greek fonts before Asian fonts with
854 2005-10-05 Christian Biesinger <cbiesinger@web.de>
855 reviewed by: plam & keithp
859 Use libtool -no-undefined flag on all platforms.
861 2005-10-05 Patrick Lam <plam@mit.edu>
862 * src/fccache.c (FcCacheHaveBank):
864 Implement move-to-front array for banks (perf regression
865 reported by Ronny V. Vindenes).
867 2005-10-04 Patrick Lam <plam@mit.edu>
868 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
869 FcDirCacheHasCurrentArch):
870 * fc-cache/fc-cache.c (scanDirs):
871 * fontconfig/fontconfig.h:
873 Add new API which unlinks directory caches and checks dir caches
874 for existence of appropriate sections. Fix fc-cache to unlink
875 stale cache files and save directory caches that lack relevant
878 2005-10-03 Patrick Lam <plam@mit.edu>
879 * src/fccache.c (FcDirCacheValid):
881 Ensure that a directory cache has the appropriate section
882 before reporting that it is valid (reported by Matthias Clasen).
884 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
892 Use libxml2 if requested (with --enable-libxml2) or if
893 expat is not available.
895 2005-09-29 Patrick Lam <plam@mit.edu>
896 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
898 Fix multi-arch cache files: compute the position for the
899 block to be added using info from OrigFile, not NewFile.
901 2005-09-28 Patrick Lam <plam@mit.edu>
902 * src/fccache.c (FcCacheMachineSignature):
904 Cast results of sizeof() to unsigned int to get rid of
905 warnings on x86_64 (thanks Matthias Clasen).
907 2005-09-27 Patrick Lam <plam@mit.edu>
908 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
911 Use FcAtomic to rewrite cache files.
913 2005-09-27 Patrick Lam <plam@mit.edu>
915 * src/fccache.c (FcDirCacheWrite):
917 Don't unlink the fonts.cache-2 file even if there's no data
918 to write; just write an empty cache file. (thanks Lubos Lunak)
920 2005-09-27 Patrick Lam <plam@mit.edu>
922 * src/fccache.c (FcDirCacheWrite):
924 Allocate room for the subdirectory names in each
925 directory cache. Thanks to James Cloos for finding
926 and diagnosing this bug!
928 2005-09-22 Patrick Lam <plam@mit.edu>
930 * fc-cache/fc-cache.sgml:
931 * src/fccache.c (FcDirCacheWrite):
932 * src/fccache.h (struct FcCache):
934 Update documentation -- fc-cache's man page now says that you
935 need to run fc-cache once per cached architecture; add some
936 documentation to the FcCache structure.
938 Make fc-cache write out fonts.cache-2 files for directories with
939 no fonts (i.e. only subdirectories).
941 2005-09-22 Patrick Lam <plam@mit.edu>
943 * fc-cache/fc-cache.sgml:
945 * fc-glyphname/fc-glyphname.c:
951 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
956 * fontconfig/fcprivate.h:
957 * fontconfig/fontconfig.h:
971 Implement new mmaped cache for font information.
972 Bump so revision to 2.3.90.
974 2005-07-25 Keith Packard <keithp@keithp.com>
976 * doc/fontconfig-user.sgml:
977 * fc-glyphname/fc-glyphname.c: (scan), (main):
978 * fc-lang/fc-lang.c: (FcConfigHome):
979 * fc-match/fc-match.c: (main):
980 * src/fccfg.c: (FcConfigHome):
981 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
982 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
983 (addtag), (FcFontCapabilities):
984 * src/fcpat.c: (FcValueListEntCreate):
985 * src/fcstr.c: (FcStrCaseWalkerInit):
986 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
988 Various GCC 4 cleanups for signed vs unsigned char
990 Match only [0-9]*.conf files in <include>{directory}</include>
991 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
993 2005-07-15 Carl Worth <cworth@cworth.org>
996 * src/fcinit.c: (FcFini):
997 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1000 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1001 Pull the FcObjectStateName hash table out to file scope, and add
1002 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1005 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1008 2005-06-16 Patrick Lam <plam@MIT.EDU>
1012 * src/fccfg.c: (FcConfigCompareValue):
1013 Make FcOpNotContains use FcStrStr for strings so that
1014 it matches semantics for !FcOpContains.
1016 2005-05-20 Keith Packard <keithp@keithp.com>
1020 Move fontconfig source package to libs as per override
1022 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1024 reviewed by: Mike Fabian
1027 The ka.orth file requires several characters which are not
1028 used anymore in modern Georgian and which are missing in the free
1029 Georgian TrueType fonts downloadable at:
1031 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1033 2005-04-27 Keith Packard <keithp@keithp.com>
1037 Update date to real 2.3.2 release date.
1038 Fix change attributions
1040 2005-04-27 Keith Packard <keithp@keithp.com>
1043 Bump so revision for 2.3.2
1044 * fc-cache/fc-cache.c: (scanDirs):
1045 Fix a few minor leaks in error cases.
1047 2005-04-23 Keith Packard <keithp@keithp.com>
1052 * fontconfig/fontconfig.h:
1053 Update for version 2.3.2
1055 2005-04-21 Keith Packard <keithp@keithp.com>
1057 * debian/fontconfig.postinst:
1058 Don't force bitmap font enable in default
1059 configuration; allows users to override this in
1069 * debian/po/pt_BR.po:
1070 * debian/po/templates.pot:
1072 * debian/po/zh_CN.po:
1073 Updated translations
1075 * fc-cache/fc-cache.c: (main):
1076 Destroy font configuration on exit to help valgrind
1079 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1080 (FcFreeTypeCheckGlyph):
1081 Use own transcoding routines in preference to iconv
1082 which appears to have leaks in some translators.
1083 Call iconv_close after using iconv (oops).
1085 Prefer unicode encoding of Euro char as some
1086 fonts mis-encode Euro in other ones.
1088 Must fetch bitmap glyphs to get width values
1089 to check for monospace/dual-width fonts.
1091 2005-04-13 Ross Burton <ross@burtonini.com>
1094 Check that a pattern isn't already frozen in FcPatternFreeze.
1096 2005-03-31 Ross Burton <ross@burtonini.com>
1101 Run all FcPattern objects through FcObjectStaticName, so that
1102 compares can be done on pointers instead of strings (#2659)
1104 2005-03-17 Tor Lillqvist <tml@novell.com>
1106 * src/fontconfig.def.in: Add the .dll to the dll name.
1108 2005-03-10 Keith Packard <keithp@keithp.com>
1110 * debian/README.Debian:
1111 Update to reflect configuration changes
1113 * debian/fontconfig.postinst:
1114 Fix Autohint vs Autohinter mistake
1115 * debian/fontconfig.templates:
1116 Adopt changes from Josselin Mouette for configuration descriptions
1117 Update debian to version 2.3.1-2
1119 2005-03-08 Keith Packard <keithp@keithp.com>
1123 Update debian for 2.3.1
1125 2005-03-09 Tor Lillqvist <tml@novell.com>
1127 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1130 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1133 2005-03-08 Keith Packard <keithp@keithp.com>
1137 * fontconfig/fontconfig.h:
1140 2005-03-05 Keith Packard <keithp@keithp.com>
1142 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1143 Include space and remove numbers from valid script tags.
1144 This ensures that tags like 'lao ' work while rejecting
1145 those which have any digits.
1146 Eliminate a spurious debugging variable (len)
1148 2005-03-05 Keith Packard <keithp@keithp.com>
1150 * src/fcfreetype.c: (addtag), (GetScriptTags),
1151 (FcFontCapabilities):
1152 Rework GSUB/GPOS script parsing to survive broken fonts.
1153 Thanks for the broken font go to Manish Singh
1155 2005-03-05 Keith Packard <keithp@keithp.com>
1160 * debian/fontconfig.config:
1161 * debian/fontconfig.templates:
1163 Include 2.3 release information in changelog
1164 Add Josselin Mouette as an Uploader
1165 Set hinting_type to low priority configuration option
1168 * debian/fontconfig.postinst:
1169 yes_bitmaps.conf -> yes-bitmaps.conf
1175 2005-03-02 Keith Packard <keithp@keithp.com>
1178 * conf.d/Makefile.am:
1179 * conf.d/autohint.conf:
1180 * conf.d/no-sub-pixel.conf:
1181 * conf.d/sub-pixel.conf:
1182 * conf.d/unhinted.conf:
1183 * debian/autohint.conf:
1184 * debian/fontconfig.install:
1185 * debian/fontconfig.postinst:
1186 * debian/fontconfig.templates:
1187 * debian/no-sub-pixel.conf:
1188 * debian/unhinted.conf:
1189 Move debian-specific conf file examples upstream.
1191 Sub-pixel configuration examples must smash subpixel value
1192 as Xft always sets it from X.
1194 Change sub-pixel rendering debconf descriptions from
1195 Enable/Disable to Always/Never.
1197 2005-03-02 Keith Packard <keithp@keithp.com>
1200 * conf.d/.cvsignore:
1202 Ignore more build detritus
1205 Add debian package construction stuff.
1207 * config/config.guess:
1208 * config/config.sub:
1209 Update to newer versions of these tools
1212 Get library manuals to build again (we love automake).
1214 * debian/README.Debian:
1215 * debian/autohint.conf:
1220 * debian/fontconfig-udeb.install:
1221 * debian/fontconfig.config:
1222 * debian/fontconfig.defoma:
1223 * debian/fontconfig.dirs:
1224 * debian/fontconfig.install:
1225 * debian/fontconfig.postinst:
1226 * debian/fontconfig.postrm:
1227 * debian/fontconfig.templates:
1228 * debian/libfontconfig1-dev.install:
1229 * debian/libfontconfig1.install:
1230 * debian/local.conf.md5sum:
1231 * debian/no-sub-pixel.conf:
1232 * debian/po/POTFILES.in:
1241 * debian/po/pt_BR.po:
1242 * debian/po/templates.pot:
1244 * debian/po/zh_CN.po:
1246 * debian/unhinted.conf:
1247 Update debian build system to switch maintainers and
1248 deal with 2.3 functionality
1250 2005-03-01 Keith Packard <keithp@keithp.com>
1254 * fontconfig/fontconfig.h:
1257 2005-03-01 Keith Packard <keithp@keithp.com>
1260 Generate and install PDF versions of the manuals
1262 * doc/fcpattern.fncs:
1265 * doc/fcstring.fncs:
1266 Add missing exported functions, fix data types
1268 * doc/fontconfig-devel.sgml:
1269 Add missing pattern elements.
1271 * doc/fontconfig-user.sgml:
1272 Add missing pattern elements. Document conf.d usage,
1273 clarify available orthography list. Fix some config file
1274 attributes. Complete list of constants.
1276 * fontconfig/fontconfig.h:
1277 Mark FC_SOURCE deprecated.
1279 * src/fcfreetype.c: (FcFreeTypeQuery):
1280 Don't set FC_SOURCE any longer.
1282 2005-02-28 Keith Packard <keithp@keithp.com>
1285 * conf.d/Makefile.am:
1287 * conf.d/no-bitmaps.conf:
1288 * conf.d/sub-pixel.conf:
1289 * conf.d/yes-bitmaps.conf:
1291 Create prototype /etc/fonts/conf.d directory with a few
1292 sample configuration files.
1293 Deprecate use of local.conf for local customizations in favor of
1294 this directory based scheme which is more easily integrated into
1295 installation systems.
1298 Tag FC_EMBOLDEN as a boolean variable
1300 2005-02-10 Keith Packard <keithp@keithp.com>
1302 reviewed by: pborelli@katamail.com
1304 * src/fcdir.c: (FcFileScanConfig):
1305 Free patterns from fonts which are rejected by configuration
1308 2005-01-28 Keith Packard <keithp@keithp.com>
1312 * fontconfig/fontconfig.h:
1313 Update for version 2.2.99
1315 2005-01-28 Keith Packard <keithp@keithp.com>
1318 Add a few pointers (#2284, #2285)
1320 2005-01-28 Keith Packard <keithp@keithp.com>
1323 * src/fcname.c: (FcNameBool):
1324 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1325 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1326 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1327 Polite typechecking for test and edit expressions. Helps
1328 catch errors in the font configuration. (bug 229)
1330 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1332 reviewed by: Keith Packard <keithp@keithp.com>
1335 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1337 2005-01-13 Keith Packard <keithp@keithp.com>
1339 * doc/fontconfig-user.sgml:
1340 Add SEE ALSO section (bug 2085)
1342 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1344 reviewed by: Keith Packard <keithp@keithp.com>
1349 * fc-case/Makefile.am:
1350 * fc-glyphname/Makefile.am:
1351 * fc-lang/Makefile.am:
1352 * src/fontconfig.def.in:
1353 Cross compiling fixes (bug 280)
1355 2005-01-13 Keith Packard <keithp@keithp.com>
1358 Update blanks list (Closes bug 86)
1360 2005-01-04 Keith Packard <keithp@keithp.com>
1362 * src/fccache.c: (FcCacheFontSetAdd):
1363 Verify that every font pattern loaded from cache has
1364 both FC_FILE and FC_FAMILY entries.
1365 Attempt to fix bug #2219.
1367 2004-12-29 Keith Packard <keithp@keithp.com>
1371 * fontconfig/fontconfig.h:
1372 Update for version 2.2.98
1374 2004-12-29 Keith Packard <keithp@keithp.com>
1376 * fontconfig/fontconfig.h:
1377 Document ASCII limitations of Fc character conversion macros
1378 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1379 Fix off-by-one error in utf-8 case walking code.
1380 Add FcStrDowncase (useful for testing case conversion functions)
1382 2004-12-29 Keith Packard <keithp@keithp.com>
1385 * fc-case/.cvsignore:
1386 clean up CVS ignore lists
1387 * fc-lang/iso-3166.txt:
1388 Add territory database
1390 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1392 Reviewed by: Keith Packard
1395 Remove Han characters from Korean orthography
1397 2004-12-29 Keith Packard <keithp@keithp.com>
1400 Reorder utility programs to make sure fc-case is run before fc-lang
1401 as fc-lang uses fcstr.c which uses fccase.h
1405 2004-12-29 Keith Packard <keithp@keithp.com>
1408 Adopt some RedHat suggestions for standard font configuration.
1412 * fc-case/CaseFolding.txt:
1413 * fc-case/Makefile.am:
1414 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1415 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1416 (dump), (parseRaw), (caseFoldReadRaw), (main):
1417 * fc-case/fccase.tmpl.h:
1418 Add new helper program 'fc-case' to construct case folding
1419 tables from standard Unicode CaseFolding.txt file
1422 * src/fclist.c: (FcListValueHash):
1423 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1424 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1425 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1426 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1427 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1428 Re-implement case insensitive functions with Unicode
1429 aware versions (including full case folding mappings)
1431 2004-12-13 Keith Packard <keithp@keithp.com>
1433 reviewed by: Owen Taylor <otaylor@redhat.com>
1435 * src/fcmatch.c: (FcFontSetSort):
1436 I changed FcFontSetSort to respect the generic aliases better
1437 in the face of language matching.
1439 What I did was to ammend the strict sort order used by FcFontSort so
1440 that it 'satisfies' the language specified in the pattern by locating
1441 the best matching font supporting each pattern language and then
1442 ignores language in the remaining fonts for purposes of matching.
1444 So, when asking for 'sans:lang=en', you'll get an English font first,
1445 and then the remaining fonts sorted with respect to the 'sans' alias
1446 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1448 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1450 reviewed by: Keith Packard <keithp@keithp.com>
1452 * fontconfig/fontconfig.h:
1455 Configuration changes to request synthetic emboldening of
1456 fonts. The actual emboldening code will live in Xft.
1458 2004-12-09 John Thacker <thacker@math.cornell.edu>
1460 reviewed by: Keith Packard <keithp@keithp.com>
1464 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1465 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1466 и), and don't even appear in KOI8-R. (The hypothesis that they
1467 don't appear in KOI8-R due to their similarity with Latin I and i is
1468 eliminated by their presence in KOI8-U.) I have a couple of fonts
1469 with Russian support that don't have the letter.
1471 Therefore, 0406 and 0456 should be removed from or commented out of
1474 2004-12-06 michael meeks <mmeeks@novell.com>
1476 Reviewed by: Keith Packard <keithp@keithp.com>
1478 * src/fcinit.c: (FcMemReport):
1480 * src/fclist.c: (FcObjectSetAdd):
1481 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1482 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1483 * src/fcxml.c: (FcParsePatelt):
1484 memoize strings and share a single copy for all uses. Note that
1485 this could be improved further by using statically allocated blocks
1486 and gluing multiple strings together, but I'm basically lazy.
1487 In my environment with 800 font files, I get a savings of about 90KB.
1489 2004-12-06 Keith Packard <keithp@keithp.com>
1493 * config/Makedefs.in:
1496 * doc/fcatomic.fncs:
1497 * doc/fcblanks.fncs:
1498 * doc/fccharset.fncs:
1499 * doc/fcconfig.fncs:
1500 * doc/fcconstant.fncs:
1502 * doc/fcfontset.fncs:
1503 * doc/fcfreetype.fncs:
1505 * doc/fcmatrix.fncs:
1506 * doc/fcobjectset.fncs:
1507 * doc/fcobjecttype.fncs:
1508 * doc/fcpattern.fncs:
1509 * doc/fcstring.fncs:
1510 * doc/fcstrset.fncs:
1512 * doc/fontconfig-devel.sgml:
1513 * doc/fontconfig-user.sgml:
1515 * doc/version.sgml.in:
1516 * fc-cache/Makefile.am:
1517 * fc-cache/fc-cache.c:
1518 * fc-glyphname/Makefile.am:
1519 * fc-glyphname/fc-glyphname.c:
1520 * fc-glyphname/fcglyphname.tmpl.h:
1521 * fc-lang/Makefile.am:
1531 * fc-lang/az_ir.orth:
1565 * fc-lang/fc-lang.c:
1566 * fc-lang/fc-lang.man:
1567 * fc-lang/fclang.tmpl.h:
1612 * fc-lang/ku_ir.orth:
1645 * fc-lang/ps_af.orth:
1646 * fc-lang/ps_pk.orth:
1675 * fc-lang/ti_er.orth:
1676 * fc-lang/ti_et.orth:
1702 * fc-lang/zh_cn.orth:
1703 * fc-lang/zh_hk.orth:
1704 * fc-lang/zh_mo.orth:
1705 * fc-lang/zh_sg.orth:
1706 * fc-lang/zh_tw.orth:
1708 * fc-list/Makefile.am:
1709 * fc-list/fc-list.c:
1710 * fc-match/Makefile.am:
1711 * fc-match/fc-match.1:
1712 * fc-match/fc-match.c:
1713 * fontconfig/fcfreetype.h:
1714 * fontconfig/fcprivate.h:
1715 * fontconfig/fontconfig.h:
1736 Change files from ISO-Latin-1 to UTF-8
1738 2004-12-04 Keith Packard <keithp@keithp.com>
1741 Update links to new freedesktop.org locations
1743 Add uninstall-local to get rid of fonts.conf and local.conf if they
1744 match the distributed versions. Fixes 'make distcheck'
1746 2004-12-04 Keith Packard <keithp@keithp.com>
1750 * fontconfig/fontconfig.h:
1751 Updates for version 2.2.97
1753 2004-12-04 Owen Taylor <otaylor@redhat.com>
1755 reviewed by: Keith Packard <keithp@keithp.com>
1757 * fc-cache/fc-cache.c: (main):
1758 Sleep for two seconds before exiting to make sure timestamps
1759 for future changes have distinct mod times in the file system.
1762 Add Punjabi orthography. Bug #1671.
1764 2004-12-04 Keith Packard <keithp@keithp.com>
1767 Just remove the FC_FONTDATE -- it has locale issues and
1768 annoys redhat multi-arch installs. Now that all X fonts are
1769 included without prejudice, the chances of the date being at
1770 all interesting are rather limited. Bug #505.
1772 Add copyright and license
1774 2004-12-04 Keith Packard <keithp@keithp.com>
1777 Change default set of fonts to include all of
1778 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1779 * doc/fontconfig-user.sgml:
1780 Document new <include>directory-name</include> semantics
1782 add <include ignore_missing="yes">conf.d</include>
1784 Add selectfont to ignore bitmap fonts, add comment for
1785 selectfont which accepts bitmap fonts.
1788 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1789 Allow <include> configuration elements to reference directories.
1790 Parse and load all files of the form [0-9]* in sorted order.
1792 2004-12-04 Keith Packard <keithp@keithp.com>
1795 Report command line for $srcdir/configure accurately.
1798 2004-12-04 Keith Packard <keithp@keithp.com>
1800 * src/fcfreetype.c: (FcFreeTypeQuery):
1801 Check for non-empty face->family_name and face->style_name
1802 before using those for the font. Empty names match everything.
1805 2004-12-04 Keith Packard <keithp@keithp.com>
1808 * fontconfig/fontconfig.h:
1809 * src/fcfreetype.c: (FcFreeTypeQuery):
1811 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1812 available. This provides font file format information (BDF, Type 1,
1813 PCF, TrueType) for each font. Closes #109.
1815 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1817 reviewed by: Keith Packard <keithp@keithp.com>
1819 * doc/fontconfig-user.sgml:
1822 * fontconfig/fontconfig.h:
1823 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1824 (GetScriptTags), (FcFontCapabilities):
1826 Add detection for font capabilities (bug #105)
1828 2004-12-04 Keith Packard <keithp@keithp.com>
1831 Move existing fonts.conf to fonts.conf.bak
1834 Add detection of iconv
1836 * doc/fcpattern.fncs:
1837 * doc/fontconfig-devel.sgml:
1838 * doc/fontconfig-user.sgml:
1840 Document new selectfont elements
1843 Switch to UTF-8 in comment
1845 * fontconfig/fontconfig.h:
1847 Add fullname, and family/style/fullname language entries
1849 * src/fccache.c: (FcCacheFontSetAdd):
1850 * src/fcdir.c: (FcFileScanConfig):
1851 Respect selectfont/*/glob
1854 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1855 (FcConfigCompareValue), (FcConfigPatternsAdd),
1856 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1857 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1858 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1859 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1860 Add support for selectfont
1862 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1863 (FcStringInPatternElement), (FcFreeTypeQuery):
1864 Add multi-lingual family/style/fullname support
1866 * src/fclist.c: (FcListPatternMatchAny):
1867 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1869 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1870 (FcObjectStaticName):
1871 Add new FcPatternRemove/FcPatternAppend.
1872 FcObjectStaticName stores computed pattern element names which
1873 are required to be static.
1875 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1880 Remove spurious / after $(DESTDIR)
1882 2004-06-30 Keith Packard <keithp@keithp.com>
1886 * fontconfig/fontconfig.h:
1889 2004-06-30 Keith Packard <keithp@keithp.com>
1891 Provided by: Lubos Lunak <l.lunak@suse.cz>
1893 * src/fccfg.c: (FcConfigUptoDate):
1894 However FcConfigUptoDate() doesn't seem to work. See the attached
1895 patch. First there's an obvious misplaced parenthesis making it
1896 return always false, and second, even this call fails to detect font
1897 changes (e.g. adding a new font to
1898 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1899 well. The problem seems to be triggered by my fonts.conf specifying
1900 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1901 doesn't include subdirs, unlike config->fontDirs.
1903 2004-06-03 Keith Packard <keithp@keithp.com>
1905 * fontconfig/fontconfig.h:
1906 Remove comma at end of FcResult enum definition.
1908 2004-05-29 Keith Packard <keithp@keithp.com>
1911 Add steps to md5sum release
1913 2004-05-29 Keith Packard <keithp@keithp.com>
1917 * fontconfig/fontconfig.h:
1920 2004-05-29 Keith Packard <keithp@keithp.com>
1922 * fontconfig/fontconfig.h:
1923 * src/fcmatch.c: (FcFontSetMatch):
1924 Add FcResultOutOfMemory to provide an accurate error when
1925 FcFontSetMatch fails in this way
1928 Make #warning about lacking various FreeType features indicate
1929 which version those features appeared so users know how to
1930 fix the problem (Thanks to Anton Tropashko)
1932 2004-05-05 Keith Packard <keithp@keithp.com>
1934 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1935 Replace MIN/MAX/ABS macros which happen to have come
1936 from FreeType with fontconfig-specific ones (FC_*)
1938 2004-04-23 Keith Packard <keithp@keithp.com>
1941 Extend release preparation instructions to include
1942 notification and distribution steps
1944 2004-04-23 Keith Packard <keithp@keithp.com>
1948 * fontconfig/fontconfig.h:
1949 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1951 2004-04-23 Keith Packard <keithp@keithp.com>
1954 Ignore a few more autotool files
1956 2004-04-14 Keith Packard <keithp@keithp.com>
1959 Add instructions for doing a release
1961 * fontconfig.spec.in:
1962 clean up .spec file; perhaps this will be useful to somebody...
1966 * fontconfig/fontconfig.h:
1969 * fc-lang/fc-lang.c:
1970 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1972 * fc-glyphname/Makefile.am:
1973 * fc-lang/Makefile.am:
1974 * fc-list/Makefile.am:
1975 * fc-match/Makefile.am:
1977 Add WARN_CFLAGS to pass -W flags for GCC systems
1979 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1980 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1981 Change various char types around to match across
1983 Fixed bug in using available_sizes[i].height which
1984 is in pixels, not 64ths of a pixel.
1986 2004-03-06 Keith Packard <keithp@keithp.com>
1988 * src/fcfreetype.c: (FcFreeTypeQuery):
1989 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1990 matches looking for explicit values prefer exact matches
1992 2004-03-02 Keith Packard <keithp@keithp.com>
1994 Supplied by: mfabian@suse.de (Mike FABIAN)
1996 * src/fcfreetype.c: (FcFreeTypeQuery):
1997 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1998 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2000 2004-02-21 Manish Singh <yosh@gimp.org>
2002 * fc-glyphname/fc-glyphname.c: (main):
2003 Cast strlen to int for printf, so we're 64-bit clean.
2005 2004-02-11 Keith Packard <keithp@keithp.com>
2008 * src/fcfreetype.c: (FcGetPixelSize):
2009 Ok, so I messed up the test for y_ppem. Let's see if I
2010 got it right this time.
2012 2004-02-10 Keith Packard <keithp@keithp.com>
2015 * src/fcfreetype.c: (FcGetPixelSize):
2016 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2017 FT_Bitmap_Size record. Add a configure.in test for this
2018 and change the code accordingly (using height instead).
2020 2004-02-06 Keith Packard <keithp@keithp.com>
2023 Add Low Saxon orthography
2024 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2026 * src/fccfg.c: (FcConfigNewestFile):
2027 Oops. Left 'newest.set' unset, which would miscompute
2030 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2031 (FcFreeTypeCheckGlyph):
2032 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2033 font properties (which report the wrong value in current FreeType)
2035 Don't attempt to check for empty glyphs in non-scalable fonts; they
2038 2004-02-01 Tor Lillqvist <tml@iki.fi>
2040 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2041 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2042 cache if config->cache is NULL, which happens if FcConfigHome() is
2043 NULL. Guard against that by using the temp folder in that case.
2045 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2047 * fc-lang/az_ir.orth:
2048 * fc-lang/ku_ir.orth:
2049 * fc-lang/ps_af.orth:
2050 * fc-lang/ps_pk.orth:
2051 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2052 (Afghan and Pakistani).
2054 Updated Urdu orthography with real data.
2056 2003-12-11 Carl Worth <cworth@east.isi.edu>
2058 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2061 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2063 (all-local): Remove excessive whitespace.
2065 * autogen.sh: Add 'set -e' to abort when any program fails,
2066 (avoids printing of 'now type make' after configure aborts).
2068 2003-11-17 Eric Christopherson <rakko@charter.net>
2070 reviewed by: Keith Packard <keithp@keithp.com>
2073 * fontconfig/fcfreetype.h:
2075 Switch to FreeType 2.1.7 style includes. Bug #150.
2077 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2079 * fc-list/fc-list.sgml: Add some example usages.
2081 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2084 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2087 2003-10-27 Keith Packard <keith@keithp.com>
2090 * fontconfig/fontconfig.h:
2091 Update to version 2.2.92
2093 2003-10-27 Keith Packard <keithp@keithp.com>
2098 * fc-cache/Makefile.am:
2099 * fc-glyphname/Makefile.am:
2100 * fc-lang/Makefile.am:
2101 * fc-list/Makefile.am:
2102 * fc-match/Makefile.am:
2105 Yet more cleanups to finish getting 'make distcheck' working
2106 This has been tested to ensure that it even works from a _build
2109 2003-10-26 Keith Packard <keithp@keithp.com>
2113 * fc-cache/Makefile.am:
2114 * fc-glyphname/Makefile.am:
2115 * fc-lang/Makefile.am:
2116 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2117 * fc-list/Makefile.am:
2118 * fc-match/Makefile.am:
2119 Attempts to fix 'make distcheck' work. Things are
2120 progressing pretty well, but there are still failures
2121 long into the process dealing with docs (as always).
2123 The big changes here are mostly to make $(srcdir) != "."
2124 work correctly, fixing the docbook related sections and
2125 fc-lang were particularily tricky. Docbook refuses to load
2126 system entities from anywhere other than where the original .sgml
2127 file was located, so no luck looking in "." for the
2128 configure-generated version.sgml and confdir.sgml files.
2130 fc-lang needed help finding .orth files; added a -d option
2131 to set the directory as the least evil of many options.
2133 Now to go use a faster machine and try and wring out the last
2136 2003-10-26 Keith Packard <keithp@keithp.com>
2140 2003-10-26 Keith Packard <keithp@keithp.com>
2143 Include confdir.sgml.in in EXTRA_DIST
2145 2003-10-09 Josselin Mouette <joss@debian.org>
2147 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2148 * fc-list/fc-list.sgml fc-list/Makefile.am:
2149 Replace fc-cache and fc-list manpages with more detailed, SGML
2152 2003-09-23 Owen Taylor <otaylor@redhat.com>
2154 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2155 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2156 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2159 2003-09-23 Owen Taylor <otaylor@redhat.com>
2161 * fc-lang/ka.orth: Remove Georgian capitals, they
2162 aren't used for normal writing. (Bug #116)
2164 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2166 * doc/fontconfig-devel.sgml:
2167 * doc/fontconfig-user.sgml:
2168 * fontconfig/fontconfig.h:
2170 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2171 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2173 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2174 monospace and dual-width fonts, allow roughly a 3% variance in the
2177 2003-08-31 Manish Singh <yosh@gimp.org>
2179 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2182 2003-08-15 Carl Worth <cworth@isi.edu>
2184 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2185 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2187 * src/fcpat.c (FcValueListEntDestroy): New function to support
2188 FcFini memory cleanup. Some statistics are not kept in
2190 (FcValueListFreeze): Move hashTable outside this function so it
2191 can be accessed by FcValueListThawAll.
2192 (FcValueListThawAll): New function complements FcValueListFreeze.
2193 (FcPatternBaseFreeze): Move hashTable outside this function so it
2194 can be accessed by FcPatternBaseThawAll.
2195 (FcPatternBaseThawAll): New function complements
2196 FcPatternBaseFreeze.
2197 (FcPatternThawAll): New function complements FcPatternFreeze.
2199 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2201 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2202 allocated FcCharLeafEnt "blocks" so they can be freed later.
2203 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2204 can be accessed by FcCharSetThawAllLeaf.
2205 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2206 (FcCharSetFreezeBase): Move hashTable outside this function so it
2207 can be accessed by FcCharSetThawAll.
2208 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2210 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2211 (FcConfigDestroy): Fic leak of FcBlanks.
2213 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2214 (main): Add call to FcFini when finished.
2216 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2217 static. Add prototypes.
2219 * doc/fcinit.fncs: Add documentation for FcFini function.
2221 * doc/edit-sgml.c: Mark several local functions as static. Add
2224 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2226 2003-06-15 Tor Lillqvist <tml@iki.fi>
2228 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2229 before comparing (needed on Windows).
2231 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2233 2003-06-13 Tor Lillqvist <tml@iki.fi>
2235 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2238 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2239 WINDOWSFONTDIR token.
2241 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2242 end, not to confuse libtool, which expects the EXPORTS line to be
2243 the first. Add FcConfigEnableHome.
2245 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2246 built as a DLL on Win32.
2248 2003-06-09 Keith Packard <keithp@keithp.com>
2250 * Tag version 2.2.90
2252 2003-06-09 Keith Packard <keithp@keithp.com>
2254 * Optimization in FcLangSetIndex was broken, occasionally
2255 returning a pointer to the wrong location on miss
2257 * Add fc-match to test font matching from the command line.
2259 2003-05-31 Keith Packard <keithp@keithp.com>
2261 * (Bug 85) add support for culmus fonts
2262 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2263 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2265 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2267 * Fix "contains" op for strings and langsets.
2269 2003-05-17 Keith Packard <keithp@keithp.com>
2271 * Fix build error with BDF prop local. Free langset after query
2273 2003-05-14 Keith Packard <keithp@keithp.com>
2275 * Extract spacing from XLFD atom
2277 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2279 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2280 disappeared in 1.30.
2282 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2284 2003-05-12 Keith Packard <keithp@keithp.com>
2286 * Use FcIsWidth to share code
2288 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2289 misclassifying some Han fonts as monospaced.
2291 2003-05-07 Keith Packard <keithp@keithp.com>
2293 * Add filename-based accept/reject to ammend available fonts.
2295 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2296 older FreeType releases.
2298 2003-05-06 Keith Packard <keithp@keithp.com>
2300 * Remove 0b82 and Tamil numbers from tamil
2301 orthography (Jungshik Shin <jshin@mailaps.org>)
2303 2003-05-04 Keith Packard <keithp@keithp.com>
2305 + Map glyph names in fonts with adobe custom encoding to unicode
2307 2003-05-02 Keith Packard <keithp@keithp.com>
2309 * Add FC_WEIGHT_BOOK as weight 75
2311 2003-04-30 Keith Packard <keithp@keithp.com>
2313 * Typo in bitstream foundry name
2315 2003-04-24 Keith Packard <keithp@keithp.com>
2317 * Eliminate italic_angle check for PS fonts
2319 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2321 * Getting closer to fixing /etc/fonts hard-coding.
2323 2003-04-22 Keith Packard <keithp@keithp.com>
2325 * Update autogen.sh to work with newer automake versions
2326 * Handle pattern elements moving during multiple edits
2328 2003-04-23 James Henstridge <james@daa.com.au>
2330 * doc/fontconfig-devel.sgml: close the <para> element.
2332 * doc/fcpattern.fncs: close the <para> element.
2334 * doc/func.sgml: close the <refsynopsisdiv> element.
2336 2003-04-22 Keith Packard <keithp@keithp.com
2338 * Update autogen.sh to work with newer automake versions
2339 * Handle pattern elements moving during multiple edits
2341 2003-04-17 Colin Walters <walters@debian.org>
2343 + Remove some unused variables, and initialize some other ones so
2344 gcc doesn't warn us.
2346 2003-04-16 Keith Packard <keithp@keithp.com>
2348 + tag version 2.1.94
2350 2003-04-16 Keith Packard <keithp@keithp.com>
2352 + add BDF property fetching support for foundry
2353 (from Juliusz Chroboczek)
2354 + add BDF property fetching support for width
2356 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2358 + Implemented foundry generation for Type 1 and TrueType
2360 2003-04-11 Gerard Escalante <g2@magestudios.net>
2362 + Retrieve information from Type1 FontInfo dictionaries
2364 2003-04-07 Colin Walters <walters@verbum.org>
2366 + src/Makefile.am: Fix dummy makefile target names when
2367 MS_LIB_AVAILABLE isn't set.
2369 2003-03-22 Tor Lillqvist <tml@iki.fi>
2371 Changes for Windows:
2373 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2375 + We don't want to hardcode the fonts.conf file location in the
2376 DLL, so we look up the DLL location at run-time in a DllMain()
2377 function. The fonts.conf location is deduced from that.
2379 + The colon can't be used as path separator on Windows,
2380 semicolon is used instead. File path components can be separated
2381 with either slash or backslash. Absolute paths can also begin
2382 with a drive letter.
2384 + Add internal function FcStrLastSlash that strrchr's the last
2385 slash, or backslash on Windows.
2387 + There is no link() on Windows. For atomicity checks, mkdir a
2388 lock directory instead.
2390 + In addition to HOME, also look for USERPROFILE.
2392 + Recognize the special font directory token WINDOWSFONTDIR, to
2393 use the system's font directory.
2395 + Remove the fontconfig-def.cpp that was obsolete. Add
2396 fontconfig.def(.in), without internal functions.
2398 + Add a fontconfig-zip(.in) script, used to build a binary
2401 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2402 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2403 to main package and man3/* to devel package
2405 + Added missing defattr(-, root, root) to main RPM package
2407 + Added HTML and text development documentation to -devel subpackage
2409 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2410 + Added back the configure macro options --disable-docs, otherwise
2411 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2412 version number) unconditionally, causing RPM to fail the build due
2413 to _unpackaged_files_terminate_build. We pick up the pregenerated
2414 docs with %doc already.
2416 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2417 + Removed commented out rpm macro define at top of spec file,
2418 replacing it with a simple explanation, since rpm macros are
2419 expanded by rpm even in comments.
2421 + Changed /usr/bin to _bindir in BuildRequires lines
2423 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2425 + Reorganized file manifest lists
2427 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2429 + fontconfig.spec.in: Improvements from Red Hat spec file.
2431 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2433 + docs/*.sgml: SGML fixes.
2435 Sat Mar 1 17:28:53 PST 2003 keithp
2436 + Ok, so the ChangeLog is a bit out of date
2438 + Lots of bugs fixed; most are in bugzilla, the
2439 biggest problems were in cache management where
2440 Owen discovered the library would lose badly when
2441 combining fonts-cache and ~/.fonts-cache data
2443 + Converted from autoconf to automake. This after
2444 getting patches accepted into libtool to allow
2445 the '-version-number' argument which lets
2446 packages set version numbers explicitly rather
2447 than the roundabout libtool way
2449 + Converted documentation to SGML using the docbook
2450 DTD. Now .txt and .html documents are installed
2451 in /usr/share/doc/fontconfig and there's no
2452 man page. Perhaps a man version can be written
2455 Sat Aug 31 15:21:22 PDT 2002 keithp
2456 + Xrender and Xft had several bugs related to
2457 rendering manually placed or poly-face text
2459 + Added more complete memory tracing in fontconfig
2460 Checked with (patched) mozilla and found no leaks
2462 + Updated Latin orthographies by comparing those from
2463 evertype.com with those from eki.ee. Tried to make
2464 sensible choices, including chars that occured in both
2465 and leaving some optional chars out that occured only
2468 Mon Aug 26 16:33:04 PDT 2002 keithp
2469 + Owen discovered that FcLangSetHasLang wasn't actually
2470 checking the language set.
2472 Mon Aug 26 13:37:23 PDT 2002 keithp
2473 + Append a version number to cache filenames
2475 Thu Aug 22 11:36:18 PDT 2002 keithp
2477 + Add "contains" and "not_contains" operators and elements to
2480 + Changed semantics of eq operator for LangSets to check for
2481 FcLangEqual so that any match will do
2483 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2484 of FcValueEqual to check for identical values when inserting into
2485 the results. This broke when the above semantic change was made,
2486 now it uses FcValueEqual which is "more correct" in any case.
2488 Thu Aug 22 00:32:29 PDT 2002 keithp
2490 + Reimplement FC_LANG as new datatype. Lists of strings
2491 was consuming over a megabyte of memory for 401 fonts.
2493 + Freeze patterns loaded from cache files. This shares
2494 common value lists and common patterns which saves
2495 considerable memory.
2497 + Change the denotation of 'constant' charsets to use special
2498 ref value instead of separate boolean.
2500 + Clean up leak tracing stuff, found several unannoted alloc/free
2503 Tue Aug 20 16:17:37 PDT 2002 keithp
2505 + Fix memory leak when parsing matrices from XML
2507 Mon Aug 19 11:57:27 PDT 2002 keithp
2509 + Fix autoconf files to pass FONTCONFIG_PATH on
2510 compile line so that ${prefix} gets substituted
2513 + Use getc_unlocked/putc_unlocked on systems that
2514 provide them to avoid damage done to stdio by posix
2516 + Eliminate FC_PATTERN and FcTypePattern in favor of
2517 an extended api for FcConfigSubstitute which takes
2518 both the font and the pattern.
2520 + Add 'sans serif' alias for 'sans-serif' as some apps
2521 can't handle hyphens in family names
2523 + Eliminate pretense of support for libxml2
2525 + Comment origins of Han orthographies
2527 Tue Jul 30 18:37:09 PDT 2002 keithp
2529 + Add binding property to edit element so that strong
2530 binding values may be inserted by the config file.
2531 The default remains weak.
2533 Sun 28 Jul 04:16:55 PDT 2002 keithp
2535 + Tagged release candidate 1 in the CVS tree and
2536 placed fcpackage.rc1.tar.gz for distribution
2538 Thu Aug 1 08:55:08 PDT 2002 keithp
2540 + Fixed autoconf builds to always specify install
2541 target files (for BSD). Also fixed to
2542 define FONTCONFIG_PATH in config.h so that
2543 nonstandard installs will actually work.