1 2005-01-02 Patrick Lam <plam@mit.edu>
2 * doc/fontconfig-user.sgml:
4 Fix version of .cache file (currently 1 -> currently 2). Reported
7 2005-12-21 Jinghua Luo <sunmoon1997@gmail.com>
10 * src/fcpat.c (FcPatternAddFullFname, FcPatternFindFullFname):
12 Shut up GCC warnings on amd.
14 2005-12-20 Patrick Lam <plam@mit.edu>
18 * fontconfig/fontconfig.h:
20 Bump version to 2.3.93.
22 2005-12-20 Patrick Lam <plam@mit.edu>
23 * src/fccharset.c (FcLangCharSetPopulate):
24 * src/fcint.h (FcCacheBankToIndex):
26 Avoid check on _fcBankId nullness and fix case where it used to
29 2005-12-20 Patrick Lam <plam@mit.edu>
30 * src/fcxml.c (FcConfigParseAndLoad):
32 Use open instead of fopen (requested by Phil Race for Sun).
34 2005-12-20 Patrick Lam <plam@mit.edu>
35 * src/fccache.c (FcDirCacheWrite);
36 * fc-cache/Makefile.am:
38 Fix GCC4 warning and Makefile brokenness for /var/cache/fontconfig
41 2005-12-20 Patrick Lam <plam@mit.edu>
42 * src/fcfreetype.c (FcFreeTypeQuery):
44 Restore code to skip over PCF fonts that have no encoded
46 (We guess that a font is PCF by presence of the PIXEL_SIZE
49 2005-12-12 Patrick Lam <plam@mit.edu>
50 * src/fccache.c (FcDirCacheOpen, FcDirCacheWrite):
52 Read and write the original location as a fallback for the
53 hashed cache file locations. This is mostly for users to be
54 able to have per-directory cache files.
56 2005-12-12 Patrick Lam <plam@mit.edu>
57 * fc-cache/fc-cache.c (scanDirs):
58 * fc-cache/Makefile.am:
59 * src/fccache.c (FcDirCacheHashName):
61 Improve error message when fc-cache can't write the cache. Add
62 missing slash. Reported by Behdad. Incorporate Behdad's patch to
63 create /var/cache/fontconfig when appropriate.
65 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
68 * src/fcxml.c (FcConfigGetAttribute):
70 Fix crash reported by Frederic Crozat when using libxml2.
72 2005-12-09 Patrick Lam <plam@mit.edu>
75 * fc-cache/Makefile.am:
78 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
79 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
80 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
81 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
82 FcDirCacheHasCurrentArch, FcDirCacheHashName,
83 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
85 Migrate cache files from fonts directories to
86 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
87 but requires that all caches get rebuilt.
89 Also, autogen.sh now needs the additional parameter
92 2005-12-07 Patrick Lam <plam@mit.edu>
93 * src/fcpat.c (FcPatternAddString):
95 Because we've changed FcPatternAddString to use FcStrStaticName
96 and not FcValueSave, explicitly handle the case of a null string.
98 2005-12-06 Patrick Lam <plam@mit.edu>
99 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
103 2005-12-05 Patrick Lam <plam@mit.edu>
104 * src/fcname.c (FcNameGetObjectType):
106 Don't assign types to user object names.
108 2005-12-05 Patrick Lam <plam@mit.edu>
109 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
111 Don't free strings that have been returned from FcStrStaticName.
113 2005-12-01 Patrick Lam <plam@mit.edu>
114 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
116 Add codepath for reading global cache files as well.
118 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
121 * conf.d/10-fonts.persian.conf:
122 * conf.d/Makefile.am:
124 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
126 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
129 * src/fcxml.c (FcConfigParseAndLoad):
131 Only add a config file to the set of config files once.
133 2005-11-29 Patrick Lam <plam@mit.edu>
134 * src/fcint.h (FcCacheBankToIndex);
136 Fix segfault by guarding array dereference.
138 2005-11-29 Dirk Mueller <dmueller@suse.de>
142 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
143 FcCacheBankToIndex, FcCacheBankToIndexMTF,
147 Refactor FcCacheBankToIndex into an inlineable part
148 (in fcint.h) which checks the front of the list and a
149 non-inlineable part which finds and moves the appropriate element
150 to the front of the list.
152 2005-11-29 Patrick Lam <plam@mit.edu>
153 * src/fccfg.c (FcConfigBuildFonts):
154 * src/fccache.c (FcCacheReadDirs):
156 Make the perf guys hate me a bit less: hoist the directory-name
157 FcConfigAcceptFont check for cached fonts up to directory cache
158 read time, rather than running it for each font.
160 2005-11-29 Patrick Lam <plam@mit.edu>
161 * src/fccfg.c (FcConfigBuildFonts):
163 * src/fcpat.c (FcPatternFindFullFname):
165 Don't make FcPatternFindFullFname available to fccfg, it's not
166 really safe. Instead go through FcPatternGetString (sorry,
167 perf guys.) Also, use globs for dirs as well.
169 2005-11-28 Patrick Lam <plam@mit.edu>
170 * src/fccfg.c (FcConfigBuildFonts):
174 2005-11-28 Patrick Lam <plam@mit.edu>
176 * src/fcpat.c (FcPatternFindFullFname):
177 * src/fccfg.c (FcConfigBuildFonts):
179 Fix problem dating back at least to 2.3.2 where globs weren't
180 being applied to patterns loaded from a cache.
182 2005-11-28 Patrick Lam <plam@mit.edu>
183 * doc/fontconfig-user.sgml:
185 Fix some obvious spelling mistakes.
187 2005-11-28 Dirk Mueller <dmueller@suse.com>
188 Stephan Kulow <coolo@suse.de>
191 * src/fcmatch.c (FcFontSetMatch):
193 Don't kill all fonts during match (oops!)
196 2005-11-25 Dirk Mueller <dmueller@suse.com>
197 Stephan Kulow <coolo@suse.de>
198 Michael Matz <matz@suse.de>
201 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
204 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
205 inline FcCompare into FcFontSetMatch and reorder the
206 loops, adding a boolean array which blocks patterns from future
207 consideration if they're known to not be best on some past
210 2005-11-26 Dirk Mueller <dmueller@suse.com>
213 * src/fcmatch.c (FcCompareValueList):
217 2005-11-25 Patrick Lam <plam@mit.edu>
218 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
220 Don't do random matching when bad objects are passed into
223 2005-11-25 Patrick Lam <plam@mit.edu>
225 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
226 FcPatternSerialize, FcPatternUnserialize,
227 FcValueListEnsureBank, FcValueListDistributeBytes,
228 FcValueListUnserialize):
230 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
231 _fcPatternElts, _fcValueLists for consistency.
233 2005-11-25 Dirk Mueller <dmueller@suse.com>
238 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
240 2005-11-25 Patrick Lam <plam@mit.edu>
242 * src/fccache.c (FcDirCacheConsume):
243 * src/fccharset.c (FcCharSetUnserialize):
244 * src/fcfs.c (FcFontSetUnserialize):
245 * src/fclang.c (FcLangSetUnserialize):
246 * src/fcname.c (FcObjectUnserialize):
247 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
248 FcPatternUnserialize):
250 Pass around FcCache *s to the Unserialize functions for extra
251 consistency (and less overhead, for what that's worth).
253 2005-11-24 Dirk Mueller <dmueller@suse.com>
257 * src/fcmatch.c (FcCompare*, FcFontSetSort):
258 * src/fcname.c (FcNameUnparseValue):
260 Inline the *PtrU functions to gain perf.
261 Remove unneeded params for the FcCompare* functions.
263 2005-11-24 Dirk Mueller <dmueller@suse.com>
266 * src/fcint.h, fontconfig/fontconfig.h:
268 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
270 * src/fcpat.c, src/fcint.h, src/fcname.c:
272 Check for type validity during FcPatternAddWithBinding, don't
273 verify type in FcFontMatch, don't call FcCanonicalize here
274 (which always does a deep copy).
276 2005-11-24 Dirk Mueller <dmueller@suse.com>
279 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
280 * src/fcpat.c (FcPatternAddWithBinding):
282 Make FcCompareString and FcCompareFamily less expensive.
283 Only add a value for FC_FAMILY if the proposed value is a string.
285 2005-11-24 Dirk Mueller <dmueller@suse.com>
288 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
289 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
290 * src/fcint.h (FcDebug):
292 Inline FcDebug invocations and only initialize once, in FcInit*.
293 Improve debug msg in FcPatternPrint.
295 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
298 * fontconfig/fontconfig.h:
301 Minor code warning cleanups.
303 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
306 * fc-match/fc-match.c (main):
308 Make getopt_long accept -s parameter to fc-match as well.
310 2005-11-21 Dirk Mueller <dmueller@suse.com>
313 * src/fcmatch.c (FcCompareValueList):
315 Manually perform inlining & partial redundancy elimination to
316 reduce calls to FcValueListPtrU.
318 2005-11-21 Dirk Mueller <dmueller@suse.com>
321 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
322 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
324 Only invoke strlen() when really necessary.
326 2005-11-19 Matthias Clasen <mclasen@redhat.com>
330 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
335 Get rid of the use of freetype internal headers in fcfreetype.c,
336 since those headers will go away with freetype 2.2. Replace with
337 public domain ftglue code from pango. Note that the patch removes
338 some extra error checking in FT_Get_BDF_Property() and comments
339 out the skipping of empty pcf fonts.
341 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
344 * fc-lang/fc-lang.c (main):
346 Further fix of patch from 2005-11-04: miscounted numbers count
347 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
348 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
350 Removed leafidx_count and numbers_count since they are the same
351 and replaced them with offset_count.
353 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
356 * fc-cat/fc-cat.c (main):
358 Don't crash when fc-cat invoked with no arguments.
360 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
363 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
365 Fix invalid read access caused by premature free and
366 GCC4 warnings in libxml2 codepath.
368 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
371 * src/fccfg.c (FcConfigValues):
373 List iteration not needed in FcConfigValues, since it's building
374 up the list itself; we can just strip FcVoid elements during
377 2005-11-17 Patrick Lam <plam@mit.edu>
378 * src/fccfg.c (FcConfigValues):
380 Fix crash on invalid constants in config files (forgot to update
381 a pointer upon list iteration.)
383 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
386 * src/fcxml.c (FcTypecheckExpr):
388 Complain about invalid constants in config files.
390 2005-11-17 Andreas Schwab <schwab@suse.de>
393 * src/fccache.c (FcGlobalCacheSave):
395 Don't add current_arch_start more than once.
397 2005-11-16 Patrick Lam <plam@mit.edu>
398 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
399 * src/fcfs.c (FcFontSetUnserialize):
400 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
401 * src/fcpat.c (FcStrUnserialize):
403 Fix ordering of ALIGN with respect to saving block_ptr; add
404 another ALIGN to fcfs.c.
406 2005-11-16 Patrick Lam <plam@mit.edu>
407 * src/fccache.c (FcDirCacheProduce)
409 Fix case where alignment bytes bumped up metadata->count
410 causing unwarranted failures to write cache files.
411 (Reported by Stephan Kulow).
413 2005-11-16 Patrick Lam <plam@mit.edu>
414 * src/fccache.c (FcDirCacheProduce):
415 * src/fccharset.c (FcCharSetDistributeBytes):
416 * src/fcfs.c (FcFontSetDistributeBytes):
418 * src/fclang.c (FcLangSetDistributeBytes):
419 * src/fcname.c (FcObjectDistributeBytes):
420 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
423 Add *NeededBytesAlign(), which overestimates the padding which is
424 later added by the new ALIGN macro. Fix alignment problems on
425 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
426 version by Andreas Schwab).
428 2005-11-16 Stephan Kulow <coolo@kde.org>
433 Use sysconf to determine proper PAGESIZE value; this
434 appears to be POSIX-compliant. (reported by Andreas Schwab)
436 2005-11-04 Patrick Lam <plam@mit.edu>
442 Fix bug 2878 (excessive relocations at startup for charsets,
443 reported by Ross Burton): fc-lang/fc-lang now creates the
444 static form of the langset, not the dynamic form, so that
445 the charsets should now be in .rodata.
447 2005-11-04 Patrick Lam <plam@mit.edu>
448 * src/fcdir.c (FcDirScanConfig):
450 Add test for validity of directory caches that
451 somehow got lost (reported by make distcheck).
453 2005-11-04 Patrick Lam <plam@mit.edu>
457 * fontconfig/fontconfig.h:
459 Bump version to 2.3.92.
461 2005-11-02 Patrick Lam <plam@mit.edu>
462 * src/fcpat.c (FcPatternDuplicate):
464 Fix argument ordering problem in call to FcPatternTransferFullFname.
466 2005-11-02 Patrick Lam <plam@mit.edu>
467 * src/fcfreetype.c (FcFreetypeQuery):
468 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
469 FcPatternTransferFullFname):
471 Fix warnings and embarrassing double-free error.
473 2005-11-02 Zhe Su <zsu@novell.com>
478 Change the rule for artificial emboldening in fonts.conf.in. This
479 enables the support for artificial emboldening included in cairo.
481 2005-11-02 Patrick Lam <plam@mit.edu>
482 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
484 Don't zero out full names for FC_REF_CONSTANT fonts;
485 also, duplicate full names when transferring, and free
486 full names when freeing the associated font.
487 Reported by Jinghua Luo.
489 2005-11-02 Patrick Lam <plam@mit.edu>
490 * fc-cache/fc-cache.c (scanDirs):
491 * src/fcpat.c (FcValueListSerialize):
493 Revert the previous patch and commit the correct patch:
494 I forgot a canonicalization in FcValueListSerialize, so
495 that it would choke on already-serialized input files. Duh!
497 2005-11-02 Patrick Lam <plam@mit.edu>
498 * fc-cache/fc-cache.c (scanDirs):
500 Forcibly rescan a directory before writing a fresh local
501 cache file for that directory, fixing the losing-fonts
502 problem reported by Mike Fabian and also apparently the
503 font cache file corruption.
505 2005-11-02 Patrick Lam <plam@mit.edu>
506 * src/fccache.c (FcGlobalCacheLoad):
508 Fix thinko: actually, the whole global cache is stale
509 if the global cache is older than the (newest) config file.
511 2005-11-02 Patrick Lam <plam@mit.edu>
512 * src/fccache.c (FcGlobalCacheLoad):
513 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
516 Declare the global cache of a directory's contents to be stale if
517 the directory is newer than the (newest) configuration file.
519 2005-10-31 Patrick Lam <plam@mit.edu>
521 * src/fclist.c (FcListAppend):
522 * src/fcmatch.c (FcFontRenderPrepare):
523 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
524 FcPatternFreeze, FcPatternBaseFreeze):
526 Copy the full pathname whenever duplicating an FcPattern; otherwise,
527 applications continue breaking.
529 2005-10-31 Patrick Lam <plam@mit.edu>
530 * fc-cat/fc-cat.c (FcCacheFileRead, main):
531 * src/fcfreetype.c (FcFreeTypeQuery):
533 Fix small memory error (tried to free argv); use basename and
534 dirname correctly (they can modify their arguments).
536 2005-10-31 Patrick Lam <plam@mit.edu>
544 Reinstate basename patch, but keep a hash table linking FcPatterns
545 to their fully-qualified font names for clients' benefit. Clients
546 only pay for the font names once they request the FC_FILE property
547 from an FcPattern, but the font name is malloc'd at that point (i.e.
548 not mmapped: that's impossible, since it may vary between machines.)
549 Clients do have to pay for a copy of the path name per cache file.
551 Note that FcPatternGetString now does some rewriting if you ask
552 for an FC_FILE, appending the pathname as appropriate.
554 2005-10-31 Patrick Lam <plam@mit.edu>
555 * src/fcfreetype.c (FcFreeTypeQuery):
557 Revert basename patch, which breaks fontconfig clients on my system.
559 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
562 * fontconfig/fonts.conf.in:
563 * fontconfig/fontconfig.h:
567 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
568 to load embedded bitmaps or not.
570 2005-10-25 Patrick Lam <plam@mit.edu>
571 * src/fcfreetype.c (FcFreeTypeQuery):
573 Only add basename to patterns' FC_FILE element, not any part of
576 2005-10-22 Patrick Lam <plam@mit.edu>
579 Add some more consts, fixing more GCC4 warnings.
581 2005-10-22 Zhe Su <zsu@novell.com>
584 Support localized font family and style names.
585 This has been reported to break old apps like xfd, but modern
586 (gtk+/qt/mozilla) apps work fine.
588 2005-10-21 Patrick Lam <plam@mit.edu>
589 * src/fccache.c (FcGlobalCacheLoad):
591 Destroy the global cache file if it's terminally broken. (reported by
594 2005-10-21 Patrick Lam <plam@mit.edu>
595 * fc-list/fc-list.c (main):
596 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
597 * fontconfig/fontconfig.h:
599 Prevent fc-list from escaping strings when printing them (reported by
602 2005-10-20 Marcus Meissner <meissner@suse.de>
605 * fontconfig/fontconfig.h:
607 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
609 2005-10-14 Ross Burton <ross@burtonini.com>
612 * fc-glyphname/fc-glyphname.c:
615 Add consts to variables so as to move arrays into .rodata.
617 2005-10-14 Mike Fabian <mfabian@suse.de>
620 * src/fccache.c (FcDirCacheUnlink):
622 Check existence of directory cache file before attempting to unlink.
624 2005-10-13 Patrick Lam <plam@mit.edu>
625 * src/fccache.c (FcDirCacheUnlink):
627 Fix flipped return value on unlink. (Reported by Mike Fabian)
629 2005-10-12 Patrick Lam <plam@mit.edu>
632 * src/fcdir.c (FcDirScanConfig):
635 When fc-cache is run without --force, use directory cache files
636 to speed up fc-cache run time. (Reported by Mike Fabian)
638 2005-10-06 Patrick Lam <plam@mit.edu>
640 * src/fcname.c (FcObjectToPtr):
641 * src/fcpat.c (FcStrStaticName):
643 Add padding to make valgrind and glibc not hate each other
644 when calling strlen().
646 2005-10-05 Simos Xenitellis <simos74@gmx.net>
647 reviewed by: plam & keithp
651 Modify config file to use Greek fonts before Asian fonts with
654 2005-10-05 Christian Biesinger <cbiesinger@web.de>
655 reviewed by: plam & keithp
659 Use libtool -no-undefined flag on all platforms.
661 2005-10-05 Patrick Lam <plam@mit.edu>
662 * src/fccache.c (FcCacheHaveBank):
664 Implement move-to-front array for banks (perf regression
665 reported by Ronny V. Vindenes).
667 2005-10-04 Patrick Lam <plam@mit.edu>
668 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
669 FcDirCacheHasCurrentArch):
670 * fc-cache/fc-cache.c (scanDirs):
671 * fontconfig/fontconfig.h:
673 Add new API which unlinks directory caches and checks dir caches
674 for existence of appropriate sections. Fix fc-cache to unlink
675 stale cache files and save directory caches that lack relevant
678 2005-10-03 Patrick Lam <plam@mit.edu>
679 * src/fccache.c (FcDirCacheValid):
681 Ensure that a directory cache has the appropriate section
682 before reporting that it is valid (reported by Matthias Clasen).
684 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
692 Use libxml2 if requested (with --enable-libxml2) or if
693 expat is not available.
695 2005-09-29 Patrick Lam <plam@mit.edu>
696 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
698 Fix multi-arch cache files: compute the position for the
699 block to be added using info from OrigFile, not NewFile.
701 2005-09-28 Patrick Lam <plam@mit.edu>
702 * src/fccache.c (FcCacheMachineSignature):
704 Cast results of sizeof() to unsigned int to get rid of
705 warnings on x86_64 (thanks Matthias Clasen).
707 2005-09-27 Patrick Lam <plam@mit.edu>
708 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
711 Use FcAtomic to rewrite cache files.
713 2005-09-27 Patrick Lam <plam@mit.edu>
715 * src/fccache.c (FcDirCacheWrite):
717 Don't unlink the fonts.cache-2 file even if there's no data
718 to write; just write an empty cache file. (thanks Lubos Lunak)
720 2005-09-27 Patrick Lam <plam@mit.edu>
722 * src/fccache.c (FcDirCacheWrite):
724 Allocate room for the subdirectory names in each
725 directory cache. Thanks to James Cloos for finding
726 and diagnosing this bug!
728 2005-09-22 Patrick Lam <plam@mit.edu>
730 * fc-cache/fc-cache.sgml:
731 * src/fccache.c (FcDirCacheWrite):
732 * src/fccache.h (struct FcCache):
734 Update documentation -- fc-cache's man page now says that you
735 need to run fc-cache once per cached architecture; add some
736 documentation to the FcCache structure.
738 Make fc-cache write out fonts.cache-2 files for directories with
739 no fonts (i.e. only subdirectories).
741 2005-09-22 Patrick Lam <plam@mit.edu>
743 * fc-cache/fc-cache.sgml:
745 * fc-glyphname/fc-glyphname.c:
751 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
756 * fontconfig/fcprivate.h:
757 * fontconfig/fontconfig.h:
771 Implement new mmaped cache for font information.
772 Bump so revision to 2.3.90.
774 2005-07-25 Keith Packard <keithp@keithp.com>
776 * doc/fontconfig-user.sgml:
777 * fc-glyphname/fc-glyphname.c: (scan), (main):
778 * fc-lang/fc-lang.c: (FcConfigHome):
779 * fc-match/fc-match.c: (main):
780 * src/fccfg.c: (FcConfigHome):
781 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
782 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
783 (addtag), (FcFontCapabilities):
784 * src/fcpat.c: (FcValueListEntCreate):
785 * src/fcstr.c: (FcStrCaseWalkerInit):
786 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
788 Various GCC 4 cleanups for signed vs unsigned char
790 Match only [0-9]*.conf files in <include>{directory}</include>
791 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
793 2005-07-15 Carl Worth <cworth@cworth.org>
796 * src/fcinit.c: (FcFini):
797 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
800 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
801 Pull the FcObjectStateName hash table out to file scope, and add
802 FcObjectStaticNameFini so that FcFini will cleanup this hash table
805 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
808 2005-06-16 Patrick Lam <plam@MIT.EDU>
812 * src/fccfg.c: (FcConfigCompareValue):
813 Make FcOpNotContains use FcStrStr for strings so that
814 it matches semantics for !FcOpContains.
816 2005-05-20 Keith Packard <keithp@keithp.com>
820 Move fontconfig source package to libs as per override
822 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
824 reviewed by: Mike Fabian
827 The ka.orth file requires several characters which are not
828 used anymore in modern Georgian and which are missing in the free
829 Georgian TrueType fonts downloadable at:
831 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
833 2005-04-27 Keith Packard <keithp@keithp.com>
837 Update date to real 2.3.2 release date.
838 Fix change attributions
840 2005-04-27 Keith Packard <keithp@keithp.com>
843 Bump so revision for 2.3.2
844 * fc-cache/fc-cache.c: (scanDirs):
845 Fix a few minor leaks in error cases.
847 2005-04-23 Keith Packard <keithp@keithp.com>
852 * fontconfig/fontconfig.h:
853 Update for version 2.3.2
855 2005-04-21 Keith Packard <keithp@keithp.com>
857 * debian/fontconfig.postinst:
858 Don't force bitmap font enable in default
859 configuration; allows users to override this in
869 * debian/po/pt_BR.po:
870 * debian/po/templates.pot:
872 * debian/po/zh_CN.po:
875 * fc-cache/fc-cache.c: (main):
876 Destroy font configuration on exit to help valgrind
879 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
880 (FcFreeTypeCheckGlyph):
881 Use own transcoding routines in preference to iconv
882 which appears to have leaks in some translators.
883 Call iconv_close after using iconv (oops).
885 Prefer unicode encoding of Euro char as some
886 fonts mis-encode Euro in other ones.
888 Must fetch bitmap glyphs to get width values
889 to check for monospace/dual-width fonts.
891 2005-04-13 Ross Burton <ross@burtonini.com>
894 Check that a pattern isn't already frozen in FcPatternFreeze.
896 2005-03-31 Ross Burton <ross@burtonini.com>
901 Run all FcPattern objects through FcObjectStaticName, so that
902 compares can be done on pointers instead of strings (#2659)
904 2005-03-17 Tor Lillqvist <tml@novell.com>
906 * src/fontconfig.def.in: Add the .dll to the dll name.
908 2005-03-10 Keith Packard <keithp@keithp.com>
910 * debian/README.Debian:
911 Update to reflect configuration changes
913 * debian/fontconfig.postinst:
914 Fix Autohint vs Autohinter mistake
915 * debian/fontconfig.templates:
916 Adopt changes from Josselin Mouette for configuration descriptions
917 Update debian to version 2.3.1-2
919 2005-03-08 Keith Packard <keithp@keithp.com>
923 Update debian for 2.3.1
925 2005-03-09 Tor Lillqvist <tml@novell.com>
927 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
930 * src/fccfg.c (FcConfigFileExists): Check also drive letter
933 2005-03-08 Keith Packard <keithp@keithp.com>
937 * fontconfig/fontconfig.h:
940 2005-03-05 Keith Packard <keithp@keithp.com>
942 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
943 Include space and remove numbers from valid script tags.
944 This ensures that tags like 'lao ' work while rejecting
945 those which have any digits.
946 Eliminate a spurious debugging variable (len)
948 2005-03-05 Keith Packard <keithp@keithp.com>
950 * src/fcfreetype.c: (addtag), (GetScriptTags),
951 (FcFontCapabilities):
952 Rework GSUB/GPOS script parsing to survive broken fonts.
953 Thanks for the broken font go to Manish Singh
955 2005-03-05 Keith Packard <keithp@keithp.com>
960 * debian/fontconfig.config:
961 * debian/fontconfig.templates:
963 Include 2.3 release information in changelog
964 Add Josselin Mouette as an Uploader
965 Set hinting_type to low priority configuration option
968 * debian/fontconfig.postinst:
969 yes_bitmaps.conf -> yes-bitmaps.conf
975 2005-03-02 Keith Packard <keithp@keithp.com>
978 * conf.d/Makefile.am:
979 * conf.d/autohint.conf:
980 * conf.d/no-sub-pixel.conf:
981 * conf.d/sub-pixel.conf:
982 * conf.d/unhinted.conf:
983 * debian/autohint.conf:
984 * debian/fontconfig.install:
985 * debian/fontconfig.postinst:
986 * debian/fontconfig.templates:
987 * debian/no-sub-pixel.conf:
988 * debian/unhinted.conf:
989 Move debian-specific conf file examples upstream.
991 Sub-pixel configuration examples must smash subpixel value
992 as Xft always sets it from X.
994 Change sub-pixel rendering debconf descriptions from
995 Enable/Disable to Always/Never.
997 2005-03-02 Keith Packard <keithp@keithp.com>
1000 * conf.d/.cvsignore:
1002 Ignore more build detritus
1005 Add debian package construction stuff.
1007 * config/config.guess:
1008 * config/config.sub:
1009 Update to newer versions of these tools
1012 Get library manuals to build again (we love automake).
1014 * debian/README.Debian:
1015 * debian/autohint.conf:
1020 * debian/fontconfig-udeb.install:
1021 * debian/fontconfig.config:
1022 * debian/fontconfig.defoma:
1023 * debian/fontconfig.dirs:
1024 * debian/fontconfig.install:
1025 * debian/fontconfig.postinst:
1026 * debian/fontconfig.postrm:
1027 * debian/fontconfig.templates:
1028 * debian/libfontconfig1-dev.install:
1029 * debian/libfontconfig1.install:
1030 * debian/local.conf.md5sum:
1031 * debian/no-sub-pixel.conf:
1032 * debian/po/POTFILES.in:
1041 * debian/po/pt_BR.po:
1042 * debian/po/templates.pot:
1044 * debian/po/zh_CN.po:
1046 * debian/unhinted.conf:
1047 Update debian build system to switch maintainers and
1048 deal with 2.3 functionality
1050 2005-03-01 Keith Packard <keithp@keithp.com>
1054 * fontconfig/fontconfig.h:
1057 2005-03-01 Keith Packard <keithp@keithp.com>
1060 Generate and install PDF versions of the manuals
1062 * doc/fcpattern.fncs:
1065 * doc/fcstring.fncs:
1066 Add missing exported functions, fix data types
1068 * doc/fontconfig-devel.sgml:
1069 Add missing pattern elements.
1071 * doc/fontconfig-user.sgml:
1072 Add missing pattern elements. Document conf.d usage,
1073 clarify available orthography list. Fix some config file
1074 attributes. Complete list of constants.
1076 * fontconfig/fontconfig.h:
1077 Mark FC_SOURCE deprecated.
1079 * src/fcfreetype.c: (FcFreeTypeQuery):
1080 Don't set FC_SOURCE any longer.
1082 2005-02-28 Keith Packard <keithp@keithp.com>
1085 * conf.d/Makefile.am:
1087 * conf.d/no-bitmaps.conf:
1088 * conf.d/sub-pixel.conf:
1089 * conf.d/yes-bitmaps.conf:
1091 Create prototype /etc/fonts/conf.d directory with a few
1092 sample configuration files.
1093 Deprecate use of local.conf for local customizations in favor of
1094 this directory based scheme which is more easily integrated into
1095 installation systems.
1098 Tag FC_EMBOLDEN as a boolean variable
1100 2005-02-10 Keith Packard <keithp@keithp.com>
1102 reviewed by: pborelli@katamail.com
1104 * src/fcdir.c: (FcFileScanConfig):
1105 Free patterns from fonts which are rejected by configuration
1108 2005-01-28 Keith Packard <keithp@keithp.com>
1112 * fontconfig/fontconfig.h:
1113 Update for version 2.2.99
1115 2005-01-28 Keith Packard <keithp@keithp.com>
1118 Add a few pointers (#2284, #2285)
1120 2005-01-28 Keith Packard <keithp@keithp.com>
1123 * src/fcname.c: (FcNameBool):
1124 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1125 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1126 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1127 Polite typechecking for test and edit expressions. Helps
1128 catch errors in the font configuration. (bug 229)
1130 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1132 reviewed by: Keith Packard <keithp@keithp.com>
1135 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1137 2005-01-13 Keith Packard <keithp@keithp.com>
1139 * doc/fontconfig-user.sgml:
1140 Add SEE ALSO section (bug 2085)
1142 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1144 reviewed by: Keith Packard <keithp@keithp.com>
1149 * fc-case/Makefile.am:
1150 * fc-glyphname/Makefile.am:
1151 * fc-lang/Makefile.am:
1152 * src/fontconfig.def.in:
1153 Cross compiling fixes (bug 280)
1155 2005-01-13 Keith Packard <keithp@keithp.com>
1158 Update blanks list (Closes bug 86)
1160 2005-01-04 Keith Packard <keithp@keithp.com>
1162 * src/fccache.c: (FcCacheFontSetAdd):
1163 Verify that every font pattern loaded from cache has
1164 both FC_FILE and FC_FAMILY entries.
1165 Attempt to fix bug #2219.
1167 2004-12-29 Keith Packard <keithp@keithp.com>
1171 * fontconfig/fontconfig.h:
1172 Update for version 2.2.98
1174 2004-12-29 Keith Packard <keithp@keithp.com>
1176 * fontconfig/fontconfig.h:
1177 Document ASCII limitations of Fc character conversion macros
1178 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1179 Fix off-by-one error in utf-8 case walking code.
1180 Add FcStrDowncase (useful for testing case conversion functions)
1182 2004-12-29 Keith Packard <keithp@keithp.com>
1185 * fc-case/.cvsignore:
1186 clean up CVS ignore lists
1187 * fc-lang/iso-3166.txt:
1188 Add territory database
1190 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1192 Reviewed by: Keith Packard
1195 Remove Han characters from Korean orthography
1197 2004-12-29 Keith Packard <keithp@keithp.com>
1200 Reorder utility programs to make sure fc-case is run before fc-lang
1201 as fc-lang uses fcstr.c which uses fccase.h
1205 2004-12-29 Keith Packard <keithp@keithp.com>
1208 Adopt some RedHat suggestions for standard font configuration.
1212 * fc-case/CaseFolding.txt:
1213 * fc-case/Makefile.am:
1214 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1215 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1216 (dump), (parseRaw), (caseFoldReadRaw), (main):
1217 * fc-case/fccase.tmpl.h:
1218 Add new helper program 'fc-case' to construct case folding
1219 tables from standard Unicode CaseFolding.txt file
1222 * src/fclist.c: (FcListValueHash):
1223 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1224 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1225 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1226 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1227 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1228 Re-implement case insensitive functions with Unicode
1229 aware versions (including full case folding mappings)
1231 2004-12-13 Keith Packard <keithp@keithp.com>
1233 reviewed by: Owen Taylor <otaylor@redhat.com>
1235 * src/fcmatch.c: (FcFontSetSort):
1236 I changed FcFontSetSort to respect the generic aliases better
1237 in the face of language matching.
1239 What I did was to ammend the strict sort order used by FcFontSort so
1240 that it 'satisfies' the language specified in the pattern by locating
1241 the best matching font supporting each pattern language and then
1242 ignores language in the remaining fonts for purposes of matching.
1244 So, when asking for 'sans:lang=en', you'll get an English font first,
1245 and then the remaining fonts sorted with respect to the 'sans' alias
1246 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1248 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1250 reviewed by: Keith Packard <keithp@keithp.com>
1252 * fontconfig/fontconfig.h:
1255 Configuration changes to request synthetic emboldening of
1256 fonts. The actual emboldening code will live in Xft.
1258 2004-12-09 John Thacker <thacker@math.cornell.edu>
1260 reviewed by: Keith Packard <keithp@keithp.com>
1264 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1265 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1266 и), and don't even appear in KOI8-R. (The hypothesis that they
1267 don't appear in KOI8-R due to their similarity with Latin I and i is
1268 eliminated by their presence in KOI8-U.) I have a couple of fonts
1269 with Russian support that don't have the letter.
1271 Therefore, 0406 and 0456 should be removed from or commented out of
1274 2004-12-06 michael meeks <mmeeks@novell.com>
1276 Reviewed by: Keith Packard <keithp@keithp.com>
1278 * src/fcinit.c: (FcMemReport):
1280 * src/fclist.c: (FcObjectSetAdd):
1281 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1282 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1283 * src/fcxml.c: (FcParsePatelt):
1284 memoize strings and share a single copy for all uses. Note that
1285 this could be improved further by using statically allocated blocks
1286 and gluing multiple strings together, but I'm basically lazy.
1287 In my environment with 800 font files, I get a savings of about 90KB.
1289 2004-12-06 Keith Packard <keithp@keithp.com>
1293 * config/Makedefs.in:
1296 * doc/fcatomic.fncs:
1297 * doc/fcblanks.fncs:
1298 * doc/fccharset.fncs:
1299 * doc/fcconfig.fncs:
1300 * doc/fcconstant.fncs:
1302 * doc/fcfontset.fncs:
1303 * doc/fcfreetype.fncs:
1305 * doc/fcmatrix.fncs:
1306 * doc/fcobjectset.fncs:
1307 * doc/fcobjecttype.fncs:
1308 * doc/fcpattern.fncs:
1309 * doc/fcstring.fncs:
1310 * doc/fcstrset.fncs:
1312 * doc/fontconfig-devel.sgml:
1313 * doc/fontconfig-user.sgml:
1315 * doc/version.sgml.in:
1316 * fc-cache/Makefile.am:
1317 * fc-cache/fc-cache.c:
1318 * fc-glyphname/Makefile.am:
1319 * fc-glyphname/fc-glyphname.c:
1320 * fc-glyphname/fcglyphname.tmpl.h:
1321 * fc-lang/Makefile.am:
1331 * fc-lang/az_ir.orth:
1365 * fc-lang/fc-lang.c:
1366 * fc-lang/fc-lang.man:
1367 * fc-lang/fclang.tmpl.h:
1412 * fc-lang/ku_ir.orth:
1445 * fc-lang/ps_af.orth:
1446 * fc-lang/ps_pk.orth:
1475 * fc-lang/ti_er.orth:
1476 * fc-lang/ti_et.orth:
1502 * fc-lang/zh_cn.orth:
1503 * fc-lang/zh_hk.orth:
1504 * fc-lang/zh_mo.orth:
1505 * fc-lang/zh_sg.orth:
1506 * fc-lang/zh_tw.orth:
1508 * fc-list/Makefile.am:
1509 * fc-list/fc-list.c:
1510 * fc-match/Makefile.am:
1511 * fc-match/fc-match.1:
1512 * fc-match/fc-match.c:
1513 * fontconfig/fcfreetype.h:
1514 * fontconfig/fcprivate.h:
1515 * fontconfig/fontconfig.h:
1536 Change files from ISO-Latin-1 to UTF-8
1538 2004-12-04 Keith Packard <keithp@keithp.com>
1541 Update links to new freedesktop.org locations
1543 Add uninstall-local to get rid of fonts.conf and local.conf if they
1544 match the distributed versions. Fixes 'make distcheck'
1546 2004-12-04 Keith Packard <keithp@keithp.com>
1550 * fontconfig/fontconfig.h:
1551 Updates for version 2.2.97
1553 2004-12-04 Owen Taylor <otaylor@redhat.com>
1555 reviewed by: Keith Packard <keithp@keithp.com>
1557 * fc-cache/fc-cache.c: (main):
1558 Sleep for two seconds before exiting to make sure timestamps
1559 for future changes have distinct mod times in the file system.
1562 Add Punjabi orthography. Bug #1671.
1564 2004-12-04 Keith Packard <keithp@keithp.com>
1567 Just remove the FC_FONTDATE -- it has locale issues and
1568 annoys redhat multi-arch installs. Now that all X fonts are
1569 included without prejudice, the chances of the date being at
1570 all interesting are rather limited. Bug #505.
1572 Add copyright and license
1574 2004-12-04 Keith Packard <keithp@keithp.com>
1577 Change default set of fonts to include all of
1578 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1579 * doc/fontconfig-user.sgml:
1580 Document new <include>directory-name</include> semantics
1582 add <include ignore_missing="yes">conf.d</include>
1584 Add selectfont to ignore bitmap fonts, add comment for
1585 selectfont which accepts bitmap fonts.
1588 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1589 Allow <include> configuration elements to reference directories.
1590 Parse and load all files of the form [0-9]* in sorted order.
1592 2004-12-04 Keith Packard <keithp@keithp.com>
1595 Report command line for $srcdir/configure accurately.
1598 2004-12-04 Keith Packard <keithp@keithp.com>
1600 * src/fcfreetype.c: (FcFreeTypeQuery):
1601 Check for non-empty face->family_name and face->style_name
1602 before using those for the font. Empty names match everything.
1605 2004-12-04 Keith Packard <keithp@keithp.com>
1608 * fontconfig/fontconfig.h:
1609 * src/fcfreetype.c: (FcFreeTypeQuery):
1611 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1612 available. This provides font file format information (BDF, Type 1,
1613 PCF, TrueType) for each font. Closes #109.
1615 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1617 reviewed by: Keith Packard <keithp@keithp.com>
1619 * doc/fontconfig-user.sgml:
1622 * fontconfig/fontconfig.h:
1623 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1624 (GetScriptTags), (FcFontCapabilities):
1626 Add detection for font capabilities (bug #105)
1628 2004-12-04 Keith Packard <keithp@keithp.com>
1631 Move existing fonts.conf to fonts.conf.bak
1634 Add detection of iconv
1636 * doc/fcpattern.fncs:
1637 * doc/fontconfig-devel.sgml:
1638 * doc/fontconfig-user.sgml:
1640 Document new selectfont elements
1643 Switch to UTF-8 in comment
1645 * fontconfig/fontconfig.h:
1647 Add fullname, and family/style/fullname language entries
1649 * src/fccache.c: (FcCacheFontSetAdd):
1650 * src/fcdir.c: (FcFileScanConfig):
1651 Respect selectfont/*/glob
1654 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1655 (FcConfigCompareValue), (FcConfigPatternsAdd),
1656 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1657 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1658 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1659 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1660 Add support for selectfont
1662 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1663 (FcStringInPatternElement), (FcFreeTypeQuery):
1664 Add multi-lingual family/style/fullname support
1666 * src/fclist.c: (FcListPatternMatchAny):
1667 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1669 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1670 (FcObjectStaticName):
1671 Add new FcPatternRemove/FcPatternAppend.
1672 FcObjectStaticName stores computed pattern element names which
1673 are required to be static.
1675 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1680 Remove spurious / after $(DESTDIR)
1682 2004-06-30 Keith Packard <keithp@keithp.com>
1686 * fontconfig/fontconfig.h:
1689 2004-06-30 Keith Packard <keithp@keithp.com>
1691 Provided by: Lubos Lunak <l.lunak@suse.cz>
1693 * src/fccfg.c: (FcConfigUptoDate):
1694 However FcConfigUptoDate() doesn't seem to work. See the attached
1695 patch. First there's an obvious misplaced parenthesis making it
1696 return always false, and second, even this call fails to detect font
1697 changes (e.g. adding a new font to
1698 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1699 well. The problem seems to be triggered by my fonts.conf specifying
1700 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1701 doesn't include subdirs, unlike config->fontDirs.
1703 2004-06-03 Keith Packard <keithp@keithp.com>
1705 * fontconfig/fontconfig.h:
1706 Remove comma at end of FcResult enum definition.
1708 2004-05-29 Keith Packard <keithp@keithp.com>
1711 Add steps to md5sum release
1713 2004-05-29 Keith Packard <keithp@keithp.com>
1717 * fontconfig/fontconfig.h:
1720 2004-05-29 Keith Packard <keithp@keithp.com>
1722 * fontconfig/fontconfig.h:
1723 * src/fcmatch.c: (FcFontSetMatch):
1724 Add FcResultOutOfMemory to provide an accurate error when
1725 FcFontSetMatch fails in this way
1728 Make #warning about lacking various FreeType features indicate
1729 which version those features appeared so users know how to
1730 fix the problem (Thanks to Anton Tropashko)
1732 2004-05-05 Keith Packard <keithp@keithp.com>
1734 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1735 Replace MIN/MAX/ABS macros which happen to have come
1736 from FreeType with fontconfig-specific ones (FC_*)
1738 2004-04-23 Keith Packard <keithp@keithp.com>
1741 Extend release preparation instructions to include
1742 notification and distribution steps
1744 2004-04-23 Keith Packard <keithp@keithp.com>
1748 * fontconfig/fontconfig.h:
1749 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1751 2004-04-23 Keith Packard <keithp@keithp.com>
1754 Ignore a few more autotool files
1756 2004-04-14 Keith Packard <keithp@keithp.com>
1759 Add instructions for doing a release
1761 * fontconfig.spec.in:
1762 clean up .spec file; perhaps this will be useful to somebody...
1766 * fontconfig/fontconfig.h:
1769 * fc-lang/fc-lang.c:
1770 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1772 * fc-glyphname/Makefile.am:
1773 * fc-lang/Makefile.am:
1774 * fc-list/Makefile.am:
1775 * fc-match/Makefile.am:
1777 Add WARN_CFLAGS to pass -W flags for GCC systems
1779 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1780 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1781 Change various char types around to match across
1783 Fixed bug in using available_sizes[i].height which
1784 is in pixels, not 64ths of a pixel.
1786 2004-03-06 Keith Packard <keithp@keithp.com>
1788 * src/fcfreetype.c: (FcFreeTypeQuery):
1789 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1790 matches looking for explicit values prefer exact matches
1792 2004-03-02 Keith Packard <keithp@keithp.com>
1794 Supplied by: mfabian@suse.de (Mike FABIAN)
1796 * src/fcfreetype.c: (FcFreeTypeQuery):
1797 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1798 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1800 2004-02-21 Manish Singh <yosh@gimp.org>
1802 * fc-glyphname/fc-glyphname.c: (main):
1803 Cast strlen to int for printf, so we're 64-bit clean.
1805 2004-02-11 Keith Packard <keithp@keithp.com>
1808 * src/fcfreetype.c: (FcGetPixelSize):
1809 Ok, so I messed up the test for y_ppem. Let's see if I
1810 got it right this time.
1812 2004-02-10 Keith Packard <keithp@keithp.com>
1815 * src/fcfreetype.c: (FcGetPixelSize):
1816 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1817 FT_Bitmap_Size record. Add a configure.in test for this
1818 and change the code accordingly (using height instead).
1820 2004-02-06 Keith Packard <keithp@keithp.com>
1823 Add Low Saxon orthography
1824 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1826 * src/fccfg.c: (FcConfigNewestFile):
1827 Oops. Left 'newest.set' unset, which would miscompute
1830 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1831 (FcFreeTypeCheckGlyph):
1832 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1833 font properties (which report the wrong value in current FreeType)
1835 Don't attempt to check for empty glyphs in non-scalable fonts; they
1838 2004-02-01 Tor Lillqvist <tml@iki.fi>
1840 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1841 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1842 cache if config->cache is NULL, which happens if FcConfigHome() is
1843 NULL. Guard against that by using the temp folder in that case.
1845 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1847 * fc-lang/az_ir.orth:
1848 * fc-lang/ku_ir.orth:
1849 * fc-lang/ps_af.orth:
1850 * fc-lang/ps_pk.orth:
1851 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1852 (Afghan and Pakistani).
1854 Updated Urdu orthography with real data.
1856 2003-12-11 Carl Worth <cworth@east.isi.edu>
1858 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1861 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1863 (all-local): Remove excessive whitespace.
1865 * autogen.sh: Add 'set -e' to abort when any program fails,
1866 (avoids printing of 'now type make' after configure aborts).
1868 2003-11-17 Eric Christopherson <rakko@charter.net>
1870 reviewed by: Keith Packard <keithp@keithp.com>
1873 * fontconfig/fcfreetype.h:
1875 Switch to FreeType 2.1.7 style includes. Bug #150.
1877 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1879 * fc-list/fc-list.sgml: Add some example usages.
1881 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1884 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1887 2003-10-27 Keith Packard <keith@keithp.com>
1890 * fontconfig/fontconfig.h:
1891 Update to version 2.2.92
1893 2003-10-27 Keith Packard <keithp@keithp.com>
1898 * fc-cache/Makefile.am:
1899 * fc-glyphname/Makefile.am:
1900 * fc-lang/Makefile.am:
1901 * fc-list/Makefile.am:
1902 * fc-match/Makefile.am:
1905 Yet more cleanups to finish getting 'make distcheck' working
1906 This has been tested to ensure that it even works from a _build
1909 2003-10-26 Keith Packard <keithp@keithp.com>
1913 * fc-cache/Makefile.am:
1914 * fc-glyphname/Makefile.am:
1915 * fc-lang/Makefile.am:
1916 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1917 * fc-list/Makefile.am:
1918 * fc-match/Makefile.am:
1919 Attempts to fix 'make distcheck' work. Things are
1920 progressing pretty well, but there are still failures
1921 long into the process dealing with docs (as always).
1923 The big changes here are mostly to make $(srcdir) != "."
1924 work correctly, fixing the docbook related sections and
1925 fc-lang were particularily tricky. Docbook refuses to load
1926 system entities from anywhere other than where the original .sgml
1927 file was located, so no luck looking in "." for the
1928 configure-generated version.sgml and confdir.sgml files.
1930 fc-lang needed help finding .orth files; added a -d option
1931 to set the directory as the least evil of many options.
1933 Now to go use a faster machine and try and wring out the last
1936 2003-10-26 Keith Packard <keithp@keithp.com>
1940 2003-10-26 Keith Packard <keithp@keithp.com>
1943 Include confdir.sgml.in in EXTRA_DIST
1945 2003-10-09 Josselin Mouette <joss@debian.org>
1947 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1948 * fc-list/fc-list.sgml fc-list/Makefile.am:
1949 Replace fc-cache and fc-list manpages with more detailed, SGML
1952 2003-09-23 Owen Taylor <otaylor@redhat.com>
1954 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1955 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1956 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1959 2003-09-23 Owen Taylor <otaylor@redhat.com>
1961 * fc-lang/ka.orth: Remove Georgian capitals, they
1962 aren't used for normal writing. (Bug #116)
1964 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1966 * doc/fontconfig-devel.sgml:
1967 * doc/fontconfig-user.sgml:
1968 * fontconfig/fontconfig.h:
1970 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1971 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1973 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1974 monospace and dual-width fonts, allow roughly a 3% variance in the
1977 2003-08-31 Manish Singh <yosh@gimp.org>
1979 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1982 2003-08-15 Carl Worth <cworth@isi.edu>
1984 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1985 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1987 * src/fcpat.c (FcValueListEntDestroy): New function to support
1988 FcFini memory cleanup. Some statistics are not kept in
1990 (FcValueListFreeze): Move hashTable outside this function so it
1991 can be accessed by FcValueListThawAll.
1992 (FcValueListThawAll): New function complements FcValueListFreeze.
1993 (FcPatternBaseFreeze): Move hashTable outside this function so it
1994 can be accessed by FcPatternBaseThawAll.
1995 (FcPatternBaseThawAll): New function complements
1996 FcPatternBaseFreeze.
1997 (FcPatternThawAll): New function complements FcPatternFreeze.
1999 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
2001 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
2002 allocated FcCharLeafEnt "blocks" so they can be freed later.
2003 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
2004 can be accessed by FcCharSetThawAllLeaf.
2005 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
2006 (FcCharSetFreezeBase): Move hashTable outside this function so it
2007 can be accessed by FcCharSetThawAll.
2008 (FcCharSetThawAll): New function complements FcCharSetFreeze.
2010 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
2011 (FcConfigDestroy): Fic leak of FcBlanks.
2013 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
2014 (main): Add call to FcFini when finished.
2016 * fc-glyphname/fc-glyphname.c: Mark several local functions as
2017 static. Add prototypes.
2019 * doc/fcinit.fncs: Add documentation for FcFini function.
2021 * doc/edit-sgml.c: Mark several local functions as static. Add
2024 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
2026 2003-06-15 Tor Lillqvist <tml@iki.fi>
2028 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
2029 before comparing (needed on Windows).
2031 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
2033 2003-06-13 Tor Lillqvist <tml@iki.fi>
2035 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
2038 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
2039 WINDOWSFONTDIR token.
2041 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
2042 end, not to confuse libtool, which expects the EXPORTS line to be
2043 the first. Add FcConfigEnableHome.
2045 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
2046 built as a DLL on Win32.
2048 2003-06-09 Keith Packard <keithp@keithp.com>
2050 * Tag version 2.2.90
2052 2003-06-09 Keith Packard <keithp@keithp.com>
2054 * Optimization in FcLangSetIndex was broken, occasionally
2055 returning a pointer to the wrong location on miss
2057 * Add fc-match to test font matching from the command line.
2059 2003-05-31 Keith Packard <keithp@keithp.com>
2061 * (Bug 85) add support for culmus fonts
2062 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2063 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2065 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2067 * Fix "contains" op for strings and langsets.
2069 2003-05-17 Keith Packard <keithp@keithp.com>
2071 * Fix build error with BDF prop local. Free langset after query
2073 2003-05-14 Keith Packard <keithp@keithp.com>
2075 * Extract spacing from XLFD atom
2077 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2079 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2080 disappeared in 1.30.
2082 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2084 2003-05-12 Keith Packard <keithp@keithp.com>
2086 * Use FcIsWidth to share code
2088 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2089 misclassifying some Han fonts as monospaced.
2091 2003-05-07 Keith Packard <keithp@keithp.com>
2093 * Add filename-based accept/reject to ammend available fonts.
2095 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2096 older FreeType releases.
2098 2003-05-06 Keith Packard <keithp@keithp.com>
2100 * Remove 0b82 and Tamil numbers from tamil
2101 orthography (Jungshik Shin <jshin@mailaps.org>)
2103 2003-05-04 Keith Packard <keithp@keithp.com>
2105 + Map glyph names in fonts with adobe custom encoding to unicode
2107 2003-05-02 Keith Packard <keithp@keithp.com>
2109 * Add FC_WEIGHT_BOOK as weight 75
2111 2003-04-30 Keith Packard <keithp@keithp.com>
2113 * Typo in bitstream foundry name
2115 2003-04-24 Keith Packard <keithp@keithp.com>
2117 * Eliminate italic_angle check for PS fonts
2119 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2121 * Getting closer to fixing /etc/fonts hard-coding.
2123 2003-04-22 Keith Packard <keithp@keithp.com>
2125 * Update autogen.sh to work with newer automake versions
2126 * Handle pattern elements moving during multiple edits
2128 2003-04-23 James Henstridge <james@daa.com.au>
2130 * doc/fontconfig-devel.sgml: close the <para> element.
2132 * doc/fcpattern.fncs: close the <para> element.
2134 * doc/func.sgml: close the <refsynopsisdiv> element.
2136 2003-04-22 Keith Packard <keithp@keithp.com
2138 * Update autogen.sh to work with newer automake versions
2139 * Handle pattern elements moving during multiple edits
2141 2003-04-17 Colin Walters <walters@debian.org>
2143 + Remove some unused variables, and initialize some other ones so
2144 gcc doesn't warn us.
2146 2003-04-16 Keith Packard <keithp@keithp.com>
2148 + tag version 2.1.94
2150 2003-04-16 Keith Packard <keithp@keithp.com>
2152 + add BDF property fetching support for foundry
2153 (from Juliusz Chroboczek)
2154 + add BDF property fetching support for width
2156 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2158 + Implemented foundry generation for Type 1 and TrueType
2160 2003-04-11 Gerard Escalante <g2@magestudios.net>
2162 + Retrieve information from Type1 FontInfo dictionaries
2164 2003-04-07 Colin Walters <walters@verbum.org>
2166 + src/Makefile.am: Fix dummy makefile target names when
2167 MS_LIB_AVAILABLE isn't set.
2169 2003-03-22 Tor Lillqvist <tml@iki.fi>
2171 Changes for Windows:
2173 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2175 + We don't want to hardcode the fonts.conf file location in the
2176 DLL, so we look up the DLL location at run-time in a DllMain()
2177 function. The fonts.conf location is deduced from that.
2179 + The colon can't be used as path separator on Windows,
2180 semicolon is used instead. File path components can be separated
2181 with either slash or backslash. Absolute paths can also begin
2182 with a drive letter.
2184 + Add internal function FcStrLastSlash that strrchr's the last
2185 slash, or backslash on Windows.
2187 + There is no link() on Windows. For atomicity checks, mkdir a
2188 lock directory instead.
2190 + In addition to HOME, also look for USERPROFILE.
2192 + Recognize the special font directory token WINDOWSFONTDIR, to
2193 use the system's font directory.
2195 + Remove the fontconfig-def.cpp that was obsolete. Add
2196 fontconfig.def(.in), without internal functions.
2198 + Add a fontconfig-zip(.in) script, used to build a binary
2201 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2202 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2203 to main package and man3/* to devel package
2205 + Added missing defattr(-, root, root) to main RPM package
2207 + Added HTML and text development documentation to -devel subpackage
2209 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2210 + Added back the configure macro options --disable-docs, otherwise
2211 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2212 version number) unconditionally, causing RPM to fail the build due
2213 to _unpackaged_files_terminate_build. We pick up the pregenerated
2214 docs with %doc already.
2216 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2217 + Removed commented out rpm macro define at top of spec file,
2218 replacing it with a simple explanation, since rpm macros are
2219 expanded by rpm even in comments.
2221 + Changed /usr/bin to _bindir in BuildRequires lines
2223 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2225 + Reorganized file manifest lists
2227 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2229 + fontconfig.spec.in: Improvements from Red Hat spec file.
2231 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2233 + docs/*.sgml: SGML fixes.
2235 Sat Mar 1 17:28:53 PST 2003 keithp
2236 + Ok, so the ChangeLog is a bit out of date
2238 + Lots of bugs fixed; most are in bugzilla, the
2239 biggest problems were in cache management where
2240 Owen discovered the library would lose badly when
2241 combining fonts-cache and ~/.fonts-cache data
2243 + Converted from autoconf to automake. This after
2244 getting patches accepted into libtool to allow
2245 the '-version-number' argument which lets
2246 packages set version numbers explicitly rather
2247 than the roundabout libtool way
2249 + Converted documentation to SGML using the docbook
2250 DTD. Now .txt and .html documents are installed
2251 in /usr/share/doc/fontconfig and there's no
2252 man page. Perhaps a man version can be written
2255 Sat Aug 31 15:21:22 PDT 2002 keithp
2256 + Xrender and Xft had several bugs related to
2257 rendering manually placed or poly-face text
2259 + Added more complete memory tracing in fontconfig
2260 Checked with (patched) mozilla and found no leaks
2262 + Updated Latin orthographies by comparing those from
2263 evertype.com with those from eki.ee. Tried to make
2264 sensible choices, including chars that occured in both
2265 and leaving some optional chars out that occured only
2268 Mon Aug 26 16:33:04 PDT 2002 keithp
2269 + Owen discovered that FcLangSetHasLang wasn't actually
2270 checking the language set.
2272 Mon Aug 26 13:37:23 PDT 2002 keithp
2273 + Append a version number to cache filenames
2275 Thu Aug 22 11:36:18 PDT 2002 keithp
2277 + Add "contains" and "not_contains" operators and elements to
2280 + Changed semantics of eq operator for LangSets to check for
2281 FcLangEqual so that any match will do
2283 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2284 of FcValueEqual to check for identical values when inserting into
2285 the results. This broke when the above semantic change was made,
2286 now it uses FcValueEqual which is "more correct" in any case.
2288 Thu Aug 22 00:32:29 PDT 2002 keithp
2290 + Reimplement FC_LANG as new datatype. Lists of strings
2291 was consuming over a megabyte of memory for 401 fonts.
2293 + Freeze patterns loaded from cache files. This shares
2294 common value lists and common patterns which saves
2295 considerable memory.
2297 + Change the denotation of 'constant' charsets to use special
2298 ref value instead of separate boolean.
2300 + Clean up leak tracing stuff, found several unannoted alloc/free
2303 Tue Aug 20 16:17:37 PDT 2002 keithp
2305 + Fix memory leak when parsing matrices from XML
2307 Mon Aug 19 11:57:27 PDT 2002 keithp
2309 + Fix autoconf files to pass FONTCONFIG_PATH on
2310 compile line so that ${prefix} gets substituted
2313 + Use getc_unlocked/putc_unlocked on systems that
2314 provide them to avoid damage done to stdio by posix
2316 + Eliminate FC_PATTERN and FcTypePattern in favor of
2317 an extended api for FcConfigSubstitute which takes
2318 both the font and the pattern.
2320 + Add 'sans serif' alias for 'sans-serif' as some apps
2321 can't handle hyphens in family names
2323 + Eliminate pretense of support for libxml2
2325 + Comment origins of Han orthographies
2327 Tue Jul 30 18:37:09 PDT 2002 keithp
2329 + Add binding property to edit element so that strong
2330 binding values may be inserted by the config file.
2331 The default remains weak.
2333 Sun 28 Jul 04:16:55 PDT 2002 keithp
2335 + Tagged release candidate 1 in the CVS tree and
2336 placed fcpackage.rc1.tar.gz for distribution
2338 Thu Aug 1 08:55:08 PDT 2002 keithp
2340 + Fixed autoconf builds to always specify install
2341 target files (for BSD). Also fixed to
2342 define FONTCONFIG_PATH in config.h so that
2343 nonstandard installs will actually work.