1 2005-12-12 Patrick Lam <plam@mit.edu>
2 * fc-cache/fc-cache.c (scanDirs):
3 * fc-cache/Makefile.am:
4 * src/fccache.c (FcDirCacheHashName):
6 Improve error message when fc-cache can't write the cache. Add
7 missing slash. Reported by Behdad. Incorporate Behdad's patch to
8 create /var/cache/fontconfig when appropriate.
10 2005-12-12 Behdad Esfahbod <behdad@cs.toronto.edu>
13 * src/fcxml.c (FcConfigGetAttribute):
15 Fix crash reported by Frederic Crozat when using libxml2.
17 2005-12-09 Patrick Lam <plam@mit.edu>
20 * fc-cache/Makefile.am:
23 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, FcCacheFileRead):
24 * fontconfig/fontconfig.h (FC_CACHE_SUFFIX):
25 * src/fccache.c (FcCacheSkipString, FcGlobalCacheLoad,
26 FcGlobalCacheSave, FcCacheNextOffset, FcDirCacheValid,
27 FcDirCacheHasCurrentArch, FcDirCacheHashName,
28 FcDirCacheOpen, FcDirCacheRead, FcDirCacheWrite):
30 Migrate cache files from fonts directories to
31 /var/cache/fontconfig. This helps make fontconfig FHS-compliant,
32 but requires that all caches get rebuilt.
34 Also, autogen.sh now needs the additional parameter
37 2005-12-07 Patrick Lam <plam@mit.edu>
38 * src/fcpat.c (FcPatternAddString):
40 Because we've changed FcPatternAddString to use FcStrStaticName
41 and not FcValueSave, explicitly handle the case of a null string.
43 2005-12-06 Patrick Lam <plam@mit.edu>
44 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
48 2005-12-05 Patrick Lam <plam@mit.edu>
49 * src/fcname.c (FcNameGetObjectType):
51 Don't assign types to user object names.
53 2005-12-05 Patrick Lam <plam@mit.edu>
54 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
56 Don't free strings that have been returned from FcStrStaticName.
58 2005-12-01 Patrick Lam <plam@mit.edu>
59 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
61 Add codepath for reading global cache files as well.
63 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
66 * conf.d/10-fonts.persian.conf:
69 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
71 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
74 * src/fcxml.c (FcConfigParseAndLoad):
76 Only add a config file to the set of config files once.
78 2005-11-29 Patrick Lam <plam@mit.edu>
79 * src/fcint.h (FcCacheBankToIndex);
81 Fix segfault by guarding array dereference.
83 2005-11-29 Dirk Mueller <dmueller@suse.de>
87 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
88 FcCacheBankToIndex, FcCacheBankToIndexMTF,
92 Refactor FcCacheBankToIndex into an inlineable part
93 (in fcint.h) which checks the front of the list and a
94 non-inlineable part which finds and moves the appropriate element
95 to the front of the list.
97 2005-11-29 Patrick Lam <plam@mit.edu>
98 * src/fccfg.c (FcConfigBuildFonts):
99 * src/fccache.c (FcCacheReadDirs):
101 Make the perf guys hate me a bit less: hoist the directory-name
102 FcConfigAcceptFont check for cached fonts up to directory cache
103 read time, rather than running it for each font.
105 2005-11-29 Patrick Lam <plam@mit.edu>
106 * src/fccfg.c (FcConfigBuildFonts):
108 * src/fcpat.c (FcPatternFindFullFname):
110 Don't make FcPatternFindFullFname available to fccfg, it's not
111 really safe. Instead go through FcPatternGetString (sorry,
112 perf guys.) Also, use globs for dirs as well.
114 2005-11-28 Patrick Lam <plam@mit.edu>
115 * src/fccfg.c (FcConfigBuildFonts):
119 2005-11-28 Patrick Lam <plam@mit.edu>
121 * src/fcpat.c (FcPatternFindFullFname):
122 * src/fccfg.c (FcConfigBuildFonts):
124 Fix problem dating back at least to 2.3.2 where globs weren't
125 being applied to patterns loaded from a cache.
127 2005-11-28 Patrick Lam <plam@mit.edu>
128 * doc/fontconfig-user.sgml:
130 Fix some obvious spelling mistakes.
132 2005-11-28 Dirk Mueller <dmueller@suse.com>
133 Stephan Kulow <coolo@suse.de>
136 * src/fcmatch.c (FcFontSetMatch):
138 Don't kill all fonts during match (oops!)
141 2005-11-25 Dirk Mueller <dmueller@suse.com>
142 Stephan Kulow <coolo@suse.de>
143 Michael Matz <matz@suse.de>
146 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
149 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
150 inline FcCompare into FcFontSetMatch and reorder the
151 loops, adding a boolean array which blocks patterns from future
152 consideration if they're known to not be best on some past
155 2005-11-26 Dirk Mueller <dmueller@suse.com>
158 * src/fcmatch.c (FcCompareValueList):
162 2005-11-25 Patrick Lam <plam@mit.edu>
163 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
165 Don't do random matching when bad objects are passed into
168 2005-11-25 Patrick Lam <plam@mit.edu>
170 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
171 FcPatternSerialize, FcPatternUnserialize,
172 FcValueListEnsureBank, FcValueListDistributeBytes,
173 FcValueListUnserialize):
175 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
176 _fcPatternElts, _fcValueLists for consistency.
178 2005-11-25 Dirk Mueller <dmueller@suse.com>
183 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
185 2005-11-25 Patrick Lam <plam@mit.edu>
187 * src/fccache.c (FcDirCacheConsume):
188 * src/fccharset.c (FcCharSetUnserialize):
189 * src/fcfs.c (FcFontSetUnserialize):
190 * src/fclang.c (FcLangSetUnserialize):
191 * src/fcname.c (FcObjectUnserialize):
192 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
193 FcPatternUnserialize):
195 Pass around FcCache *s to the Unserialize functions for extra
196 consistency (and less overhead, for what that's worth).
198 2005-11-24 Dirk Mueller <dmueller@suse.com>
202 * src/fcmatch.c (FcCompare*, FcFontSetSort):
203 * src/fcname.c (FcNameUnparseValue):
205 Inline the *PtrU functions to gain perf.
206 Remove unneeded params for the FcCompare* functions.
208 2005-11-24 Dirk Mueller <dmueller@suse.com>
211 * src/fcint.h, fontconfig/fontconfig.h:
213 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
215 * src/fcpat.c, src/fcint.h, src/fcname.c:
217 Check for type validity during FcPatternAddWithBinding, don't
218 verify type in FcFontMatch, don't call FcCanonicalize here
219 (which always does a deep copy).
221 2005-11-24 Dirk Mueller <dmueller@suse.com>
224 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
225 * src/fcpat.c (FcPatternAddWithBinding):
227 Make FcCompareString and FcCompareFamily less expensive.
228 Only add a value for FC_FAMILY if the proposed value is a string.
230 2005-11-24 Dirk Mueller <dmueller@suse.com>
233 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
234 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
235 * src/fcint.h (FcDebug):
237 Inline FcDebug invocations and only initialize once, in FcInit*.
238 Improve debug msg in FcPatternPrint.
240 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
243 * fontconfig/fontconfig.h:
246 Minor code warning cleanups.
248 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
251 * fc-match/fc-match.c (main):
253 Make getopt_long accept -s parameter to fc-match as well.
255 2005-11-21 Dirk Mueller <dmueller@suse.com>
258 * src/fcmatch.c (FcCompareValueList):
260 Manually perform inlining & partial redundancy elimination to
261 reduce calls to FcValueListPtrU.
263 2005-11-21 Dirk Mueller <dmueller@suse.com>
266 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
267 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
269 Only invoke strlen() when really necessary.
271 2005-11-19 Matthias Clasen <mclasen@redhat.com>
275 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
280 Get rid of the use of freetype internal headers in fcfreetype.c,
281 since those headers will go away with freetype 2.2. Replace with
282 public domain ftglue code from pango. Note that the patch removes
283 some extra error checking in FT_Get_BDF_Property() and comments
284 out the skipping of empty pcf fonts.
286 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
289 * fc-lang/fc-lang.c (main):
291 Further fix of patch from 2005-11-04: miscounted numbers count
292 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
293 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
295 Removed leafidx_count and numbers_count since they are the same
296 and replaced them with offset_count.
298 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
301 * fc-cat/fc-cat.c (main):
303 Don't crash when fc-cat invoked with no arguments.
305 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
308 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
310 Fix invalid read access caused by premature free and
311 GCC4 warnings in libxml2 codepath.
313 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
316 * src/fccfg.c (FcConfigValues):
318 List iteration not needed in FcConfigValues, since it's building
319 up the list itself; we can just strip FcVoid elements during
322 2005-11-17 Patrick Lam <plam@mit.edu>
323 * src/fccfg.c (FcConfigValues):
325 Fix crash on invalid constants in config files (forgot to update
326 a pointer upon list iteration.)
328 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
331 * src/fcxml.c (FcTypecheckExpr):
333 Complain about invalid constants in config files.
335 2005-11-17 Andreas Schwab <schwab@suse.de>
338 * src/fccache.c (FcGlobalCacheSave):
340 Don't add current_arch_start more than once.
342 2005-11-16 Patrick Lam <plam@mit.edu>
343 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
344 * src/fcfs.c (FcFontSetUnserialize):
345 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
346 * src/fcpat.c (FcStrUnserialize):
348 Fix ordering of ALIGN with respect to saving block_ptr; add
349 another ALIGN to fcfs.c.
351 2005-11-16 Patrick Lam <plam@mit.edu>
352 * src/fccache.c (FcDirCacheProduce)
354 Fix case where alignment bytes bumped up metadata->count
355 causing unwarranted failures to write cache files.
356 (Reported by Stephan Kulow).
358 2005-11-16 Patrick Lam <plam@mit.edu>
359 * src/fccache.c (FcDirCacheProduce):
360 * src/fccharset.c (FcCharSetDistributeBytes):
361 * src/fcfs.c (FcFontSetDistributeBytes):
363 * src/fclang.c (FcLangSetDistributeBytes):
364 * src/fcname.c (FcObjectDistributeBytes):
365 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
368 Add *NeededBytesAlign(), which overestimates the padding which is
369 later added by the new ALIGN macro. Fix alignment problems on
370 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
371 version by Andreas Schwab).
373 2005-11-16 Stephan Kulow <coolo@kde.org>
378 Use sysconf to determine proper PAGESIZE value; this
379 appears to be POSIX-compliant. (reported by Andreas Schwab)
381 2005-11-04 Patrick Lam <plam@mit.edu>
387 Fix bug 2878 (excessive relocations at startup for charsets,
388 reported by Ross Burton): fc-lang/fc-lang now creates the
389 static form of the langset, not the dynamic form, so that
390 the charsets should now be in .rodata.
392 2005-11-04 Patrick Lam <plam@mit.edu>
393 * src/fcdir.c (FcDirScanConfig):
395 Add test for validity of directory caches that
396 somehow got lost (reported by make distcheck).
398 2005-11-04 Patrick Lam <plam@mit.edu>
402 * fontconfig/fontconfig.h:
404 Bump version to 2.3.92.
406 2005-11-02 Patrick Lam <plam@mit.edu>
407 * src/fcpat.c (FcPatternDuplicate):
409 Fix argument ordering problem in call to FcPatternTransferFullFname.
411 2005-11-02 Patrick Lam <plam@mit.edu>
412 * src/fcfreetype.c (FcFreetypeQuery):
413 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
414 FcPatternTransferFullFname):
416 Fix warnings and embarrassing double-free error.
418 2005-11-02 Zhe Su <zsu@novell.com>
423 Change the rule for artificial emboldening in fonts.conf.in. This
424 enables the support for artificial emboldening included in cairo.
426 2005-11-02 Patrick Lam <plam@mit.edu>
427 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
429 Don't zero out full names for FC_REF_CONSTANT fonts;
430 also, duplicate full names when transferring, and free
431 full names when freeing the associated font.
432 Reported by Jinghua Luo.
434 2005-11-02 Patrick Lam <plam@mit.edu>
435 * fc-cache/fc-cache.c (scanDirs):
436 * src/fcpat.c (FcValueListSerialize):
438 Revert the previous patch and commit the correct patch:
439 I forgot a canonicalization in FcValueListSerialize, so
440 that it would choke on already-serialized input files. Duh!
442 2005-11-02 Patrick Lam <plam@mit.edu>
443 * fc-cache/fc-cache.c (scanDirs):
445 Forcibly rescan a directory before writing a fresh local
446 cache file for that directory, fixing the losing-fonts
447 problem reported by Mike Fabian and also apparently the
448 font cache file corruption.
450 2005-11-02 Patrick Lam <plam@mit.edu>
451 * src/fccache.c (FcGlobalCacheLoad):
453 Fix thinko: actually, the whole global cache is stale
454 if the global cache is older than the (newest) config file.
456 2005-11-02 Patrick Lam <plam@mit.edu>
457 * src/fccache.c (FcGlobalCacheLoad):
458 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
461 Declare the global cache of a directory's contents to be stale if
462 the directory is newer than the (newest) configuration file.
464 2005-10-31 Patrick Lam <plam@mit.edu>
466 * src/fclist.c (FcListAppend):
467 * src/fcmatch.c (FcFontRenderPrepare):
468 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
469 FcPatternFreeze, FcPatternBaseFreeze):
471 Copy the full pathname whenever duplicating an FcPattern; otherwise,
472 applications continue breaking.
474 2005-10-31 Patrick Lam <plam@mit.edu>
475 * fc-cat/fc-cat.c (FcCacheFileRead, main):
476 * src/fcfreetype.c (FcFreeTypeQuery):
478 Fix small memory error (tried to free argv); use basename and
479 dirname correctly (they can modify their arguments).
481 2005-10-31 Patrick Lam <plam@mit.edu>
489 Reinstate basename patch, but keep a hash table linking FcPatterns
490 to their fully-qualified font names for clients' benefit. Clients
491 only pay for the font names once they request the FC_FILE property
492 from an FcPattern, but the font name is malloc'd at that point (i.e.
493 not mmapped: that's impossible, since it may vary between machines.)
494 Clients do have to pay for a copy of the path name per cache file.
496 Note that FcPatternGetString now does some rewriting if you ask
497 for an FC_FILE, appending the pathname as appropriate.
499 2005-10-31 Patrick Lam <plam@mit.edu>
500 * src/fcfreetype.c (FcFreeTypeQuery):
502 Revert basename patch, which breaks fontconfig clients on my system.
504 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
507 * fontconfig/fonts.conf.in:
508 * fontconfig/fontconfig.h:
512 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
513 to load embedded bitmaps or not.
515 2005-10-25 Patrick Lam <plam@mit.edu>
516 * src/fcfreetype.c (FcFreeTypeQuery):
518 Only add basename to patterns' FC_FILE element, not any part of
521 2005-10-22 Patrick Lam <plam@mit.edu>
524 Add some more consts, fixing more GCC4 warnings.
526 2005-10-22 Zhe Su <zsu@novell.com>
529 Support localized font family and style names.
530 This has been reported to break old apps like xfd, but modern
531 (gtk+/qt/mozilla) apps work fine.
533 2005-10-21 Patrick Lam <plam@mit.edu>
534 * src/fccache.c (FcGlobalCacheLoad):
536 Destroy the global cache file if it's terminally broken. (reported by
539 2005-10-21 Patrick Lam <plam@mit.edu>
540 * fc-list/fc-list.c (main):
541 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
542 * fontconfig/fontconfig.h:
544 Prevent fc-list from escaping strings when printing them (reported by
547 2005-10-20 Marcus Meissner <meissner@suse.de>
550 * fontconfig/fontconfig.h:
552 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
554 2005-10-14 Ross Burton <ross@burtonini.com>
557 * fc-glyphname/fc-glyphname.c:
560 Add consts to variables so as to move arrays into .rodata.
562 2005-10-14 Mike Fabian <mfabian@suse.de>
565 * src/fccache.c (FcDirCacheUnlink):
567 Check existence of directory cache file before attempting to unlink.
569 2005-10-13 Patrick Lam <plam@mit.edu>
570 * src/fccache.c (FcDirCacheUnlink):
572 Fix flipped return value on unlink. (Reported by Mike Fabian)
574 2005-10-12 Patrick Lam <plam@mit.edu>
577 * src/fcdir.c (FcDirScanConfig):
580 When fc-cache is run without --force, use directory cache files
581 to speed up fc-cache run time. (Reported by Mike Fabian)
583 2005-10-06 Patrick Lam <plam@mit.edu>
585 * src/fcname.c (FcObjectToPtr):
586 * src/fcpat.c (FcStrStaticName):
588 Add padding to make valgrind and glibc not hate each other
589 when calling strlen().
591 2005-10-05 Simos Xenitellis <simos74@gmx.net>
592 reviewed by: plam & keithp
596 Modify config file to use Greek fonts before Asian fonts with
599 2005-10-05 Christian Biesinger <cbiesinger@web.de>
600 reviewed by: plam & keithp
604 Use libtool -no-undefined flag on all platforms.
606 2005-10-05 Patrick Lam <plam@mit.edu>
607 * src/fccache.c (FcCacheHaveBank):
609 Implement move-to-front array for banks (perf regression
610 reported by Ronny V. Vindenes).
612 2005-10-04 Patrick Lam <plam@mit.edu>
613 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
614 FcDirCacheHasCurrentArch):
615 * fc-cache/fc-cache.c (scanDirs):
616 * fontconfig/fontconfig.h:
618 Add new API which unlinks directory caches and checks dir caches
619 for existence of appropriate sections. Fix fc-cache to unlink
620 stale cache files and save directory caches that lack relevant
623 2005-10-03 Patrick Lam <plam@mit.edu>
624 * src/fccache.c (FcDirCacheValid):
626 Ensure that a directory cache has the appropriate section
627 before reporting that it is valid (reported by Matthias Clasen).
629 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
637 Use libxml2 if requested (with --enable-libxml2) or if
638 expat is not available.
640 2005-09-29 Patrick Lam <plam@mit.edu>
641 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
643 Fix multi-arch cache files: compute the position for the
644 block to be added using info from OrigFile, not NewFile.
646 2005-09-28 Patrick Lam <plam@mit.edu>
647 * src/fccache.c (FcCacheMachineSignature):
649 Cast results of sizeof() to unsigned int to get rid of
650 warnings on x86_64 (thanks Matthias Clasen).
652 2005-09-27 Patrick Lam <plam@mit.edu>
653 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
656 Use FcAtomic to rewrite cache files.
658 2005-09-27 Patrick Lam <plam@mit.edu>
660 * src/fccache.c (FcDirCacheWrite):
662 Don't unlink the fonts.cache-2 file even if there's no data
663 to write; just write an empty cache file. (thanks Lubos Lunak)
665 2005-09-27 Patrick Lam <plam@mit.edu>
667 * src/fccache.c (FcDirCacheWrite):
669 Allocate room for the subdirectory names in each
670 directory cache. Thanks to James Cloos for finding
671 and diagnosing this bug!
673 2005-09-22 Patrick Lam <plam@mit.edu>
675 * fc-cache/fc-cache.sgml:
676 * src/fccache.c (FcDirCacheWrite):
677 * src/fccache.h (struct FcCache):
679 Update documentation -- fc-cache's man page now says that you
680 need to run fc-cache once per cached architecture; add some
681 documentation to the FcCache structure.
683 Make fc-cache write out fonts.cache-2 files for directories with
684 no fonts (i.e. only subdirectories).
686 2005-09-22 Patrick Lam <plam@mit.edu>
688 * fc-cache/fc-cache.sgml:
690 * fc-glyphname/fc-glyphname.c:
696 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
701 * fontconfig/fcprivate.h:
702 * fontconfig/fontconfig.h:
716 Implement new mmaped cache for font information.
717 Bump so revision to 2.3.90.
719 2005-07-25 Keith Packard <keithp@keithp.com>
721 * doc/fontconfig-user.sgml:
722 * fc-glyphname/fc-glyphname.c: (scan), (main):
723 * fc-lang/fc-lang.c: (FcConfigHome):
724 * fc-match/fc-match.c: (main):
725 * src/fccfg.c: (FcConfigHome):
726 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
727 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
728 (addtag), (FcFontCapabilities):
729 * src/fcpat.c: (FcValueListEntCreate):
730 * src/fcstr.c: (FcStrCaseWalkerInit):
731 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
733 Various GCC 4 cleanups for signed vs unsigned char
735 Match only [0-9]*.conf files in <include>{directory}</include>
736 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
738 2005-07-15 Carl Worth <cworth@cworth.org>
741 * src/fcinit.c: (FcFini):
742 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
745 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
746 Pull the FcObjectStateName hash table out to file scope, and add
747 FcObjectStaticNameFini so that FcFini will cleanup this hash table
750 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
753 2005-06-16 Patrick Lam <plam@MIT.EDU>
757 * src/fccfg.c: (FcConfigCompareValue):
758 Make FcOpNotContains use FcStrStr for strings so that
759 it matches semantics for !FcOpContains.
761 2005-05-20 Keith Packard <keithp@keithp.com>
765 Move fontconfig source package to libs as per override
767 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
769 reviewed by: Mike Fabian
772 The ka.orth file requires several characters which are not
773 used anymore in modern Georgian and which are missing in the free
774 Georgian TrueType fonts downloadable at:
776 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
778 2005-04-27 Keith Packard <keithp@keithp.com>
782 Update date to real 2.3.2 release date.
783 Fix change attributions
785 2005-04-27 Keith Packard <keithp@keithp.com>
788 Bump so revision for 2.3.2
789 * fc-cache/fc-cache.c: (scanDirs):
790 Fix a few minor leaks in error cases.
792 2005-04-23 Keith Packard <keithp@keithp.com>
797 * fontconfig/fontconfig.h:
798 Update for version 2.3.2
800 2005-04-21 Keith Packard <keithp@keithp.com>
802 * debian/fontconfig.postinst:
803 Don't force bitmap font enable in default
804 configuration; allows users to override this in
814 * debian/po/pt_BR.po:
815 * debian/po/templates.pot:
817 * debian/po/zh_CN.po:
820 * fc-cache/fc-cache.c: (main):
821 Destroy font configuration on exit to help valgrind
824 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
825 (FcFreeTypeCheckGlyph):
826 Use own transcoding routines in preference to iconv
827 which appears to have leaks in some translators.
828 Call iconv_close after using iconv (oops).
830 Prefer unicode encoding of Euro char as some
831 fonts mis-encode Euro in other ones.
833 Must fetch bitmap glyphs to get width values
834 to check for monospace/dual-width fonts.
836 2005-04-13 Ross Burton <ross@burtonini.com>
839 Check that a pattern isn't already frozen in FcPatternFreeze.
841 2005-03-31 Ross Burton <ross@burtonini.com>
846 Run all FcPattern objects through FcObjectStaticName, so that
847 compares can be done on pointers instead of strings (#2659)
849 2005-03-17 Tor Lillqvist <tml@novell.com>
851 * src/fontconfig.def.in: Add the .dll to the dll name.
853 2005-03-10 Keith Packard <keithp@keithp.com>
855 * debian/README.Debian:
856 Update to reflect configuration changes
858 * debian/fontconfig.postinst:
859 Fix Autohint vs Autohinter mistake
860 * debian/fontconfig.templates:
861 Adopt changes from Josselin Mouette for configuration descriptions
862 Update debian to version 2.3.1-2
864 2005-03-08 Keith Packard <keithp@keithp.com>
868 Update debian for 2.3.1
870 2005-03-09 Tor Lillqvist <tml@novell.com>
872 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
875 * src/fccfg.c (FcConfigFileExists): Check also drive letter
878 2005-03-08 Keith Packard <keithp@keithp.com>
882 * fontconfig/fontconfig.h:
885 2005-03-05 Keith Packard <keithp@keithp.com>
887 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
888 Include space and remove numbers from valid script tags.
889 This ensures that tags like 'lao ' work while rejecting
890 those which have any digits.
891 Eliminate a spurious debugging variable (len)
893 2005-03-05 Keith Packard <keithp@keithp.com>
895 * src/fcfreetype.c: (addtag), (GetScriptTags),
896 (FcFontCapabilities):
897 Rework GSUB/GPOS script parsing to survive broken fonts.
898 Thanks for the broken font go to Manish Singh
900 2005-03-05 Keith Packard <keithp@keithp.com>
905 * debian/fontconfig.config:
906 * debian/fontconfig.templates:
908 Include 2.3 release information in changelog
909 Add Josselin Mouette as an Uploader
910 Set hinting_type to low priority configuration option
913 * debian/fontconfig.postinst:
914 yes_bitmaps.conf -> yes-bitmaps.conf
920 2005-03-02 Keith Packard <keithp@keithp.com>
923 * conf.d/Makefile.am:
924 * conf.d/autohint.conf:
925 * conf.d/no-sub-pixel.conf:
926 * conf.d/sub-pixel.conf:
927 * conf.d/unhinted.conf:
928 * debian/autohint.conf:
929 * debian/fontconfig.install:
930 * debian/fontconfig.postinst:
931 * debian/fontconfig.templates:
932 * debian/no-sub-pixel.conf:
933 * debian/unhinted.conf:
934 Move debian-specific conf file examples upstream.
936 Sub-pixel configuration examples must smash subpixel value
937 as Xft always sets it from X.
939 Change sub-pixel rendering debconf descriptions from
940 Enable/Disable to Always/Never.
942 2005-03-02 Keith Packard <keithp@keithp.com>
947 Ignore more build detritus
950 Add debian package construction stuff.
952 * config/config.guess:
954 Update to newer versions of these tools
957 Get library manuals to build again (we love automake).
959 * debian/README.Debian:
960 * debian/autohint.conf:
965 * debian/fontconfig-udeb.install:
966 * debian/fontconfig.config:
967 * debian/fontconfig.defoma:
968 * debian/fontconfig.dirs:
969 * debian/fontconfig.install:
970 * debian/fontconfig.postinst:
971 * debian/fontconfig.postrm:
972 * debian/fontconfig.templates:
973 * debian/libfontconfig1-dev.install:
974 * debian/libfontconfig1.install:
975 * debian/local.conf.md5sum:
976 * debian/no-sub-pixel.conf:
977 * debian/po/POTFILES.in:
986 * debian/po/pt_BR.po:
987 * debian/po/templates.pot:
989 * debian/po/zh_CN.po:
991 * debian/unhinted.conf:
992 Update debian build system to switch maintainers and
993 deal with 2.3 functionality
995 2005-03-01 Keith Packard <keithp@keithp.com>
999 * fontconfig/fontconfig.h:
1002 2005-03-01 Keith Packard <keithp@keithp.com>
1005 Generate and install PDF versions of the manuals
1007 * doc/fcpattern.fncs:
1010 * doc/fcstring.fncs:
1011 Add missing exported functions, fix data types
1013 * doc/fontconfig-devel.sgml:
1014 Add missing pattern elements.
1016 * doc/fontconfig-user.sgml:
1017 Add missing pattern elements. Document conf.d usage,
1018 clarify available orthography list. Fix some config file
1019 attributes. Complete list of constants.
1021 * fontconfig/fontconfig.h:
1022 Mark FC_SOURCE deprecated.
1024 * src/fcfreetype.c: (FcFreeTypeQuery):
1025 Don't set FC_SOURCE any longer.
1027 2005-02-28 Keith Packard <keithp@keithp.com>
1030 * conf.d/Makefile.am:
1032 * conf.d/no-bitmaps.conf:
1033 * conf.d/sub-pixel.conf:
1034 * conf.d/yes-bitmaps.conf:
1036 Create prototype /etc/fonts/conf.d directory with a few
1037 sample configuration files.
1038 Deprecate use of local.conf for local customizations in favor of
1039 this directory based scheme which is more easily integrated into
1040 installation systems.
1043 Tag FC_EMBOLDEN as a boolean variable
1045 2005-02-10 Keith Packard <keithp@keithp.com>
1047 reviewed by: pborelli@katamail.com
1049 * src/fcdir.c: (FcFileScanConfig):
1050 Free patterns from fonts which are rejected by configuration
1053 2005-01-28 Keith Packard <keithp@keithp.com>
1057 * fontconfig/fontconfig.h:
1058 Update for version 2.2.99
1060 2005-01-28 Keith Packard <keithp@keithp.com>
1063 Add a few pointers (#2284, #2285)
1065 2005-01-28 Keith Packard <keithp@keithp.com>
1068 * src/fcname.c: (FcNameBool):
1069 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1070 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1071 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1072 Polite typechecking for test and edit expressions. Helps
1073 catch errors in the font configuration. (bug 229)
1075 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1077 reviewed by: Keith Packard <keithp@keithp.com>
1080 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1082 2005-01-13 Keith Packard <keithp@keithp.com>
1084 * doc/fontconfig-user.sgml:
1085 Add SEE ALSO section (bug 2085)
1087 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1089 reviewed by: Keith Packard <keithp@keithp.com>
1094 * fc-case/Makefile.am:
1095 * fc-glyphname/Makefile.am:
1096 * fc-lang/Makefile.am:
1097 * src/fontconfig.def.in:
1098 Cross compiling fixes (bug 280)
1100 2005-01-13 Keith Packard <keithp@keithp.com>
1103 Update blanks list (Closes bug 86)
1105 2005-01-04 Keith Packard <keithp@keithp.com>
1107 * src/fccache.c: (FcCacheFontSetAdd):
1108 Verify that every font pattern loaded from cache has
1109 both FC_FILE and FC_FAMILY entries.
1110 Attempt to fix bug #2219.
1112 2004-12-29 Keith Packard <keithp@keithp.com>
1116 * fontconfig/fontconfig.h:
1117 Update for version 2.2.98
1119 2004-12-29 Keith Packard <keithp@keithp.com>
1121 * fontconfig/fontconfig.h:
1122 Document ASCII limitations of Fc character conversion macros
1123 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1124 Fix off-by-one error in utf-8 case walking code.
1125 Add FcStrDowncase (useful for testing case conversion functions)
1127 2004-12-29 Keith Packard <keithp@keithp.com>
1130 * fc-case/.cvsignore:
1131 clean up CVS ignore lists
1132 * fc-lang/iso-3166.txt:
1133 Add territory database
1135 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1137 Reviewed by: Keith Packard
1140 Remove Han characters from Korean orthography
1142 2004-12-29 Keith Packard <keithp@keithp.com>
1145 Reorder utility programs to make sure fc-case is run before fc-lang
1146 as fc-lang uses fcstr.c which uses fccase.h
1150 2004-12-29 Keith Packard <keithp@keithp.com>
1153 Adopt some RedHat suggestions for standard font configuration.
1157 * fc-case/CaseFolding.txt:
1158 * fc-case/Makefile.am:
1159 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1160 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1161 (dump), (parseRaw), (caseFoldReadRaw), (main):
1162 * fc-case/fccase.tmpl.h:
1163 Add new helper program 'fc-case' to construct case folding
1164 tables from standard Unicode CaseFolding.txt file
1167 * src/fclist.c: (FcListValueHash):
1168 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1169 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1170 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1171 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1172 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1173 Re-implement case insensitive functions with Unicode
1174 aware versions (including full case folding mappings)
1176 2004-12-13 Keith Packard <keithp@keithp.com>
1178 reviewed by: Owen Taylor <otaylor@redhat.com>
1180 * src/fcmatch.c: (FcFontSetSort):
1181 I changed FcFontSetSort to respect the generic aliases better
1182 in the face of language matching.
1184 What I did was to ammend the strict sort order used by FcFontSort so
1185 that it 'satisfies' the language specified in the pattern by locating
1186 the best matching font supporting each pattern language and then
1187 ignores language in the remaining fonts for purposes of matching.
1189 So, when asking for 'sans:lang=en', you'll get an English font first,
1190 and then the remaining fonts sorted with respect to the 'sans' alias
1191 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1193 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1195 reviewed by: Keith Packard <keithp@keithp.com>
1197 * fontconfig/fontconfig.h:
1200 Configuration changes to request synthetic emboldening of
1201 fonts. The actual emboldening code will live in Xft.
1203 2004-12-09 John Thacker <thacker@math.cornell.edu>
1205 reviewed by: Keith Packard <keithp@keithp.com>
1209 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1210 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1211 и), and don't even appear in KOI8-R. (The hypothesis that they
1212 don't appear in KOI8-R due to their similarity with Latin I and i is
1213 eliminated by their presence in KOI8-U.) I have a couple of fonts
1214 with Russian support that don't have the letter.
1216 Therefore, 0406 and 0456 should be removed from or commented out of
1219 2004-12-06 michael meeks <mmeeks@novell.com>
1221 Reviewed by: Keith Packard <keithp@keithp.com>
1223 * src/fcinit.c: (FcMemReport):
1225 * src/fclist.c: (FcObjectSetAdd):
1226 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1227 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1228 * src/fcxml.c: (FcParsePatelt):
1229 memoize strings and share a single copy for all uses. Note that
1230 this could be improved further by using statically allocated blocks
1231 and gluing multiple strings together, but I'm basically lazy.
1232 In my environment with 800 font files, I get a savings of about 90KB.
1234 2004-12-06 Keith Packard <keithp@keithp.com>
1238 * config/Makedefs.in:
1241 * doc/fcatomic.fncs:
1242 * doc/fcblanks.fncs:
1243 * doc/fccharset.fncs:
1244 * doc/fcconfig.fncs:
1245 * doc/fcconstant.fncs:
1247 * doc/fcfontset.fncs:
1248 * doc/fcfreetype.fncs:
1250 * doc/fcmatrix.fncs:
1251 * doc/fcobjectset.fncs:
1252 * doc/fcobjecttype.fncs:
1253 * doc/fcpattern.fncs:
1254 * doc/fcstring.fncs:
1255 * doc/fcstrset.fncs:
1257 * doc/fontconfig-devel.sgml:
1258 * doc/fontconfig-user.sgml:
1260 * doc/version.sgml.in:
1261 * fc-cache/Makefile.am:
1262 * fc-cache/fc-cache.c:
1263 * fc-glyphname/Makefile.am:
1264 * fc-glyphname/fc-glyphname.c:
1265 * fc-glyphname/fcglyphname.tmpl.h:
1266 * fc-lang/Makefile.am:
1276 * fc-lang/az_ir.orth:
1310 * fc-lang/fc-lang.c:
1311 * fc-lang/fc-lang.man:
1312 * fc-lang/fclang.tmpl.h:
1357 * fc-lang/ku_ir.orth:
1390 * fc-lang/ps_af.orth:
1391 * fc-lang/ps_pk.orth:
1420 * fc-lang/ti_er.orth:
1421 * fc-lang/ti_et.orth:
1447 * fc-lang/zh_cn.orth:
1448 * fc-lang/zh_hk.orth:
1449 * fc-lang/zh_mo.orth:
1450 * fc-lang/zh_sg.orth:
1451 * fc-lang/zh_tw.orth:
1453 * fc-list/Makefile.am:
1454 * fc-list/fc-list.c:
1455 * fc-match/Makefile.am:
1456 * fc-match/fc-match.1:
1457 * fc-match/fc-match.c:
1458 * fontconfig/fcfreetype.h:
1459 * fontconfig/fcprivate.h:
1460 * fontconfig/fontconfig.h:
1481 Change files from ISO-Latin-1 to UTF-8
1483 2004-12-04 Keith Packard <keithp@keithp.com>
1486 Update links to new freedesktop.org locations
1488 Add uninstall-local to get rid of fonts.conf and local.conf if they
1489 match the distributed versions. Fixes 'make distcheck'
1491 2004-12-04 Keith Packard <keithp@keithp.com>
1495 * fontconfig/fontconfig.h:
1496 Updates for version 2.2.97
1498 2004-12-04 Owen Taylor <otaylor@redhat.com>
1500 reviewed by: Keith Packard <keithp@keithp.com>
1502 * fc-cache/fc-cache.c: (main):
1503 Sleep for two seconds before exiting to make sure timestamps
1504 for future changes have distinct mod times in the file system.
1507 Add Punjabi orthography. Bug #1671.
1509 2004-12-04 Keith Packard <keithp@keithp.com>
1512 Just remove the FC_FONTDATE -- it has locale issues and
1513 annoys redhat multi-arch installs. Now that all X fonts are
1514 included without prejudice, the chances of the date being at
1515 all interesting are rather limited. Bug #505.
1517 Add copyright and license
1519 2004-12-04 Keith Packard <keithp@keithp.com>
1522 Change default set of fonts to include all of
1523 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1524 * doc/fontconfig-user.sgml:
1525 Document new <include>directory-name</include> semantics
1527 add <include ignore_missing="yes">conf.d</include>
1529 Add selectfont to ignore bitmap fonts, add comment for
1530 selectfont which accepts bitmap fonts.
1533 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1534 Allow <include> configuration elements to reference directories.
1535 Parse and load all files of the form [0-9]* in sorted order.
1537 2004-12-04 Keith Packard <keithp@keithp.com>
1540 Report command line for $srcdir/configure accurately.
1543 2004-12-04 Keith Packard <keithp@keithp.com>
1545 * src/fcfreetype.c: (FcFreeTypeQuery):
1546 Check for non-empty face->family_name and face->style_name
1547 before using those for the font. Empty names match everything.
1550 2004-12-04 Keith Packard <keithp@keithp.com>
1553 * fontconfig/fontconfig.h:
1554 * src/fcfreetype.c: (FcFreeTypeQuery):
1556 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1557 available. This provides font file format information (BDF, Type 1,
1558 PCF, TrueType) for each font. Closes #109.
1560 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1562 reviewed by: Keith Packard <keithp@keithp.com>
1564 * doc/fontconfig-user.sgml:
1567 * fontconfig/fontconfig.h:
1568 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1569 (GetScriptTags), (FcFontCapabilities):
1571 Add detection for font capabilities (bug #105)
1573 2004-12-04 Keith Packard <keithp@keithp.com>
1576 Move existing fonts.conf to fonts.conf.bak
1579 Add detection of iconv
1581 * doc/fcpattern.fncs:
1582 * doc/fontconfig-devel.sgml:
1583 * doc/fontconfig-user.sgml:
1585 Document new selectfont elements
1588 Switch to UTF-8 in comment
1590 * fontconfig/fontconfig.h:
1592 Add fullname, and family/style/fullname language entries
1594 * src/fccache.c: (FcCacheFontSetAdd):
1595 * src/fcdir.c: (FcFileScanConfig):
1596 Respect selectfont/*/glob
1599 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1600 (FcConfigCompareValue), (FcConfigPatternsAdd),
1601 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1602 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1603 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1604 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1605 Add support for selectfont
1607 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1608 (FcStringInPatternElement), (FcFreeTypeQuery):
1609 Add multi-lingual family/style/fullname support
1611 * src/fclist.c: (FcListPatternMatchAny):
1612 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1614 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1615 (FcObjectStaticName):
1616 Add new FcPatternRemove/FcPatternAppend.
1617 FcObjectStaticName stores computed pattern element names which
1618 are required to be static.
1620 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1625 Remove spurious / after $(DESTDIR)
1627 2004-06-30 Keith Packard <keithp@keithp.com>
1631 * fontconfig/fontconfig.h:
1634 2004-06-30 Keith Packard <keithp@keithp.com>
1636 Provided by: Lubos Lunak <l.lunak@suse.cz>
1638 * src/fccfg.c: (FcConfigUptoDate):
1639 However FcConfigUptoDate() doesn't seem to work. See the attached
1640 patch. First there's an obvious misplaced parenthesis making it
1641 return always false, and second, even this call fails to detect font
1642 changes (e.g. adding a new font to
1643 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1644 well. The problem seems to be triggered by my fonts.conf specifying
1645 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1646 doesn't include subdirs, unlike config->fontDirs.
1648 2004-06-03 Keith Packard <keithp@keithp.com>
1650 * fontconfig/fontconfig.h:
1651 Remove comma at end of FcResult enum definition.
1653 2004-05-29 Keith Packard <keithp@keithp.com>
1656 Add steps to md5sum release
1658 2004-05-29 Keith Packard <keithp@keithp.com>
1662 * fontconfig/fontconfig.h:
1665 2004-05-29 Keith Packard <keithp@keithp.com>
1667 * fontconfig/fontconfig.h:
1668 * src/fcmatch.c: (FcFontSetMatch):
1669 Add FcResultOutOfMemory to provide an accurate error when
1670 FcFontSetMatch fails in this way
1673 Make #warning about lacking various FreeType features indicate
1674 which version those features appeared so users know how to
1675 fix the problem (Thanks to Anton Tropashko)
1677 2004-05-05 Keith Packard <keithp@keithp.com>
1679 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1680 Replace MIN/MAX/ABS macros which happen to have come
1681 from FreeType with fontconfig-specific ones (FC_*)
1683 2004-04-23 Keith Packard <keithp@keithp.com>
1686 Extend release preparation instructions to include
1687 notification and distribution steps
1689 2004-04-23 Keith Packard <keithp@keithp.com>
1693 * fontconfig/fontconfig.h:
1694 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1696 2004-04-23 Keith Packard <keithp@keithp.com>
1699 Ignore a few more autotool files
1701 2004-04-14 Keith Packard <keithp@keithp.com>
1704 Add instructions for doing a release
1706 * fontconfig.spec.in:
1707 clean up .spec file; perhaps this will be useful to somebody...
1711 * fontconfig/fontconfig.h:
1714 * fc-lang/fc-lang.c:
1715 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1717 * fc-glyphname/Makefile.am:
1718 * fc-lang/Makefile.am:
1719 * fc-list/Makefile.am:
1720 * fc-match/Makefile.am:
1722 Add WARN_CFLAGS to pass -W flags for GCC systems
1724 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1725 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1726 Change various char types around to match across
1728 Fixed bug in using available_sizes[i].height which
1729 is in pixels, not 64ths of a pixel.
1731 2004-03-06 Keith Packard <keithp@keithp.com>
1733 * src/fcfreetype.c: (FcFreeTypeQuery):
1734 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1735 matches looking for explicit values prefer exact matches
1737 2004-03-02 Keith Packard <keithp@keithp.com>
1739 Supplied by: mfabian@suse.de (Mike FABIAN)
1741 * src/fcfreetype.c: (FcFreeTypeQuery):
1742 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1743 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1745 2004-02-21 Manish Singh <yosh@gimp.org>
1747 * fc-glyphname/fc-glyphname.c: (main):
1748 Cast strlen to int for printf, so we're 64-bit clean.
1750 2004-02-11 Keith Packard <keithp@keithp.com>
1753 * src/fcfreetype.c: (FcGetPixelSize):
1754 Ok, so I messed up the test for y_ppem. Let's see if I
1755 got it right this time.
1757 2004-02-10 Keith Packard <keithp@keithp.com>
1760 * src/fcfreetype.c: (FcGetPixelSize):
1761 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1762 FT_Bitmap_Size record. Add a configure.in test for this
1763 and change the code accordingly (using height instead).
1765 2004-02-06 Keith Packard <keithp@keithp.com>
1768 Add Low Saxon orthography
1769 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1771 * src/fccfg.c: (FcConfigNewestFile):
1772 Oops. Left 'newest.set' unset, which would miscompute
1775 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1776 (FcFreeTypeCheckGlyph):
1777 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1778 font properties (which report the wrong value in current FreeType)
1780 Don't attempt to check for empty glyphs in non-scalable fonts; they
1783 2004-02-01 Tor Lillqvist <tml@iki.fi>
1785 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1786 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1787 cache if config->cache is NULL, which happens if FcConfigHome() is
1788 NULL. Guard against that by using the temp folder in that case.
1790 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1792 * fc-lang/az_ir.orth:
1793 * fc-lang/ku_ir.orth:
1794 * fc-lang/ps_af.orth:
1795 * fc-lang/ps_pk.orth:
1796 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1797 (Afghan and Pakistani).
1799 Updated Urdu orthography with real data.
1801 2003-12-11 Carl Worth <cworth@east.isi.edu>
1803 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1806 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1808 (all-local): Remove excessive whitespace.
1810 * autogen.sh: Add 'set -e' to abort when any program fails,
1811 (avoids printing of 'now type make' after configure aborts).
1813 2003-11-17 Eric Christopherson <rakko@charter.net>
1815 reviewed by: Keith Packard <keithp@keithp.com>
1818 * fontconfig/fcfreetype.h:
1820 Switch to FreeType 2.1.7 style includes. Bug #150.
1822 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1824 * fc-list/fc-list.sgml: Add some example usages.
1826 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1829 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1832 2003-10-27 Keith Packard <keith@keithp.com>
1835 * fontconfig/fontconfig.h:
1836 Update to version 2.2.92
1838 2003-10-27 Keith Packard <keithp@keithp.com>
1843 * fc-cache/Makefile.am:
1844 * fc-glyphname/Makefile.am:
1845 * fc-lang/Makefile.am:
1846 * fc-list/Makefile.am:
1847 * fc-match/Makefile.am:
1850 Yet more cleanups to finish getting 'make distcheck' working
1851 This has been tested to ensure that it even works from a _build
1854 2003-10-26 Keith Packard <keithp@keithp.com>
1858 * fc-cache/Makefile.am:
1859 * fc-glyphname/Makefile.am:
1860 * fc-lang/Makefile.am:
1861 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1862 * fc-list/Makefile.am:
1863 * fc-match/Makefile.am:
1864 Attempts to fix 'make distcheck' work. Things are
1865 progressing pretty well, but there are still failures
1866 long into the process dealing with docs (as always).
1868 The big changes here are mostly to make $(srcdir) != "."
1869 work correctly, fixing the docbook related sections and
1870 fc-lang were particularily tricky. Docbook refuses to load
1871 system entities from anywhere other than where the original .sgml
1872 file was located, so no luck looking in "." for the
1873 configure-generated version.sgml and confdir.sgml files.
1875 fc-lang needed help finding .orth files; added a -d option
1876 to set the directory as the least evil of many options.
1878 Now to go use a faster machine and try and wring out the last
1881 2003-10-26 Keith Packard <keithp@keithp.com>
1885 2003-10-26 Keith Packard <keithp@keithp.com>
1888 Include confdir.sgml.in in EXTRA_DIST
1890 2003-10-09 Josselin Mouette <joss@debian.org>
1892 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1893 * fc-list/fc-list.sgml fc-list/Makefile.am:
1894 Replace fc-cache and fc-list manpages with more detailed, SGML
1897 2003-09-23 Owen Taylor <otaylor@redhat.com>
1899 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1900 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1901 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1904 2003-09-23 Owen Taylor <otaylor@redhat.com>
1906 * fc-lang/ka.orth: Remove Georgian capitals, they
1907 aren't used for normal writing. (Bug #116)
1909 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1911 * doc/fontconfig-devel.sgml:
1912 * doc/fontconfig-user.sgml:
1913 * fontconfig/fontconfig.h:
1915 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1916 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1918 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1919 monospace and dual-width fonts, allow roughly a 3% variance in the
1922 2003-08-31 Manish Singh <yosh@gimp.org>
1924 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1927 2003-08-15 Carl Worth <cworth@isi.edu>
1929 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1930 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1932 * src/fcpat.c (FcValueListEntDestroy): New function to support
1933 FcFini memory cleanup. Some statistics are not kept in
1935 (FcValueListFreeze): Move hashTable outside this function so it
1936 can be accessed by FcValueListThawAll.
1937 (FcValueListThawAll): New function complements FcValueListFreeze.
1938 (FcPatternBaseFreeze): Move hashTable outside this function so it
1939 can be accessed by FcPatternBaseThawAll.
1940 (FcPatternBaseThawAll): New function complements
1941 FcPatternBaseFreeze.
1942 (FcPatternThawAll): New function complements FcPatternFreeze.
1944 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1946 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1947 allocated FcCharLeafEnt "blocks" so they can be freed later.
1948 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1949 can be accessed by FcCharSetThawAllLeaf.
1950 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1951 (FcCharSetFreezeBase): Move hashTable outside this function so it
1952 can be accessed by FcCharSetThawAll.
1953 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1955 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1956 (FcConfigDestroy): Fic leak of FcBlanks.
1958 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1959 (main): Add call to FcFini when finished.
1961 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1962 static. Add prototypes.
1964 * doc/fcinit.fncs: Add documentation for FcFini function.
1966 * doc/edit-sgml.c: Mark several local functions as static. Add
1969 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1971 2003-06-15 Tor Lillqvist <tml@iki.fi>
1973 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1974 before comparing (needed on Windows).
1976 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1978 2003-06-13 Tor Lillqvist <tml@iki.fi>
1980 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1983 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1984 WINDOWSFONTDIR token.
1986 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1987 end, not to confuse libtool, which expects the EXPORTS line to be
1988 the first. Add FcConfigEnableHome.
1990 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1991 built as a DLL on Win32.
1993 2003-06-09 Keith Packard <keithp@keithp.com>
1995 * Tag version 2.2.90
1997 2003-06-09 Keith Packard <keithp@keithp.com>
1999 * Optimization in FcLangSetIndex was broken, occasionally
2000 returning a pointer to the wrong location on miss
2002 * Add fc-match to test font matching from the command line.
2004 2003-05-31 Keith Packard <keithp@keithp.com>
2006 * (Bug 85) add support for culmus fonts
2007 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
2008 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
2010 2003-05-28 James Su <suzhe@turbolinux.com.cn>
2012 * Fix "contains" op for strings and langsets.
2014 2003-05-17 Keith Packard <keithp@keithp.com>
2016 * Fix build error with BDF prop local. Free langset after query
2018 2003-05-14 Keith Packard <keithp@keithp.com>
2020 * Extract spacing from XLFD atom
2022 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
2024 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
2025 disappeared in 1.30.
2027 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2029 2003-05-12 Keith Packard <keithp@keithp.com>
2031 * Use FcIsWidth to share code
2033 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
2034 misclassifying some Han fonts as monospaced.
2036 2003-05-07 Keith Packard <keithp@keithp.com>
2038 * Add filename-based accept/reject to ammend available fonts.
2040 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2041 older FreeType releases.
2043 2003-05-06 Keith Packard <keithp@keithp.com>
2045 * Remove 0b82 and Tamil numbers from tamil
2046 orthography (Jungshik Shin <jshin@mailaps.org>)
2048 2003-05-04 Keith Packard <keithp@keithp.com>
2050 + Map glyph names in fonts with adobe custom encoding to unicode
2052 2003-05-02 Keith Packard <keithp@keithp.com>
2054 * Add FC_WEIGHT_BOOK as weight 75
2056 2003-04-30 Keith Packard <keithp@keithp.com>
2058 * Typo in bitstream foundry name
2060 2003-04-24 Keith Packard <keithp@keithp.com>
2062 * Eliminate italic_angle check for PS fonts
2064 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2066 * Getting closer to fixing /etc/fonts hard-coding.
2068 2003-04-22 Keith Packard <keithp@keithp.com>
2070 * Update autogen.sh to work with newer automake versions
2071 * Handle pattern elements moving during multiple edits
2073 2003-04-23 James Henstridge <james@daa.com.au>
2075 * doc/fontconfig-devel.sgml: close the <para> element.
2077 * doc/fcpattern.fncs: close the <para> element.
2079 * doc/func.sgml: close the <refsynopsisdiv> element.
2081 2003-04-22 Keith Packard <keithp@keithp.com
2083 * Update autogen.sh to work with newer automake versions
2084 * Handle pattern elements moving during multiple edits
2086 2003-04-17 Colin Walters <walters@debian.org>
2088 + Remove some unused variables, and initialize some other ones so
2089 gcc doesn't warn us.
2091 2003-04-16 Keith Packard <keithp@keithp.com>
2093 + tag version 2.1.94
2095 2003-04-16 Keith Packard <keithp@keithp.com>
2097 + add BDF property fetching support for foundry
2098 (from Juliusz Chroboczek)
2099 + add BDF property fetching support for width
2101 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2103 + Implemented foundry generation for Type 1 and TrueType
2105 2003-04-11 Gerard Escalante <g2@magestudios.net>
2107 + Retrieve information from Type1 FontInfo dictionaries
2109 2003-04-07 Colin Walters <walters@verbum.org>
2111 + src/Makefile.am: Fix dummy makefile target names when
2112 MS_LIB_AVAILABLE isn't set.
2114 2003-03-22 Tor Lillqvist <tml@iki.fi>
2116 Changes for Windows:
2118 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2120 + We don't want to hardcode the fonts.conf file location in the
2121 DLL, so we look up the DLL location at run-time in a DllMain()
2122 function. The fonts.conf location is deduced from that.
2124 + The colon can't be used as path separator on Windows,
2125 semicolon is used instead. File path components can be separated
2126 with either slash or backslash. Absolute paths can also begin
2127 with a drive letter.
2129 + Add internal function FcStrLastSlash that strrchr's the last
2130 slash, or backslash on Windows.
2132 + There is no link() on Windows. For atomicity checks, mkdir a
2133 lock directory instead.
2135 + In addition to HOME, also look for USERPROFILE.
2137 + Recognize the special font directory token WINDOWSFONTDIR, to
2138 use the system's font directory.
2140 + Remove the fontconfig-def.cpp that was obsolete. Add
2141 fontconfig.def(.in), without internal functions.
2143 + Add a fontconfig-zip(.in) script, used to build a binary
2146 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2147 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2148 to main package and man3/* to devel package
2150 + Added missing defattr(-, root, root) to main RPM package
2152 + Added HTML and text development documentation to -devel subpackage
2154 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2155 + Added back the configure macro options --disable-docs, otherwise
2156 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2157 version number) unconditionally, causing RPM to fail the build due
2158 to _unpackaged_files_terminate_build. We pick up the pregenerated
2159 docs with %doc already.
2161 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2162 + Removed commented out rpm macro define at top of spec file,
2163 replacing it with a simple explanation, since rpm macros are
2164 expanded by rpm even in comments.
2166 + Changed /usr/bin to _bindir in BuildRequires lines
2168 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2170 + Reorganized file manifest lists
2172 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2174 + fontconfig.spec.in: Improvements from Red Hat spec file.
2176 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2178 + docs/*.sgml: SGML fixes.
2180 Sat Mar 1 17:28:53 PST 2003 keithp
2181 + Ok, so the ChangeLog is a bit out of date
2183 + Lots of bugs fixed; most are in bugzilla, the
2184 biggest problems were in cache management where
2185 Owen discovered the library would lose badly when
2186 combining fonts-cache and ~/.fonts-cache data
2188 + Converted from autoconf to automake. This after
2189 getting patches accepted into libtool to allow
2190 the '-version-number' argument which lets
2191 packages set version numbers explicitly rather
2192 than the roundabout libtool way
2194 + Converted documentation to SGML using the docbook
2195 DTD. Now .txt and .html documents are installed
2196 in /usr/share/doc/fontconfig and there's no
2197 man page. Perhaps a man version can be written
2200 Sat Aug 31 15:21:22 PDT 2002 keithp
2201 + Xrender and Xft had several bugs related to
2202 rendering manually placed or poly-face text
2204 + Added more complete memory tracing in fontconfig
2205 Checked with (patched) mozilla and found no leaks
2207 + Updated Latin orthographies by comparing those from
2208 evertype.com with those from eki.ee. Tried to make
2209 sensible choices, including chars that occured in both
2210 and leaving some optional chars out that occured only
2213 Mon Aug 26 16:33:04 PDT 2002 keithp
2214 + Owen discovered that FcLangSetHasLang wasn't actually
2215 checking the language set.
2217 Mon Aug 26 13:37:23 PDT 2002 keithp
2218 + Append a version number to cache filenames
2220 Thu Aug 22 11:36:18 PDT 2002 keithp
2222 + Add "contains" and "not_contains" operators and elements to
2225 + Changed semantics of eq operator for LangSets to check for
2226 FcLangEqual so that any match will do
2228 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2229 of FcValueEqual to check for identical values when inserting into
2230 the results. This broke when the above semantic change was made,
2231 now it uses FcValueEqual which is "more correct" in any case.
2233 Thu Aug 22 00:32:29 PDT 2002 keithp
2235 + Reimplement FC_LANG as new datatype. Lists of strings
2236 was consuming over a megabyte of memory for 401 fonts.
2238 + Freeze patterns loaded from cache files. This shares
2239 common value lists and common patterns which saves
2240 considerable memory.
2242 + Change the denotation of 'constant' charsets to use special
2243 ref value instead of separate boolean.
2245 + Clean up leak tracing stuff, found several unannoted alloc/free
2248 Tue Aug 20 16:17:37 PDT 2002 keithp
2250 + Fix memory leak when parsing matrices from XML
2252 Mon Aug 19 11:57:27 PDT 2002 keithp
2254 + Fix autoconf files to pass FONTCONFIG_PATH on
2255 compile line so that ${prefix} gets substituted
2258 + Use getc_unlocked/putc_unlocked on systems that
2259 provide them to avoid damage done to stdio by posix
2261 + Eliminate FC_PATTERN and FcTypePattern in favor of
2262 an extended api for FcConfigSubstitute which takes
2263 both the font and the pattern.
2265 + Add 'sans serif' alias for 'sans-serif' as some apps
2266 can't handle hyphens in family names
2268 + Eliminate pretense of support for libxml2
2270 + Comment origins of Han orthographies
2272 Tue Jul 30 18:37:09 PDT 2002 keithp
2274 + Add binding property to edit element so that strong
2275 binding values may be inserted by the config file.
2276 The default remains weak.
2278 Sun 28 Jul 04:16:55 PDT 2002 keithp
2280 + Tagged release candidate 1 in the CVS tree and
2281 placed fcpackage.rc1.tar.gz for distribution
2283 Thu Aug 1 08:55:08 PDT 2002 keithp
2285 + Fixed autoconf builds to always specify install
2286 target files (for BSD). Also fixed to
2287 define FONTCONFIG_PATH in config.h so that
2288 nonstandard installs will actually work.