1 2006-01-05 Patrick Lam <plam@mit.edu>
4 Add self to AUTHORS list.
6 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
7 FcCacheFileRead, FcCachePrintSet, main):
8 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
9 FcGlobalCacheSave, FcCacheNextOffset,
10 FcDirCacheHasCurrentArch, FcDirCacheRead,
11 FcDirCacheConsume, FcDirCacheWrite):
13 * src/fcpat.c (comment):
15 Minor change to global cache file format to fix fc-cat bug
16 reported by Frederic Crozat, and buglet with not globally caching
17 directories with zero fonts cached.
19 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
22 * src/fccfg.c (FcConfigEvaluate):
24 Fix double-free which occurs because FcValueCanonicalize doesn't
25 create an extra copy of the returned value, it only canonicalizes
28 2006-01-02 Patrick Lam <plam@mit.edu>
29 * doc/fontconfig-user.sgml:
31 Fix version of .cache file (currently 1 -> currently 2). Reported
34 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
37 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
39 Shut up GCC warnings on amd.
41 2005-12-20 Patrick Lam <plam@mit.edu>
45 * fontconfig/fontconfig.h:
47 Bump version to 2.3.93.
49 2005-12-20 Patrick Lam <plam@mit.edu>
50 * src/fccharset.c (FcLangCharSetPopulate):
51 * src/fcint.h (FcCacheBankToIndex):
53 Avoid check on _fcBankId nullness and fix case where it used to
56 2005-12-20 Patrick Lam <plam@mit.edu>
57 * src/fcxml.c (FcConfigParseAndLoad):
59 Use open instead of fopen (requested by Phil Race for Sun).
61 2005-12-20 Patrick Lam <plam@mit.edu>
62 * src/fccache.c (FcDirCacheWrite);
63 * fc-cache/Makefile.am:
65 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
68 2005-12-20 Patrick Lam <plam@mit.edu>
69 * src/fcfreetype.c (FcFreeTypeQuery):
71 Restore code to skip over PCF fonts that have no encoded
73 (We guess that a font is PCF by presence of the PIXEL_SIZE
76 2005-12-12 Patrick Lam <plam@mit.edu>
77 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
79 Read and write the original location as a fallback for the
80 hashed cache file locations. This is mostly for users to be
81 able to have per-directory cache files.
83 2005-12-12 Patrick Lam <plam@mit.edu>
84 * fc-cache/fc-cache.c (scanDirs):
85 * fc-cache/Makefile.am:
86 * src/fccache.c (FcDirCacheHashName):
88 Improve error message when fc-cache can't write the cache. Add
89 missing slash. Reported by Behdad. Incorporate Behdad's patch to
90 create /var/cache/fontconfig when appropriate.
92 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
95 * src/fcxml.c (FcConfigGetAttribute):
97 Fix crash reported by Frederic Crozat when using libxml2.
99 2005-12-09 Patrick Lam <plam@mit.edu>
102 * fc-cache/Makefile.am:
103 * fc-cat/Makefile.am:
105 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
106 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
107 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
108 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
109 FcDirCacheHasCurrentArch, FcDirCacheHashName,
110 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
112 Migrate cache files from fonts directories to
113 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
114 but requires that all caches get rebuilt.
116 Also, autogen.sh now needs the additional parameter
117 --localstatedir=/var.
119 2005-12-07 Patrick Lam <plam@mit.edu>
120 * src/fcpat.c (FcPatternAddString):
122 Because we've changed FcPatternAddString to use FcStrStaticName
123 and not FcValueSave, explicitly handle the case of a null string.
125 2005-12-06 Patrick Lam <plam@mit.edu>
126 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
130 2005-12-05 Patrick Lam <plam@mit.edu>
131 * src/fcname.c (FcNameGetObjectType):
133 Don't assign types to user object names.
135 2005-12-05 Patrick Lam <plam@mit.edu>
136 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
138 Don't free strings that have been returned from FcStrStaticName.
140 2005-12-01 Patrick Lam <plam@mit.edu>
141 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
143 Add codepath for reading global cache files as well.
145 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
148 * conf.d/10-fonts.persian.conf:
149 * conf.d/Makefile.am:
151 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
153 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
156 * src/fcxml.c (FcConfigParseAndLoad):
158 Only add a config file to the set of config files once.
160 2005-11-29 Patrick Lam <plam@mit.edu>
161 * src/fcint.h (FcCacheBankToIndex);
163 Fix segfault by guarding array dereference.
165 2005-11-29 Dirk Mueller <dmueller@suse.de>
169 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
170 FcCacheBankToIndex, FcCacheBankToIndexMTF,
174 Refactor FcCacheBankToIndex into an inlineable part
175 (in fcint.h) which checks the front of the list and a
176 non-inlineable part which finds and moves the appropriate element
177 to the front of the list.
179 2005-11-29 Patrick Lam <plam@mit.edu>
180 * src/fccfg.c (FcConfigBuildFonts):
181 * src/fccache.c (FcCacheReadDirs):
183 Make the perf guys hate me a bit less: hoist the directory-name
184 FcConfigAcceptFont check for cached fonts up to directory cache
185 read time, rather than running it for each font.
187 2005-11-29 Patrick Lam <plam@mit.edu>
188 * src/fccfg.c (FcConfigBuildFonts):
190 * src/fcpat.c (FcPatternFindFullFname):
192 Don't make FcPatternFindFullFname available to fccfg, it's not
193 really safe. Instead go through FcPatternGetString (sorry,
194 perf guys.) Also, use globs for dirs as well.
196 2005-11-28 Patrick Lam <plam@mit.edu>
197 * src/fccfg.c (FcConfigBuildFonts):
201 2005-11-28 Patrick Lam <plam@mit.edu>
203 * src/fcpat.c (FcPatternFindFullFname):
204 * src/fccfg.c (FcConfigBuildFonts):
206 Fix problem dating back at least to 2.3.2 where globs weren't
207 being applied to patterns loaded from a cache.
209 2005-11-28 Patrick Lam <plam@mit.edu>
210 * doc/fontconfig-user.sgml:
212 Fix some obvious spelling mistakes.
214 2005-11-28 Dirk Mueller <dmueller@suse.com>
215 Stephan Kulow <coolo@suse.de>
218 * src/fcmatch.c (FcFontSetMatch):
220 Don't kill all fonts during match (oops!)
223 2005-11-25 Dirk Mueller <dmueller@suse.com>
224 Stephan Kulow <coolo@suse.de>
225 Michael Matz <matz@suse.de>
228 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
231 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
232 inline FcCompare into FcFontSetMatch and reorder the
233 loops, adding a boolean array which blocks patterns from future
234 consideration if they're known to not be best on some past
237 2005-11-26 Dirk Mueller <dmueller@suse.com>
240 * src/fcmatch.c (FcCompareValueList):
244 2005-11-25 Patrick Lam <plam@mit.edu>
245 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
247 Don't do random matching when bad objects are passed into
250 2005-11-25 Patrick Lam <plam@mit.edu>
252 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
253 FcPatternSerialize, FcPatternUnserialize,
254 FcValueListEnsureBank, FcValueListDistributeBytes,
255 FcValueListUnserialize):
257 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
258 _fcPatternElts, _fcValueLists for consistency.
260 2005-11-25 Dirk Mueller <dmueller@suse.com>
265 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
267 2005-11-25 Patrick Lam <plam@mit.edu>
269 * src/fccache.c (FcDirCacheConsume):
270 * src/fccharset.c (FcCharSetUnserialize):
271 * src/fcfs.c (FcFontSetUnserialize):
272 * src/fclang.c (FcLangSetUnserialize):
273 * src/fcname.c (FcObjectUnserialize):
274 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
275 FcPatternUnserialize):
277 Pass around FcCache *s to the Unserialize functions for extra
278 consistency (and less overhead, for what that's worth).
280 2005-11-24 Dirk Mueller <dmueller@suse.com>
284 * src/fcmatch.c (FcCompare*, FcFontSetSort):
285 * src/fcname.c (FcNameUnparseValue):
287 Inline the *PtrU functions to gain perf.
288 Remove unneeded params for the FcCompare* functions.
290 2005-11-24 Dirk Mueller <dmueller@suse.com>
293 * src/fcint.h, fontconfig/fontconfig.h:
295 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
297 * src/fcpat.c, src/fcint.h, src/fcname.c:
299 Check for type validity during FcPatternAddWithBinding, don't
300 verify type in FcFontMatch, don't call FcCanonicalize here
301 (which always does a deep copy).
303 2005-11-24 Dirk Mueller <dmueller@suse.com>
306 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
307 * src/fcpat.c (FcPatternAddWithBinding):
309 Make FcCompareString and FcCompareFamily less expensive.
310 Only add a value for FC_FAMILY if the proposed value is a string.
312 2005-11-24 Dirk Mueller <dmueller@suse.com>
315 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
316 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
317 * src/fcint.h (FcDebug):
319 Inline FcDebug invocations and only initialize once, in FcInit*.
320 Improve debug msg in FcPatternPrint.
322 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
325 * fontconfig/fontconfig.h:
328 Minor code warning cleanups.
330 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
333 * fc-match/fc-match.c (main):
335 Make getopt_long accept -s parameter to fc-match as well.
337 2005-11-21 Dirk Mueller <dmueller@suse.com>
340 * src/fcmatch.c (FcCompareValueList):
342 Manually perform inlining & partial redundancy elimination to
343 reduce calls to FcValueListPtrU.
345 2005-11-21 Dirk Mueller <dmueller@suse.com>
348 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
349 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
351 Only invoke strlen() when really necessary.
353 2005-11-19 Matthias Clasen <mclasen@redhat.com>
357 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
362 Get rid of the use of freetype internal headers in fcfreetype.c,
363 since those headers will go away with freetype 2.2. Replace with
364 public domain ftglue code from pango. Note that the patch removes
365 some extra error checking in FT_Get_BDF_Property() and comments
366 out the skipping of empty pcf fonts.
368 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
371 * fc-lang/fc-lang.c (main):
373 Further fix of patch from 2005-11-04: miscounted numbers count
374 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
375 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
377 Removed leafidx_count and numbers_count since they are the same
378 and replaced them with offset_count.
380 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
383 * fc-cat/fc-cat.c (main):
385 Don't crash when fc-cat invoked with no arguments.
387 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
390 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
392 Fix invalid read access caused by premature free and
393 GCC4 warnings in libxml2 codepath.
395 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
398 * src/fccfg.c (FcConfigValues):
400 List iteration not needed in FcConfigValues, since it's building
401 up the list itself; we can just strip FcVoid elements during
404 2005-11-17 Patrick Lam <plam@mit.edu>
405 * src/fccfg.c (FcConfigValues):
407 Fix crash on invalid constants in config files (forgot to update
408 a pointer upon list iteration.)
410 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
413 * src/fcxml.c (FcTypecheckExpr):
415 Complain about invalid constants in config files.
417 2005-11-17 Andreas Schwab <schwab@suse.de>
420 * src/fccache.c (FcGlobalCacheSave):
422 Don't add current_arch_start more than once.
424 2005-11-16 Patrick Lam <plam@mit.edu>
425 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
426 * src/fcfs.c (FcFontSetUnserialize):
427 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
428 * src/fcpat.c (FcStrUnserialize):
430 Fix ordering of ALIGN with respect to saving block_ptr; add
431 another ALIGN to fcfs.c.
433 2005-11-16 Patrick Lam <plam@mit.edu>
434 * src/fccache.c (FcDirCacheProduce)
436 Fix case where alignment bytes bumped up metadata->count
437 causing unwarranted failures to write cache files.
438 (Reported by Stephan Kulow).
440 2005-11-16 Patrick Lam <plam@mit.edu>
441 * src/fccache.c (FcDirCacheProduce):
442 * src/fccharset.c (FcCharSetDistributeBytes):
443 * src/fcfs.c (FcFontSetDistributeBytes):
445 * src/fclang.c (FcLangSetDistributeBytes):
446 * src/fcname.c (FcObjectDistributeBytes):
447 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
450 Add *NeededBytesAlign(), which overestimates the padding which is
451 later added by the new ALIGN macro. Fix alignment problems on
452 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
453 version by Andreas Schwab).
455 2005-11-16 Stephan Kulow <coolo@kde.org>
460 Use sysconf to determine proper PAGESIZE value; this
461 appears to be POSIX-compliant. (reported by Andreas Schwab)
463 2005-11-04 Patrick Lam <plam@mit.edu>
469 Fix bug 2878 (excessive relocations at startup for charsets,
470 reported by Ross Burton): fc-lang/fc-lang now creates the
471 static form of the langset, not the dynamic form, so that
472 the charsets should now be in .rodata.
474 2005-11-04 Patrick Lam <plam@mit.edu>
475 * src/fcdir.c (FcDirScanConfig):
477 Add test for validity of directory caches that
478 somehow got lost (reported by make distcheck).
480 2005-11-04 Patrick Lam <plam@mit.edu>
484 * fontconfig/fontconfig.h:
486 Bump version to 2.3.92.
488 2005-11-02 Patrick Lam <plam@mit.edu>
489 * src/fcpat.c (FcPatternDuplicate):
491 Fix argument ordering problem in call to FcPatternTransferFullFname.
493 2005-11-02 Patrick Lam <plam@mit.edu>
494 * src/fcfreetype.c (FcFreetypeQuery):
495 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
496 FcPatternTransferFullFname):
498 Fix warnings and embarrassing double-free error.
500 2005-11-02 Zhe Su <zsu@novell.com>
505 Change the rule for artificial emboldening in fonts.conf.in. This
506 enables the support for artificial emboldening included in cairo.
508 2005-11-02 Patrick Lam <plam@mit.edu>
509 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
511 Don't zero out full names for FC_REF_CONSTANT fonts;
512 also, duplicate full names when transferring, and free
513 full names when freeing the associated font.
514 Reported by Jinghua Luo.
516 2005-11-02 Patrick Lam <plam@mit.edu>
517 * fc-cache/fc-cache.c (scanDirs):
518 * src/fcpat.c (FcValueListSerialize):
520 Revert the previous patch and commit the correct patch:
521 I forgot a canonicalization in FcValueListSerialize, so
522 that it would choke on already-serialized input files. Duh!
524 2005-11-02 Patrick Lam <plam@mit.edu>
525 * fc-cache/fc-cache.c (scanDirs):
527 Forcibly rescan a directory before writing a fresh local
528 cache file for that directory, fixing the losing-fonts
529 problem reported by Mike Fabian and also apparently the
530 font cache file corruption.
532 2005-11-02 Patrick Lam <plam@mit.edu>
533 * src/fccache.c (FcGlobalCacheLoad):
535 Fix thinko: actually, the whole global cache is stale
536 if the global cache is older than the (newest) config file.
538 2005-11-02 Patrick Lam <plam@mit.edu>
539 * src/fccache.c (FcGlobalCacheLoad):
540 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
543 Declare the global cache of a directory's contents to be stale if
544 the directory is newer than the (newest) configuration file.
546 2005-10-31 Patrick Lam <plam@mit.edu>
548 * src/fclist.c (FcListAppend):
549 * src/fcmatch.c (FcFontRenderPrepare):
550 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
551 FcPatternFreeze, FcPatternBaseFreeze):
553 Copy the full pathname whenever duplicating an FcPattern; otherwise,
554 applications continue breaking.
556 2005-10-31 Patrick Lam <plam@mit.edu>
557 * fc-cat/fc-cat.c (FcCacheFileRead, main):
558 * src/fcfreetype.c (FcFreeTypeQuery):
560 Fix small memory error (tried to free argv); use basename and
561 dirname correctly (they can modify their arguments).
563 2005-10-31 Patrick Lam <plam@mit.edu>
571 Reinstate basename patch, but keep a hash table linking FcPatterns
572 to their fully-qualified font names for clients' benefit. Clients
573 only pay for the font names once they request the FC_FILE property
574 from an FcPattern, but the font name is malloc'd at that point (i.e.
575 not mmapped: that's impossible, since it may vary between machines.)
576 Clients do have to pay for a copy of the path name per cache file.
578 Note that FcPatternGetString now does some rewriting if you ask
579 for an FC_FILE, appending the pathname as appropriate.
581 2005-10-31 Patrick Lam <plam@mit.edu>
582 * src/fcfreetype.c (FcFreeTypeQuery):
584 Revert basename patch, which breaks fontconfig clients on my system.
586 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
589 * fontconfig/fonts.conf.in:
590 * fontconfig/fontconfig.h:
594 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
595 to load embedded bitmaps or not.
597 2005-10-25 Patrick Lam <plam@mit.edu>
598 * src/fcfreetype.c (FcFreeTypeQuery):
600 Only add basename to patterns' FC_FILE element, not any part of
603 2005-10-22 Patrick Lam <plam@mit.edu>
606 Add some more consts, fixing more GCC4 warnings.
608 2005-10-22 Zhe Su <zsu@novell.com>
611 Support localized font family and style names.
612 This has been reported to break old apps like xfd, but modern
613 (gtk+/qt/mozilla) apps work fine.
615 2005-10-21 Patrick Lam <plam@mit.edu>
616 * src/fccache.c (FcGlobalCacheLoad):
618 Destroy the global cache file if it's terminally broken. (reported by
621 2005-10-21 Patrick Lam <plam@mit.edu>
622 * fc-list/fc-list.c (main):
623 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
624 * fontconfig/fontconfig.h:
626 Prevent fc-list from escaping strings when printing them (reported by
629 2005-10-20 Marcus Meissner <meissner@suse.de>
632 * fontconfig/fontconfig.h:
634 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
636 2005-10-14 Ross Burton <ross@burtonini.com>
639 * fc-glyphname/fc-glyphname.c:
642 Add consts to variables so as to move arrays into .rodata.
644 2005-10-14 Mike Fabian <mfabian@suse.de>
647 * src/fccache.c (FcDirCacheUnlink):
649 Check existence of directory cache file before attempting to unlink.
651 2005-10-13 Patrick Lam <plam@mit.edu>
652 * src/fccache.c (FcDirCacheUnlink):
654 Fix flipped return value on unlink. (Reported by Mike Fabian)
656 2005-10-12 Patrick Lam <plam@mit.edu>
659 * src/fcdir.c (FcDirScanConfig):
662 When fc-cache is run without --force, use directory cache files
663 to speed up fc-cache run time. (Reported by Mike Fabian)
665 2005-10-06 Patrick Lam <plam@mit.edu>
667 * src/fcname.c (FcObjectToPtr):
668 * src/fcpat.c (FcStrStaticName):
670 Add padding to make valgrind and glibc not hate each other
671 when calling strlen().
673 2005-10-05 Simos Xenitellis <simos74@gmx.net>
674 reviewed by: plam & keithp
678 Modify config file to use Greek fonts before Asian fonts with
681 2005-10-05 Christian Biesinger <cbiesinger@web.de>
682 reviewed by: plam & keithp
686 Use libtool -no-undefined flag on all platforms.
688 2005-10-05 Patrick Lam <plam@mit.edu>
689 * src/fccache.c (FcCacheHaveBank):
691 Implement move-to-front array for banks (perf regression
692 reported by Ronny V. Vindenes).
694 2005-10-04 Patrick Lam <plam@mit.edu>
695 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
696 FcDirCacheHasCurrentArch):
697 * fc-cache/fc-cache.c (scanDirs):
698 * fontconfig/fontconfig.h:
700 Add new API which unlinks directory caches and checks dir caches
701 for existence of appropriate sections. Fix fc-cache to unlink
702 stale cache files and save directory caches that lack relevant
705 2005-10-03 Patrick Lam <plam@mit.edu>
706 * src/fccache.c (FcDirCacheValid):
708 Ensure that a directory cache has the appropriate section
709 before reporting that it is valid (reported by Matthias Clasen).
711 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
719 Use libxml2 if requested (with --enable-libxml2) or if
720 expat is not available.
722 2005-09-29 Patrick Lam <plam@mit.edu>
723 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
725 Fix multi-arch cache files: compute the position for the
726 block to be added using info from OrigFile, not NewFile.
728 2005-09-28 Patrick Lam <plam@mit.edu>
729 * src/fccache.c (FcCacheMachineSignature):
731 Cast results of sizeof() to unsigned int to get rid of
732 warnings on x86_64 (thanks Matthias Clasen).
734 2005-09-27 Patrick Lam <plam@mit.edu>
735 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
738 Use FcAtomic to rewrite cache files.
740 2005-09-27 Patrick Lam <plam@mit.edu>
742 * src/fccache.c (FcDirCacheWrite):
744 Don't unlink the fonts.cache-2 file even if there's no data
745 to write; just write an empty cache file. (thanks Lubos Lunak)
747 2005-09-27 Patrick Lam <plam@mit.edu>
749 * src/fccache.c (FcDirCacheWrite):
751 Allocate room for the subdirectory names in each
752 directory cache. Thanks to James Cloos for finding
753 and diagnosing this bug!
755 2005-09-22 Patrick Lam <plam@mit.edu>
757 * fc-cache/fc-cache.sgml:
758 * src/fccache.c (FcDirCacheWrite):
759 * src/fccache.h (struct FcCache):
761 Update documentation -- fc-cache's man page now says that you
762 need to run fc-cache once per cached architecture; add some
763 documentation to the FcCache structure.
765 Make fc-cache write out fonts.cache-2 files for directories with
766 no fonts (i.e. only subdirectories).
768 2005-09-22 Patrick Lam <plam@mit.edu>
770 * fc-cache/fc-cache.sgml:
772 * fc-glyphname/fc-glyphname.c:
778 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
783 * fontconfig/fcprivate.h:
784 * fontconfig/fontconfig.h:
798 Implement new mmaped cache for font information.
799 Bump so revision to 2.3.90.
801 2005-07-25 Keith Packard <keithp@keithp.com>
803 * doc/fontconfig-user.sgml:
804 * fc-glyphname/fc-glyphname.c: (scan), (main):
805 * fc-lang/fc-lang.c: (FcConfigHome):
806 * fc-match/fc-match.c: (main):
807 * src/fccfg.c: (FcConfigHome):
808 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
809 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
810 (addtag), (FcFontCapabilities):
811 * src/fcpat.c: (FcValueListEntCreate):
812 * src/fcstr.c: (FcStrCaseWalkerInit):
813 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
815 Various GCC 4 cleanups for signed vs unsigned char
817 Match only [0-9]*.conf files in <include>{directory}</include>
818 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
820 2005-07-15 Carl Worth <cworth@cworth.org>
823 * src/fcinit.c: (FcFini):
824 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
827 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
828 Pull the FcObjectStateName hash table out to file scope, and add
829 FcObjectStaticNameFini so that FcFini will cleanup this hash table
832 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
835 2005-06-16 Patrick Lam <plam@MIT.EDU>
839 * src/fccfg.c: (FcConfigCompareValue):
840 Make FcOpNotContains use FcStrStr for strings so that
841 it matches semantics for !FcOpContains.
843 2005-05-20 Keith Packard <keithp@keithp.com>
847 Move fontconfig source package to libs as per override
849 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
851 reviewed by: Mike Fabian
854 The ka.orth file requires several characters which are not
855 used anymore in modern Georgian and which are missing in the free
856 Georgian TrueType fonts downloadable at:
858 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
860 2005-04-27 Keith Packard <keithp@keithp.com>
864 Update date to real 2.3.2 release date.
865 Fix change attributions
867 2005-04-27 Keith Packard <keithp@keithp.com>
870 Bump so revision for 2.3.2
871 * fc-cache/fc-cache.c: (scanDirs):
872 Fix a few minor leaks in error cases.
874 2005-04-23 Keith Packard <keithp@keithp.com>
879 * fontconfig/fontconfig.h:
880 Update for version 2.3.2
882 2005-04-21 Keith Packard <keithp@keithp.com>
884 * debian/fontconfig.postinst:
885 Don't force bitmap font enable in default
886 configuration; allows users to override this in
896 * debian/po/pt_BR.po:
897 * debian/po/templates.pot:
899 * debian/po/zh_CN.po:
902 * fc-cache/fc-cache.c: (main):
903 Destroy font configuration on exit to help valgrind
906 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
907 (FcFreeTypeCheckGlyph):
908 Use own transcoding routines in preference to iconv
909 which appears to have leaks in some translators.
910 Call iconv_close after using iconv (oops).
912 Prefer unicode encoding of Euro char as some
913 fonts mis-encode Euro in other ones.
915 Must fetch bitmap glyphs to get width values
916 to check for monospace/dual-width fonts.
918 2005-04-13 Ross Burton <ross@burtonini.com>
921 Check that a pattern isn't already frozen in FcPatternFreeze.
923 2005-03-31 Ross Burton <ross@burtonini.com>
928 Run all FcPattern objects through FcObjectStaticName, so that
929 compares can be done on pointers instead of strings (#2659)
931 2005-03-17 Tor Lillqvist <tml@novell.com>
933 * src/fontconfig.def.in: Add the .dll to the dll name.
935 2005-03-10 Keith Packard <keithp@keithp.com>
937 * debian/README.Debian:
938 Update to reflect configuration changes
940 * debian/fontconfig.postinst:
941 Fix Autohint vs Autohinter mistake
942 * debian/fontconfig.templates:
943 Adopt changes from Josselin Mouette for configuration descriptions
944 Update debian to version 2.3.1-2
946 2005-03-08 Keith Packard <keithp@keithp.com>
950 Update debian for 2.3.1
952 2005-03-09 Tor Lillqvist <tml@novell.com>
954 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
957 * src/fccfg.c (FcConfigFileExists): Check also drive letter
960 2005-03-08 Keith Packard <keithp@keithp.com>
964 * fontconfig/fontconfig.h:
967 2005-03-05 Keith Packard <keithp@keithp.com>
969 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
970 Include space and remove numbers from valid script tags.
971 This ensures that tags like 'lao ' work while rejecting
972 those which have any digits.
973 Eliminate a spurious debugging variable (len)
975 2005-03-05 Keith Packard <keithp@keithp.com>
977 * src/fcfreetype.c: (addtag), (GetScriptTags),
978 (FcFontCapabilities):
979 Rework GSUB/GPOS script parsing to survive broken fonts.
980 Thanks for the broken font go to Manish Singh
982 2005-03-05 Keith Packard <keithp@keithp.com>
987 * debian/fontconfig.config:
988 * debian/fontconfig.templates:
990 Include 2.3 release information in changelog
991 Add Josselin Mouette as an Uploader
992 Set hinting_type to low priority configuration option
995 * debian/fontconfig.postinst:
996 yes_bitmaps.conf -> yes-bitmaps.conf
1002 2005-03-02 Keith Packard <keithp@keithp.com>
1005 * conf.d/Makefile.am:
1006 * conf.d/autohint.conf:
1007 * conf.d/no-sub-pixel.conf:
1008 * conf.d/sub-pixel.conf:
1009 * conf.d/unhinted.conf:
1010 * debian/autohint.conf:
1011 * debian/fontconfig.install:
1012 * debian/fontconfig.postinst:
1013 * debian/fontconfig.templates:
1014 * debian/no-sub-pixel.conf:
1015 * debian/unhinted.conf:
1016 Move debian-specific conf file examples upstream.
1018 Sub-pixel configuration examples must smash subpixel value
1019 as Xft always sets it from X.
1021 Change sub-pixel rendering debconf descriptions from
1022 Enable/Disable to Always/Never.
1024 2005-03-02 Keith Packard <keithp@keithp.com>
1027 * conf.d/.cvsignore:
1029 Ignore more build detritus
1032 Add debian package construction stuff.
1034 * config/config.guess:
1035 * config/config.sub:
1036 Update to newer versions of these tools
1039 Get library manuals to build again (we love automake).
1041 * debian/README.Debian:
1042 * debian/autohint.conf:
1047 * debian/fontconfig-udeb.install:
1048 * debian/fontconfig.config:
1049 * debian/fontconfig.defoma:
1050 * debian/fontconfig.dirs:
1051 * debian/fontconfig.install:
1052 * debian/fontconfig.postinst:
1053 * debian/fontconfig.postrm:
1054 * debian/fontconfig.templates:
1055 * debian/libfontconfig1-dev.install:
1056 * debian/libfontconfig1.install:
1057 * debian/local.conf.md5sum:
1058 * debian/no-sub-pixel.conf:
1059 * debian/po/POTFILES.in:
1068 * debian/po/pt_BR.po:
1069 * debian/po/templates.pot:
1071 * debian/po/zh_CN.po:
1073 * debian/unhinted.conf:
1074 Update debian build system to switch maintainers and
1075 deal with 2.3 functionality
1077 2005-03-01 Keith Packard <keithp@keithp.com>
1081 * fontconfig/fontconfig.h:
1084 2005-03-01 Keith Packard <keithp@keithp.com>
1087 Generate and install PDF versions of the manuals
1089 * doc/fcpattern.fncs:
1092 * doc/fcstring.fncs:
1093 Add missing exported functions, fix data types
1095 * doc/fontconfig-devel.sgml:
1096 Add missing pattern elements.
1098 * doc/fontconfig-user.sgml:
1099 Add missing pattern elements. Document conf.d usage,
1100 clarify available orthography list. Fix some config file
1101 attributes. Complete list of constants.
1103 * fontconfig/fontconfig.h:
1104 Mark FC_SOURCE deprecated.
1106 * src/fcfreetype.c: (FcFreeTypeQuery):
1107 Don't set FC_SOURCE any longer.
1109 2005-02-28 Keith Packard <keithp@keithp.com>
1112 * conf.d/Makefile.am:
1114 * conf.d/no-bitmaps.conf:
1115 * conf.d/sub-pixel.conf:
1116 * conf.d/yes-bitmaps.conf:
1118 Create prototype /etc/fonts/conf.d directory with a few
1119 sample configuration files.
1120 Deprecate use of local.conf for local customizations in favor of
1121 this directory based scheme which is more easily integrated into
1122 installation systems.
1125 Tag FC_EMBOLDEN as a boolean variable
1127 2005-02-10 Keith Packard <keithp@keithp.com>
1129 reviewed by: pborelli@katamail.com
1131 * src/fcdir.c: (FcFileScanConfig):
1132 Free patterns from fonts which are rejected by configuration
1135 2005-01-28 Keith Packard <keithp@keithp.com>
1139 * fontconfig/fontconfig.h:
1140 Update for version 2.2.99
1142 2005-01-28 Keith Packard <keithp@keithp.com>
1145 Add a few pointers (#2284, #2285)
1147 2005-01-28 Keith Packard <keithp@keithp.com>
1150 * src/fcname.c: (FcNameBool):
1151 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1152 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1153 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1154 Polite typechecking for test and edit expressions. Helps
1155 catch errors in the font configuration. (bug 229)
1157 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1159 reviewed by: Keith Packard <keithp@keithp.com>
1162 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1164 2005-01-13 Keith Packard <keithp@keithp.com>
1166 * doc/fontconfig-user.sgml:
1167 Add SEE ALSO section (bug 2085)
1169 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1171 reviewed by: Keith Packard <keithp@keithp.com>
1176 * fc-case/Makefile.am:
1177 * fc-glyphname/Makefile.am:
1178 * fc-lang/Makefile.am:
1179 * src/fontconfig.def.in:
1180 Cross compiling fixes (bug 280)
1182 2005-01-13 Keith Packard <keithp@keithp.com>
1185 Update blanks list (Closes bug 86)
1187 2005-01-04 Keith Packard <keithp@keithp.com>
1189 * src/fccache.c: (FcCacheFontSetAdd):
1190 Verify that every font pattern loaded from cache has
1191 both FC_FILE and FC_FAMILY entries.
1192 Attempt to fix bug #2219.
1194 2004-12-29 Keith Packard <keithp@keithp.com>
1198 * fontconfig/fontconfig.h:
1199 Update for version 2.2.98
1201 2004-12-29 Keith Packard <keithp@keithp.com>
1203 * fontconfig/fontconfig.h:
1204 Document ASCII limitations of Fc character conversion macros
1205 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1206 Fix off-by-one error in utf-8 case walking code.
1207 Add FcStrDowncase (useful for testing case conversion functions)
1209 2004-12-29 Keith Packard <keithp@keithp.com>
1212 * fc-case/.cvsignore:
1213 clean up CVS ignore lists
1214 * fc-lang/iso-3166.txt:
1215 Add territory database
1217 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1219 Reviewed by: Keith Packard
1222 Remove Han characters from Korean orthography
1224 2004-12-29 Keith Packard <keithp@keithp.com>
1227 Reorder utility programs to make sure fc-case is run before fc-lang
1228 as fc-lang uses fcstr.c which uses fccase.h
1232 2004-12-29 Keith Packard <keithp@keithp.com>
1235 Adopt some RedHat suggestions for standard font configuration.
1239 * fc-case/CaseFolding.txt:
1240 * fc-case/Makefile.am:
1241 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1242 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1243 (dump), (parseRaw), (caseFoldReadRaw), (main):
1244 * fc-case/fccase.tmpl.h:
1245 Add new helper program 'fc-case' to construct case folding
1246 tables from standard Unicode CaseFolding.txt file
1249 * src/fclist.c: (FcListValueHash):
1250 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1251 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1252 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1253 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1254 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1255 Re-implement case insensitive functions with Unicode
1256 aware versions (including full case folding mappings)
1258 2004-12-13 Keith Packard <keithp@keithp.com>
1260 reviewed by: Owen Taylor <otaylor@redhat.com>
1262 * src/fcmatch.c: (FcFontSetSort):
1263 I changed FcFontSetSort to respect the generic aliases better
1264 in the face of language matching.
1266 What I did was to ammend the strict sort order used by FcFontSort so
1267 that it 'satisfies' the language specified in the pattern by locating
1268 the best matching font supporting each pattern language and then
1269 ignores language in the remaining fonts for purposes of matching.
1271 So, when asking for 'sans:lang=en', you'll get an English font first,
1272 and then the remaining fonts sorted with respect to the 'sans' alias
1273 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1275 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1277 reviewed by: Keith Packard <keithp@keithp.com>
1279 * fontconfig/fontconfig.h:
1282 Configuration changes to request synthetic emboldening of
1283 fonts. The actual emboldening code will live in Xft.
1285 2004-12-09 John Thacker <thacker@math.cornell.edu>
1287 reviewed by: Keith Packard <keithp@keithp.com>
1291 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1292 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1293 и), and don't even appear in KOI8-R. (The hypothesis that they
1294 don't appear in KOI8-R due to their similarity with Latin I and i is
1295 eliminated by their presence in KOI8-U.) I have a couple of fonts
1296 with Russian support that don't have the letter.
1298 Therefore, 0406 and 0456 should be removed from or commented out of
1301 2004-12-06 michael meeks <mmeeks@novell.com>
1303 Reviewed by: Keith Packard <keithp@keithp.com>
1305 * src/fcinit.c: (FcMemReport):
1307 * src/fclist.c: (FcObjectSetAdd):
1308 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1309 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1310 * src/fcxml.c: (FcParsePatelt):
1311 memoize strings and share a single copy for all uses. Note that
1312 this could be improved further by using statically allocated blocks
1313 and gluing multiple strings together, but I'm basically lazy.
1314 In my environment with 800 font files, I get a savings of about 90KB.
1316 2004-12-06 Keith Packard <keithp@keithp.com>
1320 * config/Makedefs.in:
1323 * doc/fcatomic.fncs:
1324 * doc/fcblanks.fncs:
1325 * doc/fccharset.fncs:
1326 * doc/fcconfig.fncs:
1327 * doc/fcconstant.fncs:
1329 * doc/fcfontset.fncs:
1330 * doc/fcfreetype.fncs:
1332 * doc/fcmatrix.fncs:
1333 * doc/fcobjectset.fncs:
1334 * doc/fcobjecttype.fncs:
1335 * doc/fcpattern.fncs:
1336 * doc/fcstring.fncs:
1337 * doc/fcstrset.fncs:
1339 * doc/fontconfig-devel.sgml:
1340 * doc/fontconfig-user.sgml:
1342 * doc/version.sgml.in:
1343 * fc-cache/Makefile.am:
1344 * fc-cache/fc-cache.c:
1345 * fc-glyphname/Makefile.am:
1346 * fc-glyphname/fc-glyphname.c:
1347 * fc-glyphname/fcglyphname.tmpl.h:
1348 * fc-lang/Makefile.am:
1358 * fc-lang/az_ir.orth:
1392 * fc-lang/fc-lang.c:
1393 * fc-lang/fc-lang.man:
1394 * fc-lang/fclang.tmpl.h:
1439 * fc-lang/ku_ir.orth:
1472 * fc-lang/ps_af.orth:
1473 * fc-lang/ps_pk.orth:
1502 * fc-lang/ti_er.orth:
1503 * fc-lang/ti_et.orth:
1529 * fc-lang/zh_cn.orth:
1530 * fc-lang/zh_hk.orth:
1531 * fc-lang/zh_mo.orth:
1532 * fc-lang/zh_sg.orth:
1533 * fc-lang/zh_tw.orth:
1535 * fc-list/Makefile.am:
1536 * fc-list/fc-list.c:
1537 * fc-match/Makefile.am:
1538 * fc-match/fc-match.1:
1539 * fc-match/fc-match.c:
1540 * fontconfig/fcfreetype.h:
1541 * fontconfig/fcprivate.h:
1542 * fontconfig/fontconfig.h:
1563 Change files from ISO-Latin-1 to UTF-8
1565 2004-12-04 Keith Packard <keithp@keithp.com>
1568 Update links to new freedesktop.org locations
1570 Add uninstall-local to get rid of fonts.conf and local.conf if they
1571 match the distributed versions. Fixes 'make distcheck'
1573 2004-12-04 Keith Packard <keithp@keithp.com>
1577 * fontconfig/fontconfig.h:
1578 Updates for version 2.2.97
1580 2004-12-04 Owen Taylor <otaylor@redhat.com>
1582 reviewed by: Keith Packard <keithp@keithp.com>
1584 * fc-cache/fc-cache.c: (main):
1585 Sleep for two seconds before exiting to make sure timestamps
1586 for future changes have distinct mod times in the file system.
1589 Add Punjabi orthography. Bug #1671.
1591 2004-12-04 Keith Packard <keithp@keithp.com>
1594 Just remove the FC_FONTDATE -- it has locale issues and
1595 annoys redhat multi-arch installs. Now that all X fonts are
1596 included without prejudice, the chances of the date being at
1597 all interesting are rather limited. Bug #505.
1599 Add copyright and license
1601 2004-12-04 Keith Packard <keithp@keithp.com>
1604 Change default set of fonts to include all of
1605 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1606 * doc/fontconfig-user.sgml:
1607 Document new <include>directory-name</include> semantics
1609 add <include ignore_missing="yes">conf.d</include>
1611 Add selectfont to ignore bitmap fonts, add comment for
1612 selectfont which accepts bitmap fonts.
1615 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1616 Allow <include> configuration elements to reference directories.
1617 Parse and load all files of the form [0-9]* in sorted order.
1619 2004-12-04 Keith Packard <keithp@keithp.com>
1622 Report command line for $srcdir/configure accurately.
1625 2004-12-04 Keith Packard <keithp@keithp.com>
1627 * src/fcfreetype.c: (FcFreeTypeQuery):
1628 Check for non-empty face->family_name and face->style_name
1629 before using those for the font. Empty names match everything.
1632 2004-12-04 Keith Packard <keithp@keithp.com>
1635 * fontconfig/fontconfig.h:
1636 * src/fcfreetype.c: (FcFreeTypeQuery):
1638 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1639 available. This provides font file format information (BDF, Type 1,
1640 PCF, TrueType) for each font. Closes #109.
1642 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1644 reviewed by: Keith Packard <keithp@keithp.com>
1646 * doc/fontconfig-user.sgml:
1649 * fontconfig/fontconfig.h:
1650 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1651 (GetScriptTags), (FcFontCapabilities):
1653 Add detection for font capabilities (bug #105)
1655 2004-12-04 Keith Packard <keithp@keithp.com>
1658 Move existing fonts.conf to fonts.conf.bak
1661 Add detection of iconv
1663 * doc/fcpattern.fncs:
1664 * doc/fontconfig-devel.sgml:
1665 * doc/fontconfig-user.sgml:
1667 Document new selectfont elements
1670 Switch to UTF-8 in comment
1672 * fontconfig/fontconfig.h:
1674 Add fullname, and family/style/fullname language entries
1676 * src/fccache.c: (FcCacheFontSetAdd):
1677 * src/fcdir.c: (FcFileScanConfig):
1678 Respect selectfont/*/glob
1681 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1682 (FcConfigCompareValue), (FcConfigPatternsAdd),
1683 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1684 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1685 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1686 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1687 Add support for selectfont
1689 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1690 (FcStringInPatternElement), (FcFreeTypeQuery):
1691 Add multi-lingual family/style/fullname support
1693 * src/fclist.c: (FcListPatternMatchAny):
1694 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1696 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1697 (FcObjectStaticName):
1698 Add new FcPatternRemove/FcPatternAppend.
1699 FcObjectStaticName stores computed pattern element names which
1700 are required to be static.
1702 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1707 Remove spurious / after $(DESTDIR)
1709 2004-06-30 Keith Packard <keithp@keithp.com>
1713 * fontconfig/fontconfig.h:
1716 2004-06-30 Keith Packard <keithp@keithp.com>
1718 Provided by: Lubos Lunak <l.lunak@suse.cz>
1720 * src/fccfg.c: (FcConfigUptoDate):
1721 However FcConfigUptoDate() doesn't seem to work. See the attached
1722 patch. First there's an obvious misplaced parenthesis making it
1723 return always false, and second, even this call fails to detect font
1724 changes (e.g. adding a new font to
1725 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1726 well. The problem seems to be triggered by my fonts.conf specifying
1727 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1728 doesn't include subdirs, unlike config->fontDirs.
1730 2004-06-03 Keith Packard <keithp@keithp.com>
1732 * fontconfig/fontconfig.h:
1733 Remove comma at end of FcResult enum definition.
1735 2004-05-29 Keith Packard <keithp@keithp.com>
1738 Add steps to md5sum release
1740 2004-05-29 Keith Packard <keithp@keithp.com>
1744 * fontconfig/fontconfig.h:
1747 2004-05-29 Keith Packard <keithp@keithp.com>
1749 * fontconfig/fontconfig.h:
1750 * src/fcmatch.c: (FcFontSetMatch):
1751 Add FcResultOutOfMemory to provide an accurate error when
1752 FcFontSetMatch fails in this way
1755 Make #warning about lacking various FreeType features indicate
1756 which version those features appeared so users know how to
1757 fix the problem (Thanks to Anton Tropashko)
1759 2004-05-05 Keith Packard <keithp@keithp.com>
1761 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1762 Replace MIN/MAX/ABS macros which happen to have come
1763 from FreeType with fontconfig-specific ones (FC_*)
1765 2004-04-23 Keith Packard <keithp@keithp.com>
1768 Extend release preparation instructions to include
1769 notification and distribution steps
1771 2004-04-23 Keith Packard <keithp@keithp.com>
1775 * fontconfig/fontconfig.h:
1776 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1778 2004-04-23 Keith Packard <keithp@keithp.com>
1781 Ignore a few more autotool files
1783 2004-04-14 Keith Packard <keithp@keithp.com>
1786 Add instructions for doing a release
1788 * fontconfig.spec.in:
1789 clean up .spec file; perhaps this will be useful to somebody...
1793 * fontconfig/fontconfig.h:
1796 * fc-lang/fc-lang.c:
1797 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1799 * fc-glyphname/Makefile.am:
1800 * fc-lang/Makefile.am:
1801 * fc-list/Makefile.am:
1802 * fc-match/Makefile.am:
1804 Add WARN_CFLAGS to pass -W flags for GCC systems
1806 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1807 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1808 Change various char types around to match across
1810 Fixed bug in using available_sizes[i].height which
1811 is in pixels, not 64ths of a pixel.
1813 2004-03-06 Keith Packard <keithp@keithp.com>
1815 * src/fcfreetype.c: (FcFreeTypeQuery):
1816 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1817 matches looking for explicit values prefer exact matches
1819 2004-03-02 Keith Packard <keithp@keithp.com>
1821 Supplied by: mfabian@suse.de (Mike FABIAN)
1823 * src/fcfreetype.c: (FcFreeTypeQuery):
1824 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1825 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1827 2004-02-21 Manish Singh <yosh@gimp.org>
1829 * fc-glyphname/fc-glyphname.c: (main):
1830 Cast strlen to int for printf, so we're 64-bit clean.
1832 2004-02-11 Keith Packard <keithp@keithp.com>
1835 * src/fcfreetype.c: (FcGetPixelSize):
1836 Ok, so I messed up the test for y_ppem. Let's see if I
1837 got it right this time.
1839 2004-02-10 Keith Packard <keithp@keithp.com>
1842 * src/fcfreetype.c: (FcGetPixelSize):
1843 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1844 FT_Bitmap_Size record. Add a configure.in test for this
1845 and change the code accordingly (using height instead).
1847 2004-02-06 Keith Packard <keithp@keithp.com>
1850 Add Low Saxon orthography
1851 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1853 * src/fccfg.c: (FcConfigNewestFile):
1854 Oops. Left 'newest.set' unset, which would miscompute
1857 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1858 (FcFreeTypeCheckGlyph):
1859 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1860 font properties (which report the wrong value in current FreeType)
1862 Don't attempt to check for empty glyphs in non-scalable fonts; they
1865 2004-02-01 Tor Lillqvist <tml@iki.fi>
1867 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1868 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1869 cache if config->cache is NULL, which happens if FcConfigHome() is
1870 NULL. Guard against that by using the temp folder in that case.
1872 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1874 * fc-lang/az_ir.orth:
1875 * fc-lang/ku_ir.orth:
1876 * fc-lang/ps_af.orth:
1877 * fc-lang/ps_pk.orth:
1878 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1879 (Afghan and Pakistani).
1881 Updated Urdu orthography with real data.
1883 2003-12-11 Carl Worth <cworth@east.isi.edu>
1885 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1888 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1890 (all-local): Remove excessive whitespace.
1892 * autogen.sh: Add 'set -e' to abort when any program fails,
1893 (avoids printing of 'now type make' after configure aborts).
1895 2003-11-17 Eric Christopherson <rakko@charter.net>
1897 reviewed by: Keith Packard <keithp@keithp.com>
1900 * fontconfig/fcfreetype.h:
1902 Switch to FreeType 2.1.7 style includes. Bug #150.
1904 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1906 * fc-list/fc-list.sgml: Add some example usages.
1908 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1911 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1914 2003-10-27 Keith Packard <keith@keithp.com>
1917 * fontconfig/fontconfig.h:
1918 Update to version 2.2.92
1920 2003-10-27 Keith Packard <keithp@keithp.com>
1925 * fc-cache/Makefile.am:
1926 * fc-glyphname/Makefile.am:
1927 * fc-lang/Makefile.am:
1928 * fc-list/Makefile.am:
1929 * fc-match/Makefile.am:
1932 Yet more cleanups to finish getting 'make distcheck' working
1933 This has been tested to ensure that it even works from a _build
1936 2003-10-26 Keith Packard <keithp@keithp.com>
1940 * fc-cache/Makefile.am:
1941 * fc-glyphname/Makefile.am:
1942 * fc-lang/Makefile.am:
1943 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1944 * fc-list/Makefile.am:
1945 * fc-match/Makefile.am:
1946 Attempts to fix 'make distcheck' work. Things are
1947 progressing pretty well, but there are still failures
1948 long into the process dealing with docs (as always).
1950 The big changes here are mostly to make $(srcdir) != "."
1951 work correctly, fixing the docbook related sections and
1952 fc-lang were particularily tricky. Docbook refuses to load
1953 system entities from anywhere other than where the original .sgml
1954 file was located, so no luck looking in "." for the
1955 configure-generated version.sgml and confdir.sgml files.
1957 fc-lang needed help finding .orth files; added a -d option
1958 to set the directory as the least evil of many options.
1960 Now to go use a faster machine and try and wring out the last
1963 2003-10-26 Keith Packard <keithp@keithp.com>
1967 2003-10-26 Keith Packard <keithp@keithp.com>
1970 Include confdir.sgml.in in EXTRA_DIST
1972 2003-10-09 Josselin Mouette <joss@debian.org>
1974 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1975 * fc-list/fc-list.sgml fc-list/Makefile.am:
1976 Replace fc-cache and fc-list manpages with more detailed, SGML
1979 2003-09-23 Owen Taylor <otaylor@redhat.com>
1981 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1982 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1983 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1986 2003-09-23 Owen Taylor <otaylor@redhat.com>
1988 * fc-lang/ka.orth: Remove Georgian capitals, they
1989 aren't used for normal writing. (Bug #116)
1991 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1993 * doc/fontconfig-devel.sgml:
1994 * doc/fontconfig-user.sgml:
1995 * fontconfig/fontconfig.h:
1997 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1998 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2000 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2001 monospace and dual-width fonts, allow roughly a 3% variance in the
2004 2003-08-31 Manish Singh <yosh@gimp.org>
2006 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2009 2003-08-15 Carl Worth <cworth@isi.edu>
2011 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2012 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2014 * src/fcpat.c (FcValueListEntDestroy): New function to support
2015 FcFini memory cleanup. Some statistics are not kept in
2017 (FcValueListFreeze): Move hashTable outside this function so it
2018 can be accessed by FcValueListThawAll.
2019 (FcValueListThawAll): New function complements FcValueListFreeze.
2020 (FcPatternBaseFreeze): Move hashTable outside this function so it
2021 can be accessed by FcPatternBaseThawAll.
2022 (FcPatternBaseThawAll): New function complements
2023 FcPatternBaseFreeze.
2024 (FcPatternThawAll): New function complements FcPatternFreeze.
2026 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2028 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2029 allocated FcCharLeafEnt "blocks" so they can be freed later.
2030 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2031 can be accessed by FcCharSetThawAllLeaf.
2032 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2033 (FcCharSetFreezeBase): Move hashTable outside this function so it
2034 can be accessed by FcCharSetThawAll.
2035 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2037 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2038 (FcConfigDestroy): Fic leak of FcBlanks.
2040 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2041 (main): Add call to FcFini when finished.
2043 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2044 static. Add prototypes.
2046 * doc/fcinit.fncs: Add documentation for FcFini function.
2048 * doc/edit-sgml.c: Mark several local functions as static. Add
2051 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2053 2003-06-15 Tor Lillqvist <tml@iki.fi>
2055 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2056 before comparing (needed on Windows).
2058 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2060 2003-06-13 Tor Lillqvist <tml@iki.fi>
2062 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2065 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2066 WINDOWSFONTDIR token.
2068 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2069 end, not to confuse libtool, which expects the EXPORTS line to be
2070 the first. Add FcConfigEnableHome.
2072 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2073 built as a DLL on Win32.
2075 2003-06-09 Keith Packard <keithp@keithp.com>
2077 * Tag version 2.2.90
2079 2003-06-09 Keith Packard <keithp@keithp.com>
2081 * Optimization in FcLangSetIndex was broken, occasionally
2082 returning a pointer to the wrong location on miss
2084 * Add fc-match to test font matching from the command line.
2086 2003-05-31 Keith Packard <keithp@keithp.com>
2088 * (Bug 85) add support for culmus fonts
2089 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2090 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2092 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2094 * Fix "contains" op for strings and langsets.
2096 2003-05-17 Keith Packard <keithp@keithp.com>
2098 * Fix build error with BDF prop local. Free langset after query
2100 2003-05-14 Keith Packard <keithp@keithp.com>
2102 * Extract spacing from XLFD atom
2104 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2106 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2107 disappeared in 1.30.
2109 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2111 2003-05-12 Keith Packard <keithp@keithp.com>
2113 * Use FcIsWidth to share code
2115 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2116 misclassifying some Han fonts as monospaced.
2118 2003-05-07 Keith Packard <keithp@keithp.com>
2120 * Add filename-based accept/reject to ammend available fonts.
2122 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2123 older FreeType releases.
2125 2003-05-06 Keith Packard <keithp@keithp.com>
2127 * Remove 0b82 and Tamil numbers from tamil
2128 orthography (Jungshik Shin <jshin@mailaps.org>)
2130 2003-05-04 Keith Packard <keithp@keithp.com>
2132 + Map glyph names in fonts with adobe custom encoding to unicode
2134 2003-05-02 Keith Packard <keithp@keithp.com>
2136 * Add FC_WEIGHT_BOOK as weight 75
2138 2003-04-30 Keith Packard <keithp@keithp.com>
2140 * Typo in bitstream foundry name
2142 2003-04-24 Keith Packard <keithp@keithp.com>
2144 * Eliminate italic_angle check for PS fonts
2146 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2148 * Getting closer to fixing /etc/fonts hard-coding.
2150 2003-04-22 Keith Packard <keithp@keithp.com>
2152 * Update autogen.sh to work with newer automake versions
2153 * Handle pattern elements moving during multiple edits
2155 2003-04-23 James Henstridge <james@daa.com.au>
2157 * doc/fontconfig-devel.sgml: close the <para> element.
2159 * doc/fcpattern.fncs: close the <para> element.
2161 * doc/func.sgml: close the <refsynopsisdiv> element.
2163 2003-04-22 Keith Packard <keithp@keithp.com
2165 * Update autogen.sh to work with newer automake versions
2166 * Handle pattern elements moving during multiple edits
2168 2003-04-17 Colin Walters <walters@debian.org>
2170 + Remove some unused variables, and initialize some other ones so
2171 gcc doesn't warn us.
2173 2003-04-16 Keith Packard <keithp@keithp.com>
2175 + tag version 2.1.94
2177 2003-04-16 Keith Packard <keithp@keithp.com>
2179 + add BDF property fetching support for foundry
2180 (from Juliusz Chroboczek)
2181 + add BDF property fetching support for width
2183 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2185 + Implemented foundry generation for Type 1 and TrueType
2187 2003-04-11 Gerard Escalante <g2@magestudios.net>
2189 + Retrieve information from Type1 FontInfo dictionaries
2191 2003-04-07 Colin Walters <walters@verbum.org>
2193 + src/Makefile.am: Fix dummy makefile target names when
2194 MS_LIB_AVAILABLE isn't set.
2196 2003-03-22 Tor Lillqvist <tml@iki.fi>
2198 Changes for Windows:
2200 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2202 + We don't want to hardcode the fonts.conf file location in the
2203 DLL, so we look up the DLL location at run-time in a DllMain()
2204 function. The fonts.conf location is deduced from that.
2206 + The colon can't be used as path separator on Windows,
2207 semicolon is used instead. File path components can be separated
2208 with either slash or backslash. Absolute paths can also begin
2209 with a drive letter.
2211 + Add internal function FcStrLastSlash that strrchr's the last
2212 slash, or backslash on Windows.
2214 + There is no link() on Windows. For atomicity checks, mkdir a
2215 lock directory instead.
2217 + In addition to HOME, also look for USERPROFILE.
2219 + Recognize the special font directory token WINDOWSFONTDIR, to
2220 use the system's font directory.
2222 + Remove the fontconfig-def.cpp that was obsolete. Add
2223 fontconfig.def(.in), without internal functions.
2225 + Add a fontconfig-zip(.in) script, used to build a binary
2228 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2229 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2230 to main package and man3/* to devel package
2232 + Added missing defattr(-, root, root) to main RPM package
2234 + Added HTML and text development documentation to -devel subpackage
2236 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2237 + Added back the configure macro options --disable-docs, otherwise
2238 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2239 version number) unconditionally, causing RPM to fail the build due
2240 to _unpackaged_files_terminate_build. We pick up the pregenerated
2241 docs with %doc already.
2243 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2244 + Removed commented out rpm macro define at top of spec file,
2245 replacing it with a simple explanation, since rpm macros are
2246 expanded by rpm even in comments.
2248 + Changed /usr/bin to _bindir in BuildRequires lines
2250 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2252 + Reorganized file manifest lists
2254 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2256 + fontconfig.spec.in: Improvements from Red Hat spec file.
2258 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2260 + docs/*.sgml: SGML fixes.
2262 Sat Mar 1 17:28:53 PST 2003 keithp
2263 + Ok, so the ChangeLog is a bit out of date
2265 + Lots of bugs fixed; most are in bugzilla, the
2266 biggest problems were in cache management where
2267 Owen discovered the library would lose badly when
2268 combining fonts-cache and ~/.fonts-cache data
2270 + Converted from autoconf to automake. This after
2271 getting patches accepted into libtool to allow
2272 the '-version-number' argument which lets
2273 packages set version numbers explicitly rather
2274 than the roundabout libtool way
2276 + Converted documentation to SGML using the docbook
2277 DTD. Now .txt and .html documents are installed
2278 in /usr/share/doc/fontconfig and there's no
2279 man page. Perhaps a man version can be written
2282 Sat Aug 31 15:21:22 PDT 2002 keithp
2283 + Xrender and Xft had several bugs related to
2284 rendering manually placed or poly-face text
2286 + Added more complete memory tracing in fontconfig
2287 Checked with (patched) mozilla and found no leaks
2289 + Updated Latin orthographies by comparing those from
2290 evertype.com with those from eki.ee. Tried to make
2291 sensible choices, including chars that occured in both
2292 and leaving some optional chars out that occured only
2295 Mon Aug 26 16:33:04 PDT 2002 keithp
2296 + Owen discovered that FcLangSetHasLang wasn't actually
2297 checking the language set.
2299 Mon Aug 26 13:37:23 PDT 2002 keithp
2300 + Append a version number to cache filenames
2302 Thu Aug 22 11:36:18 PDT 2002 keithp
2304 + Add "contains" and "not_contains" operators and elements to
2307 + Changed semantics of eq operator for LangSets to check for
2308 FcLangEqual so that any match will do
2310 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2311 of FcValueEqual to check for identical values when inserting into
2312 the results. This broke when the above semantic change was made,
2313 now it uses FcValueEqual which is "more correct" in any case.
2315 Thu Aug 22 00:32:29 PDT 2002 keithp
2317 + Reimplement FC_LANG as new datatype. Lists of strings
2318 was consuming over a megabyte of memory for 401 fonts.
2320 + Freeze patterns loaded from cache files. This shares
2321 common value lists and common patterns which saves
2322 considerable memory.
2324 + Change the denotation of 'constant' charsets to use special
2325 ref value instead of separate boolean.
2327 + Clean up leak tracing stuff, found several unannoted alloc/free
2330 Tue Aug 20 16:17:37 PDT 2002 keithp
2332 + Fix memory leak when parsing matrices from XML
2334 Mon Aug 19 11:57:27 PDT 2002 keithp
2336 + Fix autoconf files to pass FONTCONFIG_PATH on
2337 compile line so that ${prefix} gets substituted
2340 + Use getc_unlocked/putc_unlocked on systems that
2341 provide them to avoid damage done to stdio by posix
2343 + Eliminate FC_PATTERN and FcTypePattern in favor of
2344 an extended api for FcConfigSubstitute which takes
2345 both the font and the pattern.
2347 + Add 'sans serif' alias for 'sans-serif' as some apps
2348 can't handle hyphens in family names
2350 + Eliminate pretense of support for libxml2
2352 + Comment origins of Han orthographies
2354 Tue Jul 30 18:37:09 PDT 2002 keithp
2356 + Add binding property to edit element so that strong
2357 binding values may be inserted by the config file.
2358 The default remains weak.
2360 Sun 28 Jul 04:16:55 PDT 2002 keithp
2362 + Tagged release candidate 1 in the CVS tree and
2363 placed fcpackage.rc1.tar.gz for distribution
2365 Thu Aug 1 08:55:08 PDT 2002 keithp
2367 + Fixed autoconf builds to always specify install
2368 target files (for BSD). Also fixed to
2369 define FONTCONFIG_PATH in config.h so that
2370 nonstandard installs will actually work.