1 2006-01-14 Patirck Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheConsume):
4 Fix segfault when consuming zero-length caches in fc-cat
5 (which has no config, so FcConfigAddFontDir shouldn't be called.)
7 2006-01-14 Patrick Lam <plam@mit.edu>
8 * fc-cache/fc-cache.c (scanDirs):
9 * fontconfig/fontconfig.h:
10 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
11 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
12 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
13 * src/fcdir.c (FcDirScanConfig):
16 Compare device numbers as well as inodes.
17 Always normalize directory names before comparing them.
19 2006-01-11 Mike Fabian <mfabian@suse.de>
22 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
24 Allocate extra space for appended '/' in directory name.
26 2006-01-10 Patrick Lam <plam@mit.edu>
27 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
28 FcDirCacheValid, FcDirCacheHasCurrentArch,
29 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
30 * fc-cache/fc-cache.c (main):
32 Explicitly add font dirs to config.fontDirs even if they're empty.
33 Set current config in fc-cache.c.
34 Fix treatment of cache directory as read from cache file; don't
35 use string equality to determine if we have the right file,
38 2006-01-09 Patrick Lam <plam@mit.edu>
39 * fc-cache/fc-cache.c (scanDirs):
40 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
41 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
42 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
43 * src/fccfg.c (FcConfigNormalizeFontDir):
44 * src/fcdir.c (FcDirScanConfig):
47 Normalize font dirs by using the form, as given in fonts.conf, and
48 recorded in FcConfig's fontDirs string set, as canonical.
50 Actually update config.fontDirs as font directories are scanned.
52 2006-01-08 James Su <james.su@gmail.com>
53 * src/fcmatch.c (FcFontSetMatch):
55 Fix matching bug when multiple elements match; don't use
56 the sum of all scores, but the best score.
58 Also more perf opts, e.g. evaluate best over all font sets
59 rather than on a per-set basis (and other changes).
61 2006-01-08 Patrick Lam <plam@mit.edu>
62 * src/fccache.c (FcDirCacheConsume):
64 Properly skip past dir caches that contain zero fonts (as occurs
65 in global caches.) Reported by Mike Fabian.
67 2006-01-06 Patrick Lam <plam@mit.edu>
68 * src/fcdbg.c (FcPatternPrint):
70 Print out full pathname in fc-match -v as well. Reported by
73 2006-01-06 Mike Fabian <mfabian@suse.de>
76 * src/fcname.c (FcNameParse):
78 Fix bug where fc-match crashes when given __DUMMY__ property to
81 (I added the __DUMMY__ string to enable callers of
82 FcObjectToPtrLookup to distinguish an error return from a
83 successful return. -PL)
85 2006-01-05 Patrick Lam <plam@mit.edu>
88 Add self to AUTHORS list.
90 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
91 FcCacheFileRead, FcCachePrintSet, main):
92 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
93 FcGlobalCacheSave, FcCacheNextOffset,
94 FcDirCacheHasCurrentArch, FcDirCacheRead,
95 FcDirCacheConsume, FcDirCacheWrite):
97 * src/fcpat.c (comment):
99 Minor change to global cache file format to fix fc-cat bug
100 reported by Frederic Crozat, and buglet with not globally caching
101 directories with zero fonts cached.
103 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
106 * src/fccfg.c (FcConfigEvaluate):
108 Fix double-free which occurs because FcValueCanonicalize doesn't
109 create an extra copy of the returned value, it only canonicalizes
112 2006-01-02 Patrick Lam <plam@mit.edu>
113 * doc/fontconfig-user.sgml:
115 Fix version of .cache file (currently 1 -> currently 2). Reported
118 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
121 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
123 Shut up GCC warnings on amd.
125 2005-12-20 Patrick Lam <plam@mit.edu>
129 * fontconfig/fontconfig.h:
131 Bump version to 2.3.93.
133 2005-12-20 Patrick Lam <plam@mit.edu>
134 * src/fccharset.c (FcLangCharSetPopulate):
135 * src/fcint.h (FcCacheBankToIndex):
137 Avoid check on _fcBankId nullness and fix case where it used to
140 2005-12-20 Patrick Lam <plam@mit.edu>
141 * src/fcxml.c (FcConfigParseAndLoad):
143 Use open instead of fopen (requested by Phil Race for Sun).
145 2005-12-20 Patrick Lam <plam@mit.edu>
146 * src/fccache.c (FcDirCacheWrite);
147 * fc-cache/Makefile.am:
149 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
152 2005-12-20 Patrick Lam <plam@mit.edu>
153 * src/fcfreetype.c (FcFreeTypeQuery):
155 Restore code to skip over PCF fonts that have no encoded
157 (We guess that a font is PCF by presence of the PIXEL_SIZE
160 2005-12-12 Patrick Lam <plam@mit.edu>
161 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
163 Read and write the original location as a fallback for the
164 hashed cache file locations. This is mostly for users to be
165 able to have per-directory cache files.
167 2005-12-12 Patrick Lam <plam@mit.edu>
168 * fc-cache/fc-cache.c (scanDirs):
169 * fc-cache/Makefile.am:
170 * src/fccache.c (FcDirCacheHashName):
172 Improve error message when fc-cache can't write the cache. Add
173 missing slash. Reported by Behdad. Incorporate Behdad's patch to
174 create /var/cache/fontconfig when appropriate.
176 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
179 * src/fcxml.c (FcConfigGetAttribute):
181 Fix crash reported by Frederic Crozat when using libxml2.
183 2005-12-09 Patrick Lam <plam@mit.edu>
186 * fc-cache/Makefile.am:
187 * fc-cat/Makefile.am:
189 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
190 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
191 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
192 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
193 FcDirCacheHasCurrentArch, FcDirCacheHashName,
194 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
196 Migrate cache files from fonts directories to
197 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
198 but requires that all caches get rebuilt.
200 Also, autogen.sh now needs the additional parameter
201 --localstatedir=/var.
203 2005-12-07 Patrick Lam <plam@mit.edu>
204 * src/fcpat.c (FcPatternAddString):
206 Because we've changed FcPatternAddString to use FcStrStaticName
207 and not FcValueSave, explicitly handle the case of a null string.
209 2005-12-06 Patrick Lam <plam@mit.edu>
210 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
214 2005-12-05 Patrick Lam <plam@mit.edu>
215 * src/fcname.c (FcNameGetObjectType):
217 Don't assign types to user object names.
219 2005-12-05 Patrick Lam <plam@mit.edu>
220 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
222 Don't free strings that have been returned from FcStrStaticName.
224 2005-12-01 Patrick Lam <plam@mit.edu>
225 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
227 Add codepath for reading global cache files as well.
229 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
232 * conf.d/10-fonts.persian.conf:
233 * conf.d/Makefile.am:
235 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
237 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
240 * src/fcxml.c (FcConfigParseAndLoad):
242 Only add a config file to the set of config files once.
244 2005-11-29 Patrick Lam <plam@mit.edu>
245 * src/fcint.h (FcCacheBankToIndex);
247 Fix segfault by guarding array dereference.
249 2005-11-29 Dirk Mueller <dmueller@suse.de>
253 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
254 FcCacheBankToIndex, FcCacheBankToIndexMTF,
258 Refactor FcCacheBankToIndex into an inlineable part
259 (in fcint.h) which checks the front of the list and a
260 non-inlineable part which finds and moves the appropriate element
261 to the front of the list.
263 2005-11-29 Patrick Lam <plam@mit.edu>
264 * src/fccfg.c (FcConfigBuildFonts):
265 * src/fccache.c (FcCacheReadDirs):
267 Make the perf guys hate me a bit less: hoist the directory-name
268 FcConfigAcceptFont check for cached fonts up to directory cache
269 read time, rather than running it for each font.
271 2005-11-29 Patrick Lam <plam@mit.edu>
272 * src/fccfg.c (FcConfigBuildFonts):
274 * src/fcpat.c (FcPatternFindFullFname):
276 Don't make FcPatternFindFullFname available to fccfg, it's not
277 really safe. Instead go through FcPatternGetString (sorry,
278 perf guys.) Also, use globs for dirs as well.
280 2005-11-28 Patrick Lam <plam@mit.edu>
281 * src/fccfg.c (FcConfigBuildFonts):
285 2005-11-28 Patrick Lam <plam@mit.edu>
287 * src/fcpat.c (FcPatternFindFullFname):
288 * src/fccfg.c (FcConfigBuildFonts):
290 Fix problem dating back at least to 2.3.2 where globs weren't
291 being applied to patterns loaded from a cache.
293 2005-11-28 Patrick Lam <plam@mit.edu>
294 * doc/fontconfig-user.sgml:
296 Fix some obvious spelling mistakes.
298 2005-11-28 Dirk Mueller <dmueller@suse.com>
299 Stephan Kulow <coolo@suse.de>
302 * src/fcmatch.c (FcFontSetMatch):
304 Don't kill all fonts during match (oops!)
307 2005-11-25 Dirk Mueller <dmueller@suse.com>
308 Stephan Kulow <coolo@suse.de>
309 Michael Matz <matz@suse.de>
312 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
315 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
316 inline FcCompare into FcFontSetMatch and reorder the
317 loops, adding a boolean array which blocks patterns from future
318 consideration if they're known to not be best on some past
321 2005-11-26 Dirk Mueller <dmueller@suse.com>
324 * src/fcmatch.c (FcCompareValueList):
328 2005-11-25 Patrick Lam <plam@mit.edu>
329 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
331 Don't do random matching when bad objects are passed into
334 2005-11-25 Patrick Lam <plam@mit.edu>
336 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
337 FcPatternSerialize, FcPatternUnserialize,
338 FcValueListEnsureBank, FcValueListDistributeBytes,
339 FcValueListUnserialize):
341 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
342 _fcPatternElts, _fcValueLists for consistency.
344 2005-11-25 Dirk Mueller <dmueller@suse.com>
349 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
351 2005-11-25 Patrick Lam <plam@mit.edu>
353 * src/fccache.c (FcDirCacheConsume):
354 * src/fccharset.c (FcCharSetUnserialize):
355 * src/fcfs.c (FcFontSetUnserialize):
356 * src/fclang.c (FcLangSetUnserialize):
357 * src/fcname.c (FcObjectUnserialize):
358 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
359 FcPatternUnserialize):
361 Pass around FcCache *s to the Unserialize functions for extra
362 consistency (and less overhead, for what that's worth).
364 2005-11-24 Dirk Mueller <dmueller@suse.com>
368 * src/fcmatch.c (FcCompare*, FcFontSetSort):
369 * src/fcname.c (FcNameUnparseValue):
371 Inline the *PtrU functions to gain perf.
372 Remove unneeded params for the FcCompare* functions.
374 2005-11-24 Dirk Mueller <dmueller@suse.com>
377 * src/fcint.h, fontconfig/fontconfig.h:
379 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
381 * src/fcpat.c, src/fcint.h, src/fcname.c:
383 Check for type validity during FcPatternAddWithBinding, don't
384 verify type in FcFontMatch, don't call FcCanonicalize here
385 (which always does a deep copy).
387 2005-11-24 Dirk Mueller <dmueller@suse.com>
390 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
391 * src/fcpat.c (FcPatternAddWithBinding):
393 Make FcCompareString and FcCompareFamily less expensive.
394 Only add a value for FC_FAMILY if the proposed value is a string.
396 2005-11-24 Dirk Mueller <dmueller@suse.com>
399 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
400 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
401 * src/fcint.h (FcDebug):
403 Inline FcDebug invocations and only initialize once, in FcInit*.
404 Improve debug msg in FcPatternPrint.
406 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
409 * fontconfig/fontconfig.h:
412 Minor code warning cleanups.
414 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
417 * fc-match/fc-match.c (main):
419 Make getopt_long accept -s parameter to fc-match as well.
421 2005-11-21 Dirk Mueller <dmueller@suse.com>
424 * src/fcmatch.c (FcCompareValueList):
426 Manually perform inlining & partial redundancy elimination to
427 reduce calls to FcValueListPtrU.
429 2005-11-21 Dirk Mueller <dmueller@suse.com>
432 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
433 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
435 Only invoke strlen() when really necessary.
437 2005-11-19 Matthias Clasen <mclasen@redhat.com>
441 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
446 Get rid of the use of freetype internal headers in fcfreetype.c,
447 since those headers will go away with freetype 2.2. Replace with
448 public domain ftglue code from pango. Note that the patch removes
449 some extra error checking in FT_Get_BDF_Property() and comments
450 out the skipping of empty pcf fonts.
452 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
455 * fc-lang/fc-lang.c (main):
457 Further fix of patch from 2005-11-04: miscounted numbers count
458 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
459 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
461 Removed leafidx_count and numbers_count since they are the same
462 and replaced them with offset_count.
464 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
467 * fc-cat/fc-cat.c (main):
469 Don't crash when fc-cat invoked with no arguments.
471 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
474 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
476 Fix invalid read access caused by premature free and
477 GCC4 warnings in libxml2 codepath.
479 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
482 * src/fccfg.c (FcConfigValues):
484 List iteration not needed in FcConfigValues, since it's building
485 up the list itself; we can just strip FcVoid elements during
488 2005-11-17 Patrick Lam <plam@mit.edu>
489 * src/fccfg.c (FcConfigValues):
491 Fix crash on invalid constants in config files (forgot to update
492 a pointer upon list iteration.)
494 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
497 * src/fcxml.c (FcTypecheckExpr):
499 Complain about invalid constants in config files.
501 2005-11-17 Andreas Schwab <schwab@suse.de>
504 * src/fccache.c (FcGlobalCacheSave):
506 Don't add current_arch_start more than once.
508 2005-11-16 Patrick Lam <plam@mit.edu>
509 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
510 * src/fcfs.c (FcFontSetUnserialize):
511 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
512 * src/fcpat.c (FcStrUnserialize):
514 Fix ordering of ALIGN with respect to saving block_ptr; add
515 another ALIGN to fcfs.c.
517 2005-11-16 Patrick Lam <plam@mit.edu>
518 * src/fccache.c (FcDirCacheProduce)
520 Fix case where alignment bytes bumped up metadata->count
521 causing unwarranted failures to write cache files.
522 (Reported by Stephan Kulow).
524 2005-11-16 Patrick Lam <plam@mit.edu>
525 * src/fccache.c (FcDirCacheProduce):
526 * src/fccharset.c (FcCharSetDistributeBytes):
527 * src/fcfs.c (FcFontSetDistributeBytes):
529 * src/fclang.c (FcLangSetDistributeBytes):
530 * src/fcname.c (FcObjectDistributeBytes):
531 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
534 Add *NeededBytesAlign(), which overestimates the padding which is
535 later added by the new ALIGN macro. Fix alignment problems on
536 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
537 version by Andreas Schwab).
539 2005-11-16 Stephan Kulow <coolo@kde.org>
544 Use sysconf to determine proper PAGESIZE value; this
545 appears to be POSIX-compliant. (reported by Andreas Schwab)
547 2005-11-04 Patrick Lam <plam@mit.edu>
553 Fix bug 2878 (excessive relocations at startup for charsets,
554 reported by Ross Burton): fc-lang/fc-lang now creates the
555 static form of the langset, not the dynamic form, so that
556 the charsets should now be in .rodata.
558 2005-11-04 Patrick Lam <plam@mit.edu>
559 * src/fcdir.c (FcDirScanConfig):
561 Add test for validity of directory caches that
562 somehow got lost (reported by make distcheck).
564 2005-11-04 Patrick Lam <plam@mit.edu>
568 * fontconfig/fontconfig.h:
570 Bump version to 2.3.92.
572 2005-11-02 Patrick Lam <plam@mit.edu>
573 * src/fcpat.c (FcPatternDuplicate):
575 Fix argument ordering problem in call to FcPatternTransferFullFname.
577 2005-11-02 Patrick Lam <plam@mit.edu>
578 * src/fcfreetype.c (FcFreetypeQuery):
579 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
580 FcPatternTransferFullFname):
582 Fix warnings and embarrassing double-free error.
584 2005-11-02 Zhe Su <zsu@novell.com>
589 Change the rule for artificial emboldening in fonts.conf.in. This
590 enables the support for artificial emboldening included in cairo.
592 2005-11-02 Patrick Lam <plam@mit.edu>
593 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
595 Don't zero out full names for FC_REF_CONSTANT fonts;
596 also, duplicate full names when transferring, and free
597 full names when freeing the associated font.
598 Reported by Jinghua Luo.
600 2005-11-02 Patrick Lam <plam@mit.edu>
601 * fc-cache/fc-cache.c (scanDirs):
602 * src/fcpat.c (FcValueListSerialize):
604 Revert the previous patch and commit the correct patch:
605 I forgot a canonicalization in FcValueListSerialize, so
606 that it would choke on already-serialized input files. Duh!
608 2005-11-02 Patrick Lam <plam@mit.edu>
609 * fc-cache/fc-cache.c (scanDirs):
611 Forcibly rescan a directory before writing a fresh local
612 cache file for that directory, fixing the losing-fonts
613 problem reported by Mike Fabian and also apparently the
614 font cache file corruption.
616 2005-11-02 Patrick Lam <plam@mit.edu>
617 * src/fccache.c (FcGlobalCacheLoad):
619 Fix thinko: actually, the whole global cache is stale
620 if the global cache is older than the (newest) config file.
622 2005-11-02 Patrick Lam <plam@mit.edu>
623 * src/fccache.c (FcGlobalCacheLoad):
624 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
627 Declare the global cache of a directory's contents to be stale if
628 the directory is newer than the (newest) configuration file.
630 2005-10-31 Patrick Lam <plam@mit.edu>
632 * src/fclist.c (FcListAppend):
633 * src/fcmatch.c (FcFontRenderPrepare):
634 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
635 FcPatternFreeze, FcPatternBaseFreeze):
637 Copy the full pathname whenever duplicating an FcPattern; otherwise,
638 applications continue breaking.
640 2005-10-31 Patrick Lam <plam@mit.edu>
641 * fc-cat/fc-cat.c (FcCacheFileRead, main):
642 * src/fcfreetype.c (FcFreeTypeQuery):
644 Fix small memory error (tried to free argv); use basename and
645 dirname correctly (they can modify their arguments).
647 2005-10-31 Patrick Lam <plam@mit.edu>
655 Reinstate basename patch, but keep a hash table linking FcPatterns
656 to their fully-qualified font names for clients' benefit. Clients
657 only pay for the font names once they request the FC_FILE property
658 from an FcPattern, but the font name is malloc'd at that point (i.e.
659 not mmapped: that's impossible, since it may vary between machines.)
660 Clients do have to pay for a copy of the path name per cache file.
662 Note that FcPatternGetString now does some rewriting if you ask
663 for an FC_FILE, appending the pathname as appropriate.
665 2005-10-31 Patrick Lam <plam@mit.edu>
666 * src/fcfreetype.c (FcFreeTypeQuery):
668 Revert basename patch, which breaks fontconfig clients on my system.
670 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
673 * fontconfig/fonts.conf.in:
674 * fontconfig/fontconfig.h:
678 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
679 to load embedded bitmaps or not.
681 2005-10-25 Patrick Lam <plam@mit.edu>
682 * src/fcfreetype.c (FcFreeTypeQuery):
684 Only add basename to patterns' FC_FILE element, not any part of
687 2005-10-22 Patrick Lam <plam@mit.edu>
690 Add some more consts, fixing more GCC4 warnings.
692 2005-10-22 Zhe Su <zsu@novell.com>
695 Support localized font family and style names.
696 This has been reported to break old apps like xfd, but modern
697 (gtk+/qt/mozilla) apps work fine.
699 2005-10-21 Patrick Lam <plam@mit.edu>
700 * src/fccache.c (FcGlobalCacheLoad):
702 Destroy the global cache file if it's terminally broken. (reported by
705 2005-10-21 Patrick Lam <plam@mit.edu>
706 * fc-list/fc-list.c (main):
707 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
708 * fontconfig/fontconfig.h:
710 Prevent fc-list from escaping strings when printing them (reported by
713 2005-10-20 Marcus Meissner <meissner@suse.de>
716 * fontconfig/fontconfig.h:
718 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
720 2005-10-14 Ross Burton <ross@burtonini.com>
723 * fc-glyphname/fc-glyphname.c:
726 Add consts to variables so as to move arrays into .rodata.
728 2005-10-14 Mike Fabian <mfabian@suse.de>
731 * src/fccache.c (FcDirCacheUnlink):
733 Check existence of directory cache file before attempting to unlink.
735 2005-10-13 Patrick Lam <plam@mit.edu>
736 * src/fccache.c (FcDirCacheUnlink):
738 Fix flipped return value on unlink. (Reported by Mike Fabian)
740 2005-10-12 Patrick Lam <plam@mit.edu>
743 * src/fcdir.c (FcDirScanConfig):
746 When fc-cache is run without --force, use directory cache files
747 to speed up fc-cache run time. (Reported by Mike Fabian)
749 2005-10-06 Patrick Lam <plam@mit.edu>
751 * src/fcname.c (FcObjectToPtr):
752 * src/fcpat.c (FcStrStaticName):
754 Add padding to make valgrind and glibc not hate each other
755 when calling strlen().
757 2005-10-05 Simos Xenitellis <simos74@gmx.net>
758 reviewed by: plam & keithp
762 Modify config file to use Greek fonts before Asian fonts with
765 2005-10-05 Christian Biesinger <cbiesinger@web.de>
766 reviewed by: plam & keithp
770 Use libtool -no-undefined flag on all platforms.
772 2005-10-05 Patrick Lam <plam@mit.edu>
773 * src/fccache.c (FcCacheHaveBank):
775 Implement move-to-front array for banks (perf regression
776 reported by Ronny V. Vindenes).
778 2005-10-04 Patrick Lam <plam@mit.edu>
779 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
780 FcDirCacheHasCurrentArch):
781 * fc-cache/fc-cache.c (scanDirs):
782 * fontconfig/fontconfig.h:
784 Add new API which unlinks directory caches and checks dir caches
785 for existence of appropriate sections. Fix fc-cache to unlink
786 stale cache files and save directory caches that lack relevant
789 2005-10-03 Patrick Lam <plam@mit.edu>
790 * src/fccache.c (FcDirCacheValid):
792 Ensure that a directory cache has the appropriate section
793 before reporting that it is valid (reported by Matthias Clasen).
795 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
803 Use libxml2 if requested (with --enable-libxml2) or if
804 expat is not available.
806 2005-09-29 Patrick Lam <plam@mit.edu>
807 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
809 Fix multi-arch cache files: compute the position for the
810 block to be added using info from OrigFile, not NewFile.
812 2005-09-28 Patrick Lam <plam@mit.edu>
813 * src/fccache.c (FcCacheMachineSignature):
815 Cast results of sizeof() to unsigned int to get rid of
816 warnings on x86_64 (thanks Matthias Clasen).
818 2005-09-27 Patrick Lam <plam@mit.edu>
819 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
822 Use FcAtomic to rewrite cache files.
824 2005-09-27 Patrick Lam <plam@mit.edu>
826 * src/fccache.c (FcDirCacheWrite):
828 Don't unlink the fonts.cache-2 file even if there's no data
829 to write; just write an empty cache file. (thanks Lubos Lunak)
831 2005-09-27 Patrick Lam <plam@mit.edu>
833 * src/fccache.c (FcDirCacheWrite):
835 Allocate room for the subdirectory names in each
836 directory cache. Thanks to James Cloos for finding
837 and diagnosing this bug!
839 2005-09-22 Patrick Lam <plam@mit.edu>
841 * fc-cache/fc-cache.sgml:
842 * src/fccache.c (FcDirCacheWrite):
843 * src/fccache.h (struct FcCache):
845 Update documentation -- fc-cache's man page now says that you
846 need to run fc-cache once per cached architecture; add some
847 documentation to the FcCache structure.
849 Make fc-cache write out fonts.cache-2 files for directories with
850 no fonts (i.e. only subdirectories).
852 2005-09-22 Patrick Lam <plam@mit.edu>
854 * fc-cache/fc-cache.sgml:
856 * fc-glyphname/fc-glyphname.c:
862 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
867 * fontconfig/fcprivate.h:
868 * fontconfig/fontconfig.h:
882 Implement new mmaped cache for font information.
883 Bump so revision to 2.3.90.
885 2005-07-25 Keith Packard <keithp@keithp.com>
887 * doc/fontconfig-user.sgml:
888 * fc-glyphname/fc-glyphname.c: (scan), (main):
889 * fc-lang/fc-lang.c: (FcConfigHome):
890 * fc-match/fc-match.c: (main):
891 * src/fccfg.c: (FcConfigHome):
892 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
893 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
894 (addtag), (FcFontCapabilities):
895 * src/fcpat.c: (FcValueListEntCreate):
896 * src/fcstr.c: (FcStrCaseWalkerInit):
897 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
899 Various GCC 4 cleanups for signed vs unsigned char
901 Match only [0-9]*.conf files in <include>{directory}</include>
902 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
904 2005-07-15 Carl Worth <cworth@cworth.org>
907 * src/fcinit.c: (FcFini):
908 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
911 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
912 Pull the FcObjectStateName hash table out to file scope, and add
913 FcObjectStaticNameFini so that FcFini will cleanup this hash table
916 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
919 2005-06-16 Patrick Lam <plam@MIT.EDU>
923 * src/fccfg.c: (FcConfigCompareValue):
924 Make FcOpNotContains use FcStrStr for strings so that
925 it matches semantics for !FcOpContains.
927 2005-05-20 Keith Packard <keithp@keithp.com>
931 Move fontconfig source package to libs as per override
933 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
935 reviewed by: Mike Fabian
938 The ka.orth file requires several characters which are not
939 used anymore in modern Georgian and which are missing in the free
940 Georgian TrueType fonts downloadable at:
942 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
944 2005-04-27 Keith Packard <keithp@keithp.com>
948 Update date to real 2.3.2 release date.
949 Fix change attributions
951 2005-04-27 Keith Packard <keithp@keithp.com>
954 Bump so revision for 2.3.2
955 * fc-cache/fc-cache.c: (scanDirs):
956 Fix a few minor leaks in error cases.
958 2005-04-23 Keith Packard <keithp@keithp.com>
963 * fontconfig/fontconfig.h:
964 Update for version 2.3.2
966 2005-04-21 Keith Packard <keithp@keithp.com>
968 * debian/fontconfig.postinst:
969 Don't force bitmap font enable in default
970 configuration; allows users to override this in
980 * debian/po/pt_BR.po:
981 * debian/po/templates.pot:
983 * debian/po/zh_CN.po:
986 * fc-cache/fc-cache.c: (main):
987 Destroy font configuration on exit to help valgrind
990 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
991 (FcFreeTypeCheckGlyph):
992 Use own transcoding routines in preference to iconv
993 which appears to have leaks in some translators.
994 Call iconv_close after using iconv (oops).
996 Prefer unicode encoding of Euro char as some
997 fonts mis-encode Euro in other ones.
999 Must fetch bitmap glyphs to get width values
1000 to check for monospace/dual-width fonts.
1002 2005-04-13 Ross Burton <ross@burtonini.com>
1005 Check that a pattern isn't already frozen in FcPatternFreeze.
1007 2005-03-31 Ross Burton <ross@burtonini.com>
1012 Run all FcPattern objects through FcObjectStaticName, so that
1013 compares can be done on pointers instead of strings (#2659)
1015 2005-03-17 Tor Lillqvist <tml@novell.com>
1017 * src/fontconfig.def.in: Add the .dll to the dll name.
1019 2005-03-10 Keith Packard <keithp@keithp.com>
1021 * debian/README.Debian:
1022 Update to reflect configuration changes
1024 * debian/fontconfig.postinst:
1025 Fix Autohint vs Autohinter mistake
1026 * debian/fontconfig.templates:
1027 Adopt changes from Josselin Mouette for configuration descriptions
1028 Update debian to version 2.3.1-2
1030 2005-03-08 Keith Packard <keithp@keithp.com>
1034 Update debian for 2.3.1
1036 2005-03-09 Tor Lillqvist <tml@novell.com>
1038 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1041 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1044 2005-03-08 Keith Packard <keithp@keithp.com>
1048 * fontconfig/fontconfig.h:
1051 2005-03-05 Keith Packard <keithp@keithp.com>
1053 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1054 Include space and remove numbers from valid script tags.
1055 This ensures that tags like 'lao ' work while rejecting
1056 those which have any digits.
1057 Eliminate a spurious debugging variable (len)
1059 2005-03-05 Keith Packard <keithp@keithp.com>
1061 * src/fcfreetype.c: (addtag), (GetScriptTags),
1062 (FcFontCapabilities):
1063 Rework GSUB/GPOS script parsing to survive broken fonts.
1064 Thanks for the broken font go to Manish Singh
1066 2005-03-05 Keith Packard <keithp@keithp.com>
1071 * debian/fontconfig.config:
1072 * debian/fontconfig.templates:
1074 Include 2.3 release information in changelog
1075 Add Josselin Mouette as an Uploader
1076 Set hinting_type to low priority configuration option
1079 * debian/fontconfig.postinst:
1080 yes_bitmaps.conf -> yes-bitmaps.conf
1086 2005-03-02 Keith Packard <keithp@keithp.com>
1089 * conf.d/Makefile.am:
1090 * conf.d/autohint.conf:
1091 * conf.d/no-sub-pixel.conf:
1092 * conf.d/sub-pixel.conf:
1093 * conf.d/unhinted.conf:
1094 * debian/autohint.conf:
1095 * debian/fontconfig.install:
1096 * debian/fontconfig.postinst:
1097 * debian/fontconfig.templates:
1098 * debian/no-sub-pixel.conf:
1099 * debian/unhinted.conf:
1100 Move debian-specific conf file examples upstream.
1102 Sub-pixel configuration examples must smash subpixel value
1103 as Xft always sets it from X.
1105 Change sub-pixel rendering debconf descriptions from
1106 Enable/Disable to Always/Never.
1108 2005-03-02 Keith Packard <keithp@keithp.com>
1111 * conf.d/.cvsignore:
1113 Ignore more build detritus
1116 Add debian package construction stuff.
1118 * config/config.guess:
1119 * config/config.sub:
1120 Update to newer versions of these tools
1123 Get library manuals to build again (we love automake).
1125 * debian/README.Debian:
1126 * debian/autohint.conf:
1131 * debian/fontconfig-udeb.install:
1132 * debian/fontconfig.config:
1133 * debian/fontconfig.defoma:
1134 * debian/fontconfig.dirs:
1135 * debian/fontconfig.install:
1136 * debian/fontconfig.postinst:
1137 * debian/fontconfig.postrm:
1138 * debian/fontconfig.templates:
1139 * debian/libfontconfig1-dev.install:
1140 * debian/libfontconfig1.install:
1141 * debian/local.conf.md5sum:
1142 * debian/no-sub-pixel.conf:
1143 * debian/po/POTFILES.in:
1152 * debian/po/pt_BR.po:
1153 * debian/po/templates.pot:
1155 * debian/po/zh_CN.po:
1157 * debian/unhinted.conf:
1158 Update debian build system to switch maintainers and
1159 deal with 2.3 functionality
1161 2005-03-01 Keith Packard <keithp@keithp.com>
1165 * fontconfig/fontconfig.h:
1168 2005-03-01 Keith Packard <keithp@keithp.com>
1171 Generate and install PDF versions of the manuals
1173 * doc/fcpattern.fncs:
1176 * doc/fcstring.fncs:
1177 Add missing exported functions, fix data types
1179 * doc/fontconfig-devel.sgml:
1180 Add missing pattern elements.
1182 * doc/fontconfig-user.sgml:
1183 Add missing pattern elements. Document conf.d usage,
1184 clarify available orthography list. Fix some config file
1185 attributes. Complete list of constants.
1187 * fontconfig/fontconfig.h:
1188 Mark FC_SOURCE deprecated.
1190 * src/fcfreetype.c: (FcFreeTypeQuery):
1191 Don't set FC_SOURCE any longer.
1193 2005-02-28 Keith Packard <keithp@keithp.com>
1196 * conf.d/Makefile.am:
1198 * conf.d/no-bitmaps.conf:
1199 * conf.d/sub-pixel.conf:
1200 * conf.d/yes-bitmaps.conf:
1202 Create prototype /etc/fonts/conf.d directory with a few
1203 sample configuration files.
1204 Deprecate use of local.conf for local customizations in favor of
1205 this directory based scheme which is more easily integrated into
1206 installation systems.
1209 Tag FC_EMBOLDEN as a boolean variable
1211 2005-02-10 Keith Packard <keithp@keithp.com>
1213 reviewed by: pborelli@katamail.com
1215 * src/fcdir.c: (FcFileScanConfig):
1216 Free patterns from fonts which are rejected by configuration
1219 2005-01-28 Keith Packard <keithp@keithp.com>
1223 * fontconfig/fontconfig.h:
1224 Update for version 2.2.99
1226 2005-01-28 Keith Packard <keithp@keithp.com>
1229 Add a few pointers (#2284, #2285)
1231 2005-01-28 Keith Packard <keithp@keithp.com>
1234 * src/fcname.c: (FcNameBool):
1235 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1236 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1237 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1238 Polite typechecking for test and edit expressions. Helps
1239 catch errors in the font configuration. (bug 229)
1241 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1243 reviewed by: Keith Packard <keithp@keithp.com>
1246 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1248 2005-01-13 Keith Packard <keithp@keithp.com>
1250 * doc/fontconfig-user.sgml:
1251 Add SEE ALSO section (bug 2085)
1253 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1255 reviewed by: Keith Packard <keithp@keithp.com>
1260 * fc-case/Makefile.am:
1261 * fc-glyphname/Makefile.am:
1262 * fc-lang/Makefile.am:
1263 * src/fontconfig.def.in:
1264 Cross compiling fixes (bug 280)
1266 2005-01-13 Keith Packard <keithp@keithp.com>
1269 Update blanks list (Closes bug 86)
1271 2005-01-04 Keith Packard <keithp@keithp.com>
1273 * src/fccache.c: (FcCacheFontSetAdd):
1274 Verify that every font pattern loaded from cache has
1275 both FC_FILE and FC_FAMILY entries.
1276 Attempt to fix bug #2219.
1278 2004-12-29 Keith Packard <keithp@keithp.com>
1282 * fontconfig/fontconfig.h:
1283 Update for version 2.2.98
1285 2004-12-29 Keith Packard <keithp@keithp.com>
1287 * fontconfig/fontconfig.h:
1288 Document ASCII limitations of Fc character conversion macros
1289 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1290 Fix off-by-one error in utf-8 case walking code.
1291 Add FcStrDowncase (useful for testing case conversion functions)
1293 2004-12-29 Keith Packard <keithp@keithp.com>
1296 * fc-case/.cvsignore:
1297 clean up CVS ignore lists
1298 * fc-lang/iso-3166.txt:
1299 Add territory database
1301 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1303 Reviewed by: Keith Packard
1306 Remove Han characters from Korean orthography
1308 2004-12-29 Keith Packard <keithp@keithp.com>
1311 Reorder utility programs to make sure fc-case is run before fc-lang
1312 as fc-lang uses fcstr.c which uses fccase.h
1316 2004-12-29 Keith Packard <keithp@keithp.com>
1319 Adopt some RedHat suggestions for standard font configuration.
1323 * fc-case/CaseFolding.txt:
1324 * fc-case/Makefile.am:
1325 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1326 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1327 (dump), (parseRaw), (caseFoldReadRaw), (main):
1328 * fc-case/fccase.tmpl.h:
1329 Add new helper program 'fc-case' to construct case folding
1330 tables from standard Unicode CaseFolding.txt file
1333 * src/fclist.c: (FcListValueHash):
1334 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1335 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1336 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1337 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1338 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1339 Re-implement case insensitive functions with Unicode
1340 aware versions (including full case folding mappings)
1342 2004-12-13 Keith Packard <keithp@keithp.com>
1344 reviewed by: Owen Taylor <otaylor@redhat.com>
1346 * src/fcmatch.c: (FcFontSetSort):
1347 I changed FcFontSetSort to respect the generic aliases better
1348 in the face of language matching.
1350 What I did was to ammend the strict sort order used by FcFontSort so
1351 that it 'satisfies' the language specified in the pattern by locating
1352 the best matching font supporting each pattern language and then
1353 ignores language in the remaining fonts for purposes of matching.
1355 So, when asking for 'sans:lang=en', you'll get an English font first,
1356 and then the remaining fonts sorted with respect to the 'sans' alias
1357 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1359 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1361 reviewed by: Keith Packard <keithp@keithp.com>
1363 * fontconfig/fontconfig.h:
1366 Configuration changes to request synthetic emboldening of
1367 fonts. The actual emboldening code will live in Xft.
1369 2004-12-09 John Thacker <thacker@math.cornell.edu>
1371 reviewed by: Keith Packard <keithp@keithp.com>
1375 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1376 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1377 и), and don't even appear in KOI8-R. (The hypothesis that they
1378 don't appear in KOI8-R due to their similarity with Latin I and i is
1379 eliminated by their presence in KOI8-U.) I have a couple of fonts
1380 with Russian support that don't have the letter.
1382 Therefore, 0406 and 0456 should be removed from or commented out of
1385 2004-12-06 michael meeks <mmeeks@novell.com>
1387 Reviewed by: Keith Packard <keithp@keithp.com>
1389 * src/fcinit.c: (FcMemReport):
1391 * src/fclist.c: (FcObjectSetAdd):
1392 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1393 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1394 * src/fcxml.c: (FcParsePatelt):
1395 memoize strings and share a single copy for all uses. Note that
1396 this could be improved further by using statically allocated blocks
1397 and gluing multiple strings together, but I'm basically lazy.
1398 In my environment with 800 font files, I get a savings of about 90KB.
1400 2004-12-06 Keith Packard <keithp@keithp.com>
1404 * config/Makedefs.in:
1407 * doc/fcatomic.fncs:
1408 * doc/fcblanks.fncs:
1409 * doc/fccharset.fncs:
1410 * doc/fcconfig.fncs:
1411 * doc/fcconstant.fncs:
1413 * doc/fcfontset.fncs:
1414 * doc/fcfreetype.fncs:
1416 * doc/fcmatrix.fncs:
1417 * doc/fcobjectset.fncs:
1418 * doc/fcobjecttype.fncs:
1419 * doc/fcpattern.fncs:
1420 * doc/fcstring.fncs:
1421 * doc/fcstrset.fncs:
1423 * doc/fontconfig-devel.sgml:
1424 * doc/fontconfig-user.sgml:
1426 * doc/version.sgml.in:
1427 * fc-cache/Makefile.am:
1428 * fc-cache/fc-cache.c:
1429 * fc-glyphname/Makefile.am:
1430 * fc-glyphname/fc-glyphname.c:
1431 * fc-glyphname/fcglyphname.tmpl.h:
1432 * fc-lang/Makefile.am:
1442 * fc-lang/az_ir.orth:
1476 * fc-lang/fc-lang.c:
1477 * fc-lang/fc-lang.man:
1478 * fc-lang/fclang.tmpl.h:
1523 * fc-lang/ku_ir.orth:
1556 * fc-lang/ps_af.orth:
1557 * fc-lang/ps_pk.orth:
1586 * fc-lang/ti_er.orth:
1587 * fc-lang/ti_et.orth:
1613 * fc-lang/zh_cn.orth:
1614 * fc-lang/zh_hk.orth:
1615 * fc-lang/zh_mo.orth:
1616 * fc-lang/zh_sg.orth:
1617 * fc-lang/zh_tw.orth:
1619 * fc-list/Makefile.am:
1620 * fc-list/fc-list.c:
1621 * fc-match/Makefile.am:
1622 * fc-match/fc-match.1:
1623 * fc-match/fc-match.c:
1624 * fontconfig/fcfreetype.h:
1625 * fontconfig/fcprivate.h:
1626 * fontconfig/fontconfig.h:
1647 Change files from ISO-Latin-1 to UTF-8
1649 2004-12-04 Keith Packard <keithp@keithp.com>
1652 Update links to new freedesktop.org locations
1654 Add uninstall-local to get rid of fonts.conf and local.conf if they
1655 match the distributed versions. Fixes 'make distcheck'
1657 2004-12-04 Keith Packard <keithp@keithp.com>
1661 * fontconfig/fontconfig.h:
1662 Updates for version 2.2.97
1664 2004-12-04 Owen Taylor <otaylor@redhat.com>
1666 reviewed by: Keith Packard <keithp@keithp.com>
1668 * fc-cache/fc-cache.c: (main):
1669 Sleep for two seconds before exiting to make sure timestamps
1670 for future changes have distinct mod times in the file system.
1673 Add Punjabi orthography. Bug #1671.
1675 2004-12-04 Keith Packard <keithp@keithp.com>
1678 Just remove the FC_FONTDATE -- it has locale issues and
1679 annoys redhat multi-arch installs. Now that all X fonts are
1680 included without prejudice, the chances of the date being at
1681 all interesting are rather limited. Bug #505.
1683 Add copyright and license
1685 2004-12-04 Keith Packard <keithp@keithp.com>
1688 Change default set of fonts to include all of
1689 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1690 * doc/fontconfig-user.sgml:
1691 Document new <include>directory-name</include> semantics
1693 add <include ignore_missing="yes">conf.d</include>
1695 Add selectfont to ignore bitmap fonts, add comment for
1696 selectfont which accepts bitmap fonts.
1699 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1700 Allow <include> configuration elements to reference directories.
1701 Parse and load all files of the form [0-9]* in sorted order.
1703 2004-12-04 Keith Packard <keithp@keithp.com>
1706 Report command line for $srcdir/configure accurately.
1709 2004-12-04 Keith Packard <keithp@keithp.com>
1711 * src/fcfreetype.c: (FcFreeTypeQuery):
1712 Check for non-empty face->family_name and face->style_name
1713 before using those for the font. Empty names match everything.
1716 2004-12-04 Keith Packard <keithp@keithp.com>
1719 * fontconfig/fontconfig.h:
1720 * src/fcfreetype.c: (FcFreeTypeQuery):
1722 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1723 available. This provides font file format information (BDF, Type 1,
1724 PCF, TrueType) for each font. Closes #109.
1726 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1728 reviewed by: Keith Packard <keithp@keithp.com>
1730 * doc/fontconfig-user.sgml:
1733 * fontconfig/fontconfig.h:
1734 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1735 (GetScriptTags), (FcFontCapabilities):
1737 Add detection for font capabilities (bug #105)
1739 2004-12-04 Keith Packard <keithp@keithp.com>
1742 Move existing fonts.conf to fonts.conf.bak
1745 Add detection of iconv
1747 * doc/fcpattern.fncs:
1748 * doc/fontconfig-devel.sgml:
1749 * doc/fontconfig-user.sgml:
1751 Document new selectfont elements
1754 Switch to UTF-8 in comment
1756 * fontconfig/fontconfig.h:
1758 Add fullname, and family/style/fullname language entries
1760 * src/fccache.c: (FcCacheFontSetAdd):
1761 * src/fcdir.c: (FcFileScanConfig):
1762 Respect selectfont/*/glob
1765 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1766 (FcConfigCompareValue), (FcConfigPatternsAdd),
1767 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1768 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1769 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1770 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1771 Add support for selectfont
1773 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1774 (FcStringInPatternElement), (FcFreeTypeQuery):
1775 Add multi-lingual family/style/fullname support
1777 * src/fclist.c: (FcListPatternMatchAny):
1778 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1780 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1781 (FcObjectStaticName):
1782 Add new FcPatternRemove/FcPatternAppend.
1783 FcObjectStaticName stores computed pattern element names which
1784 are required to be static.
1786 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1791 Remove spurious / after $(DESTDIR)
1793 2004-06-30 Keith Packard <keithp@keithp.com>
1797 * fontconfig/fontconfig.h:
1800 2004-06-30 Keith Packard <keithp@keithp.com>
1802 Provided by: Lubos Lunak <l.lunak@suse.cz>
1804 * src/fccfg.c: (FcConfigUptoDate):
1805 However FcConfigUptoDate() doesn't seem to work. See the attached
1806 patch. First there's an obvious misplaced parenthesis making it
1807 return always false, and second, even this call fails to detect font
1808 changes (e.g. adding a new font to
1809 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1810 well. The problem seems to be triggered by my fonts.conf specifying
1811 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1812 doesn't include subdirs, unlike config->fontDirs.
1814 2004-06-03 Keith Packard <keithp@keithp.com>
1816 * fontconfig/fontconfig.h:
1817 Remove comma at end of FcResult enum definition.
1819 2004-05-29 Keith Packard <keithp@keithp.com>
1822 Add steps to md5sum release
1824 2004-05-29 Keith Packard <keithp@keithp.com>
1828 * fontconfig/fontconfig.h:
1831 2004-05-29 Keith Packard <keithp@keithp.com>
1833 * fontconfig/fontconfig.h:
1834 * src/fcmatch.c: (FcFontSetMatch):
1835 Add FcResultOutOfMemory to provide an accurate error when
1836 FcFontSetMatch fails in this way
1839 Make #warning about lacking various FreeType features indicate
1840 which version those features appeared so users know how to
1841 fix the problem (Thanks to Anton Tropashko)
1843 2004-05-05 Keith Packard <keithp@keithp.com>
1845 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1846 Replace MIN/MAX/ABS macros which happen to have come
1847 from FreeType with fontconfig-specific ones (FC_*)
1849 2004-04-23 Keith Packard <keithp@keithp.com>
1852 Extend release preparation instructions to include
1853 notification and distribution steps
1855 2004-04-23 Keith Packard <keithp@keithp.com>
1859 * fontconfig/fontconfig.h:
1860 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1862 2004-04-23 Keith Packard <keithp@keithp.com>
1865 Ignore a few more autotool files
1867 2004-04-14 Keith Packard <keithp@keithp.com>
1870 Add instructions for doing a release
1872 * fontconfig.spec.in:
1873 clean up .spec file; perhaps this will be useful to somebody...
1877 * fontconfig/fontconfig.h:
1880 * fc-lang/fc-lang.c:
1881 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1883 * fc-glyphname/Makefile.am:
1884 * fc-lang/Makefile.am:
1885 * fc-list/Makefile.am:
1886 * fc-match/Makefile.am:
1888 Add WARN_CFLAGS to pass -W flags for GCC systems
1890 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1891 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1892 Change various char types around to match across
1894 Fixed bug in using available_sizes[i].height which
1895 is in pixels, not 64ths of a pixel.
1897 2004-03-06 Keith Packard <keithp@keithp.com>
1899 * src/fcfreetype.c: (FcFreeTypeQuery):
1900 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1901 matches looking for explicit values prefer exact matches
1903 2004-03-02 Keith Packard <keithp@keithp.com>
1905 Supplied by: mfabian@suse.de (Mike FABIAN)
1907 * src/fcfreetype.c: (FcFreeTypeQuery):
1908 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1909 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1911 2004-02-21 Manish Singh <yosh@gimp.org>
1913 * fc-glyphname/fc-glyphname.c: (main):
1914 Cast strlen to int for printf, so we're 64-bit clean.
1916 2004-02-11 Keith Packard <keithp@keithp.com>
1919 * src/fcfreetype.c: (FcGetPixelSize):
1920 Ok, so I messed up the test for y_ppem. Let's see if I
1921 got it right this time.
1923 2004-02-10 Keith Packard <keithp@keithp.com>
1926 * src/fcfreetype.c: (FcGetPixelSize):
1927 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1928 FT_Bitmap_Size record. Add a configure.in test for this
1929 and change the code accordingly (using height instead).
1931 2004-02-06 Keith Packard <keithp@keithp.com>
1934 Add Low Saxon orthography
1935 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1937 * src/fccfg.c: (FcConfigNewestFile):
1938 Oops. Left 'newest.set' unset, which would miscompute
1941 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1942 (FcFreeTypeCheckGlyph):
1943 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1944 font properties (which report the wrong value in current FreeType)
1946 Don't attempt to check for empty glyphs in non-scalable fonts; they
1949 2004-02-01 Tor Lillqvist <tml@iki.fi>
1951 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1952 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1953 cache if config->cache is NULL, which happens if FcConfigHome() is
1954 NULL. Guard against that by using the temp folder in that case.
1956 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1958 * fc-lang/az_ir.orth:
1959 * fc-lang/ku_ir.orth:
1960 * fc-lang/ps_af.orth:
1961 * fc-lang/ps_pk.orth:
1962 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1963 (Afghan and Pakistani).
1965 Updated Urdu orthography with real data.
1967 2003-12-11 Carl Worth <cworth@east.isi.edu>
1969 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1972 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1974 (all-local): Remove excessive whitespace.
1976 * autogen.sh: Add 'set -e' to abort when any program fails,
1977 (avoids printing of 'now type make' after configure aborts).
1979 2003-11-17 Eric Christopherson <rakko@charter.net>
1981 reviewed by: Keith Packard <keithp@keithp.com>
1984 * fontconfig/fcfreetype.h:
1986 Switch to FreeType 2.1.7 style includes. Bug #150.
1988 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1990 * fc-list/fc-list.sgml: Add some example usages.
1992 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1995 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1998 2003-10-27 Keith Packard <keith@keithp.com>
2001 * fontconfig/fontconfig.h:
2002 Update to version 2.2.92
2004 2003-10-27 Keith Packard <keithp@keithp.com>
2009 * fc-cache/Makefile.am:
2010 * fc-glyphname/Makefile.am:
2011 * fc-lang/Makefile.am:
2012 * fc-list/Makefile.am:
2013 * fc-match/Makefile.am:
2016 Yet more cleanups to finish getting 'make distcheck' working
2017 This has been tested to ensure that it even works from a _build
2020 2003-10-26 Keith Packard <keithp@keithp.com>
2024 * fc-cache/Makefile.am:
2025 * fc-glyphname/Makefile.am:
2026 * fc-lang/Makefile.am:
2027 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2028 * fc-list/Makefile.am:
2029 * fc-match/Makefile.am:
2030 Attempts to fix 'make distcheck' work. Things are
2031 progressing pretty well, but there are still failures
2032 long into the process dealing with docs (as always).
2034 The big changes here are mostly to make $(srcdir) != "."
2035 work correctly, fixing the docbook related sections and
2036 fc-lang were particularily tricky. Docbook refuses to load
2037 system entities from anywhere other than where the original .sgml
2038 file was located, so no luck looking in "." for the
2039 configure-generated version.sgml and confdir.sgml files.
2041 fc-lang needed help finding .orth files; added a -d option
2042 to set the directory as the least evil of many options.
2044 Now to go use a faster machine and try and wring out the last
2047 2003-10-26 Keith Packard <keithp@keithp.com>
2051 2003-10-26 Keith Packard <keithp@keithp.com>
2054 Include confdir.sgml.in in EXTRA_DIST
2056 2003-10-09 Josselin Mouette <joss@debian.org>
2058 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2059 * fc-list/fc-list.sgml fc-list/Makefile.am:
2060 Replace fc-cache and fc-list manpages with more detailed, SGML
2063 2003-09-23 Owen Taylor <otaylor@redhat.com>
2065 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2066 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2067 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2070 2003-09-23 Owen Taylor <otaylor@redhat.com>
2072 * fc-lang/ka.orth: Remove Georgian capitals, they
2073 aren't used for normal writing. (Bug #116)
2075 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2077 * doc/fontconfig-devel.sgml:
2078 * doc/fontconfig-user.sgml:
2079 * fontconfig/fontconfig.h:
2081 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2082 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2084 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2085 monospace and dual-width fonts, allow roughly a 3% variance in the
2088 2003-08-31 Manish Singh <yosh@gimp.org>
2090 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2093 2003-08-15 Carl Worth <cworth@isi.edu>
2095 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2096 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2098 * src/fcpat.c (FcValueListEntDestroy): New function to support
2099 FcFini memory cleanup. Some statistics are not kept in
2101 (FcValueListFreeze): Move hashTable outside this function so it
2102 can be accessed by FcValueListThawAll.
2103 (FcValueListThawAll): New function complements FcValueListFreeze.
2104 (FcPatternBaseFreeze): Move hashTable outside this function so it
2105 can be accessed by FcPatternBaseThawAll.
2106 (FcPatternBaseThawAll): New function complements
2107 FcPatternBaseFreeze.
2108 (FcPatternThawAll): New function complements FcPatternFreeze.
2110 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2112 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2113 allocated FcCharLeafEnt "blocks" so they can be freed later.
2114 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2115 can be accessed by FcCharSetThawAllLeaf.
2116 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2117 (FcCharSetFreezeBase): Move hashTable outside this function so it
2118 can be accessed by FcCharSetThawAll.
2119 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2121 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2122 (FcConfigDestroy): Fic leak of FcBlanks.
2124 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2125 (main): Add call to FcFini when finished.
2127 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2128 static. Add prototypes.
2130 * doc/fcinit.fncs: Add documentation for FcFini function.
2132 * doc/edit-sgml.c: Mark several local functions as static. Add
2135 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2137 2003-06-15 Tor Lillqvist <tml@iki.fi>
2139 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2140 before comparing (needed on Windows).
2142 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2144 2003-06-13 Tor Lillqvist <tml@iki.fi>
2146 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2149 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2150 WINDOWSFONTDIR token.
2152 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2153 end, not to confuse libtool, which expects the EXPORTS line to be
2154 the first. Add FcConfigEnableHome.
2156 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2157 built as a DLL on Win32.
2159 2003-06-09 Keith Packard <keithp@keithp.com>
2161 * Tag version 2.2.90
2163 2003-06-09 Keith Packard <keithp@keithp.com>
2165 * Optimization in FcLangSetIndex was broken, occasionally
2166 returning a pointer to the wrong location on miss
2168 * Add fc-match to test font matching from the command line.
2170 2003-05-31 Keith Packard <keithp@keithp.com>
2172 * (Bug 85) add support for culmus fonts
2173 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2174 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2176 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2178 * Fix "contains" op for strings and langsets.
2180 2003-05-17 Keith Packard <keithp@keithp.com>
2182 * Fix build error with BDF prop local. Free langset after query
2184 2003-05-14 Keith Packard <keithp@keithp.com>
2186 * Extract spacing from XLFD atom
2188 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2190 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2191 disappeared in 1.30.
2193 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2195 2003-05-12 Keith Packard <keithp@keithp.com>
2197 * Use FcIsWidth to share code
2199 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2200 misclassifying some Han fonts as monospaced.
2202 2003-05-07 Keith Packard <keithp@keithp.com>
2204 * Add filename-based accept/reject to ammend available fonts.
2206 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2207 older FreeType releases.
2209 2003-05-06 Keith Packard <keithp@keithp.com>
2211 * Remove 0b82 and Tamil numbers from tamil
2212 orthography (Jungshik Shin <jshin@mailaps.org>)
2214 2003-05-04 Keith Packard <keithp@keithp.com>
2216 + Map glyph names in fonts with adobe custom encoding to unicode
2218 2003-05-02 Keith Packard <keithp@keithp.com>
2220 * Add FC_WEIGHT_BOOK as weight 75
2222 2003-04-30 Keith Packard <keithp@keithp.com>
2224 * Typo in bitstream foundry name
2226 2003-04-24 Keith Packard <keithp@keithp.com>
2228 * Eliminate italic_angle check for PS fonts
2230 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2232 * Getting closer to fixing /etc/fonts hard-coding.
2234 2003-04-22 Keith Packard <keithp@keithp.com>
2236 * Update autogen.sh to work with newer automake versions
2237 * Handle pattern elements moving during multiple edits
2239 2003-04-23 James Henstridge <james@daa.com.au>
2241 * doc/fontconfig-devel.sgml: close the <para> element.
2243 * doc/fcpattern.fncs: close the <para> element.
2245 * doc/func.sgml: close the <refsynopsisdiv> element.
2247 2003-04-22 Keith Packard <keithp@keithp.com
2249 * Update autogen.sh to work with newer automake versions
2250 * Handle pattern elements moving during multiple edits
2252 2003-04-17 Colin Walters <walters@debian.org>
2254 + Remove some unused variables, and initialize some other ones so
2255 gcc doesn't warn us.
2257 2003-04-16 Keith Packard <keithp@keithp.com>
2259 + tag version 2.1.94
2261 2003-04-16 Keith Packard <keithp@keithp.com>
2263 + add BDF property fetching support for foundry
2264 (from Juliusz Chroboczek)
2265 + add BDF property fetching support for width
2267 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2269 + Implemented foundry generation for Type 1 and TrueType
2271 2003-04-11 Gerard Escalante <g2@magestudios.net>
2273 + Retrieve information from Type1 FontInfo dictionaries
2275 2003-04-07 Colin Walters <walters@verbum.org>
2277 + src/Makefile.am: Fix dummy makefile target names when
2278 MS_LIB_AVAILABLE isn't set.
2280 2003-03-22 Tor Lillqvist <tml@iki.fi>
2282 Changes for Windows:
2284 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2286 + We don't want to hardcode the fonts.conf file location in the
2287 DLL, so we look up the DLL location at run-time in a DllMain()
2288 function. The fonts.conf location is deduced from that.
2290 + The colon can't be used as path separator on Windows,
2291 semicolon is used instead. File path components can be separated
2292 with either slash or backslash. Absolute paths can also begin
2293 with a drive letter.
2295 + Add internal function FcStrLastSlash that strrchr's the last
2296 slash, or backslash on Windows.
2298 + There is no link() on Windows. For atomicity checks, mkdir a
2299 lock directory instead.
2301 + In addition to HOME, also look for USERPROFILE.
2303 + Recognize the special font directory token WINDOWSFONTDIR, to
2304 use the system's font directory.
2306 + Remove the fontconfig-def.cpp that was obsolete. Add
2307 fontconfig.def(.in), without internal functions.
2309 + Add a fontconfig-zip(.in) script, used to build a binary
2312 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2313 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2314 to main package and man3/* to devel package
2316 + Added missing defattr(-, root, root) to main RPM package
2318 + Added HTML and text development documentation to -devel subpackage
2320 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2321 + Added back the configure macro options --disable-docs, otherwise
2322 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2323 version number) unconditionally, causing RPM to fail the build due
2324 to _unpackaged_files_terminate_build. We pick up the pregenerated
2325 docs with %doc already.
2327 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2328 + Removed commented out rpm macro define at top of spec file,
2329 replacing it with a simple explanation, since rpm macros are
2330 expanded by rpm even in comments.
2332 + Changed /usr/bin to _bindir in BuildRequires lines
2334 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2336 + Reorganized file manifest lists
2338 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2340 + fontconfig.spec.in: Improvements from Red Hat spec file.
2342 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2344 + docs/*.sgml: SGML fixes.
2346 Sat Mar 1 17:28:53 PST 2003 keithp
2347 + Ok, so the ChangeLog is a bit out of date
2349 + Lots of bugs fixed; most are in bugzilla, the
2350 biggest problems were in cache management where
2351 Owen discovered the library would lose badly when
2352 combining fonts-cache and ~/.fonts-cache data
2354 + Converted from autoconf to automake. This after
2355 getting patches accepted into libtool to allow
2356 the '-version-number' argument which lets
2357 packages set version numbers explicitly rather
2358 than the roundabout libtool way
2360 + Converted documentation to SGML using the docbook
2361 DTD. Now .txt and .html documents are installed
2362 in /usr/share/doc/fontconfig and there's no
2363 man page. Perhaps a man version can be written
2366 Sat Aug 31 15:21:22 PDT 2002 keithp
2367 + Xrender and Xft had several bugs related to
2368 rendering manually placed or poly-face text
2370 + Added more complete memory tracing in fontconfig
2371 Checked with (patched) mozilla and found no leaks
2373 + Updated Latin orthographies by comparing those from
2374 evertype.com with those from eki.ee. Tried to make
2375 sensible choices, including chars that occured in both
2376 and leaving some optional chars out that occured only
2379 Mon Aug 26 16:33:04 PDT 2002 keithp
2380 + Owen discovered that FcLangSetHasLang wasn't actually
2381 checking the language set.
2383 Mon Aug 26 13:37:23 PDT 2002 keithp
2384 + Append a version number to cache filenames
2386 Thu Aug 22 11:36:18 PDT 2002 keithp
2388 + Add "contains" and "not_contains" operators and elements to
2391 + Changed semantics of eq operator for LangSets to check for
2392 FcLangEqual so that any match will do
2394 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2395 of FcValueEqual to check for identical values when inserting into
2396 the results. This broke when the above semantic change was made,
2397 now it uses FcValueEqual which is "more correct" in any case.
2399 Thu Aug 22 00:32:29 PDT 2002 keithp
2401 + Reimplement FC_LANG as new datatype. Lists of strings
2402 was consuming over a megabyte of memory for 401 fonts.
2404 + Freeze patterns loaded from cache files. This shares
2405 common value lists and common patterns which saves
2406 considerable memory.
2408 + Change the denotation of 'constant' charsets to use special
2409 ref value instead of separate boolean.
2411 + Clean up leak tracing stuff, found several unannoted alloc/free
2414 Tue Aug 20 16:17:37 PDT 2002 keithp
2416 + Fix memory leak when parsing matrices from XML
2418 Mon Aug 19 11:57:27 PDT 2002 keithp
2420 + Fix autoconf files to pass FONTCONFIG_PATH on
2421 compile line so that ${prefix} gets substituted
2424 + Use getc_unlocked/putc_unlocked on systems that
2425 provide them to avoid damage done to stdio by posix
2427 + Eliminate FC_PATTERN and FcTypePattern in favor of
2428 an extended api for FcConfigSubstitute which takes
2429 both the font and the pattern.
2431 + Add 'sans serif' alias for 'sans-serif' as some apps
2432 can't handle hyphens in family names
2434 + Eliminate pretense of support for libxml2
2436 + Comment origins of Han orthographies
2438 Tue Jul 30 18:37:09 PDT 2002 keithp
2440 + Add binding property to edit element so that strong
2441 binding values may be inserted by the config file.
2442 The default remains weak.
2444 Sun 28 Jul 04:16:55 PDT 2002 keithp
2446 + Tagged release candidate 1 in the CVS tree and
2447 placed fcpackage.rc1.tar.gz for distribution
2449 Thu Aug 1 08:55:08 PDT 2002 keithp
2451 + Fixed autoconf builds to always specify install
2452 target files (for BSD). Also fixed to
2453 define FONTCONFIG_PATH in config.h so that
2454 nonstandard installs will actually work.