1 2005-12-06 Patrick Lam <plam@mit.edu>
2 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
6 2005-12-05 Patrick Lam <plam@mit.edu>
7 * src/fcname.c (FcNameGetObjectType):
9 Don't assign types to user object names.
11 2005-12-05 Patrick Lam <plam@mit.edu>
12 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
14 Don't free strings that have been returned from FcStrStaticName.
16 2005-12-01 Patrick Lam <plam@mit.edu>
17 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
19 Add codepath for reading global cache files as well.
21 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
24 * conf.d/10-fonts.persian.conf:
27 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
29 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
32 * src/fcxml.c (FcConfigParseAndLoad):
34 Only add a config file to the set of config files once.
36 2005-11-29 Patrick Lam <plam@mit.edu>
37 * src/fcint.h (FcCacheBankToIndex);
39 Fix segfault by guarding array dereference.
41 2005-11-29 Dirk Mueller <dmueller@suse.de>
45 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
46 FcCacheBankToIndex, FcCacheBankToIndexMTF,
50 Refactor FcCacheBankToIndex into an inlineable part
51 (in fcint.h) which checks the front of the list and a
52 non-inlineable part which finds and moves the appropriate element
53 to the front of the list.
55 2005-11-29 Patrick Lam <plam@mit.edu>
56 * src/fccfg.c (FcConfigBuildFonts):
57 * src/fccache.c (FcCacheReadDirs):
59 Make the perf guys hate me a bit less: hoist the directory-name
60 FcConfigAcceptFont check for cached fonts up to directory cache
61 read time, rather than running it for each font.
63 2005-11-29 Patrick Lam <plam@mit.edu>
64 * src/fccfg.c (FcConfigBuildFonts):
66 * src/fcpat.c (FcPatternFindFullFname):
68 Don't make FcPatternFindFullFname available to fccfg, it's not
69 really safe. Instead go through FcPatternGetString (sorry,
70 perf guys.) Also, use globs for dirs as well.
72 2005-11-28 Patrick Lam <plam@mit.edu>
73 * src/fccfg.c (FcConfigBuildFonts):
77 2005-11-28 Patrick Lam <plam@mit.edu>
79 * src/fcpat.c (FcPatternFindFullFname):
80 * src/fccfg.c (FcConfigBuildFonts):
82 Fix problem dating back at least to 2.3.2 where globs weren't
83 being applied to patterns loaded from a cache.
85 2005-11-28 Patrick Lam <plam@mit.edu>
86 * doc/fontconfig-user.sgml:
88 Fix some obvious spelling mistakes.
90 2005-11-28 Dirk Mueller <dmueller@suse.com>
91 Stephan Kulow <coolo@suse.de>
94 * src/fcmatch.c (FcFontSetMatch):
96 Don't kill all fonts during match (oops!)
99 2005-11-25 Dirk Mueller <dmueller@suse.com>
100 Stephan Kulow <coolo@suse.de>
101 Michael Matz <matz@suse.de>
104 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
107 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
108 inline FcCompare into FcFontSetMatch and reorder the
109 loops, adding a boolean array which blocks patterns from future
110 consideration if they're known to not be best on some past
113 2005-11-26 Dirk Mueller <dmueller@suse.com>
116 * src/fcmatch.c (FcCompareValueList):
120 2005-11-25 Patrick Lam <plam@mit.edu>
121 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
123 Don't do random matching when bad objects are passed into
126 2005-11-25 Patrick Lam <plam@mit.edu>
128 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
129 FcPatternSerialize, FcPatternUnserialize,
130 FcValueListEnsureBank, FcValueListDistributeBytes,
131 FcValueListUnserialize):
133 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
134 _fcPatternElts, _fcValueLists for consistency.
136 2005-11-25 Dirk Mueller <dmueller@suse.com>
141 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
143 2005-11-25 Patrick Lam <plam@mit.edu>
145 * src/fccache.c (FcDirCacheConsume):
146 * src/fccharset.c (FcCharSetUnserialize):
147 * src/fcfs.c (FcFontSetUnserialize):
148 * src/fclang.c (FcLangSetUnserialize):
149 * src/fcname.c (FcObjectUnserialize):
150 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
151 FcPatternUnserialize):
153 Pass around FcCache *s to the Unserialize functions for extra
154 consistency (and less overhead, for what that's worth).
156 2005-11-24 Dirk Mueller <dmueller@suse.com>
160 * src/fcmatch.c (FcCompare*, FcFontSetSort):
161 * src/fcname.c (FcNameUnparseValue):
163 Inline the *PtrU functions to gain perf.
164 Remove unneeded params for the FcCompare* functions.
166 2005-11-24 Dirk Mueller <dmueller@suse.com>
169 * src/fcint.h, fontconfig/fontconfig.h:
171 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
173 * src/fcpat.c, src/fcint.h, src/fcname.c:
175 Check for type validity during FcPatternAddWithBinding, don't
176 verify type in FcFontMatch, don't call FcCanonicalize here
177 (which always does a deep copy).
179 2005-11-24 Dirk Mueller <dmueller@suse.com>
182 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
183 * src/fcpat.c (FcPatternAddWithBinding):
185 Make FcCompareString and FcCompareFamily less expensive.
186 Only add a value for FC_FAMILY if the proposed value is a string.
188 2005-11-24 Dirk Mueller <dmueller@suse.com>
191 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
192 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
193 * src/fcint.h (FcDebug):
195 Inline FcDebug invocations and only initialize once, in FcInit*.
196 Improve debug msg in FcPatternPrint.
198 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
201 * fontconfig/fontconfig.h:
204 Minor code warning cleanups.
206 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
209 * fc-match/fc-match.c (main):
211 Make getopt_long accept -s parameter to fc-match as well.
213 2005-11-21 Dirk Mueller <dmueller@suse.com>
216 * src/fcmatch.c (FcCompareValueList):
218 Manually perform inlining & partial redundancy elimination to
219 reduce calls to FcValueListPtrU.
221 2005-11-21 Dirk Mueller <dmueller@suse.com>
224 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
225 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
227 Only invoke strlen() when really necessary.
229 2005-11-19 Matthias Clasen <mclasen@redhat.com>
233 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
238 Get rid of the use of freetype internal headers in fcfreetype.c,
239 since those headers will go away with freetype 2.2. Replace with
240 public domain ftglue code from pango. Note that the patch removes
241 some extra error checking in FT_Get_BDF_Property() and comments
242 out the skipping of empty pcf fonts.
244 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
247 * fc-lang/fc-lang.c (main):
249 Further fix of patch from 2005-11-04: miscounted numbers count
250 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
251 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
253 Removed leafidx_count and numbers_count since they are the same
254 and replaced them with offset_count.
256 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
259 * fc-cat/fc-cat.c (main):
261 Don't crash when fc-cat invoked with no arguments.
263 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
266 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
268 Fix invalid read access caused by premature free and
269 GCC4 warnings in libxml2 codepath.
271 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
274 * src/fccfg.c (FcConfigValues):
276 List iteration not needed in FcConfigValues, since it's building
277 up the list itself; we can just strip FcVoid elements during
280 2005-11-17 Patrick Lam <plam@mit.edu>
281 * src/fccfg.c (FcConfigValues):
283 Fix crash on invalid constants in config files (forgot to update
284 a pointer upon list iteration.)
286 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
289 * src/fcxml.c (FcTypecheckExpr):
291 Complain about invalid constants in config files.
293 2005-11-17 Andreas Schwab <schwab@suse.de>
296 * src/fccache.c (FcGlobalCacheSave):
298 Don't add current_arch_start more than once.
300 2005-11-16 Patrick Lam <plam@mit.edu>
301 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
302 * src/fcfs.c (FcFontSetUnserialize):
303 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
304 * src/fcpat.c (FcStrUnserialize):
306 Fix ordering of ALIGN with respect to saving block_ptr; add
307 another ALIGN to fcfs.c.
309 2005-11-16 Patrick Lam <plam@mit.edu>
310 * src/fccache.c (FcDirCacheProduce)
312 Fix case where alignment bytes bumped up metadata->count
313 causing unwarranted failures to write cache files.
314 (Reported by Stephan Kulow).
316 2005-11-16 Patrick Lam <plam@mit.edu>
317 * src/fccache.c (FcDirCacheProduce):
318 * src/fccharset.c (FcCharSetDistributeBytes):
319 * src/fcfs.c (FcFontSetDistributeBytes):
321 * src/fclang.c (FcLangSetDistributeBytes):
322 * src/fcname.c (FcObjectDistributeBytes):
323 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
326 Add *NeededBytesAlign(), which overestimates the padding which is
327 later added by the new ALIGN macro. Fix alignment problems on
328 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
329 version by Andreas Schwab).
331 2005-11-16 Stephan Kulow <coolo@kde.org>
336 Use sysconf to determine proper PAGESIZE value; this
337 appears to be POSIX-compliant. (reported by Andreas Schwab)
339 2005-11-04 Patrick Lam <plam@mit.edu>
345 Fix bug 2878 (excessive relocations at startup for charsets,
346 reported by Ross Burton): fc-lang/fc-lang now creates the
347 static form of the langset, not the dynamic form, so that
348 the charsets should now be in .rodata.
350 2005-11-04 Patrick Lam <plam@mit.edu>
351 * src/fcdir.c (FcDirScanConfig):
353 Add test for validity of directory caches that
354 somehow got lost (reported by make distcheck).
356 2005-11-04 Patrick Lam <plam@mit.edu>
360 * fontconfig/fontconfig.h:
362 Bump version to 2.3.92.
364 2005-11-02 Patrick Lam <plam@mit.edu>
365 * src/fcpat.c (FcPatternDuplicate):
367 Fix argument ordering problem in call to FcPatternTransferFullFname.
369 2005-11-02 Patrick Lam <plam@mit.edu>
370 * src/fcfreetype.c (FcFreetypeQuery):
371 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
372 FcPatternTransferFullFname):
374 Fix warnings and embarrassing double-free error.
376 2005-11-02 Zhe Su <zsu@novell.com>
381 Change the rule for artificial emboldening in fonts.conf.in. This
382 enables the support for artificial emboldening included in cairo.
384 2005-11-02 Patrick Lam <plam@mit.edu>
385 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
387 Don't zero out full names for FC_REF_CONSTANT fonts;
388 also, duplicate full names when transferring, and free
389 full names when freeing the associated font.
390 Reported by Jinghua Luo.
392 2005-11-02 Patrick Lam <plam@mit.edu>
393 * fc-cache/fc-cache.c (scanDirs):
394 * src/fcpat.c (FcValueListSerialize):
396 Revert the previous patch and commit the correct patch:
397 I forgot a canonicalization in FcValueListSerialize, so
398 that it would choke on already-serialized input files. Duh!
400 2005-11-02 Patrick Lam <plam@mit.edu>
401 * fc-cache/fc-cache.c (scanDirs):
403 Forcibly rescan a directory before writing a fresh local
404 cache file for that directory, fixing the losing-fonts
405 problem reported by Mike Fabian and also apparently the
406 font cache file corruption.
408 2005-11-02 Patrick Lam <plam@mit.edu>
409 * src/fccache.c (FcGlobalCacheLoad):
411 Fix thinko: actually, the whole global cache is stale
412 if the global cache is older than the (newest) config file.
414 2005-11-02 Patrick Lam <plam@mit.edu>
415 * src/fccache.c (FcGlobalCacheLoad):
416 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
419 Declare the global cache of a directory's contents to be stale if
420 the directory is newer than the (newest) configuration file.
422 2005-10-31 Patrick Lam <plam@mit.edu>
424 * src/fclist.c (FcListAppend):
425 * src/fcmatch.c (FcFontRenderPrepare):
426 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
427 FcPatternFreeze, FcPatternBaseFreeze):
429 Copy the full pathname whenever duplicating an FcPattern; otherwise,
430 applications continue breaking.
432 2005-10-31 Patrick Lam <plam@mit.edu>
433 * fc-cat/fc-cat.c (FcCacheFileRead, main):
434 * src/fcfreetype.c (FcFreeTypeQuery):
436 Fix small memory error (tried to free argv); use basename and
437 dirname correctly (they can modify their arguments).
439 2005-10-31 Patrick Lam <plam@mit.edu>
447 Reinstate basename patch, but keep a hash table linking FcPatterns
448 to their fully-qualified font names for clients' benefit. Clients
449 only pay for the font names once they request the FC_FILE property
450 from an FcPattern, but the font name is malloc'd at that point (i.e.
451 not mmapped: that's impossible, since it may vary between machines.)
452 Clients do have to pay for a copy of the path name per cache file.
454 Note that FcPatternGetString now does some rewriting if you ask
455 for an FC_FILE, appending the pathname as appropriate.
457 2005-10-31 Patrick Lam <plam@mit.edu>
458 * src/fcfreetype.c (FcFreeTypeQuery):
460 Revert basename patch, which breaks fontconfig clients on my system.
462 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
465 * fontconfig/fonts.conf.in:
466 * fontconfig/fontconfig.h:
470 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
471 to load embedded bitmaps or not.
473 2005-10-25 Patrick Lam <plam@mit.edu>
474 * src/fcfreetype.c (FcFreeTypeQuery):
476 Only add basename to patterns' FC_FILE element, not any part of
479 2005-10-22 Patrick Lam <plam@mit.edu>
482 Add some more consts, fixing more GCC4 warnings.
484 2005-10-22 Zhe Su <zsu@novell.com>
487 Support localized font family and style names.
488 This has been reported to break old apps like xfd, but modern
489 (gtk+/qt/mozilla) apps work fine.
491 2005-10-21 Patrick Lam <plam@mit.edu>
492 * src/fccache.c (FcGlobalCacheLoad):
494 Destroy the global cache file if it's terminally broken. (reported by
497 2005-10-21 Patrick Lam <plam@mit.edu>
498 * fc-list/fc-list.c (main):
499 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
500 * fontconfig/fontconfig.h:
502 Prevent fc-list from escaping strings when printing them (reported by
505 2005-10-20 Marcus Meissner <meissner@suse.de>
508 * fontconfig/fontconfig.h:
510 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
512 2005-10-14 Ross Burton <ross@burtonini.com>
515 * fc-glyphname/fc-glyphname.c:
518 Add consts to variables so as to move arrays into .rodata.
520 2005-10-14 Mike Fabian <mfabian@suse.de>
523 * src/fccache.c (FcDirCacheUnlink):
525 Check existence of directory cache file before attempting to unlink.
527 2005-10-13 Patrick Lam <plam@mit.edu>
528 * src/fccache.c (FcDirCacheUnlink):
530 Fix flipped return value on unlink. (Reported by Mike Fabian)
532 2005-10-12 Patrick Lam <plam@mit.edu>
535 * src/fcdir.c (FcDirScanConfig):
538 When fc-cache is run without --force, use directory cache files
539 to speed up fc-cache run time. (Reported by Mike Fabian)
541 2005-10-06 Patrick Lam <plam@mit.edu>
543 * src/fcname.c (FcObjectToPtr):
544 * src/fcpat.c (FcStrStaticName):
546 Add padding to make valgrind and glibc not hate each other
547 when calling strlen().
549 2005-10-05 Simos Xenitellis <simos74@gmx.net>
550 reviewed by: plam & keithp
554 Modify config file to use Greek fonts before Asian fonts with
557 2005-10-05 Christian Biesinger <cbiesinger@web.de>
558 reviewed by: plam & keithp
562 Use libtool -no-undefined flag on all platforms.
564 2005-10-05 Patrick Lam <plam@mit.edu>
565 * src/fccache.c (FcCacheHaveBank):
567 Implement move-to-front array for banks (perf regression
568 reported by Ronny V. Vindenes).
570 2005-10-04 Patrick Lam <plam@mit.edu>
571 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
572 FcDirCacheHasCurrentArch):
573 * fc-cache/fc-cache.c (scanDirs):
574 * fontconfig/fontconfig.h:
576 Add new API which unlinks directory caches and checks dir caches
577 for existence of appropriate sections. Fix fc-cache to unlink
578 stale cache files and save directory caches that lack relevant
581 2005-10-03 Patrick Lam <plam@mit.edu>
582 * src/fccache.c (FcDirCacheValid):
584 Ensure that a directory cache has the appropriate section
585 before reporting that it is valid (reported by Matthias Clasen).
587 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
595 Use libxml2 if requested (with --enable-libxml2) or if
596 expat is not available.
598 2005-09-29 Patrick Lam <plam@mit.edu>
599 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
601 Fix multi-arch cache files: compute the position for the
602 block to be added using info from OrigFile, not NewFile.
604 2005-09-28 Patrick Lam <plam@mit.edu>
605 * src/fccache.c (FcCacheMachineSignature):
607 Cast results of sizeof() to unsigned int to get rid of
608 warnings on x86_64 (thanks Matthias Clasen).
610 2005-09-27 Patrick Lam <plam@mit.edu>
611 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
614 Use FcAtomic to rewrite cache files.
616 2005-09-27 Patrick Lam <plam@mit.edu>
618 * src/fccache.c (FcDirCacheWrite):
620 Don't unlink the fonts.cache-2 file even if there's no data
621 to write; just write an empty cache file. (thanks Lubos Lunak)
623 2005-09-27 Patrick Lam <plam@mit.edu>
625 * src/fccache.c (FcDirCacheWrite):
627 Allocate room for the subdirectory names in each
628 directory cache. Thanks to James Cloos for finding
629 and diagnosing this bug!
631 2005-09-22 Patrick Lam <plam@mit.edu>
633 * fc-cache/fc-cache.sgml:
634 * src/fccache.c (FcDirCacheWrite):
635 * src/fccache.h (struct FcCache):
637 Update documentation -- fc-cache's man page now says that you
638 need to run fc-cache once per cached architecture; add some
639 documentation to the FcCache structure.
641 Make fc-cache write out fonts.cache-2 files for directories with
642 no fonts (i.e. only subdirectories).
644 2005-09-22 Patrick Lam <plam@mit.edu>
646 * fc-cache/fc-cache.sgml:
648 * fc-glyphname/fc-glyphname.c:
654 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
659 * fontconfig/fcprivate.h:
660 * fontconfig/fontconfig.h:
674 Implement new mmaped cache for font information.
675 Bump so revision to 2.3.90.
677 2005-07-25 Keith Packard <keithp@keithp.com>
679 * doc/fontconfig-user.sgml:
680 * fc-glyphname/fc-glyphname.c: (scan), (main):
681 * fc-lang/fc-lang.c: (FcConfigHome):
682 * fc-match/fc-match.c: (main):
683 * src/fccfg.c: (FcConfigHome):
684 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
685 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
686 (addtag), (FcFontCapabilities):
687 * src/fcpat.c: (FcValueListEntCreate):
688 * src/fcstr.c: (FcStrCaseWalkerInit):
689 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
691 Various GCC 4 cleanups for signed vs unsigned char
693 Match only [0-9]*.conf files in <include>{directory}</include>
694 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
696 2005-07-15 Carl Worth <cworth@cworth.org>
699 * src/fcinit.c: (FcFini):
700 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
703 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
704 Pull the FcObjectStateName hash table out to file scope, and add
705 FcObjectStaticNameFini so that FcFini will cleanup this hash table
708 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
711 2005-06-16 Patrick Lam <plam@MIT.EDU>
715 * src/fccfg.c: (FcConfigCompareValue):
716 Make FcOpNotContains use FcStrStr for strings so that
717 it matches semantics for !FcOpContains.
719 2005-05-20 Keith Packard <keithp@keithp.com>
723 Move fontconfig source package to libs as per override
725 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
727 reviewed by: Mike Fabian
730 The ka.orth file requires several characters which are not
731 used anymore in modern Georgian and which are missing in the free
732 Georgian TrueType fonts downloadable at:
734 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
736 2005-04-27 Keith Packard <keithp@keithp.com>
740 Update date to real 2.3.2 release date.
741 Fix change attributions
743 2005-04-27 Keith Packard <keithp@keithp.com>
746 Bump so revision for 2.3.2
747 * fc-cache/fc-cache.c: (scanDirs):
748 Fix a few minor leaks in error cases.
750 2005-04-23 Keith Packard <keithp@keithp.com>
755 * fontconfig/fontconfig.h:
756 Update for version 2.3.2
758 2005-04-21 Keith Packard <keithp@keithp.com>
760 * debian/fontconfig.postinst:
761 Don't force bitmap font enable in default
762 configuration; allows users to override this in
772 * debian/po/pt_BR.po:
773 * debian/po/templates.pot:
775 * debian/po/zh_CN.po:
778 * fc-cache/fc-cache.c: (main):
779 Destroy font configuration on exit to help valgrind
782 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
783 (FcFreeTypeCheckGlyph):
784 Use own transcoding routines in preference to iconv
785 which appears to have leaks in some translators.
786 Call iconv_close after using iconv (oops).
788 Prefer unicode encoding of Euro char as some
789 fonts mis-encode Euro in other ones.
791 Must fetch bitmap glyphs to get width values
792 to check for monospace/dual-width fonts.
794 2005-04-13 Ross Burton <ross@burtonini.com>
797 Check that a pattern isn't already frozen in FcPatternFreeze.
799 2005-03-31 Ross Burton <ross@burtonini.com>
804 Run all FcPattern objects through FcObjectStaticName, so that
805 compares can be done on pointers instead of strings (#2659)
807 2005-03-17 Tor Lillqvist <tml@novell.com>
809 * src/fontconfig.def.in: Add the .dll to the dll name.
811 2005-03-10 Keith Packard <keithp@keithp.com>
813 * debian/README.Debian:
814 Update to reflect configuration changes
816 * debian/fontconfig.postinst:
817 Fix Autohint vs Autohinter mistake
818 * debian/fontconfig.templates:
819 Adopt changes from Josselin Mouette for configuration descriptions
820 Update debian to version 2.3.1-2
822 2005-03-08 Keith Packard <keithp@keithp.com>
826 Update debian for 2.3.1
828 2005-03-09 Tor Lillqvist <tml@novell.com>
830 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
833 * src/fccfg.c (FcConfigFileExists): Check also drive letter
836 2005-03-08 Keith Packard <keithp@keithp.com>
840 * fontconfig/fontconfig.h:
843 2005-03-05 Keith Packard <keithp@keithp.com>
845 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
846 Include space and remove numbers from valid script tags.
847 This ensures that tags like 'lao ' work while rejecting
848 those which have any digits.
849 Eliminate a spurious debugging variable (len)
851 2005-03-05 Keith Packard <keithp@keithp.com>
853 * src/fcfreetype.c: (addtag), (GetScriptTags),
854 (FcFontCapabilities):
855 Rework GSUB/GPOS script parsing to survive broken fonts.
856 Thanks for the broken font go to Manish Singh
858 2005-03-05 Keith Packard <keithp@keithp.com>
863 * debian/fontconfig.config:
864 * debian/fontconfig.templates:
866 Include 2.3 release information in changelog
867 Add Josselin Mouette as an Uploader
868 Set hinting_type to low priority configuration option
871 * debian/fontconfig.postinst:
872 yes_bitmaps.conf -> yes-bitmaps.conf
878 2005-03-02 Keith Packard <keithp@keithp.com>
881 * conf.d/Makefile.am:
882 * conf.d/autohint.conf:
883 * conf.d/no-sub-pixel.conf:
884 * conf.d/sub-pixel.conf:
885 * conf.d/unhinted.conf:
886 * debian/autohint.conf:
887 * debian/fontconfig.install:
888 * debian/fontconfig.postinst:
889 * debian/fontconfig.templates:
890 * debian/no-sub-pixel.conf:
891 * debian/unhinted.conf:
892 Move debian-specific conf file examples upstream.
894 Sub-pixel configuration examples must smash subpixel value
895 as Xft always sets it from X.
897 Change sub-pixel rendering debconf descriptions from
898 Enable/Disable to Always/Never.
900 2005-03-02 Keith Packard <keithp@keithp.com>
905 Ignore more build detritus
908 Add debian package construction stuff.
910 * config/config.guess:
912 Update to newer versions of these tools
915 Get library manuals to build again (we love automake).
917 * debian/README.Debian:
918 * debian/autohint.conf:
923 * debian/fontconfig-udeb.install:
924 * debian/fontconfig.config:
925 * debian/fontconfig.defoma:
926 * debian/fontconfig.dirs:
927 * debian/fontconfig.install:
928 * debian/fontconfig.postinst:
929 * debian/fontconfig.postrm:
930 * debian/fontconfig.templates:
931 * debian/libfontconfig1-dev.install:
932 * debian/libfontconfig1.install:
933 * debian/local.conf.md5sum:
934 * debian/no-sub-pixel.conf:
935 * debian/po/POTFILES.in:
944 * debian/po/pt_BR.po:
945 * debian/po/templates.pot:
947 * debian/po/zh_CN.po:
949 * debian/unhinted.conf:
950 Update debian build system to switch maintainers and
951 deal with 2.3 functionality
953 2005-03-01 Keith Packard <keithp@keithp.com>
957 * fontconfig/fontconfig.h:
960 2005-03-01 Keith Packard <keithp@keithp.com>
963 Generate and install PDF versions of the manuals
965 * doc/fcpattern.fncs:
969 Add missing exported functions, fix data types
971 * doc/fontconfig-devel.sgml:
972 Add missing pattern elements.
974 * doc/fontconfig-user.sgml:
975 Add missing pattern elements. Document conf.d usage,
976 clarify available orthography list. Fix some config file
977 attributes. Complete list of constants.
979 * fontconfig/fontconfig.h:
980 Mark FC_SOURCE deprecated.
982 * src/fcfreetype.c: (FcFreeTypeQuery):
983 Don't set FC_SOURCE any longer.
985 2005-02-28 Keith Packard <keithp@keithp.com>
988 * conf.d/Makefile.am:
990 * conf.d/no-bitmaps.conf:
991 * conf.d/sub-pixel.conf:
992 * conf.d/yes-bitmaps.conf:
994 Create prototype /etc/fonts/conf.d directory with a few
995 sample configuration files.
996 Deprecate use of local.conf for local customizations in favor of
997 this directory based scheme which is more easily integrated into
998 installation systems.
1001 Tag FC_EMBOLDEN as a boolean variable
1003 2005-02-10 Keith Packard <keithp@keithp.com>
1005 reviewed by: pborelli@katamail.com
1007 * src/fcdir.c: (FcFileScanConfig):
1008 Free patterns from fonts which are rejected by configuration
1011 2005-01-28 Keith Packard <keithp@keithp.com>
1015 * fontconfig/fontconfig.h:
1016 Update for version 2.2.99
1018 2005-01-28 Keith Packard <keithp@keithp.com>
1021 Add a few pointers (#2284, #2285)
1023 2005-01-28 Keith Packard <keithp@keithp.com>
1026 * src/fcname.c: (FcNameBool):
1027 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1028 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1029 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1030 Polite typechecking for test and edit expressions. Helps
1031 catch errors in the font configuration. (bug 229)
1033 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1035 reviewed by: Keith Packard <keithp@keithp.com>
1038 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1040 2005-01-13 Keith Packard <keithp@keithp.com>
1042 * doc/fontconfig-user.sgml:
1043 Add SEE ALSO section (bug 2085)
1045 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1047 reviewed by: Keith Packard <keithp@keithp.com>
1052 * fc-case/Makefile.am:
1053 * fc-glyphname/Makefile.am:
1054 * fc-lang/Makefile.am:
1055 * src/fontconfig.def.in:
1056 Cross compiling fixes (bug 280)
1058 2005-01-13 Keith Packard <keithp@keithp.com>
1061 Update blanks list (Closes bug 86)
1063 2005-01-04 Keith Packard <keithp@keithp.com>
1065 * src/fccache.c: (FcCacheFontSetAdd):
1066 Verify that every font pattern loaded from cache has
1067 both FC_FILE and FC_FAMILY entries.
1068 Attempt to fix bug #2219.
1070 2004-12-29 Keith Packard <keithp@keithp.com>
1074 * fontconfig/fontconfig.h:
1075 Update for version 2.2.98
1077 2004-12-29 Keith Packard <keithp@keithp.com>
1079 * fontconfig/fontconfig.h:
1080 Document ASCII limitations of Fc character conversion macros
1081 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1082 Fix off-by-one error in utf-8 case walking code.
1083 Add FcStrDowncase (useful for testing case conversion functions)
1085 2004-12-29 Keith Packard <keithp@keithp.com>
1088 * fc-case/.cvsignore:
1089 clean up CVS ignore lists
1090 * fc-lang/iso-3166.txt:
1091 Add territory database
1093 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1095 Reviewed by: Keith Packard
1098 Remove Han characters from Korean orthography
1100 2004-12-29 Keith Packard <keithp@keithp.com>
1103 Reorder utility programs to make sure fc-case is run before fc-lang
1104 as fc-lang uses fcstr.c which uses fccase.h
1108 2004-12-29 Keith Packard <keithp@keithp.com>
1111 Adopt some RedHat suggestions for standard font configuration.
1115 * fc-case/CaseFolding.txt:
1116 * fc-case/Makefile.am:
1117 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1118 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1119 (dump), (parseRaw), (caseFoldReadRaw), (main):
1120 * fc-case/fccase.tmpl.h:
1121 Add new helper program 'fc-case' to construct case folding
1122 tables from standard Unicode CaseFolding.txt file
1125 * src/fclist.c: (FcListValueHash):
1126 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1127 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1128 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1129 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1130 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1131 Re-implement case insensitive functions with Unicode
1132 aware versions (including full case folding mappings)
1134 2004-12-13 Keith Packard <keithp@keithp.com>
1136 reviewed by: Owen Taylor <otaylor@redhat.com>
1138 * src/fcmatch.c: (FcFontSetSort):
1139 I changed FcFontSetSort to respect the generic aliases better
1140 in the face of language matching.
1142 What I did was to ammend the strict sort order used by FcFontSort so
1143 that it 'satisfies' the language specified in the pattern by locating
1144 the best matching font supporting each pattern language and then
1145 ignores language in the remaining fonts for purposes of matching.
1147 So, when asking for 'sans:lang=en', you'll get an English font first,
1148 and then the remaining fonts sorted with respect to the 'sans' alias
1149 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1151 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1153 reviewed by: Keith Packard <keithp@keithp.com>
1155 * fontconfig/fontconfig.h:
1158 Configuration changes to request synthetic emboldening of
1159 fonts. The actual emboldening code will live in Xft.
1161 2004-12-09 John Thacker <thacker@math.cornell.edu>
1163 reviewed by: Keith Packard <keithp@keithp.com>
1167 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1168 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1169 и), and don't even appear in KOI8-R. (The hypothesis that they
1170 don't appear in KOI8-R due to their similarity with Latin I and i is
1171 eliminated by their presence in KOI8-U.) I have a couple of fonts
1172 with Russian support that don't have the letter.
1174 Therefore, 0406 and 0456 should be removed from or commented out of
1177 2004-12-06 michael meeks <mmeeks@novell.com>
1179 Reviewed by: Keith Packard <keithp@keithp.com>
1181 * src/fcinit.c: (FcMemReport):
1183 * src/fclist.c: (FcObjectSetAdd):
1184 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1185 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1186 * src/fcxml.c: (FcParsePatelt):
1187 memoize strings and share a single copy for all uses. Note that
1188 this could be improved further by using statically allocated blocks
1189 and gluing multiple strings together, but I'm basically lazy.
1190 In my environment with 800 font files, I get a savings of about 90KB.
1192 2004-12-06 Keith Packard <keithp@keithp.com>
1196 * config/Makedefs.in:
1199 * doc/fcatomic.fncs:
1200 * doc/fcblanks.fncs:
1201 * doc/fccharset.fncs:
1202 * doc/fcconfig.fncs:
1203 * doc/fcconstant.fncs:
1205 * doc/fcfontset.fncs:
1206 * doc/fcfreetype.fncs:
1208 * doc/fcmatrix.fncs:
1209 * doc/fcobjectset.fncs:
1210 * doc/fcobjecttype.fncs:
1211 * doc/fcpattern.fncs:
1212 * doc/fcstring.fncs:
1213 * doc/fcstrset.fncs:
1215 * doc/fontconfig-devel.sgml:
1216 * doc/fontconfig-user.sgml:
1218 * doc/version.sgml.in:
1219 * fc-cache/Makefile.am:
1220 * fc-cache/fc-cache.c:
1221 * fc-glyphname/Makefile.am:
1222 * fc-glyphname/fc-glyphname.c:
1223 * fc-glyphname/fcglyphname.tmpl.h:
1224 * fc-lang/Makefile.am:
1234 * fc-lang/az_ir.orth:
1268 * fc-lang/fc-lang.c:
1269 * fc-lang/fc-lang.man:
1270 * fc-lang/fclang.tmpl.h:
1315 * fc-lang/ku_ir.orth:
1348 * fc-lang/ps_af.orth:
1349 * fc-lang/ps_pk.orth:
1378 * fc-lang/ti_er.orth:
1379 * fc-lang/ti_et.orth:
1405 * fc-lang/zh_cn.orth:
1406 * fc-lang/zh_hk.orth:
1407 * fc-lang/zh_mo.orth:
1408 * fc-lang/zh_sg.orth:
1409 * fc-lang/zh_tw.orth:
1411 * fc-list/Makefile.am:
1412 * fc-list/fc-list.c:
1413 * fc-match/Makefile.am:
1414 * fc-match/fc-match.1:
1415 * fc-match/fc-match.c:
1416 * fontconfig/fcfreetype.h:
1417 * fontconfig/fcprivate.h:
1418 * fontconfig/fontconfig.h:
1439 Change files from ISO-Latin-1 to UTF-8
1441 2004-12-04 Keith Packard <keithp@keithp.com>
1444 Update links to new freedesktop.org locations
1446 Add uninstall-local to get rid of fonts.conf and local.conf if they
1447 match the distributed versions. Fixes 'make distcheck'
1449 2004-12-04 Keith Packard <keithp@keithp.com>
1453 * fontconfig/fontconfig.h:
1454 Updates for version 2.2.97
1456 2004-12-04 Owen Taylor <otaylor@redhat.com>
1458 reviewed by: Keith Packard <keithp@keithp.com>
1460 * fc-cache/fc-cache.c: (main):
1461 Sleep for two seconds before exiting to make sure timestamps
1462 for future changes have distinct mod times in the file system.
1465 Add Punjabi orthography. Bug #1671.
1467 2004-12-04 Keith Packard <keithp@keithp.com>
1470 Just remove the FC_FONTDATE -- it has locale issues and
1471 annoys redhat multi-arch installs. Now that all X fonts are
1472 included without prejudice, the chances of the date being at
1473 all interesting are rather limited. Bug #505.
1475 Add copyright and license
1477 2004-12-04 Keith Packard <keithp@keithp.com>
1480 Change default set of fonts to include all of
1481 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1482 * doc/fontconfig-user.sgml:
1483 Document new <include>directory-name</include> semantics
1485 add <include ignore_missing="yes">conf.d</include>
1487 Add selectfont to ignore bitmap fonts, add comment for
1488 selectfont which accepts bitmap fonts.
1491 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1492 Allow <include> configuration elements to reference directories.
1493 Parse and load all files of the form [0-9]* in sorted order.
1495 2004-12-04 Keith Packard <keithp@keithp.com>
1498 Report command line for $srcdir/configure accurately.
1501 2004-12-04 Keith Packard <keithp@keithp.com>
1503 * src/fcfreetype.c: (FcFreeTypeQuery):
1504 Check for non-empty face->family_name and face->style_name
1505 before using those for the font. Empty names match everything.
1508 2004-12-04 Keith Packard <keithp@keithp.com>
1511 * fontconfig/fontconfig.h:
1512 * src/fcfreetype.c: (FcFreeTypeQuery):
1514 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1515 available. This provides font file format information (BDF, Type 1,
1516 PCF, TrueType) for each font. Closes #109.
1518 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1520 reviewed by: Keith Packard <keithp@keithp.com>
1522 * doc/fontconfig-user.sgml:
1525 * fontconfig/fontconfig.h:
1526 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1527 (GetScriptTags), (FcFontCapabilities):
1529 Add detection for font capabilities (bug #105)
1531 2004-12-04 Keith Packard <keithp@keithp.com>
1534 Move existing fonts.conf to fonts.conf.bak
1537 Add detection of iconv
1539 * doc/fcpattern.fncs:
1540 * doc/fontconfig-devel.sgml:
1541 * doc/fontconfig-user.sgml:
1543 Document new selectfont elements
1546 Switch to UTF-8 in comment
1548 * fontconfig/fontconfig.h:
1550 Add fullname, and family/style/fullname language entries
1552 * src/fccache.c: (FcCacheFontSetAdd):
1553 * src/fcdir.c: (FcFileScanConfig):
1554 Respect selectfont/*/glob
1557 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1558 (FcConfigCompareValue), (FcConfigPatternsAdd),
1559 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1560 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1561 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1562 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1563 Add support for selectfont
1565 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1566 (FcStringInPatternElement), (FcFreeTypeQuery):
1567 Add multi-lingual family/style/fullname support
1569 * src/fclist.c: (FcListPatternMatchAny):
1570 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1572 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1573 (FcObjectStaticName):
1574 Add new FcPatternRemove/FcPatternAppend.
1575 FcObjectStaticName stores computed pattern element names which
1576 are required to be static.
1578 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1583 Remove spurious / after $(DESTDIR)
1585 2004-06-30 Keith Packard <keithp@keithp.com>
1589 * fontconfig/fontconfig.h:
1592 2004-06-30 Keith Packard <keithp@keithp.com>
1594 Provided by: Lubos Lunak <l.lunak@suse.cz>
1596 * src/fccfg.c: (FcConfigUptoDate):
1597 However FcConfigUptoDate() doesn't seem to work. See the attached
1598 patch. First there's an obvious misplaced parenthesis making it
1599 return always false, and second, even this call fails to detect font
1600 changes (e.g. adding a new font to
1601 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1602 well. The problem seems to be triggered by my fonts.conf specifying
1603 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1604 doesn't include subdirs, unlike config->fontDirs.
1606 2004-06-03 Keith Packard <keithp@keithp.com>
1608 * fontconfig/fontconfig.h:
1609 Remove comma at end of FcResult enum definition.
1611 2004-05-29 Keith Packard <keithp@keithp.com>
1614 Add steps to md5sum release
1616 2004-05-29 Keith Packard <keithp@keithp.com>
1620 * fontconfig/fontconfig.h:
1623 2004-05-29 Keith Packard <keithp@keithp.com>
1625 * fontconfig/fontconfig.h:
1626 * src/fcmatch.c: (FcFontSetMatch):
1627 Add FcResultOutOfMemory to provide an accurate error when
1628 FcFontSetMatch fails in this way
1631 Make #warning about lacking various FreeType features indicate
1632 which version those features appeared so users know how to
1633 fix the problem (Thanks to Anton Tropashko)
1635 2004-05-05 Keith Packard <keithp@keithp.com>
1637 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1638 Replace MIN/MAX/ABS macros which happen to have come
1639 from FreeType with fontconfig-specific ones (FC_*)
1641 2004-04-23 Keith Packard <keithp@keithp.com>
1644 Extend release preparation instructions to include
1645 notification and distribution steps
1647 2004-04-23 Keith Packard <keithp@keithp.com>
1651 * fontconfig/fontconfig.h:
1652 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1654 2004-04-23 Keith Packard <keithp@keithp.com>
1657 Ignore a few more autotool files
1659 2004-04-14 Keith Packard <keithp@keithp.com>
1662 Add instructions for doing a release
1664 * fontconfig.spec.in:
1665 clean up .spec file; perhaps this will be useful to somebody...
1669 * fontconfig/fontconfig.h:
1672 * fc-lang/fc-lang.c:
1673 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1675 * fc-glyphname/Makefile.am:
1676 * fc-lang/Makefile.am:
1677 * fc-list/Makefile.am:
1678 * fc-match/Makefile.am:
1680 Add WARN_CFLAGS to pass -W flags for GCC systems
1682 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1683 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1684 Change various char types around to match across
1686 Fixed bug in using available_sizes[i].height which
1687 is in pixels, not 64ths of a pixel.
1689 2004-03-06 Keith Packard <keithp@keithp.com>
1691 * src/fcfreetype.c: (FcFreeTypeQuery):
1692 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1693 matches looking for explicit values prefer exact matches
1695 2004-03-02 Keith Packard <keithp@keithp.com>
1697 Supplied by: mfabian@suse.de (Mike FABIAN)
1699 * src/fcfreetype.c: (FcFreeTypeQuery):
1700 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1701 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1703 2004-02-21 Manish Singh <yosh@gimp.org>
1705 * fc-glyphname/fc-glyphname.c: (main):
1706 Cast strlen to int for printf, so we're 64-bit clean.
1708 2004-02-11 Keith Packard <keithp@keithp.com>
1711 * src/fcfreetype.c: (FcGetPixelSize):
1712 Ok, so I messed up the test for y_ppem. Let's see if I
1713 got it right this time.
1715 2004-02-10 Keith Packard <keithp@keithp.com>
1718 * src/fcfreetype.c: (FcGetPixelSize):
1719 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1720 FT_Bitmap_Size record. Add a configure.in test for this
1721 and change the code accordingly (using height instead).
1723 2004-02-06 Keith Packard <keithp@keithp.com>
1726 Add Low Saxon orthography
1727 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1729 * src/fccfg.c: (FcConfigNewestFile):
1730 Oops. Left 'newest.set' unset, which would miscompute
1733 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1734 (FcFreeTypeCheckGlyph):
1735 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1736 font properties (which report the wrong value in current FreeType)
1738 Don't attempt to check for empty glyphs in non-scalable fonts; they
1741 2004-02-01 Tor Lillqvist <tml@iki.fi>
1743 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1744 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1745 cache if config->cache is NULL, which happens if FcConfigHome() is
1746 NULL. Guard against that by using the temp folder in that case.
1748 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1750 * fc-lang/az_ir.orth:
1751 * fc-lang/ku_ir.orth:
1752 * fc-lang/ps_af.orth:
1753 * fc-lang/ps_pk.orth:
1754 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1755 (Afghan and Pakistani).
1757 Updated Urdu orthography with real data.
1759 2003-12-11 Carl Worth <cworth@east.isi.edu>
1761 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1764 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1766 (all-local): Remove excessive whitespace.
1768 * autogen.sh: Add 'set -e' to abort when any program fails,
1769 (avoids printing of 'now type make' after configure aborts).
1771 2003-11-17 Eric Christopherson <rakko@charter.net>
1773 reviewed by: Keith Packard <keithp@keithp.com>
1776 * fontconfig/fcfreetype.h:
1778 Switch to FreeType 2.1.7 style includes. Bug #150.
1780 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1782 * fc-list/fc-list.sgml: Add some example usages.
1784 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1787 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1790 2003-10-27 Keith Packard <keith@keithp.com>
1793 * fontconfig/fontconfig.h:
1794 Update to version 2.2.92
1796 2003-10-27 Keith Packard <keithp@keithp.com>
1801 * fc-cache/Makefile.am:
1802 * fc-glyphname/Makefile.am:
1803 * fc-lang/Makefile.am:
1804 * fc-list/Makefile.am:
1805 * fc-match/Makefile.am:
1808 Yet more cleanups to finish getting 'make distcheck' working
1809 This has been tested to ensure that it even works from a _build
1812 2003-10-26 Keith Packard <keithp@keithp.com>
1816 * fc-cache/Makefile.am:
1817 * fc-glyphname/Makefile.am:
1818 * fc-lang/Makefile.am:
1819 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1820 * fc-list/Makefile.am:
1821 * fc-match/Makefile.am:
1822 Attempts to fix 'make distcheck' work. Things are
1823 progressing pretty well, but there are still failures
1824 long into the process dealing with docs (as always).
1826 The big changes here are mostly to make $(srcdir) != "."
1827 work correctly, fixing the docbook related sections and
1828 fc-lang were particularily tricky. Docbook refuses to load
1829 system entities from anywhere other than where the original .sgml
1830 file was located, so no luck looking in "." for the
1831 configure-generated version.sgml and confdir.sgml files.
1833 fc-lang needed help finding .orth files; added a -d option
1834 to set the directory as the least evil of many options.
1836 Now to go use a faster machine and try and wring out the last
1839 2003-10-26 Keith Packard <keithp@keithp.com>
1843 2003-10-26 Keith Packard <keithp@keithp.com>
1846 Include confdir.sgml.in in EXTRA_DIST
1848 2003-10-09 Josselin Mouette <joss@debian.org>
1850 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1851 * fc-list/fc-list.sgml fc-list/Makefile.am:
1852 Replace fc-cache and fc-list manpages with more detailed, SGML
1855 2003-09-23 Owen Taylor <otaylor@redhat.com>
1857 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1858 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1859 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1862 2003-09-23 Owen Taylor <otaylor@redhat.com>
1864 * fc-lang/ka.orth: Remove Georgian capitals, they
1865 aren't used for normal writing. (Bug #116)
1867 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1869 * doc/fontconfig-devel.sgml:
1870 * doc/fontconfig-user.sgml:
1871 * fontconfig/fontconfig.h:
1873 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1874 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1876 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1877 monospace and dual-width fonts, allow roughly a 3% variance in the
1880 2003-08-31 Manish Singh <yosh@gimp.org>
1882 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1885 2003-08-15 Carl Worth <cworth@isi.edu>
1887 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1888 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1890 * src/fcpat.c (FcValueListEntDestroy): New function to support
1891 FcFini memory cleanup. Some statistics are not kept in
1893 (FcValueListFreeze): Move hashTable outside this function so it
1894 can be accessed by FcValueListThawAll.
1895 (FcValueListThawAll): New function complements FcValueListFreeze.
1896 (FcPatternBaseFreeze): Move hashTable outside this function so it
1897 can be accessed by FcPatternBaseThawAll.
1898 (FcPatternBaseThawAll): New function complements
1899 FcPatternBaseFreeze.
1900 (FcPatternThawAll): New function complements FcPatternFreeze.
1902 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1904 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1905 allocated FcCharLeafEnt "blocks" so they can be freed later.
1906 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1907 can be accessed by FcCharSetThawAllLeaf.
1908 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1909 (FcCharSetFreezeBase): Move hashTable outside this function so it
1910 can be accessed by FcCharSetThawAll.
1911 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1913 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1914 (FcConfigDestroy): Fic leak of FcBlanks.
1916 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1917 (main): Add call to FcFini when finished.
1919 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1920 static. Add prototypes.
1922 * doc/fcinit.fncs: Add documentation for FcFini function.
1924 * doc/edit-sgml.c: Mark several local functions as static. Add
1927 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1929 2003-06-15 Tor Lillqvist <tml@iki.fi>
1931 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1932 before comparing (needed on Windows).
1934 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1936 2003-06-13 Tor Lillqvist <tml@iki.fi>
1938 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1941 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1942 WINDOWSFONTDIR token.
1944 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1945 end, not to confuse libtool, which expects the EXPORTS line to be
1946 the first. Add FcConfigEnableHome.
1948 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1949 built as a DLL on Win32.
1951 2003-06-09 Keith Packard <keithp@keithp.com>
1953 * Tag version 2.2.90
1955 2003-06-09 Keith Packard <keithp@keithp.com>
1957 * Optimization in FcLangSetIndex was broken, occasionally
1958 returning a pointer to the wrong location on miss
1960 * Add fc-match to test font matching from the command line.
1962 2003-05-31 Keith Packard <keithp@keithp.com>
1964 * (Bug 85) add support for culmus fonts
1965 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1966 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1968 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1970 * Fix "contains" op for strings and langsets.
1972 2003-05-17 Keith Packard <keithp@keithp.com>
1974 * Fix build error with BDF prop local. Free langset after query
1976 2003-05-14 Keith Packard <keithp@keithp.com>
1978 * Extract spacing from XLFD atom
1980 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1982 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1983 disappeared in 1.30.
1985 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1987 2003-05-12 Keith Packard <keithp@keithp.com>
1989 * Use FcIsWidth to share code
1991 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1992 misclassifying some Han fonts as monospaced.
1994 2003-05-07 Keith Packard <keithp@keithp.com>
1996 * Add filename-based accept/reject to ammend available fonts.
1998 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1999 older FreeType releases.
2001 2003-05-06 Keith Packard <keithp@keithp.com>
2003 * Remove 0b82 and Tamil numbers from tamil
2004 orthography (Jungshik Shin <jshin@mailaps.org>)
2006 2003-05-04 Keith Packard <keithp@keithp.com>
2008 + Map glyph names in fonts with adobe custom encoding to unicode
2010 2003-05-02 Keith Packard <keithp@keithp.com>
2012 * Add FC_WEIGHT_BOOK as weight 75
2014 2003-04-30 Keith Packard <keithp@keithp.com>
2016 * Typo in bitstream foundry name
2018 2003-04-24 Keith Packard <keithp@keithp.com>
2020 * Eliminate italic_angle check for PS fonts
2022 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2024 * Getting closer to fixing /etc/fonts hard-coding.
2026 2003-04-22 Keith Packard <keithp@keithp.com>
2028 * Update autogen.sh to work with newer automake versions
2029 * Handle pattern elements moving during multiple edits
2031 2003-04-23 James Henstridge <james@daa.com.au>
2033 * doc/fontconfig-devel.sgml: close the <para> element.
2035 * doc/fcpattern.fncs: close the <para> element.
2037 * doc/func.sgml: close the <refsynopsisdiv> element.
2039 2003-04-22 Keith Packard <keithp@keithp.com
2041 * Update autogen.sh to work with newer automake versions
2042 * Handle pattern elements moving during multiple edits
2044 2003-04-17 Colin Walters <walters@debian.org>
2046 + Remove some unused variables, and initialize some other ones so
2047 gcc doesn't warn us.
2049 2003-04-16 Keith Packard <keithp@keithp.com>
2051 + tag version 2.1.94
2053 2003-04-16 Keith Packard <keithp@keithp.com>
2055 + add BDF property fetching support for foundry
2056 (from Juliusz Chroboczek)
2057 + add BDF property fetching support for width
2059 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2061 + Implemented foundry generation for Type 1 and TrueType
2063 2003-04-11 Gerard Escalante <g2@magestudios.net>
2065 + Retrieve information from Type1 FontInfo dictionaries
2067 2003-04-07 Colin Walters <walters@verbum.org>
2069 + src/Makefile.am: Fix dummy makefile target names when
2070 MS_LIB_AVAILABLE isn't set.
2072 2003-03-22 Tor Lillqvist <tml@iki.fi>
2074 Changes for Windows:
2076 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2078 + We don't want to hardcode the fonts.conf file location in the
2079 DLL, so we look up the DLL location at run-time in a DllMain()
2080 function. The fonts.conf location is deduced from that.
2082 + The colon can't be used as path separator on Windows,
2083 semicolon is used instead. File path components can be separated
2084 with either slash or backslash. Absolute paths can also begin
2085 with a drive letter.
2087 + Add internal function FcStrLastSlash that strrchr's the last
2088 slash, or backslash on Windows.
2090 + There is no link() on Windows. For atomicity checks, mkdir a
2091 lock directory instead.
2093 + In addition to HOME, also look for USERPROFILE.
2095 + Recognize the special font directory token WINDOWSFONTDIR, to
2096 use the system's font directory.
2098 + Remove the fontconfig-def.cpp that was obsolete. Add
2099 fontconfig.def(.in), without internal functions.
2101 + Add a fontconfig-zip(.in) script, used to build a binary
2104 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2105 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2106 to main package and man3/* to devel package
2108 + Added missing defattr(-, root, root) to main RPM package
2110 + Added HTML and text development documentation to -devel subpackage
2112 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2113 + Added back the configure macro options --disable-docs, otherwise
2114 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2115 version number) unconditionally, causing RPM to fail the build due
2116 to _unpackaged_files_terminate_build. We pick up the pregenerated
2117 docs with %doc already.
2119 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2120 + Removed commented out rpm macro define at top of spec file,
2121 replacing it with a simple explanation, since rpm macros are
2122 expanded by rpm even in comments.
2124 + Changed /usr/bin to _bindir in BuildRequires lines
2126 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2128 + Reorganized file manifest lists
2130 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2132 + fontconfig.spec.in: Improvements from Red Hat spec file.
2134 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2136 + docs/*.sgml: SGML fixes.
2138 Sat Mar 1 17:28:53 PST 2003 keithp
2139 + Ok, so the ChangeLog is a bit out of date
2141 + Lots of bugs fixed; most are in bugzilla, the
2142 biggest problems were in cache management where
2143 Owen discovered the library would lose badly when
2144 combining fonts-cache and ~/.fonts-cache data
2146 + Converted from autoconf to automake. This after
2147 getting patches accepted into libtool to allow
2148 the '-version-number' argument which lets
2149 packages set version numbers explicitly rather
2150 than the roundabout libtool way
2152 + Converted documentation to SGML using the docbook
2153 DTD. Now .txt and .html documents are installed
2154 in /usr/share/doc/fontconfig and there's no
2155 man page. Perhaps a man version can be written
2158 Sat Aug 31 15:21:22 PDT 2002 keithp
2159 + Xrender and Xft had several bugs related to
2160 rendering manually placed or poly-face text
2162 + Added more complete memory tracing in fontconfig
2163 Checked with (patched) mozilla and found no leaks
2165 + Updated Latin orthographies by comparing those from
2166 evertype.com with those from eki.ee. Tried to make
2167 sensible choices, including chars that occured in both
2168 and leaving some optional chars out that occured only
2171 Mon Aug 26 16:33:04 PDT 2002 keithp
2172 + Owen discovered that FcLangSetHasLang wasn't actually
2173 checking the language set.
2175 Mon Aug 26 13:37:23 PDT 2002 keithp
2176 + Append a version number to cache filenames
2178 Thu Aug 22 11:36:18 PDT 2002 keithp
2180 + Add "contains" and "not_contains" operators and elements to
2183 + Changed semantics of eq operator for LangSets to check for
2184 FcLangEqual so that any match will do
2186 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2187 of FcValueEqual to check for identical values when inserting into
2188 the results. This broke when the above semantic change was made,
2189 now it uses FcValueEqual which is "more correct" in any case.
2191 Thu Aug 22 00:32:29 PDT 2002 keithp
2193 + Reimplement FC_LANG as new datatype. Lists of strings
2194 was consuming over a megabyte of memory for 401 fonts.
2196 + Freeze patterns loaded from cache files. This shares
2197 common value lists and common patterns which saves
2198 considerable memory.
2200 + Change the denotation of 'constant' charsets to use special
2201 ref value instead of separate boolean.
2203 + Clean up leak tracing stuff, found several unannoted alloc/free
2206 Tue Aug 20 16:17:37 PDT 2002 keithp
2208 + Fix memory leak when parsing matrices from XML
2210 Mon Aug 19 11:57:27 PDT 2002 keithp
2212 + Fix autoconf files to pass FONTCONFIG_PATH on
2213 compile line so that ${prefix} gets substituted
2216 + Use getc_unlocked/putc_unlocked on systems that
2217 provide them to avoid damage done to stdio by posix
2219 + Eliminate FC_PATTERN and FcTypePattern in favor of
2220 an extended api for FcConfigSubstitute which takes
2221 both the font and the pattern.
2223 + Add 'sans serif' alias for 'sans-serif' as some apps
2224 can't handle hyphens in family names
2226 + Eliminate pretense of support for libxml2
2228 + Comment origins of Han orthographies
2230 Tue Jul 30 18:37:09 PDT 2002 keithp
2232 + Add binding property to edit element so that strong
2233 binding values may be inserted by the config file.
2234 The default remains weak.
2236 Sun 28 Jul 04:16:55 PDT 2002 keithp
2238 + Tagged release candidate 1 in the CVS tree and
2239 placed fcpackage.rc1.tar.gz for distribution
2241 Thu Aug 1 08:55:08 PDT 2002 keithp
2243 + Fixed autoconf builds to always specify install
2244 target files (for BSD). Also fixed to
2245 define FONTCONFIG_PATH in config.h so that
2246 nonstandard installs will actually work.