1 2006-01-24 James Su <james.su@gmail.com>
4 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
7 Treat zh-hk fonts differently from zh-tw fonts. This patch may
8 cause fontconfig to treat A-X fonts differently from A-Y fonts;
9 please mail the fontconfig list if this causes any problems.
11 2006-01-24 Patrick Lam <plam@mit.edu>
12 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
13 * src/fcfreetype.c (FcFreeTypeQuery):
15 Fix memory leaks reported by Ronny V. Vindenes.
17 2006-01-19 Andreas Schwab <schwab@suse.de>
20 * src/fcpat.c (FcStrNeededBytes):
22 Fix for unaligned memory accesses.
24 2006-01-18 Mike Fabian <mfabian@suse.de>
27 * src/fcdir.c (FcDirScanConfig):
29 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
30 calls to avoid crashes.
32 2006-01-14 Patrick Lam <plam@mit.edu>
33 * src/fccache.c (FcDirCacheConsume):
35 Fix segfault when consuming zero-length caches in fc-cat
36 (which has no config, so FcConfigAddFontDir shouldn't be called.)
38 2006-01-14 Patrick Lam <plam@mit.edu>
39 * fc-cache/fc-cache.c (scanDirs):
40 * fontconfig/fontconfig.h:
41 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
42 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
43 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
44 * src/fcdir.c (FcDirScanConfig):
47 Compare device numbers as well as inodes.
48 Always normalize directory names before comparing them.
50 2006-01-11 Mike Fabian <mfabian@suse.de>
53 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
55 Allocate extra space for appended '/' in directory name.
57 2006-01-10 Patrick Lam <plam@mit.edu>
58 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
59 FcDirCacheValid, FcDirCacheHasCurrentArch,
60 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
61 * fc-cache/fc-cache.c (main):
63 Explicitly add font dirs to config.fontDirs even if they're empty.
64 Set current config in fc-cache.c.
65 Fix treatment of cache directory as read from cache file; don't
66 use string equality to determine if we have the right file,
69 2006-01-09 Patrick Lam <plam@mit.edu>
70 * fc-cache/fc-cache.c (scanDirs):
71 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
72 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
73 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
74 * src/fccfg.c (FcConfigNormalizeFontDir):
75 * src/fcdir.c (FcDirScanConfig):
78 Normalize font dirs by using the form, as given in fonts.conf, and
79 recorded in FcConfig's fontDirs string set, as canonical.
81 Actually update config.fontDirs as font directories are scanned.
83 2006-01-08 James Su <james.su@gmail.com>
84 * src/fcmatch.c (FcFontSetMatch):
86 Fix matching bug when multiple elements match; don't use
87 the sum of all scores, but the best score.
89 Also more perf opts, e.g. evaluate best over all font sets
90 rather than on a per-set basis (and other changes).
92 2006-01-08 Patrick Lam <plam@mit.edu>
93 * src/fccache.c (FcDirCacheConsume):
95 Properly skip past dir caches that contain zero fonts (as occurs
96 in global caches.) Reported by Mike Fabian.
98 2006-01-06 Patrick Lam <plam@mit.edu>
99 * src/fcdbg.c (FcPatternPrint):
101 Print out full pathname in fc-match -v as well. Reported by
104 2006-01-06 Mike Fabian <mfabian@suse.de>
107 * src/fcname.c (FcNameParse):
109 Fix bug where fc-match crashes when given __DUMMY__ property to
112 (I added the __DUMMY__ string to enable callers of
113 FcObjectToPtrLookup to distinguish an error return from a
114 successful return. -PL)
116 2006-01-05 Patrick Lam <plam@mit.edu>
119 Add self to AUTHORS list.
121 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
122 FcCacheFileRead, FcCachePrintSet, main):
123 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
124 FcGlobalCacheSave, FcCacheNextOffset,
125 FcDirCacheHasCurrentArch, FcDirCacheRead,
126 FcDirCacheConsume, FcDirCacheWrite):
128 * src/fcpat.c (comment):
130 Minor change to global cache file format to fix fc-cat bug
131 reported by Frederic Crozat, and buglet with not globally caching
132 directories with zero fonts cached.
134 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
137 * src/fccfg.c (FcConfigEvaluate):
139 Fix double-free which occurs because FcValueCanonicalize doesn't
140 create an extra copy of the returned value, it only canonicalizes
143 2006-01-02 Patrick Lam <plam@mit.edu>
144 * doc/fontconfig-user.sgml:
146 Fix version of .cache file (currently 1 -> currently 2). Reported
149 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
152 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
154 Shut up GCC warnings on amd.
156 2005-12-20 Patrick Lam <plam@mit.edu>
160 * fontconfig/fontconfig.h:
162 Bump version to 2.3.93.
164 2005-12-20 Patrick Lam <plam@mit.edu>
165 * src/fccharset.c (FcLangCharSetPopulate):
166 * src/fcint.h (FcCacheBankToIndex):
168 Avoid check on _fcBankId nullness and fix case where it used to
171 2005-12-20 Patrick Lam <plam@mit.edu>
172 * src/fcxml.c (FcConfigParseAndLoad):
174 Use open instead of fopen (requested by Phil Race for Sun).
176 2005-12-20 Patrick Lam <plam@mit.edu>
177 * src/fccache.c (FcDirCacheWrite);
178 * fc-cache/Makefile.am:
180 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
183 2005-12-20 Patrick Lam <plam@mit.edu>
184 * src/fcfreetype.c (FcFreeTypeQuery):
186 Restore code to skip over PCF fonts that have no encoded
188 (We guess that a font is PCF by presence of the PIXEL_SIZE
191 2005-12-12 Patrick Lam <plam@mit.edu>
192 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
194 Read and write the original location as a fallback for the
195 hashed cache file locations. This is mostly for users to be
196 able to have per-directory cache files.
198 2005-12-12 Patrick Lam <plam@mit.edu>
199 * fc-cache/fc-cache.c (scanDirs):
200 * fc-cache/Makefile.am:
201 * src/fccache.c (FcDirCacheHashName):
203 Improve error message when fc-cache can't write the cache. Add
204 missing slash. Reported by Behdad. Incorporate Behdad's patch to
205 create /var/cache/fontconfig when appropriate.
207 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
210 * src/fcxml.c (FcConfigGetAttribute):
212 Fix crash reported by Frederic Crozat when using libxml2.
214 2005-12-09 Patrick Lam <plam@mit.edu>
217 * fc-cache/Makefile.am:
218 * fc-cat/Makefile.am:
220 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
221 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
222 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
223 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
224 FcDirCacheHasCurrentArch, FcDirCacheHashName,
225 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
227 Migrate cache files from fonts directories to
228 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
229 but requires that all caches get rebuilt.
231 Also, autogen.sh now needs the additional parameter
232 --localstatedir=/var.
234 2005-12-07 Patrick Lam <plam@mit.edu>
235 * src/fcpat.c (FcPatternAddString):
237 Because we've changed FcPatternAddString to use FcStrStaticName
238 and not FcValueSave, explicitly handle the case of a null string.
240 2005-12-06 Patrick Lam <plam@mit.edu>
241 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
245 2005-12-05 Patrick Lam <plam@mit.edu>
246 * src/fcname.c (FcNameGetObjectType):
248 Don't assign types to user object names.
250 2005-12-05 Patrick Lam <plam@mit.edu>
251 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
253 Don't free strings that have been returned from FcStrStaticName.
255 2005-12-01 Patrick Lam <plam@mit.edu>
256 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
258 Add codepath for reading global cache files as well.
260 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
263 * conf.d/10-fonts.persian.conf:
264 * conf.d/Makefile.am:
266 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
268 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
271 * src/fcxml.c (FcConfigParseAndLoad):
273 Only add a config file to the set of config files once.
275 2005-11-29 Patrick Lam <plam@mit.edu>
276 * src/fcint.h (FcCacheBankToIndex);
278 Fix segfault by guarding array dereference.
280 2005-11-29 Dirk Mueller <dmueller@suse.de>
284 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
285 FcCacheBankToIndex, FcCacheBankToIndexMTF,
289 Refactor FcCacheBankToIndex into an inlineable part
290 (in fcint.h) which checks the front of the list and a
291 non-inlineable part which finds and moves the appropriate element
292 to the front of the list.
294 2005-11-29 Patrick Lam <plam@mit.edu>
295 * src/fccfg.c (FcConfigBuildFonts):
296 * src/fccache.c (FcCacheReadDirs):
298 Make the perf guys hate me a bit less: hoist the directory-name
299 FcConfigAcceptFont check for cached fonts up to directory cache
300 read time, rather than running it for each font.
302 2005-11-29 Patrick Lam <plam@mit.edu>
303 * src/fccfg.c (FcConfigBuildFonts):
305 * src/fcpat.c (FcPatternFindFullFname):
307 Don't make FcPatternFindFullFname available to fccfg, it's not
308 really safe. Instead go through FcPatternGetString (sorry,
309 perf guys.) Also, use globs for dirs as well.
311 2005-11-28 Patrick Lam <plam@mit.edu>
312 * src/fccfg.c (FcConfigBuildFonts):
316 2005-11-28 Patrick Lam <plam@mit.edu>
318 * src/fcpat.c (FcPatternFindFullFname):
319 * src/fccfg.c (FcConfigBuildFonts):
321 Fix problem dating back at least to 2.3.2 where globs weren't
322 being applied to patterns loaded from a cache.
324 2005-11-28 Patrick Lam <plam@mit.edu>
325 * doc/fontconfig-user.sgml:
327 Fix some obvious spelling mistakes.
329 2005-11-28 Dirk Mueller <dmueller@suse.com>
330 Stephan Kulow <coolo@suse.de>
333 * src/fcmatch.c (FcFontSetMatch):
335 Don't kill all fonts during match (oops!)
338 2005-11-25 Dirk Mueller <dmueller@suse.com>
339 Stephan Kulow <coolo@suse.de>
340 Michael Matz <matz@suse.de>
343 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
346 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
347 inline FcCompare into FcFontSetMatch and reorder the
348 loops, adding a boolean array which blocks patterns from future
349 consideration if they're known to not be best on some past
352 2005-11-26 Dirk Mueller <dmueller@suse.com>
355 * src/fcmatch.c (FcCompareValueList):
359 2005-11-25 Patrick Lam <plam@mit.edu>
360 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
362 Don't do random matching when bad objects are passed into
365 2005-11-25 Patrick Lam <plam@mit.edu>
367 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
368 FcPatternSerialize, FcPatternUnserialize,
369 FcValueListEnsureBank, FcValueListDistributeBytes,
370 FcValueListUnserialize):
372 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
373 _fcPatternElts, _fcValueLists for consistency.
375 2005-11-25 Dirk Mueller <dmueller@suse.com>
380 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
382 2005-11-25 Patrick Lam <plam@mit.edu>
384 * src/fccache.c (FcDirCacheConsume):
385 * src/fccharset.c (FcCharSetUnserialize):
386 * src/fcfs.c (FcFontSetUnserialize):
387 * src/fclang.c (FcLangSetUnserialize):
388 * src/fcname.c (FcObjectUnserialize):
389 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
390 FcPatternUnserialize):
392 Pass around FcCache *s to the Unserialize functions for extra
393 consistency (and less overhead, for what that's worth).
395 2005-11-24 Dirk Mueller <dmueller@suse.com>
399 * src/fcmatch.c (FcCompare*, FcFontSetSort):
400 * src/fcname.c (FcNameUnparseValue):
402 Inline the *PtrU functions to gain perf.
403 Remove unneeded params for the FcCompare* functions.
405 2005-11-24 Dirk Mueller <dmueller@suse.com>
408 * src/fcint.h, fontconfig/fontconfig.h:
410 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
412 * src/fcpat.c, src/fcint.h, src/fcname.c:
414 Check for type validity during FcPatternAddWithBinding, don't
415 verify type in FcFontMatch, don't call FcCanonicalize here
416 (which always does a deep copy).
418 2005-11-24 Dirk Mueller <dmueller@suse.com>
421 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
422 * src/fcpat.c (FcPatternAddWithBinding):
424 Make FcCompareString and FcCompareFamily less expensive.
425 Only add a value for FC_FAMILY if the proposed value is a string.
427 2005-11-24 Dirk Mueller <dmueller@suse.com>
430 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
431 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
432 * src/fcint.h (FcDebug):
434 Inline FcDebug invocations and only initialize once, in FcInit*.
435 Improve debug msg in FcPatternPrint.
437 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
440 * fontconfig/fontconfig.h:
443 Minor code warning cleanups.
445 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
448 * fc-match/fc-match.c (main):
450 Make getopt_long accept -s parameter to fc-match as well.
452 2005-11-21 Dirk Mueller <dmueller@suse.com>
455 * src/fcmatch.c (FcCompareValueList):
457 Manually perform inlining & partial redundancy elimination to
458 reduce calls to FcValueListPtrU.
460 2005-11-21 Dirk Mueller <dmueller@suse.com>
463 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
464 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
466 Only invoke strlen() when really necessary.
468 2005-11-19 Matthias Clasen <mclasen@redhat.com>
472 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
477 Get rid of the use of freetype internal headers in fcfreetype.c,
478 since those headers will go away with freetype 2.2. Replace with
479 public domain ftglue code from pango. Note that the patch removes
480 some extra error checking in FT_Get_BDF_Property() and comments
481 out the skipping of empty pcf fonts.
483 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
486 * fc-lang/fc-lang.c (main):
488 Further fix of patch from 2005-11-04: miscounted numbers count
489 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
490 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
492 Removed leafidx_count and numbers_count since they are the same
493 and replaced them with offset_count.
495 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
498 * fc-cat/fc-cat.c (main):
500 Don't crash when fc-cat invoked with no arguments.
502 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
505 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
507 Fix invalid read access caused by premature free and
508 GCC4 warnings in libxml2 codepath.
510 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
513 * src/fccfg.c (FcConfigValues):
515 List iteration not needed in FcConfigValues, since it's building
516 up the list itself; we can just strip FcVoid elements during
519 2005-11-17 Patrick Lam <plam@mit.edu>
520 * src/fccfg.c (FcConfigValues):
522 Fix crash on invalid constants in config files (forgot to update
523 a pointer upon list iteration.)
525 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
528 * src/fcxml.c (FcTypecheckExpr):
530 Complain about invalid constants in config files.
532 2005-11-17 Andreas Schwab <schwab@suse.de>
535 * src/fccache.c (FcGlobalCacheSave):
537 Don't add current_arch_start more than once.
539 2005-11-16 Patrick Lam <plam@mit.edu>
540 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
541 * src/fcfs.c (FcFontSetUnserialize):
542 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
543 * src/fcpat.c (FcStrUnserialize):
545 Fix ordering of ALIGN with respect to saving block_ptr; add
546 another ALIGN to fcfs.c.
548 2005-11-16 Patrick Lam <plam@mit.edu>
549 * src/fccache.c (FcDirCacheProduce)
551 Fix case where alignment bytes bumped up metadata->count
552 causing unwarranted failures to write cache files.
553 (Reported by Stephan Kulow).
555 2005-11-16 Patrick Lam <plam@mit.edu>
556 * src/fccache.c (FcDirCacheProduce):
557 * src/fccharset.c (FcCharSetDistributeBytes):
558 * src/fcfs.c (FcFontSetDistributeBytes):
560 * src/fclang.c (FcLangSetDistributeBytes):
561 * src/fcname.c (FcObjectDistributeBytes):
562 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
565 Add *NeededBytesAlign(), which overestimates the padding which is
566 later added by the new ALIGN macro. Fix alignment problems on
567 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
568 version by Andreas Schwab).
570 2005-11-16 Stephan Kulow <coolo@kde.org>
575 Use sysconf to determine proper PAGESIZE value; this
576 appears to be POSIX-compliant. (reported by Andreas Schwab)
578 2005-11-04 Patrick Lam <plam@mit.edu>
584 Fix bug 2878 (excessive relocations at startup for charsets,
585 reported by Ross Burton): fc-lang/fc-lang now creates the
586 static form of the langset, not the dynamic form, so that
587 the charsets should now be in .rodata.
589 2005-11-04 Patrick Lam <plam@mit.edu>
590 * src/fcdir.c (FcDirScanConfig):
592 Add test for validity of directory caches that
593 somehow got lost (reported by make distcheck).
595 2005-11-04 Patrick Lam <plam@mit.edu>
599 * fontconfig/fontconfig.h:
601 Bump version to 2.3.92.
603 2005-11-02 Patrick Lam <plam@mit.edu>
604 * src/fcpat.c (FcPatternDuplicate):
606 Fix argument ordering problem in call to FcPatternTransferFullFname.
608 2005-11-02 Patrick Lam <plam@mit.edu>
609 * src/fcfreetype.c (FcFreetypeQuery):
610 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
611 FcPatternTransferFullFname):
613 Fix warnings and embarrassing double-free error.
615 2005-11-02 Zhe Su <zsu@novell.com>
620 Change the rule for artificial emboldening in fonts.conf.in. This
621 enables the support for artificial emboldening included in cairo.
623 2005-11-02 Patrick Lam <plam@mit.edu>
624 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
626 Don't zero out full names for FC_REF_CONSTANT fonts;
627 also, duplicate full names when transferring, and free
628 full names when freeing the associated font.
629 Reported by Jinghua Luo.
631 2005-11-02 Patrick Lam <plam@mit.edu>
632 * fc-cache/fc-cache.c (scanDirs):
633 * src/fcpat.c (FcValueListSerialize):
635 Revert the previous patch and commit the correct patch:
636 I forgot a canonicalization in FcValueListSerialize, so
637 that it would choke on already-serialized input files. Duh!
639 2005-11-02 Patrick Lam <plam@mit.edu>
640 * fc-cache/fc-cache.c (scanDirs):
642 Forcibly rescan a directory before writing a fresh local
643 cache file for that directory, fixing the losing-fonts
644 problem reported by Mike Fabian and also apparently the
645 font cache file corruption.
647 2005-11-02 Patrick Lam <plam@mit.edu>
648 * src/fccache.c (FcGlobalCacheLoad):
650 Fix thinko: actually, the whole global cache is stale
651 if the global cache is older than the (newest) config file.
653 2005-11-02 Patrick Lam <plam@mit.edu>
654 * src/fccache.c (FcGlobalCacheLoad):
655 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
658 Declare the global cache of a directory's contents to be stale if
659 the directory is newer than the (newest) configuration file.
661 2005-10-31 Patrick Lam <plam@mit.edu>
663 * src/fclist.c (FcListAppend):
664 * src/fcmatch.c (FcFontRenderPrepare):
665 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
666 FcPatternFreeze, FcPatternBaseFreeze):
668 Copy the full pathname whenever duplicating an FcPattern; otherwise,
669 applications continue breaking.
671 2005-10-31 Patrick Lam <plam@mit.edu>
672 * fc-cat/fc-cat.c (FcCacheFileRead, main):
673 * src/fcfreetype.c (FcFreeTypeQuery):
675 Fix small memory error (tried to free argv); use basename and
676 dirname correctly (they can modify their arguments).
678 2005-10-31 Patrick Lam <plam@mit.edu>
686 Reinstate basename patch, but keep a hash table linking FcPatterns
687 to their fully-qualified font names for clients' benefit. Clients
688 only pay for the font names once they request the FC_FILE property
689 from an FcPattern, but the font name is malloc'd at that point (i.e.
690 not mmapped: that's impossible, since it may vary between machines.)
691 Clients do have to pay for a copy of the path name per cache file.
693 Note that FcPatternGetString now does some rewriting if you ask
694 for an FC_FILE, appending the pathname as appropriate.
696 2005-10-31 Patrick Lam <plam@mit.edu>
697 * src/fcfreetype.c (FcFreeTypeQuery):
699 Revert basename patch, which breaks fontconfig clients on my system.
701 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
704 * fontconfig/fonts.conf.in:
705 * fontconfig/fontconfig.h:
709 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
710 to load embedded bitmaps or not.
712 2005-10-25 Patrick Lam <plam@mit.edu>
713 * src/fcfreetype.c (FcFreeTypeQuery):
715 Only add basename to patterns' FC_FILE element, not any part of
718 2005-10-22 Patrick Lam <plam@mit.edu>
721 Add some more consts, fixing more GCC4 warnings.
723 2005-10-22 Zhe Su <zsu@novell.com>
726 Support localized font family and style names.
727 This has been reported to break old apps like xfd, but modern
728 (gtk+/qt/mozilla) apps work fine.
730 2005-10-21 Patrick Lam <plam@mit.edu>
731 * src/fccache.c (FcGlobalCacheLoad):
733 Destroy the global cache file if it's terminally broken. (reported by
736 2005-10-21 Patrick Lam <plam@mit.edu>
737 * fc-list/fc-list.c (main):
738 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
739 * fontconfig/fontconfig.h:
741 Prevent fc-list from escaping strings when printing them (reported by
744 2005-10-20 Marcus Meissner <meissner@suse.de>
747 * fontconfig/fontconfig.h:
749 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
751 2005-10-14 Ross Burton <ross@burtonini.com>
754 * fc-glyphname/fc-glyphname.c:
757 Add consts to variables so as to move arrays into .rodata.
759 2005-10-14 Mike Fabian <mfabian@suse.de>
762 * src/fccache.c (FcDirCacheUnlink):
764 Check existence of directory cache file before attempting to unlink.
766 2005-10-13 Patrick Lam <plam@mit.edu>
767 * src/fccache.c (FcDirCacheUnlink):
769 Fix flipped return value on unlink. (Reported by Mike Fabian)
771 2005-10-12 Patrick Lam <plam@mit.edu>
774 * src/fcdir.c (FcDirScanConfig):
777 When fc-cache is run without --force, use directory cache files
778 to speed up fc-cache run time. (Reported by Mike Fabian)
780 2005-10-06 Patrick Lam <plam@mit.edu>
782 * src/fcname.c (FcObjectToPtr):
783 * src/fcpat.c (FcStrStaticName):
785 Add padding to make valgrind and glibc not hate each other
786 when calling strlen().
788 2005-10-05 Simos Xenitellis <simos74@gmx.net>
789 reviewed by: plam & keithp
793 Modify config file to use Greek fonts before Asian fonts with
796 2005-10-05 Christian Biesinger <cbiesinger@web.de>
797 reviewed by: plam & keithp
801 Use libtool -no-undefined flag on all platforms.
803 2005-10-05 Patrick Lam <plam@mit.edu>
804 * src/fccache.c (FcCacheHaveBank):
806 Implement move-to-front array for banks (perf regression
807 reported by Ronny V. Vindenes).
809 2005-10-04 Patrick Lam <plam@mit.edu>
810 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
811 FcDirCacheHasCurrentArch):
812 * fc-cache/fc-cache.c (scanDirs):
813 * fontconfig/fontconfig.h:
815 Add new API which unlinks directory caches and checks dir caches
816 for existence of appropriate sections. Fix fc-cache to unlink
817 stale cache files and save directory caches that lack relevant
820 2005-10-03 Patrick Lam <plam@mit.edu>
821 * src/fccache.c (FcDirCacheValid):
823 Ensure that a directory cache has the appropriate section
824 before reporting that it is valid (reported by Matthias Clasen).
826 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
834 Use libxml2 if requested (with --enable-libxml2) or if
835 expat is not available.
837 2005-09-29 Patrick Lam <plam@mit.edu>
838 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
840 Fix multi-arch cache files: compute the position for the
841 block to be added using info from OrigFile, not NewFile.
843 2005-09-28 Patrick Lam <plam@mit.edu>
844 * src/fccache.c (FcCacheMachineSignature):
846 Cast results of sizeof() to unsigned int to get rid of
847 warnings on x86_64 (thanks Matthias Clasen).
849 2005-09-27 Patrick Lam <plam@mit.edu>
850 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
853 Use FcAtomic to rewrite cache files.
855 2005-09-27 Patrick Lam <plam@mit.edu>
857 * src/fccache.c (FcDirCacheWrite):
859 Don't unlink the fonts.cache-2 file even if there's no data
860 to write; just write an empty cache file. (thanks Lubos Lunak)
862 2005-09-27 Patrick Lam <plam@mit.edu>
864 * src/fccache.c (FcDirCacheWrite):
866 Allocate room for the subdirectory names in each
867 directory cache. Thanks to James Cloos for finding
868 and diagnosing this bug!
870 2005-09-22 Patrick Lam <plam@mit.edu>
872 * fc-cache/fc-cache.sgml:
873 * src/fccache.c (FcDirCacheWrite):
874 * src/fccache.h (struct FcCache):
876 Update documentation -- fc-cache's man page now says that you
877 need to run fc-cache once per cached architecture; add some
878 documentation to the FcCache structure.
880 Make fc-cache write out fonts.cache-2 files for directories with
881 no fonts (i.e. only subdirectories).
883 2005-09-22 Patrick Lam <plam@mit.edu>
885 * fc-cache/fc-cache.sgml:
887 * fc-glyphname/fc-glyphname.c:
893 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
898 * fontconfig/fcprivate.h:
899 * fontconfig/fontconfig.h:
913 Implement new mmaped cache for font information.
914 Bump so revision to 2.3.90.
916 2005-07-25 Keith Packard <keithp@keithp.com>
918 * doc/fontconfig-user.sgml:
919 * fc-glyphname/fc-glyphname.c: (scan), (main):
920 * fc-lang/fc-lang.c: (FcConfigHome):
921 * fc-match/fc-match.c: (main):
922 * src/fccfg.c: (FcConfigHome):
923 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
924 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
925 (addtag), (FcFontCapabilities):
926 * src/fcpat.c: (FcValueListEntCreate):
927 * src/fcstr.c: (FcStrCaseWalkerInit):
928 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
930 Various GCC 4 cleanups for signed vs unsigned char
932 Match only [0-9]*.conf files in <include>{directory}</include>
933 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
935 2005-07-15 Carl Worth <cworth@cworth.org>
938 * src/fcinit.c: (FcFini):
939 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
942 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
943 Pull the FcObjectStateName hash table out to file scope, and add
944 FcObjectStaticNameFini so that FcFini will cleanup this hash table
947 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
950 2005-06-16 Patrick Lam <plam@MIT.EDU>
954 * src/fccfg.c: (FcConfigCompareValue):
955 Make FcOpNotContains use FcStrStr for strings so that
956 it matches semantics for !FcOpContains.
958 2005-05-20 Keith Packard <keithp@keithp.com>
962 Move fontconfig source package to libs as per override
964 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
966 reviewed by: Mike Fabian
969 The ka.orth file requires several characters which are not
970 used anymore in modern Georgian and which are missing in the free
971 Georgian TrueType fonts downloadable at:
973 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
975 2005-04-27 Keith Packard <keithp@keithp.com>
979 Update date to real 2.3.2 release date.
980 Fix change attributions
982 2005-04-27 Keith Packard <keithp@keithp.com>
985 Bump so revision for 2.3.2
986 * fc-cache/fc-cache.c: (scanDirs):
987 Fix a few minor leaks in error cases.
989 2005-04-23 Keith Packard <keithp@keithp.com>
994 * fontconfig/fontconfig.h:
995 Update for version 2.3.2
997 2005-04-21 Keith Packard <keithp@keithp.com>
999 * debian/fontconfig.postinst:
1000 Don't force bitmap font enable in default
1001 configuration; allows users to override this in
1011 * debian/po/pt_BR.po:
1012 * debian/po/templates.pot:
1014 * debian/po/zh_CN.po:
1015 Updated translations
1017 * fc-cache/fc-cache.c: (main):
1018 Destroy font configuration on exit to help valgrind
1021 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1022 (FcFreeTypeCheckGlyph):
1023 Use own transcoding routines in preference to iconv
1024 which appears to have leaks in some translators.
1025 Call iconv_close after using iconv (oops).
1027 Prefer unicode encoding of Euro char as some
1028 fonts mis-encode Euro in other ones.
1030 Must fetch bitmap glyphs to get width values
1031 to check for monospace/dual-width fonts.
1033 2005-04-13 Ross Burton <ross@burtonini.com>
1036 Check that a pattern isn't already frozen in FcPatternFreeze.
1038 2005-03-31 Ross Burton <ross@burtonini.com>
1043 Run all FcPattern objects through FcObjectStaticName, so that
1044 compares can be done on pointers instead of strings (#2659)
1046 2005-03-17 Tor Lillqvist <tml@novell.com>
1048 * src/fontconfig.def.in: Add the .dll to the dll name.
1050 2005-03-10 Keith Packard <keithp@keithp.com>
1052 * debian/README.Debian:
1053 Update to reflect configuration changes
1055 * debian/fontconfig.postinst:
1056 Fix Autohint vs Autohinter mistake
1057 * debian/fontconfig.templates:
1058 Adopt changes from Josselin Mouette for configuration descriptions
1059 Update debian to version 2.3.1-2
1061 2005-03-08 Keith Packard <keithp@keithp.com>
1065 Update debian for 2.3.1
1067 2005-03-09 Tor Lillqvist <tml@novell.com>
1069 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1072 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1075 2005-03-08 Keith Packard <keithp@keithp.com>
1079 * fontconfig/fontconfig.h:
1082 2005-03-05 Keith Packard <keithp@keithp.com>
1084 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1085 Include space and remove numbers from valid script tags.
1086 This ensures that tags like 'lao ' work while rejecting
1087 those which have any digits.
1088 Eliminate a spurious debugging variable (len)
1090 2005-03-05 Keith Packard <keithp@keithp.com>
1092 * src/fcfreetype.c: (addtag), (GetScriptTags),
1093 (FcFontCapabilities):
1094 Rework GSUB/GPOS script parsing to survive broken fonts.
1095 Thanks for the broken font go to Manish Singh
1097 2005-03-05 Keith Packard <keithp@keithp.com>
1102 * debian/fontconfig.config:
1103 * debian/fontconfig.templates:
1105 Include 2.3 release information in changelog
1106 Add Josselin Mouette as an Uploader
1107 Set hinting_type to low priority configuration option
1110 * debian/fontconfig.postinst:
1111 yes_bitmaps.conf -> yes-bitmaps.conf
1117 2005-03-02 Keith Packard <keithp@keithp.com>
1120 * conf.d/Makefile.am:
1121 * conf.d/autohint.conf:
1122 * conf.d/no-sub-pixel.conf:
1123 * conf.d/sub-pixel.conf:
1124 * conf.d/unhinted.conf:
1125 * debian/autohint.conf:
1126 * debian/fontconfig.install:
1127 * debian/fontconfig.postinst:
1128 * debian/fontconfig.templates:
1129 * debian/no-sub-pixel.conf:
1130 * debian/unhinted.conf:
1131 Move debian-specific conf file examples upstream.
1133 Sub-pixel configuration examples must smash subpixel value
1134 as Xft always sets it from X.
1136 Change sub-pixel rendering debconf descriptions from
1137 Enable/Disable to Always/Never.
1139 2005-03-02 Keith Packard <keithp@keithp.com>
1142 * conf.d/.cvsignore:
1144 Ignore more build detritus
1147 Add debian package construction stuff.
1149 * config/config.guess:
1150 * config/config.sub:
1151 Update to newer versions of these tools
1154 Get library manuals to build again (we love automake).
1156 * debian/README.Debian:
1157 * debian/autohint.conf:
1162 * debian/fontconfig-udeb.install:
1163 * debian/fontconfig.config:
1164 * debian/fontconfig.defoma:
1165 * debian/fontconfig.dirs:
1166 * debian/fontconfig.install:
1167 * debian/fontconfig.postinst:
1168 * debian/fontconfig.postrm:
1169 * debian/fontconfig.templates:
1170 * debian/libfontconfig1-dev.install:
1171 * debian/libfontconfig1.install:
1172 * debian/local.conf.md5sum:
1173 * debian/no-sub-pixel.conf:
1174 * debian/po/POTFILES.in:
1183 * debian/po/pt_BR.po:
1184 * debian/po/templates.pot:
1186 * debian/po/zh_CN.po:
1188 * debian/unhinted.conf:
1189 Update debian build system to switch maintainers and
1190 deal with 2.3 functionality
1192 2005-03-01 Keith Packard <keithp@keithp.com>
1196 * fontconfig/fontconfig.h:
1199 2005-03-01 Keith Packard <keithp@keithp.com>
1202 Generate and install PDF versions of the manuals
1204 * doc/fcpattern.fncs:
1207 * doc/fcstring.fncs:
1208 Add missing exported functions, fix data types
1210 * doc/fontconfig-devel.sgml:
1211 Add missing pattern elements.
1213 * doc/fontconfig-user.sgml:
1214 Add missing pattern elements. Document conf.d usage,
1215 clarify available orthography list. Fix some config file
1216 attributes. Complete list of constants.
1218 * fontconfig/fontconfig.h:
1219 Mark FC_SOURCE deprecated.
1221 * src/fcfreetype.c: (FcFreeTypeQuery):
1222 Don't set FC_SOURCE any longer.
1224 2005-02-28 Keith Packard <keithp@keithp.com>
1227 * conf.d/Makefile.am:
1229 * conf.d/no-bitmaps.conf:
1230 * conf.d/sub-pixel.conf:
1231 * conf.d/yes-bitmaps.conf:
1233 Create prototype /etc/fonts/conf.d directory with a few
1234 sample configuration files.
1235 Deprecate use of local.conf for local customizations in favor of
1236 this directory based scheme which is more easily integrated into
1237 installation systems.
1240 Tag FC_EMBOLDEN as a boolean variable
1242 2005-02-10 Keith Packard <keithp@keithp.com>
1244 reviewed by: pborelli@katamail.com
1246 * src/fcdir.c: (FcFileScanConfig):
1247 Free patterns from fonts which are rejected by configuration
1250 2005-01-28 Keith Packard <keithp@keithp.com>
1254 * fontconfig/fontconfig.h:
1255 Update for version 2.2.99
1257 2005-01-28 Keith Packard <keithp@keithp.com>
1260 Add a few pointers (#2284, #2285)
1262 2005-01-28 Keith Packard <keithp@keithp.com>
1265 * src/fcname.c: (FcNameBool):
1266 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1267 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1268 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1269 Polite typechecking for test and edit expressions. Helps
1270 catch errors in the font configuration. (bug 229)
1272 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1274 reviewed by: Keith Packard <keithp@keithp.com>
1277 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1279 2005-01-13 Keith Packard <keithp@keithp.com>
1281 * doc/fontconfig-user.sgml:
1282 Add SEE ALSO section (bug 2085)
1284 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1286 reviewed by: Keith Packard <keithp@keithp.com>
1291 * fc-case/Makefile.am:
1292 * fc-glyphname/Makefile.am:
1293 * fc-lang/Makefile.am:
1294 * src/fontconfig.def.in:
1295 Cross compiling fixes (bug 280)
1297 2005-01-13 Keith Packard <keithp@keithp.com>
1300 Update blanks list (Closes bug 86)
1302 2005-01-04 Keith Packard <keithp@keithp.com>
1304 * src/fccache.c: (FcCacheFontSetAdd):
1305 Verify that every font pattern loaded from cache has
1306 both FC_FILE and FC_FAMILY entries.
1307 Attempt to fix bug #2219.
1309 2004-12-29 Keith Packard <keithp@keithp.com>
1313 * fontconfig/fontconfig.h:
1314 Update for version 2.2.98
1316 2004-12-29 Keith Packard <keithp@keithp.com>
1318 * fontconfig/fontconfig.h:
1319 Document ASCII limitations of Fc character conversion macros
1320 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1321 Fix off-by-one error in utf-8 case walking code.
1322 Add FcStrDowncase (useful for testing case conversion functions)
1324 2004-12-29 Keith Packard <keithp@keithp.com>
1327 * fc-case/.cvsignore:
1328 clean up CVS ignore lists
1329 * fc-lang/iso-3166.txt:
1330 Add territory database
1332 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1334 Reviewed by: Keith Packard
1337 Remove Han characters from Korean orthography
1339 2004-12-29 Keith Packard <keithp@keithp.com>
1342 Reorder utility programs to make sure fc-case is run before fc-lang
1343 as fc-lang uses fcstr.c which uses fccase.h
1347 2004-12-29 Keith Packard <keithp@keithp.com>
1350 Adopt some RedHat suggestions for standard font configuration.
1354 * fc-case/CaseFolding.txt:
1355 * fc-case/Makefile.am:
1356 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1357 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1358 (dump), (parseRaw), (caseFoldReadRaw), (main):
1359 * fc-case/fccase.tmpl.h:
1360 Add new helper program 'fc-case' to construct case folding
1361 tables from standard Unicode CaseFolding.txt file
1364 * src/fclist.c: (FcListValueHash):
1365 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1366 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1367 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1368 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1369 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1370 Re-implement case insensitive functions with Unicode
1371 aware versions (including full case folding mappings)
1373 2004-12-13 Keith Packard <keithp@keithp.com>
1375 reviewed by: Owen Taylor <otaylor@redhat.com>
1377 * src/fcmatch.c: (FcFontSetSort):
1378 I changed FcFontSetSort to respect the generic aliases better
1379 in the face of language matching.
1381 What I did was to ammend the strict sort order used by FcFontSort so
1382 that it 'satisfies' the language specified in the pattern by locating
1383 the best matching font supporting each pattern language and then
1384 ignores language in the remaining fonts for purposes of matching.
1386 So, when asking for 'sans:lang=en', you'll get an English font first,
1387 and then the remaining fonts sorted with respect to the 'sans' alias
1388 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1390 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1392 reviewed by: Keith Packard <keithp@keithp.com>
1394 * fontconfig/fontconfig.h:
1397 Configuration changes to request synthetic emboldening of
1398 fonts. The actual emboldening code will live in Xft.
1400 2004-12-09 John Thacker <thacker@math.cornell.edu>
1402 reviewed by: Keith Packard <keithp@keithp.com>
1406 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1407 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1408 и), and don't even appear in KOI8-R. (The hypothesis that they
1409 don't appear in KOI8-R due to their similarity with Latin I and i is
1410 eliminated by their presence in KOI8-U.) I have a couple of fonts
1411 with Russian support that don't have the letter.
1413 Therefore, 0406 and 0456 should be removed from or commented out of
1416 2004-12-06 michael meeks <mmeeks@novell.com>
1418 Reviewed by: Keith Packard <keithp@keithp.com>
1420 * src/fcinit.c: (FcMemReport):
1422 * src/fclist.c: (FcObjectSetAdd):
1423 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1424 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1425 * src/fcxml.c: (FcParsePatelt):
1426 memoize strings and share a single copy for all uses. Note that
1427 this could be improved further by using statically allocated blocks
1428 and gluing multiple strings together, but I'm basically lazy.
1429 In my environment with 800 font files, I get a savings of about 90KB.
1431 2004-12-06 Keith Packard <keithp@keithp.com>
1435 * config/Makedefs.in:
1438 * doc/fcatomic.fncs:
1439 * doc/fcblanks.fncs:
1440 * doc/fccharset.fncs:
1441 * doc/fcconfig.fncs:
1442 * doc/fcconstant.fncs:
1444 * doc/fcfontset.fncs:
1445 * doc/fcfreetype.fncs:
1447 * doc/fcmatrix.fncs:
1448 * doc/fcobjectset.fncs:
1449 * doc/fcobjecttype.fncs:
1450 * doc/fcpattern.fncs:
1451 * doc/fcstring.fncs:
1452 * doc/fcstrset.fncs:
1454 * doc/fontconfig-devel.sgml:
1455 * doc/fontconfig-user.sgml:
1457 * doc/version.sgml.in:
1458 * fc-cache/Makefile.am:
1459 * fc-cache/fc-cache.c:
1460 * fc-glyphname/Makefile.am:
1461 * fc-glyphname/fc-glyphname.c:
1462 * fc-glyphname/fcglyphname.tmpl.h:
1463 * fc-lang/Makefile.am:
1473 * fc-lang/az_ir.orth:
1507 * fc-lang/fc-lang.c:
1508 * fc-lang/fc-lang.man:
1509 * fc-lang/fclang.tmpl.h:
1554 * fc-lang/ku_ir.orth:
1587 * fc-lang/ps_af.orth:
1588 * fc-lang/ps_pk.orth:
1617 * fc-lang/ti_er.orth:
1618 * fc-lang/ti_et.orth:
1644 * fc-lang/zh_cn.orth:
1645 * fc-lang/zh_hk.orth:
1646 * fc-lang/zh_mo.orth:
1647 * fc-lang/zh_sg.orth:
1648 * fc-lang/zh_tw.orth:
1650 * fc-list/Makefile.am:
1651 * fc-list/fc-list.c:
1652 * fc-match/Makefile.am:
1653 * fc-match/fc-match.1:
1654 * fc-match/fc-match.c:
1655 * fontconfig/fcfreetype.h:
1656 * fontconfig/fcprivate.h:
1657 * fontconfig/fontconfig.h:
1678 Change files from ISO-Latin-1 to UTF-8
1680 2004-12-04 Keith Packard <keithp@keithp.com>
1683 Update links to new freedesktop.org locations
1685 Add uninstall-local to get rid of fonts.conf and local.conf if they
1686 match the distributed versions. Fixes 'make distcheck'
1688 2004-12-04 Keith Packard <keithp@keithp.com>
1692 * fontconfig/fontconfig.h:
1693 Updates for version 2.2.97
1695 2004-12-04 Owen Taylor <otaylor@redhat.com>
1697 reviewed by: Keith Packard <keithp@keithp.com>
1699 * fc-cache/fc-cache.c: (main):
1700 Sleep for two seconds before exiting to make sure timestamps
1701 for future changes have distinct mod times in the file system.
1704 Add Punjabi orthography. Bug #1671.
1706 2004-12-04 Keith Packard <keithp@keithp.com>
1709 Just remove the FC_FONTDATE -- it has locale issues and
1710 annoys redhat multi-arch installs. Now that all X fonts are
1711 included without prejudice, the chances of the date being at
1712 all interesting are rather limited. Bug #505.
1714 Add copyright and license
1716 2004-12-04 Keith Packard <keithp@keithp.com>
1719 Change default set of fonts to include all of
1720 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1721 * doc/fontconfig-user.sgml:
1722 Document new <include>directory-name</include> semantics
1724 add <include ignore_missing="yes">conf.d</include>
1726 Add selectfont to ignore bitmap fonts, add comment for
1727 selectfont which accepts bitmap fonts.
1730 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1731 Allow <include> configuration elements to reference directories.
1732 Parse and load all files of the form [0-9]* in sorted order.
1734 2004-12-04 Keith Packard <keithp@keithp.com>
1737 Report command line for $srcdir/configure accurately.
1740 2004-12-04 Keith Packard <keithp@keithp.com>
1742 * src/fcfreetype.c: (FcFreeTypeQuery):
1743 Check for non-empty face->family_name and face->style_name
1744 before using those for the font. Empty names match everything.
1747 2004-12-04 Keith Packard <keithp@keithp.com>
1750 * fontconfig/fontconfig.h:
1751 * src/fcfreetype.c: (FcFreeTypeQuery):
1753 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1754 available. This provides font file format information (BDF, Type 1,
1755 PCF, TrueType) for each font. Closes #109.
1757 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1759 reviewed by: Keith Packard <keithp@keithp.com>
1761 * doc/fontconfig-user.sgml:
1764 * fontconfig/fontconfig.h:
1765 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1766 (GetScriptTags), (FcFontCapabilities):
1768 Add detection for font capabilities (bug #105)
1770 2004-12-04 Keith Packard <keithp@keithp.com>
1773 Move existing fonts.conf to fonts.conf.bak
1776 Add detection of iconv
1778 * doc/fcpattern.fncs:
1779 * doc/fontconfig-devel.sgml:
1780 * doc/fontconfig-user.sgml:
1782 Document new selectfont elements
1785 Switch to UTF-8 in comment
1787 * fontconfig/fontconfig.h:
1789 Add fullname, and family/style/fullname language entries
1791 * src/fccache.c: (FcCacheFontSetAdd):
1792 * src/fcdir.c: (FcFileScanConfig):
1793 Respect selectfont/*/glob
1796 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1797 (FcConfigCompareValue), (FcConfigPatternsAdd),
1798 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1799 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1800 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1801 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1802 Add support for selectfont
1804 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1805 (FcStringInPatternElement), (FcFreeTypeQuery):
1806 Add multi-lingual family/style/fullname support
1808 * src/fclist.c: (FcListPatternMatchAny):
1809 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1811 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1812 (FcObjectStaticName):
1813 Add new FcPatternRemove/FcPatternAppend.
1814 FcObjectStaticName stores computed pattern element names which
1815 are required to be static.
1817 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1822 Remove spurious / after $(DESTDIR)
1824 2004-06-30 Keith Packard <keithp@keithp.com>
1828 * fontconfig/fontconfig.h:
1831 2004-06-30 Keith Packard <keithp@keithp.com>
1833 Provided by: Lubos Lunak <l.lunak@suse.cz>
1835 * src/fccfg.c: (FcConfigUptoDate):
1836 However FcConfigUptoDate() doesn't seem to work. See the attached
1837 patch. First there's an obvious misplaced parenthesis making it
1838 return always false, and second, even this call fails to detect font
1839 changes (e.g. adding a new font to
1840 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1841 well. The problem seems to be triggered by my fonts.conf specifying
1842 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1843 doesn't include subdirs, unlike config->fontDirs.
1845 2004-06-03 Keith Packard <keithp@keithp.com>
1847 * fontconfig/fontconfig.h:
1848 Remove comma at end of FcResult enum definition.
1850 2004-05-29 Keith Packard <keithp@keithp.com>
1853 Add steps to md5sum release
1855 2004-05-29 Keith Packard <keithp@keithp.com>
1859 * fontconfig/fontconfig.h:
1862 2004-05-29 Keith Packard <keithp@keithp.com>
1864 * fontconfig/fontconfig.h:
1865 * src/fcmatch.c: (FcFontSetMatch):
1866 Add FcResultOutOfMemory to provide an accurate error when
1867 FcFontSetMatch fails in this way
1870 Make #warning about lacking various FreeType features indicate
1871 which version those features appeared so users know how to
1872 fix the problem (Thanks to Anton Tropashko)
1874 2004-05-05 Keith Packard <keithp@keithp.com>
1876 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1877 Replace MIN/MAX/ABS macros which happen to have come
1878 from FreeType with fontconfig-specific ones (FC_*)
1880 2004-04-23 Keith Packard <keithp@keithp.com>
1883 Extend release preparation instructions to include
1884 notification and distribution steps
1886 2004-04-23 Keith Packard <keithp@keithp.com>
1890 * fontconfig/fontconfig.h:
1891 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1893 2004-04-23 Keith Packard <keithp@keithp.com>
1896 Ignore a few more autotool files
1898 2004-04-14 Keith Packard <keithp@keithp.com>
1901 Add instructions for doing a release
1903 * fontconfig.spec.in:
1904 clean up .spec file; perhaps this will be useful to somebody...
1908 * fontconfig/fontconfig.h:
1911 * fc-lang/fc-lang.c:
1912 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1914 * fc-glyphname/Makefile.am:
1915 * fc-lang/Makefile.am:
1916 * fc-list/Makefile.am:
1917 * fc-match/Makefile.am:
1919 Add WARN_CFLAGS to pass -W flags for GCC systems
1921 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1922 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1923 Change various char types around to match across
1925 Fixed bug in using available_sizes[i].height which
1926 is in pixels, not 64ths of a pixel.
1928 2004-03-06 Keith Packard <keithp@keithp.com>
1930 * src/fcfreetype.c: (FcFreeTypeQuery):
1931 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1932 matches looking for explicit values prefer exact matches
1934 2004-03-02 Keith Packard <keithp@keithp.com>
1936 Supplied by: mfabian@suse.de (Mike FABIAN)
1938 * src/fcfreetype.c: (FcFreeTypeQuery):
1939 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1940 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1942 2004-02-21 Manish Singh <yosh@gimp.org>
1944 * fc-glyphname/fc-glyphname.c: (main):
1945 Cast strlen to int for printf, so we're 64-bit clean.
1947 2004-02-11 Keith Packard <keithp@keithp.com>
1950 * src/fcfreetype.c: (FcGetPixelSize):
1951 Ok, so I messed up the test for y_ppem. Let's see if I
1952 got it right this time.
1954 2004-02-10 Keith Packard <keithp@keithp.com>
1957 * src/fcfreetype.c: (FcGetPixelSize):
1958 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1959 FT_Bitmap_Size record. Add a configure.in test for this
1960 and change the code accordingly (using height instead).
1962 2004-02-06 Keith Packard <keithp@keithp.com>
1965 Add Low Saxon orthography
1966 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1968 * src/fccfg.c: (FcConfigNewestFile):
1969 Oops. Left 'newest.set' unset, which would miscompute
1972 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1973 (FcFreeTypeCheckGlyph):
1974 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1975 font properties (which report the wrong value in current FreeType)
1977 Don't attempt to check for empty glyphs in non-scalable fonts; they
1980 2004-02-01 Tor Lillqvist <tml@iki.fi>
1982 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1983 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1984 cache if config->cache is NULL, which happens if FcConfigHome() is
1985 NULL. Guard against that by using the temp folder in that case.
1987 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1989 * fc-lang/az_ir.orth:
1990 * fc-lang/ku_ir.orth:
1991 * fc-lang/ps_af.orth:
1992 * fc-lang/ps_pk.orth:
1993 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1994 (Afghan and Pakistani).
1996 Updated Urdu orthography with real data.
1998 2003-12-11 Carl Worth <cworth@east.isi.edu>
2000 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2003 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2005 (all-local): Remove excessive whitespace.
2007 * autogen.sh: Add 'set -e' to abort when any program fails,
2008 (avoids printing of 'now type make' after configure aborts).
2010 2003-11-17 Eric Christopherson <rakko@charter.net>
2012 reviewed by: Keith Packard <keithp@keithp.com>
2015 * fontconfig/fcfreetype.h:
2017 Switch to FreeType 2.1.7 style includes. Bug #150.
2019 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2021 * fc-list/fc-list.sgml: Add some example usages.
2023 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2026 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2029 2003-10-27 Keith Packard <keith@keithp.com>
2032 * fontconfig/fontconfig.h:
2033 Update to version 2.2.92
2035 2003-10-27 Keith Packard <keithp@keithp.com>
2040 * fc-cache/Makefile.am:
2041 * fc-glyphname/Makefile.am:
2042 * fc-lang/Makefile.am:
2043 * fc-list/Makefile.am:
2044 * fc-match/Makefile.am:
2047 Yet more cleanups to finish getting 'make distcheck' working
2048 This has been tested to ensure that it even works from a _build
2051 2003-10-26 Keith Packard <keithp@keithp.com>
2055 * fc-cache/Makefile.am:
2056 * fc-glyphname/Makefile.am:
2057 * fc-lang/Makefile.am:
2058 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2059 * fc-list/Makefile.am:
2060 * fc-match/Makefile.am:
2061 Attempts to fix 'make distcheck' work. Things are
2062 progressing pretty well, but there are still failures
2063 long into the process dealing with docs (as always).
2065 The big changes here are mostly to make $(srcdir) != "."
2066 work correctly, fixing the docbook related sections and
2067 fc-lang were particularily tricky. Docbook refuses to load
2068 system entities from anywhere other than where the original .sgml
2069 file was located, so no luck looking in "." for the
2070 configure-generated version.sgml and confdir.sgml files.
2072 fc-lang needed help finding .orth files; added a -d option
2073 to set the directory as the least evil of many options.
2075 Now to go use a faster machine and try and wring out the last
2078 2003-10-26 Keith Packard <keithp@keithp.com>
2082 2003-10-26 Keith Packard <keithp@keithp.com>
2085 Include confdir.sgml.in in EXTRA_DIST
2087 2003-10-09 Josselin Mouette <joss@debian.org>
2089 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2090 * fc-list/fc-list.sgml fc-list/Makefile.am:
2091 Replace fc-cache and fc-list manpages with more detailed, SGML
2094 2003-09-23 Owen Taylor <otaylor@redhat.com>
2096 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2097 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2098 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2101 2003-09-23 Owen Taylor <otaylor@redhat.com>
2103 * fc-lang/ka.orth: Remove Georgian capitals, they
2104 aren't used for normal writing. (Bug #116)
2106 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2108 * doc/fontconfig-devel.sgml:
2109 * doc/fontconfig-user.sgml:
2110 * fontconfig/fontconfig.h:
2112 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2113 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2115 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2116 monospace and dual-width fonts, allow roughly a 3% variance in the
2119 2003-08-31 Manish Singh <yosh@gimp.org>
2121 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2124 2003-08-15 Carl Worth <cworth@isi.edu>
2126 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2127 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2129 * src/fcpat.c (FcValueListEntDestroy): New function to support
2130 FcFini memory cleanup. Some statistics are not kept in
2132 (FcValueListFreeze): Move hashTable outside this function so it
2133 can be accessed by FcValueListThawAll.
2134 (FcValueListThawAll): New function complements FcValueListFreeze.
2135 (FcPatternBaseFreeze): Move hashTable outside this function so it
2136 can be accessed by FcPatternBaseThawAll.
2137 (FcPatternBaseThawAll): New function complements
2138 FcPatternBaseFreeze.
2139 (FcPatternThawAll): New function complements FcPatternFreeze.
2141 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2143 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2144 allocated FcCharLeafEnt "blocks" so they can be freed later.
2145 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2146 can be accessed by FcCharSetThawAllLeaf.
2147 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2148 (FcCharSetFreezeBase): Move hashTable outside this function so it
2149 can be accessed by FcCharSetThawAll.
2150 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2152 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2153 (FcConfigDestroy): Fic leak of FcBlanks.
2155 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2156 (main): Add call to FcFini when finished.
2158 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2159 static. Add prototypes.
2161 * doc/fcinit.fncs: Add documentation for FcFini function.
2163 * doc/edit-sgml.c: Mark several local functions as static. Add
2166 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2168 2003-06-15 Tor Lillqvist <tml@iki.fi>
2170 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2171 before comparing (needed on Windows).
2173 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2175 2003-06-13 Tor Lillqvist <tml@iki.fi>
2177 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2180 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2181 WINDOWSFONTDIR token.
2183 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2184 end, not to confuse libtool, which expects the EXPORTS line to be
2185 the first. Add FcConfigEnableHome.
2187 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2188 built as a DLL on Win32.
2190 2003-06-09 Keith Packard <keithp@keithp.com>
2192 * Tag version 2.2.90
2194 2003-06-09 Keith Packard <keithp@keithp.com>
2196 * Optimization in FcLangSetIndex was broken, occasionally
2197 returning a pointer to the wrong location on miss
2199 * Add fc-match to test font matching from the command line.
2201 2003-05-31 Keith Packard <keithp@keithp.com>
2203 * (Bug 85) add support for culmus fonts
2204 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2205 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2207 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2209 * Fix "contains" op for strings and langsets.
2211 2003-05-17 Keith Packard <keithp@keithp.com>
2213 * Fix build error with BDF prop local. Free langset after query
2215 2003-05-14 Keith Packard <keithp@keithp.com>
2217 * Extract spacing from XLFD atom
2219 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2221 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2222 disappeared in 1.30.
2224 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2226 2003-05-12 Keith Packard <keithp@keithp.com>
2228 * Use FcIsWidth to share code
2230 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2231 misclassifying some Han fonts as monospaced.
2233 2003-05-07 Keith Packard <keithp@keithp.com>
2235 * Add filename-based accept/reject to ammend available fonts.
2237 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2238 older FreeType releases.
2240 2003-05-06 Keith Packard <keithp@keithp.com>
2242 * Remove 0b82 and Tamil numbers from tamil
2243 orthography (Jungshik Shin <jshin@mailaps.org>)
2245 2003-05-04 Keith Packard <keithp@keithp.com>
2247 + Map glyph names in fonts with adobe custom encoding to unicode
2249 2003-05-02 Keith Packard <keithp@keithp.com>
2251 * Add FC_WEIGHT_BOOK as weight 75
2253 2003-04-30 Keith Packard <keithp@keithp.com>
2255 * Typo in bitstream foundry name
2257 2003-04-24 Keith Packard <keithp@keithp.com>
2259 * Eliminate italic_angle check for PS fonts
2261 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2263 * Getting closer to fixing /etc/fonts hard-coding.
2265 2003-04-22 Keith Packard <keithp@keithp.com>
2267 * Update autogen.sh to work with newer automake versions
2268 * Handle pattern elements moving during multiple edits
2270 2003-04-23 James Henstridge <james@daa.com.au>
2272 * doc/fontconfig-devel.sgml: close the <para> element.
2274 * doc/fcpattern.fncs: close the <para> element.
2276 * doc/func.sgml: close the <refsynopsisdiv> element.
2278 2003-04-22 Keith Packard <keithp@keithp.com
2280 * Update autogen.sh to work with newer automake versions
2281 * Handle pattern elements moving during multiple edits
2283 2003-04-17 Colin Walters <walters@debian.org>
2285 + Remove some unused variables, and initialize some other ones so
2286 gcc doesn't warn us.
2288 2003-04-16 Keith Packard <keithp@keithp.com>
2290 + tag version 2.1.94
2292 2003-04-16 Keith Packard <keithp@keithp.com>
2294 + add BDF property fetching support for foundry
2295 (from Juliusz Chroboczek)
2296 + add BDF property fetching support for width
2298 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2300 + Implemented foundry generation for Type 1 and TrueType
2302 2003-04-11 Gerard Escalante <g2@magestudios.net>
2304 + Retrieve information from Type1 FontInfo dictionaries
2306 2003-04-07 Colin Walters <walters@verbum.org>
2308 + src/Makefile.am: Fix dummy makefile target names when
2309 MS_LIB_AVAILABLE isn't set.
2311 2003-03-22 Tor Lillqvist <tml@iki.fi>
2313 Changes for Windows:
2315 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2317 + We don't want to hardcode the fonts.conf file location in the
2318 DLL, so we look up the DLL location at run-time in a DllMain()
2319 function. The fonts.conf location is deduced from that.
2321 + The colon can't be used as path separator on Windows,
2322 semicolon is used instead. File path components can be separated
2323 with either slash or backslash. Absolute paths can also begin
2324 with a drive letter.
2326 + Add internal function FcStrLastSlash that strrchr's the last
2327 slash, or backslash on Windows.
2329 + There is no link() on Windows. For atomicity checks, mkdir a
2330 lock directory instead.
2332 + In addition to HOME, also look for USERPROFILE.
2334 + Recognize the special font directory token WINDOWSFONTDIR, to
2335 use the system's font directory.
2337 + Remove the fontconfig-def.cpp that was obsolete. Add
2338 fontconfig.def(.in), without internal functions.
2340 + Add a fontconfig-zip(.in) script, used to build a binary
2343 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2344 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2345 to main package and man3/* to devel package
2347 + Added missing defattr(-, root, root) to main RPM package
2349 + Added HTML and text development documentation to -devel subpackage
2351 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2352 + Added back the configure macro options --disable-docs, otherwise
2353 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2354 version number) unconditionally, causing RPM to fail the build due
2355 to _unpackaged_files_terminate_build. We pick up the pregenerated
2356 docs with %doc already.
2358 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2359 + Removed commented out rpm macro define at top of spec file,
2360 replacing it with a simple explanation, since rpm macros are
2361 expanded by rpm even in comments.
2363 + Changed /usr/bin to _bindir in BuildRequires lines
2365 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2367 + Reorganized file manifest lists
2369 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2371 + fontconfig.spec.in: Improvements from Red Hat spec file.
2373 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2375 + docs/*.sgml: SGML fixes.
2377 Sat Mar 1 17:28:53 PST 2003 keithp
2378 + Ok, so the ChangeLog is a bit out of date
2380 + Lots of bugs fixed; most are in bugzilla, the
2381 biggest problems were in cache management where
2382 Owen discovered the library would lose badly when
2383 combining fonts-cache and ~/.fonts-cache data
2385 + Converted from autoconf to automake. This after
2386 getting patches accepted into libtool to allow
2387 the '-version-number' argument which lets
2388 packages set version numbers explicitly rather
2389 than the roundabout libtool way
2391 + Converted documentation to SGML using the docbook
2392 DTD. Now .txt and .html documents are installed
2393 in /usr/share/doc/fontconfig and there's no
2394 man page. Perhaps a man version can be written
2397 Sat Aug 31 15:21:22 PDT 2002 keithp
2398 + Xrender and Xft had several bugs related to
2399 rendering manually placed or poly-face text
2401 + Added more complete memory tracing in fontconfig
2402 Checked with (patched) mozilla and found no leaks
2404 + Updated Latin orthographies by comparing those from
2405 evertype.com with those from eki.ee. Tried to make
2406 sensible choices, including chars that occured in both
2407 and leaving some optional chars out that occured only
2410 Mon Aug 26 16:33:04 PDT 2002 keithp
2411 + Owen discovered that FcLangSetHasLang wasn't actually
2412 checking the language set.
2414 Mon Aug 26 13:37:23 PDT 2002 keithp
2415 + Append a version number to cache filenames
2417 Thu Aug 22 11:36:18 PDT 2002 keithp
2419 + Add "contains" and "not_contains" operators and elements to
2422 + Changed semantics of eq operator for LangSets to check for
2423 FcLangEqual so that any match will do
2425 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2426 of FcValueEqual to check for identical values when inserting into
2427 the results. This broke when the above semantic change was made,
2428 now it uses FcValueEqual which is "more correct" in any case.
2430 Thu Aug 22 00:32:29 PDT 2002 keithp
2432 + Reimplement FC_LANG as new datatype. Lists of strings
2433 was consuming over a megabyte of memory for 401 fonts.
2435 + Freeze patterns loaded from cache files. This shares
2436 common value lists and common patterns which saves
2437 considerable memory.
2439 + Change the denotation of 'constant' charsets to use special
2440 ref value instead of separate boolean.
2442 + Clean up leak tracing stuff, found several unannoted alloc/free
2445 Tue Aug 20 16:17:37 PDT 2002 keithp
2447 + Fix memory leak when parsing matrices from XML
2449 Mon Aug 19 11:57:27 PDT 2002 keithp
2451 + Fix autoconf files to pass FONTCONFIG_PATH on
2452 compile line so that ${prefix} gets substituted
2455 + Use getc_unlocked/putc_unlocked on systems that
2456 provide them to avoid damage done to stdio by posix
2458 + Eliminate FC_PATTERN and FcTypePattern in favor of
2459 an extended api for FcConfigSubstitute which takes
2460 both the font and the pattern.
2462 + Add 'sans serif' alias for 'sans-serif' as some apps
2463 can't handle hyphens in family names
2465 + Eliminate pretense of support for libxml2
2467 + Comment origins of Han orthographies
2469 Tue Jul 30 18:37:09 PDT 2002 keithp
2471 + Add binding property to edit element so that strong
2472 binding values may be inserted by the config file.
2473 The default remains weak.
2475 Sun 28 Jul 04:16:55 PDT 2002 keithp
2477 + Tagged release candidate 1 in the CVS tree and
2478 placed fcpackage.rc1.tar.gz for distribution
2480 Thu Aug 1 08:55:08 PDT 2002 keithp
2482 + Fixed autoconf builds to always specify install
2483 target files (for BSD). Also fixed to
2484 define FONTCONFIG_PATH in config.h so that
2485 nonstandard installs will actually work.