1 2006-01-29 Mike Fabian <mfabian@suse.de>
4 * src/fccache.c (FcGlobalCacheReadDir):
6 Fix global cache reads of subdirectories.
8 2006-01-29 Patrick Lam <plam@mit.edu>
10 Add documentation for FcConfigNormalizeFontDir.
12 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
13 FcGlobalCacheUpdate, FcGlobalCacheSave):
14 * src/fcdir.c (FcDirScanConfig):
17 Write directory information to global caches to fix make check
18 (reported by Ronny V. Vindenes). This changes the global cache
21 2006-01-27 Patrick Lam <plam@mit.edu>
22 * fc-cache/fc-cache.c (scanDirs):
23 * fontconfig/fontconfig.h:
25 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
27 Move FcConfigNormalizeFontDir call so that it doesn't result in
28 infinite recursion (reported by Ronny V. Vindenes).
30 2006-01-26 Patrick Lam <plam@mit.edu>
31 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
32 * src/fccfg.c (FcConfigNormalizeFontDir):
34 Add a couple of missing normalizations to make fc-cache work
35 right; only scan subdirectories once.
37 2006-01-26 Mike Fabian <mfabian@suse.de>
40 * src/fcacache.c (FcGlobalCacheReadDir):
42 Don't crash on non-existant directories in global cache.
44 2006-01-26 Patirck Lam <plam@mit.edu>
45 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
46 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
47 * src/fcdir.c (FcDirScanConfig):
48 * src/fcxml.c (FcEndElement):
50 Stop trampling the directory name when writing out caches.
51 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
52 subdirs when necessary. Don't scan directories that can't be
55 2006-01-25 Patrick Lam <plam@mit.edu>
56 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
57 * src/fccfg.c (FcConfigEvaluate):
58 * src/fcfreetype.c (FcPatternAddWithBinding):
60 Fix additional memory leaks reported by Ronny V. Vindenes: don't
61 invoke FcValueSave on hashed static strings in
62 FcPatternAddWithBinding.
64 Add another st_dev check in FcDirCacheOpen.
66 2006-01-24 James Su <james.su@gmail.com>
69 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
72 Treat zh-hk fonts differently from zh-tw fonts. This patch may
73 cause fontconfig to treat A-X fonts differently from A-Y fonts;
74 please mail the fontconfig list if this causes any problems.
76 2006-01-24 Patrick Lam <plam@mit.edu>
77 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
78 * src/fcfreetype.c (FcFreeTypeQuery):
80 Fix memory leaks reported by Ronny V. Vindenes.
82 2006-01-19 Andreas Schwab <schwab@suse.de>
85 * src/fcpat.c (FcStrNeededBytes):
87 Fix for unaligned memory accesses.
89 2006-01-18 Mike Fabian <mfabian@suse.de>
92 * src/fcdir.c (FcDirScanConfig):
94 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
95 calls to avoid crashes.
97 2006-01-14 Patrick Lam <plam@mit.edu>
98 * src/fccache.c (FcDirCacheConsume):
100 Fix segfault when consuming zero-length caches in fc-cat
101 (which has no config, so FcConfigAddFontDir shouldn't be called.)
103 2006-01-14 Patrick Lam <plam@mit.edu>
104 * fc-cache/fc-cache.c (scanDirs):
105 * fontconfig/fontconfig.h:
106 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
107 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
108 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
109 * src/fcdir.c (FcDirScanConfig):
112 Compare device numbers as well as inodes.
113 Always normalize directory names before comparing them.
115 2006-01-11 Mike Fabian <mfabian@suse.de>
118 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
120 Allocate extra space for appended '/' in directory name.
122 2006-01-10 Patrick Lam <plam@mit.edu>
123 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
124 FcDirCacheValid, FcDirCacheHasCurrentArch,
125 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
126 * fc-cache/fc-cache.c (main):
128 Explicitly add font dirs to config.fontDirs even if they're empty.
129 Set current config in fc-cache.c.
130 Fix treatment of cache directory as read from cache file; don't
131 use string equality to determine if we have the right file,
134 2006-01-09 Patrick Lam <plam@mit.edu>
135 * fc-cache/fc-cache.c (scanDirs):
136 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
137 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
138 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
139 * src/fccfg.c (FcConfigNormalizeFontDir):
140 * src/fcdir.c (FcDirScanConfig):
143 Normalize font dirs by using the form, as given in fonts.conf, and
144 recorded in FcConfig's fontDirs string set, as canonical.
146 Actually update config.fontDirs as font directories are scanned.
148 2006-01-08 James Su <james.su@gmail.com>
149 * src/fcmatch.c (FcFontSetMatch):
151 Fix matching bug when multiple elements match; don't use
152 the sum of all scores, but the best score.
154 Also more perf opts, e.g. evaluate best over all font sets
155 rather than on a per-set basis (and other changes).
157 2006-01-08 Patrick Lam <plam@mit.edu>
158 * src/fccache.c (FcDirCacheConsume):
160 Properly skip past dir caches that contain zero fonts (as occurs
161 in global caches.) Reported by Mike Fabian.
163 2006-01-06 Patrick Lam <plam@mit.edu>
164 * src/fcdbg.c (FcPatternPrint):
166 Print out full pathname in fc-match -v as well. Reported by
169 2006-01-06 Mike Fabian <mfabian@suse.de>
172 * src/fcname.c (FcNameParse):
174 Fix bug where fc-match crashes when given __DUMMY__ property to
177 (I added the __DUMMY__ string to enable callers of
178 FcObjectToPtrLookup to distinguish an error return from a
179 successful return. -PL)
181 2006-01-05 Patrick Lam <plam@mit.edu>
184 Add self to AUTHORS list.
186 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
187 FcCacheFileRead, FcCachePrintSet, main):
188 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
189 FcGlobalCacheSave, FcCacheNextOffset,
190 FcDirCacheHasCurrentArch, FcDirCacheRead,
191 FcDirCacheConsume, FcDirCacheWrite):
193 * src/fcpat.c (comment):
195 Minor change to global cache file format to fix fc-cat bug
196 reported by Frederic Crozat, and buglet with not globally caching
197 directories with zero fonts cached.
199 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
202 * src/fccfg.c (FcConfigEvaluate):
204 Fix double-free which occurs because FcValueCanonicalize doesn't
205 create an extra copy of the returned value, it only canonicalizes
208 2006-01-02 Patrick Lam <plam@mit.edu>
209 * doc/fontconfig-user.sgml:
211 Fix version of .cache file (currently 1 -> currently 2). Reported
214 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
217 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
219 Shut up GCC warnings on amd.
221 2005-12-20 Patrick Lam <plam@mit.edu>
225 * fontconfig/fontconfig.h:
227 Bump version to 2.3.93.
229 2005-12-20 Patrick Lam <plam@mit.edu>
230 * src/fccharset.c (FcLangCharSetPopulate):
231 * src/fcint.h (FcCacheBankToIndex):
233 Avoid check on _fcBankId nullness and fix case where it used to
236 2005-12-20 Patrick Lam <plam@mit.edu>
237 * src/fcxml.c (FcConfigParseAndLoad):
239 Use open instead of fopen (requested by Phil Race for Sun).
241 2005-12-20 Patrick Lam <plam@mit.edu>
242 * src/fccache.c (FcDirCacheWrite);
243 * fc-cache/Makefile.am:
245 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
248 2005-12-20 Patrick Lam <plam@mit.edu>
249 * src/fcfreetype.c (FcFreeTypeQuery):
251 Restore code to skip over PCF fonts that have no encoded
253 (We guess that a font is PCF by presence of the PIXEL_SIZE
256 2005-12-12 Patrick Lam <plam@mit.edu>
257 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
259 Read and write the original location as a fallback for the
260 hashed cache file locations. This is mostly for users to be
261 able to have per-directory cache files.
263 2005-12-12 Patrick Lam <plam@mit.edu>
264 * fc-cache/fc-cache.c (scanDirs):
265 * fc-cache/Makefile.am:
266 * src/fccache.c (FcDirCacheHashName):
268 Improve error message when fc-cache can't write the cache. Add
269 missing slash. Reported by Behdad. Incorporate Behdad's patch to
270 create /var/cache/fontconfig when appropriate.
272 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
275 * src/fcxml.c (FcConfigGetAttribute):
277 Fix crash reported by Frederic Crozat when using libxml2.
279 2005-12-09 Patrick Lam <plam@mit.edu>
282 * fc-cache/Makefile.am:
283 * fc-cat/Makefile.am:
285 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
286 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
287 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
288 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
289 FcDirCacheHasCurrentArch, FcDirCacheHashName,
290 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
292 Migrate cache files from fonts directories to
293 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
294 but requires that all caches get rebuilt.
296 Also, autogen.sh now needs the additional parameter
297 --localstatedir=/var.
299 2005-12-07 Patrick Lam <plam@mit.edu>
300 * src/fcpat.c (FcPatternAddString):
302 Because we've changed FcPatternAddString to use FcStrStaticName
303 and not FcValueSave, explicitly handle the case of a null string.
305 2005-12-06 Patrick Lam <plam@mit.edu>
306 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
310 2005-12-05 Patrick Lam <plam@mit.edu>
311 * src/fcname.c (FcNameGetObjectType):
313 Don't assign types to user object names.
315 2005-12-05 Patrick Lam <plam@mit.edu>
316 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
318 Don't free strings that have been returned from FcStrStaticName.
320 2005-12-01 Patrick Lam <plam@mit.edu>
321 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
323 Add codepath for reading global cache files as well.
325 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
328 * conf.d/10-fonts.persian.conf:
329 * conf.d/Makefile.am:
331 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
333 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
336 * src/fcxml.c (FcConfigParseAndLoad):
338 Only add a config file to the set of config files once.
340 2005-11-29 Patrick Lam <plam@mit.edu>
341 * src/fcint.h (FcCacheBankToIndex);
343 Fix segfault by guarding array dereference.
345 2005-11-29 Dirk Mueller <dmueller@suse.de>
349 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
350 FcCacheBankToIndex, FcCacheBankToIndexMTF,
354 Refactor FcCacheBankToIndex into an inlineable part
355 (in fcint.h) which checks the front of the list and a
356 non-inlineable part which finds and moves the appropriate element
357 to the front of the list.
359 2005-11-29 Patrick Lam <plam@mit.edu>
360 * src/fccfg.c (FcConfigBuildFonts):
361 * src/fccache.c (FcCacheReadDirs):
363 Make the perf guys hate me a bit less: hoist the directory-name
364 FcConfigAcceptFont check for cached fonts up to directory cache
365 read time, rather than running it for each font.
367 2005-11-29 Patrick Lam <plam@mit.edu>
368 * src/fccfg.c (FcConfigBuildFonts):
370 * src/fcpat.c (FcPatternFindFullFname):
372 Don't make FcPatternFindFullFname available to fccfg, it's not
373 really safe. Instead go through FcPatternGetString (sorry,
374 perf guys.) Also, use globs for dirs as well.
376 2005-11-28 Patrick Lam <plam@mit.edu>
377 * src/fccfg.c (FcConfigBuildFonts):
381 2005-11-28 Patrick Lam <plam@mit.edu>
383 * src/fcpat.c (FcPatternFindFullFname):
384 * src/fccfg.c (FcConfigBuildFonts):
386 Fix problem dating back at least to 2.3.2 where globs weren't
387 being applied to patterns loaded from a cache.
389 2005-11-28 Patrick Lam <plam@mit.edu>
390 * doc/fontconfig-user.sgml:
392 Fix some obvious spelling mistakes.
394 2005-11-28 Dirk Mueller <dmueller@suse.com>
395 Stephan Kulow <coolo@suse.de>
398 * src/fcmatch.c (FcFontSetMatch):
400 Don't kill all fonts during match (oops!)
403 2005-11-25 Dirk Mueller <dmueller@suse.com>
404 Stephan Kulow <coolo@suse.de>
405 Michael Matz <matz@suse.de>
408 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
411 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
412 inline FcCompare into FcFontSetMatch and reorder the
413 loops, adding a boolean array which blocks patterns from future
414 consideration if they're known to not be best on some past
417 2005-11-26 Dirk Mueller <dmueller@suse.com>
420 * src/fcmatch.c (FcCompareValueList):
424 2005-11-25 Patrick Lam <plam@mit.edu>
425 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
427 Don't do random matching when bad objects are passed into
430 2005-11-25 Patrick Lam <plam@mit.edu>
432 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
433 FcPatternSerialize, FcPatternUnserialize,
434 FcValueListEnsureBank, FcValueListDistributeBytes,
435 FcValueListUnserialize):
437 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
438 _fcPatternElts, _fcValueLists for consistency.
440 2005-11-25 Dirk Mueller <dmueller@suse.com>
445 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
447 2005-11-25 Patrick Lam <plam@mit.edu>
449 * src/fccache.c (FcDirCacheConsume):
450 * src/fccharset.c (FcCharSetUnserialize):
451 * src/fcfs.c (FcFontSetUnserialize):
452 * src/fclang.c (FcLangSetUnserialize):
453 * src/fcname.c (FcObjectUnserialize):
454 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
455 FcPatternUnserialize):
457 Pass around FcCache *s to the Unserialize functions for extra
458 consistency (and less overhead, for what that's worth).
460 2005-11-24 Dirk Mueller <dmueller@suse.com>
464 * src/fcmatch.c (FcCompare*, FcFontSetSort):
465 * src/fcname.c (FcNameUnparseValue):
467 Inline the *PtrU functions to gain perf.
468 Remove unneeded params for the FcCompare* functions.
470 2005-11-24 Dirk Mueller <dmueller@suse.com>
473 * src/fcint.h, fontconfig/fontconfig.h:
475 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
477 * src/fcpat.c, src/fcint.h, src/fcname.c:
479 Check for type validity during FcPatternAddWithBinding, don't
480 verify type in FcFontMatch, don't call FcCanonicalize here
481 (which always does a deep copy).
483 2005-11-24 Dirk Mueller <dmueller@suse.com>
486 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
487 * src/fcpat.c (FcPatternAddWithBinding):
489 Make FcCompareString and FcCompareFamily less expensive.
490 Only add a value for FC_FAMILY if the proposed value is a string.
492 2005-11-24 Dirk Mueller <dmueller@suse.com>
495 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
496 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
497 * src/fcint.h (FcDebug):
499 Inline FcDebug invocations and only initialize once, in FcInit*.
500 Improve debug msg in FcPatternPrint.
502 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
505 * fontconfig/fontconfig.h:
508 Minor code warning cleanups.
510 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
513 * fc-match/fc-match.c (main):
515 Make getopt_long accept -s parameter to fc-match as well.
517 2005-11-21 Dirk Mueller <dmueller@suse.com>
520 * src/fcmatch.c (FcCompareValueList):
522 Manually perform inlining & partial redundancy elimination to
523 reduce calls to FcValueListPtrU.
525 2005-11-21 Dirk Mueller <dmueller@suse.com>
528 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
529 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
531 Only invoke strlen() when really necessary.
533 2005-11-19 Matthias Clasen <mclasen@redhat.com>
537 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
542 Get rid of the use of freetype internal headers in fcfreetype.c,
543 since those headers will go away with freetype 2.2. Replace with
544 public domain ftglue code from pango. Note that the patch removes
545 some extra error checking in FT_Get_BDF_Property() and comments
546 out the skipping of empty pcf fonts.
548 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
551 * fc-lang/fc-lang.c (main):
553 Further fix of patch from 2005-11-04: miscounted numbers count
554 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
555 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
557 Removed leafidx_count and numbers_count since they are the same
558 and replaced them with offset_count.
560 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
563 * fc-cat/fc-cat.c (main):
565 Don't crash when fc-cat invoked with no arguments.
567 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
570 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
572 Fix invalid read access caused by premature free and
573 GCC4 warnings in libxml2 codepath.
575 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
578 * src/fccfg.c (FcConfigValues):
580 List iteration not needed in FcConfigValues, since it's building
581 up the list itself; we can just strip FcVoid elements during
584 2005-11-17 Patrick Lam <plam@mit.edu>
585 * src/fccfg.c (FcConfigValues):
587 Fix crash on invalid constants in config files (forgot to update
588 a pointer upon list iteration.)
590 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
593 * src/fcxml.c (FcTypecheckExpr):
595 Complain about invalid constants in config files.
597 2005-11-17 Andreas Schwab <schwab@suse.de>
600 * src/fccache.c (FcGlobalCacheSave):
602 Don't add current_arch_start more than once.
604 2005-11-16 Patrick Lam <plam@mit.edu>
605 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
606 * src/fcfs.c (FcFontSetUnserialize):
607 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
608 * src/fcpat.c (FcStrUnserialize):
610 Fix ordering of ALIGN with respect to saving block_ptr; add
611 another ALIGN to fcfs.c.
613 2005-11-16 Patrick Lam <plam@mit.edu>
614 * src/fccache.c (FcDirCacheProduce)
616 Fix case where alignment bytes bumped up metadata->count
617 causing unwarranted failures to write cache files.
618 (Reported by Stephan Kulow).
620 2005-11-16 Patrick Lam <plam@mit.edu>
621 * src/fccache.c (FcDirCacheProduce):
622 * src/fccharset.c (FcCharSetDistributeBytes):
623 * src/fcfs.c (FcFontSetDistributeBytes):
625 * src/fclang.c (FcLangSetDistributeBytes):
626 * src/fcname.c (FcObjectDistributeBytes):
627 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
630 Add *NeededBytesAlign(), which overestimates the padding which is
631 later added by the new ALIGN macro. Fix alignment problems on
632 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
633 version by Andreas Schwab).
635 2005-11-16 Stephan Kulow <coolo@kde.org>
640 Use sysconf to determine proper PAGESIZE value; this
641 appears to be POSIX-compliant. (reported by Andreas Schwab)
643 2005-11-04 Patrick Lam <plam@mit.edu>
649 Fix bug 2878 (excessive relocations at startup for charsets,
650 reported by Ross Burton): fc-lang/fc-lang now creates the
651 static form of the langset, not the dynamic form, so that
652 the charsets should now be in .rodata.
654 2005-11-04 Patrick Lam <plam@mit.edu>
655 * src/fcdir.c (FcDirScanConfig):
657 Add test for validity of directory caches that
658 somehow got lost (reported by make distcheck).
660 2005-11-04 Patrick Lam <plam@mit.edu>
664 * fontconfig/fontconfig.h:
666 Bump version to 2.3.92.
668 2005-11-02 Patrick Lam <plam@mit.edu>
669 * src/fcpat.c (FcPatternDuplicate):
671 Fix argument ordering problem in call to FcPatternTransferFullFname.
673 2005-11-02 Patrick Lam <plam@mit.edu>
674 * src/fcfreetype.c (FcFreetypeQuery):
675 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
676 FcPatternTransferFullFname):
678 Fix warnings and embarrassing double-free error.
680 2005-11-02 Zhe Su <zsu@novell.com>
685 Change the rule for artificial emboldening in fonts.conf.in. This
686 enables the support for artificial emboldening included in cairo.
688 2005-11-02 Patrick Lam <plam@mit.edu>
689 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
691 Don't zero out full names for FC_REF_CONSTANT fonts;
692 also, duplicate full names when transferring, and free
693 full names when freeing the associated font.
694 Reported by Jinghua Luo.
696 2005-11-02 Patrick Lam <plam@mit.edu>
697 * fc-cache/fc-cache.c (scanDirs):
698 * src/fcpat.c (FcValueListSerialize):
700 Revert the previous patch and commit the correct patch:
701 I forgot a canonicalization in FcValueListSerialize, so
702 that it would choke on already-serialized input files. Duh!
704 2005-11-02 Patrick Lam <plam@mit.edu>
705 * fc-cache/fc-cache.c (scanDirs):
707 Forcibly rescan a directory before writing a fresh local
708 cache file for that directory, fixing the losing-fonts
709 problem reported by Mike Fabian and also apparently the
710 font cache file corruption.
712 2005-11-02 Patrick Lam <plam@mit.edu>
713 * src/fccache.c (FcGlobalCacheLoad):
715 Fix thinko: actually, the whole global cache is stale
716 if the global cache is older than the (newest) config file.
718 2005-11-02 Patrick Lam <plam@mit.edu>
719 * src/fccache.c (FcGlobalCacheLoad):
720 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
723 Declare the global cache of a directory's contents to be stale if
724 the directory is newer than the (newest) configuration file.
726 2005-10-31 Patrick Lam <plam@mit.edu>
728 * src/fclist.c (FcListAppend):
729 * src/fcmatch.c (FcFontRenderPrepare):
730 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
731 FcPatternFreeze, FcPatternBaseFreeze):
733 Copy the full pathname whenever duplicating an FcPattern; otherwise,
734 applications continue breaking.
736 2005-10-31 Patrick Lam <plam@mit.edu>
737 * fc-cat/fc-cat.c (FcCacheFileRead, main):
738 * src/fcfreetype.c (FcFreeTypeQuery):
740 Fix small memory error (tried to free argv); use basename and
741 dirname correctly (they can modify their arguments).
743 2005-10-31 Patrick Lam <plam@mit.edu>
751 Reinstate basename patch, but keep a hash table linking FcPatterns
752 to their fully-qualified font names for clients' benefit. Clients
753 only pay for the font names once they request the FC_FILE property
754 from an FcPattern, but the font name is malloc'd at that point (i.e.
755 not mmapped: that's impossible, since it may vary between machines.)
756 Clients do have to pay for a copy of the path name per cache file.
758 Note that FcPatternGetString now does some rewriting if you ask
759 for an FC_FILE, appending the pathname as appropriate.
761 2005-10-31 Patrick Lam <plam@mit.edu>
762 * src/fcfreetype.c (FcFreeTypeQuery):
764 Revert basename patch, which breaks fontconfig clients on my system.
766 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
769 * fontconfig/fonts.conf.in:
770 * fontconfig/fontconfig.h:
774 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
775 to load embedded bitmaps or not.
777 2005-10-25 Patrick Lam <plam@mit.edu>
778 * src/fcfreetype.c (FcFreeTypeQuery):
780 Only add basename to patterns' FC_FILE element, not any part of
783 2005-10-22 Patrick Lam <plam@mit.edu>
786 Add some more consts, fixing more GCC4 warnings.
788 2005-10-22 Zhe Su <zsu@novell.com>
791 Support localized font family and style names.
792 This has been reported to break old apps like xfd, but modern
793 (gtk+/qt/mozilla) apps work fine.
795 2005-10-21 Patrick Lam <plam@mit.edu>
796 * src/fccache.c (FcGlobalCacheLoad):
798 Destroy the global cache file if it's terminally broken. (reported by
801 2005-10-21 Patrick Lam <plam@mit.edu>
802 * fc-list/fc-list.c (main):
803 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
804 * fontconfig/fontconfig.h:
806 Prevent fc-list from escaping strings when printing them (reported by
809 2005-10-20 Marcus Meissner <meissner@suse.de>
812 * fontconfig/fontconfig.h:
814 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
816 2005-10-14 Ross Burton <ross@burtonini.com>
819 * fc-glyphname/fc-glyphname.c:
822 Add consts to variables so as to move arrays into .rodata.
824 2005-10-14 Mike Fabian <mfabian@suse.de>
827 * src/fccache.c (FcDirCacheUnlink):
829 Check existence of directory cache file before attempting to unlink.
831 2005-10-13 Patrick Lam <plam@mit.edu>
832 * src/fccache.c (FcDirCacheUnlink):
834 Fix flipped return value on unlink. (Reported by Mike Fabian)
836 2005-10-12 Patrick Lam <plam@mit.edu>
839 * src/fcdir.c (FcDirScanConfig):
842 When fc-cache is run without --force, use directory cache files
843 to speed up fc-cache run time. (Reported by Mike Fabian)
845 2005-10-06 Patrick Lam <plam@mit.edu>
847 * src/fcname.c (FcObjectToPtr):
848 * src/fcpat.c (FcStrStaticName):
850 Add padding to make valgrind and glibc not hate each other
851 when calling strlen().
853 2005-10-05 Simos Xenitellis <simos74@gmx.net>
854 reviewed by: plam & keithp
858 Modify config file to use Greek fonts before Asian fonts with
861 2005-10-05 Christian Biesinger <cbiesinger@web.de>
862 reviewed by: plam & keithp
866 Use libtool -no-undefined flag on all platforms.
868 2005-10-05 Patrick Lam <plam@mit.edu>
869 * src/fccache.c (FcCacheHaveBank):
871 Implement move-to-front array for banks (perf regression
872 reported by Ronny V. Vindenes).
874 2005-10-04 Patrick Lam <plam@mit.edu>
875 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
876 FcDirCacheHasCurrentArch):
877 * fc-cache/fc-cache.c (scanDirs):
878 * fontconfig/fontconfig.h:
880 Add new API which unlinks directory caches and checks dir caches
881 for existence of appropriate sections. Fix fc-cache to unlink
882 stale cache files and save directory caches that lack relevant
885 2005-10-03 Patrick Lam <plam@mit.edu>
886 * src/fccache.c (FcDirCacheValid):
888 Ensure that a directory cache has the appropriate section
889 before reporting that it is valid (reported by Matthias Clasen).
891 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
899 Use libxml2 if requested (with --enable-libxml2) or if
900 expat is not available.
902 2005-09-29 Patrick Lam <plam@mit.edu>
903 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
905 Fix multi-arch cache files: compute the position for the
906 block to be added using info from OrigFile, not NewFile.
908 2005-09-28 Patrick Lam <plam@mit.edu>
909 * src/fccache.c (FcCacheMachineSignature):
911 Cast results of sizeof() to unsigned int to get rid of
912 warnings on x86_64 (thanks Matthias Clasen).
914 2005-09-27 Patrick Lam <plam@mit.edu>
915 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
918 Use FcAtomic to rewrite cache files.
920 2005-09-27 Patrick Lam <plam@mit.edu>
922 * src/fccache.c (FcDirCacheWrite):
924 Don't unlink the fonts.cache-2 file even if there's no data
925 to write; just write an empty cache file. (thanks Lubos Lunak)
927 2005-09-27 Patrick Lam <plam@mit.edu>
929 * src/fccache.c (FcDirCacheWrite):
931 Allocate room for the subdirectory names in each
932 directory cache. Thanks to James Cloos for finding
933 and diagnosing this bug!
935 2005-09-22 Patrick Lam <plam@mit.edu>
937 * fc-cache/fc-cache.sgml:
938 * src/fccache.c (FcDirCacheWrite):
939 * src/fccache.h (struct FcCache):
941 Update documentation -- fc-cache's man page now says that you
942 need to run fc-cache once per cached architecture; add some
943 documentation to the FcCache structure.
945 Make fc-cache write out fonts.cache-2 files for directories with
946 no fonts (i.e. only subdirectories).
948 2005-09-22 Patrick Lam <plam@mit.edu>
950 * fc-cache/fc-cache.sgml:
952 * fc-glyphname/fc-glyphname.c:
958 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
963 * fontconfig/fcprivate.h:
964 * fontconfig/fontconfig.h:
978 Implement new mmaped cache for font information.
979 Bump so revision to 2.3.90.
981 2005-07-25 Keith Packard <keithp@keithp.com>
983 * doc/fontconfig-user.sgml:
984 * fc-glyphname/fc-glyphname.c: (scan), (main):
985 * fc-lang/fc-lang.c: (FcConfigHome):
986 * fc-match/fc-match.c: (main):
987 * src/fccfg.c: (FcConfigHome):
988 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
989 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
990 (addtag), (FcFontCapabilities):
991 * src/fcpat.c: (FcValueListEntCreate):
992 * src/fcstr.c: (FcStrCaseWalkerInit):
993 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
995 Various GCC 4 cleanups for signed vs unsigned char
997 Match only [0-9]*.conf files in <include>{directory}</include>
998 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1000 2005-07-15 Carl Worth <cworth@cworth.org>
1003 * src/fcinit.c: (FcFini):
1004 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1007 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1008 Pull the FcObjectStateName hash table out to file scope, and add
1009 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1012 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1015 2005-06-16 Patrick Lam <plam@MIT.EDU>
1019 * src/fccfg.c: (FcConfigCompareValue):
1020 Make FcOpNotContains use FcStrStr for strings so that
1021 it matches semantics for !FcOpContains.
1023 2005-05-20 Keith Packard <keithp@keithp.com>
1027 Move fontconfig source package to libs as per override
1029 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1031 reviewed by: Mike Fabian
1034 The ka.orth file requires several characters which are not
1035 used anymore in modern Georgian and which are missing in the free
1036 Georgian TrueType fonts downloadable at:
1038 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1040 2005-04-27 Keith Packard <keithp@keithp.com>
1044 Update date to real 2.3.2 release date.
1045 Fix change attributions
1047 2005-04-27 Keith Packard <keithp@keithp.com>
1050 Bump so revision for 2.3.2
1051 * fc-cache/fc-cache.c: (scanDirs):
1052 Fix a few minor leaks in error cases.
1054 2005-04-23 Keith Packard <keithp@keithp.com>
1059 * fontconfig/fontconfig.h:
1060 Update for version 2.3.2
1062 2005-04-21 Keith Packard <keithp@keithp.com>
1064 * debian/fontconfig.postinst:
1065 Don't force bitmap font enable in default
1066 configuration; allows users to override this in
1076 * debian/po/pt_BR.po:
1077 * debian/po/templates.pot:
1079 * debian/po/zh_CN.po:
1080 Updated translations
1082 * fc-cache/fc-cache.c: (main):
1083 Destroy font configuration on exit to help valgrind
1086 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1087 (FcFreeTypeCheckGlyph):
1088 Use own transcoding routines in preference to iconv
1089 which appears to have leaks in some translators.
1090 Call iconv_close after using iconv (oops).
1092 Prefer unicode encoding of Euro char as some
1093 fonts mis-encode Euro in other ones.
1095 Must fetch bitmap glyphs to get width values
1096 to check for monospace/dual-width fonts.
1098 2005-04-13 Ross Burton <ross@burtonini.com>
1101 Check that a pattern isn't already frozen in FcPatternFreeze.
1103 2005-03-31 Ross Burton <ross@burtonini.com>
1108 Run all FcPattern objects through FcObjectStaticName, so that
1109 compares can be done on pointers instead of strings (#2659)
1111 2005-03-17 Tor Lillqvist <tml@novell.com>
1113 * src/fontconfig.def.in: Add the .dll to the dll name.
1115 2005-03-10 Keith Packard <keithp@keithp.com>
1117 * debian/README.Debian:
1118 Update to reflect configuration changes
1120 * debian/fontconfig.postinst:
1121 Fix Autohint vs Autohinter mistake
1122 * debian/fontconfig.templates:
1123 Adopt changes from Josselin Mouette for configuration descriptions
1124 Update debian to version 2.3.1-2
1126 2005-03-08 Keith Packard <keithp@keithp.com>
1130 Update debian for 2.3.1
1132 2005-03-09 Tor Lillqvist <tml@novell.com>
1134 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1137 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1140 2005-03-08 Keith Packard <keithp@keithp.com>
1144 * fontconfig/fontconfig.h:
1147 2005-03-05 Keith Packard <keithp@keithp.com>
1149 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1150 Include space and remove numbers from valid script tags.
1151 This ensures that tags like 'lao ' work while rejecting
1152 those which have any digits.
1153 Eliminate a spurious debugging variable (len)
1155 2005-03-05 Keith Packard <keithp@keithp.com>
1157 * src/fcfreetype.c: (addtag), (GetScriptTags),
1158 (FcFontCapabilities):
1159 Rework GSUB/GPOS script parsing to survive broken fonts.
1160 Thanks for the broken font go to Manish Singh
1162 2005-03-05 Keith Packard <keithp@keithp.com>
1167 * debian/fontconfig.config:
1168 * debian/fontconfig.templates:
1170 Include 2.3 release information in changelog
1171 Add Josselin Mouette as an Uploader
1172 Set hinting_type to low priority configuration option
1175 * debian/fontconfig.postinst:
1176 yes_bitmaps.conf -> yes-bitmaps.conf
1182 2005-03-02 Keith Packard <keithp@keithp.com>
1185 * conf.d/Makefile.am:
1186 * conf.d/autohint.conf:
1187 * conf.d/no-sub-pixel.conf:
1188 * conf.d/sub-pixel.conf:
1189 * conf.d/unhinted.conf:
1190 * debian/autohint.conf:
1191 * debian/fontconfig.install:
1192 * debian/fontconfig.postinst:
1193 * debian/fontconfig.templates:
1194 * debian/no-sub-pixel.conf:
1195 * debian/unhinted.conf:
1196 Move debian-specific conf file examples upstream.
1198 Sub-pixel configuration examples must smash subpixel value
1199 as Xft always sets it from X.
1201 Change sub-pixel rendering debconf descriptions from
1202 Enable/Disable to Always/Never.
1204 2005-03-02 Keith Packard <keithp@keithp.com>
1207 * conf.d/.cvsignore:
1209 Ignore more build detritus
1212 Add debian package construction stuff.
1214 * config/config.guess:
1215 * config/config.sub:
1216 Update to newer versions of these tools
1219 Get library manuals to build again (we love automake).
1221 * debian/README.Debian:
1222 * debian/autohint.conf:
1227 * debian/fontconfig-udeb.install:
1228 * debian/fontconfig.config:
1229 * debian/fontconfig.defoma:
1230 * debian/fontconfig.dirs:
1231 * debian/fontconfig.install:
1232 * debian/fontconfig.postinst:
1233 * debian/fontconfig.postrm:
1234 * debian/fontconfig.templates:
1235 * debian/libfontconfig1-dev.install:
1236 * debian/libfontconfig1.install:
1237 * debian/local.conf.md5sum:
1238 * debian/no-sub-pixel.conf:
1239 * debian/po/POTFILES.in:
1248 * debian/po/pt_BR.po:
1249 * debian/po/templates.pot:
1251 * debian/po/zh_CN.po:
1253 * debian/unhinted.conf:
1254 Update debian build system to switch maintainers and
1255 deal with 2.3 functionality
1257 2005-03-01 Keith Packard <keithp@keithp.com>
1261 * fontconfig/fontconfig.h:
1264 2005-03-01 Keith Packard <keithp@keithp.com>
1267 Generate and install PDF versions of the manuals
1269 * doc/fcpattern.fncs:
1272 * doc/fcstring.fncs:
1273 Add missing exported functions, fix data types
1275 * doc/fontconfig-devel.sgml:
1276 Add missing pattern elements.
1278 * doc/fontconfig-user.sgml:
1279 Add missing pattern elements. Document conf.d usage,
1280 clarify available orthography list. Fix some config file
1281 attributes. Complete list of constants.
1283 * fontconfig/fontconfig.h:
1284 Mark FC_SOURCE deprecated.
1286 * src/fcfreetype.c: (FcFreeTypeQuery):
1287 Don't set FC_SOURCE any longer.
1289 2005-02-28 Keith Packard <keithp@keithp.com>
1292 * conf.d/Makefile.am:
1294 * conf.d/no-bitmaps.conf:
1295 * conf.d/sub-pixel.conf:
1296 * conf.d/yes-bitmaps.conf:
1298 Create prototype /etc/fonts/conf.d directory with a few
1299 sample configuration files.
1300 Deprecate use of local.conf for local customizations in favor of
1301 this directory based scheme which is more easily integrated into
1302 installation systems.
1305 Tag FC_EMBOLDEN as a boolean variable
1307 2005-02-10 Keith Packard <keithp@keithp.com>
1309 reviewed by: pborelli@katamail.com
1311 * src/fcdir.c: (FcFileScanConfig):
1312 Free patterns from fonts which are rejected by configuration
1315 2005-01-28 Keith Packard <keithp@keithp.com>
1319 * fontconfig/fontconfig.h:
1320 Update for version 2.2.99
1322 2005-01-28 Keith Packard <keithp@keithp.com>
1325 Add a few pointers (#2284, #2285)
1327 2005-01-28 Keith Packard <keithp@keithp.com>
1330 * src/fcname.c: (FcNameBool):
1331 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1332 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1333 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1334 Polite typechecking for test and edit expressions. Helps
1335 catch errors in the font configuration. (bug 229)
1337 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1339 reviewed by: Keith Packard <keithp@keithp.com>
1342 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1344 2005-01-13 Keith Packard <keithp@keithp.com>
1346 * doc/fontconfig-user.sgml:
1347 Add SEE ALSO section (bug 2085)
1349 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1351 reviewed by: Keith Packard <keithp@keithp.com>
1356 * fc-case/Makefile.am:
1357 * fc-glyphname/Makefile.am:
1358 * fc-lang/Makefile.am:
1359 * src/fontconfig.def.in:
1360 Cross compiling fixes (bug 280)
1362 2005-01-13 Keith Packard <keithp@keithp.com>
1365 Update blanks list (Closes bug 86)
1367 2005-01-04 Keith Packard <keithp@keithp.com>
1369 * src/fccache.c: (FcCacheFontSetAdd):
1370 Verify that every font pattern loaded from cache has
1371 both FC_FILE and FC_FAMILY entries.
1372 Attempt to fix bug #2219.
1374 2004-12-29 Keith Packard <keithp@keithp.com>
1378 * fontconfig/fontconfig.h:
1379 Update for version 2.2.98
1381 2004-12-29 Keith Packard <keithp@keithp.com>
1383 * fontconfig/fontconfig.h:
1384 Document ASCII limitations of Fc character conversion macros
1385 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1386 Fix off-by-one error in utf-8 case walking code.
1387 Add FcStrDowncase (useful for testing case conversion functions)
1389 2004-12-29 Keith Packard <keithp@keithp.com>
1392 * fc-case/.cvsignore:
1393 clean up CVS ignore lists
1394 * fc-lang/iso-3166.txt:
1395 Add territory database
1397 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1399 Reviewed by: Keith Packard
1402 Remove Han characters from Korean orthography
1404 2004-12-29 Keith Packard <keithp@keithp.com>
1407 Reorder utility programs to make sure fc-case is run before fc-lang
1408 as fc-lang uses fcstr.c which uses fccase.h
1412 2004-12-29 Keith Packard <keithp@keithp.com>
1415 Adopt some RedHat suggestions for standard font configuration.
1419 * fc-case/CaseFolding.txt:
1420 * fc-case/Makefile.am:
1421 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1422 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1423 (dump), (parseRaw), (caseFoldReadRaw), (main):
1424 * fc-case/fccase.tmpl.h:
1425 Add new helper program 'fc-case' to construct case folding
1426 tables from standard Unicode CaseFolding.txt file
1429 * src/fclist.c: (FcListValueHash):
1430 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1431 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1432 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1433 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1434 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1435 Re-implement case insensitive functions with Unicode
1436 aware versions (including full case folding mappings)
1438 2004-12-13 Keith Packard <keithp@keithp.com>
1440 reviewed by: Owen Taylor <otaylor@redhat.com>
1442 * src/fcmatch.c: (FcFontSetSort):
1443 I changed FcFontSetSort to respect the generic aliases better
1444 in the face of language matching.
1446 What I did was to ammend the strict sort order used by FcFontSort so
1447 that it 'satisfies' the language specified in the pattern by locating
1448 the best matching font supporting each pattern language and then
1449 ignores language in the remaining fonts for purposes of matching.
1451 So, when asking for 'sans:lang=en', you'll get an English font first,
1452 and then the remaining fonts sorted with respect to the 'sans' alias
1453 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1455 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1457 reviewed by: Keith Packard <keithp@keithp.com>
1459 * fontconfig/fontconfig.h:
1462 Configuration changes to request synthetic emboldening of
1463 fonts. The actual emboldening code will live in Xft.
1465 2004-12-09 John Thacker <thacker@math.cornell.edu>
1467 reviewed by: Keith Packard <keithp@keithp.com>
1471 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1472 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1473 и), and don't even appear in KOI8-R. (The hypothesis that they
1474 don't appear in KOI8-R due to their similarity with Latin I and i is
1475 eliminated by their presence in KOI8-U.) I have a couple of fonts
1476 with Russian support that don't have the letter.
1478 Therefore, 0406 and 0456 should be removed from or commented out of
1481 2004-12-06 michael meeks <mmeeks@novell.com>
1483 Reviewed by: Keith Packard <keithp@keithp.com>
1485 * src/fcinit.c: (FcMemReport):
1487 * src/fclist.c: (FcObjectSetAdd):
1488 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1489 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1490 * src/fcxml.c: (FcParsePatelt):
1491 memoize strings and share a single copy for all uses. Note that
1492 this could be improved further by using statically allocated blocks
1493 and gluing multiple strings together, but I'm basically lazy.
1494 In my environment with 800 font files, I get a savings of about 90KB.
1496 2004-12-06 Keith Packard <keithp@keithp.com>
1500 * config/Makedefs.in:
1503 * doc/fcatomic.fncs:
1504 * doc/fcblanks.fncs:
1505 * doc/fccharset.fncs:
1506 * doc/fcconfig.fncs:
1507 * doc/fcconstant.fncs:
1509 * doc/fcfontset.fncs:
1510 * doc/fcfreetype.fncs:
1512 * doc/fcmatrix.fncs:
1513 * doc/fcobjectset.fncs:
1514 * doc/fcobjecttype.fncs:
1515 * doc/fcpattern.fncs:
1516 * doc/fcstring.fncs:
1517 * doc/fcstrset.fncs:
1519 * doc/fontconfig-devel.sgml:
1520 * doc/fontconfig-user.sgml:
1522 * doc/version.sgml.in:
1523 * fc-cache/Makefile.am:
1524 * fc-cache/fc-cache.c:
1525 * fc-glyphname/Makefile.am:
1526 * fc-glyphname/fc-glyphname.c:
1527 * fc-glyphname/fcglyphname.tmpl.h:
1528 * fc-lang/Makefile.am:
1538 * fc-lang/az_ir.orth:
1572 * fc-lang/fc-lang.c:
1573 * fc-lang/fc-lang.man:
1574 * fc-lang/fclang.tmpl.h:
1619 * fc-lang/ku_ir.orth:
1652 * fc-lang/ps_af.orth:
1653 * fc-lang/ps_pk.orth:
1682 * fc-lang/ti_er.orth:
1683 * fc-lang/ti_et.orth:
1709 * fc-lang/zh_cn.orth:
1710 * fc-lang/zh_hk.orth:
1711 * fc-lang/zh_mo.orth:
1712 * fc-lang/zh_sg.orth:
1713 * fc-lang/zh_tw.orth:
1715 * fc-list/Makefile.am:
1716 * fc-list/fc-list.c:
1717 * fc-match/Makefile.am:
1718 * fc-match/fc-match.1:
1719 * fc-match/fc-match.c:
1720 * fontconfig/fcfreetype.h:
1721 * fontconfig/fcprivate.h:
1722 * fontconfig/fontconfig.h:
1743 Change files from ISO-Latin-1 to UTF-8
1745 2004-12-04 Keith Packard <keithp@keithp.com>
1748 Update links to new freedesktop.org locations
1750 Add uninstall-local to get rid of fonts.conf and local.conf if they
1751 match the distributed versions. Fixes 'make distcheck'
1753 2004-12-04 Keith Packard <keithp@keithp.com>
1757 * fontconfig/fontconfig.h:
1758 Updates for version 2.2.97
1760 2004-12-04 Owen Taylor <otaylor@redhat.com>
1762 reviewed by: Keith Packard <keithp@keithp.com>
1764 * fc-cache/fc-cache.c: (main):
1765 Sleep for two seconds before exiting to make sure timestamps
1766 for future changes have distinct mod times in the file system.
1769 Add Punjabi orthography. Bug #1671.
1771 2004-12-04 Keith Packard <keithp@keithp.com>
1774 Just remove the FC_FONTDATE -- it has locale issues and
1775 annoys redhat multi-arch installs. Now that all X fonts are
1776 included without prejudice, the chances of the date being at
1777 all interesting are rather limited. Bug #505.
1779 Add copyright and license
1781 2004-12-04 Keith Packard <keithp@keithp.com>
1784 Change default set of fonts to include all of
1785 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1786 * doc/fontconfig-user.sgml:
1787 Document new <include>directory-name</include> semantics
1789 add <include ignore_missing="yes">conf.d</include>
1791 Add selectfont to ignore bitmap fonts, add comment for
1792 selectfont which accepts bitmap fonts.
1795 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1796 Allow <include> configuration elements to reference directories.
1797 Parse and load all files of the form [0-9]* in sorted order.
1799 2004-12-04 Keith Packard <keithp@keithp.com>
1802 Report command line for $srcdir/configure accurately.
1805 2004-12-04 Keith Packard <keithp@keithp.com>
1807 * src/fcfreetype.c: (FcFreeTypeQuery):
1808 Check for non-empty face->family_name and face->style_name
1809 before using those for the font. Empty names match everything.
1812 2004-12-04 Keith Packard <keithp@keithp.com>
1815 * fontconfig/fontconfig.h:
1816 * src/fcfreetype.c: (FcFreeTypeQuery):
1818 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1819 available. This provides font file format information (BDF, Type 1,
1820 PCF, TrueType) for each font. Closes #109.
1822 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1824 reviewed by: Keith Packard <keithp@keithp.com>
1826 * doc/fontconfig-user.sgml:
1829 * fontconfig/fontconfig.h:
1830 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1831 (GetScriptTags), (FcFontCapabilities):
1833 Add detection for font capabilities (bug #105)
1835 2004-12-04 Keith Packard <keithp@keithp.com>
1838 Move existing fonts.conf to fonts.conf.bak
1841 Add detection of iconv
1843 * doc/fcpattern.fncs:
1844 * doc/fontconfig-devel.sgml:
1845 * doc/fontconfig-user.sgml:
1847 Document new selectfont elements
1850 Switch to UTF-8 in comment
1852 * fontconfig/fontconfig.h:
1854 Add fullname, and family/style/fullname language entries
1856 * src/fccache.c: (FcCacheFontSetAdd):
1857 * src/fcdir.c: (FcFileScanConfig):
1858 Respect selectfont/*/glob
1861 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1862 (FcConfigCompareValue), (FcConfigPatternsAdd),
1863 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1864 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1865 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1866 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1867 Add support for selectfont
1869 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1870 (FcStringInPatternElement), (FcFreeTypeQuery):
1871 Add multi-lingual family/style/fullname support
1873 * src/fclist.c: (FcListPatternMatchAny):
1874 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1876 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1877 (FcObjectStaticName):
1878 Add new FcPatternRemove/FcPatternAppend.
1879 FcObjectStaticName stores computed pattern element names which
1880 are required to be static.
1882 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1887 Remove spurious / after $(DESTDIR)
1889 2004-06-30 Keith Packard <keithp@keithp.com>
1893 * fontconfig/fontconfig.h:
1896 2004-06-30 Keith Packard <keithp@keithp.com>
1898 Provided by: Lubos Lunak <l.lunak@suse.cz>
1900 * src/fccfg.c: (FcConfigUptoDate):
1901 However FcConfigUptoDate() doesn't seem to work. See the attached
1902 patch. First there's an obvious misplaced parenthesis making it
1903 return always false, and second, even this call fails to detect font
1904 changes (e.g. adding a new font to
1905 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1906 well. The problem seems to be triggered by my fonts.conf specifying
1907 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1908 doesn't include subdirs, unlike config->fontDirs.
1910 2004-06-03 Keith Packard <keithp@keithp.com>
1912 * fontconfig/fontconfig.h:
1913 Remove comma at end of FcResult enum definition.
1915 2004-05-29 Keith Packard <keithp@keithp.com>
1918 Add steps to md5sum release
1920 2004-05-29 Keith Packard <keithp@keithp.com>
1924 * fontconfig/fontconfig.h:
1927 2004-05-29 Keith Packard <keithp@keithp.com>
1929 * fontconfig/fontconfig.h:
1930 * src/fcmatch.c: (FcFontSetMatch):
1931 Add FcResultOutOfMemory to provide an accurate error when
1932 FcFontSetMatch fails in this way
1935 Make #warning about lacking various FreeType features indicate
1936 which version those features appeared so users know how to
1937 fix the problem (Thanks to Anton Tropashko)
1939 2004-05-05 Keith Packard <keithp@keithp.com>
1941 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1942 Replace MIN/MAX/ABS macros which happen to have come
1943 from FreeType with fontconfig-specific ones (FC_*)
1945 2004-04-23 Keith Packard <keithp@keithp.com>
1948 Extend release preparation instructions to include
1949 notification and distribution steps
1951 2004-04-23 Keith Packard <keithp@keithp.com>
1955 * fontconfig/fontconfig.h:
1956 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1958 2004-04-23 Keith Packard <keithp@keithp.com>
1961 Ignore a few more autotool files
1963 2004-04-14 Keith Packard <keithp@keithp.com>
1966 Add instructions for doing a release
1968 * fontconfig.spec.in:
1969 clean up .spec file; perhaps this will be useful to somebody...
1973 * fontconfig/fontconfig.h:
1976 * fc-lang/fc-lang.c:
1977 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1979 * fc-glyphname/Makefile.am:
1980 * fc-lang/Makefile.am:
1981 * fc-list/Makefile.am:
1982 * fc-match/Makefile.am:
1984 Add WARN_CFLAGS to pass -W flags for GCC systems
1986 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1987 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1988 Change various char types around to match across
1990 Fixed bug in using available_sizes[i].height which
1991 is in pixels, not 64ths of a pixel.
1993 2004-03-06 Keith Packard <keithp@keithp.com>
1995 * src/fcfreetype.c: (FcFreeTypeQuery):
1996 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1997 matches looking for explicit values prefer exact matches
1999 2004-03-02 Keith Packard <keithp@keithp.com>
2001 Supplied by: mfabian@suse.de (Mike FABIAN)
2003 * src/fcfreetype.c: (FcFreeTypeQuery):
2004 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2005 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2007 2004-02-21 Manish Singh <yosh@gimp.org>
2009 * fc-glyphname/fc-glyphname.c: (main):
2010 Cast strlen to int for printf, so we're 64-bit clean.
2012 2004-02-11 Keith Packard <keithp@keithp.com>
2015 * src/fcfreetype.c: (FcGetPixelSize):
2016 Ok, so I messed up the test for y_ppem. Let's see if I
2017 got it right this time.
2019 2004-02-10 Keith Packard <keithp@keithp.com>
2022 * src/fcfreetype.c: (FcGetPixelSize):
2023 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2024 FT_Bitmap_Size record. Add a configure.in test for this
2025 and change the code accordingly (using height instead).
2027 2004-02-06 Keith Packard <keithp@keithp.com>
2030 Add Low Saxon orthography
2031 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2033 * src/fccfg.c: (FcConfigNewestFile):
2034 Oops. Left 'newest.set' unset, which would miscompute
2037 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2038 (FcFreeTypeCheckGlyph):
2039 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2040 font properties (which report the wrong value in current FreeType)
2042 Don't attempt to check for empty glyphs in non-scalable fonts; they
2045 2004-02-01 Tor Lillqvist <tml@iki.fi>
2047 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2048 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2049 cache if config->cache is NULL, which happens if FcConfigHome() is
2050 NULL. Guard against that by using the temp folder in that case.
2052 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2054 * fc-lang/az_ir.orth:
2055 * fc-lang/ku_ir.orth:
2056 * fc-lang/ps_af.orth:
2057 * fc-lang/ps_pk.orth:
2058 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2059 (Afghan and Pakistani).
2061 Updated Urdu orthography with real data.
2063 2003-12-11 Carl Worth <cworth@east.isi.edu>
2065 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2068 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2070 (all-local): Remove excessive whitespace.
2072 * autogen.sh: Add 'set -e' to abort when any program fails,
2073 (avoids printing of 'now type make' after configure aborts).
2075 2003-11-17 Eric Christopherson <rakko@charter.net>
2077 reviewed by: Keith Packard <keithp@keithp.com>
2080 * fontconfig/fcfreetype.h:
2082 Switch to FreeType 2.1.7 style includes. Bug #150.
2084 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2086 * fc-list/fc-list.sgml: Add some example usages.
2088 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2091 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2094 2003-10-27 Keith Packard <keith@keithp.com>
2097 * fontconfig/fontconfig.h:
2098 Update to version 2.2.92
2100 2003-10-27 Keith Packard <keithp@keithp.com>
2105 * fc-cache/Makefile.am:
2106 * fc-glyphname/Makefile.am:
2107 * fc-lang/Makefile.am:
2108 * fc-list/Makefile.am:
2109 * fc-match/Makefile.am:
2112 Yet more cleanups to finish getting 'make distcheck' working
2113 This has been tested to ensure that it even works from a _build
2116 2003-10-26 Keith Packard <keithp@keithp.com>
2120 * fc-cache/Makefile.am:
2121 * fc-glyphname/Makefile.am:
2122 * fc-lang/Makefile.am:
2123 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2124 * fc-list/Makefile.am:
2125 * fc-match/Makefile.am:
2126 Attempts to fix 'make distcheck' work. Things are
2127 progressing pretty well, but there are still failures
2128 long into the process dealing with docs (as always).
2130 The big changes here are mostly to make $(srcdir) != "."
2131 work correctly, fixing the docbook related sections and
2132 fc-lang were particularily tricky. Docbook refuses to load
2133 system entities from anywhere other than where the original .sgml
2134 file was located, so no luck looking in "." for the
2135 configure-generated version.sgml and confdir.sgml files.
2137 fc-lang needed help finding .orth files; added a -d option
2138 to set the directory as the least evil of many options.
2140 Now to go use a faster machine and try and wring out the last
2143 2003-10-26 Keith Packard <keithp@keithp.com>
2147 2003-10-26 Keith Packard <keithp@keithp.com>
2150 Include confdir.sgml.in in EXTRA_DIST
2152 2003-10-09 Josselin Mouette <joss@debian.org>
2154 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2155 * fc-list/fc-list.sgml fc-list/Makefile.am:
2156 Replace fc-cache and fc-list manpages with more detailed, SGML
2159 2003-09-23 Owen Taylor <otaylor@redhat.com>
2161 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2162 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2163 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2166 2003-09-23 Owen Taylor <otaylor@redhat.com>
2168 * fc-lang/ka.orth: Remove Georgian capitals, they
2169 aren't used for normal writing. (Bug #116)
2171 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2173 * doc/fontconfig-devel.sgml:
2174 * doc/fontconfig-user.sgml:
2175 * fontconfig/fontconfig.h:
2177 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2178 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2180 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2181 monospace and dual-width fonts, allow roughly a 3% variance in the
2184 2003-08-31 Manish Singh <yosh@gimp.org>
2186 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2189 2003-08-15 Carl Worth <cworth@isi.edu>
2191 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2192 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2194 * src/fcpat.c (FcValueListEntDestroy): New function to support
2195 FcFini memory cleanup. Some statistics are not kept in
2197 (FcValueListFreeze): Move hashTable outside this function so it
2198 can be accessed by FcValueListThawAll.
2199 (FcValueListThawAll): New function complements FcValueListFreeze.
2200 (FcPatternBaseFreeze): Move hashTable outside this function so it
2201 can be accessed by FcPatternBaseThawAll.
2202 (FcPatternBaseThawAll): New function complements
2203 FcPatternBaseFreeze.
2204 (FcPatternThawAll): New function complements FcPatternFreeze.
2206 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2208 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2209 allocated FcCharLeafEnt "blocks" so they can be freed later.
2210 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2211 can be accessed by FcCharSetThawAllLeaf.
2212 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2213 (FcCharSetFreezeBase): Move hashTable outside this function so it
2214 can be accessed by FcCharSetThawAll.
2215 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2217 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2218 (FcConfigDestroy): Fic leak of FcBlanks.
2220 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2221 (main): Add call to FcFini when finished.
2223 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2224 static. Add prototypes.
2226 * doc/fcinit.fncs: Add documentation for FcFini function.
2228 * doc/edit-sgml.c: Mark several local functions as static. Add
2231 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2233 2003-06-15 Tor Lillqvist <tml@iki.fi>
2235 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2236 before comparing (needed on Windows).
2238 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2240 2003-06-13 Tor Lillqvist <tml@iki.fi>
2242 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2245 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2246 WINDOWSFONTDIR token.
2248 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2249 end, not to confuse libtool, which expects the EXPORTS line to be
2250 the first. Add FcConfigEnableHome.
2252 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2253 built as a DLL on Win32.
2255 2003-06-09 Keith Packard <keithp@keithp.com>
2257 * Tag version 2.2.90
2259 2003-06-09 Keith Packard <keithp@keithp.com>
2261 * Optimization in FcLangSetIndex was broken, occasionally
2262 returning a pointer to the wrong location on miss
2264 * Add fc-match to test font matching from the command line.
2266 2003-05-31 Keith Packard <keithp@keithp.com>
2268 * (Bug 85) add support for culmus fonts
2269 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2270 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2272 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2274 * Fix "contains" op for strings and langsets.
2276 2003-05-17 Keith Packard <keithp@keithp.com>
2278 * Fix build error with BDF prop local. Free langset after query
2280 2003-05-14 Keith Packard <keithp@keithp.com>
2282 * Extract spacing from XLFD atom
2284 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2286 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2287 disappeared in 1.30.
2289 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2291 2003-05-12 Keith Packard <keithp@keithp.com>
2293 * Use FcIsWidth to share code
2295 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2296 misclassifying some Han fonts as monospaced.
2298 2003-05-07 Keith Packard <keithp@keithp.com>
2300 * Add filename-based accept/reject to ammend available fonts.
2302 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2303 older FreeType releases.
2305 2003-05-06 Keith Packard <keithp@keithp.com>
2307 * Remove 0b82 and Tamil numbers from tamil
2308 orthography (Jungshik Shin <jshin@mailaps.org>)
2310 2003-05-04 Keith Packard <keithp@keithp.com>
2312 + Map glyph names in fonts with adobe custom encoding to unicode
2314 2003-05-02 Keith Packard <keithp@keithp.com>
2316 * Add FC_WEIGHT_BOOK as weight 75
2318 2003-04-30 Keith Packard <keithp@keithp.com>
2320 * Typo in bitstream foundry name
2322 2003-04-24 Keith Packard <keithp@keithp.com>
2324 * Eliminate italic_angle check for PS fonts
2326 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2328 * Getting closer to fixing /etc/fonts hard-coding.
2330 2003-04-22 Keith Packard <keithp@keithp.com>
2332 * Update autogen.sh to work with newer automake versions
2333 * Handle pattern elements moving during multiple edits
2335 2003-04-23 James Henstridge <james@daa.com.au>
2337 * doc/fontconfig-devel.sgml: close the <para> element.
2339 * doc/fcpattern.fncs: close the <para> element.
2341 * doc/func.sgml: close the <refsynopsisdiv> element.
2343 2003-04-22 Keith Packard <keithp@keithp.com
2345 * Update autogen.sh to work with newer automake versions
2346 * Handle pattern elements moving during multiple edits
2348 2003-04-17 Colin Walters <walters@debian.org>
2350 + Remove some unused variables, and initialize some other ones so
2351 gcc doesn't warn us.
2353 2003-04-16 Keith Packard <keithp@keithp.com>
2355 + tag version 2.1.94
2357 2003-04-16 Keith Packard <keithp@keithp.com>
2359 + add BDF property fetching support for foundry
2360 (from Juliusz Chroboczek)
2361 + add BDF property fetching support for width
2363 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2365 + Implemented foundry generation for Type 1 and TrueType
2367 2003-04-11 Gerard Escalante <g2@magestudios.net>
2369 + Retrieve information from Type1 FontInfo dictionaries
2371 2003-04-07 Colin Walters <walters@verbum.org>
2373 + src/Makefile.am: Fix dummy makefile target names when
2374 MS_LIB_AVAILABLE isn't set.
2376 2003-03-22 Tor Lillqvist <tml@iki.fi>
2378 Changes for Windows:
2380 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2382 + We don't want to hardcode the fonts.conf file location in the
2383 DLL, so we look up the DLL location at run-time in a DllMain()
2384 function. The fonts.conf location is deduced from that.
2386 + The colon can't be used as path separator on Windows,
2387 semicolon is used instead. File path components can be separated
2388 with either slash or backslash. Absolute paths can also begin
2389 with a drive letter.
2391 + Add internal function FcStrLastSlash that strrchr's the last
2392 slash, or backslash on Windows.
2394 + There is no link() on Windows. For atomicity checks, mkdir a
2395 lock directory instead.
2397 + In addition to HOME, also look for USERPROFILE.
2399 + Recognize the special font directory token WINDOWSFONTDIR, to
2400 use the system's font directory.
2402 + Remove the fontconfig-def.cpp that was obsolete. Add
2403 fontconfig.def(.in), without internal functions.
2405 + Add a fontconfig-zip(.in) script, used to build a binary
2408 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2409 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2410 to main package and man3/* to devel package
2412 + Added missing defattr(-, root, root) to main RPM package
2414 + Added HTML and text development documentation to -devel subpackage
2416 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2417 + Added back the configure macro options --disable-docs, otherwise
2418 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2419 version number) unconditionally, causing RPM to fail the build due
2420 to _unpackaged_files_terminate_build. We pick up the pregenerated
2421 docs with %doc already.
2423 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2424 + Removed commented out rpm macro define at top of spec file,
2425 replacing it with a simple explanation, since rpm macros are
2426 expanded by rpm even in comments.
2428 + Changed /usr/bin to _bindir in BuildRequires lines
2430 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2432 + Reorganized file manifest lists
2434 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2436 + fontconfig.spec.in: Improvements from Red Hat spec file.
2438 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2440 + docs/*.sgml: SGML fixes.
2442 Sat Mar 1 17:28:53 PST 2003 keithp
2443 + Ok, so the ChangeLog is a bit out of date
2445 + Lots of bugs fixed; most are in bugzilla, the
2446 biggest problems were in cache management where
2447 Owen discovered the library would lose badly when
2448 combining fonts-cache and ~/.fonts-cache data
2450 + Converted from autoconf to automake. This after
2451 getting patches accepted into libtool to allow
2452 the '-version-number' argument which lets
2453 packages set version numbers explicitly rather
2454 than the roundabout libtool way
2456 + Converted documentation to SGML using the docbook
2457 DTD. Now .txt and .html documents are installed
2458 in /usr/share/doc/fontconfig and there's no
2459 man page. Perhaps a man version can be written
2462 Sat Aug 31 15:21:22 PDT 2002 keithp
2463 + Xrender and Xft had several bugs related to
2464 rendering manually placed or poly-face text
2466 + Added more complete memory tracing in fontconfig
2467 Checked with (patched) mozilla and found no leaks
2469 + Updated Latin orthographies by comparing those from
2470 evertype.com with those from eki.ee. Tried to make
2471 sensible choices, including chars that occured in both
2472 and leaving some optional chars out that occured only
2475 Mon Aug 26 16:33:04 PDT 2002 keithp
2476 + Owen discovered that FcLangSetHasLang wasn't actually
2477 checking the language set.
2479 Mon Aug 26 13:37:23 PDT 2002 keithp
2480 + Append a version number to cache filenames
2482 Thu Aug 22 11:36:18 PDT 2002 keithp
2484 + Add "contains" and "not_contains" operators and elements to
2487 + Changed semantics of eq operator for LangSets to check for
2488 FcLangEqual so that any match will do
2490 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2491 of FcValueEqual to check for identical values when inserting into
2492 the results. This broke when the above semantic change was made,
2493 now it uses FcValueEqual which is "more correct" in any case.
2495 Thu Aug 22 00:32:29 PDT 2002 keithp
2497 + Reimplement FC_LANG as new datatype. Lists of strings
2498 was consuming over a megabyte of memory for 401 fonts.
2500 + Freeze patterns loaded from cache files. This shares
2501 common value lists and common patterns which saves
2502 considerable memory.
2504 + Change the denotation of 'constant' charsets to use special
2505 ref value instead of separate boolean.
2507 + Clean up leak tracing stuff, found several unannoted alloc/free
2510 Tue Aug 20 16:17:37 PDT 2002 keithp
2512 + Fix memory leak when parsing matrices from XML
2514 Mon Aug 19 11:57:27 PDT 2002 keithp
2516 + Fix autoconf files to pass FONTCONFIG_PATH on
2517 compile line so that ${prefix} gets substituted
2520 + Use getc_unlocked/putc_unlocked on systems that
2521 provide them to avoid damage done to stdio by posix
2523 + Eliminate FC_PATTERN and FcTypePattern in favor of
2524 an extended api for FcConfigSubstitute which takes
2525 both the font and the pattern.
2527 + Add 'sans serif' alias for 'sans-serif' as some apps
2528 can't handle hyphens in family names
2530 + Eliminate pretense of support for libxml2
2532 + Comment origins of Han orthographies
2534 Tue Jul 30 18:37:09 PDT 2002 keithp
2536 + Add binding property to edit element so that strong
2537 binding values may be inserted by the config file.
2538 The default remains weak.
2540 Sun 28 Jul 04:16:55 PDT 2002 keithp
2542 + Tagged release candidate 1 in the CVS tree and
2543 placed fcpackage.rc1.tar.gz for distribution
2545 Thu Aug 1 08:55:08 PDT 2002 keithp
2547 + Fixed autoconf builds to always specify install
2548 target files (for BSD). Also fixed to
2549 define FONTCONFIG_PATH in config.h so that
2550 nonstandard installs will actually work.