1 2006-01-26 Mike Fabian <mfabian@suse.de>
4 * src/fcacache.c (FcGlobalCacheReadDir):
6 Don't crash on non-existant directories in global cache.
8 2006-01-26 Patirck Lam <plam@mit.edu>
9 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
10 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
11 * src/fcdir.c (FcDirScanConfig):
12 * src/fcxml.c (FcEndElement):
14 Stop trampling the directory name when writing out caches.
15 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
16 subdirs when necessary. Don't scan directories that can't be
19 2006-01-25 Patrick Lam <plam@mit.edu>
20 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
21 * src/fccfg.c (FcConfigEvaluate):
22 * src/fcfreetype.c (FcPatternAddWithBinding):
24 Fix additional memory leaks reported by Ronny V. Vindenes: don't
25 invoke FcValueSave on hashed static strings in
26 FcPatternAddWithBinding.
28 Add another st_dev check in FcDirCacheOpen.
30 2006-01-24 James Su <james.su@gmail.com>
33 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
36 Treat zh-hk fonts differently from zh-tw fonts. This patch may
37 cause fontconfig to treat A-X fonts differently from A-Y fonts;
38 please mail the fontconfig list if this causes any problems.
40 2006-01-24 Patrick Lam <plam@mit.edu>
41 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
42 * src/fcfreetype.c (FcFreeTypeQuery):
44 Fix memory leaks reported by Ronny V. Vindenes.
46 2006-01-19 Andreas Schwab <schwab@suse.de>
49 * src/fcpat.c (FcStrNeededBytes):
51 Fix for unaligned memory accesses.
53 2006-01-18 Mike Fabian <mfabian@suse.de>
56 * src/fcdir.c (FcDirScanConfig):
58 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
59 calls to avoid crashes.
61 2006-01-14 Patrick Lam <plam@mit.edu>
62 * src/fccache.c (FcDirCacheConsume):
64 Fix segfault when consuming zero-length caches in fc-cat
65 (which has no config, so FcConfigAddFontDir shouldn't be called.)
67 2006-01-14 Patrick Lam <plam@mit.edu>
68 * fc-cache/fc-cache.c (scanDirs):
69 * fontconfig/fontconfig.h:
70 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
71 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
72 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
73 * src/fcdir.c (FcDirScanConfig):
76 Compare device numbers as well as inodes.
77 Always normalize directory names before comparing them.
79 2006-01-11 Mike Fabian <mfabian@suse.de>
82 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
84 Allocate extra space for appended '/' in directory name.
86 2006-01-10 Patrick Lam <plam@mit.edu>
87 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
88 FcDirCacheValid, FcDirCacheHasCurrentArch,
89 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
90 * fc-cache/fc-cache.c (main):
92 Explicitly add font dirs to config.fontDirs even if they're empty.
93 Set current config in fc-cache.c.
94 Fix treatment of cache directory as read from cache file; don't
95 use string equality to determine if we have the right file,
98 2006-01-09 Patrick Lam <plam@mit.edu>
99 * fc-cache/fc-cache.c (scanDirs):
100 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
101 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
102 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
103 * src/fccfg.c (FcConfigNormalizeFontDir):
104 * src/fcdir.c (FcDirScanConfig):
107 Normalize font dirs by using the form, as given in fonts.conf, and
108 recorded in FcConfig's fontDirs string set, as canonical.
110 Actually update config.fontDirs as font directories are scanned.
112 2006-01-08 James Su <james.su@gmail.com>
113 * src/fcmatch.c (FcFontSetMatch):
115 Fix matching bug when multiple elements match; don't use
116 the sum of all scores, but the best score.
118 Also more perf opts, e.g. evaluate best over all font sets
119 rather than on a per-set basis (and other changes).
121 2006-01-08 Patrick Lam <plam@mit.edu>
122 * src/fccache.c (FcDirCacheConsume):
124 Properly skip past dir caches that contain zero fonts (as occurs
125 in global caches.) Reported by Mike Fabian.
127 2006-01-06 Patrick Lam <plam@mit.edu>
128 * src/fcdbg.c (FcPatternPrint):
130 Print out full pathname in fc-match -v as well. Reported by
133 2006-01-06 Mike Fabian <mfabian@suse.de>
136 * src/fcname.c (FcNameParse):
138 Fix bug where fc-match crashes when given __DUMMY__ property to
141 (I added the __DUMMY__ string to enable callers of
142 FcObjectToPtrLookup to distinguish an error return from a
143 successful return. -PL)
145 2006-01-05 Patrick Lam <plam@mit.edu>
148 Add self to AUTHORS list.
150 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
151 FcCacheFileRead, FcCachePrintSet, main):
152 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
153 FcGlobalCacheSave, FcCacheNextOffset,
154 FcDirCacheHasCurrentArch, FcDirCacheRead,
155 FcDirCacheConsume, FcDirCacheWrite):
157 * src/fcpat.c (comment):
159 Minor change to global cache file format to fix fc-cat bug
160 reported by Frederic Crozat, and buglet with not globally caching
161 directories with zero fonts cached.
163 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
166 * src/fccfg.c (FcConfigEvaluate):
168 Fix double-free which occurs because FcValueCanonicalize doesn't
169 create an extra copy of the returned value, it only canonicalizes
172 2006-01-02 Patrick Lam <plam@mit.edu>
173 * doc/fontconfig-user.sgml:
175 Fix version of .cache file (currently 1 -> currently 2). Reported
178 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
181 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
183 Shut up GCC warnings on amd.
185 2005-12-20 Patrick Lam <plam@mit.edu>
189 * fontconfig/fontconfig.h:
191 Bump version to 2.3.93.
193 2005-12-20 Patrick Lam <plam@mit.edu>
194 * src/fccharset.c (FcLangCharSetPopulate):
195 * src/fcint.h (FcCacheBankToIndex):
197 Avoid check on _fcBankId nullness and fix case where it used to
200 2005-12-20 Patrick Lam <plam@mit.edu>
201 * src/fcxml.c (FcConfigParseAndLoad):
203 Use open instead of fopen (requested by Phil Race for Sun).
205 2005-12-20 Patrick Lam <plam@mit.edu>
206 * src/fccache.c (FcDirCacheWrite);
207 * fc-cache/Makefile.am:
209 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
212 2005-12-20 Patrick Lam <plam@mit.edu>
213 * src/fcfreetype.c (FcFreeTypeQuery):
215 Restore code to skip over PCF fonts that have no encoded
217 (We guess that a font is PCF by presence of the PIXEL_SIZE
220 2005-12-12 Patrick Lam <plam@mit.edu>
221 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
223 Read and write the original location as a fallback for the
224 hashed cache file locations. This is mostly for users to be
225 able to have per-directory cache files.
227 2005-12-12 Patrick Lam <plam@mit.edu>
228 * fc-cache/fc-cache.c (scanDirs):
229 * fc-cache/Makefile.am:
230 * src/fccache.c (FcDirCacheHashName):
232 Improve error message when fc-cache can't write the cache. Add
233 missing slash. Reported by Behdad. Incorporate Behdad's patch to
234 create /var/cache/fontconfig when appropriate.
236 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
239 * src/fcxml.c (FcConfigGetAttribute):
241 Fix crash reported by Frederic Crozat when using libxml2.
243 2005-12-09 Patrick Lam <plam@mit.edu>
246 * fc-cache/Makefile.am:
247 * fc-cat/Makefile.am:
249 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
250 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
251 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
252 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
253 FcDirCacheHasCurrentArch, FcDirCacheHashName,
254 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
256 Migrate cache files from fonts directories to
257 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
258 but requires that all caches get rebuilt.
260 Also, autogen.sh now needs the additional parameter
261 --localstatedir=/var.
263 2005-12-07 Patrick Lam <plam@mit.edu>
264 * src/fcpat.c (FcPatternAddString):
266 Because we've changed FcPatternAddString to use FcStrStaticName
267 and not FcValueSave, explicitly handle the case of a null string.
269 2005-12-06 Patrick Lam <plam@mit.edu>
270 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
274 2005-12-05 Patrick Lam <plam@mit.edu>
275 * src/fcname.c (FcNameGetObjectType):
277 Don't assign types to user object names.
279 2005-12-05 Patrick Lam <plam@mit.edu>
280 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
282 Don't free strings that have been returned from FcStrStaticName.
284 2005-12-01 Patrick Lam <plam@mit.edu>
285 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
287 Add codepath for reading global cache files as well.
289 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
292 * conf.d/10-fonts.persian.conf:
293 * conf.d/Makefile.am:
295 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
297 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
300 * src/fcxml.c (FcConfigParseAndLoad):
302 Only add a config file to the set of config files once.
304 2005-11-29 Patrick Lam <plam@mit.edu>
305 * src/fcint.h (FcCacheBankToIndex);
307 Fix segfault by guarding array dereference.
309 2005-11-29 Dirk Mueller <dmueller@suse.de>
313 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
314 FcCacheBankToIndex, FcCacheBankToIndexMTF,
318 Refactor FcCacheBankToIndex into an inlineable part
319 (in fcint.h) which checks the front of the list and a
320 non-inlineable part which finds and moves the appropriate element
321 to the front of the list.
323 2005-11-29 Patrick Lam <plam@mit.edu>
324 * src/fccfg.c (FcConfigBuildFonts):
325 * src/fccache.c (FcCacheReadDirs):
327 Make the perf guys hate me a bit less: hoist the directory-name
328 FcConfigAcceptFont check for cached fonts up to directory cache
329 read time, rather than running it for each font.
331 2005-11-29 Patrick Lam <plam@mit.edu>
332 * src/fccfg.c (FcConfigBuildFonts):
334 * src/fcpat.c (FcPatternFindFullFname):
336 Don't make FcPatternFindFullFname available to fccfg, it's not
337 really safe. Instead go through FcPatternGetString (sorry,
338 perf guys.) Also, use globs for dirs as well.
340 2005-11-28 Patrick Lam <plam@mit.edu>
341 * src/fccfg.c (FcConfigBuildFonts):
345 2005-11-28 Patrick Lam <plam@mit.edu>
347 * src/fcpat.c (FcPatternFindFullFname):
348 * src/fccfg.c (FcConfigBuildFonts):
350 Fix problem dating back at least to 2.3.2 where globs weren't
351 being applied to patterns loaded from a cache.
353 2005-11-28 Patrick Lam <plam@mit.edu>
354 * doc/fontconfig-user.sgml:
356 Fix some obvious spelling mistakes.
358 2005-11-28 Dirk Mueller <dmueller@suse.com>
359 Stephan Kulow <coolo@suse.de>
362 * src/fcmatch.c (FcFontSetMatch):
364 Don't kill all fonts during match (oops!)
367 2005-11-25 Dirk Mueller <dmueller@suse.com>
368 Stephan Kulow <coolo@suse.de>
369 Michael Matz <matz@suse.de>
372 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
375 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
376 inline FcCompare into FcFontSetMatch and reorder the
377 loops, adding a boolean array which blocks patterns from future
378 consideration if they're known to not be best on some past
381 2005-11-26 Dirk Mueller <dmueller@suse.com>
384 * src/fcmatch.c (FcCompareValueList):
388 2005-11-25 Patrick Lam <plam@mit.edu>
389 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
391 Don't do random matching when bad objects are passed into
394 2005-11-25 Patrick Lam <plam@mit.edu>
396 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
397 FcPatternSerialize, FcPatternUnserialize,
398 FcValueListEnsureBank, FcValueListDistributeBytes,
399 FcValueListUnserialize):
401 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
402 _fcPatternElts, _fcValueLists for consistency.
404 2005-11-25 Dirk Mueller <dmueller@suse.com>
409 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
411 2005-11-25 Patrick Lam <plam@mit.edu>
413 * src/fccache.c (FcDirCacheConsume):
414 * src/fccharset.c (FcCharSetUnserialize):
415 * src/fcfs.c (FcFontSetUnserialize):
416 * src/fclang.c (FcLangSetUnserialize):
417 * src/fcname.c (FcObjectUnserialize):
418 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
419 FcPatternUnserialize):
421 Pass around FcCache *s to the Unserialize functions for extra
422 consistency (and less overhead, for what that's worth).
424 2005-11-24 Dirk Mueller <dmueller@suse.com>
428 * src/fcmatch.c (FcCompare*, FcFontSetSort):
429 * src/fcname.c (FcNameUnparseValue):
431 Inline the *PtrU functions to gain perf.
432 Remove unneeded params for the FcCompare* functions.
434 2005-11-24 Dirk Mueller <dmueller@suse.com>
437 * src/fcint.h, fontconfig/fontconfig.h:
439 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
441 * src/fcpat.c, src/fcint.h, src/fcname.c:
443 Check for type validity during FcPatternAddWithBinding, don't
444 verify type in FcFontMatch, don't call FcCanonicalize here
445 (which always does a deep copy).
447 2005-11-24 Dirk Mueller <dmueller@suse.com>
450 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
451 * src/fcpat.c (FcPatternAddWithBinding):
453 Make FcCompareString and FcCompareFamily less expensive.
454 Only add a value for FC_FAMILY if the proposed value is a string.
456 2005-11-24 Dirk Mueller <dmueller@suse.com>
459 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
460 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
461 * src/fcint.h (FcDebug):
463 Inline FcDebug invocations and only initialize once, in FcInit*.
464 Improve debug msg in FcPatternPrint.
466 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
469 * fontconfig/fontconfig.h:
472 Minor code warning cleanups.
474 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
477 * fc-match/fc-match.c (main):
479 Make getopt_long accept -s parameter to fc-match as well.
481 2005-11-21 Dirk Mueller <dmueller@suse.com>
484 * src/fcmatch.c (FcCompareValueList):
486 Manually perform inlining & partial redundancy elimination to
487 reduce calls to FcValueListPtrU.
489 2005-11-21 Dirk Mueller <dmueller@suse.com>
492 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
493 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
495 Only invoke strlen() when really necessary.
497 2005-11-19 Matthias Clasen <mclasen@redhat.com>
501 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
506 Get rid of the use of freetype internal headers in fcfreetype.c,
507 since those headers will go away with freetype 2.2. Replace with
508 public domain ftglue code from pango. Note that the patch removes
509 some extra error checking in FT_Get_BDF_Property() and comments
510 out the skipping of empty pcf fonts.
512 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
515 * fc-lang/fc-lang.c (main):
517 Further fix of patch from 2005-11-04: miscounted numbers count
518 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
519 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
521 Removed leafidx_count and numbers_count since they are the same
522 and replaced them with offset_count.
524 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
527 * fc-cat/fc-cat.c (main):
529 Don't crash when fc-cat invoked with no arguments.
531 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
534 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
536 Fix invalid read access caused by premature free and
537 GCC4 warnings in libxml2 codepath.
539 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
542 * src/fccfg.c (FcConfigValues):
544 List iteration not needed in FcConfigValues, since it's building
545 up the list itself; we can just strip FcVoid elements during
548 2005-11-17 Patrick Lam <plam@mit.edu>
549 * src/fccfg.c (FcConfigValues):
551 Fix crash on invalid constants in config files (forgot to update
552 a pointer upon list iteration.)
554 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
557 * src/fcxml.c (FcTypecheckExpr):
559 Complain about invalid constants in config files.
561 2005-11-17 Andreas Schwab <schwab@suse.de>
564 * src/fccache.c (FcGlobalCacheSave):
566 Don't add current_arch_start more than once.
568 2005-11-16 Patrick Lam <plam@mit.edu>
569 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
570 * src/fcfs.c (FcFontSetUnserialize):
571 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
572 * src/fcpat.c (FcStrUnserialize):
574 Fix ordering of ALIGN with respect to saving block_ptr; add
575 another ALIGN to fcfs.c.
577 2005-11-16 Patrick Lam <plam@mit.edu>
578 * src/fccache.c (FcDirCacheProduce)
580 Fix case where alignment bytes bumped up metadata->count
581 causing unwarranted failures to write cache files.
582 (Reported by Stephan Kulow).
584 2005-11-16 Patrick Lam <plam@mit.edu>
585 * src/fccache.c (FcDirCacheProduce):
586 * src/fccharset.c (FcCharSetDistributeBytes):
587 * src/fcfs.c (FcFontSetDistributeBytes):
589 * src/fclang.c (FcLangSetDistributeBytes):
590 * src/fcname.c (FcObjectDistributeBytes):
591 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
594 Add *NeededBytesAlign(), which overestimates the padding which is
595 later added by the new ALIGN macro. Fix alignment problems on
596 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
597 version by Andreas Schwab).
599 2005-11-16 Stephan Kulow <coolo@kde.org>
604 Use sysconf to determine proper PAGESIZE value; this
605 appears to be POSIX-compliant. (reported by Andreas Schwab)
607 2005-11-04 Patrick Lam <plam@mit.edu>
613 Fix bug 2878 (excessive relocations at startup for charsets,
614 reported by Ross Burton): fc-lang/fc-lang now creates the
615 static form of the langset, not the dynamic form, so that
616 the charsets should now be in .rodata.
618 2005-11-04 Patrick Lam <plam@mit.edu>
619 * src/fcdir.c (FcDirScanConfig):
621 Add test for validity of directory caches that
622 somehow got lost (reported by make distcheck).
624 2005-11-04 Patrick Lam <plam@mit.edu>
628 * fontconfig/fontconfig.h:
630 Bump version to 2.3.92.
632 2005-11-02 Patrick Lam <plam@mit.edu>
633 * src/fcpat.c (FcPatternDuplicate):
635 Fix argument ordering problem in call to FcPatternTransferFullFname.
637 2005-11-02 Patrick Lam <plam@mit.edu>
638 * src/fcfreetype.c (FcFreetypeQuery):
639 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
640 FcPatternTransferFullFname):
642 Fix warnings and embarrassing double-free error.
644 2005-11-02 Zhe Su <zsu@novell.com>
649 Change the rule for artificial emboldening in fonts.conf.in. This
650 enables the support for artificial emboldening included in cairo.
652 2005-11-02 Patrick Lam <plam@mit.edu>
653 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
655 Don't zero out full names for FC_REF_CONSTANT fonts;
656 also, duplicate full names when transferring, and free
657 full names when freeing the associated font.
658 Reported by Jinghua Luo.
660 2005-11-02 Patrick Lam <plam@mit.edu>
661 * fc-cache/fc-cache.c (scanDirs):
662 * src/fcpat.c (FcValueListSerialize):
664 Revert the previous patch and commit the correct patch:
665 I forgot a canonicalization in FcValueListSerialize, so
666 that it would choke on already-serialized input files. Duh!
668 2005-11-02 Patrick Lam <plam@mit.edu>
669 * fc-cache/fc-cache.c (scanDirs):
671 Forcibly rescan a directory before writing a fresh local
672 cache file for that directory, fixing the losing-fonts
673 problem reported by Mike Fabian and also apparently the
674 font cache file corruption.
676 2005-11-02 Patrick Lam <plam@mit.edu>
677 * src/fccache.c (FcGlobalCacheLoad):
679 Fix thinko: actually, the whole global cache is stale
680 if the global cache is older than the (newest) config file.
682 2005-11-02 Patrick Lam <plam@mit.edu>
683 * src/fccache.c (FcGlobalCacheLoad):
684 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
687 Declare the global cache of a directory's contents to be stale if
688 the directory is newer than the (newest) configuration file.
690 2005-10-31 Patrick Lam <plam@mit.edu>
692 * src/fclist.c (FcListAppend):
693 * src/fcmatch.c (FcFontRenderPrepare):
694 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
695 FcPatternFreeze, FcPatternBaseFreeze):
697 Copy the full pathname whenever duplicating an FcPattern; otherwise,
698 applications continue breaking.
700 2005-10-31 Patrick Lam <plam@mit.edu>
701 * fc-cat/fc-cat.c (FcCacheFileRead, main):
702 * src/fcfreetype.c (FcFreeTypeQuery):
704 Fix small memory error (tried to free argv); use basename and
705 dirname correctly (they can modify their arguments).
707 2005-10-31 Patrick Lam <plam@mit.edu>
715 Reinstate basename patch, but keep a hash table linking FcPatterns
716 to their fully-qualified font names for clients' benefit. Clients
717 only pay for the font names once they request the FC_FILE property
718 from an FcPattern, but the font name is malloc'd at that point (i.e.
719 not mmapped: that's impossible, since it may vary between machines.)
720 Clients do have to pay for a copy of the path name per cache file.
722 Note that FcPatternGetString now does some rewriting if you ask
723 for an FC_FILE, appending the pathname as appropriate.
725 2005-10-31 Patrick Lam <plam@mit.edu>
726 * src/fcfreetype.c (FcFreeTypeQuery):
728 Revert basename patch, which breaks fontconfig clients on my system.
730 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
733 * fontconfig/fonts.conf.in:
734 * fontconfig/fontconfig.h:
738 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
739 to load embedded bitmaps or not.
741 2005-10-25 Patrick Lam <plam@mit.edu>
742 * src/fcfreetype.c (FcFreeTypeQuery):
744 Only add basename to patterns' FC_FILE element, not any part of
747 2005-10-22 Patrick Lam <plam@mit.edu>
750 Add some more consts, fixing more GCC4 warnings.
752 2005-10-22 Zhe Su <zsu@novell.com>
755 Support localized font family and style names.
756 This has been reported to break old apps like xfd, but modern
757 (gtk+/qt/mozilla) apps work fine.
759 2005-10-21 Patrick Lam <plam@mit.edu>
760 * src/fccache.c (FcGlobalCacheLoad):
762 Destroy the global cache file if it's terminally broken. (reported by
765 2005-10-21 Patrick Lam <plam@mit.edu>
766 * fc-list/fc-list.c (main):
767 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
768 * fontconfig/fontconfig.h:
770 Prevent fc-list from escaping strings when printing them (reported by
773 2005-10-20 Marcus Meissner <meissner@suse.de>
776 * fontconfig/fontconfig.h:
778 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
780 2005-10-14 Ross Burton <ross@burtonini.com>
783 * fc-glyphname/fc-glyphname.c:
786 Add consts to variables so as to move arrays into .rodata.
788 2005-10-14 Mike Fabian <mfabian@suse.de>
791 * src/fccache.c (FcDirCacheUnlink):
793 Check existence of directory cache file before attempting to unlink.
795 2005-10-13 Patrick Lam <plam@mit.edu>
796 * src/fccache.c (FcDirCacheUnlink):
798 Fix flipped return value on unlink. (Reported by Mike Fabian)
800 2005-10-12 Patrick Lam <plam@mit.edu>
803 * src/fcdir.c (FcDirScanConfig):
806 When fc-cache is run without --force, use directory cache files
807 to speed up fc-cache run time. (Reported by Mike Fabian)
809 2005-10-06 Patrick Lam <plam@mit.edu>
811 * src/fcname.c (FcObjectToPtr):
812 * src/fcpat.c (FcStrStaticName):
814 Add padding to make valgrind and glibc not hate each other
815 when calling strlen().
817 2005-10-05 Simos Xenitellis <simos74@gmx.net>
818 reviewed by: plam & keithp
822 Modify config file to use Greek fonts before Asian fonts with
825 2005-10-05 Christian Biesinger <cbiesinger@web.de>
826 reviewed by: plam & keithp
830 Use libtool -no-undefined flag on all platforms.
832 2005-10-05 Patrick Lam <plam@mit.edu>
833 * src/fccache.c (FcCacheHaveBank):
835 Implement move-to-front array for banks (perf regression
836 reported by Ronny V. Vindenes).
838 2005-10-04 Patrick Lam <plam@mit.edu>
839 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
840 FcDirCacheHasCurrentArch):
841 * fc-cache/fc-cache.c (scanDirs):
842 * fontconfig/fontconfig.h:
844 Add new API which unlinks directory caches and checks dir caches
845 for existence of appropriate sections. Fix fc-cache to unlink
846 stale cache files and save directory caches that lack relevant
849 2005-10-03 Patrick Lam <plam@mit.edu>
850 * src/fccache.c (FcDirCacheValid):
852 Ensure that a directory cache has the appropriate section
853 before reporting that it is valid (reported by Matthias Clasen).
855 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
863 Use libxml2 if requested (with --enable-libxml2) or if
864 expat is not available.
866 2005-09-29 Patrick Lam <plam@mit.edu>
867 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
869 Fix multi-arch cache files: compute the position for the
870 block to be added using info from OrigFile, not NewFile.
872 2005-09-28 Patrick Lam <plam@mit.edu>
873 * src/fccache.c (FcCacheMachineSignature):
875 Cast results of sizeof() to unsigned int to get rid of
876 warnings on x86_64 (thanks Matthias Clasen).
878 2005-09-27 Patrick Lam <plam@mit.edu>
879 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
882 Use FcAtomic to rewrite cache files.
884 2005-09-27 Patrick Lam <plam@mit.edu>
886 * src/fccache.c (FcDirCacheWrite):
888 Don't unlink the fonts.cache-2 file even if there's no data
889 to write; just write an empty cache file. (thanks Lubos Lunak)
891 2005-09-27 Patrick Lam <plam@mit.edu>
893 * src/fccache.c (FcDirCacheWrite):
895 Allocate room for the subdirectory names in each
896 directory cache. Thanks to James Cloos for finding
897 and diagnosing this bug!
899 2005-09-22 Patrick Lam <plam@mit.edu>
901 * fc-cache/fc-cache.sgml:
902 * src/fccache.c (FcDirCacheWrite):
903 * src/fccache.h (struct FcCache):
905 Update documentation -- fc-cache's man page now says that you
906 need to run fc-cache once per cached architecture; add some
907 documentation to the FcCache structure.
909 Make fc-cache write out fonts.cache-2 files for directories with
910 no fonts (i.e. only subdirectories).
912 2005-09-22 Patrick Lam <plam@mit.edu>
914 * fc-cache/fc-cache.sgml:
916 * fc-glyphname/fc-glyphname.c:
922 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
927 * fontconfig/fcprivate.h:
928 * fontconfig/fontconfig.h:
942 Implement new mmaped cache for font information.
943 Bump so revision to 2.3.90.
945 2005-07-25 Keith Packard <keithp@keithp.com>
947 * doc/fontconfig-user.sgml:
948 * fc-glyphname/fc-glyphname.c: (scan), (main):
949 * fc-lang/fc-lang.c: (FcConfigHome):
950 * fc-match/fc-match.c: (main):
951 * src/fccfg.c: (FcConfigHome):
952 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
953 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
954 (addtag), (FcFontCapabilities):
955 * src/fcpat.c: (FcValueListEntCreate):
956 * src/fcstr.c: (FcStrCaseWalkerInit):
957 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
959 Various GCC 4 cleanups for signed vs unsigned char
961 Match only [0-9]*.conf files in <include>{directory}</include>
962 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
964 2005-07-15 Carl Worth <cworth@cworth.org>
967 * src/fcinit.c: (FcFini):
968 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
971 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
972 Pull the FcObjectStateName hash table out to file scope, and add
973 FcObjectStaticNameFini so that FcFini will cleanup this hash table
976 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
979 2005-06-16 Patrick Lam <plam@MIT.EDU>
983 * src/fccfg.c: (FcConfigCompareValue):
984 Make FcOpNotContains use FcStrStr for strings so that
985 it matches semantics for !FcOpContains.
987 2005-05-20 Keith Packard <keithp@keithp.com>
991 Move fontconfig source package to libs as per override
993 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
995 reviewed by: Mike Fabian
998 The ka.orth file requires several characters which are not
999 used anymore in modern Georgian and which are missing in the free
1000 Georgian TrueType fonts downloadable at:
1002 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1004 2005-04-27 Keith Packard <keithp@keithp.com>
1008 Update date to real 2.3.2 release date.
1009 Fix change attributions
1011 2005-04-27 Keith Packard <keithp@keithp.com>
1014 Bump so revision for 2.3.2
1015 * fc-cache/fc-cache.c: (scanDirs):
1016 Fix a few minor leaks in error cases.
1018 2005-04-23 Keith Packard <keithp@keithp.com>
1023 * fontconfig/fontconfig.h:
1024 Update for version 2.3.2
1026 2005-04-21 Keith Packard <keithp@keithp.com>
1028 * debian/fontconfig.postinst:
1029 Don't force bitmap font enable in default
1030 configuration; allows users to override this in
1040 * debian/po/pt_BR.po:
1041 * debian/po/templates.pot:
1043 * debian/po/zh_CN.po:
1044 Updated translations
1046 * fc-cache/fc-cache.c: (main):
1047 Destroy font configuration on exit to help valgrind
1050 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1051 (FcFreeTypeCheckGlyph):
1052 Use own transcoding routines in preference to iconv
1053 which appears to have leaks in some translators.
1054 Call iconv_close after using iconv (oops).
1056 Prefer unicode encoding of Euro char as some
1057 fonts mis-encode Euro in other ones.
1059 Must fetch bitmap glyphs to get width values
1060 to check for monospace/dual-width fonts.
1062 2005-04-13 Ross Burton <ross@burtonini.com>
1065 Check that a pattern isn't already frozen in FcPatternFreeze.
1067 2005-03-31 Ross Burton <ross@burtonini.com>
1072 Run all FcPattern objects through FcObjectStaticName, so that
1073 compares can be done on pointers instead of strings (#2659)
1075 2005-03-17 Tor Lillqvist <tml@novell.com>
1077 * src/fontconfig.def.in: Add the .dll to the dll name.
1079 2005-03-10 Keith Packard <keithp@keithp.com>
1081 * debian/README.Debian:
1082 Update to reflect configuration changes
1084 * debian/fontconfig.postinst:
1085 Fix Autohint vs Autohinter mistake
1086 * debian/fontconfig.templates:
1087 Adopt changes from Josselin Mouette for configuration descriptions
1088 Update debian to version 2.3.1-2
1090 2005-03-08 Keith Packard <keithp@keithp.com>
1094 Update debian for 2.3.1
1096 2005-03-09 Tor Lillqvist <tml@novell.com>
1098 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1101 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1104 2005-03-08 Keith Packard <keithp@keithp.com>
1108 * fontconfig/fontconfig.h:
1111 2005-03-05 Keith Packard <keithp@keithp.com>
1113 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1114 Include space and remove numbers from valid script tags.
1115 This ensures that tags like 'lao ' work while rejecting
1116 those which have any digits.
1117 Eliminate a spurious debugging variable (len)
1119 2005-03-05 Keith Packard <keithp@keithp.com>
1121 * src/fcfreetype.c: (addtag), (GetScriptTags),
1122 (FcFontCapabilities):
1123 Rework GSUB/GPOS script parsing to survive broken fonts.
1124 Thanks for the broken font go to Manish Singh
1126 2005-03-05 Keith Packard <keithp@keithp.com>
1131 * debian/fontconfig.config:
1132 * debian/fontconfig.templates:
1134 Include 2.3 release information in changelog
1135 Add Josselin Mouette as an Uploader
1136 Set hinting_type to low priority configuration option
1139 * debian/fontconfig.postinst:
1140 yes_bitmaps.conf -> yes-bitmaps.conf
1146 2005-03-02 Keith Packard <keithp@keithp.com>
1149 * conf.d/Makefile.am:
1150 * conf.d/autohint.conf:
1151 * conf.d/no-sub-pixel.conf:
1152 * conf.d/sub-pixel.conf:
1153 * conf.d/unhinted.conf:
1154 * debian/autohint.conf:
1155 * debian/fontconfig.install:
1156 * debian/fontconfig.postinst:
1157 * debian/fontconfig.templates:
1158 * debian/no-sub-pixel.conf:
1159 * debian/unhinted.conf:
1160 Move debian-specific conf file examples upstream.
1162 Sub-pixel configuration examples must smash subpixel value
1163 as Xft always sets it from X.
1165 Change sub-pixel rendering debconf descriptions from
1166 Enable/Disable to Always/Never.
1168 2005-03-02 Keith Packard <keithp@keithp.com>
1171 * conf.d/.cvsignore:
1173 Ignore more build detritus
1176 Add debian package construction stuff.
1178 * config/config.guess:
1179 * config/config.sub:
1180 Update to newer versions of these tools
1183 Get library manuals to build again (we love automake).
1185 * debian/README.Debian:
1186 * debian/autohint.conf:
1191 * debian/fontconfig-udeb.install:
1192 * debian/fontconfig.config:
1193 * debian/fontconfig.defoma:
1194 * debian/fontconfig.dirs:
1195 * debian/fontconfig.install:
1196 * debian/fontconfig.postinst:
1197 * debian/fontconfig.postrm:
1198 * debian/fontconfig.templates:
1199 * debian/libfontconfig1-dev.install:
1200 * debian/libfontconfig1.install:
1201 * debian/local.conf.md5sum:
1202 * debian/no-sub-pixel.conf:
1203 * debian/po/POTFILES.in:
1212 * debian/po/pt_BR.po:
1213 * debian/po/templates.pot:
1215 * debian/po/zh_CN.po:
1217 * debian/unhinted.conf:
1218 Update debian build system to switch maintainers and
1219 deal with 2.3 functionality
1221 2005-03-01 Keith Packard <keithp@keithp.com>
1225 * fontconfig/fontconfig.h:
1228 2005-03-01 Keith Packard <keithp@keithp.com>
1231 Generate and install PDF versions of the manuals
1233 * doc/fcpattern.fncs:
1236 * doc/fcstring.fncs:
1237 Add missing exported functions, fix data types
1239 * doc/fontconfig-devel.sgml:
1240 Add missing pattern elements.
1242 * doc/fontconfig-user.sgml:
1243 Add missing pattern elements. Document conf.d usage,
1244 clarify available orthography list. Fix some config file
1245 attributes. Complete list of constants.
1247 * fontconfig/fontconfig.h:
1248 Mark FC_SOURCE deprecated.
1250 * src/fcfreetype.c: (FcFreeTypeQuery):
1251 Don't set FC_SOURCE any longer.
1253 2005-02-28 Keith Packard <keithp@keithp.com>
1256 * conf.d/Makefile.am:
1258 * conf.d/no-bitmaps.conf:
1259 * conf.d/sub-pixel.conf:
1260 * conf.d/yes-bitmaps.conf:
1262 Create prototype /etc/fonts/conf.d directory with a few
1263 sample configuration files.
1264 Deprecate use of local.conf for local customizations in favor of
1265 this directory based scheme which is more easily integrated into
1266 installation systems.
1269 Tag FC_EMBOLDEN as a boolean variable
1271 2005-02-10 Keith Packard <keithp@keithp.com>
1273 reviewed by: pborelli@katamail.com
1275 * src/fcdir.c: (FcFileScanConfig):
1276 Free patterns from fonts which are rejected by configuration
1279 2005-01-28 Keith Packard <keithp@keithp.com>
1283 * fontconfig/fontconfig.h:
1284 Update for version 2.2.99
1286 2005-01-28 Keith Packard <keithp@keithp.com>
1289 Add a few pointers (#2284, #2285)
1291 2005-01-28 Keith Packard <keithp@keithp.com>
1294 * src/fcname.c: (FcNameBool):
1295 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1296 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1297 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1298 Polite typechecking for test and edit expressions. Helps
1299 catch errors in the font configuration. (bug 229)
1301 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1303 reviewed by: Keith Packard <keithp@keithp.com>
1306 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1308 2005-01-13 Keith Packard <keithp@keithp.com>
1310 * doc/fontconfig-user.sgml:
1311 Add SEE ALSO section (bug 2085)
1313 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1315 reviewed by: Keith Packard <keithp@keithp.com>
1320 * fc-case/Makefile.am:
1321 * fc-glyphname/Makefile.am:
1322 * fc-lang/Makefile.am:
1323 * src/fontconfig.def.in:
1324 Cross compiling fixes (bug 280)
1326 2005-01-13 Keith Packard <keithp@keithp.com>
1329 Update blanks list (Closes bug 86)
1331 2005-01-04 Keith Packard <keithp@keithp.com>
1333 * src/fccache.c: (FcCacheFontSetAdd):
1334 Verify that every font pattern loaded from cache has
1335 both FC_FILE and FC_FAMILY entries.
1336 Attempt to fix bug #2219.
1338 2004-12-29 Keith Packard <keithp@keithp.com>
1342 * fontconfig/fontconfig.h:
1343 Update for version 2.2.98
1345 2004-12-29 Keith Packard <keithp@keithp.com>
1347 * fontconfig/fontconfig.h:
1348 Document ASCII limitations of Fc character conversion macros
1349 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1350 Fix off-by-one error in utf-8 case walking code.
1351 Add FcStrDowncase (useful for testing case conversion functions)
1353 2004-12-29 Keith Packard <keithp@keithp.com>
1356 * fc-case/.cvsignore:
1357 clean up CVS ignore lists
1358 * fc-lang/iso-3166.txt:
1359 Add territory database
1361 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1363 Reviewed by: Keith Packard
1366 Remove Han characters from Korean orthography
1368 2004-12-29 Keith Packard <keithp@keithp.com>
1371 Reorder utility programs to make sure fc-case is run before fc-lang
1372 as fc-lang uses fcstr.c which uses fccase.h
1376 2004-12-29 Keith Packard <keithp@keithp.com>
1379 Adopt some RedHat suggestions for standard font configuration.
1383 * fc-case/CaseFolding.txt:
1384 * fc-case/Makefile.am:
1385 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1386 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1387 (dump), (parseRaw), (caseFoldReadRaw), (main):
1388 * fc-case/fccase.tmpl.h:
1389 Add new helper program 'fc-case' to construct case folding
1390 tables from standard Unicode CaseFolding.txt file
1393 * src/fclist.c: (FcListValueHash):
1394 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1395 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1396 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1397 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1398 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1399 Re-implement case insensitive functions with Unicode
1400 aware versions (including full case folding mappings)
1402 2004-12-13 Keith Packard <keithp@keithp.com>
1404 reviewed by: Owen Taylor <otaylor@redhat.com>
1406 * src/fcmatch.c: (FcFontSetSort):
1407 I changed FcFontSetSort to respect the generic aliases better
1408 in the face of language matching.
1410 What I did was to ammend the strict sort order used by FcFontSort so
1411 that it 'satisfies' the language specified in the pattern by locating
1412 the best matching font supporting each pattern language and then
1413 ignores language in the remaining fonts for purposes of matching.
1415 So, when asking for 'sans:lang=en', you'll get an English font first,
1416 and then the remaining fonts sorted with respect to the 'sans' alias
1417 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1419 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1421 reviewed by: Keith Packard <keithp@keithp.com>
1423 * fontconfig/fontconfig.h:
1426 Configuration changes to request synthetic emboldening of
1427 fonts. The actual emboldening code will live in Xft.
1429 2004-12-09 John Thacker <thacker@math.cornell.edu>
1431 reviewed by: Keith Packard <keithp@keithp.com>
1435 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1436 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1437 и), and don't even appear in KOI8-R. (The hypothesis that they
1438 don't appear in KOI8-R due to their similarity with Latin I and i is
1439 eliminated by their presence in KOI8-U.) I have a couple of fonts
1440 with Russian support that don't have the letter.
1442 Therefore, 0406 and 0456 should be removed from or commented out of
1445 2004-12-06 michael meeks <mmeeks@novell.com>
1447 Reviewed by: Keith Packard <keithp@keithp.com>
1449 * src/fcinit.c: (FcMemReport):
1451 * src/fclist.c: (FcObjectSetAdd):
1452 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1453 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1454 * src/fcxml.c: (FcParsePatelt):
1455 memoize strings and share a single copy for all uses. Note that
1456 this could be improved further by using statically allocated blocks
1457 and gluing multiple strings together, but I'm basically lazy.
1458 In my environment with 800 font files, I get a savings of about 90KB.
1460 2004-12-06 Keith Packard <keithp@keithp.com>
1464 * config/Makedefs.in:
1467 * doc/fcatomic.fncs:
1468 * doc/fcblanks.fncs:
1469 * doc/fccharset.fncs:
1470 * doc/fcconfig.fncs:
1471 * doc/fcconstant.fncs:
1473 * doc/fcfontset.fncs:
1474 * doc/fcfreetype.fncs:
1476 * doc/fcmatrix.fncs:
1477 * doc/fcobjectset.fncs:
1478 * doc/fcobjecttype.fncs:
1479 * doc/fcpattern.fncs:
1480 * doc/fcstring.fncs:
1481 * doc/fcstrset.fncs:
1483 * doc/fontconfig-devel.sgml:
1484 * doc/fontconfig-user.sgml:
1486 * doc/version.sgml.in:
1487 * fc-cache/Makefile.am:
1488 * fc-cache/fc-cache.c:
1489 * fc-glyphname/Makefile.am:
1490 * fc-glyphname/fc-glyphname.c:
1491 * fc-glyphname/fcglyphname.tmpl.h:
1492 * fc-lang/Makefile.am:
1502 * fc-lang/az_ir.orth:
1536 * fc-lang/fc-lang.c:
1537 * fc-lang/fc-lang.man:
1538 * fc-lang/fclang.tmpl.h:
1583 * fc-lang/ku_ir.orth:
1616 * fc-lang/ps_af.orth:
1617 * fc-lang/ps_pk.orth:
1646 * fc-lang/ti_er.orth:
1647 * fc-lang/ti_et.orth:
1673 * fc-lang/zh_cn.orth:
1674 * fc-lang/zh_hk.orth:
1675 * fc-lang/zh_mo.orth:
1676 * fc-lang/zh_sg.orth:
1677 * fc-lang/zh_tw.orth:
1679 * fc-list/Makefile.am:
1680 * fc-list/fc-list.c:
1681 * fc-match/Makefile.am:
1682 * fc-match/fc-match.1:
1683 * fc-match/fc-match.c:
1684 * fontconfig/fcfreetype.h:
1685 * fontconfig/fcprivate.h:
1686 * fontconfig/fontconfig.h:
1707 Change files from ISO-Latin-1 to UTF-8
1709 2004-12-04 Keith Packard <keithp@keithp.com>
1712 Update links to new freedesktop.org locations
1714 Add uninstall-local to get rid of fonts.conf and local.conf if they
1715 match the distributed versions. Fixes 'make distcheck'
1717 2004-12-04 Keith Packard <keithp@keithp.com>
1721 * fontconfig/fontconfig.h:
1722 Updates for version 2.2.97
1724 2004-12-04 Owen Taylor <otaylor@redhat.com>
1726 reviewed by: Keith Packard <keithp@keithp.com>
1728 * fc-cache/fc-cache.c: (main):
1729 Sleep for two seconds before exiting to make sure timestamps
1730 for future changes have distinct mod times in the file system.
1733 Add Punjabi orthography. Bug #1671.
1735 2004-12-04 Keith Packard <keithp@keithp.com>
1738 Just remove the FC_FONTDATE -- it has locale issues and
1739 annoys redhat multi-arch installs. Now that all X fonts are
1740 included without prejudice, the chances of the date being at
1741 all interesting are rather limited. Bug #505.
1743 Add copyright and license
1745 2004-12-04 Keith Packard <keithp@keithp.com>
1748 Change default set of fonts to include all of
1749 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1750 * doc/fontconfig-user.sgml:
1751 Document new <include>directory-name</include> semantics
1753 add <include ignore_missing="yes">conf.d</include>
1755 Add selectfont to ignore bitmap fonts, add comment for
1756 selectfont which accepts bitmap fonts.
1759 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1760 Allow <include> configuration elements to reference directories.
1761 Parse and load all files of the form [0-9]* in sorted order.
1763 2004-12-04 Keith Packard <keithp@keithp.com>
1766 Report command line for $srcdir/configure accurately.
1769 2004-12-04 Keith Packard <keithp@keithp.com>
1771 * src/fcfreetype.c: (FcFreeTypeQuery):
1772 Check for non-empty face->family_name and face->style_name
1773 before using those for the font. Empty names match everything.
1776 2004-12-04 Keith Packard <keithp@keithp.com>
1779 * fontconfig/fontconfig.h:
1780 * src/fcfreetype.c: (FcFreeTypeQuery):
1782 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1783 available. This provides font file format information (BDF, Type 1,
1784 PCF, TrueType) for each font. Closes #109.
1786 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1788 reviewed by: Keith Packard <keithp@keithp.com>
1790 * doc/fontconfig-user.sgml:
1793 * fontconfig/fontconfig.h:
1794 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1795 (GetScriptTags), (FcFontCapabilities):
1797 Add detection for font capabilities (bug #105)
1799 2004-12-04 Keith Packard <keithp@keithp.com>
1802 Move existing fonts.conf to fonts.conf.bak
1805 Add detection of iconv
1807 * doc/fcpattern.fncs:
1808 * doc/fontconfig-devel.sgml:
1809 * doc/fontconfig-user.sgml:
1811 Document new selectfont elements
1814 Switch to UTF-8 in comment
1816 * fontconfig/fontconfig.h:
1818 Add fullname, and family/style/fullname language entries
1820 * src/fccache.c: (FcCacheFontSetAdd):
1821 * src/fcdir.c: (FcFileScanConfig):
1822 Respect selectfont/*/glob
1825 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1826 (FcConfigCompareValue), (FcConfigPatternsAdd),
1827 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1828 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1829 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1830 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1831 Add support for selectfont
1833 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1834 (FcStringInPatternElement), (FcFreeTypeQuery):
1835 Add multi-lingual family/style/fullname support
1837 * src/fclist.c: (FcListPatternMatchAny):
1838 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1840 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1841 (FcObjectStaticName):
1842 Add new FcPatternRemove/FcPatternAppend.
1843 FcObjectStaticName stores computed pattern element names which
1844 are required to be static.
1846 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1851 Remove spurious / after $(DESTDIR)
1853 2004-06-30 Keith Packard <keithp@keithp.com>
1857 * fontconfig/fontconfig.h:
1860 2004-06-30 Keith Packard <keithp@keithp.com>
1862 Provided by: Lubos Lunak <l.lunak@suse.cz>
1864 * src/fccfg.c: (FcConfigUptoDate):
1865 However FcConfigUptoDate() doesn't seem to work. See the attached
1866 patch. First there's an obvious misplaced parenthesis making it
1867 return always false, and second, even this call fails to detect font
1868 changes (e.g. adding a new font to
1869 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1870 well. The problem seems to be triggered by my fonts.conf specifying
1871 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1872 doesn't include subdirs, unlike config->fontDirs.
1874 2004-06-03 Keith Packard <keithp@keithp.com>
1876 * fontconfig/fontconfig.h:
1877 Remove comma at end of FcResult enum definition.
1879 2004-05-29 Keith Packard <keithp@keithp.com>
1882 Add steps to md5sum release
1884 2004-05-29 Keith Packard <keithp@keithp.com>
1888 * fontconfig/fontconfig.h:
1891 2004-05-29 Keith Packard <keithp@keithp.com>
1893 * fontconfig/fontconfig.h:
1894 * src/fcmatch.c: (FcFontSetMatch):
1895 Add FcResultOutOfMemory to provide an accurate error when
1896 FcFontSetMatch fails in this way
1899 Make #warning about lacking various FreeType features indicate
1900 which version those features appeared so users know how to
1901 fix the problem (Thanks to Anton Tropashko)
1903 2004-05-05 Keith Packard <keithp@keithp.com>
1905 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1906 Replace MIN/MAX/ABS macros which happen to have come
1907 from FreeType with fontconfig-specific ones (FC_*)
1909 2004-04-23 Keith Packard <keithp@keithp.com>
1912 Extend release preparation instructions to include
1913 notification and distribution steps
1915 2004-04-23 Keith Packard <keithp@keithp.com>
1919 * fontconfig/fontconfig.h:
1920 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1922 2004-04-23 Keith Packard <keithp@keithp.com>
1925 Ignore a few more autotool files
1927 2004-04-14 Keith Packard <keithp@keithp.com>
1930 Add instructions for doing a release
1932 * fontconfig.spec.in:
1933 clean up .spec file; perhaps this will be useful to somebody...
1937 * fontconfig/fontconfig.h:
1940 * fc-lang/fc-lang.c:
1941 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1943 * fc-glyphname/Makefile.am:
1944 * fc-lang/Makefile.am:
1945 * fc-list/Makefile.am:
1946 * fc-match/Makefile.am:
1948 Add WARN_CFLAGS to pass -W flags for GCC systems
1950 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1951 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1952 Change various char types around to match across
1954 Fixed bug in using available_sizes[i].height which
1955 is in pixels, not 64ths of a pixel.
1957 2004-03-06 Keith Packard <keithp@keithp.com>
1959 * src/fcfreetype.c: (FcFreeTypeQuery):
1960 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1961 matches looking for explicit values prefer exact matches
1963 2004-03-02 Keith Packard <keithp@keithp.com>
1965 Supplied by: mfabian@suse.de (Mike FABIAN)
1967 * src/fcfreetype.c: (FcFreeTypeQuery):
1968 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1969 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1971 2004-02-21 Manish Singh <yosh@gimp.org>
1973 * fc-glyphname/fc-glyphname.c: (main):
1974 Cast strlen to int for printf, so we're 64-bit clean.
1976 2004-02-11 Keith Packard <keithp@keithp.com>
1979 * src/fcfreetype.c: (FcGetPixelSize):
1980 Ok, so I messed up the test for y_ppem. Let's see if I
1981 got it right this time.
1983 2004-02-10 Keith Packard <keithp@keithp.com>
1986 * src/fcfreetype.c: (FcGetPixelSize):
1987 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1988 FT_Bitmap_Size record. Add a configure.in test for this
1989 and change the code accordingly (using height instead).
1991 2004-02-06 Keith Packard <keithp@keithp.com>
1994 Add Low Saxon orthography
1995 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1997 * src/fccfg.c: (FcConfigNewestFile):
1998 Oops. Left 'newest.set' unset, which would miscompute
2001 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2002 (FcFreeTypeCheckGlyph):
2003 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2004 font properties (which report the wrong value in current FreeType)
2006 Don't attempt to check for empty glyphs in non-scalable fonts; they
2009 2004-02-01 Tor Lillqvist <tml@iki.fi>
2011 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2012 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2013 cache if config->cache is NULL, which happens if FcConfigHome() is
2014 NULL. Guard against that by using the temp folder in that case.
2016 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2018 * fc-lang/az_ir.orth:
2019 * fc-lang/ku_ir.orth:
2020 * fc-lang/ps_af.orth:
2021 * fc-lang/ps_pk.orth:
2022 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2023 (Afghan and Pakistani).
2025 Updated Urdu orthography with real data.
2027 2003-12-11 Carl Worth <cworth@east.isi.edu>
2029 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2032 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2034 (all-local): Remove excessive whitespace.
2036 * autogen.sh: Add 'set -e' to abort when any program fails,
2037 (avoids printing of 'now type make' after configure aborts).
2039 2003-11-17 Eric Christopherson <rakko@charter.net>
2041 reviewed by: Keith Packard <keithp@keithp.com>
2044 * fontconfig/fcfreetype.h:
2046 Switch to FreeType 2.1.7 style includes. Bug #150.
2048 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2050 * fc-list/fc-list.sgml: Add some example usages.
2052 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2055 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2058 2003-10-27 Keith Packard <keith@keithp.com>
2061 * fontconfig/fontconfig.h:
2062 Update to version 2.2.92
2064 2003-10-27 Keith Packard <keithp@keithp.com>
2069 * fc-cache/Makefile.am:
2070 * fc-glyphname/Makefile.am:
2071 * fc-lang/Makefile.am:
2072 * fc-list/Makefile.am:
2073 * fc-match/Makefile.am:
2076 Yet more cleanups to finish getting 'make distcheck' working
2077 This has been tested to ensure that it even works from a _build
2080 2003-10-26 Keith Packard <keithp@keithp.com>
2084 * fc-cache/Makefile.am:
2085 * fc-glyphname/Makefile.am:
2086 * fc-lang/Makefile.am:
2087 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2088 * fc-list/Makefile.am:
2089 * fc-match/Makefile.am:
2090 Attempts to fix 'make distcheck' work. Things are
2091 progressing pretty well, but there are still failures
2092 long into the process dealing with docs (as always).
2094 The big changes here are mostly to make $(srcdir) != "."
2095 work correctly, fixing the docbook related sections and
2096 fc-lang were particularily tricky. Docbook refuses to load
2097 system entities from anywhere other than where the original .sgml
2098 file was located, so no luck looking in "." for the
2099 configure-generated version.sgml and confdir.sgml files.
2101 fc-lang needed help finding .orth files; added a -d option
2102 to set the directory as the least evil of many options.
2104 Now to go use a faster machine and try and wring out the last
2107 2003-10-26 Keith Packard <keithp@keithp.com>
2111 2003-10-26 Keith Packard <keithp@keithp.com>
2114 Include confdir.sgml.in in EXTRA_DIST
2116 2003-10-09 Josselin Mouette <joss@debian.org>
2118 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2119 * fc-list/fc-list.sgml fc-list/Makefile.am:
2120 Replace fc-cache and fc-list manpages with more detailed, SGML
2123 2003-09-23 Owen Taylor <otaylor@redhat.com>
2125 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2126 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2127 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2130 2003-09-23 Owen Taylor <otaylor@redhat.com>
2132 * fc-lang/ka.orth: Remove Georgian capitals, they
2133 aren't used for normal writing. (Bug #116)
2135 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2137 * doc/fontconfig-devel.sgml:
2138 * doc/fontconfig-user.sgml:
2139 * fontconfig/fontconfig.h:
2141 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2142 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2144 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2145 monospace and dual-width fonts, allow roughly a 3% variance in the
2148 2003-08-31 Manish Singh <yosh@gimp.org>
2150 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2153 2003-08-15 Carl Worth <cworth@isi.edu>
2155 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2156 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2158 * src/fcpat.c (FcValueListEntDestroy): New function to support
2159 FcFini memory cleanup. Some statistics are not kept in
2161 (FcValueListFreeze): Move hashTable outside this function so it
2162 can be accessed by FcValueListThawAll.
2163 (FcValueListThawAll): New function complements FcValueListFreeze.
2164 (FcPatternBaseFreeze): Move hashTable outside this function so it
2165 can be accessed by FcPatternBaseThawAll.
2166 (FcPatternBaseThawAll): New function complements
2167 FcPatternBaseFreeze.
2168 (FcPatternThawAll): New function complements FcPatternFreeze.
2170 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2172 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2173 allocated FcCharLeafEnt "blocks" so they can be freed later.
2174 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2175 can be accessed by FcCharSetThawAllLeaf.
2176 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2177 (FcCharSetFreezeBase): Move hashTable outside this function so it
2178 can be accessed by FcCharSetThawAll.
2179 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2181 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2182 (FcConfigDestroy): Fic leak of FcBlanks.
2184 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2185 (main): Add call to FcFini when finished.
2187 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2188 static. Add prototypes.
2190 * doc/fcinit.fncs: Add documentation for FcFini function.
2192 * doc/edit-sgml.c: Mark several local functions as static. Add
2195 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2197 2003-06-15 Tor Lillqvist <tml@iki.fi>
2199 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2200 before comparing (needed on Windows).
2202 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2204 2003-06-13 Tor Lillqvist <tml@iki.fi>
2206 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2209 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2210 WINDOWSFONTDIR token.
2212 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2213 end, not to confuse libtool, which expects the EXPORTS line to be
2214 the first. Add FcConfigEnableHome.
2216 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2217 built as a DLL on Win32.
2219 2003-06-09 Keith Packard <keithp@keithp.com>
2221 * Tag version 2.2.90
2223 2003-06-09 Keith Packard <keithp@keithp.com>
2225 * Optimization in FcLangSetIndex was broken, occasionally
2226 returning a pointer to the wrong location on miss
2228 * Add fc-match to test font matching from the command line.
2230 2003-05-31 Keith Packard <keithp@keithp.com>
2232 * (Bug 85) add support for culmus fonts
2233 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2234 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2236 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2238 * Fix "contains" op for strings and langsets.
2240 2003-05-17 Keith Packard <keithp@keithp.com>
2242 * Fix build error with BDF prop local. Free langset after query
2244 2003-05-14 Keith Packard <keithp@keithp.com>
2246 * Extract spacing from XLFD atom
2248 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2250 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2251 disappeared in 1.30.
2253 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2255 2003-05-12 Keith Packard <keithp@keithp.com>
2257 * Use FcIsWidth to share code
2259 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2260 misclassifying some Han fonts as monospaced.
2262 2003-05-07 Keith Packard <keithp@keithp.com>
2264 * Add filename-based accept/reject to ammend available fonts.
2266 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2267 older FreeType releases.
2269 2003-05-06 Keith Packard <keithp@keithp.com>
2271 * Remove 0b82 and Tamil numbers from tamil
2272 orthography (Jungshik Shin <jshin@mailaps.org>)
2274 2003-05-04 Keith Packard <keithp@keithp.com>
2276 + Map glyph names in fonts with adobe custom encoding to unicode
2278 2003-05-02 Keith Packard <keithp@keithp.com>
2280 * Add FC_WEIGHT_BOOK as weight 75
2282 2003-04-30 Keith Packard <keithp@keithp.com>
2284 * Typo in bitstream foundry name
2286 2003-04-24 Keith Packard <keithp@keithp.com>
2288 * Eliminate italic_angle check for PS fonts
2290 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2292 * Getting closer to fixing /etc/fonts hard-coding.
2294 2003-04-22 Keith Packard <keithp@keithp.com>
2296 * Update autogen.sh to work with newer automake versions
2297 * Handle pattern elements moving during multiple edits
2299 2003-04-23 James Henstridge <james@daa.com.au>
2301 * doc/fontconfig-devel.sgml: close the <para> element.
2303 * doc/fcpattern.fncs: close the <para> element.
2305 * doc/func.sgml: close the <refsynopsisdiv> element.
2307 2003-04-22 Keith Packard <keithp@keithp.com
2309 * Update autogen.sh to work with newer automake versions
2310 * Handle pattern elements moving during multiple edits
2312 2003-04-17 Colin Walters <walters@debian.org>
2314 + Remove some unused variables, and initialize some other ones so
2315 gcc doesn't warn us.
2317 2003-04-16 Keith Packard <keithp@keithp.com>
2319 + tag version 2.1.94
2321 2003-04-16 Keith Packard <keithp@keithp.com>
2323 + add BDF property fetching support for foundry
2324 (from Juliusz Chroboczek)
2325 + add BDF property fetching support for width
2327 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2329 + Implemented foundry generation for Type 1 and TrueType
2331 2003-04-11 Gerard Escalante <g2@magestudios.net>
2333 + Retrieve information from Type1 FontInfo dictionaries
2335 2003-04-07 Colin Walters <walters@verbum.org>
2337 + src/Makefile.am: Fix dummy makefile target names when
2338 MS_LIB_AVAILABLE isn't set.
2340 2003-03-22 Tor Lillqvist <tml@iki.fi>
2342 Changes for Windows:
2344 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2346 + We don't want to hardcode the fonts.conf file location in the
2347 DLL, so we look up the DLL location at run-time in a DllMain()
2348 function. The fonts.conf location is deduced from that.
2350 + The colon can't be used as path separator on Windows,
2351 semicolon is used instead. File path components can be separated
2352 with either slash or backslash. Absolute paths can also begin
2353 with a drive letter.
2355 + Add internal function FcStrLastSlash that strrchr's the last
2356 slash, or backslash on Windows.
2358 + There is no link() on Windows. For atomicity checks, mkdir a
2359 lock directory instead.
2361 + In addition to HOME, also look for USERPROFILE.
2363 + Recognize the special font directory token WINDOWSFONTDIR, to
2364 use the system's font directory.
2366 + Remove the fontconfig-def.cpp that was obsolete. Add
2367 fontconfig.def(.in), without internal functions.
2369 + Add a fontconfig-zip(.in) script, used to build a binary
2372 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2373 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2374 to main package and man3/* to devel package
2376 + Added missing defattr(-, root, root) to main RPM package
2378 + Added HTML and text development documentation to -devel subpackage
2380 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2381 + Added back the configure macro options --disable-docs, otherwise
2382 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2383 version number) unconditionally, causing RPM to fail the build due
2384 to _unpackaged_files_terminate_build. We pick up the pregenerated
2385 docs with %doc already.
2387 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2388 + Removed commented out rpm macro define at top of spec file,
2389 replacing it with a simple explanation, since rpm macros are
2390 expanded by rpm even in comments.
2392 + Changed /usr/bin to _bindir in BuildRequires lines
2394 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2396 + Reorganized file manifest lists
2398 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2400 + fontconfig.spec.in: Improvements from Red Hat spec file.
2402 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2404 + docs/*.sgml: SGML fixes.
2406 Sat Mar 1 17:28:53 PST 2003 keithp
2407 + Ok, so the ChangeLog is a bit out of date
2409 + Lots of bugs fixed; most are in bugzilla, the
2410 biggest problems were in cache management where
2411 Owen discovered the library would lose badly when
2412 combining fonts-cache and ~/.fonts-cache data
2414 + Converted from autoconf to automake. This after
2415 getting patches accepted into libtool to allow
2416 the '-version-number' argument which lets
2417 packages set version numbers explicitly rather
2418 than the roundabout libtool way
2420 + Converted documentation to SGML using the docbook
2421 DTD. Now .txt and .html documents are installed
2422 in /usr/share/doc/fontconfig and there's no
2423 man page. Perhaps a man version can be written
2426 Sat Aug 31 15:21:22 PDT 2002 keithp
2427 + Xrender and Xft had several bugs related to
2428 rendering manually placed or poly-face text
2430 + Added more complete memory tracing in fontconfig
2431 Checked with (patched) mozilla and found no leaks
2433 + Updated Latin orthographies by comparing those from
2434 evertype.com with those from eki.ee. Tried to make
2435 sensible choices, including chars that occured in both
2436 and leaving some optional chars out that occured only
2439 Mon Aug 26 16:33:04 PDT 2002 keithp
2440 + Owen discovered that FcLangSetHasLang wasn't actually
2441 checking the language set.
2443 Mon Aug 26 13:37:23 PDT 2002 keithp
2444 + Append a version number to cache filenames
2446 Thu Aug 22 11:36:18 PDT 2002 keithp
2448 + Add "contains" and "not_contains" operators and elements to
2451 + Changed semantics of eq operator for LangSets to check for
2452 FcLangEqual so that any match will do
2454 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2455 of FcValueEqual to check for identical values when inserting into
2456 the results. This broke when the above semantic change was made,
2457 now it uses FcValueEqual which is "more correct" in any case.
2459 Thu Aug 22 00:32:29 PDT 2002 keithp
2461 + Reimplement FC_LANG as new datatype. Lists of strings
2462 was consuming over a megabyte of memory for 401 fonts.
2464 + Freeze patterns loaded from cache files. This shares
2465 common value lists and common patterns which saves
2466 considerable memory.
2468 + Change the denotation of 'constant' charsets to use special
2469 ref value instead of separate boolean.
2471 + Clean up leak tracing stuff, found several unannoted alloc/free
2474 Tue Aug 20 16:17:37 PDT 2002 keithp
2476 + Fix memory leak when parsing matrices from XML
2478 Mon Aug 19 11:57:27 PDT 2002 keithp
2480 + Fix autoconf files to pass FONTCONFIG_PATH on
2481 compile line so that ${prefix} gets substituted
2484 + Use getc_unlocked/putc_unlocked on systems that
2485 provide them to avoid damage done to stdio by posix
2487 + Eliminate FC_PATTERN and FcTypePattern in favor of
2488 an extended api for FcConfigSubstitute which takes
2489 both the font and the pattern.
2491 + Add 'sans serif' alias for 'sans-serif' as some apps
2492 can't handle hyphens in family names
2494 + Eliminate pretense of support for libxml2
2496 + Comment origins of Han orthographies
2498 Tue Jul 30 18:37:09 PDT 2002 keithp
2500 + Add binding property to edit element so that strong
2501 binding values may be inserted by the config file.
2502 The default remains weak.
2504 Sun 28 Jul 04:16:55 PDT 2002 keithp
2506 + Tagged release candidate 1 in the CVS tree and
2507 placed fcpackage.rc1.tar.gz for distribution
2509 Thu Aug 1 08:55:08 PDT 2002 keithp
2511 + Fixed autoconf builds to always specify install
2512 target files (for BSD). Also fixed to
2513 define FONTCONFIG_PATH in config.h so that
2514 nonstandard installs will actually work.