1 2006-01-30 Patrick Lam <plam@mit.edu>
2 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
4 Update fc-cat to handle subdir lists in global cache file.
6 * src/fccache.c (FcGlobalCacheLoad):
8 Another FcCacheReadString return value check.
10 2006-01-30 Mike Fabian <mfabian@suse.de>
13 * src/fccache.c (FcGlobalCacheLoad, FcDirCacheUnlink
14 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
16 Make fccache more resilient to broken cache files by checking
17 return value of FcCacheReadString all the time.
19 2006-01-30 Frederic Crozat <fcrozat@mandriva.com>
22 * fc-match/fc-match.1:
23 * fc-lang/fc-lang.man:
25 Remove references to dead fontconfig(3) manpages in
26 other fontconfig manpages.
28 2006-01-29 Behdad Esfabod <behdad@cs.utoronto.edu>
33 Fix world's tiniest typo in code example.
35 2006-01-29 Mike Fabian <mfabian@suse.de>
38 * src/fccache.c (FcGlobalCacheReadDir):
40 Fix global cache reads of subdirectories.
42 2006-01-29 Patrick Lam <plam@mit.edu>
44 Add documentation for FcConfigNormalizeFontDir.
46 * src/fccache.c (FcGlobalCacheDirDestroy, FcGlobalCacheLoad,
47 FcGlobalCacheUpdate, FcGlobalCacheSave):
48 * src/fcdir.c (FcDirScanConfig):
51 Write directory information to global caches to fix make check
52 (reported by Ronny V. Vindenes). This changes the global cache
55 2006-01-27 Patrick Lam <plam@mit.edu>
56 * fc-cache/fc-cache.c (scanDirs):
57 * fontconfig/fontconfig.h:
59 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
61 Move FcConfigNormalizeFontDir call so that it doesn't result in
62 infinite recursion (reported by Ronny V. Vindenes).
64 2006-01-26 Patrick Lam <plam@mit.edu>
65 * src/fccache.c (FcDirCacheValid, FcDirCacheHasCurrentArch):
66 * src/fccfg.c (FcConfigNormalizeFontDir):
68 Add a couple of missing normalizations to make fc-cache work
69 right; only scan subdirectories once.
71 2006-01-26 Mike Fabian <mfabian@suse.de>
74 * src/fcacache.c (FcGlobalCacheReadDir):
76 Don't crash on non-existant directories in global cache.
78 2006-01-26 Patirck Lam <plam@mit.edu>
79 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
80 * src/fccfg.c (FcConfigAddFontDirSubdirs, FcConfigNormalizeFontDir):
81 * src/fcdir.c (FcDirScanConfig):
82 * src/fcxml.c (FcEndElement):
84 Stop trampling the directory name when writing out caches.
85 (with Mike Fabian:) Beef up FcConfigNormalizeFontDir to scan
86 subdirs when necessary. Don't scan directories that can't be
89 2006-01-25 Patrick Lam <plam@mit.edu>
90 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
91 * src/fccfg.c (FcConfigEvaluate):
92 * src/fcfreetype.c (FcPatternAddWithBinding):
94 Fix additional memory leaks reported by Ronny V. Vindenes: don't
95 invoke FcValueSave on hashed static strings in
96 FcPatternAddWithBinding.
98 Add another st_dev check in FcDirCacheOpen.
100 2006-01-24 James Su <james.su@gmail.com>
103 * src/fcfreetype.c (FcFreeTypeIsExclusiveLang):
104 * fc-lang/zh_hk.orth:
106 Treat zh-hk fonts differently from zh-tw fonts. This patch may
107 cause fontconfig to treat A-X fonts differently from A-Y fonts;
108 please mail the fontconfig list if this causes any problems.
110 2006-01-24 Patrick Lam <plam@mit.edu>
111 * src/fccache.c (FcDirCacheUnlink, FcDirCacheWrite):
112 * src/fcfreetype.c (FcFreeTypeQuery):
114 Fix memory leaks reported by Ronny V. Vindenes.
116 2006-01-19 Andreas Schwab <schwab@suse.de>
119 * src/fcpat.c (FcStrNeededBytes):
121 Fix for unaligned memory accesses.
123 2006-01-18 Mike Fabian <mfabian@suse.de>
126 * src/fcdir.c (FcDirScanConfig):
128 Properly order the FcConfigAddFontDir and FcConfigNormalizeFontDir
129 calls to avoid crashes.
131 2006-01-14 Patrick Lam <plam@mit.edu>
132 * src/fccache.c (FcDirCacheConsume):
134 Fix segfault when consuming zero-length caches in fc-cat
135 (which has no config, so FcConfigAddFontDir shouldn't be called.)
137 2006-01-14 Patrick Lam <plam@mit.edu>
138 * fc-cache/fc-cache.c (scanDirs):
139 * fontconfig/fontconfig.h:
140 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
141 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
142 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
143 * src/fcdir.c (FcDirScanConfig):
146 Compare device numbers as well as inodes.
147 Always normalize directory names before comparing them.
149 2006-01-11 Mike Fabian <mfabian@suse.de>
152 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
154 Allocate extra space for appended '/' in directory name.
156 2006-01-10 Patrick Lam <plam@mit.edu>
157 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
158 FcDirCacheValid, FcDirCacheHasCurrentArch,
159 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
160 * fc-cache/fc-cache.c (main):
162 Explicitly add font dirs to config.fontDirs even if they're empty.
163 Set current config in fc-cache.c.
164 Fix treatment of cache directory as read from cache file; don't
165 use string equality to determine if we have the right file,
168 2006-01-09 Patrick Lam <plam@mit.edu>
169 * fc-cache/fc-cache.c (scanDirs):
170 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
171 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
172 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
173 * src/fccfg.c (FcConfigNormalizeFontDir):
174 * src/fcdir.c (FcDirScanConfig):
177 Normalize font dirs by using the form, as given in fonts.conf, and
178 recorded in FcConfig's fontDirs string set, as canonical.
180 Actually update config.fontDirs as font directories are scanned.
182 2006-01-08 James Su <james.su@gmail.com>
183 * src/fcmatch.c (FcFontSetMatch):
185 Fix matching bug when multiple elements match; don't use
186 the sum of all scores, but the best score.
188 Also more perf opts, e.g. evaluate best over all font sets
189 rather than on a per-set basis (and other changes).
191 2006-01-08 Patrick Lam <plam@mit.edu>
192 * src/fccache.c (FcDirCacheConsume):
194 Properly skip past dir caches that contain zero fonts (as occurs
195 in global caches.) Reported by Mike Fabian.
197 2006-01-06 Patrick Lam <plam@mit.edu>
198 * src/fcdbg.c (FcPatternPrint):
200 Print out full pathname in fc-match -v as well. Reported by
203 2006-01-06 Mike Fabian <mfabian@suse.de>
206 * src/fcname.c (FcNameParse):
208 Fix bug where fc-match crashes when given __DUMMY__ property to
211 (I added the __DUMMY__ string to enable callers of
212 FcObjectToPtrLookup to distinguish an error return from a
213 successful return. -PL)
215 2006-01-05 Patrick Lam <plam@mit.edu>
218 Add self to AUTHORS list.
220 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
221 FcCacheFileRead, FcCachePrintSet, main):
222 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
223 FcGlobalCacheSave, FcCacheNextOffset,
224 FcDirCacheHasCurrentArch, FcDirCacheRead,
225 FcDirCacheConsume, FcDirCacheWrite):
227 * src/fcpat.c (comment):
229 Minor change to global cache file format to fix fc-cat bug
230 reported by Frederic Crozat, and buglet with not globally caching
231 directories with zero fonts cached.
233 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
236 * src/fccfg.c (FcConfigEvaluate):
238 Fix double-free which occurs because FcValueCanonicalize doesn't
239 create an extra copy of the returned value, it only canonicalizes
242 2006-01-02 Patrick Lam <plam@mit.edu>
243 * doc/fontconfig-user.sgml:
245 Fix version of .cache file (currently 1 -> currently 2). Reported
248 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
251 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
253 Shut up GCC warnings on amd.
255 2005-12-20 Patrick Lam <plam@mit.edu>
259 * fontconfig/fontconfig.h:
261 Bump version to 2.3.93.
263 2005-12-20 Patrick Lam <plam@mit.edu>
264 * src/fccharset.c (FcLangCharSetPopulate):
265 * src/fcint.h (FcCacheBankToIndex):
267 Avoid check on _fcBankId nullness and fix case where it used to
270 2005-12-20 Patrick Lam <plam@mit.edu>
271 * src/fcxml.c (FcConfigParseAndLoad):
273 Use open instead of fopen (requested by Phil Race for Sun).
275 2005-12-20 Patrick Lam <plam@mit.edu>
276 * src/fccache.c (FcDirCacheWrite);
277 * fc-cache/Makefile.am:
279 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
282 2005-12-20 Patrick Lam <plam@mit.edu>
283 * src/fcfreetype.c (FcFreeTypeQuery):
285 Restore code to skip over PCF fonts that have no encoded
287 (We guess that a font is PCF by presence of the PIXEL_SIZE
290 2005-12-12 Patrick Lam <plam@mit.edu>
291 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
293 Read and write the original location as a fallback for the
294 hashed cache file locations. This is mostly for users to be
295 able to have per-directory cache files.
297 2005-12-12 Patrick Lam <plam@mit.edu>
298 * fc-cache/fc-cache.c (scanDirs):
299 * fc-cache/Makefile.am:
300 * src/fccache.c (FcDirCacheHashName):
302 Improve error message when fc-cache can't write the cache. Add
303 missing slash. Reported by Behdad. Incorporate Behdad's patch to
304 create /var/cache/fontconfig when appropriate.
306 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
309 * src/fcxml.c (FcConfigGetAttribute):
311 Fix crash reported by Frederic Crozat when using libxml2.
313 2005-12-09 Patrick Lam <plam@mit.edu>
316 * fc-cache/Makefile.am:
317 * fc-cat/Makefile.am:
319 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
320 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
321 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
322 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
323 FcDirCacheHasCurrentArch, FcDirCacheHashName,
324 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
326 Migrate cache files from fonts directories to
327 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
328 but requires that all caches get rebuilt.
330 Also, autogen.sh now needs the additional parameter
331 --localstatedir=/var.
333 2005-12-07 Patrick Lam <plam@mit.edu>
334 * src/fcpat.c (FcPatternAddString):
336 Because we've changed FcPatternAddString to use FcStrStaticName
337 and not FcValueSave, explicitly handle the case of a null string.
339 2005-12-06 Patrick Lam <plam@mit.edu>
340 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
344 2005-12-05 Patrick Lam <plam@mit.edu>
345 * src/fcname.c (FcNameGetObjectType):
347 Don't assign types to user object names.
349 2005-12-05 Patrick Lam <plam@mit.edu>
350 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
352 Don't free strings that have been returned from FcStrStaticName.
354 2005-12-01 Patrick Lam <plam@mit.edu>
355 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
357 Add codepath for reading global cache files as well.
359 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
362 * conf.d/10-fonts.persian.conf:
363 * conf.d/Makefile.am:
365 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
367 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
370 * src/fcxml.c (FcConfigParseAndLoad):
372 Only add a config file to the set of config files once.
374 2005-11-29 Patrick Lam <plam@mit.edu>
375 * src/fcint.h (FcCacheBankToIndex);
377 Fix segfault by guarding array dereference.
379 2005-11-29 Dirk Mueller <dmueller@suse.de>
383 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
384 FcCacheBankToIndex, FcCacheBankToIndexMTF,
388 Refactor FcCacheBankToIndex into an inlineable part
389 (in fcint.h) which checks the front of the list and a
390 non-inlineable part which finds and moves the appropriate element
391 to the front of the list.
393 2005-11-29 Patrick Lam <plam@mit.edu>
394 * src/fccfg.c (FcConfigBuildFonts):
395 * src/fccache.c (FcCacheReadDirs):
397 Make the perf guys hate me a bit less: hoist the directory-name
398 FcConfigAcceptFont check for cached fonts up to directory cache
399 read time, rather than running it for each font.
401 2005-11-29 Patrick Lam <plam@mit.edu>
402 * src/fccfg.c (FcConfigBuildFonts):
404 * src/fcpat.c (FcPatternFindFullFname):
406 Don't make FcPatternFindFullFname available to fccfg, it's not
407 really safe. Instead go through FcPatternGetString (sorry,
408 perf guys.) Also, use globs for dirs as well.
410 2005-11-28 Patrick Lam <plam@mit.edu>
411 * src/fccfg.c (FcConfigBuildFonts):
415 2005-11-28 Patrick Lam <plam@mit.edu>
417 * src/fcpat.c (FcPatternFindFullFname):
418 * src/fccfg.c (FcConfigBuildFonts):
420 Fix problem dating back at least to 2.3.2 where globs weren't
421 being applied to patterns loaded from a cache.
423 2005-11-28 Patrick Lam <plam@mit.edu>
424 * doc/fontconfig-user.sgml:
426 Fix some obvious spelling mistakes.
428 2005-11-28 Dirk Mueller <dmueller@suse.com>
429 Stephan Kulow <coolo@suse.de>
432 * src/fcmatch.c (FcFontSetMatch):
434 Don't kill all fonts during match (oops!)
437 2005-11-25 Dirk Mueller <dmueller@suse.com>
438 Stephan Kulow <coolo@suse.de>
439 Michael Matz <matz@suse.de>
442 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
445 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
446 inline FcCompare into FcFontSetMatch and reorder the
447 loops, adding a boolean array which blocks patterns from future
448 consideration if they're known to not be best on some past
451 2005-11-26 Dirk Mueller <dmueller@suse.com>
454 * src/fcmatch.c (FcCompareValueList):
458 2005-11-25 Patrick Lam <plam@mit.edu>
459 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
461 Don't do random matching when bad objects are passed into
464 2005-11-25 Patrick Lam <plam@mit.edu>
466 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
467 FcPatternSerialize, FcPatternUnserialize,
468 FcValueListEnsureBank, FcValueListDistributeBytes,
469 FcValueListUnserialize):
471 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
472 _fcPatternElts, _fcValueLists for consistency.
474 2005-11-25 Dirk Mueller <dmueller@suse.com>
479 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
481 2005-11-25 Patrick Lam <plam@mit.edu>
483 * src/fccache.c (FcDirCacheConsume):
484 * src/fccharset.c (FcCharSetUnserialize):
485 * src/fcfs.c (FcFontSetUnserialize):
486 * src/fclang.c (FcLangSetUnserialize):
487 * src/fcname.c (FcObjectUnserialize):
488 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
489 FcPatternUnserialize):
491 Pass around FcCache *s to the Unserialize functions for extra
492 consistency (and less overhead, for what that's worth).
494 2005-11-24 Dirk Mueller <dmueller@suse.com>
498 * src/fcmatch.c (FcCompare*, FcFontSetSort):
499 * src/fcname.c (FcNameUnparseValue):
501 Inline the *PtrU functions to gain perf.
502 Remove unneeded params for the FcCompare* functions.
504 2005-11-24 Dirk Mueller <dmueller@suse.com>
507 * src/fcint.h, fontconfig/fontconfig.h:
509 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
511 * src/fcpat.c, src/fcint.h, src/fcname.c:
513 Check for type validity during FcPatternAddWithBinding, don't
514 verify type in FcFontMatch, don't call FcCanonicalize here
515 (which always does a deep copy).
517 2005-11-24 Dirk Mueller <dmueller@suse.com>
520 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
521 * src/fcpat.c (FcPatternAddWithBinding):
523 Make FcCompareString and FcCompareFamily less expensive.
524 Only add a value for FC_FAMILY if the proposed value is a string.
526 2005-11-24 Dirk Mueller <dmueller@suse.com>
529 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
530 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
531 * src/fcint.h (FcDebug):
533 Inline FcDebug invocations and only initialize once, in FcInit*.
534 Improve debug msg in FcPatternPrint.
536 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
539 * fontconfig/fontconfig.h:
542 Minor code warning cleanups.
544 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
547 * fc-match/fc-match.c (main):
549 Make getopt_long accept -s parameter to fc-match as well.
551 2005-11-21 Dirk Mueller <dmueller@suse.com>
554 * src/fcmatch.c (FcCompareValueList):
556 Manually perform inlining & partial redundancy elimination to
557 reduce calls to FcValueListPtrU.
559 2005-11-21 Dirk Mueller <dmueller@suse.com>
562 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
563 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
565 Only invoke strlen() when really necessary.
567 2005-11-19 Matthias Clasen <mclasen@redhat.com>
571 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
576 Get rid of the use of freetype internal headers in fcfreetype.c,
577 since those headers will go away with freetype 2.2. Replace with
578 public domain ftglue code from pango. Note that the patch removes
579 some extra error checking in FT_Get_BDF_Property() and comments
580 out the skipping of empty pcf fonts.
582 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
585 * fc-lang/fc-lang.c (main):
587 Further fix of patch from 2005-11-04: miscounted numbers count
588 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
589 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
591 Removed leafidx_count and numbers_count since they are the same
592 and replaced them with offset_count.
594 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
597 * fc-cat/fc-cat.c (main):
599 Don't crash when fc-cat invoked with no arguments.
601 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
604 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
606 Fix invalid read access caused by premature free and
607 GCC4 warnings in libxml2 codepath.
609 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
612 * src/fccfg.c (FcConfigValues):
614 List iteration not needed in FcConfigValues, since it's building
615 up the list itself; we can just strip FcVoid elements during
618 2005-11-17 Patrick Lam <plam@mit.edu>
619 * src/fccfg.c (FcConfigValues):
621 Fix crash on invalid constants in config files (forgot to update
622 a pointer upon list iteration.)
624 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
627 * src/fcxml.c (FcTypecheckExpr):
629 Complain about invalid constants in config files.
631 2005-11-17 Andreas Schwab <schwab@suse.de>
634 * src/fccache.c (FcGlobalCacheSave):
636 Don't add current_arch_start more than once.
638 2005-11-16 Patrick Lam <plam@mit.edu>
639 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
640 * src/fcfs.c (FcFontSetUnserialize):
641 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
642 * src/fcpat.c (FcStrUnserialize):
644 Fix ordering of ALIGN with respect to saving block_ptr; add
645 another ALIGN to fcfs.c.
647 2005-11-16 Patrick Lam <plam@mit.edu>
648 * src/fccache.c (FcDirCacheProduce)
650 Fix case where alignment bytes bumped up metadata->count
651 causing unwarranted failures to write cache files.
652 (Reported by Stephan Kulow).
654 2005-11-16 Patrick Lam <plam@mit.edu>
655 * src/fccache.c (FcDirCacheProduce):
656 * src/fccharset.c (FcCharSetDistributeBytes):
657 * src/fcfs.c (FcFontSetDistributeBytes):
659 * src/fclang.c (FcLangSetDistributeBytes):
660 * src/fcname.c (FcObjectDistributeBytes):
661 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
664 Add *NeededBytesAlign(), which overestimates the padding which is
665 later added by the new ALIGN macro. Fix alignment problems on
666 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
667 version by Andreas Schwab).
669 2005-11-16 Stephan Kulow <coolo@kde.org>
674 Use sysconf to determine proper PAGESIZE value; this
675 appears to be POSIX-compliant. (reported by Andreas Schwab)
677 2005-11-04 Patrick Lam <plam@mit.edu>
683 Fix bug 2878 (excessive relocations at startup for charsets,
684 reported by Ross Burton): fc-lang/fc-lang now creates the
685 static form of the langset, not the dynamic form, so that
686 the charsets should now be in .rodata.
688 2005-11-04 Patrick Lam <plam@mit.edu>
689 * src/fcdir.c (FcDirScanConfig):
691 Add test for validity of directory caches that
692 somehow got lost (reported by make distcheck).
694 2005-11-04 Patrick Lam <plam@mit.edu>
698 * fontconfig/fontconfig.h:
700 Bump version to 2.3.92.
702 2005-11-02 Patrick Lam <plam@mit.edu>
703 * src/fcpat.c (FcPatternDuplicate):
705 Fix argument ordering problem in call to FcPatternTransferFullFname.
707 2005-11-02 Patrick Lam <plam@mit.edu>
708 * src/fcfreetype.c (FcFreetypeQuery):
709 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
710 FcPatternTransferFullFname):
712 Fix warnings and embarrassing double-free error.
714 2005-11-02 Zhe Su <zsu@novell.com>
719 Change the rule for artificial emboldening in fonts.conf.in. This
720 enables the support for artificial emboldening included in cairo.
722 2005-11-02 Patrick Lam <plam@mit.edu>
723 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
725 Don't zero out full names for FC_REF_CONSTANT fonts;
726 also, duplicate full names when transferring, and free
727 full names when freeing the associated font.
728 Reported by Jinghua Luo.
730 2005-11-02 Patrick Lam <plam@mit.edu>
731 * fc-cache/fc-cache.c (scanDirs):
732 * src/fcpat.c (FcValueListSerialize):
734 Revert the previous patch and commit the correct patch:
735 I forgot a canonicalization in FcValueListSerialize, so
736 that it would choke on already-serialized input files. Duh!
738 2005-11-02 Patrick Lam <plam@mit.edu>
739 * fc-cache/fc-cache.c (scanDirs):
741 Forcibly rescan a directory before writing a fresh local
742 cache file for that directory, fixing the losing-fonts
743 problem reported by Mike Fabian and also apparently the
744 font cache file corruption.
746 2005-11-02 Patrick Lam <plam@mit.edu>
747 * src/fccache.c (FcGlobalCacheLoad):
749 Fix thinko: actually, the whole global cache is stale
750 if the global cache is older than the (newest) config file.
752 2005-11-02 Patrick Lam <plam@mit.edu>
753 * src/fccache.c (FcGlobalCacheLoad):
754 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
757 Declare the global cache of a directory's contents to be stale if
758 the directory is newer than the (newest) configuration file.
760 2005-10-31 Patrick Lam <plam@mit.edu>
762 * src/fclist.c (FcListAppend):
763 * src/fcmatch.c (FcFontRenderPrepare):
764 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
765 FcPatternFreeze, FcPatternBaseFreeze):
767 Copy the full pathname whenever duplicating an FcPattern; otherwise,
768 applications continue breaking.
770 2005-10-31 Patrick Lam <plam@mit.edu>
771 * fc-cat/fc-cat.c (FcCacheFileRead, main):
772 * src/fcfreetype.c (FcFreeTypeQuery):
774 Fix small memory error (tried to free argv); use basename and
775 dirname correctly (they can modify their arguments).
777 2005-10-31 Patrick Lam <plam@mit.edu>
785 Reinstate basename patch, but keep a hash table linking FcPatterns
786 to their fully-qualified font names for clients' benefit. Clients
787 only pay for the font names once they request the FC_FILE property
788 from an FcPattern, but the font name is malloc'd at that point (i.e.
789 not mmapped: that's impossible, since it may vary between machines.)
790 Clients do have to pay for a copy of the path name per cache file.
792 Note that FcPatternGetString now does some rewriting if you ask
793 for an FC_FILE, appending the pathname as appropriate.
795 2005-10-31 Patrick Lam <plam@mit.edu>
796 * src/fcfreetype.c (FcFreeTypeQuery):
798 Revert basename patch, which breaks fontconfig clients on my system.
800 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
803 * fontconfig/fonts.conf.in:
804 * fontconfig/fontconfig.h:
808 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
809 to load embedded bitmaps or not.
811 2005-10-25 Patrick Lam <plam@mit.edu>
812 * src/fcfreetype.c (FcFreeTypeQuery):
814 Only add basename to patterns' FC_FILE element, not any part of
817 2005-10-22 Patrick Lam <plam@mit.edu>
820 Add some more consts, fixing more GCC4 warnings.
822 2005-10-22 Zhe Su <zsu@novell.com>
825 Support localized font family and style names.
826 This has been reported to break old apps like xfd, but modern
827 (gtk+/qt/mozilla) apps work fine.
829 2005-10-21 Patrick Lam <plam@mit.edu>
830 * src/fccache.c (FcGlobalCacheLoad):
832 Destroy the global cache file if it's terminally broken. (reported by
835 2005-10-21 Patrick Lam <plam@mit.edu>
836 * fc-list/fc-list.c (main):
837 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
838 * fontconfig/fontconfig.h:
840 Prevent fc-list from escaping strings when printing them (reported by
843 2005-10-20 Marcus Meissner <meissner@suse.de>
846 * fontconfig/fontconfig.h:
848 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
850 2005-10-14 Ross Burton <ross@burtonini.com>
853 * fc-glyphname/fc-glyphname.c:
856 Add consts to variables so as to move arrays into .rodata.
858 2005-10-14 Mike Fabian <mfabian@suse.de>
861 * src/fccache.c (FcDirCacheUnlink):
863 Check existence of directory cache file before attempting to unlink.
865 2005-10-13 Patrick Lam <plam@mit.edu>
866 * src/fccache.c (FcDirCacheUnlink):
868 Fix flipped return value on unlink. (Reported by Mike Fabian)
870 2005-10-12 Patrick Lam <plam@mit.edu>
873 * src/fcdir.c (FcDirScanConfig):
876 When fc-cache is run without --force, use directory cache files
877 to speed up fc-cache run time. (Reported by Mike Fabian)
879 2005-10-06 Patrick Lam <plam@mit.edu>
881 * src/fcname.c (FcObjectToPtr):
882 * src/fcpat.c (FcStrStaticName):
884 Add padding to make valgrind and glibc not hate each other
885 when calling strlen().
887 2005-10-05 Simos Xenitellis <simos74@gmx.net>
888 reviewed by: plam & keithp
892 Modify config file to use Greek fonts before Asian fonts with
895 2005-10-05 Christian Biesinger <cbiesinger@web.de>
896 reviewed by: plam & keithp
900 Use libtool -no-undefined flag on all platforms.
902 2005-10-05 Patrick Lam <plam@mit.edu>
903 * src/fccache.c (FcCacheHaveBank):
905 Implement move-to-front array for banks (perf regression
906 reported by Ronny V. Vindenes).
908 2005-10-04 Patrick Lam <plam@mit.edu>
909 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
910 FcDirCacheHasCurrentArch):
911 * fc-cache/fc-cache.c (scanDirs):
912 * fontconfig/fontconfig.h:
914 Add new API which unlinks directory caches and checks dir caches
915 for existence of appropriate sections. Fix fc-cache to unlink
916 stale cache files and save directory caches that lack relevant
919 2005-10-03 Patrick Lam <plam@mit.edu>
920 * src/fccache.c (FcDirCacheValid):
922 Ensure that a directory cache has the appropriate section
923 before reporting that it is valid (reported by Matthias Clasen).
925 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
933 Use libxml2 if requested (with --enable-libxml2) or if
934 expat is not available.
936 2005-09-29 Patrick Lam <plam@mit.edu>
937 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
939 Fix multi-arch cache files: compute the position for the
940 block to be added using info from OrigFile, not NewFile.
942 2005-09-28 Patrick Lam <plam@mit.edu>
943 * src/fccache.c (FcCacheMachineSignature):
945 Cast results of sizeof() to unsigned int to get rid of
946 warnings on x86_64 (thanks Matthias Clasen).
948 2005-09-27 Patrick Lam <plam@mit.edu>
949 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
952 Use FcAtomic to rewrite cache files.
954 2005-09-27 Patrick Lam <plam@mit.edu>
956 * src/fccache.c (FcDirCacheWrite):
958 Don't unlink the fonts.cache-2 file even if there's no data
959 to write; just write an empty cache file. (thanks Lubos Lunak)
961 2005-09-27 Patrick Lam <plam@mit.edu>
963 * src/fccache.c (FcDirCacheWrite):
965 Allocate room for the subdirectory names in each
966 directory cache. Thanks to James Cloos for finding
967 and diagnosing this bug!
969 2005-09-22 Patrick Lam <plam@mit.edu>
971 * fc-cache/fc-cache.sgml:
972 * src/fccache.c (FcDirCacheWrite):
973 * src/fccache.h (struct FcCache):
975 Update documentation -- fc-cache's man page now says that you
976 need to run fc-cache once per cached architecture; add some
977 documentation to the FcCache structure.
979 Make fc-cache write out fonts.cache-2 files for directories with
980 no fonts (i.e. only subdirectories).
982 2005-09-22 Patrick Lam <plam@mit.edu>
984 * fc-cache/fc-cache.sgml:
986 * fc-glyphname/fc-glyphname.c:
992 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
997 * fontconfig/fcprivate.h:
998 * fontconfig/fontconfig.h:
1012 Implement new mmaped cache for font information.
1013 Bump so revision to 2.3.90.
1015 2005-07-25 Keith Packard <keithp@keithp.com>
1017 * doc/fontconfig-user.sgml:
1018 * fc-glyphname/fc-glyphname.c: (scan), (main):
1019 * fc-lang/fc-lang.c: (FcConfigHome):
1020 * fc-match/fc-match.c: (main):
1021 * src/fccfg.c: (FcConfigHome):
1022 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1023 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
1024 (addtag), (FcFontCapabilities):
1025 * src/fcpat.c: (FcValueListEntCreate):
1026 * src/fcstr.c: (FcStrCaseWalkerInit):
1027 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
1029 Various GCC 4 cleanups for signed vs unsigned char
1031 Match only [0-9]*.conf files in <include>{directory}</include>
1032 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
1034 2005-07-15 Carl Worth <cworth@cworth.org>
1037 * src/fcinit.c: (FcFini):
1038 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
1041 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
1042 Pull the FcObjectStateName hash table out to file scope, and add
1043 FcObjectStaticNameFini so that FcFini will cleanup this hash table
1046 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
1049 2005-06-16 Patrick Lam <plam@MIT.EDU>
1053 * src/fccfg.c: (FcConfigCompareValue):
1054 Make FcOpNotContains use FcStrStr for strings so that
1055 it matches semantics for !FcOpContains.
1057 2005-05-20 Keith Packard <keithp@keithp.com>
1061 Move fontconfig source package to libs as per override
1063 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
1065 reviewed by: Mike Fabian
1068 The ka.orth file requires several characters which are not
1069 used anymore in modern Georgian and which are missing in the free
1070 Georgian TrueType fonts downloadable at:
1072 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
1074 2005-04-27 Keith Packard <keithp@keithp.com>
1078 Update date to real 2.3.2 release date.
1079 Fix change attributions
1081 2005-04-27 Keith Packard <keithp@keithp.com>
1084 Bump so revision for 2.3.2
1085 * fc-cache/fc-cache.c: (scanDirs):
1086 Fix a few minor leaks in error cases.
1088 2005-04-23 Keith Packard <keithp@keithp.com>
1093 * fontconfig/fontconfig.h:
1094 Update for version 2.3.2
1096 2005-04-21 Keith Packard <keithp@keithp.com>
1098 * debian/fontconfig.postinst:
1099 Don't force bitmap font enable in default
1100 configuration; allows users to override this in
1110 * debian/po/pt_BR.po:
1111 * debian/po/templates.pot:
1113 * debian/po/zh_CN.po:
1114 Updated translations
1116 * fc-cache/fc-cache.c: (main):
1117 Destroy font configuration on exit to help valgrind
1120 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
1121 (FcFreeTypeCheckGlyph):
1122 Use own transcoding routines in preference to iconv
1123 which appears to have leaks in some translators.
1124 Call iconv_close after using iconv (oops).
1126 Prefer unicode encoding of Euro char as some
1127 fonts mis-encode Euro in other ones.
1129 Must fetch bitmap glyphs to get width values
1130 to check for monospace/dual-width fonts.
1132 2005-04-13 Ross Burton <ross@burtonini.com>
1135 Check that a pattern isn't already frozen in FcPatternFreeze.
1137 2005-03-31 Ross Burton <ross@burtonini.com>
1142 Run all FcPattern objects through FcObjectStaticName, so that
1143 compares can be done on pointers instead of strings (#2659)
1145 2005-03-17 Tor Lillqvist <tml@novell.com>
1147 * src/fontconfig.def.in: Add the .dll to the dll name.
1149 2005-03-10 Keith Packard <keithp@keithp.com>
1151 * debian/README.Debian:
1152 Update to reflect configuration changes
1154 * debian/fontconfig.postinst:
1155 Fix Autohint vs Autohinter mistake
1156 * debian/fontconfig.templates:
1157 Adopt changes from Josselin Mouette for configuration descriptions
1158 Update debian to version 2.3.1-2
1160 2005-03-08 Keith Packard <keithp@keithp.com>
1164 Update debian for 2.3.1
1166 2005-03-09 Tor Lillqvist <tml@novell.com>
1168 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1171 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1174 2005-03-08 Keith Packard <keithp@keithp.com>
1178 * fontconfig/fontconfig.h:
1181 2005-03-05 Keith Packard <keithp@keithp.com>
1183 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1184 Include space and remove numbers from valid script tags.
1185 This ensures that tags like 'lao ' work while rejecting
1186 those which have any digits.
1187 Eliminate a spurious debugging variable (len)
1189 2005-03-05 Keith Packard <keithp@keithp.com>
1191 * src/fcfreetype.c: (addtag), (GetScriptTags),
1192 (FcFontCapabilities):
1193 Rework GSUB/GPOS script parsing to survive broken fonts.
1194 Thanks for the broken font go to Manish Singh
1196 2005-03-05 Keith Packard <keithp@keithp.com>
1201 * debian/fontconfig.config:
1202 * debian/fontconfig.templates:
1204 Include 2.3 release information in changelog
1205 Add Josselin Mouette as an Uploader
1206 Set hinting_type to low priority configuration option
1209 * debian/fontconfig.postinst:
1210 yes_bitmaps.conf -> yes-bitmaps.conf
1216 2005-03-02 Keith Packard <keithp@keithp.com>
1219 * conf.d/Makefile.am:
1220 * conf.d/autohint.conf:
1221 * conf.d/no-sub-pixel.conf:
1222 * conf.d/sub-pixel.conf:
1223 * conf.d/unhinted.conf:
1224 * debian/autohint.conf:
1225 * debian/fontconfig.install:
1226 * debian/fontconfig.postinst:
1227 * debian/fontconfig.templates:
1228 * debian/no-sub-pixel.conf:
1229 * debian/unhinted.conf:
1230 Move debian-specific conf file examples upstream.
1232 Sub-pixel configuration examples must smash subpixel value
1233 as Xft always sets it from X.
1235 Change sub-pixel rendering debconf descriptions from
1236 Enable/Disable to Always/Never.
1238 2005-03-02 Keith Packard <keithp@keithp.com>
1241 * conf.d/.cvsignore:
1243 Ignore more build detritus
1246 Add debian package construction stuff.
1248 * config/config.guess:
1249 * config/config.sub:
1250 Update to newer versions of these tools
1253 Get library manuals to build again (we love automake).
1255 * debian/README.Debian:
1256 * debian/autohint.conf:
1261 * debian/fontconfig-udeb.install:
1262 * debian/fontconfig.config:
1263 * debian/fontconfig.defoma:
1264 * debian/fontconfig.dirs:
1265 * debian/fontconfig.install:
1266 * debian/fontconfig.postinst:
1267 * debian/fontconfig.postrm:
1268 * debian/fontconfig.templates:
1269 * debian/libfontconfig1-dev.install:
1270 * debian/libfontconfig1.install:
1271 * debian/local.conf.md5sum:
1272 * debian/no-sub-pixel.conf:
1273 * debian/po/POTFILES.in:
1282 * debian/po/pt_BR.po:
1283 * debian/po/templates.pot:
1285 * debian/po/zh_CN.po:
1287 * debian/unhinted.conf:
1288 Update debian build system to switch maintainers and
1289 deal with 2.3 functionality
1291 2005-03-01 Keith Packard <keithp@keithp.com>
1295 * fontconfig/fontconfig.h:
1298 2005-03-01 Keith Packard <keithp@keithp.com>
1301 Generate and install PDF versions of the manuals
1303 * doc/fcpattern.fncs:
1306 * doc/fcstring.fncs:
1307 Add missing exported functions, fix data types
1309 * doc/fontconfig-devel.sgml:
1310 Add missing pattern elements.
1312 * doc/fontconfig-user.sgml:
1313 Add missing pattern elements. Document conf.d usage,
1314 clarify available orthography list. Fix some config file
1315 attributes. Complete list of constants.
1317 * fontconfig/fontconfig.h:
1318 Mark FC_SOURCE deprecated.
1320 * src/fcfreetype.c: (FcFreeTypeQuery):
1321 Don't set FC_SOURCE any longer.
1323 2005-02-28 Keith Packard <keithp@keithp.com>
1326 * conf.d/Makefile.am:
1328 * conf.d/no-bitmaps.conf:
1329 * conf.d/sub-pixel.conf:
1330 * conf.d/yes-bitmaps.conf:
1332 Create prototype /etc/fonts/conf.d directory with a few
1333 sample configuration files.
1334 Deprecate use of local.conf for local customizations in favor of
1335 this directory based scheme which is more easily integrated into
1336 installation systems.
1339 Tag FC_EMBOLDEN as a boolean variable
1341 2005-02-10 Keith Packard <keithp@keithp.com>
1343 reviewed by: pborelli@katamail.com
1345 * src/fcdir.c: (FcFileScanConfig):
1346 Free patterns from fonts which are rejected by configuration
1349 2005-01-28 Keith Packard <keithp@keithp.com>
1353 * fontconfig/fontconfig.h:
1354 Update for version 2.2.99
1356 2005-01-28 Keith Packard <keithp@keithp.com>
1359 Add a few pointers (#2284, #2285)
1361 2005-01-28 Keith Packard <keithp@keithp.com>
1364 * src/fcname.c: (FcNameBool):
1365 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1366 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1367 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1368 Polite typechecking for test and edit expressions. Helps
1369 catch errors in the font configuration. (bug 229)
1371 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1373 reviewed by: Keith Packard <keithp@keithp.com>
1376 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1378 2005-01-13 Keith Packard <keithp@keithp.com>
1380 * doc/fontconfig-user.sgml:
1381 Add SEE ALSO section (bug 2085)
1383 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1385 reviewed by: Keith Packard <keithp@keithp.com>
1390 * fc-case/Makefile.am:
1391 * fc-glyphname/Makefile.am:
1392 * fc-lang/Makefile.am:
1393 * src/fontconfig.def.in:
1394 Cross compiling fixes (bug 280)
1396 2005-01-13 Keith Packard <keithp@keithp.com>
1399 Update blanks list (Closes bug 86)
1401 2005-01-04 Keith Packard <keithp@keithp.com>
1403 * src/fccache.c: (FcCacheFontSetAdd):
1404 Verify that every font pattern loaded from cache has
1405 both FC_FILE and FC_FAMILY entries.
1406 Attempt to fix bug #2219.
1408 2004-12-29 Keith Packard <keithp@keithp.com>
1412 * fontconfig/fontconfig.h:
1413 Update for version 2.2.98
1415 2004-12-29 Keith Packard <keithp@keithp.com>
1417 * fontconfig/fontconfig.h:
1418 Document ASCII limitations of Fc character conversion macros
1419 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1420 Fix off-by-one error in utf-8 case walking code.
1421 Add FcStrDowncase (useful for testing case conversion functions)
1423 2004-12-29 Keith Packard <keithp@keithp.com>
1426 * fc-case/.cvsignore:
1427 clean up CVS ignore lists
1428 * fc-lang/iso-3166.txt:
1429 Add territory database
1431 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1433 Reviewed by: Keith Packard
1436 Remove Han characters from Korean orthography
1438 2004-12-29 Keith Packard <keithp@keithp.com>
1441 Reorder utility programs to make sure fc-case is run before fc-lang
1442 as fc-lang uses fcstr.c which uses fccase.h
1446 2004-12-29 Keith Packard <keithp@keithp.com>
1449 Adopt some RedHat suggestions for standard font configuration.
1453 * fc-case/CaseFolding.txt:
1454 * fc-case/Makefile.am:
1455 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1456 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1457 (dump), (parseRaw), (caseFoldReadRaw), (main):
1458 * fc-case/fccase.tmpl.h:
1459 Add new helper program 'fc-case' to construct case folding
1460 tables from standard Unicode CaseFolding.txt file
1463 * src/fclist.c: (FcListValueHash):
1464 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1465 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1466 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1467 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1468 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1469 Re-implement case insensitive functions with Unicode
1470 aware versions (including full case folding mappings)
1472 2004-12-13 Keith Packard <keithp@keithp.com>
1474 reviewed by: Owen Taylor <otaylor@redhat.com>
1476 * src/fcmatch.c: (FcFontSetSort):
1477 I changed FcFontSetSort to respect the generic aliases better
1478 in the face of language matching.
1480 What I did was to ammend the strict sort order used by FcFontSort so
1481 that it 'satisfies' the language specified in the pattern by locating
1482 the best matching font supporting each pattern language and then
1483 ignores language in the remaining fonts for purposes of matching.
1485 So, when asking for 'sans:lang=en', you'll get an English font first,
1486 and then the remaining fonts sorted with respect to the 'sans' alias
1487 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1489 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1491 reviewed by: Keith Packard <keithp@keithp.com>
1493 * fontconfig/fontconfig.h:
1496 Configuration changes to request synthetic emboldening of
1497 fonts. The actual emboldening code will live in Xft.
1499 2004-12-09 John Thacker <thacker@math.cornell.edu>
1501 reviewed by: Keith Packard <keithp@keithp.com>
1505 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1506 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1507 и), and don't even appear in KOI8-R. (The hypothesis that they
1508 don't appear in KOI8-R due to their similarity with Latin I and i is
1509 eliminated by their presence in KOI8-U.) I have a couple of fonts
1510 with Russian support that don't have the letter.
1512 Therefore, 0406 and 0456 should be removed from or commented out of
1515 2004-12-06 michael meeks <mmeeks@novell.com>
1517 Reviewed by: Keith Packard <keithp@keithp.com>
1519 * src/fcinit.c: (FcMemReport):
1521 * src/fclist.c: (FcObjectSetAdd):
1522 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1523 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1524 * src/fcxml.c: (FcParsePatelt):
1525 memoize strings and share a single copy for all uses. Note that
1526 this could be improved further by using statically allocated blocks
1527 and gluing multiple strings together, but I'm basically lazy.
1528 In my environment with 800 font files, I get a savings of about 90KB.
1530 2004-12-06 Keith Packard <keithp@keithp.com>
1534 * config/Makedefs.in:
1537 * doc/fcatomic.fncs:
1538 * doc/fcblanks.fncs:
1539 * doc/fccharset.fncs:
1540 * doc/fcconfig.fncs:
1541 * doc/fcconstant.fncs:
1543 * doc/fcfontset.fncs:
1544 * doc/fcfreetype.fncs:
1546 * doc/fcmatrix.fncs:
1547 * doc/fcobjectset.fncs:
1548 * doc/fcobjecttype.fncs:
1549 * doc/fcpattern.fncs:
1550 * doc/fcstring.fncs:
1551 * doc/fcstrset.fncs:
1553 * doc/fontconfig-devel.sgml:
1554 * doc/fontconfig-user.sgml:
1556 * doc/version.sgml.in:
1557 * fc-cache/Makefile.am:
1558 * fc-cache/fc-cache.c:
1559 * fc-glyphname/Makefile.am:
1560 * fc-glyphname/fc-glyphname.c:
1561 * fc-glyphname/fcglyphname.tmpl.h:
1562 * fc-lang/Makefile.am:
1572 * fc-lang/az_ir.orth:
1606 * fc-lang/fc-lang.c:
1607 * fc-lang/fc-lang.man:
1608 * fc-lang/fclang.tmpl.h:
1653 * fc-lang/ku_ir.orth:
1686 * fc-lang/ps_af.orth:
1687 * fc-lang/ps_pk.orth:
1716 * fc-lang/ti_er.orth:
1717 * fc-lang/ti_et.orth:
1743 * fc-lang/zh_cn.orth:
1744 * fc-lang/zh_hk.orth:
1745 * fc-lang/zh_mo.orth:
1746 * fc-lang/zh_sg.orth:
1747 * fc-lang/zh_tw.orth:
1749 * fc-list/Makefile.am:
1750 * fc-list/fc-list.c:
1751 * fc-match/Makefile.am:
1752 * fc-match/fc-match.1:
1753 * fc-match/fc-match.c:
1754 * fontconfig/fcfreetype.h:
1755 * fontconfig/fcprivate.h:
1756 * fontconfig/fontconfig.h:
1777 Change files from ISO-Latin-1 to UTF-8
1779 2004-12-04 Keith Packard <keithp@keithp.com>
1782 Update links to new freedesktop.org locations
1784 Add uninstall-local to get rid of fonts.conf and local.conf if they
1785 match the distributed versions. Fixes 'make distcheck'
1787 2004-12-04 Keith Packard <keithp@keithp.com>
1791 * fontconfig/fontconfig.h:
1792 Updates for version 2.2.97
1794 2004-12-04 Owen Taylor <otaylor@redhat.com>
1796 reviewed by: Keith Packard <keithp@keithp.com>
1798 * fc-cache/fc-cache.c: (main):
1799 Sleep for two seconds before exiting to make sure timestamps
1800 for future changes have distinct mod times in the file system.
1803 Add Punjabi orthography. Bug #1671.
1805 2004-12-04 Keith Packard <keithp@keithp.com>
1808 Just remove the FC_FONTDATE -- it has locale issues and
1809 annoys redhat multi-arch installs. Now that all X fonts are
1810 included without prejudice, the chances of the date being at
1811 all interesting are rather limited. Bug #505.
1813 Add copyright and license
1815 2004-12-04 Keith Packard <keithp@keithp.com>
1818 Change default set of fonts to include all of
1819 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1820 * doc/fontconfig-user.sgml:
1821 Document new <include>directory-name</include> semantics
1823 add <include ignore_missing="yes">conf.d</include>
1825 Add selectfont to ignore bitmap fonts, add comment for
1826 selectfont which accepts bitmap fonts.
1829 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1830 Allow <include> configuration elements to reference directories.
1831 Parse and load all files of the form [0-9]* in sorted order.
1833 2004-12-04 Keith Packard <keithp@keithp.com>
1836 Report command line for $srcdir/configure accurately.
1839 2004-12-04 Keith Packard <keithp@keithp.com>
1841 * src/fcfreetype.c: (FcFreeTypeQuery):
1842 Check for non-empty face->family_name and face->style_name
1843 before using those for the font. Empty names match everything.
1846 2004-12-04 Keith Packard <keithp@keithp.com>
1849 * fontconfig/fontconfig.h:
1850 * src/fcfreetype.c: (FcFreeTypeQuery):
1852 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1853 available. This provides font file format information (BDF, Type 1,
1854 PCF, TrueType) for each font. Closes #109.
1856 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1858 reviewed by: Keith Packard <keithp@keithp.com>
1860 * doc/fontconfig-user.sgml:
1863 * fontconfig/fontconfig.h:
1864 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1865 (GetScriptTags), (FcFontCapabilities):
1867 Add detection for font capabilities (bug #105)
1869 2004-12-04 Keith Packard <keithp@keithp.com>
1872 Move existing fonts.conf to fonts.conf.bak
1875 Add detection of iconv
1877 * doc/fcpattern.fncs:
1878 * doc/fontconfig-devel.sgml:
1879 * doc/fontconfig-user.sgml:
1881 Document new selectfont elements
1884 Switch to UTF-8 in comment
1886 * fontconfig/fontconfig.h:
1888 Add fullname, and family/style/fullname language entries
1890 * src/fccache.c: (FcCacheFontSetAdd):
1891 * src/fcdir.c: (FcFileScanConfig):
1892 Respect selectfont/*/glob
1895 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1896 (FcConfigCompareValue), (FcConfigPatternsAdd),
1897 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1898 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1899 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1900 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1901 Add support for selectfont
1903 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1904 (FcStringInPatternElement), (FcFreeTypeQuery):
1905 Add multi-lingual family/style/fullname support
1907 * src/fclist.c: (FcListPatternMatchAny):
1908 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1910 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1911 (FcObjectStaticName):
1912 Add new FcPatternRemove/FcPatternAppend.
1913 FcObjectStaticName stores computed pattern element names which
1914 are required to be static.
1916 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1921 Remove spurious / after $(DESTDIR)
1923 2004-06-30 Keith Packard <keithp@keithp.com>
1927 * fontconfig/fontconfig.h:
1930 2004-06-30 Keith Packard <keithp@keithp.com>
1932 Provided by: Lubos Lunak <l.lunak@suse.cz>
1934 * src/fccfg.c: (FcConfigUptoDate):
1935 However FcConfigUptoDate() doesn't seem to work. See the attached
1936 patch. First there's an obvious misplaced parenthesis making it
1937 return always false, and second, even this call fails to detect font
1938 changes (e.g. adding a new font to
1939 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1940 well. The problem seems to be triggered by my fonts.conf specifying
1941 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1942 doesn't include subdirs, unlike config->fontDirs.
1944 2004-06-03 Keith Packard <keithp@keithp.com>
1946 * fontconfig/fontconfig.h:
1947 Remove comma at end of FcResult enum definition.
1949 2004-05-29 Keith Packard <keithp@keithp.com>
1952 Add steps to md5sum release
1954 2004-05-29 Keith Packard <keithp@keithp.com>
1958 * fontconfig/fontconfig.h:
1961 2004-05-29 Keith Packard <keithp@keithp.com>
1963 * fontconfig/fontconfig.h:
1964 * src/fcmatch.c: (FcFontSetMatch):
1965 Add FcResultOutOfMemory to provide an accurate error when
1966 FcFontSetMatch fails in this way
1969 Make #warning about lacking various FreeType features indicate
1970 which version those features appeared so users know how to
1971 fix the problem (Thanks to Anton Tropashko)
1973 2004-05-05 Keith Packard <keithp@keithp.com>
1975 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1976 Replace MIN/MAX/ABS macros which happen to have come
1977 from FreeType with fontconfig-specific ones (FC_*)
1979 2004-04-23 Keith Packard <keithp@keithp.com>
1982 Extend release preparation instructions to include
1983 notification and distribution steps
1985 2004-04-23 Keith Packard <keithp@keithp.com>
1989 * fontconfig/fontconfig.h:
1990 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1992 2004-04-23 Keith Packard <keithp@keithp.com>
1995 Ignore a few more autotool files
1997 2004-04-14 Keith Packard <keithp@keithp.com>
2000 Add instructions for doing a release
2002 * fontconfig.spec.in:
2003 clean up .spec file; perhaps this will be useful to somebody...
2007 * fontconfig/fontconfig.h:
2010 * fc-lang/fc-lang.c:
2011 Make 'scanopen' static so GCC doesn't whine about lacking prototype
2013 * fc-glyphname/Makefile.am:
2014 * fc-lang/Makefile.am:
2015 * fc-list/Makefile.am:
2016 * fc-match/Makefile.am:
2018 Add WARN_CFLAGS to pass -W flags for GCC systems
2020 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
2021 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
2022 Change various char types around to match across
2024 Fixed bug in using available_sizes[i].height which
2025 is in pixels, not 64ths of a pixel.
2027 2004-03-06 Keith Packard <keithp@keithp.com>
2029 * src/fcfreetype.c: (FcFreeTypeQuery):
2030 Force FC_FOUNDRY and FC_WIDTH to always be set so that
2031 matches looking for explicit values prefer exact matches
2033 2004-03-02 Keith Packard <keithp@keithp.com>
2035 Supplied by: mfabian@suse.de (Mike FABIAN)
2037 * src/fcfreetype.c: (FcFreeTypeQuery):
2038 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
2039 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
2041 2004-02-21 Manish Singh <yosh@gimp.org>
2043 * fc-glyphname/fc-glyphname.c: (main):
2044 Cast strlen to int for printf, so we're 64-bit clean.
2046 2004-02-11 Keith Packard <keithp@keithp.com>
2049 * src/fcfreetype.c: (FcGetPixelSize):
2050 Ok, so I messed up the test for y_ppem. Let's see if I
2051 got it right this time.
2053 2004-02-10 Keith Packard <keithp@keithp.com>
2056 * src/fcfreetype.c: (FcGetPixelSize):
2057 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
2058 FT_Bitmap_Size record. Add a configure.in test for this
2059 and change the code accordingly (using height instead).
2061 2004-02-06 Keith Packard <keithp@keithp.com>
2064 Add Low Saxon orthography
2065 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
2067 * src/fccfg.c: (FcConfigNewestFile):
2068 Oops. Left 'newest.set' unset, which would miscompute
2071 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
2072 (FcFreeTypeCheckGlyph):
2073 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
2074 font properties (which report the wrong value in current FreeType)
2076 Don't attempt to check for empty glyphs in non-scalable fonts; they
2079 2004-02-01 Tor Lillqvist <tml@iki.fi>
2081 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
2082 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
2083 cache if config->cache is NULL, which happens if FcConfigHome() is
2084 NULL. Guard against that by using the temp folder in that case.
2086 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
2088 * fc-lang/az_ir.orth:
2089 * fc-lang/ku_ir.orth:
2090 * fc-lang/ps_af.orth:
2091 * fc-lang/ps_pk.orth:
2092 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
2093 (Afghan and Pakistani).
2095 Updated Urdu orthography with real data.
2097 2003-12-11 Carl Worth <cworth@east.isi.edu>
2099 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
2102 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
2104 (all-local): Remove excessive whitespace.
2106 * autogen.sh: Add 'set -e' to abort when any program fails,
2107 (avoids printing of 'now type make' after configure aborts).
2109 2003-11-17 Eric Christopherson <rakko@charter.net>
2111 reviewed by: Keith Packard <keithp@keithp.com>
2114 * fontconfig/fcfreetype.h:
2116 Switch to FreeType 2.1.7 style includes. Bug #150.
2118 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
2120 * fc-list/fc-list.sgml: Add some example usages.
2122 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
2125 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
2128 2003-10-27 Keith Packard <keith@keithp.com>
2131 * fontconfig/fontconfig.h:
2132 Update to version 2.2.92
2134 2003-10-27 Keith Packard <keithp@keithp.com>
2139 * fc-cache/Makefile.am:
2140 * fc-glyphname/Makefile.am:
2141 * fc-lang/Makefile.am:
2142 * fc-list/Makefile.am:
2143 * fc-match/Makefile.am:
2146 Yet more cleanups to finish getting 'make distcheck' working
2147 This has been tested to ensure that it even works from a _build
2150 2003-10-26 Keith Packard <keithp@keithp.com>
2154 * fc-cache/Makefile.am:
2155 * fc-glyphname/Makefile.am:
2156 * fc-lang/Makefile.am:
2157 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2158 * fc-list/Makefile.am:
2159 * fc-match/Makefile.am:
2160 Attempts to fix 'make distcheck' work. Things are
2161 progressing pretty well, but there are still failures
2162 long into the process dealing with docs (as always).
2164 The big changes here are mostly to make $(srcdir) != "."
2165 work correctly, fixing the docbook related sections and
2166 fc-lang were particularily tricky. Docbook refuses to load
2167 system entities from anywhere other than where the original .sgml
2168 file was located, so no luck looking in "." for the
2169 configure-generated version.sgml and confdir.sgml files.
2171 fc-lang needed help finding .orth files; added a -d option
2172 to set the directory as the least evil of many options.
2174 Now to go use a faster machine and try and wring out the last
2177 2003-10-26 Keith Packard <keithp@keithp.com>
2181 2003-10-26 Keith Packard <keithp@keithp.com>
2184 Include confdir.sgml.in in EXTRA_DIST
2186 2003-10-09 Josselin Mouette <joss@debian.org>
2188 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2189 * fc-list/fc-list.sgml fc-list/Makefile.am:
2190 Replace fc-cache and fc-list manpages with more detailed, SGML
2193 2003-09-23 Owen Taylor <otaylor@redhat.com>
2195 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2196 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2197 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2200 2003-09-23 Owen Taylor <otaylor@redhat.com>
2202 * fc-lang/ka.orth: Remove Georgian capitals, they
2203 aren't used for normal writing. (Bug #116)
2205 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2207 * doc/fontconfig-devel.sgml:
2208 * doc/fontconfig-user.sgml:
2209 * fontconfig/fontconfig.h:
2211 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2212 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2214 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2215 monospace and dual-width fonts, allow roughly a 3% variance in the
2218 2003-08-31 Manish Singh <yosh@gimp.org>
2220 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2223 2003-08-15 Carl Worth <cworth@isi.edu>
2225 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2226 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2228 * src/fcpat.c (FcValueListEntDestroy): New function to support
2229 FcFini memory cleanup. Some statistics are not kept in
2231 (FcValueListFreeze): Move hashTable outside this function so it
2232 can be accessed by FcValueListThawAll.
2233 (FcValueListThawAll): New function complements FcValueListFreeze.
2234 (FcPatternBaseFreeze): Move hashTable outside this function so it
2235 can be accessed by FcPatternBaseThawAll.
2236 (FcPatternBaseThawAll): New function complements
2237 FcPatternBaseFreeze.
2238 (FcPatternThawAll): New function complements FcPatternFreeze.
2240 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2242 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2243 allocated FcCharLeafEnt "blocks" so they can be freed later.
2244 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2245 can be accessed by FcCharSetThawAllLeaf.
2246 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2247 (FcCharSetFreezeBase): Move hashTable outside this function so it
2248 can be accessed by FcCharSetThawAll.
2249 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2251 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2252 (FcConfigDestroy): Fic leak of FcBlanks.
2254 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2255 (main): Add call to FcFini when finished.
2257 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2258 static. Add prototypes.
2260 * doc/fcinit.fncs: Add documentation for FcFini function.
2262 * doc/edit-sgml.c: Mark several local functions as static. Add
2265 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2267 2003-06-15 Tor Lillqvist <tml@iki.fi>
2269 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2270 before comparing (needed on Windows).
2272 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2274 2003-06-13 Tor Lillqvist <tml@iki.fi>
2276 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2279 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2280 WINDOWSFONTDIR token.
2282 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2283 end, not to confuse libtool, which expects the EXPORTS line to be
2284 the first. Add FcConfigEnableHome.
2286 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2287 built as a DLL on Win32.
2289 2003-06-09 Keith Packard <keithp@keithp.com>
2291 * Tag version 2.2.90
2293 2003-06-09 Keith Packard <keithp@keithp.com>
2295 * Optimization in FcLangSetIndex was broken, occasionally
2296 returning a pointer to the wrong location on miss
2298 * Add fc-match to test font matching from the command line.
2300 2003-05-31 Keith Packard <keithp@keithp.com>
2302 * (Bug 85) add support for culmus fonts
2303 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2304 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2306 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2308 * Fix "contains" op for strings and langsets.
2310 2003-05-17 Keith Packard <keithp@keithp.com>
2312 * Fix build error with BDF prop local. Free langset after query
2314 2003-05-14 Keith Packard <keithp@keithp.com>
2316 * Extract spacing from XLFD atom
2318 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2320 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2321 disappeared in 1.30.
2323 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2325 2003-05-12 Keith Packard <keithp@keithp.com>
2327 * Use FcIsWidth to share code
2329 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2330 misclassifying some Han fonts as monospaced.
2332 2003-05-07 Keith Packard <keithp@keithp.com>
2334 * Add filename-based accept/reject to ammend available fonts.
2336 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2337 older FreeType releases.
2339 2003-05-06 Keith Packard <keithp@keithp.com>
2341 * Remove 0b82 and Tamil numbers from tamil
2342 orthography (Jungshik Shin <jshin@mailaps.org>)
2344 2003-05-04 Keith Packard <keithp@keithp.com>
2346 + Map glyph names in fonts with adobe custom encoding to unicode
2348 2003-05-02 Keith Packard <keithp@keithp.com>
2350 * Add FC_WEIGHT_BOOK as weight 75
2352 2003-04-30 Keith Packard <keithp@keithp.com>
2354 * Typo in bitstream foundry name
2356 2003-04-24 Keith Packard <keithp@keithp.com>
2358 * Eliminate italic_angle check for PS fonts
2360 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2362 * Getting closer to fixing /etc/fonts hard-coding.
2364 2003-04-22 Keith Packard <keithp@keithp.com>
2366 * Update autogen.sh to work with newer automake versions
2367 * Handle pattern elements moving during multiple edits
2369 2003-04-23 James Henstridge <james@daa.com.au>
2371 * doc/fontconfig-devel.sgml: close the <para> element.
2373 * doc/fcpattern.fncs: close the <para> element.
2375 * doc/func.sgml: close the <refsynopsisdiv> element.
2377 2003-04-22 Keith Packard <keithp@keithp.com
2379 * Update autogen.sh to work with newer automake versions
2380 * Handle pattern elements moving during multiple edits
2382 2003-04-17 Colin Walters <walters@debian.org>
2384 + Remove some unused variables, and initialize some other ones so
2385 gcc doesn't warn us.
2387 2003-04-16 Keith Packard <keithp@keithp.com>
2389 + tag version 2.1.94
2391 2003-04-16 Keith Packard <keithp@keithp.com>
2393 + add BDF property fetching support for foundry
2394 (from Juliusz Chroboczek)
2395 + add BDF property fetching support for width
2397 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2399 + Implemented foundry generation for Type 1 and TrueType
2401 2003-04-11 Gerard Escalante <g2@magestudios.net>
2403 + Retrieve information from Type1 FontInfo dictionaries
2405 2003-04-07 Colin Walters <walters@verbum.org>
2407 + src/Makefile.am: Fix dummy makefile target names when
2408 MS_LIB_AVAILABLE isn't set.
2410 2003-03-22 Tor Lillqvist <tml@iki.fi>
2412 Changes for Windows:
2414 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2416 + We don't want to hardcode the fonts.conf file location in the
2417 DLL, so we look up the DLL location at run-time in a DllMain()
2418 function. The fonts.conf location is deduced from that.
2420 + The colon can't be used as path separator on Windows,
2421 semicolon is used instead. File path components can be separated
2422 with either slash or backslash. Absolute paths can also begin
2423 with a drive letter.
2425 + Add internal function FcStrLastSlash that strrchr's the last
2426 slash, or backslash on Windows.
2428 + There is no link() on Windows. For atomicity checks, mkdir a
2429 lock directory instead.
2431 + In addition to HOME, also look for USERPROFILE.
2433 + Recognize the special font directory token WINDOWSFONTDIR, to
2434 use the system's font directory.
2436 + Remove the fontconfig-def.cpp that was obsolete. Add
2437 fontconfig.def(.in), without internal functions.
2439 + Add a fontconfig-zip(.in) script, used to build a binary
2442 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2443 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2444 to main package and man3/* to devel package
2446 + Added missing defattr(-, root, root) to main RPM package
2448 + Added HTML and text development documentation to -devel subpackage
2450 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2451 + Added back the configure macro options --disable-docs, otherwise
2452 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2453 version number) unconditionally, causing RPM to fail the build due
2454 to _unpackaged_files_terminate_build. We pick up the pregenerated
2455 docs with %doc already.
2457 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2458 + Removed commented out rpm macro define at top of spec file,
2459 replacing it with a simple explanation, since rpm macros are
2460 expanded by rpm even in comments.
2462 + Changed /usr/bin to _bindir in BuildRequires lines
2464 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2466 + Reorganized file manifest lists
2468 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2470 + fontconfig.spec.in: Improvements from Red Hat spec file.
2472 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2474 + docs/*.sgml: SGML fixes.
2476 Sat Mar 1 17:28:53 PST 2003 keithp
2477 + Ok, so the ChangeLog is a bit out of date
2479 + Lots of bugs fixed; most are in bugzilla, the
2480 biggest problems were in cache management where
2481 Owen discovered the library would lose badly when
2482 combining fonts-cache and ~/.fonts-cache data
2484 + Converted from autoconf to automake. This after
2485 getting patches accepted into libtool to allow
2486 the '-version-number' argument which lets
2487 packages set version numbers explicitly rather
2488 than the roundabout libtool way
2490 + Converted documentation to SGML using the docbook
2491 DTD. Now .txt and .html documents are installed
2492 in /usr/share/doc/fontconfig and there's no
2493 man page. Perhaps a man version can be written
2496 Sat Aug 31 15:21:22 PDT 2002 keithp
2497 + Xrender and Xft had several bugs related to
2498 rendering manually placed or poly-face text
2500 + Added more complete memory tracing in fontconfig
2501 Checked with (patched) mozilla and found no leaks
2503 + Updated Latin orthographies by comparing those from
2504 evertype.com with those from eki.ee. Tried to make
2505 sensible choices, including chars that occured in both
2506 and leaving some optional chars out that occured only
2509 Mon Aug 26 16:33:04 PDT 2002 keithp
2510 + Owen discovered that FcLangSetHasLang wasn't actually
2511 checking the language set.
2513 Mon Aug 26 13:37:23 PDT 2002 keithp
2514 + Append a version number to cache filenames
2516 Thu Aug 22 11:36:18 PDT 2002 keithp
2518 + Add "contains" and "not_contains" operators and elements to
2521 + Changed semantics of eq operator for LangSets to check for
2522 FcLangEqual so that any match will do
2524 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2525 of FcValueEqual to check for identical values when inserting into
2526 the results. This broke when the above semantic change was made,
2527 now it uses FcValueEqual which is "more correct" in any case.
2529 Thu Aug 22 00:32:29 PDT 2002 keithp
2531 + Reimplement FC_LANG as new datatype. Lists of strings
2532 was consuming over a megabyte of memory for 401 fonts.
2534 + Freeze patterns loaded from cache files. This shares
2535 common value lists and common patterns which saves
2536 considerable memory.
2538 + Change the denotation of 'constant' charsets to use special
2539 ref value instead of separate boolean.
2541 + Clean up leak tracing stuff, found several unannoted alloc/free
2544 Tue Aug 20 16:17:37 PDT 2002 keithp
2546 + Fix memory leak when parsing matrices from XML
2548 Mon Aug 19 11:57:27 PDT 2002 keithp
2550 + Fix autoconf files to pass FONTCONFIG_PATH on
2551 compile line so that ${prefix} gets substituted
2554 + Use getc_unlocked/putc_unlocked on systems that
2555 provide them to avoid damage done to stdio by posix
2557 + Eliminate FC_PATTERN and FcTypePattern in favor of
2558 an extended api for FcConfigSubstitute which takes
2559 both the font and the pattern.
2561 + Add 'sans serif' alias for 'sans-serif' as some apps
2562 can't handle hyphens in family names
2564 + Eliminate pretense of support for libxml2
2566 + Comment origins of Han orthographies
2568 Tue Jul 30 18:37:09 PDT 2002 keithp
2570 + Add binding property to edit element so that strong
2571 binding values may be inserted by the config file.
2572 The default remains weak.
2574 Sun 28 Jul 04:16:55 PDT 2002 keithp
2576 + Tagged release candidate 1 in the CVS tree and
2577 placed fcpackage.rc1.tar.gz for distribution
2579 Thu Aug 1 08:55:08 PDT 2002 keithp
2581 + Fixed autoconf builds to always specify install
2582 target files (for BSD). Also fixed to
2583 define FONTCONFIG_PATH in config.h so that
2584 nonstandard installs will actually work.