1 2006-01-26 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
3 * src/fccfg.c (FcConfigNormalizeFontDir):
5 Add a couple of missing normalizations to make fc-cache work
6 right; only scan subdirectories once.
8 2006-01-26 Mike Fabian <mfabian@suse.de>
11 * src/fcacache.c (FcGlobalCacheReadDir):
13 Don't crash on non-existant directories in global cache.
15 2006-01-26 Patirck Lam <plam@mit.edu>
16 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
17 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
18 * src/fcdir.c (FcDirScanConfig):
19 * src/fcxml.c (FcEndElement):
21 Stop trampling the directory name when writing out caches.
22 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
23 subdirs when necessary. Don't scan directories that can't be
26 2006-01-25 Patrick Lam <plam@mit.edu>
27 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
28 * src/fccfg.c (FcConfigEvaluate):
29 * src/fcfreetype.c (FcPatternAddWithBinding):
31 Fix additional memory leaks reported by Ronny V. Vindenes: don't
32 invoke FcValueSave on hashed static strings in
33 FcPatternAddWithBinding.
35 Add another st_dev check in FcDirCacheOpen.
37 2006-01-24 James Su <james.su@gmail.com>
40 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
43 Treat zh-hk fonts differently from zh-tw fonts. This patch may
44 cause fontconfig to treat A-X fonts differently from A-Y fonts;
45 please mail the fontconfig list if this causes any problems.
47 2006-01-24 Patrick Lam <plam@mit.edu>
48 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
49 * src/fcfreetype.c (FcFreeTypeQuery):
51 Fix memory leaks reported by Ronny V. Vindenes.
53 2006-01-19 Andreas Schwab <schwab@suse.de>
56 * src/fcpat.c (FcStrNeededBytes):
58 Fix for unaligned memory accesses.
60 2006-01-18 Mike Fabian <mfabian@suse.de>
63 * src/fcdir.c (FcDirScanConfig):
65 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
66 calls to avoid crashes.
68 2006-01-14 Patrick Lam <plam@mit.edu>
69 * src/fccache.c (FcDirCacheConsume):
71 Fix segfault when consuming zero-length caches in fc-cat
72 (which has no config, so FcConfigAddFontDir shouldn't be called.)
74 2006-01-14 Patrick Lam <plam@mit.edu>
75 * fc-cache/fc-cache.c (scanDirs):
76 * fontconfig/fontconfig.h:
77 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
78 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
79 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
80 * src/fcdir.c (FcDirScanConfig):
83 Compare device numbers as well as inodes.
84 Always normalize directory names before comparing them.
86 2006-01-11 Mike Fabian <mfabian@suse.de>
89 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
91 Allocate extra space for appended '/' in directory name.
93 2006-01-10 Patrick Lam <plam@mit.edu>
94 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
95 FcDirCacheValid, FcDirCacheHasCurrentArch,
96 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
97 * fc-cache/fc-cache.c (main):
99 Explicitly add font dirs to config.fontDirs even if they're empty.
100 Set current config in fc-cache.c.
101 Fix treatment of cache directory as read from cache file; don't
102 use string equality to determine if we have the right file,
105 2006-01-09 Patrick Lam <plam@mit.edu>
106 * fc-cache/fc-cache.c (scanDirs):
107 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
108 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
109 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
110 * src/fccfg.c (FcConfigNormalizeFontDir):
111 * src/fcdir.c (FcDirScanConfig):
114 Normalize font dirs by using the form, as given in fonts.conf, and
115 recorded in FcConfig's fontDirs string set, as canonical.
117 Actually update config.fontDirs as font directories are scanned.
119 2006-01-08 James Su <james.su@gmail.com>
120 * src/fcmatch.c (FcFontSetMatch):
122 Fix matching bug when multiple elements match; don't use
123 the sum of all scores, but the best score.
125 Also more perf opts, e.g. evaluate best over all font sets
126 rather than on a per-set basis (and other changes).
128 2006-01-08 Patrick Lam <plam@mit.edu>
129 * src/fccache.c (FcDirCacheConsume):
131 Properly skip past dir caches that contain zero fonts (as occurs
132 in global caches.) Reported by Mike Fabian.
134 2006-01-06 Patrick Lam <plam@mit.edu>
135 * src/fcdbg.c (FcPatternPrint):
137 Print out full pathname in fc-match -v as well. Reported by
140 2006-01-06 Mike Fabian <mfabian@suse.de>
143 * src/fcname.c (FcNameParse):
145 Fix bug where fc-match crashes when given __DUMMY__ property to
148 (I added the __DUMMY__ string to enable callers of
149 FcObjectToPtrLookup to distinguish an error return from a
150 successful return. -PL)
152 2006-01-05 Patrick Lam <plam@mit.edu>
155 Add self to AUTHORS list.
157 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
158 FcCacheFileRead, FcCachePrintSet, main):
159 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
160 FcGlobalCacheSave, FcCacheNextOffset,
161 FcDirCacheHasCurrentArch, FcDirCacheRead,
162 FcDirCacheConsume, FcDirCacheWrite):
164 * src/fcpat.c (comment):
166 Minor change to global cache file format to fix fc-cat bug
167 reported by Frederic Crozat, and buglet with not globally caching
168 directories with zero fonts cached.
170 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
173 * src/fccfg.c (FcConfigEvaluate):
175 Fix double-free which occurs because FcValueCanonicalize doesn't
176 create an extra copy of the returned value, it only canonicalizes
179 2006-01-02 Patrick Lam <plam@mit.edu>
180 * doc/fontconfig-user.sgml:
182 Fix version of .cache file (currently 1 -> currently 2). Reported
185 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
188 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
190 Shut up GCC warnings on amd.
192 2005-12-20 Patrick Lam <plam@mit.edu>
196 * fontconfig/fontconfig.h:
198 Bump version to 2.3.93.
200 2005-12-20 Patrick Lam <plam@mit.edu>
201 * src/fccharset.c (FcLangCharSetPopulate):
202 * src/fcint.h (FcCacheBankToIndex):
204 Avoid check on _fcBankId nullness and fix case where it used to
207 2005-12-20 Patrick Lam <plam@mit.edu>
208 * src/fcxml.c (FcConfigParseAndLoad):
210 Use open instead of fopen (requested by Phil Race for Sun).
212 2005-12-20 Patrick Lam <plam@mit.edu>
213 * src/fccache.c (FcDirCacheWrite);
214 * fc-cache/Makefile.am:
216 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
219 2005-12-20 Patrick Lam <plam@mit.edu>
220 * src/fcfreetype.c (FcFreeTypeQuery):
222 Restore code to skip over PCF fonts that have no encoded
224 (We guess that a font is PCF by presence of the PIXEL_SIZE
227 2005-12-12 Patrick Lam <plam@mit.edu>
228 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
230 Read and write the original location as a fallback for the
231 hashed cache file locations. This is mostly for users to be
232 able to have per-directory cache files.
234 2005-12-12 Patrick Lam <plam@mit.edu>
235 * fc-cache/fc-cache.c (scanDirs):
236 * fc-cache/Makefile.am:
237 * src/fccache.c (FcDirCacheHashName):
239 Improve error message when fc-cache can't write the cache. Add
240 missing slash. Reported by Behdad. Incorporate Behdad's patch to
241 create /var/cache/fontconfig when appropriate.
243 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
246 * src/fcxml.c (FcConfigGetAttribute):
248 Fix crash reported by Frederic Crozat when using libxml2.
250 2005-12-09 Patrick Lam <plam@mit.edu>
253 * fc-cache/Makefile.am:
254 * fc-cat/Makefile.am:
256 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
257 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
258 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
259 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
260 FcDirCacheHasCurrentArch, FcDirCacheHashName,
261 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
263 Migrate cache files from fonts directories to
264 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
265 but requires that all caches get rebuilt.
267 Also, autogen.sh now needs the additional parameter
268 --localstatedir=/var.
270 2005-12-07 Patrick Lam <plam@mit.edu>
271 * src/fcpat.c (FcPatternAddString):
273 Because we've changed FcPatternAddString to use FcStrStaticName
274 and not FcValueSave, explicitly handle the case of a null string.
276 2005-12-06 Patrick Lam <plam@mit.edu>
277 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
281 2005-12-05 Patrick Lam <plam@mit.edu>
282 * src/fcname.c (FcNameGetObjectType):
284 Don't assign types to user object names.
286 2005-12-05 Patrick Lam <plam@mit.edu>
287 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
289 Don't free strings that have been returned from FcStrStaticName.
291 2005-12-01 Patrick Lam <plam@mit.edu>
292 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
294 Add codepath for reading global cache files as well.
296 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
299 * conf.d/10-fonts.persian.conf:
300 * conf.d/Makefile.am:
302 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
304 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
307 * src/fcxml.c (FcConfigParseAndLoad):
309 Only add a config file to the set of config files once.
311 2005-11-29 Patrick Lam <plam@mit.edu>
312 * src/fcint.h (FcCacheBankToIndex);
314 Fix segfault by guarding array dereference.
316 2005-11-29 Dirk Mueller <dmueller@suse.de>
320 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
321 FcCacheBankToIndex, FcCacheBankToIndexMTF,
325 Refactor FcCacheBankToIndex into an inlineable part
326 (in fcint.h) which checks the front of the list and a
327 non-inlineable part which finds and moves the appropriate element
328 to the front of the list.
330 2005-11-29 Patrick Lam <plam@mit.edu>
331 * src/fccfg.c (FcConfigBuildFonts):
332 * src/fccache.c (FcCacheReadDirs):
334 Make the perf guys hate me a bit less: hoist the directory-name
335 FcConfigAcceptFont check for cached fonts up to directory cache
336 read time, rather than running it for each font.
338 2005-11-29 Patrick Lam <plam@mit.edu>
339 * src/fccfg.c (FcConfigBuildFonts):
341 * src/fcpat.c (FcPatternFindFullFname):
343 Don't make FcPatternFindFullFname available to fccfg, it's not
344 really safe. Instead go through FcPatternGetString (sorry,
345 perf guys.) Also, use globs for dirs as well.
347 2005-11-28 Patrick Lam <plam@mit.edu>
348 * src/fccfg.c (FcConfigBuildFonts):
352 2005-11-28 Patrick Lam <plam@mit.edu>
354 * src/fcpat.c (FcPatternFindFullFname):
355 * src/fccfg.c (FcConfigBuildFonts):
357 Fix problem dating back at least to 2.3.2 where globs weren't
358 being applied to patterns loaded from a cache.
360 2005-11-28 Patrick Lam <plam@mit.edu>
361 * doc/fontconfig-user.sgml:
363 Fix some obvious spelling mistakes.
365 2005-11-28 Dirk Mueller <dmueller@suse.com>
366 Stephan Kulow <coolo@suse.de>
369 * src/fcmatch.c (FcFontSetMatch):
371 Don't kill all fonts during match (oops!)
374 2005-11-25 Dirk Mueller <dmueller@suse.com>
375 Stephan Kulow <coolo@suse.de>
376 Michael Matz <matz@suse.de>
379 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
382 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
383 inline FcCompare into FcFontSetMatch and reorder the
384 loops, adding a boolean array which blocks patterns from future
385 consideration if they're known to not be best on some past
388 2005-11-26 Dirk Mueller <dmueller@suse.com>
391 * src/fcmatch.c (FcCompareValueList):
395 2005-11-25 Patrick Lam <plam@mit.edu>
396 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
398 Don't do random matching when bad objects are passed into
401 2005-11-25 Patrick Lam <plam@mit.edu>
403 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
404 FcPatternSerialize, FcPatternUnserialize,
405 FcValueListEnsureBank, FcValueListDistributeBytes,
406 FcValueListUnserialize):
408 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
409 _fcPatternElts, _fcValueLists for consistency.
411 2005-11-25 Dirk Mueller <dmueller@suse.com>
416 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
418 2005-11-25 Patrick Lam <plam@mit.edu>
420 * src/fccache.c (FcDirCacheConsume):
421 * src/fccharset.c (FcCharSetUnserialize):
422 * src/fcfs.c (FcFontSetUnserialize):
423 * src/fclang.c (FcLangSetUnserialize):
424 * src/fcname.c (FcObjectUnserialize):
425 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
426 FcPatternUnserialize):
428 Pass around FcCache *s to the Unserialize functions for extra
429 consistency (and less overhead, for what that's worth).
431 2005-11-24 Dirk Mueller <dmueller@suse.com>
435 * src/fcmatch.c (FcCompare*, FcFontSetSort):
436 * src/fcname.c (FcNameUnparseValue):
438 Inline the *PtrU functions to gain perf.
439 Remove unneeded params for the FcCompare* functions.
441 2005-11-24 Dirk Mueller <dmueller@suse.com>
444 * src/fcint.h, fontconfig/fontconfig.h:
446 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
448 * src/fcpat.c, src/fcint.h, src/fcname.c:
450 Check for type validity during FcPatternAddWithBinding, don't
451 verify type in FcFontMatch, don't call FcCanonicalize here
452 (which always does a deep copy).
454 2005-11-24 Dirk Mueller <dmueller@suse.com>
457 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
458 * src/fcpat.c (FcPatternAddWithBinding):
460 Make FcCompareString and FcCompareFamily less expensive.
461 Only add a value for FC_FAMILY if the proposed value is a string.
463 2005-11-24 Dirk Mueller <dmueller@suse.com>
466 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
467 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
468 * src/fcint.h (FcDebug):
470 Inline FcDebug invocations and only initialize once, in FcInit*.
471 Improve debug msg in FcPatternPrint.
473 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
476 * fontconfig/fontconfig.h:
479 Minor code warning cleanups.
481 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
484 * fc-match/fc-match.c (main):
486 Make getopt_long accept -s parameter to fc-match as well.
488 2005-11-21 Dirk Mueller <dmueller@suse.com>
491 * src/fcmatch.c (FcCompareValueList):
493 Manually perform inlining & partial redundancy elimination to
494 reduce calls to FcValueListPtrU.
496 2005-11-21 Dirk Mueller <dmueller@suse.com>
499 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
500 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
502 Only invoke strlen() when really necessary.
504 2005-11-19 Matthias Clasen <mclasen@redhat.com>
508 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
513 Get rid of the use of freetype internal headers in fcfreetype.c,
514 since those headers will go away with freetype 2.2. Replace with
515 public domain ftglue code from pango. Note that the patch removes
516 some extra error checking in FT_Get_BDF_Property() and comments
517 out the skipping of empty pcf fonts.
519 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
522 * fc-lang/fc-lang.c (main):
524 Further fix of patch from 2005-11-04: miscounted numbers count
525 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
526 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
528 Removed leafidx_count and numbers_count since they are the same
529 and replaced them with offset_count.
531 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
534 * fc-cat/fc-cat.c (main):
536 Don't crash when fc-cat invoked with no arguments.
538 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
541 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
543 Fix invalid read access caused by premature free and
544 GCC4 warnings in libxml2 codepath.
546 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
549 * src/fccfg.c (FcConfigValues):
551 List iteration not needed in FcConfigValues, since it's building
552 up the list itself; we can just strip FcVoid elements during
555 2005-11-17 Patrick Lam <plam@mit.edu>
556 * src/fccfg.c (FcConfigValues):
558 Fix crash on invalid constants in config files (forgot to update
559 a pointer upon list iteration.)
561 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
564 * src/fcxml.c (FcTypecheckExpr):
566 Complain about invalid constants in config files.
568 2005-11-17 Andreas Schwab <schwab@suse.de>
571 * src/fccache.c (FcGlobalCacheSave):
573 Don't add current_arch_start more than once.
575 2005-11-16 Patrick Lam <plam@mit.edu>
576 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
577 * src/fcfs.c (FcFontSetUnserialize):
578 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
579 * src/fcpat.c (FcStrUnserialize):
581 Fix ordering of ALIGN with respect to saving block_ptr; add
582 another ALIGN to fcfs.c.
584 2005-11-16 Patrick Lam <plam@mit.edu>
585 * src/fccache.c (FcDirCacheProduce)
587 Fix case where alignment bytes bumped up metadata->count
588 causing unwarranted failures to write cache files.
589 (Reported by Stephan Kulow).
591 2005-11-16 Patrick Lam <plam@mit.edu>
592 * src/fccache.c (FcDirCacheProduce):
593 * src/fccharset.c (FcCharSetDistributeBytes):
594 * src/fcfs.c (FcFontSetDistributeBytes):
596 * src/fclang.c (FcLangSetDistributeBytes):
597 * src/fcname.c (FcObjectDistributeBytes):
598 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
601 Add *NeededBytesAlign(), which overestimates the padding which is
602 later added by the new ALIGN macro. Fix alignment problems on
603 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
604 version by Andreas Schwab).
606 2005-11-16 Stephan Kulow <coolo@kde.org>
611 Use sysconf to determine proper PAGESIZE value; this
612 appears to be POSIX-compliant. (reported by Andreas Schwab)
614 2005-11-04 Patrick Lam <plam@mit.edu>
620 Fix bug 2878 (excessive relocations at startup for charsets,
621 reported by Ross Burton): fc-lang/fc-lang now creates the
622 static form of the langset, not the dynamic form, so that
623 the charsets should now be in .rodata.
625 2005-11-04 Patrick Lam <plam@mit.edu>
626 * src/fcdir.c (FcDirScanConfig):
628 Add test for validity of directory caches that
629 somehow got lost (reported by make distcheck).
631 2005-11-04 Patrick Lam <plam@mit.edu>
635 * fontconfig/fontconfig.h:
637 Bump version to 2.3.92.
639 2005-11-02 Patrick Lam <plam@mit.edu>
640 * src/fcpat.c (FcPatternDuplicate):
642 Fix argument ordering problem in call to FcPatternTransferFullFname.
644 2005-11-02 Patrick Lam <plam@mit.edu>
645 * src/fcfreetype.c (FcFreetypeQuery):
646 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
647 FcPatternTransferFullFname):
649 Fix warnings and embarrassing double-free error.
651 2005-11-02 Zhe Su <zsu@novell.com>
656 Change the rule for artificial emboldening in fonts.conf.in. This
657 enables the support for artificial emboldening included in cairo.
659 2005-11-02 Patrick Lam <plam@mit.edu>
660 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
662 Don't zero out full names for FC_REF_CONSTANT fonts;
663 also, duplicate full names when transferring, and free
664 full names when freeing the associated font.
665 Reported by Jinghua Luo.
667 2005-11-02 Patrick Lam <plam@mit.edu>
668 * fc-cache/fc-cache.c (scanDirs):
669 * src/fcpat.c (FcValueListSerialize):
671 Revert the previous patch and commit the correct patch:
672 I forgot a canonicalization in FcValueListSerialize, so
673 that it would choke on already-serialized input files. Duh!
675 2005-11-02 Patrick Lam <plam@mit.edu>
676 * fc-cache/fc-cache.c (scanDirs):
678 Forcibly rescan a directory before writing a fresh local
679 cache file for that directory, fixing the losing-fonts
680 problem reported by Mike Fabian and also apparently the
681 font cache file corruption.
683 2005-11-02 Patrick Lam <plam@mit.edu>
684 * src/fccache.c (FcGlobalCacheLoad):
686 Fix thinko: actually, the whole global cache is stale
687 if the global cache is older than the (newest) config file.
689 2005-11-02 Patrick Lam <plam@mit.edu>
690 * src/fccache.c (FcGlobalCacheLoad):
691 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
694 Declare the global cache of a directory's contents to be stale if
695 the directory is newer than the (newest) configuration file.
697 2005-10-31 Patrick Lam <plam@mit.edu>
699 * src/fclist.c (FcListAppend):
700 * src/fcmatch.c (FcFontRenderPrepare):
701 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
702 FcPatternFreeze, FcPatternBaseFreeze):
704 Copy the full pathname whenever duplicating an FcPattern; otherwise,
705 applications continue breaking.
707 2005-10-31 Patrick Lam <plam@mit.edu>
708 * fc-cat/fc-cat.c (FcCacheFileRead, main):
709 * src/fcfreetype.c (FcFreeTypeQuery):
711 Fix small memory error (tried to free argv); use basename and
712 dirname correctly (they can modify their arguments).
714 2005-10-31 Patrick Lam <plam@mit.edu>
722 Reinstate basename patch, but keep a hash table linking FcPatterns
723 to their fully-qualified font names for clients' benefit. Clients
724 only pay for the font names once they request the FC_FILE property
725 from an FcPattern, but the font name is malloc'd at that point (i.e.
726 not mmapped: that's impossible, since it may vary between machines.)
727 Clients do have to pay for a copy of the path name per cache file.
729 Note that FcPatternGetString now does some rewriting if you ask
730 for an FC_FILE, appending the pathname as appropriate.
732 2005-10-31 Patrick Lam <plam@mit.edu>
733 * src/fcfreetype.c (FcFreeTypeQuery):
735 Revert basename patch, which breaks fontconfig clients on my system.
737 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
740 * fontconfig/fonts.conf.in:
741 * fontconfig/fontconfig.h:
745 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
746 to load embedded bitmaps or not.
748 2005-10-25 Patrick Lam <plam@mit.edu>
749 * src/fcfreetype.c (FcFreeTypeQuery):
751 Only add basename to patterns' FC_FILE element, not any part of
754 2005-10-22 Patrick Lam <plam@mit.edu>
757 Add some more consts, fixing more GCC4 warnings.
759 2005-10-22 Zhe Su <zsu@novell.com>
762 Support localized font family and style names.
763 This has been reported to break old apps like xfd, but modern
764 (gtk+/qt/mozilla) apps work fine.
766 2005-10-21 Patrick Lam <plam@mit.edu>
767 * src/fccache.c (FcGlobalCacheLoad):
769 Destroy the global cache file if it's terminally broken. (reported by
772 2005-10-21 Patrick Lam <plam@mit.edu>
773 * fc-list/fc-list.c (main):
774 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
775 * fontconfig/fontconfig.h:
777 Prevent fc-list from escaping strings when printing them (reported by
780 2005-10-20 Marcus Meissner <meissner@suse.de>
783 * fontconfig/fontconfig.h:
785 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
787 2005-10-14 Ross Burton <ross@burtonini.com>
790 * fc-glyphname/fc-glyphname.c:
793 Add consts to variables so as to move arrays into .rodata.
795 2005-10-14 Mike Fabian <mfabian@suse.de>
798 * src/fccache.c (FcDirCacheUnlink):
800 Check existence of directory cache file before attempting to unlink.
802 2005-10-13 Patrick Lam <plam@mit.edu>
803 * src/fccache.c (FcDirCacheUnlink):
805 Fix flipped return value on unlink. (Reported by Mike Fabian)
807 2005-10-12 Patrick Lam <plam@mit.edu>
810 * src/fcdir.c (FcDirScanConfig):
813 When fc-cache is run without --force, use directory cache files
814 to speed up fc-cache run time. (Reported by Mike Fabian)
816 2005-10-06 Patrick Lam <plam@mit.edu>
818 * src/fcname.c (FcObjectToPtr):
819 * src/fcpat.c (FcStrStaticName):
821 Add padding to make valgrind and glibc not hate each other
822 when calling strlen().
824 2005-10-05 Simos Xenitellis <simos74@gmx.net>
825 reviewed by: plam & keithp
829 Modify config file to use Greek fonts before Asian fonts with
832 2005-10-05 Christian Biesinger <cbiesinger@web.de>
833 reviewed by: plam & keithp
837 Use libtool -no-undefined flag on all platforms.
839 2005-10-05 Patrick Lam <plam@mit.edu>
840 * src/fccache.c (FcCacheHaveBank):
842 Implement move-to-front array for banks (perf regression
843 reported by Ronny V. Vindenes).
845 2005-10-04 Patrick Lam <plam@mit.edu>
846 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
847 FcDirCacheHasCurrentArch):
848 * fc-cache/fc-cache.c (scanDirs):
849 * fontconfig/fontconfig.h:
851 Add new API which unlinks directory caches and checks dir caches
852 for existence of appropriate sections. Fix fc-cache to unlink
853 stale cache files and save directory caches that lack relevant
856 2005-10-03 Patrick Lam <plam@mit.edu>
857 * src/fccache.c (FcDirCacheValid):
859 Ensure that a directory cache has the appropriate section
860 before reporting that it is valid (reported by Matthias Clasen).
862 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
870 Use libxml2 if requested (with --enable-libxml2) or if
871 expat is not available.
873 2005-09-29 Patrick Lam <plam@mit.edu>
874 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
876 Fix multi-arch cache files: compute the position for the
877 block to be added using info from OrigFile, not NewFile.
879 2005-09-28 Patrick Lam <plam@mit.edu>
880 * src/fccache.c (FcCacheMachineSignature):
882 Cast results of sizeof() to unsigned int to get rid of
883 warnings on x86_64 (thanks Matthias Clasen).
885 2005-09-27 Patrick Lam <plam@mit.edu>
886 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
889 Use FcAtomic to rewrite cache files.
891 2005-09-27 Patrick Lam <plam@mit.edu>
893 * src/fccache.c (FcDirCacheWrite):
895 Don't unlink the fonts.cache-2 file even if there's no data
896 to write; just write an empty cache file. (thanks Lubos Lunak)
898 2005-09-27 Patrick Lam <plam@mit.edu>
900 * src/fccache.c (FcDirCacheWrite):
902 Allocate room for the subdirectory names in each
903 directory cache. Thanks to James Cloos for finding
904 and diagnosing this bug!
906 2005-09-22 Patrick Lam <plam@mit.edu>
908 * fc-cache/fc-cache.sgml:
909 * src/fccache.c (FcDirCacheWrite):
910 * src/fccache.h (struct FcCache):
912 Update documentation -- fc-cache's man page now says that you
913 need to run fc-cache once per cached architecture; add some
914 documentation to the FcCache structure.
916 Make fc-cache write out fonts.cache-2 files for directories with
917 no fonts (i.e. only subdirectories).
919 2005-09-22 Patrick Lam <plam@mit.edu>
921 * fc-cache/fc-cache.sgml:
923 * fc-glyphname/fc-glyphname.c:
929 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
934 * fontconfig/fcprivate.h:
935 * fontconfig/fontconfig.h:
949 Implement new mmaped cache for font information.
950 Bump so revision to 2.3.90.
952 2005-07-25 Keith Packard <keithp@keithp.com>
954 * doc/fontconfig-user.sgml:
955 * fc-glyphname/fc-glyphname.c: (scan), (main):
956 * fc-lang/fc-lang.c: (FcConfigHome):
957 * fc-match/fc-match.c: (main):
958 * src/fccfg.c: (FcConfigHome):
959 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
960 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
961 (addtag), (FcFontCapabilities):
962 * src/fcpat.c: (FcValueListEntCreate):
963 * src/fcstr.c: (FcStrCaseWalkerInit):
964 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
966 Various GCC 4 cleanups for signed vs unsigned char
968 Match only [0-9]*.conf files in <include>{directory}</include>
969 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
971 2005-07-15 Carl Worth <cworth@cworth.org>
974 * src/fcinit.c: (FcFini):
975 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
978 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
979 Pull the FcObjectStateName hash table out to file scope, and add
980 FcObjectStaticNameFini so that FcFini will cleanup this hash table
983 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
986 2005-06-16 Patrick Lam <plam@MIT.EDU>
990 * src/fccfg.c: (FcConfigCompareValue):
991 Make FcOpNotContains use FcStrStr for strings so that
992 it matches semantics for !FcOpContains.
994 2005-05-20 Keith Packard <keithp@keithp.com>
998 Move fontconfig source package to libs as per override
1000 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1002 reviewed by: Mike Fabian
1005 The ka.orth file requires several characters which are not
1006 used anymore in modern Georgian and which are missing in the free
1007 Georgian TrueType fonts downloadable at:
1009 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1011 2005-04-27 Keith Packard <keithp@keithp.com>
1015 Update date to real 2.3.2 release date.
1016 Fix change attributions
1018 2005-04-27 Keith Packard <keithp@keithp.com>
1021 Bump so revision for 2.3.2
1022 * fc-cache/fc-cache.c: (scanDirs):
1023 Fix a few minor leaks in error cases.
1025 2005-04-23 Keith Packard <keithp@keithp.com>
1030 * fontconfig/fontconfig.h:
1031 Update for version 2.3.2
1033 2005-04-21 Keith Packard <keithp@keithp.com>
1035 * debian/fontconfig.postinst:
1036 Don't force bitmap font enable in default
1037 configuration; allows users to override this in
1047 * debian/po/pt_BR.po:
1048 * debian/po/templates.pot:
1050 * debian/po/zh_CN.po:
1051 Updated translations
1053 * fc-cache/fc-cache.c: (main):
1054 Destroy font configuration on exit to help valgrind
1057 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1058 (FcFreeTypeCheckGlyph):
1059 Use own transcoding routines in preference to iconv
1060 which appears to have leaks in some translators.
1061 Call iconv_close after using iconv (oops).
1063 Prefer unicode encoding of Euro char as some
1064 fonts mis-encode Euro in other ones.
1066 Must fetch bitmap glyphs to get width values
1067 to check for monospace/dual-width fonts.
1069 2005-04-13 Ross Burton <ross@burtonini.com>
1072 Check that a pattern isn't already frozen in FcPatternFreeze.
1074 2005-03-31 Ross Burton <ross@burtonini.com>
1079 Run all FcPattern objects through FcObjectStaticName, so that
1080 compares can be done on pointers instead of strings (#2659)
1082 2005-03-17 Tor Lillqvist <tml@novell.com>
1084 * src/fontconfig.def.in: Add the .dll to the dll name.
1086 2005-03-10 Keith Packard <keithp@keithp.com>
1088 * debian/README.Debian:
1089 Update to reflect configuration changes
1091 * debian/fontconfig.postinst:
1092 Fix Autohint vs Autohinter mistake
1093 * debian/fontconfig.templates:
1094 Adopt changes from Josselin Mouette for configuration descriptions
1095 Update debian to version 2.3.1-2
1097 2005-03-08 Keith Packard <keithp@keithp.com>
1101 Update debian for 2.3.1
1103 2005-03-09 Tor Lillqvist <tml@novell.com>
1105 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1108 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1111 2005-03-08 Keith Packard <keithp@keithp.com>
1115 * fontconfig/fontconfig.h:
1118 2005-03-05 Keith Packard <keithp@keithp.com>
1120 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1121 Include space and remove numbers from valid script tags.
1122 This ensures that tags like 'lao ' work while rejecting
1123 those which have any digits.
1124 Eliminate a spurious debugging variable (len)
1126 2005-03-05 Keith Packard <keithp@keithp.com>
1128 * src/fcfreetype.c: (addtag), (GetScriptTags),
1129 (FcFontCapabilities):
1130 Rework GSUB/GPOS script parsing to survive broken fonts.
1131 Thanks for the broken font go to Manish Singh
1133 2005-03-05 Keith Packard <keithp@keithp.com>
1138 * debian/fontconfig.config:
1139 * debian/fontconfig.templates:
1141 Include 2.3 release information in changelog
1142 Add Josselin Mouette as an Uploader
1143 Set hinting_type to low priority configuration option
1146 * debian/fontconfig.postinst:
1147 yes_bitmaps.conf -> yes-bitmaps.conf
1153 2005-03-02 Keith Packard <keithp@keithp.com>
1156 * conf.d/Makefile.am:
1157 * conf.d/autohint.conf:
1158 * conf.d/no-sub-pixel.conf:
1159 * conf.d/sub-pixel.conf:
1160 * conf.d/unhinted.conf:
1161 * debian/autohint.conf:
1162 * debian/fontconfig.install:
1163 * debian/fontconfig.postinst:
1164 * debian/fontconfig.templates:
1165 * debian/no-sub-pixel.conf:
1166 * debian/unhinted.conf:
1167 Move debian-specific conf file examples upstream.
1169 Sub-pixel configuration examples must smash subpixel value
1170 as Xft always sets it from X.
1172 Change sub-pixel rendering debconf descriptions from
1173 Enable/Disable to Always/Never.
1175 2005-03-02 Keith Packard <keithp@keithp.com>
1178 * conf.d/.cvsignore:
1180 Ignore more build detritus
1183 Add debian package construction stuff.
1185 * config/config.guess:
1186 * config/config.sub:
1187 Update to newer versions of these tools
1190 Get library manuals to build again (we love automake).
1192 * debian/README.Debian:
1193 * debian/autohint.conf:
1198 * debian/fontconfig-udeb.install:
1199 * debian/fontconfig.config:
1200 * debian/fontconfig.defoma:
1201 * debian/fontconfig.dirs:
1202 * debian/fontconfig.install:
1203 * debian/fontconfig.postinst:
1204 * debian/fontconfig.postrm:
1205 * debian/fontconfig.templates:
1206 * debian/libfontconfig1-dev.install:
1207 * debian/libfontconfig1.install:
1208 * debian/local.conf.md5sum:
1209 * debian/no-sub-pixel.conf:
1210 * debian/po/POTFILES.in:
1219 * debian/po/pt_BR.po:
1220 * debian/po/templates.pot:
1222 * debian/po/zh_CN.po:
1224 * debian/unhinted.conf:
1225 Update debian build system to switch maintainers and
1226 deal with 2.3 functionality
1228 2005-03-01 Keith Packard <keithp@keithp.com>
1232 * fontconfig/fontconfig.h:
1235 2005-03-01 Keith Packard <keithp@keithp.com>
1238 Generate and install PDF versions of the manuals
1240 * doc/fcpattern.fncs:
1243 * doc/fcstring.fncs:
1244 Add missing exported functions, fix data types
1246 * doc/fontconfig-devel.sgml:
1247 Add missing pattern elements.
1249 * doc/fontconfig-user.sgml:
1250 Add missing pattern elements. Document conf.d usage,
1251 clarify available orthography list. Fix some config file
1252 attributes. Complete list of constants.
1254 * fontconfig/fontconfig.h:
1255 Mark FC_SOURCE deprecated.
1257 * src/fcfreetype.c: (FcFreeTypeQuery):
1258 Don't set FC_SOURCE any longer.
1260 2005-02-28 Keith Packard <keithp@keithp.com>
1263 * conf.d/Makefile.am:
1265 * conf.d/no-bitmaps.conf:
1266 * conf.d/sub-pixel.conf:
1267 * conf.d/yes-bitmaps.conf:
1269 Create prototype /etc/fonts/conf.d directory with a few
1270 sample configuration files.
1271 Deprecate use of local.conf for local customizations in favor of
1272 this directory based scheme which is more easily integrated into
1273 installation systems.
1276 Tag FC_EMBOLDEN as a boolean variable
1278 2005-02-10 Keith Packard <keithp@keithp.com>
1280 reviewed by: pborelli@katamail.com
1282 * src/fcdir.c: (FcFileScanConfig):
1283 Free patterns from fonts which are rejected by configuration
1286 2005-01-28 Keith Packard <keithp@keithp.com>
1290 * fontconfig/fontconfig.h:
1291 Update for version 2.2.99
1293 2005-01-28 Keith Packard <keithp@keithp.com>
1296 Add a few pointers (#2284, #2285)
1298 2005-01-28 Keith Packard <keithp@keithp.com>
1301 * src/fcname.c: (FcNameBool):
1302 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1303 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1304 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1305 Polite typechecking for test and edit expressions. Helps
1306 catch errors in the font configuration. (bug 229)
1308 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1310 reviewed by: Keith Packard <keithp@keithp.com>
1313 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1315 2005-01-13 Keith Packard <keithp@keithp.com>
1317 * doc/fontconfig-user.sgml:
1318 Add SEE ALSO section (bug 2085)
1320 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1322 reviewed by: Keith Packard <keithp@keithp.com>
1327 * fc-case/Makefile.am:
1328 * fc-glyphname/Makefile.am:
1329 * fc-lang/Makefile.am:
1330 * src/fontconfig.def.in:
1331 Cross compiling fixes (bug 280)
1333 2005-01-13 Keith Packard <keithp@keithp.com>
1336 Update blanks list (Closes bug 86)
1338 2005-01-04 Keith Packard <keithp@keithp.com>
1340 * src/fccache.c: (FcCacheFontSetAdd):
1341 Verify that every font pattern loaded from cache has
1342 both FC_FILE and FC_FAMILY entries.
1343 Attempt to fix bug #2219.
1345 2004-12-29 Keith Packard <keithp@keithp.com>
1349 * fontconfig/fontconfig.h:
1350 Update for version 2.2.98
1352 2004-12-29 Keith Packard <keithp@keithp.com>
1354 * fontconfig/fontconfig.h:
1355 Document ASCII limitations of Fc character conversion macros
1356 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1357 Fix off-by-one error in utf-8 case walking code.
1358 Add FcStrDowncase (useful for testing case conversion functions)
1360 2004-12-29 Keith Packard <keithp@keithp.com>
1363 * fc-case/.cvsignore:
1364 clean up CVS ignore lists
1365 * fc-lang/iso-3166.txt:
1366 Add territory database
1368 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1370 Reviewed by: Keith Packard
1373 Remove Han characters from Korean orthography
1375 2004-12-29 Keith Packard <keithp@keithp.com>
1378 Reorder utility programs to make sure fc-case is run before fc-lang
1379 as fc-lang uses fcstr.c which uses fccase.h
1383 2004-12-29 Keith Packard <keithp@keithp.com>
1386 Adopt some RedHat suggestions for standard font configuration.
1390 * fc-case/CaseFolding.txt:
1391 * fc-case/Makefile.am:
1392 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1393 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1394 (dump), (parseRaw), (caseFoldReadRaw), (main):
1395 * fc-case/fccase.tmpl.h:
1396 Add new helper program 'fc-case' to construct case folding
1397 tables from standard Unicode CaseFolding.txt file
1400 * src/fclist.c: (FcListValueHash):
1401 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1402 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1403 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1404 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1405 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1406 Re-implement case insensitive functions with Unicode
1407 aware versions (including full case folding mappings)
1409 2004-12-13 Keith Packard <keithp@keithp.com>
1411 reviewed by: Owen Taylor <otaylor@redhat.com>
1413 * src/fcmatch.c: (FcFontSetSort):
1414 I changed FcFontSetSort to respect the generic aliases better
1415 in the face of language matching.
1417 What I did was to ammend the strict sort order used by FcFontSort so
1418 that it 'satisfies' the language specified in the pattern by locating
1419 the best matching font supporting each pattern language and then
1420 ignores language in the remaining fonts for purposes of matching.
1422 So, when asking for 'sans:lang=en', you'll get an English font first,
1423 and then the remaining fonts sorted with respect to the 'sans' alias
1424 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1426 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1428 reviewed by: Keith Packard <keithp@keithp.com>
1430 * fontconfig/fontconfig.h:
1433 Configuration changes to request synthetic emboldening of
1434 fonts. The actual emboldening code will live in Xft.
1436 2004-12-09 John Thacker <thacker@math.cornell.edu>
1438 reviewed by: Keith Packard <keithp@keithp.com>
1442 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1443 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1444 и), and don't even appear in KOI8-R. (The hypothesis that they
1445 don't appear in KOI8-R due to their similarity with Latin I and i is
1446 eliminated by their presence in KOI8-U.) I have a couple of fonts
1447 with Russian support that don't have the letter.
1449 Therefore, 0406 and 0456 should be removed from or commented out of
1452 2004-12-06 michael meeks <mmeeks@novell.com>
1454 Reviewed by: Keith Packard <keithp@keithp.com>
1456 * src/fcinit.c: (FcMemReport):
1458 * src/fclist.c: (FcObjectSetAdd):
1459 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1460 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1461 * src/fcxml.c: (FcParsePatelt):
1462 memoize strings and share a single copy for all uses. Note that
1463 this could be improved further by using statically allocated blocks
1464 and gluing multiple strings together, but I'm basically lazy.
1465 In my environment with 800 font files, I get a savings of about 90KB.
1467 2004-12-06 Keith Packard <keithp@keithp.com>
1471 * config/Makedefs.in:
1474 * doc/fcatomic.fncs:
1475 * doc/fcblanks.fncs:
1476 * doc/fccharset.fncs:
1477 * doc/fcconfig.fncs:
1478 * doc/fcconstant.fncs:
1480 * doc/fcfontset.fncs:
1481 * doc/fcfreetype.fncs:
1483 * doc/fcmatrix.fncs:
1484 * doc/fcobjectset.fncs:
1485 * doc/fcobjecttype.fncs:
1486 * doc/fcpattern.fncs:
1487 * doc/fcstring.fncs:
1488 * doc/fcstrset.fncs:
1490 * doc/fontconfig-devel.sgml:
1491 * doc/fontconfig-user.sgml:
1493 * doc/version.sgml.in:
1494 * fc-cache/Makefile.am:
1495 * fc-cache/fc-cache.c:
1496 * fc-glyphname/Makefile.am:
1497 * fc-glyphname/fc-glyphname.c:
1498 * fc-glyphname/fcglyphname.tmpl.h:
1499 * fc-lang/Makefile.am:
1509 * fc-lang/az_ir.orth:
1543 * fc-lang/fc-lang.c:
1544 * fc-lang/fc-lang.man:
1545 * fc-lang/fclang.tmpl.h:
1590 * fc-lang/ku_ir.orth:
1623 * fc-lang/ps_af.orth:
1624 * fc-lang/ps_pk.orth:
1653 * fc-lang/ti_er.orth:
1654 * fc-lang/ti_et.orth:
1680 * fc-lang/zh_cn.orth:
1681 * fc-lang/zh_hk.orth:
1682 * fc-lang/zh_mo.orth:
1683 * fc-lang/zh_sg.orth:
1684 * fc-lang/zh_tw.orth:
1686 * fc-list/Makefile.am:
1687 * fc-list/fc-list.c:
1688 * fc-match/Makefile.am:
1689 * fc-match/fc-match.1:
1690 * fc-match/fc-match.c:
1691 * fontconfig/fcfreetype.h:
1692 * fontconfig/fcprivate.h:
1693 * fontconfig/fontconfig.h:
1714 Change files from ISO-Latin-1 to UTF-8
1716 2004-12-04 Keith Packard <keithp@keithp.com>
1719 Update links to new freedesktop.org locations
1721 Add uninstall-local to get rid of fonts.conf and local.conf if they
1722 match the distributed versions. Fixes 'make distcheck'
1724 2004-12-04 Keith Packard <keithp@keithp.com>
1728 * fontconfig/fontconfig.h:
1729 Updates for version 2.2.97
1731 2004-12-04 Owen Taylor <otaylor@redhat.com>
1733 reviewed by: Keith Packard <keithp@keithp.com>
1735 * fc-cache/fc-cache.c: (main):
1736 Sleep for two seconds before exiting to make sure timestamps
1737 for future changes have distinct mod times in the file system.
1740 Add Punjabi orthography. Bug #1671.
1742 2004-12-04 Keith Packard <keithp@keithp.com>
1745 Just remove the FC_FONTDATE -- it has locale issues and
1746 annoys redhat multi-arch installs. Now that all X fonts are
1747 included without prejudice, the chances of the date being at
1748 all interesting are rather limited. Bug #505.
1750 Add copyright and license
1752 2004-12-04 Keith Packard <keithp@keithp.com>
1755 Change default set of fonts to include all of
1756 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1757 * doc/fontconfig-user.sgml:
1758 Document new <include>directory-name</include> semantics
1760 add <include ignore_missing="yes">conf.d</include>
1762 Add selectfont to ignore bitmap fonts, add comment for
1763 selectfont which accepts bitmap fonts.
1766 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1767 Allow <include> configuration elements to reference directories.
1768 Parse and load all files of the form [0-9]* in sorted order.
1770 2004-12-04 Keith Packard <keithp@keithp.com>
1773 Report command line for $srcdir/configure accurately.
1776 2004-12-04 Keith Packard <keithp@keithp.com>
1778 * src/fcfreetype.c: (FcFreeTypeQuery):
1779 Check for non-empty face->family_name and face->style_name
1780 before using those for the font. Empty names match everything.
1783 2004-12-04 Keith Packard <keithp@keithp.com>
1786 * fontconfig/fontconfig.h:
1787 * src/fcfreetype.c: (FcFreeTypeQuery):
1789 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1790 available. This provides font file format information (BDF, Type 1,
1791 PCF, TrueType) for each font. Closes #109.
1793 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1795 reviewed by: Keith Packard <keithp@keithp.com>
1797 * doc/fontconfig-user.sgml:
1800 * fontconfig/fontconfig.h:
1801 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1802 (GetScriptTags), (FcFontCapabilities):
1804 Add detection for font capabilities (bug #105)
1806 2004-12-04 Keith Packard <keithp@keithp.com>
1809 Move existing fonts.conf to fonts.conf.bak
1812 Add detection of iconv
1814 * doc/fcpattern.fncs:
1815 * doc/fontconfig-devel.sgml:
1816 * doc/fontconfig-user.sgml:
1818 Document new selectfont elements
1821 Switch to UTF-8 in comment
1823 * fontconfig/fontconfig.h:
1825 Add fullname, and family/style/fullname language entries
1827 * src/fccache.c: (FcCacheFontSetAdd):
1828 * src/fcdir.c: (FcFileScanConfig):
1829 Respect selectfont/*/glob
1832 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1833 (FcConfigCompareValue), (FcConfigPatternsAdd),
1834 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1835 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1836 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1837 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1838 Add support for selectfont
1840 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1841 (FcStringInPatternElement), (FcFreeTypeQuery):
1842 Add multi-lingual family/style/fullname support
1844 * src/fclist.c: (FcListPatternMatchAny):
1845 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1847 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1848 (FcObjectStaticName):
1849 Add new FcPatternRemove/FcPatternAppend.
1850 FcObjectStaticName stores computed pattern element names which
1851 are required to be static.
1853 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1858 Remove spurious / after $(DESTDIR)
1860 2004-06-30 Keith Packard <keithp@keithp.com>
1864 * fontconfig/fontconfig.h:
1867 2004-06-30 Keith Packard <keithp@keithp.com>
1869 Provided by: Lubos Lunak <l.lunak@suse.cz>
1871 * src/fccfg.c: (FcConfigUptoDate):
1872 However FcConfigUptoDate() doesn't seem to work. See the attached
1873 patch. First there's an obvious misplaced parenthesis making it
1874 return always false, and second, even this call fails to detect font
1875 changes (e.g. adding a new font to
1876 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1877 well. The problem seems to be triggered by my fonts.conf specifying
1878 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1879 doesn't include subdirs, unlike config->fontDirs.
1881 2004-06-03 Keith Packard <keithp@keithp.com>
1883 * fontconfig/fontconfig.h:
1884 Remove comma at end of FcResult enum definition.
1886 2004-05-29 Keith Packard <keithp@keithp.com>
1889 Add steps to md5sum release
1891 2004-05-29 Keith Packard <keithp@keithp.com>
1895 * fontconfig/fontconfig.h:
1898 2004-05-29 Keith Packard <keithp@keithp.com>
1900 * fontconfig/fontconfig.h:
1901 * src/fcmatch.c: (FcFontSetMatch):
1902 Add FcResultOutOfMemory to provide an accurate error when
1903 FcFontSetMatch fails in this way
1906 Make #warning about lacking various FreeType features indicate
1907 which version those features appeared so users know how to
1908 fix the problem (Thanks to Anton Tropashko)
1910 2004-05-05 Keith Packard <keithp@keithp.com>
1912 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1913 Replace MIN/MAX/ABS macros which happen to have come
1914 from FreeType with fontconfig-specific ones (FC_*)
1916 2004-04-23 Keith Packard <keithp@keithp.com>
1919 Extend release preparation instructions to include
1920 notification and distribution steps
1922 2004-04-23 Keith Packard <keithp@keithp.com>
1926 * fontconfig/fontconfig.h:
1927 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1929 2004-04-23 Keith Packard <keithp@keithp.com>
1932 Ignore a few more autotool files
1934 2004-04-14 Keith Packard <keithp@keithp.com>
1937 Add instructions for doing a release
1939 * fontconfig.spec.in:
1940 clean up .spec file; perhaps this will be useful to somebody...
1944 * fontconfig/fontconfig.h:
1947 * fc-lang/fc-lang.c:
1948 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1950 * fc-glyphname/Makefile.am:
1951 * fc-lang/Makefile.am:
1952 * fc-list/Makefile.am:
1953 * fc-match/Makefile.am:
1955 Add WARN_CFLAGS to pass -W flags for GCC systems
1957 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1958 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1959 Change various char types around to match across
1961 Fixed bug in using available_sizes[i].height which
1962 is in pixels, not 64ths of a pixel.
1964 2004-03-06 Keith Packard <keithp@keithp.com>
1966 * src/fcfreetype.c: (FcFreeTypeQuery):
1967 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1968 matches looking for explicit values prefer exact matches
1970 2004-03-02 Keith Packard <keithp@keithp.com>
1972 Supplied by: mfabian@suse.de (Mike FABIAN)
1974 * src/fcfreetype.c: (FcFreeTypeQuery):
1975 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1976 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1978 2004-02-21 Manish Singh <yosh@gimp.org>
1980 * fc-glyphname/fc-glyphname.c: (main):
1981 Cast strlen to int for printf, so we're 64-bit clean.
1983 2004-02-11 Keith Packard <keithp@keithp.com>
1986 * src/fcfreetype.c: (FcGetPixelSize):
1987 Ok, so I messed up the test for y_ppem. Let's see if I
1988 got it right this time.
1990 2004-02-10 Keith Packard <keithp@keithp.com>
1993 * src/fcfreetype.c: (FcGetPixelSize):
1994 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1995 FT_Bitmap_Size record. Add a configure.in test for this
1996 and change the code accordingly (using height instead).
1998 2004-02-06 Keith Packard <keithp@keithp.com>
2001 Add Low Saxon orthography
2002 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2004 * src/fccfg.c: (FcConfigNewestFile):
2005 Oops. Left 'newest.set' unset, which would miscompute
2008 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2009 (FcFreeTypeCheckGlyph):
2010 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2011 font properties (which report the wrong value in current FreeType)
2013 Don't attempt to check for empty glyphs in non-scalable fonts; they
2016 2004-02-01 Tor Lillqvist <tml@iki.fi>
2018 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2019 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2020 cache if config->cache is NULL, which happens if FcConfigHome() is
2021 NULL. Guard against that by using the temp folder in that case.
2023 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2025 * fc-lang/az_ir.orth:
2026 * fc-lang/ku_ir.orth:
2027 * fc-lang/ps_af.orth:
2028 * fc-lang/ps_pk.orth:
2029 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2030 (Afghan and Pakistani).
2032 Updated Urdu orthography with real data.
2034 2003-12-11 Carl Worth <cworth@east.isi.edu>
2036 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2039 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2041 (all-local): Remove excessive whitespace.
2043 * autogen.sh: Add 'set -e' to abort when any program fails,
2044 (avoids printing of 'now type make' after configure aborts).
2046 2003-11-17 Eric Christopherson <rakko@charter.net>
2048 reviewed by: Keith Packard <keithp@keithp.com>
2051 * fontconfig/fcfreetype.h:
2053 Switch to FreeType 2.1.7 style includes. Bug #150.
2055 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2057 * fc-list/fc-list.sgml: Add some example usages.
2059 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2062 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2065 2003-10-27 Keith Packard <keith@keithp.com>
2068 * fontconfig/fontconfig.h:
2069 Update to version 2.2.92
2071 2003-10-27 Keith Packard <keithp@keithp.com>
2076 * fc-cache/Makefile.am:
2077 * fc-glyphname/Makefile.am:
2078 * fc-lang/Makefile.am:
2079 * fc-list/Makefile.am:
2080 * fc-match/Makefile.am:
2083 Yet more cleanups to finish getting 'make distcheck' working
2084 This has been tested to ensure that it even works from a _build
2087 2003-10-26 Keith Packard <keithp@keithp.com>
2091 * fc-cache/Makefile.am:
2092 * fc-glyphname/Makefile.am:
2093 * fc-lang/Makefile.am:
2094 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2095 * fc-list/Makefile.am:
2096 * fc-match/Makefile.am:
2097 Attempts to fix 'make distcheck' work. Things are
2098 progressing pretty well, but there are still failures
2099 long into the process dealing with docs (as always).
2101 The big changes here are mostly to make $(srcdir) != "."
2102 work correctly, fixing the docbook related sections and
2103 fc-lang were particularily tricky. Docbook refuses to load
2104 system entities from anywhere other than where the original .sgml
2105 file was located, so no luck looking in "." for the
2106 configure-generated version.sgml and confdir.sgml files.
2108 fc-lang needed help finding .orth files; added a -d option
2109 to set the directory as the least evil of many options.
2111 Now to go use a faster machine and try and wring out the last
2114 2003-10-26 Keith Packard <keithp@keithp.com>
2118 2003-10-26 Keith Packard <keithp@keithp.com>
2121 Include confdir.sgml.in in EXTRA_DIST
2123 2003-10-09 Josselin Mouette <joss@debian.org>
2125 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2126 * fc-list/fc-list.sgml fc-list/Makefile.am:
2127 Replace fc-cache and fc-list manpages with more detailed, SGML
2130 2003-09-23 Owen Taylor <otaylor@redhat.com>
2132 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2133 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2134 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2137 2003-09-23 Owen Taylor <otaylor@redhat.com>
2139 * fc-lang/ka.orth: Remove Georgian capitals, they
2140 aren't used for normal writing. (Bug #116)
2142 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2144 * doc/fontconfig-devel.sgml:
2145 * doc/fontconfig-user.sgml:
2146 * fontconfig/fontconfig.h:
2148 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2149 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2151 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2152 monospace and dual-width fonts, allow roughly a 3% variance in the
2155 2003-08-31 Manish Singh <yosh@gimp.org>
2157 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2160 2003-08-15 Carl Worth <cworth@isi.edu>
2162 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2163 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2165 * src/fcpat.c (FcValueListEntDestroy): New function to support
2166 FcFini memory cleanup. Some statistics are not kept in
2168 (FcValueListFreeze): Move hashTable outside this function so it
2169 can be accessed by FcValueListThawAll.
2170 (FcValueListThawAll): New function complements FcValueListFreeze.
2171 (FcPatternBaseFreeze): Move hashTable outside this function so it
2172 can be accessed by FcPatternBaseThawAll.
2173 (FcPatternBaseThawAll): New function complements
2174 FcPatternBaseFreeze.
2175 (FcPatternThawAll): New function complements FcPatternFreeze.
2177 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2179 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2180 allocated FcCharLeafEnt "blocks" so they can be freed later.
2181 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2182 can be accessed by FcCharSetThawAllLeaf.
2183 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2184 (FcCharSetFreezeBase): Move hashTable outside this function so it
2185 can be accessed by FcCharSetThawAll.
2186 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2188 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2189 (FcConfigDestroy): Fic leak of FcBlanks.
2191 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2192 (main): Add call to FcFini when finished.
2194 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2195 static. Add prototypes.
2197 * doc/fcinit.fncs: Add documentation for FcFini function.
2199 * doc/edit-sgml.c: Mark several local functions as static. Add
2202 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2204 2003-06-15 Tor Lillqvist <tml@iki.fi>
2206 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2207 before comparing (needed on Windows).
2209 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2211 2003-06-13 Tor Lillqvist <tml@iki.fi>
2213 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2216 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2217 WINDOWSFONTDIR token.
2219 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2220 end, not to confuse libtool, which expects the EXPORTS line to be
2221 the first. Add FcConfigEnableHome.
2223 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2224 built as a DLL on Win32.
2226 2003-06-09 Keith Packard <keithp@keithp.com>
2228 * Tag version 2.2.90
2230 2003-06-09 Keith Packard <keithp@keithp.com>
2232 * Optimization in FcLangSetIndex was broken, occasionally
2233 returning a pointer to the wrong location on miss
2235 * Add fc-match to test font matching from the command line.
2237 2003-05-31 Keith Packard <keithp@keithp.com>
2239 * (Bug 85) add support for culmus fonts
2240 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2241 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2243 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2245 * Fix "contains" op for strings and langsets.
2247 2003-05-17 Keith Packard <keithp@keithp.com>
2249 * Fix build error with BDF prop local. Free langset after query
2251 2003-05-14 Keith Packard <keithp@keithp.com>
2253 * Extract spacing from XLFD atom
2255 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2257 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2258 disappeared in 1.30.
2260 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2262 2003-05-12 Keith Packard <keithp@keithp.com>
2264 * Use FcIsWidth to share code
2266 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2267 misclassifying some Han fonts as monospaced.
2269 2003-05-07 Keith Packard <keithp@keithp.com>
2271 * Add filename-based accept/reject to ammend available fonts.
2273 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2274 older FreeType releases.
2276 2003-05-06 Keith Packard <keithp@keithp.com>
2278 * Remove 0b82 and Tamil numbers from tamil
2279 orthography (Jungshik Shin <jshin@mailaps.org>)
2281 2003-05-04 Keith Packard <keithp@keithp.com>
2283 + Map glyph names in fonts with adobe custom encoding to unicode
2285 2003-05-02 Keith Packard <keithp@keithp.com>
2287 * Add FC_WEIGHT_BOOK as weight 75
2289 2003-04-30 Keith Packard <keithp@keithp.com>
2291 * Typo in bitstream foundry name
2293 2003-04-24 Keith Packard <keithp@keithp.com>
2295 * Eliminate italic_angle check for PS fonts
2297 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2299 * Getting closer to fixing /etc/fonts hard-coding.
2301 2003-04-22 Keith Packard <keithp@keithp.com>
2303 * Update autogen.sh to work with newer automake versions
2304 * Handle pattern elements moving during multiple edits
2306 2003-04-23 James Henstridge <james@daa.com.au>
2308 * doc/fontconfig-devel.sgml: close the <para> element.
2310 * doc/fcpattern.fncs: close the <para> element.
2312 * doc/func.sgml: close the <refsynopsisdiv> element.
2314 2003-04-22 Keith Packard <keithp@keithp.com
2316 * Update autogen.sh to work with newer automake versions
2317 * Handle pattern elements moving during multiple edits
2319 2003-04-17 Colin Walters <walters@debian.org>
2321 + Remove some unused variables, and initialize some other ones so
2322 gcc doesn't warn us.
2324 2003-04-16 Keith Packard <keithp@keithp.com>
2326 + tag version 2.1.94
2328 2003-04-16 Keith Packard <keithp@keithp.com>
2330 + add BDF property fetching support for foundry
2331 (from Juliusz Chroboczek)
2332 + add BDF property fetching support for width
2334 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2336 + Implemented foundry generation for Type 1 and TrueType
2338 2003-04-11 Gerard Escalante <g2@magestudios.net>
2340 + Retrieve information from Type1 FontInfo dictionaries
2342 2003-04-07 Colin Walters <walters@verbum.org>
2344 + src/Makefile.am: Fix dummy makefile target names when
2345 MS_LIB_AVAILABLE isn't set.
2347 2003-03-22 Tor Lillqvist <tml@iki.fi>
2349 Changes for Windows:
2351 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2353 + We don't want to hardcode the fonts.conf file location in the
2354 DLL, so we look up the DLL location at run-time in a DllMain()
2355 function. The fonts.conf location is deduced from that.
2357 + The colon can't be used as path separator on Windows,
2358 semicolon is used instead. File path components can be separated
2359 with either slash or backslash. Absolute paths can also begin
2360 with a drive letter.
2362 + Add internal function FcStrLastSlash that strrchr's the last
2363 slash, or backslash on Windows.
2365 + There is no link() on Windows. For atomicity checks, mkdir a
2366 lock directory instead.
2368 + In addition to HOME, also look for USERPROFILE.
2370 + Recognize the special font directory token WINDOWSFONTDIR, to
2371 use the system's font directory.
2373 + Remove the fontconfig-def.cpp that was obsolete. Add
2374 fontconfig.def(.in), without internal functions.
2376 + Add a fontconfig-zip(.in) script, used to build a binary
2379 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2380 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2381 to main package and man3/* to devel package
2383 + Added missing defattr(-, root, root) to main RPM package
2385 + Added HTML and text development documentation to -devel subpackage
2387 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2388 + Added back the configure macro options --disable-docs, otherwise
2389 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2390 version number) unconditionally, causing RPM to fail the build due
2391 to _unpackaged_files_terminate_build. We pick up the pregenerated
2392 docs with %doc already.
2394 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2395 + Removed commented out rpm macro define at top of spec file,
2396 replacing it with a simple explanation, since rpm macros are
2397 expanded by rpm even in comments.
2399 + Changed /usr/bin to _bindir in BuildRequires lines
2401 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2403 + Reorganized file manifest lists
2405 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2407 + fontconfig.spec.in: Improvements from Red Hat spec file.
2409 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2411 + docs/*.sgml: SGML fixes.
2413 Sat Mar 1 17:28:53 PST 2003 keithp
2414 + Ok, so the ChangeLog is a bit out of date
2416 + Lots of bugs fixed; most are in bugzilla, the
2417 biggest problems were in cache management where
2418 Owen discovered the library would lose badly when
2419 combining fonts-cache and ~/.fonts-cache data
2421 + Converted from autoconf to automake. This after
2422 getting patches accepted into libtool to allow
2423 the '-version-number' argument which lets
2424 packages set version numbers explicitly rather
2425 than the roundabout libtool way
2427 + Converted documentation to SGML using the docbook
2428 DTD. Now .txt and .html documents are installed
2429 in /usr/share/doc/fontconfig and there's no
2430 man page. Perhaps a man version can be written
2433 Sat Aug 31 15:21:22 PDT 2002 keithp
2434 + Xrender and Xft had several bugs related to
2435 rendering manually placed or poly-face text
2437 + Added more complete memory tracing in fontconfig
2438 Checked with (patched) mozilla and found no leaks
2440 + Updated Latin orthographies by comparing those from
2441 evertype.com with those from eki.ee. Tried to make
2442 sensible choices, including chars that occured in both
2443 and leaving some optional chars out that occured only
2446 Mon Aug 26 16:33:04 PDT 2002 keithp
2447 + Owen discovered that FcLangSetHasLang wasn't actually
2448 checking the language set.
2450 Mon Aug 26 13:37:23 PDT 2002 keithp
2451 + Append a version number to cache filenames
2453 Thu Aug 22 11:36:18 PDT 2002 keithp
2455 + Add "contains" and "not_contains" operators and elements to
2458 + Changed semantics of eq operator for LangSets to check for
2459 FcLangEqual so that any match will do
2461 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2462 of FcValueEqual to check for identical values when inserting into
2463 the results. This broke when the above semantic change was made,
2464 now it uses FcValueEqual which is "more correct" in any case.
2466 Thu Aug 22 00:32:29 PDT 2002 keithp
2468 + Reimplement FC_LANG as new datatype. Lists of strings
2469 was consuming over a megabyte of memory for 401 fonts.
2471 + Freeze patterns loaded from cache files. This shares
2472 common value lists and common patterns which saves
2473 considerable memory.
2475 + Change the denotation of 'constant' charsets to use special
2476 ref value instead of separate boolean.
2478 + Clean up leak tracing stuff, found several unannoted alloc/free
2481 Tue Aug 20 16:17:37 PDT 2002 keithp
2483 + Fix memory leak when parsing matrices from XML
2485 Mon Aug 19 11:57:27 PDT 2002 keithp
2487 + Fix autoconf files to pass FONTCONFIG_PATH on
2488 compile line so that ${prefix} gets substituted
2491 + Use getc_unlocked/putc_unlocked on systems that
2492 provide them to avoid damage done to stdio by posix
2494 + Eliminate FC_PATTERN and FcTypePattern in favor of
2495 an extended api for FcConfigSubstitute which takes
2496 both the font and the pattern.
2498 + Add 'sans serif' alias for 'sans-serif' as some apps
2499 can't handle hyphens in family names
2501 + Eliminate pretense of support for libxml2
2503 + Comment origins of Han orthographies
2505 Tue Jul 30 18:37:09 PDT 2002 keithp
2507 + Add binding property to edit element so that strong
2508 binding values may be inserted by the config file.
2509 The default remains weak.
2511 Sun 28 Jul 04:16:55 PDT 2002 keithp
2513 + Tagged release candidate 1 in the CVS tree and
2514 placed fcpackage.rc1.tar.gz for distribution
2516 Thu Aug 1 08:55:08 PDT 2002 keithp
2518 + Fixed autoconf builds to always specify install
2519 target files (for BSD). Also fixed to
2520 define FONTCONFIG_PATH in config.h so that
2521 nonstandard installs will actually work.