1 2006-01-14 Patrick Lam <plam@mit.edu>
2 * fc-cache/fc-cache.c (scanDirs):
3 * fontconfig/fontconfig.h:
4 * src/fccache.c (FcGlobalCacheReadDir, FcGlobalCacheUpdate,
5 FcGlobalCacheSave, FcDirCacheUnlink, FcDirCacheOpen):
6 * src/fccfg.c (FcConfigBuildFonts, FcConfigNormalizeFontDir):
7 * src/fcdir.c (FcDirScanConfig):
10 Compare device numbers as well as inodes.
11 Always normalize directory names before comparing them.
13 2006-01-11 Mike Fabian <mfabian@suse.de>
16 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint):
18 Allocate extra space for appended '/' in directory name.
20 2006-01-10 Patrick Lam <plam@mit.edu>
21 * src/fccache.c (FcDirCacheConsume, FcDirCacheOpen,
22 FcDirCacheValid, FcDirCacheHasCurrentArch,
23 FcDirCacheUnlink, FcDirCacheRead, FcDirCacheConsume):
24 * fc-cache/fc-cache.c (main):
26 Explicitly add font dirs to config.fontDirs even if they're empty.
27 Set current config in fc-cache.c.
28 Fix treatment of cache directory as read from cache file; don't
29 use string equality to determine if we have the right file,
32 2006-01-09 Patrick Lam <plam@mit.edu>
33 * fc-cache/fc-cache.c (scanDirs):
34 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
35 * src/fccache.c (FcGlobalCacheReadDir, FcCacheReadDirs,
36 FcDirCacheRead, FcDirCacheConsume, FcDirCacheWrite):
37 * src/fccfg.c (FcConfigNormalizeFontDir):
38 * src/fcdir.c (FcDirScanConfig):
41 Normalize font dirs by using the form, as given in fonts.conf, and
42 recorded in FcConfig's fontDirs string set, as canonical.
44 Actually update config.fontDirs as font directories are scanned.
46 2006-01-08 James Su <james.su@gmail.com>
47 * src/fcmatch.c (FcFontSetMatch):
49 Fix matching bug when multiple elements match; don't use
50 the sum of all scores, but the best score.
52 Also more perf opts, e.g. evaluate best over all font sets
53 rather than on a per-set basis (and other changes).
55 2006-01-08 Patrick Lam <plam@mit.edu>
56 * src/fccache.c (FcDirCacheConsume):
58 Properly skip past dir caches that contain zero fonts (as occurs
59 in global caches.) Reported by Mike Fabian.
61 2006-01-06 Patrick Lam <plam@mit.edu>
62 * src/fcdbg.c (FcPatternPrint):
64 Print out full pathname in fc-match -v as well. Reported by
67 2006-01-06 Mike Fabian <mfabian@suse.de>
70 * src/fcname.c (FcNameParse):
72 Fix bug where fc-match crashes when given __DUMMY__ property to
75 (I added the __DUMMY__ string to enable callers of
76 FcObjectToPtrLookup to distinguish an error return from a
77 successful return. -PL)
79 2006-01-05 Patrick Lam <plam@mit.edu>
82 Add self to AUTHORS list.
84 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
85 FcCacheFileRead, FcCachePrintSet, main):
86 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
87 FcGlobalCacheSave, FcCacheNextOffset,
88 FcDirCacheHasCurrentArch, FcDirCacheRead,
89 FcDirCacheConsume, FcDirCacheWrite):
91 * src/fcpat.c (comment):
93 Minor change to global cache file format to fix fc-cat bug
94 reported by Frederic Crozat, and buglet with not globally caching
95 directories with zero fonts cached.
97 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
100 * src/fccfg.c (FcConfigEvaluate):
102 Fix double-free which occurs because FcValueCanonicalize doesn't
103 create an extra copy of the returned value, it only canonicalizes
106 2006-01-02 Patrick Lam <plam@mit.edu>
107 * doc/fontconfig-user.sgml:
109 Fix version of .cache file (currently 1 -> currently 2). Reported
112 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
115 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
117 Shut up GCC warnings on amd.
119 2005-12-20 Patrick Lam <plam@mit.edu>
123 * fontconfig/fontconfig.h:
125 Bump version to 2.3.93.
127 2005-12-20 Patrick Lam <plam@mit.edu>
128 * src/fccharset.c (FcLangCharSetPopulate):
129 * src/fcint.h (FcCacheBankToIndex):
131 Avoid check on _fcBankId nullness and fix case where it used to
134 2005-12-20 Patrick Lam <plam@mit.edu>
135 * src/fcxml.c (FcConfigParseAndLoad):
137 Use open instead of fopen (requested by Phil Race for Sun).
139 2005-12-20 Patrick Lam <plam@mit.edu>
140 * src/fccache.c (FcDirCacheWrite);
141 * fc-cache/Makefile.am:
143 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
146 2005-12-20 Patrick Lam <plam@mit.edu>
147 * src/fcfreetype.c (FcFreeTypeQuery):
149 Restore code to skip over PCF fonts that have no encoded
151 (We guess that a font is PCF by presence of the PIXEL_SIZE
154 2005-12-12 Patrick Lam <plam@mit.edu>
155 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
157 Read and write the original location as a fallback for the
158 hashed cache file locations. This is mostly for users to be
159 able to have per-directory cache files.
161 2005-12-12 Patrick Lam <plam@mit.edu>
162 * fc-cache/fc-cache.c (scanDirs):
163 * fc-cache/Makefile.am:
164 * src/fccache.c (FcDirCacheHashName):
166 Improve error message when fc-cache can't write the cache. Add
167 missing slash. Reported by Behdad. Incorporate Behdad's patch to
168 create /var/cache/fontconfig when appropriate.
170 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
173 * src/fcxml.c (FcConfigGetAttribute):
175 Fix crash reported by Frederic Crozat when using libxml2.
177 2005-12-09 Patrick Lam <plam@mit.edu>
180 * fc-cache/Makefile.am:
181 * fc-cat/Makefile.am:
183 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
184 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
185 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
186 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
187 FcDirCacheHasCurrentArch, FcDirCacheHashName,
188 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
190 Migrate cache files from fonts directories to
191 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
192 but requires that all caches get rebuilt.
194 Also, autogen.sh now needs the additional parameter
195 --localstatedir=/var.
197 2005-12-07 Patrick Lam <plam@mit.edu>
198 * src/fcpat.c (FcPatternAddString):
200 Because we've changed FcPatternAddString to use FcStrStaticName
201 and not FcValueSave, explicitly handle the case of a null string.
203 2005-12-06 Patrick Lam <plam@mit.edu>
204 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
208 2005-12-05 Patrick Lam <plam@mit.edu>
209 * src/fcname.c (FcNameGetObjectType):
211 Don't assign types to user object names.
213 2005-12-05 Patrick Lam <plam@mit.edu>
214 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
216 Don't free strings that have been returned from FcStrStaticName.
218 2005-12-01 Patrick Lam <plam@mit.edu>
219 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
221 Add codepath for reading global cache files as well.
223 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
226 * conf.d/10-fonts.persian.conf:
227 * conf.d/Makefile.am:
229 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
231 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
234 * src/fcxml.c (FcConfigParseAndLoad):
236 Only add a config file to the set of config files once.
238 2005-11-29 Patrick Lam <plam@mit.edu>
239 * src/fcint.h (FcCacheBankToIndex);
241 Fix segfault by guarding array dereference.
243 2005-11-29 Dirk Mueller <dmueller@suse.de>
247 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
248 FcCacheBankToIndex, FcCacheBankToIndexMTF,
252 Refactor FcCacheBankToIndex into an inlineable part
253 (in fcint.h) which checks the front of the list and a
254 non-inlineable part which finds and moves the appropriate element
255 to the front of the list.
257 2005-11-29 Patrick Lam <plam@mit.edu>
258 * src/fccfg.c (FcConfigBuildFonts):
259 * src/fccache.c (FcCacheReadDirs):
261 Make the perf guys hate me a bit less: hoist the directory-name
262 FcConfigAcceptFont check for cached fonts up to directory cache
263 read time, rather than running it for each font.
265 2005-11-29 Patrick Lam <plam@mit.edu>
266 * src/fccfg.c (FcConfigBuildFonts):
268 * src/fcpat.c (FcPatternFindFullFname):
270 Don't make FcPatternFindFullFname available to fccfg, it's not
271 really safe. Instead go through FcPatternGetString (sorry,
272 perf guys.) Also, use globs for dirs as well.
274 2005-11-28 Patrick Lam <plam@mit.edu>
275 * src/fccfg.c (FcConfigBuildFonts):
279 2005-11-28 Patrick Lam <plam@mit.edu>
281 * src/fcpat.c (FcPatternFindFullFname):
282 * src/fccfg.c (FcConfigBuildFonts):
284 Fix problem dating back at least to 2.3.2 where globs weren't
285 being applied to patterns loaded from a cache.
287 2005-11-28 Patrick Lam <plam@mit.edu>
288 * doc/fontconfig-user.sgml:
290 Fix some obvious spelling mistakes.
292 2005-11-28 Dirk Mueller <dmueller@suse.com>
293 Stephan Kulow <coolo@suse.de>
296 * src/fcmatch.c (FcFontSetMatch):
298 Don't kill all fonts during match (oops!)
301 2005-11-25 Dirk Mueller <dmueller@suse.com>
302 Stephan Kulow <coolo@suse.de>
303 Michael Matz <matz@suse.de>
306 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
309 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
310 inline FcCompare into FcFontSetMatch and reorder the
311 loops, adding a boolean array which blocks patterns from future
312 consideration if they're known to not be best on some past
315 2005-11-26 Dirk Mueller <dmueller@suse.com>
318 * src/fcmatch.c (FcCompareValueList):
322 2005-11-25 Patrick Lam <plam@mit.edu>
323 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
325 Don't do random matching when bad objects are passed into
328 2005-11-25 Patrick Lam <plam@mit.edu>
330 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
331 FcPatternSerialize, FcPatternUnserialize,
332 FcValueListEnsureBank, FcValueListDistributeBytes,
333 FcValueListUnserialize):
335 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
336 _fcPatternElts, _fcValueLists for consistency.
338 2005-11-25 Dirk Mueller <dmueller@suse.com>
343 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
345 2005-11-25 Patrick Lam <plam@mit.edu>
347 * src/fccache.c (FcDirCacheConsume):
348 * src/fccharset.c (FcCharSetUnserialize):
349 * src/fcfs.c (FcFontSetUnserialize):
350 * src/fclang.c (FcLangSetUnserialize):
351 * src/fcname.c (FcObjectUnserialize):
352 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
353 FcPatternUnserialize):
355 Pass around FcCache *s to the Unserialize functions for extra
356 consistency (and less overhead, for what that's worth).
358 2005-11-24 Dirk Mueller <dmueller@suse.com>
362 * src/fcmatch.c (FcCompare*, FcFontSetSort):
363 * src/fcname.c (FcNameUnparseValue):
365 Inline the *PtrU functions to gain perf.
366 Remove unneeded params for the FcCompare* functions.
368 2005-11-24 Dirk Mueller <dmueller@suse.com>
371 * src/fcint.h, fontconfig/fontconfig.h:
373 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
375 * src/fcpat.c, src/fcint.h, src/fcname.c:
377 Check for type validity during FcPatternAddWithBinding, don't
378 verify type in FcFontMatch, don't call FcCanonicalize here
379 (which always does a deep copy).
381 2005-11-24 Dirk Mueller <dmueller@suse.com>
384 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
385 * src/fcpat.c (FcPatternAddWithBinding):
387 Make FcCompareString and FcCompareFamily less expensive.
388 Only add a value for FC_FAMILY if the proposed value is a string.
390 2005-11-24 Dirk Mueller <dmueller@suse.com>
393 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
394 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
395 * src/fcint.h (FcDebug):
397 Inline FcDebug invocations and only initialize once, in FcInit*.
398 Improve debug msg in FcPatternPrint.
400 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
403 * fontconfig/fontconfig.h:
406 Minor code warning cleanups.
408 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
411 * fc-match/fc-match.c (main):
413 Make getopt_long accept -s parameter to fc-match as well.
415 2005-11-21 Dirk Mueller <dmueller@suse.com>
418 * src/fcmatch.c (FcCompareValueList):
420 Manually perform inlining & partial redundancy elimination to
421 reduce calls to FcValueListPtrU.
423 2005-11-21 Dirk Mueller <dmueller@suse.com>
426 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
427 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
429 Only invoke strlen() when really necessary.
431 2005-11-19 Matthias Clasen <mclasen@redhat.com>
435 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
440 Get rid of the use of freetype internal headers in fcfreetype.c,
441 since those headers will go away with freetype 2.2. Replace with
442 public domain ftglue code from pango. Note that the patch removes
443 some extra error checking in FT_Get_BDF_Property() and comments
444 out the skipping of empty pcf fonts.
446 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
449 * fc-lang/fc-lang.c (main):
451 Further fix of patch from 2005-11-04: miscounted numbers count
452 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
453 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
455 Removed leafidx_count and numbers_count since they are the same
456 and replaced them with offset_count.
458 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
461 * fc-cat/fc-cat.c (main):
463 Don't crash when fc-cat invoked with no arguments.
465 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
468 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
470 Fix invalid read access caused by premature free and
471 GCC4 warnings in libxml2 codepath.
473 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
476 * src/fccfg.c (FcConfigValues):
478 List iteration not needed in FcConfigValues, since it's building
479 up the list itself; we can just strip FcVoid elements during
482 2005-11-17 Patrick Lam <plam@mit.edu>
483 * src/fccfg.c (FcConfigValues):
485 Fix crash on invalid constants in config files (forgot to update
486 a pointer upon list iteration.)
488 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
491 * src/fcxml.c (FcTypecheckExpr):
493 Complain about invalid constants in config files.
495 2005-11-17 Andreas Schwab <schwab@suse.de>
498 * src/fccache.c (FcGlobalCacheSave):
500 Don't add current_arch_start more than once.
502 2005-11-16 Patrick Lam <plam@mit.edu>
503 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
504 * src/fcfs.c (FcFontSetUnserialize):
505 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
506 * src/fcpat.c (FcStrUnserialize):
508 Fix ordering of ALIGN with respect to saving block_ptr; add
509 another ALIGN to fcfs.c.
511 2005-11-16 Patrick Lam <plam@mit.edu>
512 * src/fccache.c (FcDirCacheProduce)
514 Fix case where alignment bytes bumped up metadata->count
515 causing unwarranted failures to write cache files.
516 (Reported by Stephan Kulow).
518 2005-11-16 Patrick Lam <plam@mit.edu>
519 * src/fccache.c (FcDirCacheProduce):
520 * src/fccharset.c (FcCharSetDistributeBytes):
521 * src/fcfs.c (FcFontSetDistributeBytes):
523 * src/fclang.c (FcLangSetDistributeBytes):
524 * src/fcname.c (FcObjectDistributeBytes):
525 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
528 Add *NeededBytesAlign(), which overestimates the padding which is
529 later added by the new ALIGN macro. Fix alignment problems on
530 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
531 version by Andreas Schwab).
533 2005-11-16 Stephan Kulow <coolo@kde.org>
538 Use sysconf to determine proper PAGESIZE value; this
539 appears to be POSIX-compliant. (reported by Andreas Schwab)
541 2005-11-04 Patrick Lam <plam@mit.edu>
547 Fix bug 2878 (excessive relocations at startup for charsets,
548 reported by Ross Burton): fc-lang/fc-lang now creates the
549 static form of the langset, not the dynamic form, so that
550 the charsets should now be in .rodata.
552 2005-11-04 Patrick Lam <plam@mit.edu>
553 * src/fcdir.c (FcDirScanConfig):
555 Add test for validity of directory caches that
556 somehow got lost (reported by make distcheck).
558 2005-11-04 Patrick Lam <plam@mit.edu>
562 * fontconfig/fontconfig.h:
564 Bump version to 2.3.92.
566 2005-11-02 Patrick Lam <plam@mit.edu>
567 * src/fcpat.c (FcPatternDuplicate):
569 Fix argument ordering problem in call to FcPatternTransferFullFname.
571 2005-11-02 Patrick Lam <plam@mit.edu>
572 * src/fcfreetype.c (FcFreetypeQuery):
573 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
574 FcPatternTransferFullFname):
576 Fix warnings and embarrassing double-free error.
578 2005-11-02 Zhe Su <zsu@novell.com>
583 Change the rule for artificial emboldening in fonts.conf.in. This
584 enables the support for artificial emboldening included in cairo.
586 2005-11-02 Patrick Lam <plam@mit.edu>
587 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
589 Don't zero out full names for FC_REF_CONSTANT fonts;
590 also, duplicate full names when transferring, and free
591 full names when freeing the associated font.
592 Reported by Jinghua Luo.
594 2005-11-02 Patrick Lam <plam@mit.edu>
595 * fc-cache/fc-cache.c (scanDirs):
596 * src/fcpat.c (FcValueListSerialize):
598 Revert the previous patch and commit the correct patch:
599 I forgot a canonicalization in FcValueListSerialize, so
600 that it would choke on already-serialized input files. Duh!
602 2005-11-02 Patrick Lam <plam@mit.edu>
603 * fc-cache/fc-cache.c (scanDirs):
605 Forcibly rescan a directory before writing a fresh local
606 cache file for that directory, fixing the losing-fonts
607 problem reported by Mike Fabian and also apparently the
608 font cache file corruption.
610 2005-11-02 Patrick Lam <plam@mit.edu>
611 * src/fccache.c (FcGlobalCacheLoad):
613 Fix thinko: actually, the whole global cache is stale
614 if the global cache is older than the (newest) config file.
616 2005-11-02 Patrick Lam <plam@mit.edu>
617 * src/fccache.c (FcGlobalCacheLoad):
618 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
621 Declare the global cache of a directory's contents to be stale if
622 the directory is newer than the (newest) configuration file.
624 2005-10-31 Patrick Lam <plam@mit.edu>
626 * src/fclist.c (FcListAppend):
627 * src/fcmatch.c (FcFontRenderPrepare):
628 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
629 FcPatternFreeze, FcPatternBaseFreeze):
631 Copy the full pathname whenever duplicating an FcPattern; otherwise,
632 applications continue breaking.
634 2005-10-31 Patrick Lam <plam@mit.edu>
635 * fc-cat/fc-cat.c (FcCacheFileRead, main):
636 * src/fcfreetype.c (FcFreeTypeQuery):
638 Fix small memory error (tried to free argv); use basename and
639 dirname correctly (they can modify their arguments).
641 2005-10-31 Patrick Lam <plam@mit.edu>
649 Reinstate basename patch, but keep a hash table linking FcPatterns
650 to their fully-qualified font names for clients' benefit. Clients
651 only pay for the font names once they request the FC_FILE property
652 from an FcPattern, but the font name is malloc'd at that point (i.e.
653 not mmapped: that's impossible, since it may vary between machines.)
654 Clients do have to pay for a copy of the path name per cache file.
656 Note that FcPatternGetString now does some rewriting if you ask
657 for an FC_FILE, appending the pathname as appropriate.
659 2005-10-31 Patrick Lam <plam@mit.edu>
660 * src/fcfreetype.c (FcFreeTypeQuery):
662 Revert basename patch, which breaks fontconfig clients on my system.
664 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
667 * fontconfig/fonts.conf.in:
668 * fontconfig/fontconfig.h:
672 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
673 to load embedded bitmaps or not.
675 2005-10-25 Patrick Lam <plam@mit.edu>
676 * src/fcfreetype.c (FcFreeTypeQuery):
678 Only add basename to patterns' FC_FILE element, not any part of
681 2005-10-22 Patrick Lam <plam@mit.edu>
684 Add some more consts, fixing more GCC4 warnings.
686 2005-10-22 Zhe Su <zsu@novell.com>
689 Support localized font family and style names.
690 This has been reported to break old apps like xfd, but modern
691 (gtk+/qt/mozilla) apps work fine.
693 2005-10-21 Patrick Lam <plam@mit.edu>
694 * src/fccache.c (FcGlobalCacheLoad):
696 Destroy the global cache file if it's terminally broken. (reported by
699 2005-10-21 Patrick Lam <plam@mit.edu>
700 * fc-list/fc-list.c (main):
701 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
702 * fontconfig/fontconfig.h:
704 Prevent fc-list from escaping strings when printing them (reported by
707 2005-10-20 Marcus Meissner <meissner@suse.de>
710 * fontconfig/fontconfig.h:
712 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
714 2005-10-14 Ross Burton <ross@burtonini.com>
717 * fc-glyphname/fc-glyphname.c:
720 Add consts to variables so as to move arrays into .rodata.
722 2005-10-14 Mike Fabian <mfabian@suse.de>
725 * src/fccache.c (FcDirCacheUnlink):
727 Check existence of directory cache file before attempting to unlink.
729 2005-10-13 Patrick Lam <plam@mit.edu>
730 * src/fccache.c (FcDirCacheUnlink):
732 Fix flipped return value on unlink. (Reported by Mike Fabian)
734 2005-10-12 Patrick Lam <plam@mit.edu>
737 * src/fcdir.c (FcDirScanConfig):
740 When fc-cache is run without --force, use directory cache files
741 to speed up fc-cache run time. (Reported by Mike Fabian)
743 2005-10-06 Patrick Lam <plam@mit.edu>
745 * src/fcname.c (FcObjectToPtr):
746 * src/fcpat.c (FcStrStaticName):
748 Add padding to make valgrind and glibc not hate each other
749 when calling strlen().
751 2005-10-05 Simos Xenitellis <simos74@gmx.net>
752 reviewed by: plam & keithp
756 Modify config file to use Greek fonts before Asian fonts with
759 2005-10-05 Christian Biesinger <cbiesinger@web.de>
760 reviewed by: plam & keithp
764 Use libtool -no-undefined flag on all platforms.
766 2005-10-05 Patrick Lam <plam@mit.edu>
767 * src/fccache.c (FcCacheHaveBank):
769 Implement move-to-front array for banks (perf regression
770 reported by Ronny V. Vindenes).
772 2005-10-04 Patrick Lam <plam@mit.edu>
773 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
774 FcDirCacheHasCurrentArch):
775 * fc-cache/fc-cache.c (scanDirs):
776 * fontconfig/fontconfig.h:
778 Add new API which unlinks directory caches and checks dir caches
779 for existence of appropriate sections. Fix fc-cache to unlink
780 stale cache files and save directory caches that lack relevant
783 2005-10-03 Patrick Lam <plam@mit.edu>
784 * src/fccache.c (FcDirCacheValid):
786 Ensure that a directory cache has the appropriate section
787 before reporting that it is valid (reported by Matthias Clasen).
789 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
797 Use libxml2 if requested (with --enable-libxml2) or if
798 expat is not available.
800 2005-09-29 Patrick Lam <plam@mit.edu>
801 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
803 Fix multi-arch cache files: compute the position for the
804 block to be added using info from OrigFile, not NewFile.
806 2005-09-28 Patrick Lam <plam@mit.edu>
807 * src/fccache.c (FcCacheMachineSignature):
809 Cast results of sizeof() to unsigned int to get rid of
810 warnings on x86_64 (thanks Matthias Clasen).
812 2005-09-27 Patrick Lam <plam@mit.edu>
813 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
816 Use FcAtomic to rewrite cache files.
818 2005-09-27 Patrick Lam <plam@mit.edu>
820 * src/fccache.c (FcDirCacheWrite):
822 Don't unlink the fonts.cache-2 file even if there's no data
823 to write; just write an empty cache file. (thanks Lubos Lunak)
825 2005-09-27 Patrick Lam <plam@mit.edu>
827 * src/fccache.c (FcDirCacheWrite):
829 Allocate room for the subdirectory names in each
830 directory cache. Thanks to James Cloos for finding
831 and diagnosing this bug!
833 2005-09-22 Patrick Lam <plam@mit.edu>
835 * fc-cache/fc-cache.sgml:
836 * src/fccache.c (FcDirCacheWrite):
837 * src/fccache.h (struct FcCache):
839 Update documentation -- fc-cache's man page now says that you
840 need to run fc-cache once per cached architecture; add some
841 documentation to the FcCache structure.
843 Make fc-cache write out fonts.cache-2 files for directories with
844 no fonts (i.e. only subdirectories).
846 2005-09-22 Patrick Lam <plam@mit.edu>
848 * fc-cache/fc-cache.sgml:
850 * fc-glyphname/fc-glyphname.c:
856 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
861 * fontconfig/fcprivate.h:
862 * fontconfig/fontconfig.h:
876 Implement new mmaped cache for font information.
877 Bump so revision to 2.3.90.
879 2005-07-25 Keith Packard <keithp@keithp.com>
881 * doc/fontconfig-user.sgml:
882 * fc-glyphname/fc-glyphname.c: (scan), (main):
883 * fc-lang/fc-lang.c: (FcConfigHome):
884 * fc-match/fc-match.c: (main):
885 * src/fccfg.c: (FcConfigHome):
886 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
887 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
888 (addtag), (FcFontCapabilities):
889 * src/fcpat.c: (FcValueListEntCreate):
890 * src/fcstr.c: (FcStrCaseWalkerInit):
891 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
893 Various GCC 4 cleanups for signed vs unsigned char
895 Match only [0-9]*.conf files in <include>{directory}</include>
896 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
898 2005-07-15 Carl Worth <cworth@cworth.org>
901 * src/fcinit.c: (FcFini):
902 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
905 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
906 Pull the FcObjectStateName hash table out to file scope, and add
907 FcObjectStaticNameFini so that FcFini will cleanup this hash table
910 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
913 2005-06-16 Patrick Lam <plam@MIT.EDU>
917 * src/fccfg.c: (FcConfigCompareValue):
918 Make FcOpNotContains use FcStrStr for strings so that
919 it matches semantics for !FcOpContains.
921 2005-05-20 Keith Packard <keithp@keithp.com>
925 Move fontconfig source package to libs as per override
927 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
929 reviewed by: Mike Fabian
932 The ka.orth file requires several characters which are not
933 used anymore in modern Georgian and which are missing in the free
934 Georgian TrueType fonts downloadable at:
936 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
938 2005-04-27 Keith Packard <keithp@keithp.com>
942 Update date to real 2.3.2 release date.
943 Fix change attributions
945 2005-04-27 Keith Packard <keithp@keithp.com>
948 Bump so revision for 2.3.2
949 * fc-cache/fc-cache.c: (scanDirs):
950 Fix a few minor leaks in error cases.
952 2005-04-23 Keith Packard <keithp@keithp.com>
957 * fontconfig/fontconfig.h:
958 Update for version 2.3.2
960 2005-04-21 Keith Packard <keithp@keithp.com>
962 * debian/fontconfig.postinst:
963 Don't force bitmap font enable in default
964 configuration; allows users to override this in
974 * debian/po/pt_BR.po:
975 * debian/po/templates.pot:
977 * debian/po/zh_CN.po:
980 * fc-cache/fc-cache.c: (main):
981 Destroy font configuration on exit to help valgrind
984 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
985 (FcFreeTypeCheckGlyph):
986 Use own transcoding routines in preference to iconv
987 which appears to have leaks in some translators.
988 Call iconv_close after using iconv (oops).
990 Prefer unicode encoding of Euro char as some
991 fonts mis-encode Euro in other ones.
993 Must fetch bitmap glyphs to get width values
994 to check for monospace/dual-width fonts.
996 2005-04-13 Ross Burton <ross@burtonini.com>
999 Check that a pattern isn't already frozen in FcPatternFreeze.
1001 2005-03-31 Ross Burton <ross@burtonini.com>
1006 Run all FcPattern objects through FcObjectStaticName, so that
1007 compares can be done on pointers instead of strings (#2659)
1009 2005-03-17 Tor Lillqvist <tml@novell.com>
1011 * src/fontconfig.def.in: Add the .dll to the dll name.
1013 2005-03-10 Keith Packard <keithp@keithp.com>
1015 * debian/README.Debian:
1016 Update to reflect configuration changes
1018 * debian/fontconfig.postinst:
1019 Fix Autohint vs Autohinter mistake
1020 * debian/fontconfig.templates:
1021 Adopt changes from Josselin Mouette for configuration descriptions
1022 Update debian to version 2.3.1-2
1024 2005-03-08 Keith Packard <keithp@keithp.com>
1028 Update debian for 2.3.1
1030 2005-03-09 Tor Lillqvist <tml@novell.com>
1032 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
1035 * src/fccfg.c (FcConfigFileExists): Check also drive letter
1038 2005-03-08 Keith Packard <keithp@keithp.com>
1042 * fontconfig/fontconfig.h:
1045 2005-03-05 Keith Packard <keithp@keithp.com>
1047 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
1048 Include space and remove numbers from valid script tags.
1049 This ensures that tags like 'lao ' work while rejecting
1050 those which have any digits.
1051 Eliminate a spurious debugging variable (len)
1053 2005-03-05 Keith Packard <keithp@keithp.com>
1055 * src/fcfreetype.c: (addtag), (GetScriptTags),
1056 (FcFontCapabilities):
1057 Rework GSUB/GPOS script parsing to survive broken fonts.
1058 Thanks for the broken font go to Manish Singh
1060 2005-03-05 Keith Packard <keithp@keithp.com>
1065 * debian/fontconfig.config:
1066 * debian/fontconfig.templates:
1068 Include 2.3 release information in changelog
1069 Add Josselin Mouette as an Uploader
1070 Set hinting_type to low priority configuration option
1073 * debian/fontconfig.postinst:
1074 yes_bitmaps.conf -> yes-bitmaps.conf
1080 2005-03-02 Keith Packard <keithp@keithp.com>
1083 * conf.d/Makefile.am:
1084 * conf.d/autohint.conf:
1085 * conf.d/no-sub-pixel.conf:
1086 * conf.d/sub-pixel.conf:
1087 * conf.d/unhinted.conf:
1088 * debian/autohint.conf:
1089 * debian/fontconfig.install:
1090 * debian/fontconfig.postinst:
1091 * debian/fontconfig.templates:
1092 * debian/no-sub-pixel.conf:
1093 * debian/unhinted.conf:
1094 Move debian-specific conf file examples upstream.
1096 Sub-pixel configuration examples must smash subpixel value
1097 as Xft always sets it from X.
1099 Change sub-pixel rendering debconf descriptions from
1100 Enable/Disable to Always/Never.
1102 2005-03-02 Keith Packard <keithp@keithp.com>
1105 * conf.d/.cvsignore:
1107 Ignore more build detritus
1110 Add debian package construction stuff.
1112 * config/config.guess:
1113 * config/config.sub:
1114 Update to newer versions of these tools
1117 Get library manuals to build again (we love automake).
1119 * debian/README.Debian:
1120 * debian/autohint.conf:
1125 * debian/fontconfig-udeb.install:
1126 * debian/fontconfig.config:
1127 * debian/fontconfig.defoma:
1128 * debian/fontconfig.dirs:
1129 * debian/fontconfig.install:
1130 * debian/fontconfig.postinst:
1131 * debian/fontconfig.postrm:
1132 * debian/fontconfig.templates:
1133 * debian/libfontconfig1-dev.install:
1134 * debian/libfontconfig1.install:
1135 * debian/local.conf.md5sum:
1136 * debian/no-sub-pixel.conf:
1137 * debian/po/POTFILES.in:
1146 * debian/po/pt_BR.po:
1147 * debian/po/templates.pot:
1149 * debian/po/zh_CN.po:
1151 * debian/unhinted.conf:
1152 Update debian build system to switch maintainers and
1153 deal with 2.3 functionality
1155 2005-03-01 Keith Packard <keithp@keithp.com>
1159 * fontconfig/fontconfig.h:
1162 2005-03-01 Keith Packard <keithp@keithp.com>
1165 Generate and install PDF versions of the manuals
1167 * doc/fcpattern.fncs:
1170 * doc/fcstring.fncs:
1171 Add missing exported functions, fix data types
1173 * doc/fontconfig-devel.sgml:
1174 Add missing pattern elements.
1176 * doc/fontconfig-user.sgml:
1177 Add missing pattern elements. Document conf.d usage,
1178 clarify available orthography list. Fix some config file
1179 attributes. Complete list of constants.
1181 * fontconfig/fontconfig.h:
1182 Mark FC_SOURCE deprecated.
1184 * src/fcfreetype.c: (FcFreeTypeQuery):
1185 Don't set FC_SOURCE any longer.
1187 2005-02-28 Keith Packard <keithp@keithp.com>
1190 * conf.d/Makefile.am:
1192 * conf.d/no-bitmaps.conf:
1193 * conf.d/sub-pixel.conf:
1194 * conf.d/yes-bitmaps.conf:
1196 Create prototype /etc/fonts/conf.d directory with a few
1197 sample configuration files.
1198 Deprecate use of local.conf for local customizations in favor of
1199 this directory based scheme which is more easily integrated into
1200 installation systems.
1203 Tag FC_EMBOLDEN as a boolean variable
1205 2005-02-10 Keith Packard <keithp@keithp.com>
1207 reviewed by: pborelli@katamail.com
1209 * src/fcdir.c: (FcFileScanConfig):
1210 Free patterns from fonts which are rejected by configuration
1213 2005-01-28 Keith Packard <keithp@keithp.com>
1217 * fontconfig/fontconfig.h:
1218 Update for version 2.2.99
1220 2005-01-28 Keith Packard <keithp@keithp.com>
1223 Add a few pointers (#2284, #2285)
1225 2005-01-28 Keith Packard <keithp@keithp.com>
1228 * src/fcname.c: (FcNameBool):
1229 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1230 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1231 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1232 Polite typechecking for test and edit expressions. Helps
1233 catch errors in the font configuration. (bug 229)
1235 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1237 reviewed by: Keith Packard <keithp@keithp.com>
1240 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1242 2005-01-13 Keith Packard <keithp@keithp.com>
1244 * doc/fontconfig-user.sgml:
1245 Add SEE ALSO section (bug 2085)
1247 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1249 reviewed by: Keith Packard <keithp@keithp.com>
1254 * fc-case/Makefile.am:
1255 * fc-glyphname/Makefile.am:
1256 * fc-lang/Makefile.am:
1257 * src/fontconfig.def.in:
1258 Cross compiling fixes (bug 280)
1260 2005-01-13 Keith Packard <keithp@keithp.com>
1263 Update blanks list (Closes bug 86)
1265 2005-01-04 Keith Packard <keithp@keithp.com>
1267 * src/fccache.c: (FcCacheFontSetAdd):
1268 Verify that every font pattern loaded from cache has
1269 both FC_FILE and FC_FAMILY entries.
1270 Attempt to fix bug #2219.
1272 2004-12-29 Keith Packard <keithp@keithp.com>
1276 * fontconfig/fontconfig.h:
1277 Update for version 2.2.98
1279 2004-12-29 Keith Packard <keithp@keithp.com>
1281 * fontconfig/fontconfig.h:
1282 Document ASCII limitations of Fc character conversion macros
1283 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1284 Fix off-by-one error in utf-8 case walking code.
1285 Add FcStrDowncase (useful for testing case conversion functions)
1287 2004-12-29 Keith Packard <keithp@keithp.com>
1290 * fc-case/.cvsignore:
1291 clean up CVS ignore lists
1292 * fc-lang/iso-3166.txt:
1293 Add territory database
1295 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1297 Reviewed by: Keith Packard
1300 Remove Han characters from Korean orthography
1302 2004-12-29 Keith Packard <keithp@keithp.com>
1305 Reorder utility programs to make sure fc-case is run before fc-lang
1306 as fc-lang uses fcstr.c which uses fccase.h
1310 2004-12-29 Keith Packard <keithp@keithp.com>
1313 Adopt some RedHat suggestions for standard font configuration.
1317 * fc-case/CaseFolding.txt:
1318 * fc-case/Makefile.am:
1319 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1320 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1321 (dump), (parseRaw), (caseFoldReadRaw), (main):
1322 * fc-case/fccase.tmpl.h:
1323 Add new helper program 'fc-case' to construct case folding
1324 tables from standard Unicode CaseFolding.txt file
1327 * src/fclist.c: (FcListValueHash):
1328 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1329 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1330 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1331 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1332 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1333 Re-implement case insensitive functions with Unicode
1334 aware versions (including full case folding mappings)
1336 2004-12-13 Keith Packard <keithp@keithp.com>
1338 reviewed by: Owen Taylor <otaylor@redhat.com>
1340 * src/fcmatch.c: (FcFontSetSort):
1341 I changed FcFontSetSort to respect the generic aliases better
1342 in the face of language matching.
1344 What I did was to ammend the strict sort order used by FcFontSort so
1345 that it 'satisfies' the language specified in the pattern by locating
1346 the best matching font supporting each pattern language and then
1347 ignores language in the remaining fonts for purposes of matching.
1349 So, when asking for 'sans:lang=en', you'll get an English font first,
1350 and then the remaining fonts sorted with respect to the 'sans' alias
1351 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1353 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1355 reviewed by: Keith Packard <keithp@keithp.com>
1357 * fontconfig/fontconfig.h:
1360 Configuration changes to request synthetic emboldening of
1361 fonts. The actual emboldening code will live in Xft.
1363 2004-12-09 John Thacker <thacker@math.cornell.edu>
1365 reviewed by: Keith Packard <keithp@keithp.com>
1369 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1370 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1371 и), and don't even appear in KOI8-R. (The hypothesis that they
1372 don't appear in KOI8-R due to their similarity with Latin I and i is
1373 eliminated by their presence in KOI8-U.) I have a couple of fonts
1374 with Russian support that don't have the letter.
1376 Therefore, 0406 and 0456 should be removed from or commented out of
1379 2004-12-06 michael meeks <mmeeks@novell.com>
1381 Reviewed by: Keith Packard <keithp@keithp.com>
1383 * src/fcinit.c: (FcMemReport):
1385 * src/fclist.c: (FcObjectSetAdd):
1386 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1387 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1388 * src/fcxml.c: (FcParsePatelt):
1389 memoize strings and share a single copy for all uses. Note that
1390 this could be improved further by using statically allocated blocks
1391 and gluing multiple strings together, but I'm basically lazy.
1392 In my environment with 800 font files, I get a savings of about 90KB.
1394 2004-12-06 Keith Packard <keithp@keithp.com>
1398 * config/Makedefs.in:
1401 * doc/fcatomic.fncs:
1402 * doc/fcblanks.fncs:
1403 * doc/fccharset.fncs:
1404 * doc/fcconfig.fncs:
1405 * doc/fcconstant.fncs:
1407 * doc/fcfontset.fncs:
1408 * doc/fcfreetype.fncs:
1410 * doc/fcmatrix.fncs:
1411 * doc/fcobjectset.fncs:
1412 * doc/fcobjecttype.fncs:
1413 * doc/fcpattern.fncs:
1414 * doc/fcstring.fncs:
1415 * doc/fcstrset.fncs:
1417 * doc/fontconfig-devel.sgml:
1418 * doc/fontconfig-user.sgml:
1420 * doc/version.sgml.in:
1421 * fc-cache/Makefile.am:
1422 * fc-cache/fc-cache.c:
1423 * fc-glyphname/Makefile.am:
1424 * fc-glyphname/fc-glyphname.c:
1425 * fc-glyphname/fcglyphname.tmpl.h:
1426 * fc-lang/Makefile.am:
1436 * fc-lang/az_ir.orth:
1470 * fc-lang/fc-lang.c:
1471 * fc-lang/fc-lang.man:
1472 * fc-lang/fclang.tmpl.h:
1517 * fc-lang/ku_ir.orth:
1550 * fc-lang/ps_af.orth:
1551 * fc-lang/ps_pk.orth:
1580 * fc-lang/ti_er.orth:
1581 * fc-lang/ti_et.orth:
1607 * fc-lang/zh_cn.orth:
1608 * fc-lang/zh_hk.orth:
1609 * fc-lang/zh_mo.orth:
1610 * fc-lang/zh_sg.orth:
1611 * fc-lang/zh_tw.orth:
1613 * fc-list/Makefile.am:
1614 * fc-list/fc-list.c:
1615 * fc-match/Makefile.am:
1616 * fc-match/fc-match.1:
1617 * fc-match/fc-match.c:
1618 * fontconfig/fcfreetype.h:
1619 * fontconfig/fcprivate.h:
1620 * fontconfig/fontconfig.h:
1641 Change files from ISO-Latin-1 to UTF-8
1643 2004-12-04 Keith Packard <keithp@keithp.com>
1646 Update links to new freedesktop.org locations
1648 Add uninstall-local to get rid of fonts.conf and local.conf if they
1649 match the distributed versions. Fixes 'make distcheck'
1651 2004-12-04 Keith Packard <keithp@keithp.com>
1655 * fontconfig/fontconfig.h:
1656 Updates for version 2.2.97
1658 2004-12-04 Owen Taylor <otaylor@redhat.com>
1660 reviewed by: Keith Packard <keithp@keithp.com>
1662 * fc-cache/fc-cache.c: (main):
1663 Sleep for two seconds before exiting to make sure timestamps
1664 for future changes have distinct mod times in the file system.
1667 Add Punjabi orthography. Bug #1671.
1669 2004-12-04 Keith Packard <keithp@keithp.com>
1672 Just remove the FC_FONTDATE -- it has locale issues and
1673 annoys redhat multi-arch installs. Now that all X fonts are
1674 included without prejudice, the chances of the date being at
1675 all interesting are rather limited. Bug #505.
1677 Add copyright and license
1679 2004-12-04 Keith Packard <keithp@keithp.com>
1682 Change default set of fonts to include all of
1683 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1684 * doc/fontconfig-user.sgml:
1685 Document new <include>directory-name</include> semantics
1687 add <include ignore_missing="yes">conf.d</include>
1689 Add selectfont to ignore bitmap fonts, add comment for
1690 selectfont which accepts bitmap fonts.
1693 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1694 Allow <include> configuration elements to reference directories.
1695 Parse and load all files of the form [0-9]* in sorted order.
1697 2004-12-04 Keith Packard <keithp@keithp.com>
1700 Report command line for $srcdir/configure accurately.
1703 2004-12-04 Keith Packard <keithp@keithp.com>
1705 * src/fcfreetype.c: (FcFreeTypeQuery):
1706 Check for non-empty face->family_name and face->style_name
1707 before using those for the font. Empty names match everything.
1710 2004-12-04 Keith Packard <keithp@keithp.com>
1713 * fontconfig/fontconfig.h:
1714 * src/fcfreetype.c: (FcFreeTypeQuery):
1716 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1717 available. This provides font file format information (BDF, Type 1,
1718 PCF, TrueType) for each font. Closes #109.
1720 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1722 reviewed by: Keith Packard <keithp@keithp.com>
1724 * doc/fontconfig-user.sgml:
1727 * fontconfig/fontconfig.h:
1728 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1729 (GetScriptTags), (FcFontCapabilities):
1731 Add detection for font capabilities (bug #105)
1733 2004-12-04 Keith Packard <keithp@keithp.com>
1736 Move existing fonts.conf to fonts.conf.bak
1739 Add detection of iconv
1741 * doc/fcpattern.fncs:
1742 * doc/fontconfig-devel.sgml:
1743 * doc/fontconfig-user.sgml:
1745 Document new selectfont elements
1748 Switch to UTF-8 in comment
1750 * fontconfig/fontconfig.h:
1752 Add fullname, and family/style/fullname language entries
1754 * src/fccache.c: (FcCacheFontSetAdd):
1755 * src/fcdir.c: (FcFileScanConfig):
1756 Respect selectfont/*/glob
1759 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1760 (FcConfigCompareValue), (FcConfigPatternsAdd),
1761 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1762 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1763 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1764 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1765 Add support for selectfont
1767 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1768 (FcStringInPatternElement), (FcFreeTypeQuery):
1769 Add multi-lingual family/style/fullname support
1771 * src/fclist.c: (FcListPatternMatchAny):
1772 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1774 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1775 (FcObjectStaticName):
1776 Add new FcPatternRemove/FcPatternAppend.
1777 FcObjectStaticName stores computed pattern element names which
1778 are required to be static.
1780 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1785 Remove spurious / after $(DESTDIR)
1787 2004-06-30 Keith Packard <keithp@keithp.com>
1791 * fontconfig/fontconfig.h:
1794 2004-06-30 Keith Packard <keithp@keithp.com>
1796 Provided by: Lubos Lunak <l.lunak@suse.cz>
1798 * src/fccfg.c: (FcConfigUptoDate):
1799 However FcConfigUptoDate() doesn't seem to work. See the attached
1800 patch. First there's an obvious misplaced parenthesis making it
1801 return always false, and second, even this call fails to detect font
1802 changes (e.g. adding a new font to
1803 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1804 well. The problem seems to be triggered by my fonts.conf specifying
1805 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1806 doesn't include subdirs, unlike config->fontDirs.
1808 2004-06-03 Keith Packard <keithp@keithp.com>
1810 * fontconfig/fontconfig.h:
1811 Remove comma at end of FcResult enum definition.
1813 2004-05-29 Keith Packard <keithp@keithp.com>
1816 Add steps to md5sum release
1818 2004-05-29 Keith Packard <keithp@keithp.com>
1822 * fontconfig/fontconfig.h:
1825 2004-05-29 Keith Packard <keithp@keithp.com>
1827 * fontconfig/fontconfig.h:
1828 * src/fcmatch.c: (FcFontSetMatch):
1829 Add FcResultOutOfMemory to provide an accurate error when
1830 FcFontSetMatch fails in this way
1833 Make #warning about lacking various FreeType features indicate
1834 which version those features appeared so users know how to
1835 fix the problem (Thanks to Anton Tropashko)
1837 2004-05-05 Keith Packard <keithp@keithp.com>
1839 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1840 Replace MIN/MAX/ABS macros which happen to have come
1841 from FreeType with fontconfig-specific ones (FC_*)
1843 2004-04-23 Keith Packard <keithp@keithp.com>
1846 Extend release preparation instructions to include
1847 notification and distribution steps
1849 2004-04-23 Keith Packard <keithp@keithp.com>
1853 * fontconfig/fontconfig.h:
1854 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1856 2004-04-23 Keith Packard <keithp@keithp.com>
1859 Ignore a few more autotool files
1861 2004-04-14 Keith Packard <keithp@keithp.com>
1864 Add instructions for doing a release
1866 * fontconfig.spec.in:
1867 clean up .spec file; perhaps this will be useful to somebody...
1871 * fontconfig/fontconfig.h:
1874 * fc-lang/fc-lang.c:
1875 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1877 * fc-glyphname/Makefile.am:
1878 * fc-lang/Makefile.am:
1879 * fc-list/Makefile.am:
1880 * fc-match/Makefile.am:
1882 Add WARN_CFLAGS to pass -W flags for GCC systems
1884 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1885 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1886 Change various char types around to match across
1888 Fixed bug in using available_sizes[i].height which
1889 is in pixels, not 64ths of a pixel.
1891 2004-03-06 Keith Packard <keithp@keithp.com>
1893 * src/fcfreetype.c: (FcFreeTypeQuery):
1894 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1895 matches looking for explicit values prefer exact matches
1897 2004-03-02 Keith Packard <keithp@keithp.com>
1899 Supplied by: mfabian@suse.de (Mike FABIAN)
1901 * src/fcfreetype.c: (FcFreeTypeQuery):
1902 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1903 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1905 2004-02-21 Manish Singh <yosh@gimp.org>
1907 * fc-glyphname/fc-glyphname.c: (main):
1908 Cast strlen to int for printf, so we're 64-bit clean.
1910 2004-02-11 Keith Packard <keithp@keithp.com>
1913 * src/fcfreetype.c: (FcGetPixelSize):
1914 Ok, so I messed up the test for y_ppem. Let's see if I
1915 got it right this time.
1917 2004-02-10 Keith Packard <keithp@keithp.com>
1920 * src/fcfreetype.c: (FcGetPixelSize):
1921 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1922 FT_Bitmap_Size record. Add a configure.in test for this
1923 and change the code accordingly (using height instead).
1925 2004-02-06 Keith Packard <keithp@keithp.com>
1928 Add Low Saxon orthography
1929 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1931 * src/fccfg.c: (FcConfigNewestFile):
1932 Oops. Left 'newest.set' unset, which would miscompute
1935 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1936 (FcFreeTypeCheckGlyph):
1937 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1938 font properties (which report the wrong value in current FreeType)
1940 Don't attempt to check for empty glyphs in non-scalable fonts; they
1943 2004-02-01 Tor Lillqvist <tml@iki.fi>
1945 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1946 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1947 cache if config->cache is NULL, which happens if FcConfigHome() is
1948 NULL. Guard against that by using the temp folder in that case.
1950 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1952 * fc-lang/az_ir.orth:
1953 * fc-lang/ku_ir.orth:
1954 * fc-lang/ps_af.orth:
1955 * fc-lang/ps_pk.orth:
1956 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1957 (Afghan and Pakistani).
1959 Updated Urdu orthography with real data.
1961 2003-12-11 Carl Worth <cworth@east.isi.edu>
1963 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1966 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1968 (all-local): Remove excessive whitespace.
1970 * autogen.sh: Add 'set -e' to abort when any program fails,
1971 (avoids printing of 'now type make' after configure aborts).
1973 2003-11-17 Eric Christopherson <rakko@charter.net>
1975 reviewed by: Keith Packard <keithp@keithp.com>
1978 * fontconfig/fcfreetype.h:
1980 Switch to FreeType 2.1.7 style includes. Bug #150.
1982 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1984 * fc-list/fc-list.sgml: Add some example usages.
1986 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1989 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1992 2003-10-27 Keith Packard <keith@keithp.com>
1995 * fontconfig/fontconfig.h:
1996 Update to version 2.2.92
1998 2003-10-27 Keith Packard <keithp@keithp.com>
2003 * fc-cache/Makefile.am:
2004 * fc-glyphname/Makefile.am:
2005 * fc-lang/Makefile.am:
2006 * fc-list/Makefile.am:
2007 * fc-match/Makefile.am:
2010 Yet more cleanups to finish getting 'make distcheck' working
2011 This has been tested to ensure that it even works from a _build
2014 2003-10-26 Keith Packard <keithp@keithp.com>
2018 * fc-cache/Makefile.am:
2019 * fc-glyphname/Makefile.am:
2020 * fc-lang/Makefile.am:
2021 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
2022 * fc-list/Makefile.am:
2023 * fc-match/Makefile.am:
2024 Attempts to fix 'make distcheck' work. Things are
2025 progressing pretty well, but there are still failures
2026 long into the process dealing with docs (as always).
2028 The big changes here are mostly to make $(srcdir) != "."
2029 work correctly, fixing the docbook related sections and
2030 fc-lang were particularily tricky. Docbook refuses to load
2031 system entities from anywhere other than where the original .sgml
2032 file was located, so no luck looking in "." for the
2033 configure-generated version.sgml and confdir.sgml files.
2035 fc-lang needed help finding .orth files; added a -d option
2036 to set the directory as the least evil of many options.
2038 Now to go use a faster machine and try and wring out the last
2041 2003-10-26 Keith Packard <keithp@keithp.com>
2045 2003-10-26 Keith Packard <keithp@keithp.com>
2048 Include confdir.sgml.in in EXTRA_DIST
2050 2003-10-09 Josselin Mouette <joss@debian.org>
2052 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
2053 * fc-list/fc-list.sgml fc-list/Makefile.am:
2054 Replace fc-cache and fc-list manpages with more detailed, SGML
2057 2003-09-23 Owen Taylor <otaylor@redhat.com>
2059 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2060 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2061 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2064 2003-09-23 Owen Taylor <otaylor@redhat.com>
2066 * fc-lang/ka.orth: Remove Georgian capitals, they
2067 aren't used for normal writing. (Bug #116)
2069 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2071 * doc/fontconfig-devel.sgml:
2072 * doc/fontconfig-user.sgml:
2073 * fontconfig/fontconfig.h:
2075 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2076 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2078 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2079 monospace and dual-width fonts, allow roughly a 3% variance in the
2082 2003-08-31 Manish Singh <yosh@gimp.org>
2084 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2087 2003-08-15 Carl Worth <cworth@isi.edu>
2089 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2090 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2092 * src/fcpat.c (FcValueListEntDestroy): New function to support
2093 FcFini memory cleanup. Some statistics are not kept in
2095 (FcValueListFreeze): Move hashTable outside this function so it
2096 can be accessed by FcValueListThawAll.
2097 (FcValueListThawAll): New function complements FcValueListFreeze.
2098 (FcPatternBaseFreeze): Move hashTable outside this function so it
2099 can be accessed by FcPatternBaseThawAll.
2100 (FcPatternBaseThawAll): New function complements
2101 FcPatternBaseFreeze.
2102 (FcPatternThawAll): New function complements FcPatternFreeze.
2104 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2106 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2107 allocated FcCharLeafEnt "blocks" so they can be freed later.
2108 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2109 can be accessed by FcCharSetThawAllLeaf.
2110 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2111 (FcCharSetFreezeBase): Move hashTable outside this function so it
2112 can be accessed by FcCharSetThawAll.
2113 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2115 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2116 (FcConfigDestroy): Fic leak of FcBlanks.
2118 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2119 (main): Add call to FcFini when finished.
2121 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2122 static. Add prototypes.
2124 * doc/fcinit.fncs: Add documentation for FcFini function.
2126 * doc/edit-sgml.c: Mark several local functions as static. Add
2129 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2131 2003-06-15 Tor Lillqvist <tml@iki.fi>
2133 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2134 before comparing (needed on Windows).
2136 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2138 2003-06-13 Tor Lillqvist <tml@iki.fi>
2140 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2143 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2144 WINDOWSFONTDIR token.
2146 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2147 end, not to confuse libtool, which expects the EXPORTS line to be
2148 the first. Add FcConfigEnableHome.
2150 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2151 built as a DLL on Win32.
2153 2003-06-09 Keith Packard <keithp@keithp.com>
2155 * Tag version 2.2.90
2157 2003-06-09 Keith Packard <keithp@keithp.com>
2159 * Optimization in FcLangSetIndex was broken, occasionally
2160 returning a pointer to the wrong location on miss
2162 * Add fc-match to test font matching from the command line.
2164 2003-05-31 Keith Packard <keithp@keithp.com>
2166 * (Bug 85) add support for culmus fonts
2167 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2168 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2170 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2172 * Fix "contains" op for strings and langsets.
2174 2003-05-17 Keith Packard <keithp@keithp.com>
2176 * Fix build error with BDF prop local. Free langset after query
2178 2003-05-14 Keith Packard <keithp@keithp.com>
2180 * Extract spacing from XLFD atom
2182 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2184 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2185 disappeared in 1.30.
2187 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2189 2003-05-12 Keith Packard <keithp@keithp.com>
2191 * Use FcIsWidth to share code
2193 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2194 misclassifying some Han fonts as monospaced.
2196 2003-05-07 Keith Packard <keithp@keithp.com>
2198 * Add filename-based accept/reject to ammend available fonts.
2200 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2201 older FreeType releases.
2203 2003-05-06 Keith Packard <keithp@keithp.com>
2205 * Remove 0b82 and Tamil numbers from tamil
2206 orthography (Jungshik Shin <jshin@mailaps.org>)
2208 2003-05-04 Keith Packard <keithp@keithp.com>
2210 + Map glyph names in fonts with adobe custom encoding to unicode
2212 2003-05-02 Keith Packard <keithp@keithp.com>
2214 * Add FC_WEIGHT_BOOK as weight 75
2216 2003-04-30 Keith Packard <keithp@keithp.com>
2218 * Typo in bitstream foundry name
2220 2003-04-24 Keith Packard <keithp@keithp.com>
2222 * Eliminate italic_angle check for PS fonts
2224 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2226 * Getting closer to fixing /etc/fonts hard-coding.
2228 2003-04-22 Keith Packard <keithp@keithp.com>
2230 * Update autogen.sh to work with newer automake versions
2231 * Handle pattern elements moving during multiple edits
2233 2003-04-23 James Henstridge <james@daa.com.au>
2235 * doc/fontconfig-devel.sgml: close the <para> element.
2237 * doc/fcpattern.fncs: close the <para> element.
2239 * doc/func.sgml: close the <refsynopsisdiv> element.
2241 2003-04-22 Keith Packard <keithp@keithp.com
2243 * Update autogen.sh to work with newer automake versions
2244 * Handle pattern elements moving during multiple edits
2246 2003-04-17 Colin Walters <walters@debian.org>
2248 + Remove some unused variables, and initialize some other ones so
2249 gcc doesn't warn us.
2251 2003-04-16 Keith Packard <keithp@keithp.com>
2253 + tag version 2.1.94
2255 2003-04-16 Keith Packard <keithp@keithp.com>
2257 + add BDF property fetching support for foundry
2258 (from Juliusz Chroboczek)
2259 + add BDF property fetching support for width
2261 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2263 + Implemented foundry generation for Type 1 and TrueType
2265 2003-04-11 Gerard Escalante <g2@magestudios.net>
2267 + Retrieve information from Type1 FontInfo dictionaries
2269 2003-04-07 Colin Walters <walters@verbum.org>
2271 + src/Makefile.am: Fix dummy makefile target names when
2272 MS_LIB_AVAILABLE isn't set.
2274 2003-03-22 Tor Lillqvist <tml@iki.fi>
2276 Changes for Windows:
2278 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2280 + We don't want to hardcode the fonts.conf file location in the
2281 DLL, so we look up the DLL location at run-time in a DllMain()
2282 function. The fonts.conf location is deduced from that.
2284 + The colon can't be used as path separator on Windows,
2285 semicolon is used instead. File path components can be separated
2286 with either slash or backslash. Absolute paths can also begin
2287 with a drive letter.
2289 + Add internal function FcStrLastSlash that strrchr's the last
2290 slash, or backslash on Windows.
2292 + There is no link() on Windows. For atomicity checks, mkdir a
2293 lock directory instead.
2295 + In addition to HOME, also look for USERPROFILE.
2297 + Recognize the special font directory token WINDOWSFONTDIR, to
2298 use the system's font directory.
2300 + Remove the fontconfig-def.cpp that was obsolete. Add
2301 fontconfig.def(.in), without internal functions.
2303 + Add a fontconfig-zip(.in) script, used to build a binary
2306 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2307 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2308 to main package and man3/* to devel package
2310 + Added missing defattr(-, root, root) to main RPM package
2312 + Added HTML and text development documentation to -devel subpackage
2314 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2315 + Added back the configure macro options --disable-docs, otherwise
2316 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2317 version number) unconditionally, causing RPM to fail the build due
2318 to _unpackaged_files_terminate_build. We pick up the pregenerated
2319 docs with %doc already.
2321 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2322 + Removed commented out rpm macro define at top of spec file,
2323 replacing it with a simple explanation, since rpm macros are
2324 expanded by rpm even in comments.
2326 + Changed /usr/bin to _bindir in BuildRequires lines
2328 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2330 + Reorganized file manifest lists
2332 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2334 + fontconfig.spec.in: Improvements from Red Hat spec file.
2336 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2338 + docs/*.sgml: SGML fixes.
2340 Sat Mar 1 17:28:53 PST 2003 keithp
2341 + Ok, so the ChangeLog is a bit out of date
2343 + Lots of bugs fixed; most are in bugzilla, the
2344 biggest problems were in cache management where
2345 Owen discovered the library would lose badly when
2346 combining fonts-cache and ~/.fonts-cache data
2348 + Converted from autoconf to automake. This after
2349 getting patches accepted into libtool to allow
2350 the '-version-number' argument which lets
2351 packages set version numbers explicitly rather
2352 than the roundabout libtool way
2354 + Converted documentation to SGML using the docbook
2355 DTD. Now .txt and .html documents are installed
2356 in /usr/share/doc/fontconfig and there's no
2357 man page. Perhaps a man version can be written
2360 Sat Aug 31 15:21:22 PDT 2002 keithp
2361 + Xrender and Xft had several bugs related to
2362 rendering manually placed or poly-face text
2364 + Added more complete memory tracing in fontconfig
2365 Checked with (patched) mozilla and found no leaks
2367 + Updated Latin orthographies by comparing those from
2368 evertype.com with those from eki.ee. Tried to make
2369 sensible choices, including chars that occured in both
2370 and leaving some optional chars out that occured only
2373 Mon Aug 26 16:33:04 PDT 2002 keithp
2374 + Owen discovered that FcLangSetHasLang wasn't actually
2375 checking the language set.
2377 Mon Aug 26 13:37:23 PDT 2002 keithp
2378 + Append a version number to cache filenames
2380 Thu Aug 22 11:36:18 PDT 2002 keithp
2382 + Add "contains" and "not_contains" operators and elements to
2385 + Changed semantics of eq operator for LangSets to check for
2386 FcLangEqual so that any match will do
2388 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2389 of FcValueEqual to check for identical values when inserting into
2390 the results. This broke when the above semantic change was made,
2391 now it uses FcValueEqual which is "more correct" in any case.
2393 Thu Aug 22 00:32:29 PDT 2002 keithp
2395 + Reimplement FC_LANG as new datatype. Lists of strings
2396 was consuming over a megabyte of memory for 401 fonts.
2398 + Freeze patterns loaded from cache files. This shares
2399 common value lists and common patterns which saves
2400 considerable memory.
2402 + Change the denotation of 'constant' charsets to use special
2403 ref value instead of separate boolean.
2405 + Clean up leak tracing stuff, found several unannoted alloc/free
2408 Tue Aug 20 16:17:37 PDT 2002 keithp
2410 + Fix memory leak when parsing matrices from XML
2412 Mon Aug 19 11:57:27 PDT 2002 keithp
2414 + Fix autoconf files to pass FONTCONFIG_PATH on
2415 compile line so that ${prefix} gets substituted
2418 + Use getc_unlocked/putc_unlocked on systems that
2419 provide them to avoid damage done to stdio by posix
2421 + Eliminate FC_PATTERN and FcTypePattern in favor of
2422 an extended api for FcConfigSubstitute which takes
2423 both the font and the pattern.
2425 + Add 'sans serif' alias for 'sans-serif' as some apps
2426 can't handle hyphens in family names
2428 + Eliminate pretense of support for libxml2
2430 + Comment origins of Han orthographies
2432 Tue Jul 30 18:37:09 PDT 2002 keithp
2434 + Add binding property to edit element so that strong
2435 binding values may be inserted by the config file.
2436 The default remains weak.
2438 Sun 28 Jul 04:16:55 PDT 2002 keithp
2440 + Tagged release candidate 1 in the CVS tree and
2441 placed fcpackage.rc1.tar.gz for distribution
2443 Thu Aug 1 08:55:08 PDT 2002 keithp
2445 + Fixed autoconf builds to always specify install
2446 target files (for BSD). Also fixed to
2447 define FONTCONFIG_PATH in config.h so that
2448 nonstandard installs will actually work.