1 2005-11-28 Patrick Lam <plam@mit.edu>
3 * src/fcpat.c (FcPatternFindFullFname):
4 * src/fccfg.c (FcConfigBuildFonts):
6 Fix problem dating back at least to 2.3.2 where globs weren't
7 being applied to patterns loaded from a cache.
9 2005-11-28 Patrick Lam <plam@mit.edu>
10 * doc/fontconfig-user.sgml:
12 Fix some obvious spelling mistakes.
14 2005-11-28 Dirk Mueller <dmueller@suse.com>
15 Stephan Kulow <coolo@suse.de>
18 * src/fcmatch.c (FcFontSetMatch):
20 Don't kill all fonts during match (oops!)
23 2005-11-25 Dirk Mueller <dmueller@suse.com>
24 Stephan Kulow <coolo@suse.de>
25 Michael Matz <matz@suse.de>
28 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
31 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
32 inline FcCompare into FcFontSetMatch and reorder the
33 loops, adding a boolean array which blocks patterns from future
34 consideration if they're known to not be best on some past
37 2005-11-26 Dirk Mueller <dmueller@suse.com>
40 * src/fcmatch.c (FcCompareValueList):
44 2005-11-25 Patrick Lam <plam@mit.edu>
45 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
47 Don't do random matching when bad objects are passed into
50 2005-11-25 Patrick Lam <plam@mit.edu>
52 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
53 FcPatternSerialize, FcPatternUnserialize,
54 FcValueListEnsureBank, FcValueListDistributeBytes,
55 FcValueListUnserialize):
57 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
58 _fcPatternElts, _fcValueLists for consistency.
60 2005-11-25 Dirk Mueller <dmueller@suse.com>
65 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
67 2005-11-25 Patrick Lam <plam@mit.edu>
69 * src/fccache.c (FcDirCacheConsume):
70 * src/fccharset.c (FcCharSetUnserialize):
71 * src/fcfs.c (FcFontSetUnserialize):
72 * src/fclang.c (FcLangSetUnserialize):
73 * src/fcname.c (FcObjectUnserialize):
74 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
75 FcPatternUnserialize):
77 Pass around FcCache *s to the Unserialize functions for extra
78 consistency (and less overhead, for what that's worth).
80 2005-11-24 Dirk Mueller <dmueller@suse.com>
84 * src/fcmatch.c (FcCompare*, FcFontSetSort):
85 * src/fcname.c (FcNameUnparseValue):
87 Inline the *PtrU functions to gain perf.
88 Remove unneeded params for the FcCompare* functions.
90 2005-11-24 Dirk Mueller <dmueller@suse.com>
93 * src/fcint.h, fontconfig/fontconfig.h:
95 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
97 * src/fcpat.c, src/fcint.h, src/fcname.c:
99 Check for type validity during FcPatternAddWithBinding, don't
100 verify type in FcFontMatch, don't call FcCanonicalize here
101 (which always does a deep copy).
103 2005-11-24 Dirk Mueller <dmueller@suse.com>
106 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
107 * src/fcpat.c (FcPatternAddWithBinding):
109 Make FcCompareString and FcCompareFamily less expensive.
110 Only add a value for FC_FAMILY if the proposed value is a string.
112 2005-11-24 Dirk Mueller <dmueller@suse.com>
115 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
116 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
117 * src/fcint.h (FcDebug):
119 Inline FcDebug invocations and only initialize once, in FcInit*.
120 Improve debug msg in FcPatternPrint.
122 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
125 * fontconfig/fontconfig.h:
128 Minor code warning cleanups.
130 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
133 * fc-match/fc-match.c (main):
135 Make getopt_long accept -s parameter to fc-match as well.
137 2005-11-21 Dirk Mueller <dmueller@suse.com>
140 * src/fcmatch.c (FcCompareValueList):
142 Manually perform inlining & partial redundancy elimination to
143 reduce calls to FcValueListPtrU.
145 2005-11-21 Dirk Mueller <dmueller@suse.com>
148 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
149 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
151 Only invoke strlen() when really necessary.
153 2005-11-19 Matthias Clasen <mclasen@redhat.com>
157 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
162 Get rid of the use of freetype internal headers in fcfreetype.c,
163 since those headers will go away with freetype 2.2. Replace with
164 public domain ftglue code from pango. Note that the patch removes
165 some extra error checking in FT_Get_BDF_Property() and comments
166 out the skipping of empty pcf fonts.
168 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
171 * fc-lang/fc-lang.c (main):
173 Further fix of patch from 2005-11-04: miscounted numbers count
174 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
175 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
177 Removed leafidx_count and numbers_count since they are the same
178 and replaced them with offset_count.
180 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
183 * fc-cat/fc-cat.c (main):
185 Don't crash when fc-cat invoked with no arguments.
187 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
190 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
192 Fix invalid read access caused by premature free and
193 GCC4 warnings in libxml2 codepath.
195 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
198 * src/fccfg.c (FcConfigValues):
200 List iteration not needed in FcConfigValues, since it's building
201 up the list itself; we can just strip FcVoid elements during
204 2005-11-17 Patrick Lam <plam@mit.edu>
205 * src/fccfg.c (FcConfigValues):
207 Fix crash on invalid constants in config files (forgot to update
208 a pointer upon list iteration.)
210 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
213 * src/fcxml.c (FcTypecheckExpr):
215 Complain about invalid constants in config files.
217 2005-11-17 Andreas Schwab <schwab@suse.de>
220 * src/fccache.c (FcGlobalCacheSave):
222 Don't add current_arch_start more than once.
224 2005-11-16 Patrick Lam <plam@mit.edu>
225 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
226 * src/fcfs.c (FcFontSetUnserialize):
227 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
228 * src/fcpat.c (FcStrUnserialize):
230 Fix ordering of ALIGN with respect to saving block_ptr; add
231 another ALIGN to fcfs.c.
233 2005-11-16 Patrick Lam <plam@mit.edu>
234 * src/fccache.c (FcDirCacheProduce)
236 Fix case where alignment bytes bumped up metadata->count
237 causing unwarranted failures to write cache files.
238 (Reported by Stephan Kulow).
240 2005-11-16 Patrick Lam <plam@mit.edu>
241 * src/fccache.c (FcDirCacheProduce):
242 * src/fccharset.c (FcCharSetDistributeBytes):
243 * src/fcfs.c (FcFontSetDistributeBytes):
245 * src/fclang.c (FcLangSetDistributeBytes):
246 * src/fcname.c (FcObjectDistributeBytes):
247 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
250 Add *NeededBytesAlign(), which overestimates the padding which is
251 later added by the new ALIGN macro. Fix alignment problems on
252 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
253 version by Andreas Schwab).
255 2005-11-16 Stephan Kulow <coolo@kde.org>
260 Use sysconf to determine proper PAGESIZE value; this
261 appears to be POSIX-compliant. (reported by Andreas Schwab)
263 2005-11-04 Patrick Lam <plam@mit.edu>
269 Fix bug 2878 (excessive relocations at startup for charsets,
270 reported by Ross Burton): fc-lang/fc-lang now creates the
271 static form of the langset, not the dynamic form, so that
272 the charsets should now be in .rodata.
274 2005-11-04 Patrick Lam <plam@mit.edu>
275 * src/fcdir.c (FcDirScanConfig):
277 Add test for validity of directory caches that
278 somehow got lost (reported by make distcheck).
280 2005-11-04 Patrick Lam <plam@mit.edu>
284 * fontconfig/fontconfig.h:
286 Bump version to 2.3.92.
288 2005-11-02 Patrick Lam <plam@mit.edu>
289 * src/fcpat.c (FcPatternDuplicate):
291 Fix argument ordering problem in call to FcPatternTransferFullFname.
293 2005-11-02 Patrick Lam <plam@mit.edu>
294 * src/fcfreetype.c (FcFreetypeQuery):
295 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
296 FcPatternTransferFullFname):
298 Fix warnings and embarrassing double-free error.
300 2005-11-02 Zhe Su <zsu@novell.com>
305 Change the rule for artificial emboldening in fonts.conf.in. This
306 enables the support for artificial emboldening included in cairo.
308 2005-11-02 Patrick Lam <plam@mit.edu>
309 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
311 Don't zero out full names for FC_REF_CONSTANT fonts;
312 also, duplicate full names when transferring, and free
313 full names when freeing the associated font.
314 Reported by Jinghua Luo.
316 2005-11-02 Patrick Lam <plam@mit.edu>
317 * fc-cache/fc-cache.c (scanDirs):
318 * src/fcpat.c (FcValueListSerialize):
320 Revert the previous patch and commit the correct patch:
321 I forgot a canonicalization in FcValueListSerialize, so
322 that it would choke on already-serialized input files. Duh!
324 2005-11-02 Patrick Lam <plam@mit.edu>
325 * fc-cache/fc-cache.c (scanDirs):
327 Forcibly rescan a directory before writing a fresh local
328 cache file for that directory, fixing the losing-fonts
329 problem reported by Mike Fabian and also apparently the
330 font cache file corruption.
332 2005-11-02 Patrick Lam <plam@mit.edu>
333 * src/fccache.c (FcGlobalCacheLoad):
335 Fix thinko: actually, the whole global cache is stale
336 if the global cache is older than the (newest) config file.
338 2005-11-02 Patrick Lam <plam@mit.edu>
339 * src/fccache.c (FcGlobalCacheLoad):
340 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
343 Declare the global cache of a directory's contents to be stale if
344 the directory is newer than the (newest) configuration file.
346 2005-10-31 Patrick Lam <plam@mit.edu>
348 * src/fclist.c (FcListAppend):
349 * src/fcmatch.c (FcFontRenderPrepare):
350 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
351 FcPatternFreeze, FcPatternBaseFreeze):
353 Copy the full pathname whenever duplicating an FcPattern; otherwise,
354 applications continue breaking.
356 2005-10-31 Patrick Lam <plam@mit.edu>
357 * fc-cat/fc-cat.c (FcCacheFileRead, main):
358 * src/fcfreetype.c (FcFreeTypeQuery):
360 Fix small memory error (tried to free argv); use basename and
361 dirname correctly (they can modify their arguments).
363 2005-10-31 Patrick Lam <plam@mit.edu>
371 Reinstate basename patch, but keep a hash table linking FcPatterns
372 to their fully-qualified font names for clients' benefit. Clients
373 only pay for the font names once they request the FC_FILE property
374 from an FcPattern, but the font name is malloc'd at that point (i.e.
375 not mmapped: that's impossible, since it may vary between machines.)
376 Clients do have to pay for a copy of the path name per cache file.
378 Note that FcPatternGetString now does some rewriting if you ask
379 for an FC_FILE, appending the pathname as appropriate.
381 2005-10-31 Patrick Lam <plam@mit.edu>
382 * src/fcfreetype.c (FcFreeTypeQuery):
384 Revert basename patch, which breaks fontconfig clients on my system.
386 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
389 * fontconfig/fonts.conf.in:
390 * fontconfig/fontconfig.h:
394 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
395 to load embedded bitmaps or not.
397 2005-10-25 Patrick Lam <plam@mit.edu>
398 * src/fcfreetype.c (FcFreeTypeQuery):
400 Only add basename to patterns' FC_FILE element, not any part of
403 2005-10-22 Patrick Lam <plam@mit.edu>
406 Add some more consts, fixing more GCC4 warnings.
408 2005-10-22 Zhe Su <zsu@novell.com>
411 Support localized font family and style names.
412 This has been reported to break old apps like xfd, but modern
413 (gtk+/qt/mozilla) apps work fine.
415 2005-10-21 Patrick Lam <plam@mit.edu>
416 * src/fccache.c (FcGlobalCacheLoad):
418 Destroy the global cache file if it's terminally broken. (reported by
421 2005-10-21 Patrick Lam <plam@mit.edu>
422 * fc-list/fc-list.c (main):
423 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
424 * fontconfig/fontconfig.h:
426 Prevent fc-list from escaping strings when printing them (reported by
429 2005-10-20 Marcus Meissner <meissner@suse.de>
432 * fontconfig/fontconfig.h:
434 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
436 2005-10-14 Ross Burton <ross@burtonini.com>
439 * fc-glyphname/fc-glyphname.c:
442 Add consts to variables so as to move arrays into .rodata.
444 2005-10-14 Mike Fabian <mfabian@suse.de>
447 * src/fccache.c (FcDirCacheUnlink):
449 Check existence of directory cache file before attempting to unlink.
451 2005-10-13 Patrick Lam <plam@mit.edu>
452 * src/fccache.c (FcDirCacheUnlink):
454 Fix flipped return value on unlink. (Reported by Mike Fabian)
456 2005-10-12 Patrick Lam <plam@mit.edu>
459 * src/fcdir.c (FcDirScanConfig):
462 When fc-cache is run without --force, use directory cache files
463 to speed up fc-cache run time. (Reported by Mike Fabian)
465 2005-10-06 Patrick Lam <plam@mit.edu>
467 * src/fcname.c (FcObjectToPtr):
468 * src/fcpat.c (FcStrStaticName):
470 Add padding to make valgrind and glibc not hate each other
471 when calling strlen().
473 2005-10-05 Simos Xenitellis <simos74@gmx.net>
474 reviewed by: plam & keithp
478 Modify config file to use Greek fonts before Asian fonts with
481 2005-10-05 Christian Biesinger <cbiesinger@web.de>
482 reviewed by: plam & keithp
486 Use libtool -no-undefined flag on all platforms.
488 2005-10-05 Patrick Lam <plam@mit.edu>
489 * src/fccache.c (FcCacheHaveBank):
491 Implement move-to-front array for banks (perf regression
492 reported by Ronny V. Vindenes).
494 2005-10-04 Patrick Lam <plam@mit.edu>
495 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
496 FcDirCacheHasCurrentArch):
497 * fc-cache/fc-cache.c (scanDirs):
498 * fontconfig/fontconfig.h:
500 Add new API which unlinks directory caches and checks dir caches
501 for existence of appropriate sections. Fix fc-cache to unlink
502 stale cache files and save directory caches that lack relevant
505 2005-10-03 Patrick Lam <plam@mit.edu>
506 * src/fccache.c (FcDirCacheValid):
508 Ensure that a directory cache has the appropriate section
509 before reporting that it is valid (reported by Matthias Clasen).
511 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
519 Use libxml2 if requested (with --enable-libxml2) or if
520 expat is not available.
522 2005-09-29 Patrick Lam <plam@mit.edu>
523 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
525 Fix multi-arch cache files: compute the position for the
526 block to be added using info from OrigFile, not NewFile.
528 2005-09-28 Patrick Lam <plam@mit.edu>
529 * src/fccache.c (FcCacheMachineSignature):
531 Cast results of sizeof() to unsigned int to get rid of
532 warnings on x86_64 (thanks Matthias Clasen).
534 2005-09-27 Patrick Lam <plam@mit.edu>
535 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
538 Use FcAtomic to rewrite cache files.
540 2005-09-27 Patrick Lam <plam@mit.edu>
542 * src/fccache.c (FcDirCacheWrite):
544 Don't unlink the fonts.cache-2 file even if there's no data
545 to write; just write an empty cache file. (thanks Lubos Lunak)
547 2005-09-27 Patrick Lam <plam@mit.edu>
549 * src/fccache.c (FcDirCacheWrite):
551 Allocate room for the subdirectory names in each
552 directory cache. Thanks to James Cloos for finding
553 and diagnosing this bug!
555 2005-09-22 Patrick Lam <plam@mit.edu>
557 * fc-cache/fc-cache.sgml:
558 * src/fccache.c (FcDirCacheWrite):
559 * src/fccache.h (struct FcCache):
561 Update documentation -- fc-cache's man page now says that you
562 need to run fc-cache once per cached architecture; add some
563 documentation to the FcCache structure.
565 Make fc-cache write out fonts.cache-2 files for directories with
566 no fonts (i.e. only subdirectories).
568 2005-09-22 Patrick Lam <plam@mit.edu>
570 * fc-cache/fc-cache.sgml:
572 * fc-glyphname/fc-glyphname.c:
578 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
583 * fontconfig/fcprivate.h:
584 * fontconfig/fontconfig.h:
598 Implement new mmaped cache for font information.
599 Bump so revision to 2.3.90.
601 2005-07-25 Keith Packard <keithp@keithp.com>
603 * doc/fontconfig-user.sgml:
604 * fc-glyphname/fc-glyphname.c: (scan), (main):
605 * fc-lang/fc-lang.c: (FcConfigHome):
606 * fc-match/fc-match.c: (main):
607 * src/fccfg.c: (FcConfigHome):
608 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
609 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
610 (addtag), (FcFontCapabilities):
611 * src/fcpat.c: (FcValueListEntCreate):
612 * src/fcstr.c: (FcStrCaseWalkerInit):
613 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
615 Various GCC 4 cleanups for signed vs unsigned char
617 Match only [0-9]*.conf files in <include>{directory}</include>
618 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
620 2005-07-15 Carl Worth <cworth@cworth.org>
623 * src/fcinit.c: (FcFini):
624 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
627 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
628 Pull the FcObjectStateName hash table out to file scope, and add
629 FcObjectStaticNameFini so that FcFini will cleanup this hash table
632 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
635 2005-06-16 Patrick Lam <plam@MIT.EDU>
639 * src/fccfg.c: (FcConfigCompareValue):
640 Make FcOpNotContains use FcStrStr for strings so that
641 it matches semantics for !FcOpContains.
643 2005-05-20 Keith Packard <keithp@keithp.com>
647 Move fontconfig source package to libs as per override
649 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
651 reviewed by: Mike Fabian
654 The ka.orth file requires several characters which are not
655 used anymore in modern Georgian and which are missing in the free
656 Georgian TrueType fonts downloadable at:
658 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
660 2005-04-27 Keith Packard <keithp@keithp.com>
664 Update date to real 2.3.2 release date.
665 Fix change attributions
667 2005-04-27 Keith Packard <keithp@keithp.com>
670 Bump so revision for 2.3.2
671 * fc-cache/fc-cache.c: (scanDirs):
672 Fix a few minor leaks in error cases.
674 2005-04-23 Keith Packard <keithp@keithp.com>
679 * fontconfig/fontconfig.h:
680 Update for version 2.3.2
682 2005-04-21 Keith Packard <keithp@keithp.com>
684 * debian/fontconfig.postinst:
685 Don't force bitmap font enable in default
686 configuration; allows users to override this in
696 * debian/po/pt_BR.po:
697 * debian/po/templates.pot:
699 * debian/po/zh_CN.po:
702 * fc-cache/fc-cache.c: (main):
703 Destroy font configuration on exit to help valgrind
706 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
707 (FcFreeTypeCheckGlyph):
708 Use own transcoding routines in preference to iconv
709 which appears to have leaks in some translators.
710 Call iconv_close after using iconv (oops).
712 Prefer unicode encoding of Euro char as some
713 fonts mis-encode Euro in other ones.
715 Must fetch bitmap glyphs to get width values
716 to check for monospace/dual-width fonts.
718 2005-04-13 Ross Burton <ross@burtonini.com>
721 Check that a pattern isn't already frozen in FcPatternFreeze.
723 2005-03-31 Ross Burton <ross@burtonini.com>
728 Run all FcPattern objects through FcObjectStaticName, so that
729 compares can be done on pointers instead of strings (#2659)
731 2005-03-17 Tor Lillqvist <tml@novell.com>
733 * src/fontconfig.def.in: Add the .dll to the dll name.
735 2005-03-10 Keith Packard <keithp@keithp.com>
737 * debian/README.Debian:
738 Update to reflect configuration changes
740 * debian/fontconfig.postinst:
741 Fix Autohint vs Autohinter mistake
742 * debian/fontconfig.templates:
743 Adopt changes from Josselin Mouette for configuration descriptions
744 Update debian to version 2.3.1-2
746 2005-03-08 Keith Packard <keithp@keithp.com>
750 Update debian for 2.3.1
752 2005-03-09 Tor Lillqvist <tml@novell.com>
754 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
757 * src/fccfg.c (FcConfigFileExists): Check also drive letter
760 2005-03-08 Keith Packard <keithp@keithp.com>
764 * fontconfig/fontconfig.h:
767 2005-03-05 Keith Packard <keithp@keithp.com>
769 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
770 Include space and remove numbers from valid script tags.
771 This ensures that tags like 'lao ' work while rejecting
772 those which have any digits.
773 Eliminate a spurious debugging variable (len)
775 2005-03-05 Keith Packard <keithp@keithp.com>
777 * src/fcfreetype.c: (addtag), (GetScriptTags),
778 (FcFontCapabilities):
779 Rework GSUB/GPOS script parsing to survive broken fonts.
780 Thanks for the broken font go to Manish Singh
782 2005-03-05 Keith Packard <keithp@keithp.com>
787 * debian/fontconfig.config:
788 * debian/fontconfig.templates:
790 Include 2.3 release information in changelog
791 Add Josselin Mouette as an Uploader
792 Set hinting_type to low priority configuration option
795 * debian/fontconfig.postinst:
796 yes_bitmaps.conf -> yes-bitmaps.conf
802 2005-03-02 Keith Packard <keithp@keithp.com>
805 * conf.d/Makefile.am:
806 * conf.d/autohint.conf:
807 * conf.d/no-sub-pixel.conf:
808 * conf.d/sub-pixel.conf:
809 * conf.d/unhinted.conf:
810 * debian/autohint.conf:
811 * debian/fontconfig.install:
812 * debian/fontconfig.postinst:
813 * debian/fontconfig.templates:
814 * debian/no-sub-pixel.conf:
815 * debian/unhinted.conf:
816 Move debian-specific conf file examples upstream.
818 Sub-pixel configuration examples must smash subpixel value
819 as Xft always sets it from X.
821 Change sub-pixel rendering debconf descriptions from
822 Enable/Disable to Always/Never.
824 2005-03-02 Keith Packard <keithp@keithp.com>
829 Ignore more build detritus
832 Add debian package construction stuff.
834 * config/config.guess:
836 Update to newer versions of these tools
839 Get library manuals to build again (we love automake).
841 * debian/README.Debian:
842 * debian/autohint.conf:
847 * debian/fontconfig-udeb.install:
848 * debian/fontconfig.config:
849 * debian/fontconfig.defoma:
850 * debian/fontconfig.dirs:
851 * debian/fontconfig.install:
852 * debian/fontconfig.postinst:
853 * debian/fontconfig.postrm:
854 * debian/fontconfig.templates:
855 * debian/libfontconfig1-dev.install:
856 * debian/libfontconfig1.install:
857 * debian/local.conf.md5sum:
858 * debian/no-sub-pixel.conf:
859 * debian/po/POTFILES.in:
868 * debian/po/pt_BR.po:
869 * debian/po/templates.pot:
871 * debian/po/zh_CN.po:
873 * debian/unhinted.conf:
874 Update debian build system to switch maintainers and
875 deal with 2.3 functionality
877 2005-03-01 Keith Packard <keithp@keithp.com>
881 * fontconfig/fontconfig.h:
884 2005-03-01 Keith Packard <keithp@keithp.com>
887 Generate and install PDF versions of the manuals
889 * doc/fcpattern.fncs:
893 Add missing exported functions, fix data types
895 * doc/fontconfig-devel.sgml:
896 Add missing pattern elements.
898 * doc/fontconfig-user.sgml:
899 Add missing pattern elements. Document conf.d usage,
900 clarify available orthography list. Fix some config file
901 attributes. Complete list of constants.
903 * fontconfig/fontconfig.h:
904 Mark FC_SOURCE deprecated.
906 * src/fcfreetype.c: (FcFreeTypeQuery):
907 Don't set FC_SOURCE any longer.
909 2005-02-28 Keith Packard <keithp@keithp.com>
912 * conf.d/Makefile.am:
914 * conf.d/no-bitmaps.conf:
915 * conf.d/sub-pixel.conf:
916 * conf.d/yes-bitmaps.conf:
918 Create prototype /etc/fonts/conf.d directory with a few
919 sample configuration files.
920 Deprecate use of local.conf for local customizations in favor of
921 this directory based scheme which is more easily integrated into
922 installation systems.
925 Tag FC_EMBOLDEN as a boolean variable
927 2005-02-10 Keith Packard <keithp@keithp.com>
929 reviewed by: pborelli@katamail.com
931 * src/fcdir.c: (FcFileScanConfig):
932 Free patterns from fonts which are rejected by configuration
935 2005-01-28 Keith Packard <keithp@keithp.com>
939 * fontconfig/fontconfig.h:
940 Update for version 2.2.99
942 2005-01-28 Keith Packard <keithp@keithp.com>
945 Add a few pointers (#2284, #2285)
947 2005-01-28 Keith Packard <keithp@keithp.com>
950 * src/fcname.c: (FcNameBool):
951 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
952 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
953 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
954 Polite typechecking for test and edit expressions. Helps
955 catch errors in the font configuration. (bug 229)
957 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
959 reviewed by: Keith Packard <keithp@keithp.com>
962 Have --with-expat set EXPAT_CFLAGS (bug 2278)
964 2005-01-13 Keith Packard <keithp@keithp.com>
966 * doc/fontconfig-user.sgml:
967 Add SEE ALSO section (bug 2085)
969 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
971 reviewed by: Keith Packard <keithp@keithp.com>
976 * fc-case/Makefile.am:
977 * fc-glyphname/Makefile.am:
978 * fc-lang/Makefile.am:
979 * src/fontconfig.def.in:
980 Cross compiling fixes (bug 280)
982 2005-01-13 Keith Packard <keithp@keithp.com>
985 Update blanks list (Closes bug 86)
987 2005-01-04 Keith Packard <keithp@keithp.com>
989 * src/fccache.c: (FcCacheFontSetAdd):
990 Verify that every font pattern loaded from cache has
991 both FC_FILE and FC_FAMILY entries.
992 Attempt to fix bug #2219.
994 2004-12-29 Keith Packard <keithp@keithp.com>
998 * fontconfig/fontconfig.h:
999 Update for version 2.2.98
1001 2004-12-29 Keith Packard <keithp@keithp.com>
1003 * fontconfig/fontconfig.h:
1004 Document ASCII limitations of Fc character conversion macros
1005 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1006 Fix off-by-one error in utf-8 case walking code.
1007 Add FcStrDowncase (useful for testing case conversion functions)
1009 2004-12-29 Keith Packard <keithp@keithp.com>
1012 * fc-case/.cvsignore:
1013 clean up CVS ignore lists
1014 * fc-lang/iso-3166.txt:
1015 Add territory database
1017 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1019 Reviewed by: Keith Packard
1022 Remove Han characters from Korean orthography
1024 2004-12-29 Keith Packard <keithp@keithp.com>
1027 Reorder utility programs to make sure fc-case is run before fc-lang
1028 as fc-lang uses fcstr.c which uses fccase.h
1032 2004-12-29 Keith Packard <keithp@keithp.com>
1035 Adopt some RedHat suggestions for standard font configuration.
1039 * fc-case/CaseFolding.txt:
1040 * fc-case/Makefile.am:
1041 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1042 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1043 (dump), (parseRaw), (caseFoldReadRaw), (main):
1044 * fc-case/fccase.tmpl.h:
1045 Add new helper program 'fc-case' to construct case folding
1046 tables from standard Unicode CaseFolding.txt file
1049 * src/fclist.c: (FcListValueHash):
1050 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1051 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1052 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1053 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1054 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1055 Re-implement case insensitive functions with Unicode
1056 aware versions (including full case folding mappings)
1058 2004-12-13 Keith Packard <keithp@keithp.com>
1060 reviewed by: Owen Taylor <otaylor@redhat.com>
1062 * src/fcmatch.c: (FcFontSetSort):
1063 I changed FcFontSetSort to respect the generic aliases better
1064 in the face of language matching.
1066 What I did was to ammend the strict sort order used by FcFontSort so
1067 that it 'satisfies' the language specified in the pattern by locating
1068 the best matching font supporting each pattern language and then
1069 ignores language in the remaining fonts for purposes of matching.
1071 So, when asking for 'sans:lang=en', you'll get an English font first,
1072 and then the remaining fonts sorted with respect to the 'sans' alias
1073 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1075 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1077 reviewed by: Keith Packard <keithp@keithp.com>
1079 * fontconfig/fontconfig.h:
1082 Configuration changes to request synthetic emboldening of
1083 fonts. The actual emboldening code will live in Xft.
1085 2004-12-09 John Thacker <thacker@math.cornell.edu>
1087 reviewed by: Keith Packard <keithp@keithp.com>
1091 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1092 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1093 и), and don't even appear in KOI8-R. (The hypothesis that they
1094 don't appear in KOI8-R due to their similarity with Latin I and i is
1095 eliminated by their presence in KOI8-U.) I have a couple of fonts
1096 with Russian support that don't have the letter.
1098 Therefore, 0406 and 0456 should be removed from or commented out of
1101 2004-12-06 michael meeks <mmeeks@novell.com>
1103 Reviewed by: Keith Packard <keithp@keithp.com>
1105 * src/fcinit.c: (FcMemReport):
1107 * src/fclist.c: (FcObjectSetAdd):
1108 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1109 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1110 * src/fcxml.c: (FcParsePatelt):
1111 memoize strings and share a single copy for all uses. Note that
1112 this could be improved further by using statically allocated blocks
1113 and gluing multiple strings together, but I'm basically lazy.
1114 In my environment with 800 font files, I get a savings of about 90KB.
1116 2004-12-06 Keith Packard <keithp@keithp.com>
1120 * config/Makedefs.in:
1123 * doc/fcatomic.fncs:
1124 * doc/fcblanks.fncs:
1125 * doc/fccharset.fncs:
1126 * doc/fcconfig.fncs:
1127 * doc/fcconstant.fncs:
1129 * doc/fcfontset.fncs:
1130 * doc/fcfreetype.fncs:
1132 * doc/fcmatrix.fncs:
1133 * doc/fcobjectset.fncs:
1134 * doc/fcobjecttype.fncs:
1135 * doc/fcpattern.fncs:
1136 * doc/fcstring.fncs:
1137 * doc/fcstrset.fncs:
1139 * doc/fontconfig-devel.sgml:
1140 * doc/fontconfig-user.sgml:
1142 * doc/version.sgml.in:
1143 * fc-cache/Makefile.am:
1144 * fc-cache/fc-cache.c:
1145 * fc-glyphname/Makefile.am:
1146 * fc-glyphname/fc-glyphname.c:
1147 * fc-glyphname/fcglyphname.tmpl.h:
1148 * fc-lang/Makefile.am:
1158 * fc-lang/az_ir.orth:
1192 * fc-lang/fc-lang.c:
1193 * fc-lang/fc-lang.man:
1194 * fc-lang/fclang.tmpl.h:
1239 * fc-lang/ku_ir.orth:
1272 * fc-lang/ps_af.orth:
1273 * fc-lang/ps_pk.orth:
1302 * fc-lang/ti_er.orth:
1303 * fc-lang/ti_et.orth:
1329 * fc-lang/zh_cn.orth:
1330 * fc-lang/zh_hk.orth:
1331 * fc-lang/zh_mo.orth:
1332 * fc-lang/zh_sg.orth:
1333 * fc-lang/zh_tw.orth:
1335 * fc-list/Makefile.am:
1336 * fc-list/fc-list.c:
1337 * fc-match/Makefile.am:
1338 * fc-match/fc-match.1:
1339 * fc-match/fc-match.c:
1340 * fontconfig/fcfreetype.h:
1341 * fontconfig/fcprivate.h:
1342 * fontconfig/fontconfig.h:
1363 Change files from ISO-Latin-1 to UTF-8
1365 2004-12-04 Keith Packard <keithp@keithp.com>
1368 Update links to new freedesktop.org locations
1370 Add uninstall-local to get rid of fonts.conf and local.conf if they
1371 match the distributed versions. Fixes 'make distcheck'
1373 2004-12-04 Keith Packard <keithp@keithp.com>
1377 * fontconfig/fontconfig.h:
1378 Updates for version 2.2.97
1380 2004-12-04 Owen Taylor <otaylor@redhat.com>
1382 reviewed by: Keith Packard <keithp@keithp.com>
1384 * fc-cache/fc-cache.c: (main):
1385 Sleep for two seconds before exiting to make sure timestamps
1386 for future changes have distinct mod times in the file system.
1389 Add Punjabi orthography. Bug #1671.
1391 2004-12-04 Keith Packard <keithp@keithp.com>
1394 Just remove the FC_FONTDATE -- it has locale issues and
1395 annoys redhat multi-arch installs. Now that all X fonts are
1396 included without prejudice, the chances of the date being at
1397 all interesting are rather limited. Bug #505.
1399 Add copyright and license
1401 2004-12-04 Keith Packard <keithp@keithp.com>
1404 Change default set of fonts to include all of
1405 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1406 * doc/fontconfig-user.sgml:
1407 Document new <include>directory-name</include> semantics
1409 add <include ignore_missing="yes">conf.d</include>
1411 Add selectfont to ignore bitmap fonts, add comment for
1412 selectfont which accepts bitmap fonts.
1415 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1416 Allow <include> configuration elements to reference directories.
1417 Parse and load all files of the form [0-9]* in sorted order.
1419 2004-12-04 Keith Packard <keithp@keithp.com>
1422 Report command line for $srcdir/configure accurately.
1425 2004-12-04 Keith Packard <keithp@keithp.com>
1427 * src/fcfreetype.c: (FcFreeTypeQuery):
1428 Check for non-empty face->family_name and face->style_name
1429 before using those for the font. Empty names match everything.
1432 2004-12-04 Keith Packard <keithp@keithp.com>
1435 * fontconfig/fontconfig.h:
1436 * src/fcfreetype.c: (FcFreeTypeQuery):
1438 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1439 available. This provides font file format information (BDF, Type 1,
1440 PCF, TrueType) for each font. Closes #109.
1442 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1444 reviewed by: Keith Packard <keithp@keithp.com>
1446 * doc/fontconfig-user.sgml:
1449 * fontconfig/fontconfig.h:
1450 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1451 (GetScriptTags), (FcFontCapabilities):
1453 Add detection for font capabilities (bug #105)
1455 2004-12-04 Keith Packard <keithp@keithp.com>
1458 Move existing fonts.conf to fonts.conf.bak
1461 Add detection of iconv
1463 * doc/fcpattern.fncs:
1464 * doc/fontconfig-devel.sgml:
1465 * doc/fontconfig-user.sgml:
1467 Document new selectfont elements
1470 Switch to UTF-8 in comment
1472 * fontconfig/fontconfig.h:
1474 Add fullname, and family/style/fullname language entries
1476 * src/fccache.c: (FcCacheFontSetAdd):
1477 * src/fcdir.c: (FcFileScanConfig):
1478 Respect selectfont/*/glob
1481 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1482 (FcConfigCompareValue), (FcConfigPatternsAdd),
1483 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1484 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1485 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1486 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1487 Add support for selectfont
1489 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1490 (FcStringInPatternElement), (FcFreeTypeQuery):
1491 Add multi-lingual family/style/fullname support
1493 * src/fclist.c: (FcListPatternMatchAny):
1494 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1496 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1497 (FcObjectStaticName):
1498 Add new FcPatternRemove/FcPatternAppend.
1499 FcObjectStaticName stores computed pattern element names which
1500 are required to be static.
1502 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1507 Remove spurious / after $(DESTDIR)
1509 2004-06-30 Keith Packard <keithp@keithp.com>
1513 * fontconfig/fontconfig.h:
1516 2004-06-30 Keith Packard <keithp@keithp.com>
1518 Provided by: Lubos Lunak <l.lunak@suse.cz>
1520 * src/fccfg.c: (FcConfigUptoDate):
1521 However FcConfigUptoDate() doesn't seem to work. See the attached
1522 patch. First there's an obvious misplaced parenthesis making it
1523 return always false, and second, even this call fails to detect font
1524 changes (e.g. adding a new font to
1525 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1526 well. The problem seems to be triggered by my fonts.conf specifying
1527 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1528 doesn't include subdirs, unlike config->fontDirs.
1530 2004-06-03 Keith Packard <keithp@keithp.com>
1532 * fontconfig/fontconfig.h:
1533 Remove comma at end of FcResult enum definition.
1535 2004-05-29 Keith Packard <keithp@keithp.com>
1538 Add steps to md5sum release
1540 2004-05-29 Keith Packard <keithp@keithp.com>
1544 * fontconfig/fontconfig.h:
1547 2004-05-29 Keith Packard <keithp@keithp.com>
1549 * fontconfig/fontconfig.h:
1550 * src/fcmatch.c: (FcFontSetMatch):
1551 Add FcResultOutOfMemory to provide an accurate error when
1552 FcFontSetMatch fails in this way
1555 Make #warning about lacking various FreeType features indicate
1556 which version those features appeared so users know how to
1557 fix the problem (Thanks to Anton Tropashko)
1559 2004-05-05 Keith Packard <keithp@keithp.com>
1561 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1562 Replace MIN/MAX/ABS macros which happen to have come
1563 from FreeType with fontconfig-specific ones (FC_*)
1565 2004-04-23 Keith Packard <keithp@keithp.com>
1568 Extend release preparation instructions to include
1569 notification and distribution steps
1571 2004-04-23 Keith Packard <keithp@keithp.com>
1575 * fontconfig/fontconfig.h:
1576 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1578 2004-04-23 Keith Packard <keithp@keithp.com>
1581 Ignore a few more autotool files
1583 2004-04-14 Keith Packard <keithp@keithp.com>
1586 Add instructions for doing a release
1588 * fontconfig.spec.in:
1589 clean up .spec file; perhaps this will be useful to somebody...
1593 * fontconfig/fontconfig.h:
1596 * fc-lang/fc-lang.c:
1597 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1599 * fc-glyphname/Makefile.am:
1600 * fc-lang/Makefile.am:
1601 * fc-list/Makefile.am:
1602 * fc-match/Makefile.am:
1604 Add WARN_CFLAGS to pass -W flags for GCC systems
1606 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1607 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1608 Change various char types around to match across
1610 Fixed bug in using available_sizes[i].height which
1611 is in pixels, not 64ths of a pixel.
1613 2004-03-06 Keith Packard <keithp@keithp.com>
1615 * src/fcfreetype.c: (FcFreeTypeQuery):
1616 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1617 matches looking for explicit values prefer exact matches
1619 2004-03-02 Keith Packard <keithp@keithp.com>
1621 Supplied by: mfabian@suse.de (Mike FABIAN)
1623 * src/fcfreetype.c: (FcFreeTypeQuery):
1624 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1625 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1627 2004-02-21 Manish Singh <yosh@gimp.org>
1629 * fc-glyphname/fc-glyphname.c: (main):
1630 Cast strlen to int for printf, so we're 64-bit clean.
1632 2004-02-11 Keith Packard <keithp@keithp.com>
1635 * src/fcfreetype.c: (FcGetPixelSize):
1636 Ok, so I messed up the test for y_ppem. Let's see if I
1637 got it right this time.
1639 2004-02-10 Keith Packard <keithp@keithp.com>
1642 * src/fcfreetype.c: (FcGetPixelSize):
1643 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1644 FT_Bitmap_Size record. Add a configure.in test for this
1645 and change the code accordingly (using height instead).
1647 2004-02-06 Keith Packard <keithp@keithp.com>
1650 Add Low Saxon orthography
1651 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1653 * src/fccfg.c: (FcConfigNewestFile):
1654 Oops. Left 'newest.set' unset, which would miscompute
1657 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1658 (FcFreeTypeCheckGlyph):
1659 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1660 font properties (which report the wrong value in current FreeType)
1662 Don't attempt to check for empty glyphs in non-scalable fonts; they
1665 2004-02-01 Tor Lillqvist <tml@iki.fi>
1667 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1668 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1669 cache if config->cache is NULL, which happens if FcConfigHome() is
1670 NULL. Guard against that by using the temp folder in that case.
1672 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1674 * fc-lang/az_ir.orth:
1675 * fc-lang/ku_ir.orth:
1676 * fc-lang/ps_af.orth:
1677 * fc-lang/ps_pk.orth:
1678 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1679 (Afghan and Pakistani).
1681 Updated Urdu orthography with real data.
1683 2003-12-11 Carl Worth <cworth@east.isi.edu>
1685 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1688 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1690 (all-local): Remove excessive whitespace.
1692 * autogen.sh: Add 'set -e' to abort when any program fails,
1693 (avoids printing of 'now type make' after configure aborts).
1695 2003-11-17 Eric Christopherson <rakko@charter.net>
1697 reviewed by: Keith Packard <keithp@keithp.com>
1700 * fontconfig/fcfreetype.h:
1702 Switch to FreeType 2.1.7 style includes. Bug #150.
1704 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1706 * fc-list/fc-list.sgml: Add some example usages.
1708 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1711 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1714 2003-10-27 Keith Packard <keith@keithp.com>
1717 * fontconfig/fontconfig.h:
1718 Update to version 2.2.92
1720 2003-10-27 Keith Packard <keithp@keithp.com>
1725 * fc-cache/Makefile.am:
1726 * fc-glyphname/Makefile.am:
1727 * fc-lang/Makefile.am:
1728 * fc-list/Makefile.am:
1729 * fc-match/Makefile.am:
1732 Yet more cleanups to finish getting 'make distcheck' working
1733 This has been tested to ensure that it even works from a _build
1736 2003-10-26 Keith Packard <keithp@keithp.com>
1740 * fc-cache/Makefile.am:
1741 * fc-glyphname/Makefile.am:
1742 * fc-lang/Makefile.am:
1743 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1744 * fc-list/Makefile.am:
1745 * fc-match/Makefile.am:
1746 Attempts to fix 'make distcheck' work. Things are
1747 progressing pretty well, but there are still failures
1748 long into the process dealing with docs (as always).
1750 The big changes here are mostly to make $(srcdir) != "."
1751 work correctly, fixing the docbook related sections and
1752 fc-lang were particularily tricky. Docbook refuses to load
1753 system entities from anywhere other than where the original .sgml
1754 file was located, so no luck looking in "." for the
1755 configure-generated version.sgml and confdir.sgml files.
1757 fc-lang needed help finding .orth files; added a -d option
1758 to set the directory as the least evil of many options.
1760 Now to go use a faster machine and try and wring out the last
1763 2003-10-26 Keith Packard <keithp@keithp.com>
1767 2003-10-26 Keith Packard <keithp@keithp.com>
1770 Include confdir.sgml.in in EXTRA_DIST
1772 2003-10-09 Josselin Mouette <joss@debian.org>
1774 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1775 * fc-list/fc-list.sgml fc-list/Makefile.am:
1776 Replace fc-cache and fc-list manpages with more detailed, SGML
1779 2003-09-23 Owen Taylor <otaylor@redhat.com>
1781 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1782 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1783 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1786 2003-09-23 Owen Taylor <otaylor@redhat.com>
1788 * fc-lang/ka.orth: Remove Georgian capitals, they
1789 aren't used for normal writing. (Bug #116)
1791 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1793 * doc/fontconfig-devel.sgml:
1794 * doc/fontconfig-user.sgml:
1795 * fontconfig/fontconfig.h:
1797 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1798 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1800 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1801 monospace and dual-width fonts, allow roughly a 3% variance in the
1804 2003-08-31 Manish Singh <yosh@gimp.org>
1806 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1809 2003-08-15 Carl Worth <cworth@isi.edu>
1811 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1812 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1814 * src/fcpat.c (FcValueListEntDestroy): New function to support
1815 FcFini memory cleanup. Some statistics are not kept in
1817 (FcValueListFreeze): Move hashTable outside this function so it
1818 can be accessed by FcValueListThawAll.
1819 (FcValueListThawAll): New function complements FcValueListFreeze.
1820 (FcPatternBaseFreeze): Move hashTable outside this function so it
1821 can be accessed by FcPatternBaseThawAll.
1822 (FcPatternBaseThawAll): New function complements
1823 FcPatternBaseFreeze.
1824 (FcPatternThawAll): New function complements FcPatternFreeze.
1826 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1828 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1829 allocated FcCharLeafEnt "blocks" so they can be freed later.
1830 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1831 can be accessed by FcCharSetThawAllLeaf.
1832 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1833 (FcCharSetFreezeBase): Move hashTable outside this function so it
1834 can be accessed by FcCharSetThawAll.
1835 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1837 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1838 (FcConfigDestroy): Fic leak of FcBlanks.
1840 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1841 (main): Add call to FcFini when finished.
1843 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1844 static. Add prototypes.
1846 * doc/fcinit.fncs: Add documentation for FcFini function.
1848 * doc/edit-sgml.c: Mark several local functions as static. Add
1851 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1853 2003-06-15 Tor Lillqvist <tml@iki.fi>
1855 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1856 before comparing (needed on Windows).
1858 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1860 2003-06-13 Tor Lillqvist <tml@iki.fi>
1862 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1865 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1866 WINDOWSFONTDIR token.
1868 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1869 end, not to confuse libtool, which expects the EXPORTS line to be
1870 the first. Add FcConfigEnableHome.
1872 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1873 built as a DLL on Win32.
1875 2003-06-09 Keith Packard <keithp@keithp.com>
1877 * Tag version 2.2.90
1879 2003-06-09 Keith Packard <keithp@keithp.com>
1881 * Optimization in FcLangSetIndex was broken, occasionally
1882 returning a pointer to the wrong location on miss
1884 * Add fc-match to test font matching from the command line.
1886 2003-05-31 Keith Packard <keithp@keithp.com>
1888 * (Bug 85) add support for culmus fonts
1889 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1890 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1892 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1894 * Fix "contains" op for strings and langsets.
1896 2003-05-17 Keith Packard <keithp@keithp.com>
1898 * Fix build error with BDF prop local. Free langset after query
1900 2003-05-14 Keith Packard <keithp@keithp.com>
1902 * Extract spacing from XLFD atom
1904 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1906 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1907 disappeared in 1.30.
1909 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1911 2003-05-12 Keith Packard <keithp@keithp.com>
1913 * Use FcIsWidth to share code
1915 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1916 misclassifying some Han fonts as monospaced.
1918 2003-05-07 Keith Packard <keithp@keithp.com>
1920 * Add filename-based accept/reject to ammend available fonts.
1922 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1923 older FreeType releases.
1925 2003-05-06 Keith Packard <keithp@keithp.com>
1927 * Remove 0b82 and Tamil numbers from tamil
1928 orthography (Jungshik Shin <jshin@mailaps.org>)
1930 2003-05-04 Keith Packard <keithp@keithp.com>
1932 + Map glyph names in fonts with adobe custom encoding to unicode
1934 2003-05-02 Keith Packard <keithp@keithp.com>
1936 * Add FC_WEIGHT_BOOK as weight 75
1938 2003-04-30 Keith Packard <keithp@keithp.com>
1940 * Typo in bitstream foundry name
1942 2003-04-24 Keith Packard <keithp@keithp.com>
1944 * Eliminate italic_angle check for PS fonts
1946 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1948 * Getting closer to fixing /etc/fonts hard-coding.
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-23 James Henstridge <james@daa.com.au>
1957 * doc/fontconfig-devel.sgml: close the <para> element.
1959 * doc/fcpattern.fncs: close the <para> element.
1961 * doc/func.sgml: close the <refsynopsisdiv> element.
1963 2003-04-22 Keith Packard <keithp@keithp.com
1965 * Update autogen.sh to work with newer automake versions
1966 * Handle pattern elements moving during multiple edits
1968 2003-04-17 Colin Walters <walters@debian.org>
1970 + Remove some unused variables, and initialize some other ones so
1971 gcc doesn't warn us.
1973 2003-04-16 Keith Packard <keithp@keithp.com>
1975 + tag version 2.1.94
1977 2003-04-16 Keith Packard <keithp@keithp.com>
1979 + add BDF property fetching support for foundry
1980 (from Juliusz Chroboczek)
1981 + add BDF property fetching support for width
1983 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1985 + Implemented foundry generation for Type 1 and TrueType
1987 2003-04-11 Gerard Escalante <g2@magestudios.net>
1989 + Retrieve information from Type1 FontInfo dictionaries
1991 2003-04-07 Colin Walters <walters@verbum.org>
1993 + src/Makefile.am: Fix dummy makefile target names when
1994 MS_LIB_AVAILABLE isn't set.
1996 2003-03-22 Tor Lillqvist <tml@iki.fi>
1998 Changes for Windows:
2000 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2002 + We don't want to hardcode the fonts.conf file location in the
2003 DLL, so we look up the DLL location at run-time in a DllMain()
2004 function. The fonts.conf location is deduced from that.
2006 + The colon can't be used as path separator on Windows,
2007 semicolon is used instead. File path components can be separated
2008 with either slash or backslash. Absolute paths can also begin
2009 with a drive letter.
2011 + Add internal function FcStrLastSlash that strrchr's the last
2012 slash, or backslash on Windows.
2014 + There is no link() on Windows. For atomicity checks, mkdir a
2015 lock directory instead.
2017 + In addition to HOME, also look for USERPROFILE.
2019 + Recognize the special font directory token WINDOWSFONTDIR, to
2020 use the system's font directory.
2022 + Remove the fontconfig-def.cpp that was obsolete. Add
2023 fontconfig.def(.in), without internal functions.
2025 + Add a fontconfig-zip(.in) script, used to build a binary
2028 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2029 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2030 to main package and man3/* to devel package
2032 + Added missing defattr(-, root, root) to main RPM package
2034 + Added HTML and text development documentation to -devel subpackage
2036 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2037 + Added back the configure macro options --disable-docs, otherwise
2038 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2039 version number) unconditionally, causing RPM to fail the build due
2040 to _unpackaged_files_terminate_build. We pick up the pregenerated
2041 docs with %doc already.
2043 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2044 + Removed commented out rpm macro define at top of spec file,
2045 replacing it with a simple explanation, since rpm macros are
2046 expanded by rpm even in comments.
2048 + Changed /usr/bin to _bindir in BuildRequires lines
2050 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2052 + Reorganized file manifest lists
2054 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2056 + fontconfig.spec.in: Improvements from Red Hat spec file.
2058 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2060 + docs/*.sgml: SGML fixes.
2062 Sat Mar 1 17:28:53 PST 2003 keithp
2063 + Ok, so the ChangeLog is a bit out of date
2065 + Lots of bugs fixed; most are in bugzilla, the
2066 biggest problems were in cache management where
2067 Owen discovered the library would lose badly when
2068 combining fonts-cache and ~/.fonts-cache data
2070 + Converted from autoconf to automake. This after
2071 getting patches accepted into libtool to allow
2072 the '-version-number' argument which lets
2073 packages set version numbers explicitly rather
2074 than the roundabout libtool way
2076 + Converted documentation to SGML using the docbook
2077 DTD. Now .txt and .html documents are installed
2078 in /usr/share/doc/fontconfig and there's no
2079 man page. Perhaps a man version can be written
2082 Sat Aug 31 15:21:22 PDT 2002 keithp
2083 + Xrender and Xft had several bugs related to
2084 rendering manually placed or poly-face text
2086 + Added more complete memory tracing in fontconfig
2087 Checked with (patched) mozilla and found no leaks
2089 + Updated Latin orthographies by comparing those from
2090 evertype.com with those from eki.ee. Tried to make
2091 sensible choices, including chars that occured in both
2092 and leaving some optional chars out that occured only
2095 Mon Aug 26 16:33:04 PDT 2002 keithp
2096 + Owen discovered that FcLangSetHasLang wasn't actually
2097 checking the language set.
2099 Mon Aug 26 13:37:23 PDT 2002 keithp
2100 + Append a version number to cache filenames
2102 Thu Aug 22 11:36:18 PDT 2002 keithp
2104 + Add "contains" and "not_contains" operators and elements to
2107 + Changed semantics of eq operator for LangSets to check for
2108 FcLangEqual so that any match will do
2110 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2111 of FcValueEqual to check for identical values when inserting into
2112 the results. This broke when the above semantic change was made,
2113 now it uses FcValueEqual which is "more correct" in any case.
2115 Thu Aug 22 00:32:29 PDT 2002 keithp
2117 + Reimplement FC_LANG as new datatype. Lists of strings
2118 was consuming over a megabyte of memory for 401 fonts.
2120 + Freeze patterns loaded from cache files. This shares
2121 common value lists and common patterns which saves
2122 considerable memory.
2124 + Change the denotation of 'constant' charsets to use special
2125 ref value instead of separate boolean.
2127 + Clean up leak tracing stuff, found several unannoted alloc/free
2130 Tue Aug 20 16:17:37 PDT 2002 keithp
2132 + Fix memory leak when parsing matrices from XML
2134 Mon Aug 19 11:57:27 PDT 2002 keithp
2136 + Fix autoconf files to pass FONTCONFIG_PATH on
2137 compile line so that ${prefix} gets substituted
2140 + Use getc_unlocked/putc_unlocked on systems that
2141 provide them to avoid damage done to stdio by posix
2143 + Eliminate FC_PATTERN and FcTypePattern in favor of
2144 an extended api for FcConfigSubstitute which takes
2145 both the font and the pattern.
2147 + Add 'sans serif' alias for 'sans-serif' as some apps
2148 can't handle hyphens in family names
2150 + Eliminate pretense of support for libxml2
2152 + Comment origins of Han orthographies
2154 Tue Jul 30 18:37:09 PDT 2002 keithp
2156 + Add binding property to edit element so that strong
2157 binding values may be inserted by the config file.
2158 The default remains weak.
2160 Sun 28 Jul 04:16:55 PDT 2002 keithp
2162 + Tagged release candidate 1 in the CVS tree and
2163 placed fcpackage.rc1.tar.gz for distribution
2165 Thu Aug 1 08:55:08 PDT 2002 keithp
2167 + Fixed autoconf builds to always specify install
2168 target files (for BSD). Also fixed to
2169 define FONTCONFIG_PATH in config.h so that
2170 nonstandard installs will actually work.