1 2005-11-28 Dirk Mueller <dmueller@suse.com>
2 Stephan Kulow <coolo@suse.de>
5 * src/fcmatch.c (FcFontSetMatch):
7 Don't kill all fonts during match (oops!)
10 2005-11-25 Dirk Mueller <dmueller@suse.com>
11 Stephan Kulow <coolo@suse.de>
12 Michael Matz <matz@suse.de>
15 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
18 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
19 inline FcCompare into FcFontSetMatch and reorder the
20 loops, adding a boolean array which blocks patterns from future
21 consideration if they're known to not be best on some past
24 2005-11-26 Dirk Mueller <dmueller@suse.com>
27 * src/fcmatch.c (FcCompareValueList):
31 2005-11-25 Patrick Lam <plam@mit.edu>
32 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
34 Don't do random matching when bad objects are passed into
37 2005-11-25 Patrick Lam <plam@mit.edu>
39 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
40 FcPatternSerialize, FcPatternUnserialize,
41 FcValueListEnsureBank, FcValueListDistributeBytes,
42 FcValueListUnserialize):
44 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
45 _fcPatternElts, _fcValueLists for consistency.
47 2005-11-25 Dirk Mueller <dmueller@suse.com>
52 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
54 2005-11-25 Patrick Lam <plam@mit.edu>
56 * src/fccache.c (FcDirCacheConsume):
57 * src/fccharset.c (FcCharSetUnserialize):
58 * src/fcfs.c (FcFontSetUnserialize):
59 * src/fclang.c (FcLangSetUnserialize):
60 * src/fcname.c (FcObjectUnserialize):
61 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
62 FcPatternUnserialize):
64 Pass around FcCache *s to the Unserialize functions for extra
65 consistency (and less overhead, for what that's worth).
67 2005-11-24 Dirk Mueller <dmueller@suse.com>
71 * src/fcmatch.c (FcCompare*, FcFontSetSort):
72 * src/fcname.c (FcNameUnparseValue):
74 Inline the *PtrU functions to gain perf.
75 Remove unneeded params for the FcCompare* functions.
77 2005-11-24 Dirk Mueller <dmueller@suse.com>
80 * src/fcint.h, fontconfig/fontconfig.h:
82 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
84 * src/fcpat.c, src/fcint.h, src/fcname.c:
86 Check for type validity during FcPatternAddWithBinding, don't
87 verify type in FcFontMatch, don't call FcCanonicalize here
88 (which always does a deep copy).
90 2005-11-24 Dirk Mueller <dmueller@suse.com>
93 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
94 * src/fcpat.c (FcPatternAddWithBinding):
96 Make FcCompareString and FcCompareFamily less expensive.
97 Only add a value for FC_FAMILY if the proposed value is a string.
99 2005-11-24 Dirk Mueller <dmueller@suse.com>
102 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
103 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
104 * src/fcint.h (FcDebug):
106 Inline FcDebug invocations and only initialize once, in FcInit*.
107 Improve debug msg in FcPatternPrint.
109 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
112 * fontconfig/fontconfig.h:
115 Minor code warning cleanups.
117 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
120 * fc-match/fc-match.c (main):
122 Make getopt_long accept -s parameter to fc-match as well.
124 2005-11-21 Dirk Mueller <dmueller@suse.com>
127 * src/fcmatch.c (FcCompareValueList):
129 Manually perform inlining & partial redundancy elimination to
130 reduce calls to FcValueListPtrU.
132 2005-11-21 Dirk Mueller <dmueller@suse.com>
135 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
136 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
138 Only invoke strlen() when really necessary.
140 2005-11-19 Matthias Clasen <mclasen@redhat.com>
144 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
149 Get rid of the use of freetype internal headers in fcfreetype.c,
150 since those headers will go away with freetype 2.2. Replace with
151 public domain ftglue code from pango. Note that the patch removes
152 some extra error checking in FT_Get_BDF_Property() and comments
153 out the skipping of empty pcf fonts.
155 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
158 * fc-lang/fc-lang.c (main):
160 Further fix of patch from 2005-11-04: miscounted numbers count
161 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
162 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
164 Removed leafidx_count and numbers_count since they are the same
165 and replaced them with offset_count.
167 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
170 * fc-cat/fc-cat.c (main):
172 Don't crash when fc-cat invoked with no arguments.
174 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
177 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
179 Fix invalid read access caused by premature free and
180 GCC4 warnings in libxml2 codepath.
182 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
185 * src/fccfg.c (FcConfigValues):
187 List iteration not needed in FcConfigValues, since it's building
188 up the list itself; we can just strip FcVoid elements during
191 2005-11-17 Patrick Lam <plam@mit.edu>
192 * src/fccfg.c (FcConfigValues):
194 Fix crash on invalid constants in config files (forgot to update
195 a pointer upon list iteration.)
197 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
200 * src/fcxml.c (FcTypecheckExpr):
202 Complain about invalid constants in config files.
204 2005-11-17 Andreas Schwab <schwab@suse.de>
207 * src/fccache.c (FcGlobalCacheSave):
209 Don't add current_arch_start more than once.
211 2005-11-16 Patrick Lam <plam@mit.edu>
212 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
213 * src/fcfs.c (FcFontSetUnserialize):
214 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
215 * src/fcpat.c (FcStrUnserialize):
217 Fix ordering of ALIGN with respect to saving block_ptr; add
218 another ALIGN to fcfs.c.
220 2005-11-16 Patrick Lam <plam@mit.edu>
221 * src/fccache.c (FcDirCacheProduce)
223 Fix case where alignment bytes bumped up metadata->count
224 causing unwarranted failures to write cache files.
225 (Reported by Stephan Kulow).
227 2005-11-16 Patrick Lam <plam@mit.edu>
228 * src/fccache.c (FcDirCacheProduce):
229 * src/fccharset.c (FcCharSetDistributeBytes):
230 * src/fcfs.c (FcFontSetDistributeBytes):
232 * src/fclang.c (FcLangSetDistributeBytes):
233 * src/fcname.c (FcObjectDistributeBytes):
234 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
237 Add *NeededBytesAlign(), which overestimates the padding which is
238 later added by the new ALIGN macro. Fix alignment problems on
239 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
240 version by Andreas Schwab).
242 2005-11-16 Stephan Kulow <coolo@kde.org>
247 Use sysconf to determine proper PAGESIZE value; this
248 appears to be POSIX-compliant. (reported by Andreas Schwab)
250 2005-11-04 Patrick Lam <plam@mit.edu>
256 Fix bug 2878 (excessive relocations at startup for charsets,
257 reported by Ross Burton): fc-lang/fc-lang now creates the
258 static form of the langset, not the dynamic form, so that
259 the charsets should now be in .rodata.
261 2005-11-04 Patrick Lam <plam@mit.edu>
262 * src/fcdir.c (FcDirScanConfig):
264 Add test for validity of directory caches that
265 somehow got lost (reported by make distcheck).
267 2005-11-04 Patrick Lam <plam@mit.edu>
271 * fontconfig/fontconfig.h:
273 Bump version to 2.3.92.
275 2005-11-02 Patrick Lam <plam@mit.edu>
276 * src/fcpat.c (FcPatternDuplicate):
278 Fix argument ordering problem in call to FcPatternTransferFullFname.
280 2005-11-02 Patrick Lam <plam@mit.edu>
281 * src/fcfreetype.c (FcFreetypeQuery):
282 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
283 FcPatternTransferFullFname):
285 Fix warnings and embarrassing double-free error.
287 2005-11-02 Zhe Su <zsu@novell.com>
292 Change the rule for artificial emboldening in fonts.conf.in. This
293 enables the support for artificial emboldening included in cairo.
295 2005-11-02 Patrick Lam <plam@mit.edu>
296 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
298 Don't zero out full names for FC_REF_CONSTANT fonts;
299 also, duplicate full names when transferring, and free
300 full names when freeing the associated font.
301 Reported by Jinghua Luo.
303 2005-11-02 Patrick Lam <plam@mit.edu>
304 * fc-cache/fc-cache.c (scanDirs):
305 * src/fcpat.c (FcValueListSerialize):
307 Revert the previous patch and commit the correct patch:
308 I forgot a canonicalization in FcValueListSerialize, so
309 that it would choke on already-serialized input files. Duh!
311 2005-11-02 Patrick Lam <plam@mit.edu>
312 * fc-cache/fc-cache.c (scanDirs):
314 Forcibly rescan a directory before writing a fresh local
315 cache file for that directory, fixing the losing-fonts
316 problem reported by Mike Fabian and also apparently the
317 font cache file corruption.
319 2005-11-02 Patrick Lam <plam@mit.edu>
320 * src/fccache.c (FcGlobalCacheLoad):
322 Fix thinko: actually, the whole global cache is stale
323 if the global cache is older than the (newest) config file.
325 2005-11-02 Patrick Lam <plam@mit.edu>
326 * src/fccache.c (FcGlobalCacheLoad):
327 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
330 Declare the global cache of a directory's contents to be stale if
331 the directory is newer than the (newest) configuration file.
333 2005-10-31 Patrick Lam <plam@mit.edu>
335 * src/fclist.c (FcListAppend):
336 * src/fcmatch.c (FcFontRenderPrepare):
337 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
338 FcPatternFreeze, FcPatternBaseFreeze):
340 Copy the full pathname whenever duplicating an FcPattern; otherwise,
341 applications continue breaking.
343 2005-10-31 Patrick Lam <plam@mit.edu>
344 * fc-cat/fc-cat.c (FcCacheFileRead, main):
345 * src/fcfreetype.c (FcFreeTypeQuery):
347 Fix small memory error (tried to free argv); use basename and
348 dirname correctly (they can modify their arguments).
350 2005-10-31 Patrick Lam <plam@mit.edu>
358 Reinstate basename patch, but keep a hash table linking FcPatterns
359 to their fully-qualified font names for clients' benefit. Clients
360 only pay for the font names once they request the FC_FILE property
361 from an FcPattern, but the font name is malloc'd at that point (i.e.
362 not mmapped: that's impossible, since it may vary between machines.)
363 Clients do have to pay for a copy of the path name per cache file.
365 Note that FcPatternGetString now does some rewriting if you ask
366 for an FC_FILE, appending the pathname as appropriate.
368 2005-10-31 Patrick Lam <plam@mit.edu>
369 * src/fcfreetype.c (FcFreeTypeQuery):
371 Revert basename patch, which breaks fontconfig clients on my system.
373 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
376 * fontconfig/fonts.conf.in:
377 * fontconfig/fontconfig.h:
381 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
382 to load embedded bitmaps or not.
384 2005-10-25 Patrick Lam <plam@mit.edu>
385 * src/fcfreetype.c (FcFreeTypeQuery):
387 Only add basename to patterns' FC_FILE element, not any part of
390 2005-10-22 Patrick Lam <plam@mit.edu>
393 Add some more consts, fixing more GCC4 warnings.
395 2005-10-22 Zhe Su <zsu@novell.com>
398 Support localized font family and style names.
399 This has been reported to break old apps like xfd, but modern
400 (gtk+/qt/mozilla) apps work fine.
402 2005-10-21 Patrick Lam <plam@mit.edu>
403 * src/fccache.c (FcGlobalCacheLoad):
405 Destroy the global cache file if it's terminally broken. (reported by
408 2005-10-21 Patrick Lam <plam@mit.edu>
409 * fc-list/fc-list.c (main):
410 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
411 * fontconfig/fontconfig.h:
413 Prevent fc-list from escaping strings when printing them (reported by
416 2005-10-20 Marcus Meissner <meissner@suse.de>
419 * fontconfig/fontconfig.h:
421 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
423 2005-10-14 Ross Burton <ross@burtonini.com>
426 * fc-glyphname/fc-glyphname.c:
429 Add consts to variables so as to move arrays into .rodata.
431 2005-10-14 Mike Fabian <mfabian@suse.de>
434 * src/fccache.c (FcDirCacheUnlink):
436 Check existence of directory cache file before attempting to unlink.
438 2005-10-13 Patrick Lam <plam@mit.edu>
439 * src/fccache.c (FcDirCacheUnlink):
441 Fix flipped return value on unlink. (Reported by Mike Fabian)
443 2005-10-12 Patrick Lam <plam@mit.edu>
446 * src/fcdir.c (FcDirScanConfig):
449 When fc-cache is run without --force, use directory cache files
450 to speed up fc-cache run time. (Reported by Mike Fabian)
452 2005-10-06 Patrick Lam <plam@mit.edu>
454 * src/fcname.c (FcObjectToPtr):
455 * src/fcpat.c (FcStrStaticName):
457 Add padding to make valgrind and glibc not hate each other
458 when calling strlen().
460 2005-10-05 Simos Xenitellis <simos74@gmx.net>
461 reviewed by: plam & keithp
465 Modify config file to use Greek fonts before Asian fonts with
468 2005-10-05 Christian Biesinger <cbiesinger@web.de>
469 reviewed by: plam & keithp
473 Use libtool -no-undefined flag on all platforms.
475 2005-10-05 Patrick Lam <plam@mit.edu>
476 * src/fccache.c (FcCacheHaveBank):
478 Implement move-to-front array for banks (perf regression
479 reported by Ronny V. Vindenes).
481 2005-10-04 Patrick Lam <plam@mit.edu>
482 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
483 FcDirCacheHasCurrentArch):
484 * fc-cache/fc-cache.c (scanDirs):
485 * fontconfig/fontconfig.h:
487 Add new API which unlinks directory caches and checks dir caches
488 for existence of appropriate sections. Fix fc-cache to unlink
489 stale cache files and save directory caches that lack relevant
492 2005-10-03 Patrick Lam <plam@mit.edu>
493 * src/fccache.c (FcDirCacheValid):
495 Ensure that a directory cache has the appropriate section
496 before reporting that it is valid (reported by Matthias Clasen).
498 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
506 Use libxml2 if requested (with --enable-libxml2) or if
507 expat is not available.
509 2005-09-29 Patrick Lam <plam@mit.edu>
510 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
512 Fix multi-arch cache files: compute the position for the
513 block to be added using info from OrigFile, not NewFile.
515 2005-09-28 Patrick Lam <plam@mit.edu>
516 * src/fccache.c (FcCacheMachineSignature):
518 Cast results of sizeof() to unsigned int to get rid of
519 warnings on x86_64 (thanks Matthias Clasen).
521 2005-09-27 Patrick Lam <plam@mit.edu>
522 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
525 Use FcAtomic to rewrite cache files.
527 2005-09-27 Patrick Lam <plam@mit.edu>
529 * src/fccache.c (FcDirCacheWrite):
531 Don't unlink the fonts.cache-2 file even if there's no data
532 to write; just write an empty cache file. (thanks Lubos Lunak)
534 2005-09-27 Patrick Lam <plam@mit.edu>
536 * src/fccache.c (FcDirCacheWrite):
538 Allocate room for the subdirectory names in each
539 directory cache. Thanks to James Cloos for finding
540 and diagnosing this bug!
542 2005-09-22 Patrick Lam <plam@mit.edu>
544 * fc-cache/fc-cache.sgml:
545 * src/fccache.c (FcDirCacheWrite):
546 * src/fccache.h (struct FcCache):
548 Update documentation -- fc-cache's man page now says that you
549 need to run fc-cache once per cached architecture; add some
550 documentation to the FcCache structure.
552 Make fc-cache write out fonts.cache-2 files for directories with
553 no fonts (i.e. only subdirectories).
555 2005-09-22 Patrick Lam <plam@mit.edu>
557 * fc-cache/fc-cache.sgml:
559 * fc-glyphname/fc-glyphname.c:
565 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
570 * fontconfig/fcprivate.h:
571 * fontconfig/fontconfig.h:
585 Implement new mmaped cache for font information.
586 Bump so revision to 2.3.90.
588 2005-07-25 Keith Packard <keithp@keithp.com>
590 * doc/fontconfig-user.sgml:
591 * fc-glyphname/fc-glyphname.c: (scan), (main):
592 * fc-lang/fc-lang.c: (FcConfigHome):
593 * fc-match/fc-match.c: (main):
594 * src/fccfg.c: (FcConfigHome):
595 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
596 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
597 (addtag), (FcFontCapabilities):
598 * src/fcpat.c: (FcValueListEntCreate):
599 * src/fcstr.c: (FcStrCaseWalkerInit):
600 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
602 Various GCC 4 cleanups for signed vs unsigned char
604 Match only [0-9]*.conf files in <include>{directory}</include>
605 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
607 2005-07-15 Carl Worth <cworth@cworth.org>
610 * src/fcinit.c: (FcFini):
611 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
614 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
615 Pull the FcObjectStateName hash table out to file scope, and add
616 FcObjectStaticNameFini so that FcFini will cleanup this hash table
619 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
622 2005-06-16 Patrick Lam <plam@MIT.EDU>
626 * src/fccfg.c: (FcConfigCompareValue):
627 Make FcOpNotContains use FcStrStr for strings so that
628 it matches semantics for !FcOpContains.
630 2005-05-20 Keith Packard <keithp@keithp.com>
634 Move fontconfig source package to libs as per override
636 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
638 reviewed by: Mike Fabian
641 The ka.orth file requires several characters which are not
642 used anymore in modern Georgian and which are missing in the free
643 Georgian TrueType fonts downloadable at:
645 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
647 2005-04-27 Keith Packard <keithp@keithp.com>
651 Update date to real 2.3.2 release date.
652 Fix change attributions
654 2005-04-27 Keith Packard <keithp@keithp.com>
657 Bump so revision for 2.3.2
658 * fc-cache/fc-cache.c: (scanDirs):
659 Fix a few minor leaks in error cases.
661 2005-04-23 Keith Packard <keithp@keithp.com>
666 * fontconfig/fontconfig.h:
667 Update for version 2.3.2
669 2005-04-21 Keith Packard <keithp@keithp.com>
671 * debian/fontconfig.postinst:
672 Don't force bitmap font enable in default
673 configuration; allows users to override this in
683 * debian/po/pt_BR.po:
684 * debian/po/templates.pot:
686 * debian/po/zh_CN.po:
689 * fc-cache/fc-cache.c: (main):
690 Destroy font configuration on exit to help valgrind
693 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
694 (FcFreeTypeCheckGlyph):
695 Use own transcoding routines in preference to iconv
696 which appears to have leaks in some translators.
697 Call iconv_close after using iconv (oops).
699 Prefer unicode encoding of Euro char as some
700 fonts mis-encode Euro in other ones.
702 Must fetch bitmap glyphs to get width values
703 to check for monospace/dual-width fonts.
705 2005-04-13 Ross Burton <ross@burtonini.com>
708 Check that a pattern isn't already frozen in FcPatternFreeze.
710 2005-03-31 Ross Burton <ross@burtonini.com>
715 Run all FcPattern objects through FcObjectStaticName, so that
716 compares can be done on pointers instead of strings (#2659)
718 2005-03-17 Tor Lillqvist <tml@novell.com>
720 * src/fontconfig.def.in: Add the .dll to the dll name.
722 2005-03-10 Keith Packard <keithp@keithp.com>
724 * debian/README.Debian:
725 Update to reflect configuration changes
727 * debian/fontconfig.postinst:
728 Fix Autohint vs Autohinter mistake
729 * debian/fontconfig.templates:
730 Adopt changes from Josselin Mouette for configuration descriptions
731 Update debian to version 2.3.1-2
733 2005-03-08 Keith Packard <keithp@keithp.com>
737 Update debian for 2.3.1
739 2005-03-09 Tor Lillqvist <tml@novell.com>
741 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
744 * src/fccfg.c (FcConfigFileExists): Check also drive letter
747 2005-03-08 Keith Packard <keithp@keithp.com>
751 * fontconfig/fontconfig.h:
754 2005-03-05 Keith Packard <keithp@keithp.com>
756 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
757 Include space and remove numbers from valid script tags.
758 This ensures that tags like 'lao ' work while rejecting
759 those which have any digits.
760 Eliminate a spurious debugging variable (len)
762 2005-03-05 Keith Packard <keithp@keithp.com>
764 * src/fcfreetype.c: (addtag), (GetScriptTags),
765 (FcFontCapabilities):
766 Rework GSUB/GPOS script parsing to survive broken fonts.
767 Thanks for the broken font go to Manish Singh
769 2005-03-05 Keith Packard <keithp@keithp.com>
774 * debian/fontconfig.config:
775 * debian/fontconfig.templates:
777 Include 2.3 release information in changelog
778 Add Josselin Mouette as an Uploader
779 Set hinting_type to low priority configuration option
782 * debian/fontconfig.postinst:
783 yes_bitmaps.conf -> yes-bitmaps.conf
789 2005-03-02 Keith Packard <keithp@keithp.com>
792 * conf.d/Makefile.am:
793 * conf.d/autohint.conf:
794 * conf.d/no-sub-pixel.conf:
795 * conf.d/sub-pixel.conf:
796 * conf.d/unhinted.conf:
797 * debian/autohint.conf:
798 * debian/fontconfig.install:
799 * debian/fontconfig.postinst:
800 * debian/fontconfig.templates:
801 * debian/no-sub-pixel.conf:
802 * debian/unhinted.conf:
803 Move debian-specific conf file examples upstream.
805 Sub-pixel configuration examples must smash subpixel value
806 as Xft always sets it from X.
808 Change sub-pixel rendering debconf descriptions from
809 Enable/Disable to Always/Never.
811 2005-03-02 Keith Packard <keithp@keithp.com>
816 Ignore more build detritus
819 Add debian package construction stuff.
821 * config/config.guess:
823 Update to newer versions of these tools
826 Get library manuals to build again (we love automake).
828 * debian/README.Debian:
829 * debian/autohint.conf:
834 * debian/fontconfig-udeb.install:
835 * debian/fontconfig.config:
836 * debian/fontconfig.defoma:
837 * debian/fontconfig.dirs:
838 * debian/fontconfig.install:
839 * debian/fontconfig.postinst:
840 * debian/fontconfig.postrm:
841 * debian/fontconfig.templates:
842 * debian/libfontconfig1-dev.install:
843 * debian/libfontconfig1.install:
844 * debian/local.conf.md5sum:
845 * debian/no-sub-pixel.conf:
846 * debian/po/POTFILES.in:
855 * debian/po/pt_BR.po:
856 * debian/po/templates.pot:
858 * debian/po/zh_CN.po:
860 * debian/unhinted.conf:
861 Update debian build system to switch maintainers and
862 deal with 2.3 functionality
864 2005-03-01 Keith Packard <keithp@keithp.com>
868 * fontconfig/fontconfig.h:
871 2005-03-01 Keith Packard <keithp@keithp.com>
874 Generate and install PDF versions of the manuals
876 * doc/fcpattern.fncs:
880 Add missing exported functions, fix data types
882 * doc/fontconfig-devel.sgml:
883 Add missing pattern elements.
885 * doc/fontconfig-user.sgml:
886 Add missing pattern elements. Document conf.d usage,
887 clarify available orthography list. Fix some config file
888 attributes. Complete list of constants.
890 * fontconfig/fontconfig.h:
891 Mark FC_SOURCE deprecated.
893 * src/fcfreetype.c: (FcFreeTypeQuery):
894 Don't set FC_SOURCE any longer.
896 2005-02-28 Keith Packard <keithp@keithp.com>
899 * conf.d/Makefile.am:
901 * conf.d/no-bitmaps.conf:
902 * conf.d/sub-pixel.conf:
903 * conf.d/yes-bitmaps.conf:
905 Create prototype /etc/fonts/conf.d directory with a few
906 sample configuration files.
907 Deprecate use of local.conf for local customizations in favor of
908 this directory based scheme which is more easily integrated into
909 installation systems.
912 Tag FC_EMBOLDEN as a boolean variable
914 2005-02-10 Keith Packard <keithp@keithp.com>
916 reviewed by: pborelli@katamail.com
918 * src/fcdir.c: (FcFileScanConfig):
919 Free patterns from fonts which are rejected by configuration
922 2005-01-28 Keith Packard <keithp@keithp.com>
926 * fontconfig/fontconfig.h:
927 Update for version 2.2.99
929 2005-01-28 Keith Packard <keithp@keithp.com>
932 Add a few pointers (#2284, #2285)
934 2005-01-28 Keith Packard <keithp@keithp.com>
937 * src/fcname.c: (FcNameBool):
938 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
939 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
940 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
941 Polite typechecking for test and edit expressions. Helps
942 catch errors in the font configuration. (bug 229)
944 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
946 reviewed by: Keith Packard <keithp@keithp.com>
949 Have --with-expat set EXPAT_CFLAGS (bug 2278)
951 2005-01-13 Keith Packard <keithp@keithp.com>
953 * doc/fontconfig-user.sgml:
954 Add SEE ALSO section (bug 2085)
956 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
958 reviewed by: Keith Packard <keithp@keithp.com>
963 * fc-case/Makefile.am:
964 * fc-glyphname/Makefile.am:
965 * fc-lang/Makefile.am:
966 * src/fontconfig.def.in:
967 Cross compiling fixes (bug 280)
969 2005-01-13 Keith Packard <keithp@keithp.com>
972 Update blanks list (Closes bug 86)
974 2005-01-04 Keith Packard <keithp@keithp.com>
976 * src/fccache.c: (FcCacheFontSetAdd):
977 Verify that every font pattern loaded from cache has
978 both FC_FILE and FC_FAMILY entries.
979 Attempt to fix bug #2219.
981 2004-12-29 Keith Packard <keithp@keithp.com>
985 * fontconfig/fontconfig.h:
986 Update for version 2.2.98
988 2004-12-29 Keith Packard <keithp@keithp.com>
990 * fontconfig/fontconfig.h:
991 Document ASCII limitations of Fc character conversion macros
992 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
993 Fix off-by-one error in utf-8 case walking code.
994 Add FcStrDowncase (useful for testing case conversion functions)
996 2004-12-29 Keith Packard <keithp@keithp.com>
999 * fc-case/.cvsignore:
1000 clean up CVS ignore lists
1001 * fc-lang/iso-3166.txt:
1002 Add territory database
1004 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1006 Reviewed by: Keith Packard
1009 Remove Han characters from Korean orthography
1011 2004-12-29 Keith Packard <keithp@keithp.com>
1014 Reorder utility programs to make sure fc-case is run before fc-lang
1015 as fc-lang uses fcstr.c which uses fccase.h
1019 2004-12-29 Keith Packard <keithp@keithp.com>
1022 Adopt some RedHat suggestions for standard font configuration.
1026 * fc-case/CaseFolding.txt:
1027 * fc-case/Makefile.am:
1028 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1029 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1030 (dump), (parseRaw), (caseFoldReadRaw), (main):
1031 * fc-case/fccase.tmpl.h:
1032 Add new helper program 'fc-case' to construct case folding
1033 tables from standard Unicode CaseFolding.txt file
1036 * src/fclist.c: (FcListValueHash):
1037 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1038 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1039 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1040 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1041 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1042 Re-implement case insensitive functions with Unicode
1043 aware versions (including full case folding mappings)
1045 2004-12-13 Keith Packard <keithp@keithp.com>
1047 reviewed by: Owen Taylor <otaylor@redhat.com>
1049 * src/fcmatch.c: (FcFontSetSort):
1050 I changed FcFontSetSort to respect the generic aliases better
1051 in the face of language matching.
1053 What I did was to ammend the strict sort order used by FcFontSort so
1054 that it 'satisfies' the language specified in the pattern by locating
1055 the best matching font supporting each pattern language and then
1056 ignores language in the remaining fonts for purposes of matching.
1058 So, when asking for 'sans:lang=en', you'll get an English font first,
1059 and then the remaining fonts sorted with respect to the 'sans' alias
1060 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1062 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1064 reviewed by: Keith Packard <keithp@keithp.com>
1066 * fontconfig/fontconfig.h:
1069 Configuration changes to request synthetic emboldening of
1070 fonts. The actual emboldening code will live in Xft.
1072 2004-12-09 John Thacker <thacker@math.cornell.edu>
1074 reviewed by: Keith Packard <keithp@keithp.com>
1078 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1079 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1080 и), and don't even appear in KOI8-R. (The hypothesis that they
1081 don't appear in KOI8-R due to their similarity with Latin I and i is
1082 eliminated by their presence in KOI8-U.) I have a couple of fonts
1083 with Russian support that don't have the letter.
1085 Therefore, 0406 and 0456 should be removed from or commented out of
1088 2004-12-06 michael meeks <mmeeks@novell.com>
1090 Reviewed by: Keith Packard <keithp@keithp.com>
1092 * src/fcinit.c: (FcMemReport):
1094 * src/fclist.c: (FcObjectSetAdd):
1095 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1096 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1097 * src/fcxml.c: (FcParsePatelt):
1098 memoize strings and share a single copy for all uses. Note that
1099 this could be improved further by using statically allocated blocks
1100 and gluing multiple strings together, but I'm basically lazy.
1101 In my environment with 800 font files, I get a savings of about 90KB.
1103 2004-12-06 Keith Packard <keithp@keithp.com>
1107 * config/Makedefs.in:
1110 * doc/fcatomic.fncs:
1111 * doc/fcblanks.fncs:
1112 * doc/fccharset.fncs:
1113 * doc/fcconfig.fncs:
1114 * doc/fcconstant.fncs:
1116 * doc/fcfontset.fncs:
1117 * doc/fcfreetype.fncs:
1119 * doc/fcmatrix.fncs:
1120 * doc/fcobjectset.fncs:
1121 * doc/fcobjecttype.fncs:
1122 * doc/fcpattern.fncs:
1123 * doc/fcstring.fncs:
1124 * doc/fcstrset.fncs:
1126 * doc/fontconfig-devel.sgml:
1127 * doc/fontconfig-user.sgml:
1129 * doc/version.sgml.in:
1130 * fc-cache/Makefile.am:
1131 * fc-cache/fc-cache.c:
1132 * fc-glyphname/Makefile.am:
1133 * fc-glyphname/fc-glyphname.c:
1134 * fc-glyphname/fcglyphname.tmpl.h:
1135 * fc-lang/Makefile.am:
1145 * fc-lang/az_ir.orth:
1179 * fc-lang/fc-lang.c:
1180 * fc-lang/fc-lang.man:
1181 * fc-lang/fclang.tmpl.h:
1226 * fc-lang/ku_ir.orth:
1259 * fc-lang/ps_af.orth:
1260 * fc-lang/ps_pk.orth:
1289 * fc-lang/ti_er.orth:
1290 * fc-lang/ti_et.orth:
1316 * fc-lang/zh_cn.orth:
1317 * fc-lang/zh_hk.orth:
1318 * fc-lang/zh_mo.orth:
1319 * fc-lang/zh_sg.orth:
1320 * fc-lang/zh_tw.orth:
1322 * fc-list/Makefile.am:
1323 * fc-list/fc-list.c:
1324 * fc-match/Makefile.am:
1325 * fc-match/fc-match.1:
1326 * fc-match/fc-match.c:
1327 * fontconfig/fcfreetype.h:
1328 * fontconfig/fcprivate.h:
1329 * fontconfig/fontconfig.h:
1350 Change files from ISO-Latin-1 to UTF-8
1352 2004-12-04 Keith Packard <keithp@keithp.com>
1355 Update links to new freedesktop.org locations
1357 Add uninstall-local to get rid of fonts.conf and local.conf if they
1358 match the distributed versions. Fixes 'make distcheck'
1360 2004-12-04 Keith Packard <keithp@keithp.com>
1364 * fontconfig/fontconfig.h:
1365 Updates for version 2.2.97
1367 2004-12-04 Owen Taylor <otaylor@redhat.com>
1369 reviewed by: Keith Packard <keithp@keithp.com>
1371 * fc-cache/fc-cache.c: (main):
1372 Sleep for two seconds before exiting to make sure timestamps
1373 for future changes have distinct mod times in the file system.
1376 Add Punjabi orthography. Bug #1671.
1378 2004-12-04 Keith Packard <keithp@keithp.com>
1381 Just remove the FC_FONTDATE -- it has locale issues and
1382 annoys redhat multi-arch installs. Now that all X fonts are
1383 included without prejudice, the chances of the date being at
1384 all interesting are rather limited. Bug #505.
1386 Add copyright and license
1388 2004-12-04 Keith Packard <keithp@keithp.com>
1391 Change default set of fonts to include all of
1392 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1393 * doc/fontconfig-user.sgml:
1394 Document new <include>directory-name</include> semantics
1396 add <include ignore_missing="yes">conf.d</include>
1398 Add selectfont to ignore bitmap fonts, add comment for
1399 selectfont which accepts bitmap fonts.
1402 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1403 Allow <include> configuration elements to reference directories.
1404 Parse and load all files of the form [0-9]* in sorted order.
1406 2004-12-04 Keith Packard <keithp@keithp.com>
1409 Report command line for $srcdir/configure accurately.
1412 2004-12-04 Keith Packard <keithp@keithp.com>
1414 * src/fcfreetype.c: (FcFreeTypeQuery):
1415 Check for non-empty face->family_name and face->style_name
1416 before using those for the font. Empty names match everything.
1419 2004-12-04 Keith Packard <keithp@keithp.com>
1422 * fontconfig/fontconfig.h:
1423 * src/fcfreetype.c: (FcFreeTypeQuery):
1425 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1426 available. This provides font file format information (BDF, Type 1,
1427 PCF, TrueType) for each font. Closes #109.
1429 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1431 reviewed by: Keith Packard <keithp@keithp.com>
1433 * doc/fontconfig-user.sgml:
1436 * fontconfig/fontconfig.h:
1437 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1438 (GetScriptTags), (FcFontCapabilities):
1440 Add detection for font capabilities (bug #105)
1442 2004-12-04 Keith Packard <keithp@keithp.com>
1445 Move existing fonts.conf to fonts.conf.bak
1448 Add detection of iconv
1450 * doc/fcpattern.fncs:
1451 * doc/fontconfig-devel.sgml:
1452 * doc/fontconfig-user.sgml:
1454 Document new selectfont elements
1457 Switch to UTF-8 in comment
1459 * fontconfig/fontconfig.h:
1461 Add fullname, and family/style/fullname language entries
1463 * src/fccache.c: (FcCacheFontSetAdd):
1464 * src/fcdir.c: (FcFileScanConfig):
1465 Respect selectfont/*/glob
1468 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1469 (FcConfigCompareValue), (FcConfigPatternsAdd),
1470 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1471 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1472 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1473 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1474 Add support for selectfont
1476 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1477 (FcStringInPatternElement), (FcFreeTypeQuery):
1478 Add multi-lingual family/style/fullname support
1480 * src/fclist.c: (FcListPatternMatchAny):
1481 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1483 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1484 (FcObjectStaticName):
1485 Add new FcPatternRemove/FcPatternAppend.
1486 FcObjectStaticName stores computed pattern element names which
1487 are required to be static.
1489 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1494 Remove spurious / after $(DESTDIR)
1496 2004-06-30 Keith Packard <keithp@keithp.com>
1500 * fontconfig/fontconfig.h:
1503 2004-06-30 Keith Packard <keithp@keithp.com>
1505 Provided by: Lubos Lunak <l.lunak@suse.cz>
1507 * src/fccfg.c: (FcConfigUptoDate):
1508 However FcConfigUptoDate() doesn't seem to work. See the attached
1509 patch. First there's an obvious misplaced parenthesis making it
1510 return always false, and second, even this call fails to detect font
1511 changes (e.g. adding a new font to
1512 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1513 well. The problem seems to be triggered by my fonts.conf specifying
1514 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1515 doesn't include subdirs, unlike config->fontDirs.
1517 2004-06-03 Keith Packard <keithp@keithp.com>
1519 * fontconfig/fontconfig.h:
1520 Remove comma at end of FcResult enum definition.
1522 2004-05-29 Keith Packard <keithp@keithp.com>
1525 Add steps to md5sum release
1527 2004-05-29 Keith Packard <keithp@keithp.com>
1531 * fontconfig/fontconfig.h:
1534 2004-05-29 Keith Packard <keithp@keithp.com>
1536 * fontconfig/fontconfig.h:
1537 * src/fcmatch.c: (FcFontSetMatch):
1538 Add FcResultOutOfMemory to provide an accurate error when
1539 FcFontSetMatch fails in this way
1542 Make #warning about lacking various FreeType features indicate
1543 which version those features appeared so users know how to
1544 fix the problem (Thanks to Anton Tropashko)
1546 2004-05-05 Keith Packard <keithp@keithp.com>
1548 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1549 Replace MIN/MAX/ABS macros which happen to have come
1550 from FreeType with fontconfig-specific ones (FC_*)
1552 2004-04-23 Keith Packard <keithp@keithp.com>
1555 Extend release preparation instructions to include
1556 notification and distribution steps
1558 2004-04-23 Keith Packard <keithp@keithp.com>
1562 * fontconfig/fontconfig.h:
1563 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1565 2004-04-23 Keith Packard <keithp@keithp.com>
1568 Ignore a few more autotool files
1570 2004-04-14 Keith Packard <keithp@keithp.com>
1573 Add instructions for doing a release
1575 * fontconfig.spec.in:
1576 clean up .spec file; perhaps this will be useful to somebody...
1580 * fontconfig/fontconfig.h:
1583 * fc-lang/fc-lang.c:
1584 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1586 * fc-glyphname/Makefile.am:
1587 * fc-lang/Makefile.am:
1588 * fc-list/Makefile.am:
1589 * fc-match/Makefile.am:
1591 Add WARN_CFLAGS to pass -W flags for GCC systems
1593 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1594 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1595 Change various char types around to match across
1597 Fixed bug in using available_sizes[i].height which
1598 is in pixels, not 64ths of a pixel.
1600 2004-03-06 Keith Packard <keithp@keithp.com>
1602 * src/fcfreetype.c: (FcFreeTypeQuery):
1603 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1604 matches looking for explicit values prefer exact matches
1606 2004-03-02 Keith Packard <keithp@keithp.com>
1608 Supplied by: mfabian@suse.de (Mike FABIAN)
1610 * src/fcfreetype.c: (FcFreeTypeQuery):
1611 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1612 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1614 2004-02-21 Manish Singh <yosh@gimp.org>
1616 * fc-glyphname/fc-glyphname.c: (main):
1617 Cast strlen to int for printf, so we're 64-bit clean.
1619 2004-02-11 Keith Packard <keithp@keithp.com>
1622 * src/fcfreetype.c: (FcGetPixelSize):
1623 Ok, so I messed up the test for y_ppem. Let's see if I
1624 got it right this time.
1626 2004-02-10 Keith Packard <keithp@keithp.com>
1629 * src/fcfreetype.c: (FcGetPixelSize):
1630 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1631 FT_Bitmap_Size record. Add a configure.in test for this
1632 and change the code accordingly (using height instead).
1634 2004-02-06 Keith Packard <keithp@keithp.com>
1637 Add Low Saxon orthography
1638 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1640 * src/fccfg.c: (FcConfigNewestFile):
1641 Oops. Left 'newest.set' unset, which would miscompute
1644 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1645 (FcFreeTypeCheckGlyph):
1646 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1647 font properties (which report the wrong value in current FreeType)
1649 Don't attempt to check for empty glyphs in non-scalable fonts; they
1652 2004-02-01 Tor Lillqvist <tml@iki.fi>
1654 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1655 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1656 cache if config->cache is NULL, which happens if FcConfigHome() is
1657 NULL. Guard against that by using the temp folder in that case.
1659 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1661 * fc-lang/az_ir.orth:
1662 * fc-lang/ku_ir.orth:
1663 * fc-lang/ps_af.orth:
1664 * fc-lang/ps_pk.orth:
1665 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1666 (Afghan and Pakistani).
1668 Updated Urdu orthography with real data.
1670 2003-12-11 Carl Worth <cworth@east.isi.edu>
1672 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1675 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1677 (all-local): Remove excessive whitespace.
1679 * autogen.sh: Add 'set -e' to abort when any program fails,
1680 (avoids printing of 'now type make' after configure aborts).
1682 2003-11-17 Eric Christopherson <rakko@charter.net>
1684 reviewed by: Keith Packard <keithp@keithp.com>
1687 * fontconfig/fcfreetype.h:
1689 Switch to FreeType 2.1.7 style includes. Bug #150.
1691 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1693 * fc-list/fc-list.sgml: Add some example usages.
1695 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1698 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1701 2003-10-27 Keith Packard <keith@keithp.com>
1704 * fontconfig/fontconfig.h:
1705 Update to version 2.2.92
1707 2003-10-27 Keith Packard <keithp@keithp.com>
1712 * fc-cache/Makefile.am:
1713 * fc-glyphname/Makefile.am:
1714 * fc-lang/Makefile.am:
1715 * fc-list/Makefile.am:
1716 * fc-match/Makefile.am:
1719 Yet more cleanups to finish getting 'make distcheck' working
1720 This has been tested to ensure that it even works from a _build
1723 2003-10-26 Keith Packard <keithp@keithp.com>
1727 * fc-cache/Makefile.am:
1728 * fc-glyphname/Makefile.am:
1729 * fc-lang/Makefile.am:
1730 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1731 * fc-list/Makefile.am:
1732 * fc-match/Makefile.am:
1733 Attempts to fix 'make distcheck' work. Things are
1734 progressing pretty well, but there are still failures
1735 long into the process dealing with docs (as always).
1737 The big changes here are mostly to make $(srcdir) != "."
1738 work correctly, fixing the docbook related sections and
1739 fc-lang were particularily tricky. Docbook refuses to load
1740 system entities from anywhere other than where the original .sgml
1741 file was located, so no luck looking in "." for the
1742 configure-generated version.sgml and confdir.sgml files.
1744 fc-lang needed help finding .orth files; added a -d option
1745 to set the directory as the least evil of many options.
1747 Now to go use a faster machine and try and wring out the last
1750 2003-10-26 Keith Packard <keithp@keithp.com>
1754 2003-10-26 Keith Packard <keithp@keithp.com>
1757 Include confdir.sgml.in in EXTRA_DIST
1759 2003-10-09 Josselin Mouette <joss@debian.org>
1761 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1762 * fc-list/fc-list.sgml fc-list/Makefile.am:
1763 Replace fc-cache and fc-list manpages with more detailed, SGML
1766 2003-09-23 Owen Taylor <otaylor@redhat.com>
1768 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1769 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1770 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1773 2003-09-23 Owen Taylor <otaylor@redhat.com>
1775 * fc-lang/ka.orth: Remove Georgian capitals, they
1776 aren't used for normal writing. (Bug #116)
1778 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1780 * doc/fontconfig-devel.sgml:
1781 * doc/fontconfig-user.sgml:
1782 * fontconfig/fontconfig.h:
1784 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1785 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1787 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1788 monospace and dual-width fonts, allow roughly a 3% variance in the
1791 2003-08-31 Manish Singh <yosh@gimp.org>
1793 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1796 2003-08-15 Carl Worth <cworth@isi.edu>
1798 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1799 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1801 * src/fcpat.c (FcValueListEntDestroy): New function to support
1802 FcFini memory cleanup. Some statistics are not kept in
1804 (FcValueListFreeze): Move hashTable outside this function so it
1805 can be accessed by FcValueListThawAll.
1806 (FcValueListThawAll): New function complements FcValueListFreeze.
1807 (FcPatternBaseFreeze): Move hashTable outside this function so it
1808 can be accessed by FcPatternBaseThawAll.
1809 (FcPatternBaseThawAll): New function complements
1810 FcPatternBaseFreeze.
1811 (FcPatternThawAll): New function complements FcPatternFreeze.
1813 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1815 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1816 allocated FcCharLeafEnt "blocks" so they can be freed later.
1817 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1818 can be accessed by FcCharSetThawAllLeaf.
1819 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1820 (FcCharSetFreezeBase): Move hashTable outside this function so it
1821 can be accessed by FcCharSetThawAll.
1822 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1824 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1825 (FcConfigDestroy): Fic leak of FcBlanks.
1827 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1828 (main): Add call to FcFini when finished.
1830 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1831 static. Add prototypes.
1833 * doc/fcinit.fncs: Add documentation for FcFini function.
1835 * doc/edit-sgml.c: Mark several local functions as static. Add
1838 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1840 2003-06-15 Tor Lillqvist <tml@iki.fi>
1842 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1843 before comparing (needed on Windows).
1845 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1847 2003-06-13 Tor Lillqvist <tml@iki.fi>
1849 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1852 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1853 WINDOWSFONTDIR token.
1855 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1856 end, not to confuse libtool, which expects the EXPORTS line to be
1857 the first. Add FcConfigEnableHome.
1859 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1860 built as a DLL on Win32.
1862 2003-06-09 Keith Packard <keithp@keithp.com>
1864 * Tag version 2.2.90
1866 2003-06-09 Keith Packard <keithp@keithp.com>
1868 * Optimization in FcLangSetIndex was broken, occasionally
1869 returning a pointer to the wrong location on miss
1871 * Add fc-match to test font matching from the command line.
1873 2003-05-31 Keith Packard <keithp@keithp.com>
1875 * (Bug 85) add support for culmus fonts
1876 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1877 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1879 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1881 * Fix "contains" op for strings and langsets.
1883 2003-05-17 Keith Packard <keithp@keithp.com>
1885 * Fix build error with BDF prop local. Free langset after query
1887 2003-05-14 Keith Packard <keithp@keithp.com>
1889 * Extract spacing from XLFD atom
1891 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1893 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1894 disappeared in 1.30.
1896 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1898 2003-05-12 Keith Packard <keithp@keithp.com>
1900 * Use FcIsWidth to share code
1902 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1903 misclassifying some Han fonts as monospaced.
1905 2003-05-07 Keith Packard <keithp@keithp.com>
1907 * Add filename-based accept/reject to ammend available fonts.
1909 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1910 older FreeType releases.
1912 2003-05-06 Keith Packard <keithp@keithp.com>
1914 * Remove 0b82 and Tamil numbers from tamil
1915 orthography (Jungshik Shin <jshin@mailaps.org>)
1917 2003-05-04 Keith Packard <keithp@keithp.com>
1919 + Map glyph names in fonts with adobe custom encoding to unicode
1921 2003-05-02 Keith Packard <keithp@keithp.com>
1923 * Add FC_WEIGHT_BOOK as weight 75
1925 2003-04-30 Keith Packard <keithp@keithp.com>
1927 * Typo in bitstream foundry name
1929 2003-04-24 Keith Packard <keithp@keithp.com>
1931 * Eliminate italic_angle check for PS fonts
1933 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1935 * Getting closer to fixing /etc/fonts hard-coding.
1937 2003-04-22 Keith Packard <keithp@keithp.com>
1939 * Update autogen.sh to work with newer automake versions
1940 * Handle pattern elements moving during multiple edits
1942 2003-04-23 James Henstridge <james@daa.com.au>
1944 * doc/fontconfig-devel.sgml: close the <para> element.
1946 * doc/fcpattern.fncs: close the <para> element.
1948 * doc/func.sgml: close the <refsynopsisdiv> element.
1950 2003-04-22 Keith Packard <keithp@keithp.com
1952 * Update autogen.sh to work with newer automake versions
1953 * Handle pattern elements moving during multiple edits
1955 2003-04-17 Colin Walters <walters@debian.org>
1957 + Remove some unused variables, and initialize some other ones so
1958 gcc doesn't warn us.
1960 2003-04-16 Keith Packard <keithp@keithp.com>
1962 + tag version 2.1.94
1964 2003-04-16 Keith Packard <keithp@keithp.com>
1966 + add BDF property fetching support for foundry
1967 (from Juliusz Chroboczek)
1968 + add BDF property fetching support for width
1970 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1972 + Implemented foundry generation for Type 1 and TrueType
1974 2003-04-11 Gerard Escalante <g2@magestudios.net>
1976 + Retrieve information from Type1 FontInfo dictionaries
1978 2003-04-07 Colin Walters <walters@verbum.org>
1980 + src/Makefile.am: Fix dummy makefile target names when
1981 MS_LIB_AVAILABLE isn't set.
1983 2003-03-22 Tor Lillqvist <tml@iki.fi>
1985 Changes for Windows:
1987 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1989 + We don't want to hardcode the fonts.conf file location in the
1990 DLL, so we look up the DLL location at run-time in a DllMain()
1991 function. The fonts.conf location is deduced from that.
1993 + The colon can't be used as path separator on Windows,
1994 semicolon is used instead. File path components can be separated
1995 with either slash or backslash. Absolute paths can also begin
1996 with a drive letter.
1998 + Add internal function FcStrLastSlash that strrchr's the last
1999 slash, or backslash on Windows.
2001 + There is no link() on Windows. For atomicity checks, mkdir a
2002 lock directory instead.
2004 + In addition to HOME, also look for USERPROFILE.
2006 + Recognize the special font directory token WINDOWSFONTDIR, to
2007 use the system's font directory.
2009 + Remove the fontconfig-def.cpp that was obsolete. Add
2010 fontconfig.def(.in), without internal functions.
2012 + Add a fontconfig-zip(.in) script, used to build a binary
2015 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2016 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2017 to main package and man3/* to devel package
2019 + Added missing defattr(-, root, root) to main RPM package
2021 + Added HTML and text development documentation to -devel subpackage
2023 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2024 + Added back the configure macro options --disable-docs, otherwise
2025 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2026 version number) unconditionally, causing RPM to fail the build due
2027 to _unpackaged_files_terminate_build. We pick up the pregenerated
2028 docs with %doc already.
2030 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2031 + Removed commented out rpm macro define at top of spec file,
2032 replacing it with a simple explanation, since rpm macros are
2033 expanded by rpm even in comments.
2035 + Changed /usr/bin to _bindir in BuildRequires lines
2037 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2039 + Reorganized file manifest lists
2041 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2043 + fontconfig.spec.in: Improvements from Red Hat spec file.
2045 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2047 + docs/*.sgml: SGML fixes.
2049 Sat Mar 1 17:28:53 PST 2003 keithp
2050 + Ok, so the ChangeLog is a bit out of date
2052 + Lots of bugs fixed; most are in bugzilla, the
2053 biggest problems were in cache management where
2054 Owen discovered the library would lose badly when
2055 combining fonts-cache and ~/.fonts-cache data
2057 + Converted from autoconf to automake. This after
2058 getting patches accepted into libtool to allow
2059 the '-version-number' argument which lets
2060 packages set version numbers explicitly rather
2061 than the roundabout libtool way
2063 + Converted documentation to SGML using the docbook
2064 DTD. Now .txt and .html documents are installed
2065 in /usr/share/doc/fontconfig and there's no
2066 man page. Perhaps a man version can be written
2069 Sat Aug 31 15:21:22 PDT 2002 keithp
2070 + Xrender and Xft had several bugs related to
2071 rendering manually placed or poly-face text
2073 + Added more complete memory tracing in fontconfig
2074 Checked with (patched) mozilla and found no leaks
2076 + Updated Latin orthographies by comparing those from
2077 evertype.com with those from eki.ee. Tried to make
2078 sensible choices, including chars that occured in both
2079 and leaving some optional chars out that occured only
2082 Mon Aug 26 16:33:04 PDT 2002 keithp
2083 + Owen discovered that FcLangSetHasLang wasn't actually
2084 checking the language set.
2086 Mon Aug 26 13:37:23 PDT 2002 keithp
2087 + Append a version number to cache filenames
2089 Thu Aug 22 11:36:18 PDT 2002 keithp
2091 + Add "contains" and "not_contains" operators and elements to
2094 + Changed semantics of eq operator for LangSets to check for
2095 FcLangEqual so that any match will do
2097 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2098 of FcValueEqual to check for identical values when inserting into
2099 the results. This broke when the above semantic change was made,
2100 now it uses FcValueEqual which is "more correct" in any case.
2102 Thu Aug 22 00:32:29 PDT 2002 keithp
2104 + Reimplement FC_LANG as new datatype. Lists of strings
2105 was consuming over a megabyte of memory for 401 fonts.
2107 + Freeze patterns loaded from cache files. This shares
2108 common value lists and common patterns which saves
2109 considerable memory.
2111 + Change the denotation of 'constant' charsets to use special
2112 ref value instead of separate boolean.
2114 + Clean up leak tracing stuff, found several unannoted alloc/free
2117 Tue Aug 20 16:17:37 PDT 2002 keithp
2119 + Fix memory leak when parsing matrices from XML
2121 Mon Aug 19 11:57:27 PDT 2002 keithp
2123 + Fix autoconf files to pass FONTCONFIG_PATH on
2124 compile line so that ${prefix} gets substituted
2127 + Use getc_unlocked/putc_unlocked on systems that
2128 provide them to avoid damage done to stdio by posix
2130 + Eliminate FC_PATTERN and FcTypePattern in favor of
2131 an extended api for FcConfigSubstitute which takes
2132 both the font and the pattern.
2134 + Add 'sans serif' alias for 'sans-serif' as some apps
2135 can't handle hyphens in family names
2137 + Eliminate pretense of support for libxml2
2139 + Comment origins of Han orthographies
2141 Tue Jul 30 18:37:09 PDT 2002 keithp
2143 + Add binding property to edit element so that strong
2144 binding values may be inserted by the config file.
2145 The default remains weak.
2147 Sun 28 Jul 04:16:55 PDT 2002 keithp
2149 + Tagged release candidate 1 in the CVS tree and
2150 placed fcpackage.rc1.tar.gz for distribution
2152 Thu Aug 1 08:55:08 PDT 2002 keithp
2154 + Fixed autoconf builds to always specify install
2155 target files (for BSD). Also fixed to
2156 define FONTCONFIG_PATH in config.h so that
2157 nonstandard installs will actually work.