1 2006-01-08 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheConsume):
4 Properly skip past dir caches that contain zero fonts (as occurs
5 in global caches.) Reported by Mike Fabian.
7 2006-01-06 Patrick Lam <plam@mit.edu>
8 * src/fcdbg.c (FcPatternPrint):
10 Print out full pathname in fc-match -v as well. Reported by
13 2006-01-06 Mike Fabian <mfabian@suse.de>
16 * src/fcname.c (FcNameParse):
18 Fix bug where fc-match crashes when given __DUMMY__ property to
21 (I added the __DUMMY__ string to enable callers of
22 FcObjectToPtrLookup to distinguish an error return from a
23 successful return. -PL)
25 2006-01-05 Patrick Lam <plam@mit.edu>
28 Add self to AUTHORS list.
30 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint,
31 FcCacheFileRead, FcCachePrintSet, main):
32 * src/fccache.c (FcGlobalCacheLoad, FcGlobalCacheUpdate,
33 FcGlobalCacheSave, FcCacheNextOffset,
34 FcDirCacheHasCurrentArch, FcDirCacheRead,
35 FcDirCacheConsume, FcDirCacheWrite):
37 * src/fcpat.c (comment):
39 Minor change to global cache file format to fix fc-cat bug
40 reported by Frederic Crozat, and buglet with not globally caching
41 directories with zero fonts cached.
43 2006-01-02 Lubos Lunak <l.lunak@suse.cz>
46 * src/fccfg.c (FcConfigEvaluate):
48 Fix double-free which occurs because FcValueCanonicalize doesn't
49 create an extra copy of the returned value, it only canonicalizes
52 2006-01-02 Patrick Lam <plam@mit.edu>
53 * doc/fontconfig-user.sgml:
55 Fix version of .cache file (currently 1 -> currently 2). Reported
58 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
61 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
63 Shut up GCC warnings on amd.
65 2005-12-20 Patrick Lam <plam@mit.edu>
69 * fontconfig/fontconfig.h:
71 Bump version to 2.3.93.
73 2005-12-20 Patrick Lam <plam@mit.edu>
74 * src/fccharset.c (FcLangCharSetPopulate):
75 * src/fcint.h (FcCacheBankToIndex):
77 Avoid check on _fcBankId nullness and fix case where it used to
80 2005-12-20 Patrick Lam <plam@mit.edu>
81 * src/fcxml.c (FcConfigParseAndLoad):
83 Use open instead of fopen (requested by Phil Race for Sun).
85 2005-12-20 Patrick Lam <plam@mit.edu>
86 * src/fccache.c (FcDirCacheWrite);
87 * fc-cache/Makefile.am:
89 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
92 2005-12-20 Patrick Lam <plam@mit.edu>
93 * src/fcfreetype.c (FcFreeTypeQuery):
95 Restore code to skip over PCF fonts that have no encoded
97 (We guess that a font is PCF by presence of the PIXEL_SIZE
100 2005-12-12 Patrick Lam <plam@mit.edu>
101 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
103 Read and write the original location as a fallback for the
104 hashed cache file locations. This is mostly for users to be
105 able to have per-directory cache files.
107 2005-12-12 Patrick Lam <plam@mit.edu>
108 * fc-cache/fc-cache.c (scanDirs):
109 * fc-cache/Makefile.am:
110 * src/fccache.c (FcDirCacheHashName):
112 Improve error message when fc-cache can't write the cache. Add
113 missing slash. Reported by Behdad. Incorporate Behdad's patch to
114 create /var/cache/fontconfig when appropriate.
116 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
119 * src/fcxml.c (FcConfigGetAttribute):
121 Fix crash reported by Frederic Crozat when using libxml2.
123 2005-12-09 Patrick Lam <plam@mit.edu>
126 * fc-cache/Makefile.am:
127 * fc-cat/Makefile.am:
129 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
130 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
131 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
132 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
133 FcDirCacheHasCurrentArch, FcDirCacheHashName,
134 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
136 Migrate cache files from fonts directories to
137 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
138 but requires that all caches get rebuilt.
140 Also, autogen.sh now needs the additional parameter
141 --localstatedir=/var.
143 2005-12-07 Patrick Lam <plam@mit.edu>
144 * src/fcpat.c (FcPatternAddString):
146 Because we've changed FcPatternAddString to use FcStrStaticName
147 and not FcValueSave, explicitly handle the case of a null string.
149 2005-12-06 Patrick Lam <plam@mit.edu>
150 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
154 2005-12-05 Patrick Lam <plam@mit.edu>
155 * src/fcname.c (FcNameGetObjectType):
157 Don't assign types to user object names.
159 2005-12-05 Patrick Lam <plam@mit.edu>
160 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
162 Don't free strings that have been returned from FcStrStaticName.
164 2005-12-01 Patrick Lam <plam@mit.edu>
165 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
167 Add codepath for reading global cache files as well.
169 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
172 * conf.d/10-fonts.persian.conf:
173 * conf.d/Makefile.am:
175 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
177 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
180 * src/fcxml.c (FcConfigParseAndLoad):
182 Only add a config file to the set of config files once.
184 2005-11-29 Patrick Lam <plam@mit.edu>
185 * src/fcint.h (FcCacheBankToIndex);
187 Fix segfault by guarding array dereference.
189 2005-11-29 Dirk Mueller <dmueller@suse.de>
193 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
194 FcCacheBankToIndex, FcCacheBankToIndexMTF,
198 Refactor FcCacheBankToIndex into an inlineable part
199 (in fcint.h) which checks the front of the list and a
200 non-inlineable part which finds and moves the appropriate element
201 to the front of the list.
203 2005-11-29 Patrick Lam <plam@mit.edu>
204 * src/fccfg.c (FcConfigBuildFonts):
205 * src/fccache.c (FcCacheReadDirs):
207 Make the perf guys hate me a bit less: hoist the directory-name
208 FcConfigAcceptFont check for cached fonts up to directory cache
209 read time, rather than running it for each font.
211 2005-11-29 Patrick Lam <plam@mit.edu>
212 * src/fccfg.c (FcConfigBuildFonts):
214 * src/fcpat.c (FcPatternFindFullFname):
216 Don't make FcPatternFindFullFname available to fccfg, it's not
217 really safe. Instead go through FcPatternGetString (sorry,
218 perf guys.) Also, use globs for dirs as well.
220 2005-11-28 Patrick Lam <plam@mit.edu>
221 * src/fccfg.c (FcConfigBuildFonts):
225 2005-11-28 Patrick Lam <plam@mit.edu>
227 * src/fcpat.c (FcPatternFindFullFname):
228 * src/fccfg.c (FcConfigBuildFonts):
230 Fix problem dating back at least to 2.3.2 where globs weren't
231 being applied to patterns loaded from a cache.
233 2005-11-28 Patrick Lam <plam@mit.edu>
234 * doc/fontconfig-user.sgml:
236 Fix some obvious spelling mistakes.
238 2005-11-28 Dirk Mueller <dmueller@suse.com>
239 Stephan Kulow <coolo@suse.de>
242 * src/fcmatch.c (FcFontSetMatch):
244 Don't kill all fonts during match (oops!)
247 2005-11-25 Dirk Mueller <dmueller@suse.com>
248 Stephan Kulow <coolo@suse.de>
249 Michael Matz <matz@suse.de>
252 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
255 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
256 inline FcCompare into FcFontSetMatch and reorder the
257 loops, adding a boolean array which blocks patterns from future
258 consideration if they're known to not be best on some past
261 2005-11-26 Dirk Mueller <dmueller@suse.com>
264 * src/fcmatch.c (FcCompareValueList):
268 2005-11-25 Patrick Lam <plam@mit.edu>
269 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
271 Don't do random matching when bad objects are passed into
274 2005-11-25 Patrick Lam <plam@mit.edu>
276 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
277 FcPatternSerialize, FcPatternUnserialize,
278 FcValueListEnsureBank, FcValueListDistributeBytes,
279 FcValueListUnserialize):
281 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
282 _fcPatternElts, _fcValueLists for consistency.
284 2005-11-25 Dirk Mueller <dmueller@suse.com>
289 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
291 2005-11-25 Patrick Lam <plam@mit.edu>
293 * src/fccache.c (FcDirCacheConsume):
294 * src/fccharset.c (FcCharSetUnserialize):
295 * src/fcfs.c (FcFontSetUnserialize):
296 * src/fclang.c (FcLangSetUnserialize):
297 * src/fcname.c (FcObjectUnserialize):
298 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
299 FcPatternUnserialize):
301 Pass around FcCache *s to the Unserialize functions for extra
302 consistency (and less overhead, for what that's worth).
304 2005-11-24 Dirk Mueller <dmueller@suse.com>
308 * src/fcmatch.c (FcCompare*, FcFontSetSort):
309 * src/fcname.c (FcNameUnparseValue):
311 Inline the *PtrU functions to gain perf.
312 Remove unneeded params for the FcCompare* functions.
314 2005-11-24 Dirk Mueller <dmueller@suse.com>
317 * src/fcint.h, fontconfig/fontconfig.h:
319 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
321 * src/fcpat.c, src/fcint.h, src/fcname.c:
323 Check for type validity during FcPatternAddWithBinding, don't
324 verify type in FcFontMatch, don't call FcCanonicalize here
325 (which always does a deep copy).
327 2005-11-24 Dirk Mueller <dmueller@suse.com>
330 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
331 * src/fcpat.c (FcPatternAddWithBinding):
333 Make FcCompareString and FcCompareFamily less expensive.
334 Only add a value for FC_FAMILY if the proposed value is a string.
336 2005-11-24 Dirk Mueller <dmueller@suse.com>
339 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
340 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
341 * src/fcint.h (FcDebug):
343 Inline FcDebug invocations and only initialize once, in FcInit*.
344 Improve debug msg in FcPatternPrint.
346 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
349 * fontconfig/fontconfig.h:
352 Minor code warning cleanups.
354 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
357 * fc-match/fc-match.c (main):
359 Make getopt_long accept -s parameter to fc-match as well.
361 2005-11-21 Dirk Mueller <dmueller@suse.com>
364 * src/fcmatch.c (FcCompareValueList):
366 Manually perform inlining & partial redundancy elimination to
367 reduce calls to FcValueListPtrU.
369 2005-11-21 Dirk Mueller <dmueller@suse.com>
372 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
373 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
375 Only invoke strlen() when really necessary.
377 2005-11-19 Matthias Clasen <mclasen@redhat.com>
381 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
386 Get rid of the use of freetype internal headers in fcfreetype.c,
387 since those headers will go away with freetype 2.2. Replace with
388 public domain ftglue code from pango. Note that the patch removes
389 some extra error checking in FT_Get_BDF_Property() and comments
390 out the skipping of empty pcf fonts.
392 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
395 * fc-lang/fc-lang.c (main):
397 Further fix of patch from 2005-11-04: miscounted numbers count
398 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
399 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
401 Removed leafidx_count and numbers_count since they are the same
402 and replaced them with offset_count.
404 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
407 * fc-cat/fc-cat.c (main):
409 Don't crash when fc-cat invoked with no arguments.
411 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
414 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
416 Fix invalid read access caused by premature free and
417 GCC4 warnings in libxml2 codepath.
419 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
422 * src/fccfg.c (FcConfigValues):
424 List iteration not needed in FcConfigValues, since it's building
425 up the list itself; we can just strip FcVoid elements during
428 2005-11-17 Patrick Lam <plam@mit.edu>
429 * src/fccfg.c (FcConfigValues):
431 Fix crash on invalid constants in config files (forgot to update
432 a pointer upon list iteration.)
434 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
437 * src/fcxml.c (FcTypecheckExpr):
439 Complain about invalid constants in config files.
441 2005-11-17 Andreas Schwab <schwab@suse.de>
444 * src/fccache.c (FcGlobalCacheSave):
446 Don't add current_arch_start more than once.
448 2005-11-16 Patrick Lam <plam@mit.edu>
449 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
450 * src/fcfs.c (FcFontSetUnserialize):
451 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
452 * src/fcpat.c (FcStrUnserialize):
454 Fix ordering of ALIGN with respect to saving block_ptr; add
455 another ALIGN to fcfs.c.
457 2005-11-16 Patrick Lam <plam@mit.edu>
458 * src/fccache.c (FcDirCacheProduce)
460 Fix case where alignment bytes bumped up metadata->count
461 causing unwarranted failures to write cache files.
462 (Reported by Stephan Kulow).
464 2005-11-16 Patrick Lam <plam@mit.edu>
465 * src/fccache.c (FcDirCacheProduce):
466 * src/fccharset.c (FcCharSetDistributeBytes):
467 * src/fcfs.c (FcFontSetDistributeBytes):
469 * src/fclang.c (FcLangSetDistributeBytes):
470 * src/fcname.c (FcObjectDistributeBytes):
471 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
474 Add *NeededBytesAlign(), which overestimates the padding which is
475 later added by the new ALIGN macro. Fix alignment problems on
476 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
477 version by Andreas Schwab).
479 2005-11-16 Stephan Kulow <coolo@kde.org>
484 Use sysconf to determine proper PAGESIZE value; this
485 appears to be POSIX-compliant. (reported by Andreas Schwab)
487 2005-11-04 Patrick Lam <plam@mit.edu>
493 Fix bug 2878 (excessive relocations at startup for charsets,
494 reported by Ross Burton): fc-lang/fc-lang now creates the
495 static form of the langset, not the dynamic form, so that
496 the charsets should now be in .rodata.
498 2005-11-04 Patrick Lam <plam@mit.edu>
499 * src/fcdir.c (FcDirScanConfig):
501 Add test for validity of directory caches that
502 somehow got lost (reported by make distcheck).
504 2005-11-04 Patrick Lam <plam@mit.edu>
508 * fontconfig/fontconfig.h:
510 Bump version to 2.3.92.
512 2005-11-02 Patrick Lam <plam@mit.edu>
513 * src/fcpat.c (FcPatternDuplicate):
515 Fix argument ordering problem in call to FcPatternTransferFullFname.
517 2005-11-02 Patrick Lam <plam@mit.edu>
518 * src/fcfreetype.c (FcFreetypeQuery):
519 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
520 FcPatternTransferFullFname):
522 Fix warnings and embarrassing double-free error.
524 2005-11-02 Zhe Su <zsu@novell.com>
529 Change the rule for artificial emboldening in fonts.conf.in. This
530 enables the support for artificial emboldening included in cairo.
532 2005-11-02 Patrick Lam <plam@mit.edu>
533 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
535 Don't zero out full names for FC_REF_CONSTANT fonts;
536 also, duplicate full names when transferring, and free
537 full names when freeing the associated font.
538 Reported by Jinghua Luo.
540 2005-11-02 Patrick Lam <plam@mit.edu>
541 * fc-cache/fc-cache.c (scanDirs):
542 * src/fcpat.c (FcValueListSerialize):
544 Revert the previous patch and commit the correct patch:
545 I forgot a canonicalization in FcValueListSerialize, so
546 that it would choke on already-serialized input files. Duh!
548 2005-11-02 Patrick Lam <plam@mit.edu>
549 * fc-cache/fc-cache.c (scanDirs):
551 Forcibly rescan a directory before writing a fresh local
552 cache file for that directory, fixing the losing-fonts
553 problem reported by Mike Fabian and also apparently the
554 font cache file corruption.
556 2005-11-02 Patrick Lam <plam@mit.edu>
557 * src/fccache.c (FcGlobalCacheLoad):
559 Fix thinko: actually, the whole global cache is stale
560 if the global cache is older than the (newest) config file.
562 2005-11-02 Patrick Lam <plam@mit.edu>
563 * src/fccache.c (FcGlobalCacheLoad):
564 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
567 Declare the global cache of a directory's contents to be stale if
568 the directory is newer than the (newest) configuration file.
570 2005-10-31 Patrick Lam <plam@mit.edu>
572 * src/fclist.c (FcListAppend):
573 * src/fcmatch.c (FcFontRenderPrepare):
574 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
575 FcPatternFreeze, FcPatternBaseFreeze):
577 Copy the full pathname whenever duplicating an FcPattern; otherwise,
578 applications continue breaking.
580 2005-10-31 Patrick Lam <plam@mit.edu>
581 * fc-cat/fc-cat.c (FcCacheFileRead, main):
582 * src/fcfreetype.c (FcFreeTypeQuery):
584 Fix small memory error (tried to free argv); use basename and
585 dirname correctly (they can modify their arguments).
587 2005-10-31 Patrick Lam <plam@mit.edu>
595 Reinstate basename patch, but keep a hash table linking FcPatterns
596 to their fully-qualified font names for clients' benefit. Clients
597 only pay for the font names once they request the FC_FILE property
598 from an FcPattern, but the font name is malloc'd at that point (i.e.
599 not mmapped: that's impossible, since it may vary between machines.)
600 Clients do have to pay for a copy of the path name per cache file.
602 Note that FcPatternGetString now does some rewriting if you ask
603 for an FC_FILE, appending the pathname as appropriate.
605 2005-10-31 Patrick Lam <plam@mit.edu>
606 * src/fcfreetype.c (FcFreeTypeQuery):
608 Revert basename patch, which breaks fontconfig clients on my system.
610 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
613 * fontconfig/fonts.conf.in:
614 * fontconfig/fontconfig.h:
618 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
619 to load embedded bitmaps or not.
621 2005-10-25 Patrick Lam <plam@mit.edu>
622 * src/fcfreetype.c (FcFreeTypeQuery):
624 Only add basename to patterns' FC_FILE element, not any part of
627 2005-10-22 Patrick Lam <plam@mit.edu>
630 Add some more consts, fixing more GCC4 warnings.
632 2005-10-22 Zhe Su <zsu@novell.com>
635 Support localized font family and style names.
636 This has been reported to break old apps like xfd, but modern
637 (gtk+/qt/mozilla) apps work fine.
639 2005-10-21 Patrick Lam <plam@mit.edu>
640 * src/fccache.c (FcGlobalCacheLoad):
642 Destroy the global cache file if it's terminally broken. (reported by
645 2005-10-21 Patrick Lam <plam@mit.edu>
646 * fc-list/fc-list.c (main):
647 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
648 * fontconfig/fontconfig.h:
650 Prevent fc-list from escaping strings when printing them (reported by
653 2005-10-20 Marcus Meissner <meissner@suse.de>
656 * fontconfig/fontconfig.h:
658 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
660 2005-10-14 Ross Burton <ross@burtonini.com>
663 * fc-glyphname/fc-glyphname.c:
666 Add consts to variables so as to move arrays into .rodata.
668 2005-10-14 Mike Fabian <mfabian@suse.de>
671 * src/fccache.c (FcDirCacheUnlink):
673 Check existence of directory cache file before attempting to unlink.
675 2005-10-13 Patrick Lam <plam@mit.edu>
676 * src/fccache.c (FcDirCacheUnlink):
678 Fix flipped return value on unlink. (Reported by Mike Fabian)
680 2005-10-12 Patrick Lam <plam@mit.edu>
683 * src/fcdir.c (FcDirScanConfig):
686 When fc-cache is run without --force, use directory cache files
687 to speed up fc-cache run time. (Reported by Mike Fabian)
689 2005-10-06 Patrick Lam <plam@mit.edu>
691 * src/fcname.c (FcObjectToPtr):
692 * src/fcpat.c (FcStrStaticName):
694 Add padding to make valgrind and glibc not hate each other
695 when calling strlen().
697 2005-10-05 Simos Xenitellis <simos74@gmx.net>
698 reviewed by: plam & keithp
702 Modify config file to use Greek fonts before Asian fonts with
705 2005-10-05 Christian Biesinger <cbiesinger@web.de>
706 reviewed by: plam & keithp
710 Use libtool -no-undefined flag on all platforms.
712 2005-10-05 Patrick Lam <plam@mit.edu>
713 * src/fccache.c (FcCacheHaveBank):
715 Implement move-to-front array for banks (perf regression
716 reported by Ronny V. Vindenes).
718 2005-10-04 Patrick Lam <plam@mit.edu>
719 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
720 FcDirCacheHasCurrentArch):
721 * fc-cache/fc-cache.c (scanDirs):
722 * fontconfig/fontconfig.h:
724 Add new API which unlinks directory caches and checks dir caches
725 for existence of appropriate sections. Fix fc-cache to unlink
726 stale cache files and save directory caches that lack relevant
729 2005-10-03 Patrick Lam <plam@mit.edu>
730 * src/fccache.c (FcDirCacheValid):
732 Ensure that a directory cache has the appropriate section
733 before reporting that it is valid (reported by Matthias Clasen).
735 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
743 Use libxml2 if requested (with --enable-libxml2) or if
744 expat is not available.
746 2005-09-29 Patrick Lam <plam@mit.edu>
747 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
749 Fix multi-arch cache files: compute the position for the
750 block to be added using info from OrigFile, not NewFile.
752 2005-09-28 Patrick Lam <plam@mit.edu>
753 * src/fccache.c (FcCacheMachineSignature):
755 Cast results of sizeof() to unsigned int to get rid of
756 warnings on x86_64 (thanks Matthias Clasen).
758 2005-09-27 Patrick Lam <plam@mit.edu>
759 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
762 Use FcAtomic to rewrite cache files.
764 2005-09-27 Patrick Lam <plam@mit.edu>
766 * src/fccache.c (FcDirCacheWrite):
768 Don't unlink the fonts.cache-2 file even if there's no data
769 to write; just write an empty cache file. (thanks Lubos Lunak)
771 2005-09-27 Patrick Lam <plam@mit.edu>
773 * src/fccache.c (FcDirCacheWrite):
775 Allocate room for the subdirectory names in each
776 directory cache. Thanks to James Cloos for finding
777 and diagnosing this bug!
779 2005-09-22 Patrick Lam <plam@mit.edu>
781 * fc-cache/fc-cache.sgml:
782 * src/fccache.c (FcDirCacheWrite):
783 * src/fccache.h (struct FcCache):
785 Update documentation -- fc-cache's man page now says that you
786 need to run fc-cache once per cached architecture; add some
787 documentation to the FcCache structure.
789 Make fc-cache write out fonts.cache-2 files for directories with
790 no fonts (i.e. only subdirectories).
792 2005-09-22 Patrick Lam <plam@mit.edu>
794 * fc-cache/fc-cache.sgml:
796 * fc-glyphname/fc-glyphname.c:
802 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
807 * fontconfig/fcprivate.h:
808 * fontconfig/fontconfig.h:
822 Implement new mmaped cache for font information.
823 Bump so revision to 2.3.90.
825 2005-07-25 Keith Packard <keithp@keithp.com>
827 * doc/fontconfig-user.sgml:
828 * fc-glyphname/fc-glyphname.c: (scan), (main):
829 * fc-lang/fc-lang.c: (FcConfigHome):
830 * fc-match/fc-match.c: (main):
831 * src/fccfg.c: (FcConfigHome):
832 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
833 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
834 (addtag), (FcFontCapabilities):
835 * src/fcpat.c: (FcValueListEntCreate):
836 * src/fcstr.c: (FcStrCaseWalkerInit):
837 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
839 Various GCC 4 cleanups for signed vs unsigned char
841 Match only [0-9]*.conf files in <include>{directory}</include>
842 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
844 2005-07-15 Carl Worth <cworth@cworth.org>
847 * src/fcinit.c: (FcFini):
848 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
851 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
852 Pull the FcObjectStateName hash table out to file scope, and add
853 FcObjectStaticNameFini so that FcFini will cleanup this hash table
856 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
859 2005-06-16 Patrick Lam <plam@MIT.EDU>
863 * src/fccfg.c: (FcConfigCompareValue):
864 Make FcOpNotContains use FcStrStr for strings so that
865 it matches semantics for !FcOpContains.
867 2005-05-20 Keith Packard <keithp@keithp.com>
871 Move fontconfig source package to libs as per override
873 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
875 reviewed by: Mike Fabian
878 The ka.orth file requires several characters which are not
879 used anymore in modern Georgian and which are missing in the free
880 Georgian TrueType fonts downloadable at:
882 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
884 2005-04-27 Keith Packard <keithp@keithp.com>
888 Update date to real 2.3.2 release date.
889 Fix change attributions
891 2005-04-27 Keith Packard <keithp@keithp.com>
894 Bump so revision for 2.3.2
895 * fc-cache/fc-cache.c: (scanDirs):
896 Fix a few minor leaks in error cases.
898 2005-04-23 Keith Packard <keithp@keithp.com>
903 * fontconfig/fontconfig.h:
904 Update for version 2.3.2
906 2005-04-21 Keith Packard <keithp@keithp.com>
908 * debian/fontconfig.postinst:
909 Don't force bitmap font enable in default
910 configuration; allows users to override this in
920 * debian/po/pt_BR.po:
921 * debian/po/templates.pot:
923 * debian/po/zh_CN.po:
926 * fc-cache/fc-cache.c: (main):
927 Destroy font configuration on exit to help valgrind
930 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
931 (FcFreeTypeCheckGlyph):
932 Use own transcoding routines in preference to iconv
933 which appears to have leaks in some translators.
934 Call iconv_close after using iconv (oops).
936 Prefer unicode encoding of Euro char as some
937 fonts mis-encode Euro in other ones.
939 Must fetch bitmap glyphs to get width values
940 to check for monospace/dual-width fonts.
942 2005-04-13 Ross Burton <ross@burtonini.com>
945 Check that a pattern isn't already frozen in FcPatternFreeze.
947 2005-03-31 Ross Burton <ross@burtonini.com>
952 Run all FcPattern objects through FcObjectStaticName, so that
953 compares can be done on pointers instead of strings (#2659)
955 2005-03-17 Tor Lillqvist <tml@novell.com>
957 * src/fontconfig.def.in: Add the .dll to the dll name.
959 2005-03-10 Keith Packard <keithp@keithp.com>
961 * debian/README.Debian:
962 Update to reflect configuration changes
964 * debian/fontconfig.postinst:
965 Fix Autohint vs Autohinter mistake
966 * debian/fontconfig.templates:
967 Adopt changes from Josselin Mouette for configuration descriptions
968 Update debian to version 2.3.1-2
970 2005-03-08 Keith Packard <keithp@keithp.com>
974 Update debian for 2.3.1
976 2005-03-09 Tor Lillqvist <tml@novell.com>
978 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
981 * src/fccfg.c (FcConfigFileExists): Check also drive letter
984 2005-03-08 Keith Packard <keithp@keithp.com>
988 * fontconfig/fontconfig.h:
991 2005-03-05 Keith Packard <keithp@keithp.com>
993 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
994 Include space and remove numbers from valid script tags.
995 This ensures that tags like 'lao ' work while rejecting
996 those which have any digits.
997 Eliminate a spurious debugging variable (len)
999 2005-03-05 Keith Packard <keithp@keithp.com>
1001 * src/fcfreetype.c: (addtag), (GetScriptTags),
1002 (FcFontCapabilities):
1003 Rework GSUB/GPOS script parsing to survive broken fonts.
1004 Thanks for the broken font go to Manish Singh
1006 2005-03-05 Keith Packard <keithp@keithp.com>
1011 * debian/fontconfig.config:
1012 * debian/fontconfig.templates:
1014 Include 2.3 release information in changelog
1015 Add Josselin Mouette as an Uploader
1016 Set hinting_type to low priority configuration option
1019 * debian/fontconfig.postinst:
1020 yes_bitmaps.conf -> yes-bitmaps.conf
1026 2005-03-02 Keith Packard <keithp@keithp.com>
1029 * conf.d/Makefile.am:
1030 * conf.d/autohint.conf:
1031 * conf.d/no-sub-pixel.conf:
1032 * conf.d/sub-pixel.conf:
1033 * conf.d/unhinted.conf:
1034 * debian/autohint.conf:
1035 * debian/fontconfig.install:
1036 * debian/fontconfig.postinst:
1037 * debian/fontconfig.templates:
1038 * debian/no-sub-pixel.conf:
1039 * debian/unhinted.conf:
1040 Move debian-specific conf file examples upstream.
1042 Sub-pixel configuration examples must smash subpixel value
1043 as Xft always sets it from X.
1045 Change sub-pixel rendering debconf descriptions from
1046 Enable/Disable to Always/Never.
1048 2005-03-02 Keith Packard <keithp@keithp.com>
1051 * conf.d/.cvsignore:
1053 Ignore more build detritus
1056 Add debian package construction stuff.
1058 * config/config.guess:
1059 * config/config.sub:
1060 Update to newer versions of these tools
1063 Get library manuals to build again (we love automake).
1065 * debian/README.Debian:
1066 * debian/autohint.conf:
1071 * debian/fontconfig-udeb.install:
1072 * debian/fontconfig.config:
1073 * debian/fontconfig.defoma:
1074 * debian/fontconfig.dirs:
1075 * debian/fontconfig.install:
1076 * debian/fontconfig.postinst:
1077 * debian/fontconfig.postrm:
1078 * debian/fontconfig.templates:
1079 * debian/libfontconfig1-dev.install:
1080 * debian/libfontconfig1.install:
1081 * debian/local.conf.md5sum:
1082 * debian/no-sub-pixel.conf:
1083 * debian/po/POTFILES.in:
1092 * debian/po/pt_BR.po:
1093 * debian/po/templates.pot:
1095 * debian/po/zh_CN.po:
1097 * debian/unhinted.conf:
1098 Update debian build system to switch maintainers and
1099 deal with 2.3 functionality
1101 2005-03-01 Keith Packard <keithp@keithp.com>
1105 * fontconfig/fontconfig.h:
1108 2005-03-01 Keith Packard <keithp@keithp.com>
1111 Generate and install PDF versions of the manuals
1113 * doc/fcpattern.fncs:
1116 * doc/fcstring.fncs:
1117 Add missing exported functions, fix data types
1119 * doc/fontconfig-devel.sgml:
1120 Add missing pattern elements.
1122 * doc/fontconfig-user.sgml:
1123 Add missing pattern elements. Document conf.d usage,
1124 clarify available orthography list. Fix some config file
1125 attributes. Complete list of constants.
1127 * fontconfig/fontconfig.h:
1128 Mark FC_SOURCE deprecated.
1130 * src/fcfreetype.c: (FcFreeTypeQuery):
1131 Don't set FC_SOURCE any longer.
1133 2005-02-28 Keith Packard <keithp@keithp.com>
1136 * conf.d/Makefile.am:
1138 * conf.d/no-bitmaps.conf:
1139 * conf.d/sub-pixel.conf:
1140 * conf.d/yes-bitmaps.conf:
1142 Create prototype /etc/fonts/conf.d directory with a few
1143 sample configuration files.
1144 Deprecate use of local.conf for local customizations in favor of
1145 this directory based scheme which is more easily integrated into
1146 installation systems.
1149 Tag FC_EMBOLDEN as a boolean variable
1151 2005-02-10 Keith Packard <keithp@keithp.com>
1153 reviewed by: pborelli@katamail.com
1155 * src/fcdir.c: (FcFileScanConfig):
1156 Free patterns from fonts which are rejected by configuration
1159 2005-01-28 Keith Packard <keithp@keithp.com>
1163 * fontconfig/fontconfig.h:
1164 Update for version 2.2.99
1166 2005-01-28 Keith Packard <keithp@keithp.com>
1169 Add a few pointers (#2284, #2285)
1171 2005-01-28 Keith Packard <keithp@keithp.com>
1174 * src/fcname.c: (FcNameBool):
1175 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1176 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1177 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1178 Polite typechecking for test and edit expressions. Helps
1179 catch errors in the font configuration. (bug 229)
1181 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1183 reviewed by: Keith Packard <keithp@keithp.com>
1186 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1188 2005-01-13 Keith Packard <keithp@keithp.com>
1190 * doc/fontconfig-user.sgml:
1191 Add SEE ALSO section (bug 2085)
1193 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1195 reviewed by: Keith Packard <keithp@keithp.com>
1200 * fc-case/Makefile.am:
1201 * fc-glyphname/Makefile.am:
1202 * fc-lang/Makefile.am:
1203 * src/fontconfig.def.in:
1204 Cross compiling fixes (bug 280)
1206 2005-01-13 Keith Packard <keithp@keithp.com>
1209 Update blanks list (Closes bug 86)
1211 2005-01-04 Keith Packard <keithp@keithp.com>
1213 * src/fccache.c: (FcCacheFontSetAdd):
1214 Verify that every font pattern loaded from cache has
1215 both FC_FILE and FC_FAMILY entries.
1216 Attempt to fix bug #2219.
1218 2004-12-29 Keith Packard <keithp@keithp.com>
1222 * fontconfig/fontconfig.h:
1223 Update for version 2.2.98
1225 2004-12-29 Keith Packard <keithp@keithp.com>
1227 * fontconfig/fontconfig.h:
1228 Document ASCII limitations of Fc character conversion macros
1229 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1230 Fix off-by-one error in utf-8 case walking code.
1231 Add FcStrDowncase (useful for testing case conversion functions)
1233 2004-12-29 Keith Packard <keithp@keithp.com>
1236 * fc-case/.cvsignore:
1237 clean up CVS ignore lists
1238 * fc-lang/iso-3166.txt:
1239 Add territory database
1241 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1243 Reviewed by: Keith Packard
1246 Remove Han characters from Korean orthography
1248 2004-12-29 Keith Packard <keithp@keithp.com>
1251 Reorder utility programs to make sure fc-case is run before fc-lang
1252 as fc-lang uses fcstr.c which uses fccase.h
1256 2004-12-29 Keith Packard <keithp@keithp.com>
1259 Adopt some RedHat suggestions for standard font configuration.
1263 * fc-case/CaseFolding.txt:
1264 * fc-case/Makefile.am:
1265 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1266 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1267 (dump), (parseRaw), (caseFoldReadRaw), (main):
1268 * fc-case/fccase.tmpl.h:
1269 Add new helper program 'fc-case' to construct case folding
1270 tables from standard Unicode CaseFolding.txt file
1273 * src/fclist.c: (FcListValueHash):
1274 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1275 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1276 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1277 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1278 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1279 Re-implement case insensitive functions with Unicode
1280 aware versions (including full case folding mappings)
1282 2004-12-13 Keith Packard <keithp@keithp.com>
1284 reviewed by: Owen Taylor <otaylor@redhat.com>
1286 * src/fcmatch.c: (FcFontSetSort):
1287 I changed FcFontSetSort to respect the generic aliases better
1288 in the face of language matching.
1290 What I did was to ammend the strict sort order used by FcFontSort so
1291 that it 'satisfies' the language specified in the pattern by locating
1292 the best matching font supporting each pattern language and then
1293 ignores language in the remaining fonts for purposes of matching.
1295 So, when asking for 'sans:lang=en', you'll get an English font first,
1296 and then the remaining fonts sorted with respect to the 'sans' alias
1297 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1299 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1301 reviewed by: Keith Packard <keithp@keithp.com>
1303 * fontconfig/fontconfig.h:
1306 Configuration changes to request synthetic emboldening of
1307 fonts. The actual emboldening code will live in Xft.
1309 2004-12-09 John Thacker <thacker@math.cornell.edu>
1311 reviewed by: Keith Packard <keithp@keithp.com>
1315 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1316 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1317 и), and don't even appear in KOI8-R. (The hypothesis that they
1318 don't appear in KOI8-R due to their similarity with Latin I and i is
1319 eliminated by their presence in KOI8-U.) I have a couple of fonts
1320 with Russian support that don't have the letter.
1322 Therefore, 0406 and 0456 should be removed from or commented out of
1325 2004-12-06 michael meeks <mmeeks@novell.com>
1327 Reviewed by: Keith Packard <keithp@keithp.com>
1329 * src/fcinit.c: (FcMemReport):
1331 * src/fclist.c: (FcObjectSetAdd):
1332 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1333 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1334 * src/fcxml.c: (FcParsePatelt):
1335 memoize strings and share a single copy for all uses. Note that
1336 this could be improved further by using statically allocated blocks
1337 and gluing multiple strings together, but I'm basically lazy.
1338 In my environment with 800 font files, I get a savings of about 90KB.
1340 2004-12-06 Keith Packard <keithp@keithp.com>
1344 * config/Makedefs.in:
1347 * doc/fcatomic.fncs:
1348 * doc/fcblanks.fncs:
1349 * doc/fccharset.fncs:
1350 * doc/fcconfig.fncs:
1351 * doc/fcconstant.fncs:
1353 * doc/fcfontset.fncs:
1354 * doc/fcfreetype.fncs:
1356 * doc/fcmatrix.fncs:
1357 * doc/fcobjectset.fncs:
1358 * doc/fcobjecttype.fncs:
1359 * doc/fcpattern.fncs:
1360 * doc/fcstring.fncs:
1361 * doc/fcstrset.fncs:
1363 * doc/fontconfig-devel.sgml:
1364 * doc/fontconfig-user.sgml:
1366 * doc/version.sgml.in:
1367 * fc-cache/Makefile.am:
1368 * fc-cache/fc-cache.c:
1369 * fc-glyphname/Makefile.am:
1370 * fc-glyphname/fc-glyphname.c:
1371 * fc-glyphname/fcglyphname.tmpl.h:
1372 * fc-lang/Makefile.am:
1382 * fc-lang/az_ir.orth:
1416 * fc-lang/fc-lang.c:
1417 * fc-lang/fc-lang.man:
1418 * fc-lang/fclang.tmpl.h:
1463 * fc-lang/ku_ir.orth:
1496 * fc-lang/ps_af.orth:
1497 * fc-lang/ps_pk.orth:
1526 * fc-lang/ti_er.orth:
1527 * fc-lang/ti_et.orth:
1553 * fc-lang/zh_cn.orth:
1554 * fc-lang/zh_hk.orth:
1555 * fc-lang/zh_mo.orth:
1556 * fc-lang/zh_sg.orth:
1557 * fc-lang/zh_tw.orth:
1559 * fc-list/Makefile.am:
1560 * fc-list/fc-list.c:
1561 * fc-match/Makefile.am:
1562 * fc-match/fc-match.1:
1563 * fc-match/fc-match.c:
1564 * fontconfig/fcfreetype.h:
1565 * fontconfig/fcprivate.h:
1566 * fontconfig/fontconfig.h:
1587 Change files from ISO-Latin-1 to UTF-8
1589 2004-12-04 Keith Packard <keithp@keithp.com>
1592 Update links to new freedesktop.org locations
1594 Add uninstall-local to get rid of fonts.conf and local.conf if they
1595 match the distributed versions. Fixes 'make distcheck'
1597 2004-12-04 Keith Packard <keithp@keithp.com>
1601 * fontconfig/fontconfig.h:
1602 Updates for version 2.2.97
1604 2004-12-04 Owen Taylor <otaylor@redhat.com>
1606 reviewed by: Keith Packard <keithp@keithp.com>
1608 * fc-cache/fc-cache.c: (main):
1609 Sleep for two seconds before exiting to make sure timestamps
1610 for future changes have distinct mod times in the file system.
1613 Add Punjabi orthography. Bug #1671.
1615 2004-12-04 Keith Packard <keithp@keithp.com>
1618 Just remove the FC_FONTDATE -- it has locale issues and
1619 annoys redhat multi-arch installs. Now that all X fonts are
1620 included without prejudice, the chances of the date being at
1621 all interesting are rather limited. Bug #505.
1623 Add copyright and license
1625 2004-12-04 Keith Packard <keithp@keithp.com>
1628 Change default set of fonts to include all of
1629 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1630 * doc/fontconfig-user.sgml:
1631 Document new <include>directory-name</include> semantics
1633 add <include ignore_missing="yes">conf.d</include>
1635 Add selectfont to ignore bitmap fonts, add comment for
1636 selectfont which accepts bitmap fonts.
1639 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1640 Allow <include> configuration elements to reference directories.
1641 Parse and load all files of the form [0-9]* in sorted order.
1643 2004-12-04 Keith Packard <keithp@keithp.com>
1646 Report command line for $srcdir/configure accurately.
1649 2004-12-04 Keith Packard <keithp@keithp.com>
1651 * src/fcfreetype.c: (FcFreeTypeQuery):
1652 Check for non-empty face->family_name and face->style_name
1653 before using those for the font. Empty names match everything.
1656 2004-12-04 Keith Packard <keithp@keithp.com>
1659 * fontconfig/fontconfig.h:
1660 * src/fcfreetype.c: (FcFreeTypeQuery):
1662 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1663 available. This provides font file format information (BDF, Type 1,
1664 PCF, TrueType) for each font. Closes #109.
1666 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1668 reviewed by: Keith Packard <keithp@keithp.com>
1670 * doc/fontconfig-user.sgml:
1673 * fontconfig/fontconfig.h:
1674 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1675 (GetScriptTags), (FcFontCapabilities):
1677 Add detection for font capabilities (bug #105)
1679 2004-12-04 Keith Packard <keithp@keithp.com>
1682 Move existing fonts.conf to fonts.conf.bak
1685 Add detection of iconv
1687 * doc/fcpattern.fncs:
1688 * doc/fontconfig-devel.sgml:
1689 * doc/fontconfig-user.sgml:
1691 Document new selectfont elements
1694 Switch to UTF-8 in comment
1696 * fontconfig/fontconfig.h:
1698 Add fullname, and family/style/fullname language entries
1700 * src/fccache.c: (FcCacheFontSetAdd):
1701 * src/fcdir.c: (FcFileScanConfig):
1702 Respect selectfont/*/glob
1705 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1706 (FcConfigCompareValue), (FcConfigPatternsAdd),
1707 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1708 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1709 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1710 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1711 Add support for selectfont
1713 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1714 (FcStringInPatternElement), (FcFreeTypeQuery):
1715 Add multi-lingual family/style/fullname support
1717 * src/fclist.c: (FcListPatternMatchAny):
1718 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1720 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1721 (FcObjectStaticName):
1722 Add new FcPatternRemove/FcPatternAppend.
1723 FcObjectStaticName stores computed pattern element names which
1724 are required to be static.
1726 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1731 Remove spurious / after $(DESTDIR)
1733 2004-06-30 Keith Packard <keithp@keithp.com>
1737 * fontconfig/fontconfig.h:
1740 2004-06-30 Keith Packard <keithp@keithp.com>
1742 Provided by: Lubos Lunak <l.lunak@suse.cz>
1744 * src/fccfg.c: (FcConfigUptoDate):
1745 However FcConfigUptoDate() doesn't seem to work. See the attached
1746 patch. First there's an obvious misplaced parenthesis making it
1747 return always false, and second, even this call fails to detect font
1748 changes (e.g. adding a new font to
1749 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1750 well. The problem seems to be triggered by my fonts.conf specifying
1751 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1752 doesn't include subdirs, unlike config->fontDirs.
1754 2004-06-03 Keith Packard <keithp@keithp.com>
1756 * fontconfig/fontconfig.h:
1757 Remove comma at end of FcResult enum definition.
1759 2004-05-29 Keith Packard <keithp@keithp.com>
1762 Add steps to md5sum release
1764 2004-05-29 Keith Packard <keithp@keithp.com>
1768 * fontconfig/fontconfig.h:
1771 2004-05-29 Keith Packard <keithp@keithp.com>
1773 * fontconfig/fontconfig.h:
1774 * src/fcmatch.c: (FcFontSetMatch):
1775 Add FcResultOutOfMemory to provide an accurate error when
1776 FcFontSetMatch fails in this way
1779 Make #warning about lacking various FreeType features indicate
1780 which version those features appeared so users know how to
1781 fix the problem (Thanks to Anton Tropashko)
1783 2004-05-05 Keith Packard <keithp@keithp.com>
1785 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1786 Replace MIN/MAX/ABS macros which happen to have come
1787 from FreeType with fontconfig-specific ones (FC_*)
1789 2004-04-23 Keith Packard <keithp@keithp.com>
1792 Extend release preparation instructions to include
1793 notification and distribution steps
1795 2004-04-23 Keith Packard <keithp@keithp.com>
1799 * fontconfig/fontconfig.h:
1800 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1802 2004-04-23 Keith Packard <keithp@keithp.com>
1805 Ignore a few more autotool files
1807 2004-04-14 Keith Packard <keithp@keithp.com>
1810 Add instructions for doing a release
1812 * fontconfig.spec.in:
1813 clean up .spec file; perhaps this will be useful to somebody...
1817 * fontconfig/fontconfig.h:
1820 * fc-lang/fc-lang.c:
1821 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1823 * fc-glyphname/Makefile.am:
1824 * fc-lang/Makefile.am:
1825 * fc-list/Makefile.am:
1826 * fc-match/Makefile.am:
1828 Add WARN_CFLAGS to pass -W flags for GCC systems
1830 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1831 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1832 Change various char types around to match across
1834 Fixed bug in using available_sizes[i].height which
1835 is in pixels, not 64ths of a pixel.
1837 2004-03-06 Keith Packard <keithp@keithp.com>
1839 * src/fcfreetype.c: (FcFreeTypeQuery):
1840 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1841 matches looking for explicit values prefer exact matches
1843 2004-03-02 Keith Packard <keithp@keithp.com>
1845 Supplied by: mfabian@suse.de (Mike FABIAN)
1847 * src/fcfreetype.c: (FcFreeTypeQuery):
1848 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1849 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1851 2004-02-21 Manish Singh <yosh@gimp.org>
1853 * fc-glyphname/fc-glyphname.c: (main):
1854 Cast strlen to int for printf, so we're 64-bit clean.
1856 2004-02-11 Keith Packard <keithp@keithp.com>
1859 * src/fcfreetype.c: (FcGetPixelSize):
1860 Ok, so I messed up the test for y_ppem. Let's see if I
1861 got it right this time.
1863 2004-02-10 Keith Packard <keithp@keithp.com>
1866 * src/fcfreetype.c: (FcGetPixelSize):
1867 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1868 FT_Bitmap_Size record. Add a configure.in test for this
1869 and change the code accordingly (using height instead).
1871 2004-02-06 Keith Packard <keithp@keithp.com>
1874 Add Low Saxon orthography
1875 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1877 * src/fccfg.c: (FcConfigNewestFile):
1878 Oops. Left 'newest.set' unset, which would miscompute
1881 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1882 (FcFreeTypeCheckGlyph):
1883 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1884 font properties (which report the wrong value in current FreeType)
1886 Don't attempt to check for empty glyphs in non-scalable fonts; they
1889 2004-02-01 Tor Lillqvist <tml@iki.fi>
1891 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1892 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1893 cache if config->cache is NULL, which happens if FcConfigHome() is
1894 NULL. Guard against that by using the temp folder in that case.
1896 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1898 * fc-lang/az_ir.orth:
1899 * fc-lang/ku_ir.orth:
1900 * fc-lang/ps_af.orth:
1901 * fc-lang/ps_pk.orth:
1902 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1903 (Afghan and Pakistani).
1905 Updated Urdu orthography with real data.
1907 2003-12-11 Carl Worth <cworth@east.isi.edu>
1909 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1912 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1914 (all-local): Remove excessive whitespace.
1916 * autogen.sh: Add 'set -e' to abort when any program fails,
1917 (avoids printing of 'now type make' after configure aborts).
1919 2003-11-17 Eric Christopherson <rakko@charter.net>
1921 reviewed by: Keith Packard <keithp@keithp.com>
1924 * fontconfig/fcfreetype.h:
1926 Switch to FreeType 2.1.7 style includes. Bug #150.
1928 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1930 * fc-list/fc-list.sgml: Add some example usages.
1932 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1935 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1938 2003-10-27 Keith Packard <keith@keithp.com>
1941 * fontconfig/fontconfig.h:
1942 Update to version 2.2.92
1944 2003-10-27 Keith Packard <keithp@keithp.com>
1949 * fc-cache/Makefile.am:
1950 * fc-glyphname/Makefile.am:
1951 * fc-lang/Makefile.am:
1952 * fc-list/Makefile.am:
1953 * fc-match/Makefile.am:
1956 Yet more cleanups to finish getting 'make distcheck' working
1957 This has been tested to ensure that it even works from a _build
1960 2003-10-26 Keith Packard <keithp@keithp.com>
1964 * fc-cache/Makefile.am:
1965 * fc-glyphname/Makefile.am:
1966 * fc-lang/Makefile.am:
1967 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1968 * fc-list/Makefile.am:
1969 * fc-match/Makefile.am:
1970 Attempts to fix 'make distcheck' work. Things are
1971 progressing pretty well, but there are still failures
1972 long into the process dealing with docs (as always).
1974 The big changes here are mostly to make $(srcdir) != "."
1975 work correctly, fixing the docbook related sections and
1976 fc-lang were particularily tricky. Docbook refuses to load
1977 system entities from anywhere other than where the original .sgml
1978 file was located, so no luck looking in "." for the
1979 configure-generated version.sgml and confdir.sgml files.
1981 fc-lang needed help finding .orth files; added a -d option
1982 to set the directory as the least evil of many options.
1984 Now to go use a faster machine and try and wring out the last
1987 2003-10-26 Keith Packard <keithp@keithp.com>
1991 2003-10-26 Keith Packard <keithp@keithp.com>
1994 Include confdir.sgml.in in EXTRA_DIST
1996 2003-10-09 Josselin Mouette <joss@debian.org>
1998 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1999 * fc-list/fc-list.sgml fc-list/Makefile.am:
2000 Replace fc-cache and fc-list manpages with more detailed, SGML
2003 2003-09-23 Owen Taylor <otaylor@redhat.com>
2005 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
2006 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
2007 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
2010 2003-09-23 Owen Taylor <otaylor@redhat.com>
2012 * fc-lang/ka.orth: Remove Georgian capitals, they
2013 aren't used for normal writing. (Bug #116)
2015 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
2017 * doc/fontconfig-devel.sgml:
2018 * doc/fontconfig-user.sgml:
2019 * fontconfig/fontconfig.h:
2021 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
2022 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
2024 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
2025 monospace and dual-width fonts, allow roughly a 3% variance in the
2028 2003-08-31 Manish Singh <yosh@gimp.org>
2030 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
2033 2003-08-15 Carl Worth <cworth@isi.edu>
2035 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
2036 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
2038 * src/fcpat.c (FcValueListEntDestroy): New function to support
2039 FcFini memory cleanup. Some statistics are not kept in
2041 (FcValueListFreeze): Move hashTable outside this function so it
2042 can be accessed by FcValueListThawAll.
2043 (FcValueListThawAll): New function complements FcValueListFreeze.
2044 (FcPatternBaseFreeze): Move hashTable outside this function so it
2045 can be accessed by FcPatternBaseThawAll.
2046 (FcPatternBaseThawAll): New function complements
2047 FcPatternBaseFreeze.
2048 (FcPatternThawAll): New function complements FcPatternFreeze.
2050 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2052 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2053 allocated FcCharLeafEnt "blocks" so they can be freed later.
2054 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2055 can be accessed by FcCharSetThawAllLeaf.
2056 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2057 (FcCharSetFreezeBase): Move hashTable outside this function so it
2058 can be accessed by FcCharSetThawAll.
2059 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2061 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2062 (FcConfigDestroy): Fic leak of FcBlanks.
2064 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2065 (main): Add call to FcFini when finished.
2067 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2068 static. Add prototypes.
2070 * doc/fcinit.fncs: Add documentation for FcFini function.
2072 * doc/edit-sgml.c: Mark several local functions as static. Add
2075 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2077 2003-06-15 Tor Lillqvist <tml@iki.fi>
2079 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2080 before comparing (needed on Windows).
2082 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2084 2003-06-13 Tor Lillqvist <tml@iki.fi>
2086 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2089 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2090 WINDOWSFONTDIR token.
2092 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2093 end, not to confuse libtool, which expects the EXPORTS line to be
2094 the first. Add FcConfigEnableHome.
2096 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2097 built as a DLL on Win32.
2099 2003-06-09 Keith Packard <keithp@keithp.com>
2101 * Tag version 2.2.90
2103 2003-06-09 Keith Packard <keithp@keithp.com>
2105 * Optimization in FcLangSetIndex was broken, occasionally
2106 returning a pointer to the wrong location on miss
2108 * Add fc-match to test font matching from the command line.
2110 2003-05-31 Keith Packard <keithp@keithp.com>
2112 * (Bug 85) add support for culmus fonts
2113 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2114 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2116 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2118 * Fix "contains" op for strings and langsets.
2120 2003-05-17 Keith Packard <keithp@keithp.com>
2122 * Fix build error with BDF prop local. Free langset after query
2124 2003-05-14 Keith Packard <keithp@keithp.com>
2126 * Extract spacing from XLFD atom
2128 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2130 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2131 disappeared in 1.30.
2133 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2135 2003-05-12 Keith Packard <keithp@keithp.com>
2137 * Use FcIsWidth to share code
2139 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2140 misclassifying some Han fonts as monospaced.
2142 2003-05-07 Keith Packard <keithp@keithp.com>
2144 * Add filename-based accept/reject to ammend available fonts.
2146 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2147 older FreeType releases.
2149 2003-05-06 Keith Packard <keithp@keithp.com>
2151 * Remove 0b82 and Tamil numbers from tamil
2152 orthography (Jungshik Shin <jshin@mailaps.org>)
2154 2003-05-04 Keith Packard <keithp@keithp.com>
2156 + Map glyph names in fonts with adobe custom encoding to unicode
2158 2003-05-02 Keith Packard <keithp@keithp.com>
2160 * Add FC_WEIGHT_BOOK as weight 75
2162 2003-04-30 Keith Packard <keithp@keithp.com>
2164 * Typo in bitstream foundry name
2166 2003-04-24 Keith Packard <keithp@keithp.com>
2168 * Eliminate italic_angle check for PS fonts
2170 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2172 * Getting closer to fixing /etc/fonts hard-coding.
2174 2003-04-22 Keith Packard <keithp@keithp.com>
2176 * Update autogen.sh to work with newer automake versions
2177 * Handle pattern elements moving during multiple edits
2179 2003-04-23 James Henstridge <james@daa.com.au>
2181 * doc/fontconfig-devel.sgml: close the <para> element.
2183 * doc/fcpattern.fncs: close the <para> element.
2185 * doc/func.sgml: close the <refsynopsisdiv> element.
2187 2003-04-22 Keith Packard <keithp@keithp.com
2189 * Update autogen.sh to work with newer automake versions
2190 * Handle pattern elements moving during multiple edits
2192 2003-04-17 Colin Walters <walters@debian.org>
2194 + Remove some unused variables, and initialize some other ones so
2195 gcc doesn't warn us.
2197 2003-04-16 Keith Packard <keithp@keithp.com>
2199 + tag version 2.1.94
2201 2003-04-16 Keith Packard <keithp@keithp.com>
2203 + add BDF property fetching support for foundry
2204 (from Juliusz Chroboczek)
2205 + add BDF property fetching support for width
2207 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2209 + Implemented foundry generation for Type 1 and TrueType
2211 2003-04-11 Gerard Escalante <g2@magestudios.net>
2213 + Retrieve information from Type1 FontInfo dictionaries
2215 2003-04-07 Colin Walters <walters@verbum.org>
2217 + src/Makefile.am: Fix dummy makefile target names when
2218 MS_LIB_AVAILABLE isn't set.
2220 2003-03-22 Tor Lillqvist <tml@iki.fi>
2222 Changes for Windows:
2224 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2226 + We don't want to hardcode the fonts.conf file location in the
2227 DLL, so we look up the DLL location at run-time in a DllMain()
2228 function. The fonts.conf location is deduced from that.
2230 + The colon can't be used as path separator on Windows,
2231 semicolon is used instead. File path components can be separated
2232 with either slash or backslash. Absolute paths can also begin
2233 with a drive letter.
2235 + Add internal function FcStrLastSlash that strrchr's the last
2236 slash, or backslash on Windows.
2238 + There is no link() on Windows. For atomicity checks, mkdir a
2239 lock directory instead.
2241 + In addition to HOME, also look for USERPROFILE.
2243 + Recognize the special font directory token WINDOWSFONTDIR, to
2244 use the system's font directory.
2246 + Remove the fontconfig-def.cpp that was obsolete. Add
2247 fontconfig.def(.in), without internal functions.
2249 + Add a fontconfig-zip(.in) script, used to build a binary
2252 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2253 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2254 to main package and man3/* to devel package
2256 + Added missing defattr(-, root, root) to main RPM package
2258 + Added HTML and text development documentation to -devel subpackage
2260 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2261 + Added back the configure macro options --disable-docs, otherwise
2262 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2263 version number) unconditionally, causing RPM to fail the build due
2264 to _unpackaged_files_terminate_build. We pick up the pregenerated
2265 docs with %doc already.
2267 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2268 + Removed commented out rpm macro define at top of spec file,
2269 replacing it with a simple explanation, since rpm macros are
2270 expanded by rpm even in comments.
2272 + Changed /usr/bin to _bindir in BuildRequires lines
2274 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2276 + Reorganized file manifest lists
2278 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2280 + fontconfig.spec.in: Improvements from Red Hat spec file.
2282 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2284 + docs/*.sgml: SGML fixes.
2286 Sat Mar 1 17:28:53 PST 2003 keithp
2287 + Ok, so the ChangeLog is a bit out of date
2289 + Lots of bugs fixed; most are in bugzilla, the
2290 biggest problems were in cache management where
2291 Owen discovered the library would lose badly when
2292 combining fonts-cache and ~/.fonts-cache data
2294 + Converted from autoconf to automake. This after
2295 getting patches accepted into libtool to allow
2296 the '-version-number' argument which lets
2297 packages set version numbers explicitly rather
2298 than the roundabout libtool way
2300 + Converted documentation to SGML using the docbook
2301 DTD. Now .txt and .html documents are installed
2302 in /usr/share/doc/fontconfig and there's no
2303 man page. Perhaps a man version can be written
2306 Sat Aug 31 15:21:22 PDT 2002 keithp
2307 + Xrender and Xft had several bugs related to
2308 rendering manually placed or poly-face text
2310 + Added more complete memory tracing in fontconfig
2311 Checked with (patched) mozilla and found no leaks
2313 + Updated Latin orthographies by comparing those from
2314 evertype.com with those from eki.ee. Tried to make
2315 sensible choices, including chars that occured in both
2316 and leaving some optional chars out that occured only
2319 Mon Aug 26 16:33:04 PDT 2002 keithp
2320 + Owen discovered that FcLangSetHasLang wasn't actually
2321 checking the language set.
2323 Mon Aug 26 13:37:23 PDT 2002 keithp
2324 + Append a version number to cache filenames
2326 Thu Aug 22 11:36:18 PDT 2002 keithp
2328 + Add "contains" and "not_contains" operators and elements to
2331 + Changed semantics of eq operator for LangSets to check for
2332 FcLangEqual so that any match will do
2334 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2335 of FcValueEqual to check for identical values when inserting into
2336 the results. This broke when the above semantic change was made,
2337 now it uses FcValueEqual which is "more correct" in any case.
2339 Thu Aug 22 00:32:29 PDT 2002 keithp
2341 + Reimplement FC_LANG as new datatype. Lists of strings
2342 was consuming over a megabyte of memory for 401 fonts.
2344 + Freeze patterns loaded from cache files. This shares
2345 common value lists and common patterns which saves
2346 considerable memory.
2348 + Change the denotation of 'constant' charsets to use special
2349 ref value instead of separate boolean.
2351 + Clean up leak tracing stuff, found several unannoted alloc/free
2354 Tue Aug 20 16:17:37 PDT 2002 keithp
2356 + Fix memory leak when parsing matrices from XML
2358 Mon Aug 19 11:57:27 PDT 2002 keithp
2360 + Fix autoconf files to pass FONTCONFIG_PATH on
2361 compile line so that ${prefix} gets substituted
2364 + Use getc_unlocked/putc_unlocked on systems that
2365 provide them to avoid damage done to stdio by posix
2367 + Eliminate FC_PATTERN and FcTypePattern in favor of
2368 an extended api for FcConfigSubstitute which takes
2369 both the font and the pattern.
2371 + Add 'sans serif' alias for 'sans-serif' as some apps
2372 can't handle hyphens in family names
2374 + Eliminate pretense of support for libxml2
2376 + Comment origins of Han orthographies
2378 Tue Jul 30 18:37:09 PDT 2002 keithp
2380 + Add binding property to edit element so that strong
2381 binding values may be inserted by the config file.
2382 The default remains weak.
2384 Sun 28 Jul 04:16:55 PDT 2002 keithp
2386 + Tagged release candidate 1 in the CVS tree and
2387 placed fcpackage.rc1.tar.gz for distribution
2389 Thu Aug 1 08:55:08 PDT 2002 keithp
2391 + Fixed autoconf builds to always specify install
2392 target files (for BSD). Also fixed to
2393 define FONTCONFIG_PATH in config.h so that
2394 nonstandard installs will actually work.