1 2005-12-05 Patrick Lam <plam@mit.edu>
2 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
4 Don't free strings that have been returned from FcStrStaticName.
6 2005-12-01 Patrick Lam <plam@mit.edu>
7 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
9 Add codepath for reading global cache files as well.
11 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
14 * conf.d/10-fonts.persian.conf:
17 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
19 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
22 * src/fcxml.c (FcConfigParseAndLoad):
24 Only add a config file to the set of config files once.
26 2005-11-29 Patrick Lam <plam@mit.edu>
27 * src/fcint.h (FcCacheBankToIndex);
29 Fix segfault by guarding array dereference.
31 2005-11-29 Dirk Mueller <dmueller@suse.de>
35 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
36 FcCacheBankToIndex, FcCacheBankToIndexMTF,
40 Refactor FcCacheBankToIndex into an inlineable part
41 (in fcint.h) which checks the front of the list and a
42 non-inlineable part which finds and moves the appropriate element
43 to the front of the list.
45 2005-11-29 Patrick Lam <plam@mit.edu>
46 * src/fccfg.c (FcConfigBuildFonts):
47 * src/fccache.c (FcCacheReadDirs):
49 Make the perf guys hate me a bit less: hoist the directory-name
50 FcConfigAcceptFont check for cached fonts up to directory cache
51 read time, rather than running it for each font.
53 2005-11-29 Patrick Lam <plam@mit.edu>
54 * src/fccfg.c (FcConfigBuildFonts):
56 * src/fcpat.c (FcPatternFindFullFname):
58 Don't make FcPatternFindFullFname available to fccfg, it's not
59 really safe. Instead go through FcPatternGetString (sorry,
60 perf guys.) Also, use globs for dirs as well.
62 2005-11-28 Patrick Lam <plam@mit.edu>
63 * src/fccfg.c (FcConfigBuildFonts):
67 2005-11-28 Patrick Lam <plam@mit.edu>
69 * src/fcpat.c (FcPatternFindFullFname):
70 * src/fccfg.c (FcConfigBuildFonts):
72 Fix problem dating back at least to 2.3.2 where globs weren't
73 being applied to patterns loaded from a cache.
75 2005-11-28 Patrick Lam <plam@mit.edu>
76 * doc/fontconfig-user.sgml:
78 Fix some obvious spelling mistakes.
80 2005-11-28 Dirk Mueller <dmueller@suse.com>
81 Stephan Kulow <coolo@suse.de>
84 * src/fcmatch.c (FcFontSetMatch):
86 Don't kill all fonts during match (oops!)
89 2005-11-25 Dirk Mueller <dmueller@suse.com>
90 Stephan Kulow <coolo@suse.de>
91 Michael Matz <matz@suse.de>
94 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
97 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
98 inline FcCompare into FcFontSetMatch and reorder the
99 loops, adding a boolean array which blocks patterns from future
100 consideration if they're known to not be best on some past
103 2005-11-26 Dirk Mueller <dmueller@suse.com>
106 * src/fcmatch.c (FcCompareValueList):
110 2005-11-25 Patrick Lam <plam@mit.edu>
111 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
113 Don't do random matching when bad objects are passed into
116 2005-11-25 Patrick Lam <plam@mit.edu>
118 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
119 FcPatternSerialize, FcPatternUnserialize,
120 FcValueListEnsureBank, FcValueListDistributeBytes,
121 FcValueListUnserialize):
123 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
124 _fcPatternElts, _fcValueLists for consistency.
126 2005-11-25 Dirk Mueller <dmueller@suse.com>
131 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
133 2005-11-25 Patrick Lam <plam@mit.edu>
135 * src/fccache.c (FcDirCacheConsume):
136 * src/fccharset.c (FcCharSetUnserialize):
137 * src/fcfs.c (FcFontSetUnserialize):
138 * src/fclang.c (FcLangSetUnserialize):
139 * src/fcname.c (FcObjectUnserialize):
140 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
141 FcPatternUnserialize):
143 Pass around FcCache *s to the Unserialize functions for extra
144 consistency (and less overhead, for what that's worth).
146 2005-11-24 Dirk Mueller <dmueller@suse.com>
150 * src/fcmatch.c (FcCompare*, FcFontSetSort):
151 * src/fcname.c (FcNameUnparseValue):
153 Inline the *PtrU functions to gain perf.
154 Remove unneeded params for the FcCompare* functions.
156 2005-11-24 Dirk Mueller <dmueller@suse.com>
159 * src/fcint.h, fontconfig/fontconfig.h:
161 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
163 * src/fcpat.c, src/fcint.h, src/fcname.c:
165 Check for type validity during FcPatternAddWithBinding, don't
166 verify type in FcFontMatch, don't call FcCanonicalize here
167 (which always does a deep copy).
169 2005-11-24 Dirk Mueller <dmueller@suse.com>
172 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
173 * src/fcpat.c (FcPatternAddWithBinding):
175 Make FcCompareString and FcCompareFamily less expensive.
176 Only add a value for FC_FAMILY if the proposed value is a string.
178 2005-11-24 Dirk Mueller <dmueller@suse.com>
181 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
182 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
183 * src/fcint.h (FcDebug):
185 Inline FcDebug invocations and only initialize once, in FcInit*.
186 Improve debug msg in FcPatternPrint.
188 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
191 * fontconfig/fontconfig.h:
194 Minor code warning cleanups.
196 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
199 * fc-match/fc-match.c (main):
201 Make getopt_long accept -s parameter to fc-match as well.
203 2005-11-21 Dirk Mueller <dmueller@suse.com>
206 * src/fcmatch.c (FcCompareValueList):
208 Manually perform inlining & partial redundancy elimination to
209 reduce calls to FcValueListPtrU.
211 2005-11-21 Dirk Mueller <dmueller@suse.com>
214 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
215 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
217 Only invoke strlen() when really necessary.
219 2005-11-19 Matthias Clasen <mclasen@redhat.com>
223 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
228 Get rid of the use of freetype internal headers in fcfreetype.c,
229 since those headers will go away with freetype 2.2. Replace with
230 public domain ftglue code from pango. Note that the patch removes
231 some extra error checking in FT_Get_BDF_Property() and comments
232 out the skipping of empty pcf fonts.
234 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
237 * fc-lang/fc-lang.c (main):
239 Further fix of patch from 2005-11-04: miscounted numbers count
240 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
241 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
243 Removed leafidx_count and numbers_count since they are the same
244 and replaced them with offset_count.
246 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
249 * fc-cat/fc-cat.c (main):
251 Don't crash when fc-cat invoked with no arguments.
253 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
256 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
258 Fix invalid read access caused by premature free and
259 GCC4 warnings in libxml2 codepath.
261 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
264 * src/fccfg.c (FcConfigValues):
266 List iteration not needed in FcConfigValues, since it's building
267 up the list itself; we can just strip FcVoid elements during
270 2005-11-17 Patrick Lam <plam@mit.edu>
271 * src/fccfg.c (FcConfigValues):
273 Fix crash on invalid constants in config files (forgot to update
274 a pointer upon list iteration.)
276 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
279 * src/fcxml.c (FcTypecheckExpr):
281 Complain about invalid constants in config files.
283 2005-11-17 Andreas Schwab <schwab@suse.de>
286 * src/fccache.c (FcGlobalCacheSave):
288 Don't add current_arch_start more than once.
290 2005-11-16 Patrick Lam <plam@mit.edu>
291 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
292 * src/fcfs.c (FcFontSetUnserialize):
293 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
294 * src/fcpat.c (FcStrUnserialize):
296 Fix ordering of ALIGN with respect to saving block_ptr; add
297 another ALIGN to fcfs.c.
299 2005-11-16 Patrick Lam <plam@mit.edu>
300 * src/fccache.c (FcDirCacheProduce)
302 Fix case where alignment bytes bumped up metadata->count
303 causing unwarranted failures to write cache files.
304 (Reported by Stephan Kulow).
306 2005-11-16 Patrick Lam <plam@mit.edu>
307 * src/fccache.c (FcDirCacheProduce):
308 * src/fccharset.c (FcCharSetDistributeBytes):
309 * src/fcfs.c (FcFontSetDistributeBytes):
311 * src/fclang.c (FcLangSetDistributeBytes):
312 * src/fcname.c (FcObjectDistributeBytes):
313 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
316 Add *NeededBytesAlign(), which overestimates the padding which is
317 later added by the new ALIGN macro. Fix alignment problems on
318 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
319 version by Andreas Schwab).
321 2005-11-16 Stephan Kulow <coolo@kde.org>
326 Use sysconf to determine proper PAGESIZE value; this
327 appears to be POSIX-compliant. (reported by Andreas Schwab)
329 2005-11-04 Patrick Lam <plam@mit.edu>
335 Fix bug 2878 (excessive relocations at startup for charsets,
336 reported by Ross Burton): fc-lang/fc-lang now creates the
337 static form of the langset, not the dynamic form, so that
338 the charsets should now be in .rodata.
340 2005-11-04 Patrick Lam <plam@mit.edu>
341 * src/fcdir.c (FcDirScanConfig):
343 Add test for validity of directory caches that
344 somehow got lost (reported by make distcheck).
346 2005-11-04 Patrick Lam <plam@mit.edu>
350 * fontconfig/fontconfig.h:
352 Bump version to 2.3.92.
354 2005-11-02 Patrick Lam <plam@mit.edu>
355 * src/fcpat.c (FcPatternDuplicate):
357 Fix argument ordering problem in call to FcPatternTransferFullFname.
359 2005-11-02 Patrick Lam <plam@mit.edu>
360 * src/fcfreetype.c (FcFreetypeQuery):
361 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
362 FcPatternTransferFullFname):
364 Fix warnings and embarrassing double-free error.
366 2005-11-02 Zhe Su <zsu@novell.com>
371 Change the rule for artificial emboldening in fonts.conf.in. This
372 enables the support for artificial emboldening included in cairo.
374 2005-11-02 Patrick Lam <plam@mit.edu>
375 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
377 Don't zero out full names for FC_REF_CONSTANT fonts;
378 also, duplicate full names when transferring, and free
379 full names when freeing the associated font.
380 Reported by Jinghua Luo.
382 2005-11-02 Patrick Lam <plam@mit.edu>
383 * fc-cache/fc-cache.c (scanDirs):
384 * src/fcpat.c (FcValueListSerialize):
386 Revert the previous patch and commit the correct patch:
387 I forgot a canonicalization in FcValueListSerialize, so
388 that it would choke on already-serialized input files. Duh!
390 2005-11-02 Patrick Lam <plam@mit.edu>
391 * fc-cache/fc-cache.c (scanDirs):
393 Forcibly rescan a directory before writing a fresh local
394 cache file for that directory, fixing the losing-fonts
395 problem reported by Mike Fabian and also apparently the
396 font cache file corruption.
398 2005-11-02 Patrick Lam <plam@mit.edu>
399 * src/fccache.c (FcGlobalCacheLoad):
401 Fix thinko: actually, the whole global cache is stale
402 if the global cache is older than the (newest) config file.
404 2005-11-02 Patrick Lam <plam@mit.edu>
405 * src/fccache.c (FcGlobalCacheLoad):
406 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
409 Declare the global cache of a directory's contents to be stale if
410 the directory is newer than the (newest) configuration file.
412 2005-10-31 Patrick Lam <plam@mit.edu>
414 * src/fclist.c (FcListAppend):
415 * src/fcmatch.c (FcFontRenderPrepare):
416 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
417 FcPatternFreeze, FcPatternBaseFreeze):
419 Copy the full pathname whenever duplicating an FcPattern; otherwise,
420 applications continue breaking.
422 2005-10-31 Patrick Lam <plam@mit.edu>
423 * fc-cat/fc-cat.c (FcCacheFileRead, main):
424 * src/fcfreetype.c (FcFreeTypeQuery):
426 Fix small memory error (tried to free argv); use basename and
427 dirname correctly (they can modify their arguments).
429 2005-10-31 Patrick Lam <plam@mit.edu>
437 Reinstate basename patch, but keep a hash table linking FcPatterns
438 to their fully-qualified font names for clients' benefit. Clients
439 only pay for the font names once they request the FC_FILE property
440 from an FcPattern, but the font name is malloc'd at that point (i.e.
441 not mmapped: that's impossible, since it may vary between machines.)
442 Clients do have to pay for a copy of the path name per cache file.
444 Note that FcPatternGetString now does some rewriting if you ask
445 for an FC_FILE, appending the pathname as appropriate.
447 2005-10-31 Patrick Lam <plam@mit.edu>
448 * src/fcfreetype.c (FcFreeTypeQuery):
450 Revert basename patch, which breaks fontconfig clients on my system.
452 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
455 * fontconfig/fonts.conf.in:
456 * fontconfig/fontconfig.h:
460 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
461 to load embedded bitmaps or not.
463 2005-10-25 Patrick Lam <plam@mit.edu>
464 * src/fcfreetype.c (FcFreeTypeQuery):
466 Only add basename to patterns' FC_FILE element, not any part of
469 2005-10-22 Patrick Lam <plam@mit.edu>
472 Add some more consts, fixing more GCC4 warnings.
474 2005-10-22 Zhe Su <zsu@novell.com>
477 Support localized font family and style names.
478 This has been reported to break old apps like xfd, but modern
479 (gtk+/qt/mozilla) apps work fine.
481 2005-10-21 Patrick Lam <plam@mit.edu>
482 * src/fccache.c (FcGlobalCacheLoad):
484 Destroy the global cache file if it's terminally broken. (reported by
487 2005-10-21 Patrick Lam <plam@mit.edu>
488 * fc-list/fc-list.c (main):
489 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
490 * fontconfig/fontconfig.h:
492 Prevent fc-list from escaping strings when printing them (reported by
495 2005-10-20 Marcus Meissner <meissner@suse.de>
498 * fontconfig/fontconfig.h:
500 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
502 2005-10-14 Ross Burton <ross@burtonini.com>
505 * fc-glyphname/fc-glyphname.c:
508 Add consts to variables so as to move arrays into .rodata.
510 2005-10-14 Mike Fabian <mfabian@suse.de>
513 * src/fccache.c (FcDirCacheUnlink):
515 Check existence of directory cache file before attempting to unlink.
517 2005-10-13 Patrick Lam <plam@mit.edu>
518 * src/fccache.c (FcDirCacheUnlink):
520 Fix flipped return value on unlink. (Reported by Mike Fabian)
522 2005-10-12 Patrick Lam <plam@mit.edu>
525 * src/fcdir.c (FcDirScanConfig):
528 When fc-cache is run without --force, use directory cache files
529 to speed up fc-cache run time. (Reported by Mike Fabian)
531 2005-10-06 Patrick Lam <plam@mit.edu>
533 * src/fcname.c (FcObjectToPtr):
534 * src/fcpat.c (FcStrStaticName):
536 Add padding to make valgrind and glibc not hate each other
537 when calling strlen().
539 2005-10-05 Simos Xenitellis <simos74@gmx.net>
540 reviewed by: plam & keithp
544 Modify config file to use Greek fonts before Asian fonts with
547 2005-10-05 Christian Biesinger <cbiesinger@web.de>
548 reviewed by: plam & keithp
552 Use libtool -no-undefined flag on all platforms.
554 2005-10-05 Patrick Lam <plam@mit.edu>
555 * src/fccache.c (FcCacheHaveBank):
557 Implement move-to-front array for banks (perf regression
558 reported by Ronny V. Vindenes).
560 2005-10-04 Patrick Lam <plam@mit.edu>
561 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
562 FcDirCacheHasCurrentArch):
563 * fc-cache/fc-cache.c (scanDirs):
564 * fontconfig/fontconfig.h:
566 Add new API which unlinks directory caches and checks dir caches
567 for existence of appropriate sections. Fix fc-cache to unlink
568 stale cache files and save directory caches that lack relevant
571 2005-10-03 Patrick Lam <plam@mit.edu>
572 * src/fccache.c (FcDirCacheValid):
574 Ensure that a directory cache has the appropriate section
575 before reporting that it is valid (reported by Matthias Clasen).
577 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
585 Use libxml2 if requested (with --enable-libxml2) or if
586 expat is not available.
588 2005-09-29 Patrick Lam <plam@mit.edu>
589 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
591 Fix multi-arch cache files: compute the position for the
592 block to be added using info from OrigFile, not NewFile.
594 2005-09-28 Patrick Lam <plam@mit.edu>
595 * src/fccache.c (FcCacheMachineSignature):
597 Cast results of sizeof() to unsigned int to get rid of
598 warnings on x86_64 (thanks Matthias Clasen).
600 2005-09-27 Patrick Lam <plam@mit.edu>
601 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
604 Use FcAtomic to rewrite cache files.
606 2005-09-27 Patrick Lam <plam@mit.edu>
608 * src/fccache.c (FcDirCacheWrite):
610 Don't unlink the fonts.cache-2 file even if there's no data
611 to write; just write an empty cache file. (thanks Lubos Lunak)
613 2005-09-27 Patrick Lam <plam@mit.edu>
615 * src/fccache.c (FcDirCacheWrite):
617 Allocate room for the subdirectory names in each
618 directory cache. Thanks to James Cloos for finding
619 and diagnosing this bug!
621 2005-09-22 Patrick Lam <plam@mit.edu>
623 * fc-cache/fc-cache.sgml:
624 * src/fccache.c (FcDirCacheWrite):
625 * src/fccache.h (struct FcCache):
627 Update documentation -- fc-cache's man page now says that you
628 need to run fc-cache once per cached architecture; add some
629 documentation to the FcCache structure.
631 Make fc-cache write out fonts.cache-2 files for directories with
632 no fonts (i.e. only subdirectories).
634 2005-09-22 Patrick Lam <plam@mit.edu>
636 * fc-cache/fc-cache.sgml:
638 * fc-glyphname/fc-glyphname.c:
644 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
649 * fontconfig/fcprivate.h:
650 * fontconfig/fontconfig.h:
664 Implement new mmaped cache for font information.
665 Bump so revision to 2.3.90.
667 2005-07-25 Keith Packard <keithp@keithp.com>
669 * doc/fontconfig-user.sgml:
670 * fc-glyphname/fc-glyphname.c: (scan), (main):
671 * fc-lang/fc-lang.c: (FcConfigHome):
672 * fc-match/fc-match.c: (main):
673 * src/fccfg.c: (FcConfigHome):
674 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
675 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
676 (addtag), (FcFontCapabilities):
677 * src/fcpat.c: (FcValueListEntCreate):
678 * src/fcstr.c: (FcStrCaseWalkerInit):
679 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
681 Various GCC 4 cleanups for signed vs unsigned char
683 Match only [0-9]*.conf files in <include>{directory}</include>
684 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
686 2005-07-15 Carl Worth <cworth@cworth.org>
689 * src/fcinit.c: (FcFini):
690 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
693 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
694 Pull the FcObjectStateName hash table out to file scope, and add
695 FcObjectStaticNameFini so that FcFini will cleanup this hash table
698 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
701 2005-06-16 Patrick Lam <plam@MIT.EDU>
705 * src/fccfg.c: (FcConfigCompareValue):
706 Make FcOpNotContains use FcStrStr for strings so that
707 it matches semantics for !FcOpContains.
709 2005-05-20 Keith Packard <keithp@keithp.com>
713 Move fontconfig source package to libs as per override
715 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
717 reviewed by: Mike Fabian
720 The ka.orth file requires several characters which are not
721 used anymore in modern Georgian and which are missing in the free
722 Georgian TrueType fonts downloadable at:
724 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
726 2005-04-27 Keith Packard <keithp@keithp.com>
730 Update date to real 2.3.2 release date.
731 Fix change attributions
733 2005-04-27 Keith Packard <keithp@keithp.com>
736 Bump so revision for 2.3.2
737 * fc-cache/fc-cache.c: (scanDirs):
738 Fix a few minor leaks in error cases.
740 2005-04-23 Keith Packard <keithp@keithp.com>
745 * fontconfig/fontconfig.h:
746 Update for version 2.3.2
748 2005-04-21 Keith Packard <keithp@keithp.com>
750 * debian/fontconfig.postinst:
751 Don't force bitmap font enable in default
752 configuration; allows users to override this in
762 * debian/po/pt_BR.po:
763 * debian/po/templates.pot:
765 * debian/po/zh_CN.po:
768 * fc-cache/fc-cache.c: (main):
769 Destroy font configuration on exit to help valgrind
772 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
773 (FcFreeTypeCheckGlyph):
774 Use own transcoding routines in preference to iconv
775 which appears to have leaks in some translators.
776 Call iconv_close after using iconv (oops).
778 Prefer unicode encoding of Euro char as some
779 fonts mis-encode Euro in other ones.
781 Must fetch bitmap glyphs to get width values
782 to check for monospace/dual-width fonts.
784 2005-04-13 Ross Burton <ross@burtonini.com>
787 Check that a pattern isn't already frozen in FcPatternFreeze.
789 2005-03-31 Ross Burton <ross@burtonini.com>
794 Run all FcPattern objects through FcObjectStaticName, so that
795 compares can be done on pointers instead of strings (#2659)
797 2005-03-17 Tor Lillqvist <tml@novell.com>
799 * src/fontconfig.def.in: Add the .dll to the dll name.
801 2005-03-10 Keith Packard <keithp@keithp.com>
803 * debian/README.Debian:
804 Update to reflect configuration changes
806 * debian/fontconfig.postinst:
807 Fix Autohint vs Autohinter mistake
808 * debian/fontconfig.templates:
809 Adopt changes from Josselin Mouette for configuration descriptions
810 Update debian to version 2.3.1-2
812 2005-03-08 Keith Packard <keithp@keithp.com>
816 Update debian for 2.3.1
818 2005-03-09 Tor Lillqvist <tml@novell.com>
820 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
823 * src/fccfg.c (FcConfigFileExists): Check also drive letter
826 2005-03-08 Keith Packard <keithp@keithp.com>
830 * fontconfig/fontconfig.h:
833 2005-03-05 Keith Packard <keithp@keithp.com>
835 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
836 Include space and remove numbers from valid script tags.
837 This ensures that tags like 'lao ' work while rejecting
838 those which have any digits.
839 Eliminate a spurious debugging variable (len)
841 2005-03-05 Keith Packard <keithp@keithp.com>
843 * src/fcfreetype.c: (addtag), (GetScriptTags),
844 (FcFontCapabilities):
845 Rework GSUB/GPOS script parsing to survive broken fonts.
846 Thanks for the broken font go to Manish Singh
848 2005-03-05 Keith Packard <keithp@keithp.com>
853 * debian/fontconfig.config:
854 * debian/fontconfig.templates:
856 Include 2.3 release information in changelog
857 Add Josselin Mouette as an Uploader
858 Set hinting_type to low priority configuration option
861 * debian/fontconfig.postinst:
862 yes_bitmaps.conf -> yes-bitmaps.conf
868 2005-03-02 Keith Packard <keithp@keithp.com>
871 * conf.d/Makefile.am:
872 * conf.d/autohint.conf:
873 * conf.d/no-sub-pixel.conf:
874 * conf.d/sub-pixel.conf:
875 * conf.d/unhinted.conf:
876 * debian/autohint.conf:
877 * debian/fontconfig.install:
878 * debian/fontconfig.postinst:
879 * debian/fontconfig.templates:
880 * debian/no-sub-pixel.conf:
881 * debian/unhinted.conf:
882 Move debian-specific conf file examples upstream.
884 Sub-pixel configuration examples must smash subpixel value
885 as Xft always sets it from X.
887 Change sub-pixel rendering debconf descriptions from
888 Enable/Disable to Always/Never.
890 2005-03-02 Keith Packard <keithp@keithp.com>
895 Ignore more build detritus
898 Add debian package construction stuff.
900 * config/config.guess:
902 Update to newer versions of these tools
905 Get library manuals to build again (we love automake).
907 * debian/README.Debian:
908 * debian/autohint.conf:
913 * debian/fontconfig-udeb.install:
914 * debian/fontconfig.config:
915 * debian/fontconfig.defoma:
916 * debian/fontconfig.dirs:
917 * debian/fontconfig.install:
918 * debian/fontconfig.postinst:
919 * debian/fontconfig.postrm:
920 * debian/fontconfig.templates:
921 * debian/libfontconfig1-dev.install:
922 * debian/libfontconfig1.install:
923 * debian/local.conf.md5sum:
924 * debian/no-sub-pixel.conf:
925 * debian/po/POTFILES.in:
934 * debian/po/pt_BR.po:
935 * debian/po/templates.pot:
937 * debian/po/zh_CN.po:
939 * debian/unhinted.conf:
940 Update debian build system to switch maintainers and
941 deal with 2.3 functionality
943 2005-03-01 Keith Packard <keithp@keithp.com>
947 * fontconfig/fontconfig.h:
950 2005-03-01 Keith Packard <keithp@keithp.com>
953 Generate and install PDF versions of the manuals
955 * doc/fcpattern.fncs:
959 Add missing exported functions, fix data types
961 * doc/fontconfig-devel.sgml:
962 Add missing pattern elements.
964 * doc/fontconfig-user.sgml:
965 Add missing pattern elements. Document conf.d usage,
966 clarify available orthography list. Fix some config file
967 attributes. Complete list of constants.
969 * fontconfig/fontconfig.h:
970 Mark FC_SOURCE deprecated.
972 * src/fcfreetype.c: (FcFreeTypeQuery):
973 Don't set FC_SOURCE any longer.
975 2005-02-28 Keith Packard <keithp@keithp.com>
978 * conf.d/Makefile.am:
980 * conf.d/no-bitmaps.conf:
981 * conf.d/sub-pixel.conf:
982 * conf.d/yes-bitmaps.conf:
984 Create prototype /etc/fonts/conf.d directory with a few
985 sample configuration files.
986 Deprecate use of local.conf for local customizations in favor of
987 this directory based scheme which is more easily integrated into
988 installation systems.
991 Tag FC_EMBOLDEN as a boolean variable
993 2005-02-10 Keith Packard <keithp@keithp.com>
995 reviewed by: pborelli@katamail.com
997 * src/fcdir.c: (FcFileScanConfig):
998 Free patterns from fonts which are rejected by configuration
1001 2005-01-28 Keith Packard <keithp@keithp.com>
1005 * fontconfig/fontconfig.h:
1006 Update for version 2.2.99
1008 2005-01-28 Keith Packard <keithp@keithp.com>
1011 Add a few pointers (#2284, #2285)
1013 2005-01-28 Keith Packard <keithp@keithp.com>
1016 * src/fcname.c: (FcNameBool):
1017 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1018 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1019 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1020 Polite typechecking for test and edit expressions. Helps
1021 catch errors in the font configuration. (bug 229)
1023 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1025 reviewed by: Keith Packard <keithp@keithp.com>
1028 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1030 2005-01-13 Keith Packard <keithp@keithp.com>
1032 * doc/fontconfig-user.sgml:
1033 Add SEE ALSO section (bug 2085)
1035 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1037 reviewed by: Keith Packard <keithp@keithp.com>
1042 * fc-case/Makefile.am:
1043 * fc-glyphname/Makefile.am:
1044 * fc-lang/Makefile.am:
1045 * src/fontconfig.def.in:
1046 Cross compiling fixes (bug 280)
1048 2005-01-13 Keith Packard <keithp@keithp.com>
1051 Update blanks list (Closes bug 86)
1053 2005-01-04 Keith Packard <keithp@keithp.com>
1055 * src/fccache.c: (FcCacheFontSetAdd):
1056 Verify that every font pattern loaded from cache has
1057 both FC_FILE and FC_FAMILY entries.
1058 Attempt to fix bug #2219.
1060 2004-12-29 Keith Packard <keithp@keithp.com>
1064 * fontconfig/fontconfig.h:
1065 Update for version 2.2.98
1067 2004-12-29 Keith Packard <keithp@keithp.com>
1069 * fontconfig/fontconfig.h:
1070 Document ASCII limitations of Fc character conversion macros
1071 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1072 Fix off-by-one error in utf-8 case walking code.
1073 Add FcStrDowncase (useful for testing case conversion functions)
1075 2004-12-29 Keith Packard <keithp@keithp.com>
1078 * fc-case/.cvsignore:
1079 clean up CVS ignore lists
1080 * fc-lang/iso-3166.txt:
1081 Add territory database
1083 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1085 Reviewed by: Keith Packard
1088 Remove Han characters from Korean orthography
1090 2004-12-29 Keith Packard <keithp@keithp.com>
1093 Reorder utility programs to make sure fc-case is run before fc-lang
1094 as fc-lang uses fcstr.c which uses fccase.h
1098 2004-12-29 Keith Packard <keithp@keithp.com>
1101 Adopt some RedHat suggestions for standard font configuration.
1105 * fc-case/CaseFolding.txt:
1106 * fc-case/Makefile.am:
1107 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1108 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1109 (dump), (parseRaw), (caseFoldReadRaw), (main):
1110 * fc-case/fccase.tmpl.h:
1111 Add new helper program 'fc-case' to construct case folding
1112 tables from standard Unicode CaseFolding.txt file
1115 * src/fclist.c: (FcListValueHash):
1116 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1117 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1118 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1119 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1120 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1121 Re-implement case insensitive functions with Unicode
1122 aware versions (including full case folding mappings)
1124 2004-12-13 Keith Packard <keithp@keithp.com>
1126 reviewed by: Owen Taylor <otaylor@redhat.com>
1128 * src/fcmatch.c: (FcFontSetSort):
1129 I changed FcFontSetSort to respect the generic aliases better
1130 in the face of language matching.
1132 What I did was to ammend the strict sort order used by FcFontSort so
1133 that it 'satisfies' the language specified in the pattern by locating
1134 the best matching font supporting each pattern language and then
1135 ignores language in the remaining fonts for purposes of matching.
1137 So, when asking for 'sans:lang=en', you'll get an English font first,
1138 and then the remaining fonts sorted with respect to the 'sans' alias
1139 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1141 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1143 reviewed by: Keith Packard <keithp@keithp.com>
1145 * fontconfig/fontconfig.h:
1148 Configuration changes to request synthetic emboldening of
1149 fonts. The actual emboldening code will live in Xft.
1151 2004-12-09 John Thacker <thacker@math.cornell.edu>
1153 reviewed by: Keith Packard <keithp@keithp.com>
1157 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1158 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1159 и), and don't even appear in KOI8-R. (The hypothesis that they
1160 don't appear in KOI8-R due to their similarity with Latin I and i is
1161 eliminated by their presence in KOI8-U.) I have a couple of fonts
1162 with Russian support that don't have the letter.
1164 Therefore, 0406 and 0456 should be removed from or commented out of
1167 2004-12-06 michael meeks <mmeeks@novell.com>
1169 Reviewed by: Keith Packard <keithp@keithp.com>
1171 * src/fcinit.c: (FcMemReport):
1173 * src/fclist.c: (FcObjectSetAdd):
1174 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1175 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1176 * src/fcxml.c: (FcParsePatelt):
1177 memoize strings and share a single copy for all uses. Note that
1178 this could be improved further by using statically allocated blocks
1179 and gluing multiple strings together, but I'm basically lazy.
1180 In my environment with 800 font files, I get a savings of about 90KB.
1182 2004-12-06 Keith Packard <keithp@keithp.com>
1186 * config/Makedefs.in:
1189 * doc/fcatomic.fncs:
1190 * doc/fcblanks.fncs:
1191 * doc/fccharset.fncs:
1192 * doc/fcconfig.fncs:
1193 * doc/fcconstant.fncs:
1195 * doc/fcfontset.fncs:
1196 * doc/fcfreetype.fncs:
1198 * doc/fcmatrix.fncs:
1199 * doc/fcobjectset.fncs:
1200 * doc/fcobjecttype.fncs:
1201 * doc/fcpattern.fncs:
1202 * doc/fcstring.fncs:
1203 * doc/fcstrset.fncs:
1205 * doc/fontconfig-devel.sgml:
1206 * doc/fontconfig-user.sgml:
1208 * doc/version.sgml.in:
1209 * fc-cache/Makefile.am:
1210 * fc-cache/fc-cache.c:
1211 * fc-glyphname/Makefile.am:
1212 * fc-glyphname/fc-glyphname.c:
1213 * fc-glyphname/fcglyphname.tmpl.h:
1214 * fc-lang/Makefile.am:
1224 * fc-lang/az_ir.orth:
1258 * fc-lang/fc-lang.c:
1259 * fc-lang/fc-lang.man:
1260 * fc-lang/fclang.tmpl.h:
1305 * fc-lang/ku_ir.orth:
1338 * fc-lang/ps_af.orth:
1339 * fc-lang/ps_pk.orth:
1368 * fc-lang/ti_er.orth:
1369 * fc-lang/ti_et.orth:
1395 * fc-lang/zh_cn.orth:
1396 * fc-lang/zh_hk.orth:
1397 * fc-lang/zh_mo.orth:
1398 * fc-lang/zh_sg.orth:
1399 * fc-lang/zh_tw.orth:
1401 * fc-list/Makefile.am:
1402 * fc-list/fc-list.c:
1403 * fc-match/Makefile.am:
1404 * fc-match/fc-match.1:
1405 * fc-match/fc-match.c:
1406 * fontconfig/fcfreetype.h:
1407 * fontconfig/fcprivate.h:
1408 * fontconfig/fontconfig.h:
1429 Change files from ISO-Latin-1 to UTF-8
1431 2004-12-04 Keith Packard <keithp@keithp.com>
1434 Update links to new freedesktop.org locations
1436 Add uninstall-local to get rid of fonts.conf and local.conf if they
1437 match the distributed versions. Fixes 'make distcheck'
1439 2004-12-04 Keith Packard <keithp@keithp.com>
1443 * fontconfig/fontconfig.h:
1444 Updates for version 2.2.97
1446 2004-12-04 Owen Taylor <otaylor@redhat.com>
1448 reviewed by: Keith Packard <keithp@keithp.com>
1450 * fc-cache/fc-cache.c: (main):
1451 Sleep for two seconds before exiting to make sure timestamps
1452 for future changes have distinct mod times in the file system.
1455 Add Punjabi orthography. Bug #1671.
1457 2004-12-04 Keith Packard <keithp@keithp.com>
1460 Just remove the FC_FONTDATE -- it has locale issues and
1461 annoys redhat multi-arch installs. Now that all X fonts are
1462 included without prejudice, the chances of the date being at
1463 all interesting are rather limited. Bug #505.
1465 Add copyright and license
1467 2004-12-04 Keith Packard <keithp@keithp.com>
1470 Change default set of fonts to include all of
1471 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1472 * doc/fontconfig-user.sgml:
1473 Document new <include>directory-name</include> semantics
1475 add <include ignore_missing="yes">conf.d</include>
1477 Add selectfont to ignore bitmap fonts, add comment for
1478 selectfont which accepts bitmap fonts.
1481 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1482 Allow <include> configuration elements to reference directories.
1483 Parse and load all files of the form [0-9]* in sorted order.
1485 2004-12-04 Keith Packard <keithp@keithp.com>
1488 Report command line for $srcdir/configure accurately.
1491 2004-12-04 Keith Packard <keithp@keithp.com>
1493 * src/fcfreetype.c: (FcFreeTypeQuery):
1494 Check for non-empty face->family_name and face->style_name
1495 before using those for the font. Empty names match everything.
1498 2004-12-04 Keith Packard <keithp@keithp.com>
1501 * fontconfig/fontconfig.h:
1502 * src/fcfreetype.c: (FcFreeTypeQuery):
1504 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1505 available. This provides font file format information (BDF, Type 1,
1506 PCF, TrueType) for each font. Closes #109.
1508 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1510 reviewed by: Keith Packard <keithp@keithp.com>
1512 * doc/fontconfig-user.sgml:
1515 * fontconfig/fontconfig.h:
1516 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1517 (GetScriptTags), (FcFontCapabilities):
1519 Add detection for font capabilities (bug #105)
1521 2004-12-04 Keith Packard <keithp@keithp.com>
1524 Move existing fonts.conf to fonts.conf.bak
1527 Add detection of iconv
1529 * doc/fcpattern.fncs:
1530 * doc/fontconfig-devel.sgml:
1531 * doc/fontconfig-user.sgml:
1533 Document new selectfont elements
1536 Switch to UTF-8 in comment
1538 * fontconfig/fontconfig.h:
1540 Add fullname, and family/style/fullname language entries
1542 * src/fccache.c: (FcCacheFontSetAdd):
1543 * src/fcdir.c: (FcFileScanConfig):
1544 Respect selectfont/*/glob
1547 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1548 (FcConfigCompareValue), (FcConfigPatternsAdd),
1549 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1550 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1551 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1552 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1553 Add support for selectfont
1555 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1556 (FcStringInPatternElement), (FcFreeTypeQuery):
1557 Add multi-lingual family/style/fullname support
1559 * src/fclist.c: (FcListPatternMatchAny):
1560 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1562 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1563 (FcObjectStaticName):
1564 Add new FcPatternRemove/FcPatternAppend.
1565 FcObjectStaticName stores computed pattern element names which
1566 are required to be static.
1568 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1573 Remove spurious / after $(DESTDIR)
1575 2004-06-30 Keith Packard <keithp@keithp.com>
1579 * fontconfig/fontconfig.h:
1582 2004-06-30 Keith Packard <keithp@keithp.com>
1584 Provided by: Lubos Lunak <l.lunak@suse.cz>
1586 * src/fccfg.c: (FcConfigUptoDate):
1587 However FcConfigUptoDate() doesn't seem to work. See the attached
1588 patch. First there's an obvious misplaced parenthesis making it
1589 return always false, and second, even this call fails to detect font
1590 changes (e.g. adding a new font to
1591 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1592 well. The problem seems to be triggered by my fonts.conf specifying
1593 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1594 doesn't include subdirs, unlike config->fontDirs.
1596 2004-06-03 Keith Packard <keithp@keithp.com>
1598 * fontconfig/fontconfig.h:
1599 Remove comma at end of FcResult enum definition.
1601 2004-05-29 Keith Packard <keithp@keithp.com>
1604 Add steps to md5sum release
1606 2004-05-29 Keith Packard <keithp@keithp.com>
1610 * fontconfig/fontconfig.h:
1613 2004-05-29 Keith Packard <keithp@keithp.com>
1615 * fontconfig/fontconfig.h:
1616 * src/fcmatch.c: (FcFontSetMatch):
1617 Add FcResultOutOfMemory to provide an accurate error when
1618 FcFontSetMatch fails in this way
1621 Make #warning about lacking various FreeType features indicate
1622 which version those features appeared so users know how to
1623 fix the problem (Thanks to Anton Tropashko)
1625 2004-05-05 Keith Packard <keithp@keithp.com>
1627 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1628 Replace MIN/MAX/ABS macros which happen to have come
1629 from FreeType with fontconfig-specific ones (FC_*)
1631 2004-04-23 Keith Packard <keithp@keithp.com>
1634 Extend release preparation instructions to include
1635 notification and distribution steps
1637 2004-04-23 Keith Packard <keithp@keithp.com>
1641 * fontconfig/fontconfig.h:
1642 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1644 2004-04-23 Keith Packard <keithp@keithp.com>
1647 Ignore a few more autotool files
1649 2004-04-14 Keith Packard <keithp@keithp.com>
1652 Add instructions for doing a release
1654 * fontconfig.spec.in:
1655 clean up .spec file; perhaps this will be useful to somebody...
1659 * fontconfig/fontconfig.h:
1662 * fc-lang/fc-lang.c:
1663 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1665 * fc-glyphname/Makefile.am:
1666 * fc-lang/Makefile.am:
1667 * fc-list/Makefile.am:
1668 * fc-match/Makefile.am:
1670 Add WARN_CFLAGS to pass -W flags for GCC systems
1672 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1673 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1674 Change various char types around to match across
1676 Fixed bug in using available_sizes[i].height which
1677 is in pixels, not 64ths of a pixel.
1679 2004-03-06 Keith Packard <keithp@keithp.com>
1681 * src/fcfreetype.c: (FcFreeTypeQuery):
1682 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1683 matches looking for explicit values prefer exact matches
1685 2004-03-02 Keith Packard <keithp@keithp.com>
1687 Supplied by: mfabian@suse.de (Mike FABIAN)
1689 * src/fcfreetype.c: (FcFreeTypeQuery):
1690 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1691 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1693 2004-02-21 Manish Singh <yosh@gimp.org>
1695 * fc-glyphname/fc-glyphname.c: (main):
1696 Cast strlen to int for printf, so we're 64-bit clean.
1698 2004-02-11 Keith Packard <keithp@keithp.com>
1701 * src/fcfreetype.c: (FcGetPixelSize):
1702 Ok, so I messed up the test for y_ppem. Let's see if I
1703 got it right this time.
1705 2004-02-10 Keith Packard <keithp@keithp.com>
1708 * src/fcfreetype.c: (FcGetPixelSize):
1709 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1710 FT_Bitmap_Size record. Add a configure.in test for this
1711 and change the code accordingly (using height instead).
1713 2004-02-06 Keith Packard <keithp@keithp.com>
1716 Add Low Saxon orthography
1717 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1719 * src/fccfg.c: (FcConfigNewestFile):
1720 Oops. Left 'newest.set' unset, which would miscompute
1723 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1724 (FcFreeTypeCheckGlyph):
1725 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1726 font properties (which report the wrong value in current FreeType)
1728 Don't attempt to check for empty glyphs in non-scalable fonts; they
1731 2004-02-01 Tor Lillqvist <tml@iki.fi>
1733 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1734 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1735 cache if config->cache is NULL, which happens if FcConfigHome() is
1736 NULL. Guard against that by using the temp folder in that case.
1738 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1740 * fc-lang/az_ir.orth:
1741 * fc-lang/ku_ir.orth:
1742 * fc-lang/ps_af.orth:
1743 * fc-lang/ps_pk.orth:
1744 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1745 (Afghan and Pakistani).
1747 Updated Urdu orthography with real data.
1749 2003-12-11 Carl Worth <cworth@east.isi.edu>
1751 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1754 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1756 (all-local): Remove excessive whitespace.
1758 * autogen.sh: Add 'set -e' to abort when any program fails,
1759 (avoids printing of 'now type make' after configure aborts).
1761 2003-11-17 Eric Christopherson <rakko@charter.net>
1763 reviewed by: Keith Packard <keithp@keithp.com>
1766 * fontconfig/fcfreetype.h:
1768 Switch to FreeType 2.1.7 style includes. Bug #150.
1770 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1772 * fc-list/fc-list.sgml: Add some example usages.
1774 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1777 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1780 2003-10-27 Keith Packard <keith@keithp.com>
1783 * fontconfig/fontconfig.h:
1784 Update to version 2.2.92
1786 2003-10-27 Keith Packard <keithp@keithp.com>
1791 * fc-cache/Makefile.am:
1792 * fc-glyphname/Makefile.am:
1793 * fc-lang/Makefile.am:
1794 * fc-list/Makefile.am:
1795 * fc-match/Makefile.am:
1798 Yet more cleanups to finish getting 'make distcheck' working
1799 This has been tested to ensure that it even works from a _build
1802 2003-10-26 Keith Packard <keithp@keithp.com>
1806 * fc-cache/Makefile.am:
1807 * fc-glyphname/Makefile.am:
1808 * fc-lang/Makefile.am:
1809 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1810 * fc-list/Makefile.am:
1811 * fc-match/Makefile.am:
1812 Attempts to fix 'make distcheck' work. Things are
1813 progressing pretty well, but there are still failures
1814 long into the process dealing with docs (as always).
1816 The big changes here are mostly to make $(srcdir) != "."
1817 work correctly, fixing the docbook related sections and
1818 fc-lang were particularily tricky. Docbook refuses to load
1819 system entities from anywhere other than where the original .sgml
1820 file was located, so no luck looking in "." for the
1821 configure-generated version.sgml and confdir.sgml files.
1823 fc-lang needed help finding .orth files; added a -d option
1824 to set the directory as the least evil of many options.
1826 Now to go use a faster machine and try and wring out the last
1829 2003-10-26 Keith Packard <keithp@keithp.com>
1833 2003-10-26 Keith Packard <keithp@keithp.com>
1836 Include confdir.sgml.in in EXTRA_DIST
1838 2003-10-09 Josselin Mouette <joss@debian.org>
1840 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1841 * fc-list/fc-list.sgml fc-list/Makefile.am:
1842 Replace fc-cache and fc-list manpages with more detailed, SGML
1845 2003-09-23 Owen Taylor <otaylor@redhat.com>
1847 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1848 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1849 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1852 2003-09-23 Owen Taylor <otaylor@redhat.com>
1854 * fc-lang/ka.orth: Remove Georgian capitals, they
1855 aren't used for normal writing. (Bug #116)
1857 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1859 * doc/fontconfig-devel.sgml:
1860 * doc/fontconfig-user.sgml:
1861 * fontconfig/fontconfig.h:
1863 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1864 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1866 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1867 monospace and dual-width fonts, allow roughly a 3% variance in the
1870 2003-08-31 Manish Singh <yosh@gimp.org>
1872 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1875 2003-08-15 Carl Worth <cworth@isi.edu>
1877 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1878 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1880 * src/fcpat.c (FcValueListEntDestroy): New function to support
1881 FcFini memory cleanup. Some statistics are not kept in
1883 (FcValueListFreeze): Move hashTable outside this function so it
1884 can be accessed by FcValueListThawAll.
1885 (FcValueListThawAll): New function complements FcValueListFreeze.
1886 (FcPatternBaseFreeze): Move hashTable outside this function so it
1887 can be accessed by FcPatternBaseThawAll.
1888 (FcPatternBaseThawAll): New function complements
1889 FcPatternBaseFreeze.
1890 (FcPatternThawAll): New function complements FcPatternFreeze.
1892 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1894 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1895 allocated FcCharLeafEnt "blocks" so they can be freed later.
1896 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1897 can be accessed by FcCharSetThawAllLeaf.
1898 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1899 (FcCharSetFreezeBase): Move hashTable outside this function so it
1900 can be accessed by FcCharSetThawAll.
1901 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1903 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1904 (FcConfigDestroy): Fic leak of FcBlanks.
1906 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1907 (main): Add call to FcFini when finished.
1909 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1910 static. Add prototypes.
1912 * doc/fcinit.fncs: Add documentation for FcFini function.
1914 * doc/edit-sgml.c: Mark several local functions as static. Add
1917 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1919 2003-06-15 Tor Lillqvist <tml@iki.fi>
1921 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1922 before comparing (needed on Windows).
1924 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1926 2003-06-13 Tor Lillqvist <tml@iki.fi>
1928 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1931 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1932 WINDOWSFONTDIR token.
1934 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1935 end, not to confuse libtool, which expects the EXPORTS line to be
1936 the first. Add FcConfigEnableHome.
1938 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1939 built as a DLL on Win32.
1941 2003-06-09 Keith Packard <keithp@keithp.com>
1943 * Tag version 2.2.90
1945 2003-06-09 Keith Packard <keithp@keithp.com>
1947 * Optimization in FcLangSetIndex was broken, occasionally
1948 returning a pointer to the wrong location on miss
1950 * Add fc-match to test font matching from the command line.
1952 2003-05-31 Keith Packard <keithp@keithp.com>
1954 * (Bug 85) add support for culmus fonts
1955 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1956 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1958 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1960 * Fix "contains" op for strings and langsets.
1962 2003-05-17 Keith Packard <keithp@keithp.com>
1964 * Fix build error with BDF prop local. Free langset after query
1966 2003-05-14 Keith Packard <keithp@keithp.com>
1968 * Extract spacing from XLFD atom
1970 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1972 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1973 disappeared in 1.30.
1975 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1977 2003-05-12 Keith Packard <keithp@keithp.com>
1979 * Use FcIsWidth to share code
1981 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1982 misclassifying some Han fonts as monospaced.
1984 2003-05-07 Keith Packard <keithp@keithp.com>
1986 * Add filename-based accept/reject to ammend available fonts.
1988 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1989 older FreeType releases.
1991 2003-05-06 Keith Packard <keithp@keithp.com>
1993 * Remove 0b82 and Tamil numbers from tamil
1994 orthography (Jungshik Shin <jshin@mailaps.org>)
1996 2003-05-04 Keith Packard <keithp@keithp.com>
1998 + Map glyph names in fonts with adobe custom encoding to unicode
2000 2003-05-02 Keith Packard <keithp@keithp.com>
2002 * Add FC_WEIGHT_BOOK as weight 75
2004 2003-04-30 Keith Packard <keithp@keithp.com>
2006 * Typo in bitstream foundry name
2008 2003-04-24 Keith Packard <keithp@keithp.com>
2010 * Eliminate italic_angle check for PS fonts
2012 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2014 * Getting closer to fixing /etc/fonts hard-coding.
2016 2003-04-22 Keith Packard <keithp@keithp.com>
2018 * Update autogen.sh to work with newer automake versions
2019 * Handle pattern elements moving during multiple edits
2021 2003-04-23 James Henstridge <james@daa.com.au>
2023 * doc/fontconfig-devel.sgml: close the <para> element.
2025 * doc/fcpattern.fncs: close the <para> element.
2027 * doc/func.sgml: close the <refsynopsisdiv> element.
2029 2003-04-22 Keith Packard <keithp@keithp.com
2031 * Update autogen.sh to work with newer automake versions
2032 * Handle pattern elements moving during multiple edits
2034 2003-04-17 Colin Walters <walters@debian.org>
2036 + Remove some unused variables, and initialize some other ones so
2037 gcc doesn't warn us.
2039 2003-04-16 Keith Packard <keithp@keithp.com>
2041 + tag version 2.1.94
2043 2003-04-16 Keith Packard <keithp@keithp.com>
2045 + add BDF property fetching support for foundry
2046 (from Juliusz Chroboczek)
2047 + add BDF property fetching support for width
2049 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2051 + Implemented foundry generation for Type 1 and TrueType
2053 2003-04-11 Gerard Escalante <g2@magestudios.net>
2055 + Retrieve information from Type1 FontInfo dictionaries
2057 2003-04-07 Colin Walters <walters@verbum.org>
2059 + src/Makefile.am: Fix dummy makefile target names when
2060 MS_LIB_AVAILABLE isn't set.
2062 2003-03-22 Tor Lillqvist <tml@iki.fi>
2064 Changes for Windows:
2066 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2068 + We don't want to hardcode the fonts.conf file location in the
2069 DLL, so we look up the DLL location at run-time in a DllMain()
2070 function. The fonts.conf location is deduced from that.
2072 + The colon can't be used as path separator on Windows,
2073 semicolon is used instead. File path components can be separated
2074 with either slash or backslash. Absolute paths can also begin
2075 with a drive letter.
2077 + Add internal function FcStrLastSlash that strrchr's the last
2078 slash, or backslash on Windows.
2080 + There is no link() on Windows. For atomicity checks, mkdir a
2081 lock directory instead.
2083 + In addition to HOME, also look for USERPROFILE.
2085 + Recognize the special font directory token WINDOWSFONTDIR, to
2086 use the system's font directory.
2088 + Remove the fontconfig-def.cpp that was obsolete. Add
2089 fontconfig.def(.in), without internal functions.
2091 + Add a fontconfig-zip(.in) script, used to build a binary
2094 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2095 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2096 to main package and man3/* to devel package
2098 + Added missing defattr(-, root, root) to main RPM package
2100 + Added HTML and text development documentation to -devel subpackage
2102 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2103 + Added back the configure macro options --disable-docs, otherwise
2104 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2105 version number) unconditionally, causing RPM to fail the build due
2106 to _unpackaged_files_terminate_build. We pick up the pregenerated
2107 docs with %doc already.
2109 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2110 + Removed commented out rpm macro define at top of spec file,
2111 replacing it with a simple explanation, since rpm macros are
2112 expanded by rpm even in comments.
2114 + Changed /usr/bin to _bindir in BuildRequires lines
2116 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2118 + Reorganized file manifest lists
2120 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2122 + fontconfig.spec.in: Improvements from Red Hat spec file.
2124 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2126 + docs/*.sgml: SGML fixes.
2128 Sat Mar 1 17:28:53 PST 2003 keithp
2129 + Ok, so the ChangeLog is a bit out of date
2131 + Lots of bugs fixed; most are in bugzilla, the
2132 biggest problems were in cache management where
2133 Owen discovered the library would lose badly when
2134 combining fonts-cache and ~/.fonts-cache data
2136 + Converted from autoconf to automake. This after
2137 getting patches accepted into libtool to allow
2138 the '-version-number' argument which lets
2139 packages set version numbers explicitly rather
2140 than the roundabout libtool way
2142 + Converted documentation to SGML using the docbook
2143 DTD. Now .txt and .html documents are installed
2144 in /usr/share/doc/fontconfig and there's no
2145 man page. Perhaps a man version can be written
2148 Sat Aug 31 15:21:22 PDT 2002 keithp
2149 + Xrender and Xft had several bugs related to
2150 rendering manually placed or poly-face text
2152 + Added more complete memory tracing in fontconfig
2153 Checked with (patched) mozilla and found no leaks
2155 + Updated Latin orthographies by comparing those from
2156 evertype.com with those from eki.ee. Tried to make
2157 sensible choices, including chars that occured in both
2158 and leaving some optional chars out that occured only
2161 Mon Aug 26 16:33:04 PDT 2002 keithp
2162 + Owen discovered that FcLangSetHasLang wasn't actually
2163 checking the language set.
2165 Mon Aug 26 13:37:23 PDT 2002 keithp
2166 + Append a version number to cache filenames
2168 Thu Aug 22 11:36:18 PDT 2002 keithp
2170 + Add "contains" and "not_contains" operators and elements to
2173 + Changed semantics of eq operator for LangSets to check for
2174 FcLangEqual so that any match will do
2176 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2177 of FcValueEqual to check for identical values when inserting into
2178 the results. This broke when the above semantic change was made,
2179 now it uses FcValueEqual which is "more correct" in any case.
2181 Thu Aug 22 00:32:29 PDT 2002 keithp
2183 + Reimplement FC_LANG as new datatype. Lists of strings
2184 was consuming over a megabyte of memory for 401 fonts.
2186 + Freeze patterns loaded from cache files. This shares
2187 common value lists and common patterns which saves
2188 considerable memory.
2190 + Change the denotation of 'constant' charsets to use special
2191 ref value instead of separate boolean.
2193 + Clean up leak tracing stuff, found several unannoted alloc/free
2196 Tue Aug 20 16:17:37 PDT 2002 keithp
2198 + Fix memory leak when parsing matrices from XML
2200 Mon Aug 19 11:57:27 PDT 2002 keithp
2202 + Fix autoconf files to pass FONTCONFIG_PATH on
2203 compile line so that ${prefix} gets substituted
2206 + Use getc_unlocked/putc_unlocked on systems that
2207 provide them to avoid damage done to stdio by posix
2209 + Eliminate FC_PATTERN and FcTypePattern in favor of
2210 an extended api for FcConfigSubstitute which takes
2211 both the font and the pattern.
2213 + Add 'sans serif' alias for 'sans-serif' as some apps
2214 can't handle hyphens in family names
2216 + Eliminate pretense of support for libxml2
2218 + Comment origins of Han orthographies
2220 Tue Jul 30 18:37:09 PDT 2002 keithp
2222 + Add binding property to edit element so that strong
2223 binding values may be inserted by the config file.
2224 The default remains weak.
2226 Sun 28 Jul 04:16:55 PDT 2002 keithp
2228 + Tagged release candidate 1 in the CVS tree and
2229 placed fcpackage.rc1.tar.gz for distribution
2231 Thu Aug 1 08:55:08 PDT 2002 keithp
2233 + Fixed autoconf builds to always specify install
2234 target files (for BSD). Also fixed to
2235 define FONTCONFIG_PATH in config.h so that
2236 nonstandard installs will actually work.