1 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
7 Remove references to dead fontconfig(3) manpages in
8 other fontconfig manpages.
10 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
15 Fix world's tiniest typo in code example.
17 2006-01-29 Mike Fabian <mfabian@suse.de>
20 * src/fccache.c (FcGlobalCacheReadDir):
22 Fix global cache reads of subdirectories.
24 2006-01-29 Patrick Lam <plam@mit.edu>
26 Add documentation for FcConfigNormalizeFontDir.
28 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
29 FcGlobalCacheUpdate, FcGlobalCacheSave):
30 * src/fcdir.c (FcDirScanConfig):
33 Write directory information to global caches to fix make check
34 (reported by Ronny V. Vindenes). This changes the global cache
37 2006-01-27 Patrick Lam <plam@mit.edu>
38 * fc-cache/fc-cache.c (scanDirs):
39 * fontconfig/fontconfig.h:
41 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
43 Move FcConfigNormalizeFontDir call so that it doesn't result in
44 infinite recursion (reported by Ronny V. Vindenes).
46 2006-01-26 Patrick Lam <plam@mit.edu>
47 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
48 * src/fccfg.c (FcConfigNormalizeFontDir):
50 Add a couple of missing normalizations to make fc-cache work
51 right; only scan subdirectories once.
53 2006-01-26 Mike Fabian <mfabian@suse.de>
56 * src/fcacache.c (FcGlobalCacheReadDir):
58 Don't crash on non-existant directories in global cache.
60 2006-01-26 Patirck Lam <plam@mit.edu>
61 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
62 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
63 * src/fcdir.c (FcDirScanConfig):
64 * src/fcxml.c (FcEndElement):
66 Stop trampling the directory name when writing out caches.
67 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
68 subdirs when necessary. Don't scan directories that can't be
71 2006-01-25 Patrick Lam <plam@mit.edu>
72 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
73 * src/fccfg.c (FcConfigEvaluate):
74 * src/fcfreetype.c (FcPatternAddWithBinding):
76 Fix additional memory leaks reported by Ronny V. Vindenes: don't
77 invoke FcValueSave on hashed static strings in
78 FcPatternAddWithBinding.
80 Add another st_dev check in FcDirCacheOpen.
82 2006-01-24 James Su <james.su@gmail.com>
85 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
88 Treat zh-hk fonts differently from zh-tw fonts. This patch may
89 cause fontconfig to treat A-X fonts differently from A-Y fonts;
90 please mail the fontconfig list if this causes any problems.
92 2006-01-24 Patrick Lam <plam@mit.edu>
93 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
94 * src/fcfreetype.c (FcFreeTypeQuery):
96 Fix memory leaks reported by Ronny V. Vindenes.
98 2006-01-19 Andreas Schwab <schwab@suse.de>
101 * src/fcpat.c (FcStrNeededBytes):
103 Fix for unaligned memory accesses.
105 2006-01-18 Mike Fabian <mfabian@suse.de>
108 * src/fcdir.c (FcDirScanConfig):
110 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
111 calls to avoid crashes.
113 2006-01-14 Patrick Lam <plam@mit.edu>
114 * src/fccache.c (FcDirCacheConsume):
116 Fix segfault when consuming zero-length caches in fc-cat
117 (which has no config, so FcConfigAddFontDir shouldn't be called.)
119 2006-01-14 Patrick Lam <plam@mit.edu>
120 * fc-cache/fc-cache.c (scanDirs):
121 * fontconfig/fontconfig.h:
122 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
123 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
124 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
125 * src/fcdir.c (FcDirScanConfig):
128 Compare device numbers as well as inodes.
129 Always normalize directory names before comparing them.
131 2006-01-11 Mike Fabian <mfabian@suse.de>
134 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
136 Allocate extra space for appended '/' in directory name.
138 2006-01-10 Patrick Lam <plam@mit.edu>
139 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
140 FcDirCacheValid, FcDirCacheHasCurrentArch,
141 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
142 * fc-cache/fc-cache.c (main):
144 Explicitly add font dirs to config.fontDirs even if they're empty.
145 Set current config in fc-cache.c.
146 Fix treatment of cache directory as read from cache file; don't
147 use string equality to determine if we have the right file,
150 2006-01-09 Patrick Lam <plam@mit.edu>
151 * fc-cache/fc-cache.c (scanDirs):
152 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
153 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
154 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
155 * src/fccfg.c (FcConfigNormalizeFontDir):
156 * src/fcdir.c (FcDirScanConfig):
159 Normalize font dirs by using the form, as given in fonts.conf, and
160 recorded in FcConfig's fontDirs string set, as canonical.
162 Actually update config.fontDirs as font directories are scanned.
164 2006-01-08 James Su <james.su@gmail.com>
165 * src/fcmatch.c (FcFontSetMatch):
167 Fix matching bug when multiple elements match; don't use
168 the sum of all scores, but the best score.
170 Also more perf opts, e.g. evaluate best over all font sets
171 rather than on a per-set basis (and other changes).
173 2006-01-08 Patrick Lam <plam@mit.edu>
174 * src/fccache.c (FcDirCacheConsume):
176 Properly skip past dir caches that contain zero fonts (as occurs
177 in global caches.) Reported by Mike Fabian.
179 2006-01-06 Patrick Lam <plam@mit.edu>
180 * src/fcdbg.c (FcPatternPrint):
182 Print out full pathname in fc-match -v as well. Reported by
185 2006-01-06 Mike Fabian <mfabian@suse.de>
188 * src/fcname.c (FcNameParse):
190 Fix bug where fc-match crashes when given __DUMMY__ property to
193 (I added the __DUMMY__ string to enable callers of
194 FcObjectToPtrLookup to distinguish an error return from a
195 successful return. -PL)
197 2006-01-05 Patrick Lam <plam@mit.edu>
200 Add self to AUTHORS list.
202 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
203 FcCacheFileRead, FcCachePrintSet, main):
204 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
205 FcGlobalCacheSave, FcCacheNextOffset,
206 FcDirCacheHasCurrentArch, FcDirCacheRead,
207 FcDirCacheConsume, FcDirCacheWrite):
209 * src/fcpat.c (comment):
211 Minor change to global cache file format to fix fc-cat bug
212 reported by Frederic Crozat, and buglet with not globally caching
213 directories with zero fonts cached.
215 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
218 * src/fccfg.c (FcConfigEvaluate):
220 Fix double-free which occurs because FcValueCanonicalize doesn't
221 create an extra copy of the returned value, it only canonicalizes
224 2006-01-02 Patrick Lam <plam@mit.edu>
225 * doc/fontconfig-user.sgml:
227 Fix version of .cache file (currently 1 -> currently 2). Reported
230 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
233 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
235 Shut up GCC warnings on amd.
237 2005-12-20 Patrick Lam <plam@mit.edu>
241 * fontconfig/fontconfig.h:
243 Bump version to 2.3.93.
245 2005-12-20 Patrick Lam <plam@mit.edu>
246 * src/fccharset.c (FcLangCharSetPopulate):
247 * src/fcint.h (FcCacheBankToIndex):
249 Avoid check on _fcBankId nullness and fix case where it used to
252 2005-12-20 Patrick Lam <plam@mit.edu>
253 * src/fcxml.c (FcConfigParseAndLoad):
255 Use open instead of fopen (requested by Phil Race for Sun).
257 2005-12-20 Patrick Lam <plam@mit.edu>
258 * src/fccache.c (FcDirCacheWrite);
259 * fc-cache/Makefile.am:
261 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
264 2005-12-20 Patrick Lam <plam@mit.edu>
265 * src/fcfreetype.c (FcFreeTypeQuery):
267 Restore code to skip over PCF fonts that have no encoded
269 (We guess that a font is PCF by presence of the PIXEL_SIZE
272 2005-12-12 Patrick Lam <plam@mit.edu>
273 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
275 Read and write the original location as a fallback for the
276 hashed cache file locations. This is mostly for users to be
277 able to have per-directory cache files.
279 2005-12-12 Patrick Lam <plam@mit.edu>
280 * fc-cache/fc-cache.c (scanDirs):
281 * fc-cache/Makefile.am:
282 * src/fccache.c (FcDirCacheHashName):
284 Improve error message when fc-cache can't write the cache. Add
285 missing slash. Reported by Behdad. Incorporate Behdad's patch to
286 create /var/cache/fontconfig when appropriate.
288 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
291 * src/fcxml.c (FcConfigGetAttribute):
293 Fix crash reported by Frederic Crozat when using libxml2.
295 2005-12-09 Patrick Lam <plam@mit.edu>
298 * fc-cache/Makefile.am:
299 * fc-cat/Makefile.am:
301 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
302 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
303 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
304 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
305 FcDirCacheHasCurrentArch, FcDirCacheHashName,
306 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
308 Migrate cache files from fonts directories to
309 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
310 but requires that all caches get rebuilt.
312 Also, autogen.sh now needs the additional parameter
313 --localstatedir=/var.
315 2005-12-07 Patrick Lam <plam@mit.edu>
316 * src/fcpat.c (FcPatternAddString):
318 Because we've changed FcPatternAddString to use FcStrStaticName
319 and not FcValueSave, explicitly handle the case of a null string.
321 2005-12-06 Patrick Lam <plam@mit.edu>
322 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
326 2005-12-05 Patrick Lam <plam@mit.edu>
327 * src/fcname.c (FcNameGetObjectType):
329 Don't assign types to user object names.
331 2005-12-05 Patrick Lam <plam@mit.edu>
332 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
334 Don't free strings that have been returned from FcStrStaticName.
336 2005-12-01 Patrick Lam <plam@mit.edu>
337 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
339 Add codepath for reading global cache files as well.
341 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
344 * conf.d/10-fonts.persian.conf:
345 * conf.d/Makefile.am:
347 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
349 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
352 * src/fcxml.c (FcConfigParseAndLoad):
354 Only add a config file to the set of config files once.
356 2005-11-29 Patrick Lam <plam@mit.edu>
357 * src/fcint.h (FcCacheBankToIndex);
359 Fix segfault by guarding array dereference.
361 2005-11-29 Dirk Mueller <dmueller@suse.de>
365 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
366 FcCacheBankToIndex, FcCacheBankToIndexMTF,
370 Refactor FcCacheBankToIndex into an inlineable part
371 (in fcint.h) which checks the front of the list and a
372 non-inlineable part which finds and moves the appropriate element
373 to the front of the list.
375 2005-11-29 Patrick Lam <plam@mit.edu>
376 * src/fccfg.c (FcConfigBuildFonts):
377 * src/fccache.c (FcCacheReadDirs):
379 Make the perf guys hate me a bit less: hoist the directory-name
380 FcConfigAcceptFont check for cached fonts up to directory cache
381 read time, rather than running it for each font.
383 2005-11-29 Patrick Lam <plam@mit.edu>
384 * src/fccfg.c (FcConfigBuildFonts):
386 * src/fcpat.c (FcPatternFindFullFname):
388 Don't make FcPatternFindFullFname available to fccfg, it's not
389 really safe. Instead go through FcPatternGetString (sorry,
390 perf guys.) Also, use globs for dirs as well.
392 2005-11-28 Patrick Lam <plam@mit.edu>
393 * src/fccfg.c (FcConfigBuildFonts):
397 2005-11-28 Patrick Lam <plam@mit.edu>
399 * src/fcpat.c (FcPatternFindFullFname):
400 * src/fccfg.c (FcConfigBuildFonts):
402 Fix problem dating back at least to 2.3.2 where globs weren't
403 being applied to patterns loaded from a cache.
405 2005-11-28 Patrick Lam <plam@mit.edu>
406 * doc/fontconfig-user.sgml:
408 Fix some obvious spelling mistakes.
410 2005-11-28 Dirk Mueller <dmueller@suse.com>
411 Stephan Kulow <coolo@suse.de>
414 * src/fcmatch.c (FcFontSetMatch):
416 Don't kill all fonts during match (oops!)
419 2005-11-25 Dirk Mueller <dmueller@suse.com>
420 Stephan Kulow <coolo@suse.de>
421 Michael Matz <matz@suse.de>
424 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
427 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
428 inline FcCompare into FcFontSetMatch and reorder the
429 loops, adding a boolean array which blocks patterns from future
430 consideration if they're known to not be best on some past
433 2005-11-26 Dirk Mueller <dmueller@suse.com>
436 * src/fcmatch.c (FcCompareValueList):
440 2005-11-25 Patrick Lam <plam@mit.edu>
441 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
443 Don't do random matching when bad objects are passed into
446 2005-11-25 Patrick Lam <plam@mit.edu>
448 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
449 FcPatternSerialize, FcPatternUnserialize,
450 FcValueListEnsureBank, FcValueListDistributeBytes,
451 FcValueListUnserialize):
453 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
454 _fcPatternElts, _fcValueLists for consistency.
456 2005-11-25 Dirk Mueller <dmueller@suse.com>
461 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
463 2005-11-25 Patrick Lam <plam@mit.edu>
465 * src/fccache.c (FcDirCacheConsume):
466 * src/fccharset.c (FcCharSetUnserialize):
467 * src/fcfs.c (FcFontSetUnserialize):
468 * src/fclang.c (FcLangSetUnserialize):
469 * src/fcname.c (FcObjectUnserialize):
470 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
471 FcPatternUnserialize):
473 Pass around FcCache *s to the Unserialize functions for extra
474 consistency (and less overhead, for what that's worth).
476 2005-11-24 Dirk Mueller <dmueller@suse.com>
480 * src/fcmatch.c (FcCompare*, FcFontSetSort):
481 * src/fcname.c (FcNameUnparseValue):
483 Inline the *PtrU functions to gain perf.
484 Remove unneeded params for the FcCompare* functions.
486 2005-11-24 Dirk Mueller <dmueller@suse.com>
489 * src/fcint.h, fontconfig/fontconfig.h:
491 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
493 * src/fcpat.c, src/fcint.h, src/fcname.c:
495 Check for type validity during FcPatternAddWithBinding, don't
496 verify type in FcFontMatch, don't call FcCanonicalize here
497 (which always does a deep copy).
499 2005-11-24 Dirk Mueller <dmueller@suse.com>
502 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
503 * src/fcpat.c (FcPatternAddWithBinding):
505 Make FcCompareString and FcCompareFamily less expensive.
506 Only add a value for FC_FAMILY if the proposed value is a string.
508 2005-11-24 Dirk Mueller <dmueller@suse.com>
511 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
512 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
513 * src/fcint.h (FcDebug):
515 Inline FcDebug invocations and only initialize once, in FcInit*.
516 Improve debug msg in FcPatternPrint.
518 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
521 * fontconfig/fontconfig.h:
524 Minor code warning cleanups.
526 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
529 * fc-match/fc-match.c (main):
531 Make getopt_long accept -s parameter to fc-match as well.
533 2005-11-21 Dirk Mueller <dmueller@suse.com>
536 * src/fcmatch.c (FcCompareValueList):
538 Manually perform inlining & partial redundancy elimination to
539 reduce calls to FcValueListPtrU.
541 2005-11-21 Dirk Mueller <dmueller@suse.com>
544 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
545 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
547 Only invoke strlen() when really necessary.
549 2005-11-19 Matthias Clasen <mclasen@redhat.com>
553 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
558 Get rid of the use of freetype internal headers in fcfreetype.c,
559 since those headers will go away with freetype 2.2. Replace with
560 public domain ftglue code from pango. Note that the patch removes
561 some extra error checking in FT_Get_BDF_Property() and comments
562 out the skipping of empty pcf fonts.
564 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
567 * fc-lang/fc-lang.c (main):
569 Further fix of patch from 2005-11-04: miscounted numbers count
570 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
571 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
573 Removed leafidx_count and numbers_count since they are the same
574 and replaced them with offset_count.
576 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
579 * fc-cat/fc-cat.c (main):
581 Don't crash when fc-cat invoked with no arguments.
583 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
586 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
588 Fix invalid read access caused by premature free and
589 GCC4 warnings in libxml2 codepath.
591 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
594 * src/fccfg.c (FcConfigValues):
596 List iteration not needed in FcConfigValues, since it's building
597 up the list itself; we can just strip FcVoid elements during
600 2005-11-17 Patrick Lam <plam@mit.edu>
601 * src/fccfg.c (FcConfigValues):
603 Fix crash on invalid constants in config files (forgot to update
604 a pointer upon list iteration.)
606 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
609 * src/fcxml.c (FcTypecheckExpr):
611 Complain about invalid constants in config files.
613 2005-11-17 Andreas Schwab <schwab@suse.de>
616 * src/fccache.c (FcGlobalCacheSave):
618 Don't add current_arch_start more than once.
620 2005-11-16 Patrick Lam <plam@mit.edu>
621 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
622 * src/fcfs.c (FcFontSetUnserialize):
623 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
624 * src/fcpat.c (FcStrUnserialize):
626 Fix ordering of ALIGN with respect to saving block_ptr; add
627 another ALIGN to fcfs.c.
629 2005-11-16 Patrick Lam <plam@mit.edu>
630 * src/fccache.c (FcDirCacheProduce)
632 Fix case where alignment bytes bumped up metadata->count
633 causing unwarranted failures to write cache files.
634 (Reported by Stephan Kulow).
636 2005-11-16 Patrick Lam <plam@mit.edu>
637 * src/fccache.c (FcDirCacheProduce):
638 * src/fccharset.c (FcCharSetDistributeBytes):
639 * src/fcfs.c (FcFontSetDistributeBytes):
641 * src/fclang.c (FcLangSetDistributeBytes):
642 * src/fcname.c (FcObjectDistributeBytes):
643 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
646 Add *NeededBytesAlign(), which overestimates the padding which is
647 later added by the new ALIGN macro. Fix alignment problems on
648 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
649 version by Andreas Schwab).
651 2005-11-16 Stephan Kulow <coolo@kde.org>
656 Use sysconf to determine proper PAGESIZE value; this
657 appears to be POSIX-compliant. (reported by Andreas Schwab)
659 2005-11-04 Patrick Lam <plam@mit.edu>
665 Fix bug 2878 (excessive relocations at startup for charsets,
666 reported by Ross Burton): fc-lang/fc-lang now creates the
667 static form of the langset, not the dynamic form, so that
668 the charsets should now be in .rodata.
670 2005-11-04 Patrick Lam <plam@mit.edu>
671 * src/fcdir.c (FcDirScanConfig):
673 Add test for validity of directory caches that
674 somehow got lost (reported by make distcheck).
676 2005-11-04 Patrick Lam <plam@mit.edu>
680 * fontconfig/fontconfig.h:
682 Bump version to 2.3.92.
684 2005-11-02 Patrick Lam <plam@mit.edu>
685 * src/fcpat.c (FcPatternDuplicate):
687 Fix argument ordering problem in call to FcPatternTransferFullFname.
689 2005-11-02 Patrick Lam <plam@mit.edu>
690 * src/fcfreetype.c (FcFreetypeQuery):
691 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
692 FcPatternTransferFullFname):
694 Fix warnings and embarrassing double-free error.
696 2005-11-02 Zhe Su <zsu@novell.com>
701 Change the rule for artificial emboldening in fonts.conf.in. This
702 enables the support for artificial emboldening included in cairo.
704 2005-11-02 Patrick Lam <plam@mit.edu>
705 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
707 Don't zero out full names for FC_REF_CONSTANT fonts;
708 also, duplicate full names when transferring, and free
709 full names when freeing the associated font.
710 Reported by Jinghua Luo.
712 2005-11-02 Patrick Lam <plam@mit.edu>
713 * fc-cache/fc-cache.c (scanDirs):
714 * src/fcpat.c (FcValueListSerialize):
716 Revert the previous patch and commit the correct patch:
717 I forgot a canonicalization in FcValueListSerialize, so
718 that it would choke on already-serialized input files. Duh!
720 2005-11-02 Patrick Lam <plam@mit.edu>
721 * fc-cache/fc-cache.c (scanDirs):
723 Forcibly rescan a directory before writing a fresh local
724 cache file for that directory, fixing the losing-fonts
725 problem reported by Mike Fabian and also apparently the
726 font cache file corruption.
728 2005-11-02 Patrick Lam <plam@mit.edu>
729 * src/fccache.c (FcGlobalCacheLoad):
731 Fix thinko: actually, the whole global cache is stale
732 if the global cache is older than the (newest) config file.
734 2005-11-02 Patrick Lam <plam@mit.edu>
735 * src/fccache.c (FcGlobalCacheLoad):
736 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
739 Declare the global cache of a directory's contents to be stale if
740 the directory is newer than the (newest) configuration file.
742 2005-10-31 Patrick Lam <plam@mit.edu>
744 * src/fclist.c (FcListAppend):
745 * src/fcmatch.c (FcFontRenderPrepare):
746 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
747 FcPatternFreeze, FcPatternBaseFreeze):
749 Copy the full pathname whenever duplicating an FcPattern; otherwise,
750 applications continue breaking.
752 2005-10-31 Patrick Lam <plam@mit.edu>
753 * fc-cat/fc-cat.c (FcCacheFileRead, main):
754 * src/fcfreetype.c (FcFreeTypeQuery):
756 Fix small memory error (tried to free argv); use basename and
757 dirname correctly (they can modify their arguments).
759 2005-10-31 Patrick Lam <plam@mit.edu>
767 Reinstate basename patch, but keep a hash table linking FcPatterns
768 to their fully-qualified font names for clients' benefit. Clients
769 only pay for the font names once they request the FC_FILE property
770 from an FcPattern, but the font name is malloc'd at that point (i.e.
771 not mmapped: that's impossible, since it may vary between machines.)
772 Clients do have to pay for a copy of the path name per cache file.
774 Note that FcPatternGetString now does some rewriting if you ask
775 for an FC_FILE, appending the pathname as appropriate.
777 2005-10-31 Patrick Lam <plam@mit.edu>
778 * src/fcfreetype.c (FcFreeTypeQuery):
780 Revert basename patch, which breaks fontconfig clients on my system.
782 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
785 * fontconfig/fonts.conf.in:
786 * fontconfig/fontconfig.h:
790 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
791 to load embedded bitmaps or not.
793 2005-10-25 Patrick Lam <plam@mit.edu>
794 * src/fcfreetype.c (FcFreeTypeQuery):
796 Only add basename to patterns' FC_FILE element, not any part of
799 2005-10-22 Patrick Lam <plam@mit.edu>
802 Add some more consts, fixing more GCC4 warnings.
804 2005-10-22 Zhe Su <zsu@novell.com>
807 Support localized font family and style names.
808 This has been reported to break old apps like xfd, but modern
809 (gtk+/qt/mozilla) apps work fine.
811 2005-10-21 Patrick Lam <plam@mit.edu>
812 * src/fccache.c (FcGlobalCacheLoad):
814 Destroy the global cache file if it's terminally broken. (reported by
817 2005-10-21 Patrick Lam <plam@mit.edu>
818 * fc-list/fc-list.c (main):
819 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
820 * fontconfig/fontconfig.h:
822 Prevent fc-list from escaping strings when printing them (reported by
825 2005-10-20 Marcus Meissner <meissner@suse.de>
828 * fontconfig/fontconfig.h:
830 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
832 2005-10-14 Ross Burton <ross@burtonini.com>
835 * fc-glyphname/fc-glyphname.c:
838 Add consts to variables so as to move arrays into .rodata.
840 2005-10-14 Mike Fabian <mfabian@suse.de>
843 * src/fccache.c (FcDirCacheUnlink):
845 Check existence of directory cache file before attempting to unlink.
847 2005-10-13 Patrick Lam <plam@mit.edu>
848 * src/fccache.c (FcDirCacheUnlink):
850 Fix flipped return value on unlink. (Reported by Mike Fabian)
852 2005-10-12 Patrick Lam <plam@mit.edu>
855 * src/fcdir.c (FcDirScanConfig):
858 When fc-cache is run without --force, use directory cache files
859 to speed up fc-cache run time. (Reported by Mike Fabian)
861 2005-10-06 Patrick Lam <plam@mit.edu>
863 * src/fcname.c (FcObjectToPtr):
864 * src/fcpat.c (FcStrStaticName):
866 Add padding to make valgrind and glibc not hate each other
867 when calling strlen().
869 2005-10-05 Simos Xenitellis <simos74@gmx.net>
870 reviewed by: plam & keithp
874 Modify config file to use Greek fonts before Asian fonts with
877 2005-10-05 Christian Biesinger <cbiesinger@web.de>
878 reviewed by: plam & keithp
882 Use libtool -no-undefined flag on all platforms.
884 2005-10-05 Patrick Lam <plam@mit.edu>
885 * src/fccache.c (FcCacheHaveBank):
887 Implement move-to-front array for banks (perf regression
888 reported by Ronny V. Vindenes).
890 2005-10-04 Patrick Lam <plam@mit.edu>
891 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
892 FcDirCacheHasCurrentArch):
893 * fc-cache/fc-cache.c (scanDirs):
894 * fontconfig/fontconfig.h:
896 Add new API which unlinks directory caches and checks dir caches
897 for existence of appropriate sections. Fix fc-cache to unlink
898 stale cache files and save directory caches that lack relevant
901 2005-10-03 Patrick Lam <plam@mit.edu>
902 * src/fccache.c (FcDirCacheValid):
904 Ensure that a directory cache has the appropriate section
905 before reporting that it is valid (reported by Matthias Clasen).
907 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
915 Use libxml2 if requested (with --enable-libxml2) or if
916 expat is not available.
918 2005-09-29 Patrick Lam <plam@mit.edu>
919 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
921 Fix multi-arch cache files: compute the position for the
922 block to be added using info from OrigFile, not NewFile.
924 2005-09-28 Patrick Lam <plam@mit.edu>
925 * src/fccache.c (FcCacheMachineSignature):
927 Cast results of sizeof() to unsigned int to get rid of
928 warnings on x86_64 (thanks Matthias Clasen).
930 2005-09-27 Patrick Lam <plam@mit.edu>
931 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
934 Use FcAtomic to rewrite cache files.
936 2005-09-27 Patrick Lam <plam@mit.edu>
938 * src/fccache.c (FcDirCacheWrite):
940 Don't unlink the fonts.cache-2 file even if there's no data
941 to write; just write an empty cache file. (thanks Lubos Lunak)
943 2005-09-27 Patrick Lam <plam@mit.edu>
945 * src/fccache.c (FcDirCacheWrite):
947 Allocate room for the subdirectory names in each
948 directory cache. Thanks to James Cloos for finding
949 and diagnosing this bug!
951 2005-09-22 Patrick Lam <plam@mit.edu>
953 * fc-cache/fc-cache.sgml:
954 * src/fccache.c (FcDirCacheWrite):
955 * src/fccache.h (struct FcCache):
957 Update documentation -- fc-cache's man page now says that you
958 need to run fc-cache once per cached architecture; add some
959 documentation to the FcCache structure.
961 Make fc-cache write out fonts.cache-2 files for directories with
962 no fonts (i.e. only subdirectories).
964 2005-09-22 Patrick Lam <plam@mit.edu>
966 * fc-cache/fc-cache.sgml:
968 * fc-glyphname/fc-glyphname.c:
974 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
979 * fontconfig/fcprivate.h:
980 * fontconfig/fontconfig.h:
994 Implement new mmaped cache for font information.
995 Bump so revision to 2.3.90.
997 2005-07-25 Keith Packard <keithp@keithp.com>
999 * doc/fontconfig-user.sgml:
1000 * fc-glyphname/fc-glyphname.c: (scan), (main):
1001 * fc-lang/fc-lang.c: (FcConfigHome):
1002 * fc-match/fc-match.c: (main):
1003 * src/fccfg.c: (FcConfigHome):
1004 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1005 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1006 (addtag), (FcFontCapabilities):
1007 * src/fcpat.c: (FcValueListEntCreate):
1008 * src/fcstr.c: (FcStrCaseWalkerInit):
1009 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1011 Various GCC 4 cleanups for signed vs unsigned char
1013 Match only [0-9]*.conf files in <include>{directory}</include>
1014 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1016 2005-07-15 Carl Worth <cworth@cworth.org>
1019 * src/fcinit.c: (FcFini):
1020 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1023 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1024 Pull the FcObjectStateName hash table out to file scope, and add
1025 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1028 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1031 2005-06-16 Patrick Lam <plam@MIT.EDU>
1035 * src/fccfg.c: (FcConfigCompareValue):
1036 Make FcOpNotContains use FcStrStr for strings so that
1037 it matches semantics for !FcOpContains.
1039 2005-05-20 Keith Packard <keithp@keithp.com>
1043 Move fontconfig source package to libs as per override
1045 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1047 reviewed by: Mike Fabian
1050 The ka.orth file requires several characters which are not
1051 used anymore in modern Georgian and which are missing in the free
1052 Georgian TrueType fonts downloadable at:
1054 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1056 2005-04-27 Keith Packard <keithp@keithp.com>
1060 Update date to real 2.3.2 release date.
1061 Fix change attributions
1063 2005-04-27 Keith Packard <keithp@keithp.com>
1066 Bump so revision for 2.3.2
1067 * fc-cache/fc-cache.c: (scanDirs):
1068 Fix a few minor leaks in error cases.
1070 2005-04-23 Keith Packard <keithp@keithp.com>
1075 * fontconfig/fontconfig.h:
1076 Update for version 2.3.2
1078 2005-04-21 Keith Packard <keithp@keithp.com>
1080 * debian/fontconfig.postinst:
1081 Don't force bitmap font enable in default
1082 configuration; allows users to override this in
1092 * debian/po/pt_BR.po:
1093 * debian/po/templates.pot:
1095 * debian/po/zh_CN.po:
1096 Updated translations
1098 * fc-cache/fc-cache.c: (main):
1099 Destroy font configuration on exit to help valgrind
1102 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1103 (FcFreeTypeCheckGlyph):
1104 Use own transcoding routines in preference to iconv
1105 which appears to have leaks in some translators.
1106 Call iconv_close after using iconv (oops).
1108 Prefer unicode encoding of Euro char as some
1109 fonts mis-encode Euro in other ones.
1111 Must fetch bitmap glyphs to get width values
1112 to check for monospace/dual-width fonts.
1114 2005-04-13 Ross Burton <ross@burtonini.com>
1117 Check that a pattern isn't already frozen in FcPatternFreeze.
1119 2005-03-31 Ross Burton <ross@burtonini.com>
1124 Run all FcPattern objects through FcObjectStaticName, so that
1125 compares can be done on pointers instead of strings (#2659)
1127 2005-03-17 Tor Lillqvist <tml@novell.com>
1129 * src/fontconfig.def.in: Add the .dll to the dll name.
1131 2005-03-10 Keith Packard <keithp@keithp.com>
1133 * debian/README.Debian:
1134 Update to reflect configuration changes
1136 * debian/fontconfig.postinst:
1137 Fix Autohint vs Autohinter mistake
1138 * debian/fontconfig.templates:
1139 Adopt changes from Josselin Mouette for configuration descriptions
1140 Update debian to version 2.3.1-2
1142 2005-03-08 Keith Packard <keithp@keithp.com>
1146 Update debian for 2.3.1
1148 2005-03-09 Tor Lillqvist <tml@novell.com>
1150 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1153 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1156 2005-03-08 Keith Packard <keithp@keithp.com>
1160 * fontconfig/fontconfig.h:
1163 2005-03-05 Keith Packard <keithp@keithp.com>
1165 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1166 Include space and remove numbers from valid script tags.
1167 This ensures that tags like 'lao ' work while rejecting
1168 those which have any digits.
1169 Eliminate a spurious debugging variable (len)
1171 2005-03-05 Keith Packard <keithp@keithp.com>
1173 * src/fcfreetype.c: (addtag), (GetScriptTags),
1174 (FcFontCapabilities):
1175 Rework GSUB/GPOS script parsing to survive broken fonts.
1176 Thanks for the broken font go to Manish Singh
1178 2005-03-05 Keith Packard <keithp@keithp.com>
1183 * debian/fontconfig.config:
1184 * debian/fontconfig.templates:
1186 Include 2.3 release information in changelog
1187 Add Josselin Mouette as an Uploader
1188 Set hinting_type to low priority configuration option
1191 * debian/fontconfig.postinst:
1192 yes_bitmaps.conf -> yes-bitmaps.conf
1198 2005-03-02 Keith Packard <keithp@keithp.com>
1201 * conf.d/Makefile.am:
1202 * conf.d/autohint.conf:
1203 * conf.d/no-sub-pixel.conf:
1204 * conf.d/sub-pixel.conf:
1205 * conf.d/unhinted.conf:
1206 * debian/autohint.conf:
1207 * debian/fontconfig.install:
1208 * debian/fontconfig.postinst:
1209 * debian/fontconfig.templates:
1210 * debian/no-sub-pixel.conf:
1211 * debian/unhinted.conf:
1212 Move debian-specific conf file examples upstream.
1214 Sub-pixel configuration examples must smash subpixel value
1215 as Xft always sets it from X.
1217 Change sub-pixel rendering debconf descriptions from
1218 Enable/Disable to Always/Never.
1220 2005-03-02 Keith Packard <keithp@keithp.com>
1223 * conf.d/.cvsignore:
1225 Ignore more build detritus
1228 Add debian package construction stuff.
1230 * config/config.guess:
1231 * config/config.sub:
1232 Update to newer versions of these tools
1235 Get library manuals to build again (we love automake).
1237 * debian/README.Debian:
1238 * debian/autohint.conf:
1243 * debian/fontconfig-udeb.install:
1244 * debian/fontconfig.config:
1245 * debian/fontconfig.defoma:
1246 * debian/fontconfig.dirs:
1247 * debian/fontconfig.install:
1248 * debian/fontconfig.postinst:
1249 * debian/fontconfig.postrm:
1250 * debian/fontconfig.templates:
1251 * debian/libfontconfig1-dev.install:
1252 * debian/libfontconfig1.install:
1253 * debian/local.conf.md5sum:
1254 * debian/no-sub-pixel.conf:
1255 * debian/po/POTFILES.in:
1264 * debian/po/pt_BR.po:
1265 * debian/po/templates.pot:
1267 * debian/po/zh_CN.po:
1269 * debian/unhinted.conf:
1270 Update debian build system to switch maintainers and
1271 deal with 2.3 functionality
1273 2005-03-01 Keith Packard <keithp@keithp.com>
1277 * fontconfig/fontconfig.h:
1280 2005-03-01 Keith Packard <keithp@keithp.com>
1283 Generate and install PDF versions of the manuals
1285 * doc/fcpattern.fncs:
1288 * doc/fcstring.fncs:
1289 Add missing exported functions, fix data types
1291 * doc/fontconfig-devel.sgml:
1292 Add missing pattern elements.
1294 * doc/fontconfig-user.sgml:
1295 Add missing pattern elements. Document conf.d usage,
1296 clarify available orthography list. Fix some config file
1297 attributes. Complete list of constants.
1299 * fontconfig/fontconfig.h:
1300 Mark FC_SOURCE deprecated.
1302 * src/fcfreetype.c: (FcFreeTypeQuery):
1303 Don't set FC_SOURCE any longer.
1305 2005-02-28 Keith Packard <keithp@keithp.com>
1308 * conf.d/Makefile.am:
1310 * conf.d/no-bitmaps.conf:
1311 * conf.d/sub-pixel.conf:
1312 * conf.d/yes-bitmaps.conf:
1314 Create prototype /etc/fonts/conf.d directory with a few
1315 sample configuration files.
1316 Deprecate use of local.conf for local customizations in favor of
1317 this directory based scheme which is more easily integrated into
1318 installation systems.
1321 Tag FC_EMBOLDEN as a boolean variable
1323 2005-02-10 Keith Packard <keithp@keithp.com>
1325 reviewed by: pborelli@katamail.com
1327 * src/fcdir.c: (FcFileScanConfig):
1328 Free patterns from fonts which are rejected by configuration
1331 2005-01-28 Keith Packard <keithp@keithp.com>
1335 * fontconfig/fontconfig.h:
1336 Update for version 2.2.99
1338 2005-01-28 Keith Packard <keithp@keithp.com>
1341 Add a few pointers (#2284, #2285)
1343 2005-01-28 Keith Packard <keithp@keithp.com>
1346 * src/fcname.c: (FcNameBool):
1347 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1348 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1349 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1350 Polite typechecking for test and edit expressions. Helps
1351 catch errors in the font configuration. (bug 229)
1353 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1355 reviewed by: Keith Packard <keithp@keithp.com>
1358 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1360 2005-01-13 Keith Packard <keithp@keithp.com>
1362 * doc/fontconfig-user.sgml:
1363 Add SEE ALSO section (bug 2085)
1365 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1367 reviewed by: Keith Packard <keithp@keithp.com>
1372 * fc-case/Makefile.am:
1373 * fc-glyphname/Makefile.am:
1374 * fc-lang/Makefile.am:
1375 * src/fontconfig.def.in:
1376 Cross compiling fixes (bug 280)
1378 2005-01-13 Keith Packard <keithp@keithp.com>
1381 Update blanks list (Closes bug 86)
1383 2005-01-04 Keith Packard <keithp@keithp.com>
1385 * src/fccache.c: (FcCacheFontSetAdd):
1386 Verify that every font pattern loaded from cache has
1387 both FC_FILE and FC_FAMILY entries.
1388 Attempt to fix bug #2219.
1390 2004-12-29 Keith Packard <keithp@keithp.com>
1394 * fontconfig/fontconfig.h:
1395 Update for version 2.2.98
1397 2004-12-29 Keith Packard <keithp@keithp.com>
1399 * fontconfig/fontconfig.h:
1400 Document ASCII limitations of Fc character conversion macros
1401 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1402 Fix off-by-one error in utf-8 case walking code.
1403 Add FcStrDowncase (useful for testing case conversion functions)
1405 2004-12-29 Keith Packard <keithp@keithp.com>
1408 * fc-case/.cvsignore:
1409 clean up CVS ignore lists
1410 * fc-lang/iso-3166.txt:
1411 Add territory database
1413 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1415 Reviewed by: Keith Packard
1418 Remove Han characters from Korean orthography
1420 2004-12-29 Keith Packard <keithp@keithp.com>
1423 Reorder utility programs to make sure fc-case is run before fc-lang
1424 as fc-lang uses fcstr.c which uses fccase.h
1428 2004-12-29 Keith Packard <keithp@keithp.com>
1431 Adopt some RedHat suggestions for standard font configuration.
1435 * fc-case/CaseFolding.txt:
1436 * fc-case/Makefile.am:
1437 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1438 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1439 (dump), (parseRaw), (caseFoldReadRaw), (main):
1440 * fc-case/fccase.tmpl.h:
1441 Add new helper program 'fc-case' to construct case folding
1442 tables from standard Unicode CaseFolding.txt file
1445 * src/fclist.c: (FcListValueHash):
1446 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1447 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1448 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1449 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1450 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1451 Re-implement case insensitive functions with Unicode
1452 aware versions (including full case folding mappings)
1454 2004-12-13 Keith Packard <keithp@keithp.com>
1456 reviewed by: Owen Taylor <otaylor@redhat.com>
1458 * src/fcmatch.c: (FcFontSetSort):
1459 I changed FcFontSetSort to respect the generic aliases better
1460 in the face of language matching.
1462 What I did was to ammend the strict sort order used by FcFontSort so
1463 that it 'satisfies' the language specified in the pattern by locating
1464 the best matching font supporting each pattern language and then
1465 ignores language in the remaining fonts for purposes of matching.
1467 So, when asking for 'sans:lang=en', you'll get an English font first,
1468 and then the remaining fonts sorted with respect to the 'sans' alias
1469 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1471 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1473 reviewed by: Keith Packard <keithp@keithp.com>
1475 * fontconfig/fontconfig.h:
1478 Configuration changes to request synthetic emboldening of
1479 fonts. The actual emboldening code will live in Xft.
1481 2004-12-09 John Thacker <thacker@math.cornell.edu>
1483 reviewed by: Keith Packard <keithp@keithp.com>
1487 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1488 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1489 и), and don't even appear in KOI8-R. (The hypothesis that they
1490 don't appear in KOI8-R due to their similarity with Latin I and i is
1491 eliminated by their presence in KOI8-U.) I have a couple of fonts
1492 with Russian support that don't have the letter.
1494 Therefore, 0406 and 0456 should be removed from or commented out of
1497 2004-12-06 michael meeks <mmeeks@novell.com>
1499 Reviewed by: Keith Packard <keithp@keithp.com>
1501 * src/fcinit.c: (FcMemReport):
1503 * src/fclist.c: (FcObjectSetAdd):
1504 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1505 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1506 * src/fcxml.c: (FcParsePatelt):
1507 memoize strings and share a single copy for all uses. Note that
1508 this could be improved further by using statically allocated blocks
1509 and gluing multiple strings together, but I'm basically lazy.
1510 In my environment with 800 font files, I get a savings of about 90KB.
1512 2004-12-06 Keith Packard <keithp@keithp.com>
1516 * config/Makedefs.in:
1519 * doc/fcatomic.fncs:
1520 * doc/fcblanks.fncs:
1521 * doc/fccharset.fncs:
1522 * doc/fcconfig.fncs:
1523 * doc/fcconstant.fncs:
1525 * doc/fcfontset.fncs:
1526 * doc/fcfreetype.fncs:
1528 * doc/fcmatrix.fncs:
1529 * doc/fcobjectset.fncs:
1530 * doc/fcobjecttype.fncs:
1531 * doc/fcpattern.fncs:
1532 * doc/fcstring.fncs:
1533 * doc/fcstrset.fncs:
1535 * doc/fontconfig-devel.sgml:
1536 * doc/fontconfig-user.sgml:
1538 * doc/version.sgml.in:
1539 * fc-cache/Makefile.am:
1540 * fc-cache/fc-cache.c:
1541 * fc-glyphname/Makefile.am:
1542 * fc-glyphname/fc-glyphname.c:
1543 * fc-glyphname/fcglyphname.tmpl.h:
1544 * fc-lang/Makefile.am:
1554 * fc-lang/az_ir.orth:
1588 * fc-lang/fc-lang.c:
1589 * fc-lang/fc-lang.man:
1590 * fc-lang/fclang.tmpl.h:
1635 * fc-lang/ku_ir.orth:
1668 * fc-lang/ps_af.orth:
1669 * fc-lang/ps_pk.orth:
1698 * fc-lang/ti_er.orth:
1699 * fc-lang/ti_et.orth:
1725 * fc-lang/zh_cn.orth:
1726 * fc-lang/zh_hk.orth:
1727 * fc-lang/zh_mo.orth:
1728 * fc-lang/zh_sg.orth:
1729 * fc-lang/zh_tw.orth:
1731 * fc-list/Makefile.am:
1732 * fc-list/fc-list.c:
1733 * fc-match/Makefile.am:
1734 * fc-match/fc-match.1:
1735 * fc-match/fc-match.c:
1736 * fontconfig/fcfreetype.h:
1737 * fontconfig/fcprivate.h:
1738 * fontconfig/fontconfig.h:
1759 Change files from ISO-Latin-1 to UTF-8
1761 2004-12-04 Keith Packard <keithp@keithp.com>
1764 Update links to new freedesktop.org locations
1766 Add uninstall-local to get rid of fonts.conf and local.conf if they
1767 match the distributed versions. Fixes 'make distcheck'
1769 2004-12-04 Keith Packard <keithp@keithp.com>
1773 * fontconfig/fontconfig.h:
1774 Updates for version 2.2.97
1776 2004-12-04 Owen Taylor <otaylor@redhat.com>
1778 reviewed by: Keith Packard <keithp@keithp.com>
1780 * fc-cache/fc-cache.c: (main):
1781 Sleep for two seconds before exiting to make sure timestamps
1782 for future changes have distinct mod times in the file system.
1785 Add Punjabi orthography. Bug #1671.
1787 2004-12-04 Keith Packard <keithp@keithp.com>
1790 Just remove the FC_FONTDATE -- it has locale issues and
1791 annoys redhat multi-arch installs. Now that all X fonts are
1792 included without prejudice, the chances of the date being at
1793 all interesting are rather limited. Bug #505.
1795 Add copyright and license
1797 2004-12-04 Keith Packard <keithp@keithp.com>
1800 Change default set of fonts to include all of
1801 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1802 * doc/fontconfig-user.sgml:
1803 Document new <include>directory-name</include> semantics
1805 add <include ignore_missing="yes">conf.d</include>
1807 Add selectfont to ignore bitmap fonts, add comment for
1808 selectfont which accepts bitmap fonts.
1811 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1812 Allow <include> configuration elements to reference directories.
1813 Parse and load all files of the form [0-9]* in sorted order.
1815 2004-12-04 Keith Packard <keithp@keithp.com>
1818 Report command line for $srcdir/configure accurately.
1821 2004-12-04 Keith Packard <keithp@keithp.com>
1823 * src/fcfreetype.c: (FcFreeTypeQuery):
1824 Check for non-empty face->family_name and face->style_name
1825 before using those for the font. Empty names match everything.
1828 2004-12-04 Keith Packard <keithp@keithp.com>
1831 * fontconfig/fontconfig.h:
1832 * src/fcfreetype.c: (FcFreeTypeQuery):
1834 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1835 available. This provides font file format information (BDF, Type 1,
1836 PCF, TrueType) for each font. Closes #109.
1838 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1840 reviewed by: Keith Packard <keithp@keithp.com>
1842 * doc/fontconfig-user.sgml:
1845 * fontconfig/fontconfig.h:
1846 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1847 (GetScriptTags), (FcFontCapabilities):
1849 Add detection for font capabilities (bug #105)
1851 2004-12-04 Keith Packard <keithp@keithp.com>
1854 Move existing fonts.conf to fonts.conf.bak
1857 Add detection of iconv
1859 * doc/fcpattern.fncs:
1860 * doc/fontconfig-devel.sgml:
1861 * doc/fontconfig-user.sgml:
1863 Document new selectfont elements
1866 Switch to UTF-8 in comment
1868 * fontconfig/fontconfig.h:
1870 Add fullname, and family/style/fullname language entries
1872 * src/fccache.c: (FcCacheFontSetAdd):
1873 * src/fcdir.c: (FcFileScanConfig):
1874 Respect selectfont/*/glob
1877 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1878 (FcConfigCompareValue), (FcConfigPatternsAdd),
1879 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1880 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1881 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1882 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1883 Add support for selectfont
1885 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1886 (FcStringInPatternElement), (FcFreeTypeQuery):
1887 Add multi-lingual family/style/fullname support
1889 * src/fclist.c: (FcListPatternMatchAny):
1890 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1892 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1893 (FcObjectStaticName):
1894 Add new FcPatternRemove/FcPatternAppend.
1895 FcObjectStaticName stores computed pattern element names which
1896 are required to be static.
1898 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1903 Remove spurious / after $(DESTDIR)
1905 2004-06-30 Keith Packard <keithp@keithp.com>
1909 * fontconfig/fontconfig.h:
1912 2004-06-30 Keith Packard <keithp@keithp.com>
1914 Provided by: Lubos Lunak <l.lunak@suse.cz>
1916 * src/fccfg.c: (FcConfigUptoDate):
1917 However FcConfigUptoDate() doesn't seem to work. See the attached
1918 patch. First there's an obvious misplaced parenthesis making it
1919 return always false, and second, even this call fails to detect font
1920 changes (e.g. adding a new font to
1921 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1922 well. The problem seems to be triggered by my fonts.conf specifying
1923 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1924 doesn't include subdirs, unlike config->fontDirs.
1926 2004-06-03 Keith Packard <keithp@keithp.com>
1928 * fontconfig/fontconfig.h:
1929 Remove comma at end of FcResult enum definition.
1931 2004-05-29 Keith Packard <keithp@keithp.com>
1934 Add steps to md5sum release
1936 2004-05-29 Keith Packard <keithp@keithp.com>
1940 * fontconfig/fontconfig.h:
1943 2004-05-29 Keith Packard <keithp@keithp.com>
1945 * fontconfig/fontconfig.h:
1946 * src/fcmatch.c: (FcFontSetMatch):
1947 Add FcResultOutOfMemory to provide an accurate error when
1948 FcFontSetMatch fails in this way
1951 Make #warning about lacking various FreeType features indicate
1952 which version those features appeared so users know how to
1953 fix the problem (Thanks to Anton Tropashko)
1955 2004-05-05 Keith Packard <keithp@keithp.com>
1957 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1958 Replace MIN/MAX/ABS macros which happen to have come
1959 from FreeType with fontconfig-specific ones (FC_*)
1961 2004-04-23 Keith Packard <keithp@keithp.com>
1964 Extend release preparation instructions to include
1965 notification and distribution steps
1967 2004-04-23 Keith Packard <keithp@keithp.com>
1971 * fontconfig/fontconfig.h:
1972 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1974 2004-04-23 Keith Packard <keithp@keithp.com>
1977 Ignore a few more autotool files
1979 2004-04-14 Keith Packard <keithp@keithp.com>
1982 Add instructions for doing a release
1984 * fontconfig.spec.in:
1985 clean up .spec file; perhaps this will be useful to somebody...
1989 * fontconfig/fontconfig.h:
1992 * fc-lang/fc-lang.c:
1993 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1995 * fc-glyphname/Makefile.am:
1996 * fc-lang/Makefile.am:
1997 * fc-list/Makefile.am:
1998 * fc-match/Makefile.am:
2000 Add WARN_CFLAGS to pass -W flags for GCC systems
2002 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2003 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2004 Change various char types around to match across
2006 Fixed bug in using available_sizes[i].height which
2007 is in pixels, not 64ths of a pixel.
2009 2004-03-06 Keith Packard <keithp@keithp.com>
2011 * src/fcfreetype.c: (FcFreeTypeQuery):
2012 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2013 matches looking for explicit values prefer exact matches
2015 2004-03-02 Keith Packard <keithp@keithp.com>
2017 Supplied by: mfabian@suse.de (Mike FABIAN)
2019 * src/fcfreetype.c: (FcFreeTypeQuery):
2020 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2021 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2023 2004-02-21 Manish Singh <yosh@gimp.org>
2025 * fc-glyphname/fc-glyphname.c: (main):
2026 Cast strlen to int for printf, so we're 64-bit clean.
2028 2004-02-11 Keith Packard <keithp@keithp.com>
2031 * src/fcfreetype.c: (FcGetPixelSize):
2032 Ok, so I messed up the test for y_ppem. Let's see if I
2033 got it right this time.
2035 2004-02-10 Keith Packard <keithp@keithp.com>
2038 * src/fcfreetype.c: (FcGetPixelSize):
2039 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2040 FT_Bitmap_Size record. Add a configure.in test for this
2041 and change the code accordingly (using height instead).
2043 2004-02-06 Keith Packard <keithp@keithp.com>
2046 Add Low Saxon orthography
2047 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2049 * src/fccfg.c: (FcConfigNewestFile):
2050 Oops. Left 'newest.set' unset, which would miscompute
2053 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2054 (FcFreeTypeCheckGlyph):
2055 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2056 font properties (which report the wrong value in current FreeType)
2058 Don't attempt to check for empty glyphs in non-scalable fonts; they
2061 2004-02-01 Tor Lillqvist <tml@iki.fi>
2063 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2064 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2065 cache if config->cache is NULL, which happens if FcConfigHome() is
2066 NULL. Guard against that by using the temp folder in that case.
2068 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2070 * fc-lang/az_ir.orth:
2071 * fc-lang/ku_ir.orth:
2072 * fc-lang/ps_af.orth:
2073 * fc-lang/ps_pk.orth:
2074 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2075 (Afghan and Pakistani).
2077 Updated Urdu orthography with real data.
2079 2003-12-11 Carl Worth <cworth@east.isi.edu>
2081 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2084 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2086 (all-local): Remove excessive whitespace.
2088 * autogen.sh: Add 'set -e' to abort when any program fails,
2089 (avoids printing of 'now type make' after configure aborts).
2091 2003-11-17 Eric Christopherson <rakko@charter.net>
2093 reviewed by: Keith Packard <keithp@keithp.com>
2096 * fontconfig/fcfreetype.h:
2098 Switch to FreeType 2.1.7 style includes. Bug #150.
2100 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2102 * fc-list/fc-list.sgml: Add some example usages.
2104 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2107 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2110 2003-10-27 Keith Packard <keith@keithp.com>
2113 * fontconfig/fontconfig.h:
2114 Update to version 2.2.92
2116 2003-10-27 Keith Packard <keithp@keithp.com>
2121 * fc-cache/Makefile.am:
2122 * fc-glyphname/Makefile.am:
2123 * fc-lang/Makefile.am:
2124 * fc-list/Makefile.am:
2125 * fc-match/Makefile.am:
2128 Yet more cleanups to finish getting 'make distcheck' working
2129 This has been tested to ensure that it even works from a _build
2132 2003-10-26 Keith Packard <keithp@keithp.com>
2136 * fc-cache/Makefile.am:
2137 * fc-glyphname/Makefile.am:
2138 * fc-lang/Makefile.am:
2139 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2140 * fc-list/Makefile.am:
2141 * fc-match/Makefile.am:
2142 Attempts to fix 'make distcheck' work. Things are
2143 progressing pretty well, but there are still failures
2144 long into the process dealing with docs (as always).
2146 The big changes here are mostly to make $(srcdir) != "."
2147 work correctly, fixing the docbook related sections and
2148 fc-lang were particularily tricky. Docbook refuses to load
2149 system entities from anywhere other than where the original .sgml
2150 file was located, so no luck looking in "." for the
2151 configure-generated version.sgml and confdir.sgml files.
2153 fc-lang needed help finding .orth files; added a -d option
2154 to set the directory as the least evil of many options.
2156 Now to go use a faster machine and try and wring out the last
2159 2003-10-26 Keith Packard <keithp@keithp.com>
2163 2003-10-26 Keith Packard <keithp@keithp.com>
2166 Include confdir.sgml.in in EXTRA_DIST
2168 2003-10-09 Josselin Mouette <joss@debian.org>
2170 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2171 * fc-list/fc-list.sgml fc-list/Makefile.am:
2172 Replace fc-cache and fc-list manpages with more detailed, SGML
2175 2003-09-23 Owen Taylor <otaylor@redhat.com>
2177 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2178 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2179 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2182 2003-09-23 Owen Taylor <otaylor@redhat.com>
2184 * fc-lang/ka.orth: Remove Georgian capitals, they
2185 aren't used for normal writing. (Bug #116)
2187 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2189 * doc/fontconfig-devel.sgml:
2190 * doc/fontconfig-user.sgml:
2191 * fontconfig/fontconfig.h:
2193 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2194 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2196 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2197 monospace and dual-width fonts, allow roughly a 3% variance in the
2200 2003-08-31 Manish Singh <yosh@gimp.org>
2202 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2205 2003-08-15 Carl Worth <cworth@isi.edu>
2207 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2208 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2210 * src/fcpat.c (FcValueListEntDestroy): New function to support
2211 FcFini memory cleanup. Some statistics are not kept in
2213 (FcValueListFreeze): Move hashTable outside this function so it
2214 can be accessed by FcValueListThawAll.
2215 (FcValueListThawAll): New function complements FcValueListFreeze.
2216 (FcPatternBaseFreeze): Move hashTable outside this function so it
2217 can be accessed by FcPatternBaseThawAll.
2218 (FcPatternBaseThawAll): New function complements
2219 FcPatternBaseFreeze.
2220 (FcPatternThawAll): New function complements FcPatternFreeze.
2222 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2224 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2225 allocated FcCharLeafEnt "blocks" so they can be freed later.
2226 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2227 can be accessed by FcCharSetThawAllLeaf.
2228 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2229 (FcCharSetFreezeBase): Move hashTable outside this function so it
2230 can be accessed by FcCharSetThawAll.
2231 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2233 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2234 (FcConfigDestroy): Fic leak of FcBlanks.
2236 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2237 (main): Add call to FcFini when finished.
2239 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2240 static. Add prototypes.
2242 * doc/fcinit.fncs: Add documentation for FcFini function.
2244 * doc/edit-sgml.c: Mark several local functions as static. Add
2247 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2249 2003-06-15 Tor Lillqvist <tml@iki.fi>
2251 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2252 before comparing (needed on Windows).
2254 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2256 2003-06-13 Tor Lillqvist <tml@iki.fi>
2258 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2261 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2262 WINDOWSFONTDIR token.
2264 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2265 end, not to confuse libtool, which expects the EXPORTS line to be
2266 the first. Add FcConfigEnableHome.
2268 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2269 built as a DLL on Win32.
2271 2003-06-09 Keith Packard <keithp@keithp.com>
2273 * Tag version 2.2.90
2275 2003-06-09 Keith Packard <keithp@keithp.com>
2277 * Optimization in FcLangSetIndex was broken, occasionally
2278 returning a pointer to the wrong location on miss
2280 * Add fc-match to test font matching from the command line.
2282 2003-05-31 Keith Packard <keithp@keithp.com>
2284 * (Bug 85) add support for culmus fonts
2285 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2286 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2288 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2290 * Fix "contains" op for strings and langsets.
2292 2003-05-17 Keith Packard <keithp@keithp.com>
2294 * Fix build error with BDF prop local. Free langset after query
2296 2003-05-14 Keith Packard <keithp@keithp.com>
2298 * Extract spacing from XLFD atom
2300 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2302 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2303 disappeared in 1.30.
2305 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2307 2003-05-12 Keith Packard <keithp@keithp.com>
2309 * Use FcIsWidth to share code
2311 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2312 misclassifying some Han fonts as monospaced.
2314 2003-05-07 Keith Packard <keithp@keithp.com>
2316 * Add filename-based accept/reject to ammend available fonts.
2318 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2319 older FreeType releases.
2321 2003-05-06 Keith Packard <keithp@keithp.com>
2323 * Remove 0b82 and Tamil numbers from tamil
2324 orthography (Jungshik Shin <jshin@mailaps.org>)
2326 2003-05-04 Keith Packard <keithp@keithp.com>
2328 + Map glyph names in fonts with adobe custom encoding to unicode
2330 2003-05-02 Keith Packard <keithp@keithp.com>
2332 * Add FC_WEIGHT_BOOK as weight 75
2334 2003-04-30 Keith Packard <keithp@keithp.com>
2336 * Typo in bitstream foundry name
2338 2003-04-24 Keith Packard <keithp@keithp.com>
2340 * Eliminate italic_angle check for PS fonts
2342 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2344 * Getting closer to fixing /etc/fonts hard-coding.
2346 2003-04-22 Keith Packard <keithp@keithp.com>
2348 * Update autogen.sh to work with newer automake versions
2349 * Handle pattern elements moving during multiple edits
2351 2003-04-23 James Henstridge <james@daa.com.au>
2353 * doc/fontconfig-devel.sgml: close the <para> element.
2355 * doc/fcpattern.fncs: close the <para> element.
2357 * doc/func.sgml: close the <refsynopsisdiv> element.
2359 2003-04-22 Keith Packard <keithp@keithp.com
2361 * Update autogen.sh to work with newer automake versions
2362 * Handle pattern elements moving during multiple edits
2364 2003-04-17 Colin Walters <walters@debian.org>
2366 + Remove some unused variables, and initialize some other ones so
2367 gcc doesn't warn us.
2369 2003-04-16 Keith Packard <keithp@keithp.com>
2371 + tag version 2.1.94
2373 2003-04-16 Keith Packard <keithp@keithp.com>
2375 + add BDF property fetching support for foundry
2376 (from Juliusz Chroboczek)
2377 + add BDF property fetching support for width
2379 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2381 + Implemented foundry generation for Type 1 and TrueType
2383 2003-04-11 Gerard Escalante <g2@magestudios.net>
2385 + Retrieve information from Type1 FontInfo dictionaries
2387 2003-04-07 Colin Walters <walters@verbum.org>
2389 + src/Makefile.am: Fix dummy makefile target names when
2390 MS_LIB_AVAILABLE isn't set.
2392 2003-03-22 Tor Lillqvist <tml@iki.fi>
2394 Changes for Windows:
2396 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2398 + We don't want to hardcode the fonts.conf file location in the
2399 DLL, so we look up the DLL location at run-time in a DllMain()
2400 function. The fonts.conf location is deduced from that.
2402 + The colon can't be used as path separator on Windows,
2403 semicolon is used instead. File path components can be separated
2404 with either slash or backslash. Absolute paths can also begin
2405 with a drive letter.
2407 + Add internal function FcStrLastSlash that strrchr's the last
2408 slash, or backslash on Windows.
2410 + There is no link() on Windows. For atomicity checks, mkdir a
2411 lock directory instead.
2413 + In addition to HOME, also look for USERPROFILE.
2415 + Recognize the special font directory token WINDOWSFONTDIR, to
2416 use the system's font directory.
2418 + Remove the fontconfig-def.cpp that was obsolete. Add
2419 fontconfig.def(.in), without internal functions.
2421 + Add a fontconfig-zip(.in) script, used to build a binary
2424 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2425 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2426 to main package and man3/* to devel package
2428 + Added missing defattr(-, root, root) to main RPM package
2430 + Added HTML and text development documentation to -devel subpackage
2432 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2433 + Added back the configure macro options --disable-docs, otherwise
2434 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2435 version number) unconditionally, causing RPM to fail the build due
2436 to _unpackaged_files_terminate_build. We pick up the pregenerated
2437 docs with %doc already.
2439 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2440 + Removed commented out rpm macro define at top of spec file,
2441 replacing it with a simple explanation, since rpm macros are
2442 expanded by rpm even in comments.
2444 + Changed /usr/bin to _bindir in BuildRequires lines
2446 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2448 + Reorganized file manifest lists
2450 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2452 + fontconfig.spec.in: Improvements from Red Hat spec file.
2454 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2456 + docs/*.sgml: SGML fixes.
2458 Sat Mar 1 17:28:53 PST 2003 keithp
2459 + Ok, so the ChangeLog is a bit out of date
2461 + Lots of bugs fixed; most are in bugzilla, the
2462 biggest problems were in cache management where
2463 Owen discovered the library would lose badly when
2464 combining fonts-cache and ~/.fonts-cache data
2466 + Converted from autoconf to automake. This after
2467 getting patches accepted into libtool to allow
2468 the '-version-number' argument which lets
2469 packages set version numbers explicitly rather
2470 than the roundabout libtool way
2472 + Converted documentation to SGML using the docbook
2473 DTD. Now .txt and .html documents are installed
2474 in /usr/share/doc/fontconfig and there's no
2475 man page. Perhaps a man version can be written
2478 Sat Aug 31 15:21:22 PDT 2002 keithp
2479 + Xrender and Xft had several bugs related to
2480 rendering manually placed or poly-face text
2482 + Added more complete memory tracing in fontconfig
2483 Checked with (patched) mozilla and found no leaks
2485 + Updated Latin orthographies by comparing those from
2486 evertype.com with those from eki.ee. Tried to make
2487 sensible choices, including chars that occured in both
2488 and leaving some optional chars out that occured only
2491 Mon Aug 26 16:33:04 PDT 2002 keithp
2492 + Owen discovered that FcLangSetHasLang wasn't actually
2493 checking the language set.
2495 Mon Aug 26 13:37:23 PDT 2002 keithp
2496 + Append a version number to cache filenames
2498 Thu Aug 22 11:36:18 PDT 2002 keithp
2500 + Add "contains" and "not_contains" operators and elements to
2503 + Changed semantics of eq operator for LangSets to check for
2504 FcLangEqual so that any match will do
2506 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2507 of FcValueEqual to check for identical values when inserting into
2508 the results. This broke when the above semantic change was made,
2509 now it uses FcValueEqual which is "more correct" in any case.
2511 Thu Aug 22 00:32:29 PDT 2002 keithp
2513 + Reimplement FC_LANG as new datatype. Lists of strings
2514 was consuming over a megabyte of memory for 401 fonts.
2516 + Freeze patterns loaded from cache files. This shares
2517 common value lists and common patterns which saves
2518 considerable memory.
2520 + Change the denotation of 'constant' charsets to use special
2521 ref value instead of separate boolean.
2523 + Clean up leak tracing stuff, found several unannoted alloc/free
2526 Tue Aug 20 16:17:37 PDT 2002 keithp
2528 + Fix memory leak when parsing matrices from XML
2530 Mon Aug 19 11:57:27 PDT 2002 keithp
2532 + Fix autoconf files to pass FONTCONFIG_PATH on
2533 compile line so that ${prefix} gets substituted
2536 + Use getc_unlocked/putc_unlocked on systems that
2537 provide them to avoid damage done to stdio by posix
2539 + Eliminate FC_PATTERN and FcTypePattern in favor of
2540 an extended api for FcConfigSubstitute which takes
2541 both the font and the pattern.
2543 + Add 'sans serif' alias for 'sans-serif' as some apps
2544 can't handle hyphens in family names
2546 + Eliminate pretense of support for libxml2
2548 + Comment origins of Han orthographies
2550 Tue Jul 30 18:37:09 PDT 2002 keithp
2552 + Add binding property to edit element so that strong
2553 binding values may be inserted by the config file.
2554 The default remains weak.
2556 Sun 28 Jul 04:16:55 PDT 2002 keithp
2558 + Tagged release candidate 1 in the CVS tree and
2559 placed fcpackage.rc1.tar.gz for distribution
2561 Thu Aug 1 08:55:08 PDT 2002 keithp
2563 + Fixed autoconf builds to always specify install
2564 target files (for BSD). Also fixed to
2565 define FONTCONFIG_PATH in config.h so that
2566 nonstandard installs will actually work.