1 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
4 * conf.d/10-fonts.persian.conf:
7 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
9 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
12 * src/fcxml.c (FcConfigParseAndLoad):
14 Only add a config file to the set of config files once.
16 2005-11-29 Patrick Lam <plam@mit.edu>
17 * src/fcint.h (FcCacheBankToIndex);
19 Fix segfault by guarding array dereference.
21 2005-11-29 Dirk Mueller <dmueller@suse.de>
25 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
26 FcCacheBankToIndex, FcCacheBankToIndexMTF,
30 Refactor FcCacheBankToIndex into an inlineable part
31 (in fcint.h) which checks the front of the list and a
32 non-inlineable part which finds and moves the appropriate element
33 to the front of the list.
35 2005-11-29 Patrick Lam <plam@mit.edu>
36 * src/fccfg.c (FcConfigBuildFonts):
37 * src/fccache.c (FcCacheReadDirs):
39 Make the perf guys hate me a bit less: hoist the directory-name
40 FcConfigAcceptFont check for cached fonts up to directory cache
41 read time, rather than running it for each font.
43 2005-11-29 Patrick Lam <plam@mit.edu>
44 * src/fccfg.c (FcConfigBuildFonts):
46 * src/fcpat.c (FcPatternFindFullFname):
48 Don't make FcPatternFindFullFname available to fccfg, it's not
49 really safe. Instead go through FcPatternGetString (sorry,
50 perf guys.) Also, use globs for dirs as well.
52 2005-11-28 Patrick Lam <plam@mit.edu>
53 * src/fccfg.c (FcConfigBuildFonts):
57 2005-11-28 Patrick Lam <plam@mit.edu>
59 * src/fcpat.c (FcPatternFindFullFname):
60 * src/fccfg.c (FcConfigBuildFonts):
62 Fix problem dating back at least to 2.3.2 where globs weren't
63 being applied to patterns loaded from a cache.
65 2005-11-28 Patrick Lam <plam@mit.edu>
66 * doc/fontconfig-user.sgml:
68 Fix some obvious spelling mistakes.
70 2005-11-28 Dirk Mueller <dmueller@suse.com>
71 Stephan Kulow <coolo@suse.de>
74 * src/fcmatch.c (FcFontSetMatch):
76 Don't kill all fonts during match (oops!)
79 2005-11-25 Dirk Mueller <dmueller@suse.com>
80 Stephan Kulow <coolo@suse.de>
81 Michael Matz <matz@suse.de>
84 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
87 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
88 inline FcCompare into FcFontSetMatch and reorder the
89 loops, adding a boolean array which blocks patterns from future
90 consideration if they're known to not be best on some past
93 2005-11-26 Dirk Mueller <dmueller@suse.com>
96 * src/fcmatch.c (FcCompareValueList):
100 2005-11-25 Patrick Lam <plam@mit.edu>
101 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
103 Don't do random matching when bad objects are passed into
106 2005-11-25 Patrick Lam <plam@mit.edu>
108 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
109 FcPatternSerialize, FcPatternUnserialize,
110 FcValueListEnsureBank, FcValueListDistributeBytes,
111 FcValueListUnserialize):
113 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
114 _fcPatternElts, _fcValueLists for consistency.
116 2005-11-25 Dirk Mueller <dmueller@suse.com>
121 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
123 2005-11-25 Patrick Lam <plam@mit.edu>
125 * src/fccache.c (FcDirCacheConsume):
126 * src/fccharset.c (FcCharSetUnserialize):
127 * src/fcfs.c (FcFontSetUnserialize):
128 * src/fclang.c (FcLangSetUnserialize):
129 * src/fcname.c (FcObjectUnserialize):
130 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
131 FcPatternUnserialize):
133 Pass around FcCache *s to the Unserialize functions for extra
134 consistency (and less overhead, for what that's worth).
136 2005-11-24 Dirk Mueller <dmueller@suse.com>
140 * src/fcmatch.c (FcCompare*, FcFontSetSort):
141 * src/fcname.c (FcNameUnparseValue):
143 Inline the *PtrU functions to gain perf.
144 Remove unneeded params for the FcCompare* functions.
146 2005-11-24 Dirk Mueller <dmueller@suse.com>
149 * src/fcint.h, fontconfig/fontconfig.h:
151 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
153 * src/fcpat.c, src/fcint.h, src/fcname.c:
155 Check for type validity during FcPatternAddWithBinding, don't
156 verify type in FcFontMatch, don't call FcCanonicalize here
157 (which always does a deep copy).
159 2005-11-24 Dirk Mueller <dmueller@suse.com>
162 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
163 * src/fcpat.c (FcPatternAddWithBinding):
165 Make FcCompareString and FcCompareFamily less expensive.
166 Only add a value for FC_FAMILY if the proposed value is a string.
168 2005-11-24 Dirk Mueller <dmueller@suse.com>
171 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
172 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
173 * src/fcint.h (FcDebug):
175 Inline FcDebug invocations and only initialize once, in FcInit*.
176 Improve debug msg in FcPatternPrint.
178 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
181 * fontconfig/fontconfig.h:
184 Minor code warning cleanups.
186 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
189 * fc-match/fc-match.c (main):
191 Make getopt_long accept -s parameter to fc-match as well.
193 2005-11-21 Dirk Mueller <dmueller@suse.com>
196 * src/fcmatch.c (FcCompareValueList):
198 Manually perform inlining & partial redundancy elimination to
199 reduce calls to FcValueListPtrU.
201 2005-11-21 Dirk Mueller <dmueller@suse.com>
204 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
205 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
207 Only invoke strlen() when really necessary.
209 2005-11-19 Matthias Clasen <mclasen@redhat.com>
213 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
218 Get rid of the use of freetype internal headers in fcfreetype.c,
219 since those headers will go away with freetype 2.2. Replace with
220 public domain ftglue code from pango. Note that the patch removes
221 some extra error checking in FT_Get_BDF_Property() and comments
222 out the skipping of empty pcf fonts.
224 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
227 * fc-lang/fc-lang.c (main):
229 Further fix of patch from 2005-11-04: miscounted numbers count
230 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
231 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
233 Removed leafidx_count and numbers_count since they are the same
234 and replaced them with offset_count.
236 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
239 * fc-cat/fc-cat.c (main):
241 Don't crash when fc-cat invoked with no arguments.
243 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
246 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
248 Fix invalid read access caused by premature free and
249 GCC4 warnings in libxml2 codepath.
251 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
254 * src/fccfg.c (FcConfigValues):
256 List iteration not needed in FcConfigValues, since it's building
257 up the list itself; we can just strip FcVoid elements during
260 2005-11-17 Patrick Lam <plam@mit.edu>
261 * src/fccfg.c (FcConfigValues):
263 Fix crash on invalid constants in config files (forgot to update
264 a pointer upon list iteration.)
266 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
269 * src/fcxml.c (FcTypecheckExpr):
271 Complain about invalid constants in config files.
273 2005-11-17 Andreas Schwab <schwab@suse.de>
276 * src/fccache.c (FcGlobalCacheSave):
278 Don't add current_arch_start more than once.
280 2005-11-16 Patrick Lam <plam@mit.edu>
281 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
282 * src/fcfs.c (FcFontSetUnserialize):
283 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
284 * src/fcpat.c (FcStrUnserialize):
286 Fix ordering of ALIGN with respect to saving block_ptr; add
287 another ALIGN to fcfs.c.
289 2005-11-16 Patrick Lam <plam@mit.edu>
290 * src/fccache.c (FcDirCacheProduce)
292 Fix case where alignment bytes bumped up metadata->count
293 causing unwarranted failures to write cache files.
294 (Reported by Stephan Kulow).
296 2005-11-16 Patrick Lam <plam@mit.edu>
297 * src/fccache.c (FcDirCacheProduce):
298 * src/fccharset.c (FcCharSetDistributeBytes):
299 * src/fcfs.c (FcFontSetDistributeBytes):
301 * src/fclang.c (FcLangSetDistributeBytes):
302 * src/fcname.c (FcObjectDistributeBytes):
303 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
306 Add *NeededBytesAlign(), which overestimates the padding which is
307 later added by the new ALIGN macro. Fix alignment problems on
308 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
309 version by Andreas Schwab).
311 2005-11-16 Stephan Kulow <coolo@kde.org>
316 Use sysconf to determine proper PAGESIZE value; this
317 appears to be POSIX-compliant. (reported by Andreas Schwab)
319 2005-11-04 Patrick Lam <plam@mit.edu>
325 Fix bug 2878 (excessive relocations at startup for charsets,
326 reported by Ross Burton): fc-lang/fc-lang now creates the
327 static form of the langset, not the dynamic form, so that
328 the charsets should now be in .rodata.
330 2005-11-04 Patrick Lam <plam@mit.edu>
331 * src/fcdir.c (FcDirScanConfig):
333 Add test for validity of directory caches that
334 somehow got lost (reported by make distcheck).
336 2005-11-04 Patrick Lam <plam@mit.edu>
340 * fontconfig/fontconfig.h:
342 Bump version to 2.3.92.
344 2005-11-02 Patrick Lam <plam@mit.edu>
345 * src/fcpat.c (FcPatternDuplicate):
347 Fix argument ordering problem in call to FcPatternTransferFullFname.
349 2005-11-02 Patrick Lam <plam@mit.edu>
350 * src/fcfreetype.c (FcFreetypeQuery):
351 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
352 FcPatternTransferFullFname):
354 Fix warnings and embarrassing double-free error.
356 2005-11-02 Zhe Su <zsu@novell.com>
361 Change the rule for artificial emboldening in fonts.conf.in. This
362 enables the support for artificial emboldening included in cairo.
364 2005-11-02 Patrick Lam <plam@mit.edu>
365 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
367 Don't zero out full names for FC_REF_CONSTANT fonts;
368 also, duplicate full names when transferring, and free
369 full names when freeing the associated font.
370 Reported by Jinghua Luo.
372 2005-11-02 Patrick Lam <plam@mit.edu>
373 * fc-cache/fc-cache.c (scanDirs):
374 * src/fcpat.c (FcValueListSerialize):
376 Revert the previous patch and commit the correct patch:
377 I forgot a canonicalization in FcValueListSerialize, so
378 that it would choke on already-serialized input files. Duh!
380 2005-11-02 Patrick Lam <plam@mit.edu>
381 * fc-cache/fc-cache.c (scanDirs):
383 Forcibly rescan a directory before writing a fresh local
384 cache file for that directory, fixing the losing-fonts
385 problem reported by Mike Fabian and also apparently the
386 font cache file corruption.
388 2005-11-02 Patrick Lam <plam@mit.edu>
389 * src/fccache.c (FcGlobalCacheLoad):
391 Fix thinko: actually, the whole global cache is stale
392 if the global cache is older than the (newest) config file.
394 2005-11-02 Patrick Lam <plam@mit.edu>
395 * src/fccache.c (FcGlobalCacheLoad):
396 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
399 Declare the global cache of a directory's contents to be stale if
400 the directory is newer than the (newest) configuration file.
402 2005-10-31 Patrick Lam <plam@mit.edu>
404 * src/fclist.c (FcListAppend):
405 * src/fcmatch.c (FcFontRenderPrepare):
406 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
407 FcPatternFreeze, FcPatternBaseFreeze):
409 Copy the full pathname whenever duplicating an FcPattern; otherwise,
410 applications continue breaking.
412 2005-10-31 Patrick Lam <plam@mit.edu>
413 * fc-cat/fc-cat.c (FcCacheFileRead, main):
414 * src/fcfreetype.c (FcFreeTypeQuery):
416 Fix small memory error (tried to free argv); use basename and
417 dirname correctly (they can modify their arguments).
419 2005-10-31 Patrick Lam <plam@mit.edu>
427 Reinstate basename patch, but keep a hash table linking FcPatterns
428 to their fully-qualified font names for clients' benefit. Clients
429 only pay for the font names once they request the FC_FILE property
430 from an FcPattern, but the font name is malloc'd at that point (i.e.
431 not mmapped: that's impossible, since it may vary between machines.)
432 Clients do have to pay for a copy of the path name per cache file.
434 Note that FcPatternGetString now does some rewriting if you ask
435 for an FC_FILE, appending the pathname as appropriate.
437 2005-10-31 Patrick Lam <plam@mit.edu>
438 * src/fcfreetype.c (FcFreeTypeQuery):
440 Revert basename patch, which breaks fontconfig clients on my system.
442 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
445 * fontconfig/fonts.conf.in:
446 * fontconfig/fontconfig.h:
450 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
451 to load embedded bitmaps or not.
453 2005-10-25 Patrick Lam <plam@mit.edu>
454 * src/fcfreetype.c (FcFreeTypeQuery):
456 Only add basename to patterns' FC_FILE element, not any part of
459 2005-10-22 Patrick Lam <plam@mit.edu>
462 Add some more consts, fixing more GCC4 warnings.
464 2005-10-22 Zhe Su <zsu@novell.com>
467 Support localized font family and style names.
468 This has been reported to break old apps like xfd, but modern
469 (gtk+/qt/mozilla) apps work fine.
471 2005-10-21 Patrick Lam <plam@mit.edu>
472 * src/fccache.c (FcGlobalCacheLoad):
474 Destroy the global cache file if it's terminally broken. (reported by
477 2005-10-21 Patrick Lam <plam@mit.edu>
478 * fc-list/fc-list.c (main):
479 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
480 * fontconfig/fontconfig.h:
482 Prevent fc-list from escaping strings when printing them (reported by
485 2005-10-20 Marcus Meissner <meissner@suse.de>
488 * fontconfig/fontconfig.h:
490 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
492 2005-10-14 Ross Burton <ross@burtonini.com>
495 * fc-glyphname/fc-glyphname.c:
498 Add consts to variables so as to move arrays into .rodata.
500 2005-10-14 Mike Fabian <mfabian@suse.de>
503 * src/fccache.c (FcDirCacheUnlink):
505 Check existence of directory cache file before attempting to unlink.
507 2005-10-13 Patrick Lam <plam@mit.edu>
508 * src/fccache.c (FcDirCacheUnlink):
510 Fix flipped return value on unlink. (Reported by Mike Fabian)
512 2005-10-12 Patrick Lam <plam@mit.edu>
515 * src/fcdir.c (FcDirScanConfig):
518 When fc-cache is run without --force, use directory cache files
519 to speed up fc-cache run time. (Reported by Mike Fabian)
521 2005-10-06 Patrick Lam <plam@mit.edu>
523 * src/fcname.c (FcObjectToPtr):
524 * src/fcpat.c (FcStrStaticName):
526 Add padding to make valgrind and glibc not hate each other
527 when calling strlen().
529 2005-10-05 Simos Xenitellis <simos74@gmx.net>
530 reviewed by: plam & keithp
534 Modify config file to use Greek fonts before Asian fonts with
537 2005-10-05 Christian Biesinger <cbiesinger@web.de>
538 reviewed by: plam & keithp
542 Use libtool -no-undefined flag on all platforms.
544 2005-10-05 Patrick Lam <plam@mit.edu>
545 * src/fccache.c (FcCacheHaveBank):
547 Implement move-to-front array for banks (perf regression
548 reported by Ronny V. Vindenes).
550 2005-10-04 Patrick Lam <plam@mit.edu>
551 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
552 FcDirCacheHasCurrentArch):
553 * fc-cache/fc-cache.c (scanDirs):
554 * fontconfig/fontconfig.h:
556 Add new API which unlinks directory caches and checks dir caches
557 for existence of appropriate sections. Fix fc-cache to unlink
558 stale cache files and save directory caches that lack relevant
561 2005-10-03 Patrick Lam <plam@mit.edu>
562 * src/fccache.c (FcDirCacheValid):
564 Ensure that a directory cache has the appropriate section
565 before reporting that it is valid (reported by Matthias Clasen).
567 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
575 Use libxml2 if requested (with --enable-libxml2) or if
576 expat is not available.
578 2005-09-29 Patrick Lam <plam@mit.edu>
579 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
581 Fix multi-arch cache files: compute the position for the
582 block to be added using info from OrigFile, not NewFile.
584 2005-09-28 Patrick Lam <plam@mit.edu>
585 * src/fccache.c (FcCacheMachineSignature):
587 Cast results of sizeof() to unsigned int to get rid of
588 warnings on x86_64 (thanks Matthias Clasen).
590 2005-09-27 Patrick Lam <plam@mit.edu>
591 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
594 Use FcAtomic to rewrite cache files.
596 2005-09-27 Patrick Lam <plam@mit.edu>
598 * src/fccache.c (FcDirCacheWrite):
600 Don't unlink the fonts.cache-2 file even if there's no data
601 to write; just write an empty cache file. (thanks Lubos Lunak)
603 2005-09-27 Patrick Lam <plam@mit.edu>
605 * src/fccache.c (FcDirCacheWrite):
607 Allocate room for the subdirectory names in each
608 directory cache. Thanks to James Cloos for finding
609 and diagnosing this bug!
611 2005-09-22 Patrick Lam <plam@mit.edu>
613 * fc-cache/fc-cache.sgml:
614 * src/fccache.c (FcDirCacheWrite):
615 * src/fccache.h (struct FcCache):
617 Update documentation -- fc-cache's man page now says that you
618 need to run fc-cache once per cached architecture; add some
619 documentation to the FcCache structure.
621 Make fc-cache write out fonts.cache-2 files for directories with
622 no fonts (i.e. only subdirectories).
624 2005-09-22 Patrick Lam <plam@mit.edu>
626 * fc-cache/fc-cache.sgml:
628 * fc-glyphname/fc-glyphname.c:
634 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
639 * fontconfig/fcprivate.h:
640 * fontconfig/fontconfig.h:
654 Implement new mmaped cache for font information.
655 Bump so revision to 2.3.90.
657 2005-07-25 Keith Packard <keithp@keithp.com>
659 * doc/fontconfig-user.sgml:
660 * fc-glyphname/fc-glyphname.c: (scan), (main):
661 * fc-lang/fc-lang.c: (FcConfigHome):
662 * fc-match/fc-match.c: (main):
663 * src/fccfg.c: (FcConfigHome):
664 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
665 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
666 (addtag), (FcFontCapabilities):
667 * src/fcpat.c: (FcValueListEntCreate):
668 * src/fcstr.c: (FcStrCaseWalkerInit):
669 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
671 Various GCC 4 cleanups for signed vs unsigned char
673 Match only [0-9]*.conf files in <include>{directory}</include>
674 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
676 2005-07-15 Carl Worth <cworth@cworth.org>
679 * src/fcinit.c: (FcFini):
680 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
683 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
684 Pull the FcObjectStateName hash table out to file scope, and add
685 FcObjectStaticNameFini so that FcFini will cleanup this hash table
688 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
691 2005-06-16 Patrick Lam <plam@MIT.EDU>
695 * src/fccfg.c: (FcConfigCompareValue):
696 Make FcOpNotContains use FcStrStr for strings so that
697 it matches semantics for !FcOpContains.
699 2005-05-20 Keith Packard <keithp@keithp.com>
703 Move fontconfig source package to libs as per override
705 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
707 reviewed by: Mike Fabian
710 The ka.orth file requires several characters which are not
711 used anymore in modern Georgian and which are missing in the free
712 Georgian TrueType fonts downloadable at:
714 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
716 2005-04-27 Keith Packard <keithp@keithp.com>
720 Update date to real 2.3.2 release date.
721 Fix change attributions
723 2005-04-27 Keith Packard <keithp@keithp.com>
726 Bump so revision for 2.3.2
727 * fc-cache/fc-cache.c: (scanDirs):
728 Fix a few minor leaks in error cases.
730 2005-04-23 Keith Packard <keithp@keithp.com>
735 * fontconfig/fontconfig.h:
736 Update for version 2.3.2
738 2005-04-21 Keith Packard <keithp@keithp.com>
740 * debian/fontconfig.postinst:
741 Don't force bitmap font enable in default
742 configuration; allows users to override this in
752 * debian/po/pt_BR.po:
753 * debian/po/templates.pot:
755 * debian/po/zh_CN.po:
758 * fc-cache/fc-cache.c: (main):
759 Destroy font configuration on exit to help valgrind
762 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
763 (FcFreeTypeCheckGlyph):
764 Use own transcoding routines in preference to iconv
765 which appears to have leaks in some translators.
766 Call iconv_close after using iconv (oops).
768 Prefer unicode encoding of Euro char as some
769 fonts mis-encode Euro in other ones.
771 Must fetch bitmap glyphs to get width values
772 to check for monospace/dual-width fonts.
774 2005-04-13 Ross Burton <ross@burtonini.com>
777 Check that a pattern isn't already frozen in FcPatternFreeze.
779 2005-03-31 Ross Burton <ross@burtonini.com>
784 Run all FcPattern objects through FcObjectStaticName, so that
785 compares can be done on pointers instead of strings (#2659)
787 2005-03-17 Tor Lillqvist <tml@novell.com>
789 * src/fontconfig.def.in: Add the .dll to the dll name.
791 2005-03-10 Keith Packard <keithp@keithp.com>
793 * debian/README.Debian:
794 Update to reflect configuration changes
796 * debian/fontconfig.postinst:
797 Fix Autohint vs Autohinter mistake
798 * debian/fontconfig.templates:
799 Adopt changes from Josselin Mouette for configuration descriptions
800 Update debian to version 2.3.1-2
802 2005-03-08 Keith Packard <keithp@keithp.com>
806 Update debian for 2.3.1
808 2005-03-09 Tor Lillqvist <tml@novell.com>
810 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
813 * src/fccfg.c (FcConfigFileExists): Check also drive letter
816 2005-03-08 Keith Packard <keithp@keithp.com>
820 * fontconfig/fontconfig.h:
823 2005-03-05 Keith Packard <keithp@keithp.com>
825 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
826 Include space and remove numbers from valid script tags.
827 This ensures that tags like 'lao ' work while rejecting
828 those which have any digits.
829 Eliminate a spurious debugging variable (len)
831 2005-03-05 Keith Packard <keithp@keithp.com>
833 * src/fcfreetype.c: (addtag), (GetScriptTags),
834 (FcFontCapabilities):
835 Rework GSUB/GPOS script parsing to survive broken fonts.
836 Thanks for the broken font go to Manish Singh
838 2005-03-05 Keith Packard <keithp@keithp.com>
843 * debian/fontconfig.config:
844 * debian/fontconfig.templates:
846 Include 2.3 release information in changelog
847 Add Josselin Mouette as an Uploader
848 Set hinting_type to low priority configuration option
851 * debian/fontconfig.postinst:
852 yes_bitmaps.conf -> yes-bitmaps.conf
858 2005-03-02 Keith Packard <keithp@keithp.com>
861 * conf.d/Makefile.am:
862 * conf.d/autohint.conf:
863 * conf.d/no-sub-pixel.conf:
864 * conf.d/sub-pixel.conf:
865 * conf.d/unhinted.conf:
866 * debian/autohint.conf:
867 * debian/fontconfig.install:
868 * debian/fontconfig.postinst:
869 * debian/fontconfig.templates:
870 * debian/no-sub-pixel.conf:
871 * debian/unhinted.conf:
872 Move debian-specific conf file examples upstream.
874 Sub-pixel configuration examples must smash subpixel value
875 as Xft always sets it from X.
877 Change sub-pixel rendering debconf descriptions from
878 Enable/Disable to Always/Never.
880 2005-03-02 Keith Packard <keithp@keithp.com>
885 Ignore more build detritus
888 Add debian package construction stuff.
890 * config/config.guess:
892 Update to newer versions of these tools
895 Get library manuals to build again (we love automake).
897 * debian/README.Debian:
898 * debian/autohint.conf:
903 * debian/fontconfig-udeb.install:
904 * debian/fontconfig.config:
905 * debian/fontconfig.defoma:
906 * debian/fontconfig.dirs:
907 * debian/fontconfig.install:
908 * debian/fontconfig.postinst:
909 * debian/fontconfig.postrm:
910 * debian/fontconfig.templates:
911 * debian/libfontconfig1-dev.install:
912 * debian/libfontconfig1.install:
913 * debian/local.conf.md5sum:
914 * debian/no-sub-pixel.conf:
915 * debian/po/POTFILES.in:
924 * debian/po/pt_BR.po:
925 * debian/po/templates.pot:
927 * debian/po/zh_CN.po:
929 * debian/unhinted.conf:
930 Update debian build system to switch maintainers and
931 deal with 2.3 functionality
933 2005-03-01 Keith Packard <keithp@keithp.com>
937 * fontconfig/fontconfig.h:
940 2005-03-01 Keith Packard <keithp@keithp.com>
943 Generate and install PDF versions of the manuals
945 * doc/fcpattern.fncs:
949 Add missing exported functions, fix data types
951 * doc/fontconfig-devel.sgml:
952 Add missing pattern elements.
954 * doc/fontconfig-user.sgml:
955 Add missing pattern elements. Document conf.d usage,
956 clarify available orthography list. Fix some config file
957 attributes. Complete list of constants.
959 * fontconfig/fontconfig.h:
960 Mark FC_SOURCE deprecated.
962 * src/fcfreetype.c: (FcFreeTypeQuery):
963 Don't set FC_SOURCE any longer.
965 2005-02-28 Keith Packard <keithp@keithp.com>
968 * conf.d/Makefile.am:
970 * conf.d/no-bitmaps.conf:
971 * conf.d/sub-pixel.conf:
972 * conf.d/yes-bitmaps.conf:
974 Create prototype /etc/fonts/conf.d directory with a few
975 sample configuration files.
976 Deprecate use of local.conf for local customizations in favor of
977 this directory based scheme which is more easily integrated into
978 installation systems.
981 Tag FC_EMBOLDEN as a boolean variable
983 2005-02-10 Keith Packard <keithp@keithp.com>
985 reviewed by: pborelli@katamail.com
987 * src/fcdir.c: (FcFileScanConfig):
988 Free patterns from fonts which are rejected by configuration
991 2005-01-28 Keith Packard <keithp@keithp.com>
995 * fontconfig/fontconfig.h:
996 Update for version 2.2.99
998 2005-01-28 Keith Packard <keithp@keithp.com>
1001 Add a few pointers (#2284, #2285)
1003 2005-01-28 Keith Packard <keithp@keithp.com>
1006 * src/fcname.c: (FcNameBool):
1007 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1008 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1009 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1010 Polite typechecking for test and edit expressions. Helps
1011 catch errors in the font configuration. (bug 229)
1013 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1015 reviewed by: Keith Packard <keithp@keithp.com>
1018 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1020 2005-01-13 Keith Packard <keithp@keithp.com>
1022 * doc/fontconfig-user.sgml:
1023 Add SEE ALSO section (bug 2085)
1025 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1027 reviewed by: Keith Packard <keithp@keithp.com>
1032 * fc-case/Makefile.am:
1033 * fc-glyphname/Makefile.am:
1034 * fc-lang/Makefile.am:
1035 * src/fontconfig.def.in:
1036 Cross compiling fixes (bug 280)
1038 2005-01-13 Keith Packard <keithp@keithp.com>
1041 Update blanks list (Closes bug 86)
1043 2005-01-04 Keith Packard <keithp@keithp.com>
1045 * src/fccache.c: (FcCacheFontSetAdd):
1046 Verify that every font pattern loaded from cache has
1047 both FC_FILE and FC_FAMILY entries.
1048 Attempt to fix bug #2219.
1050 2004-12-29 Keith Packard <keithp@keithp.com>
1054 * fontconfig/fontconfig.h:
1055 Update for version 2.2.98
1057 2004-12-29 Keith Packard <keithp@keithp.com>
1059 * fontconfig/fontconfig.h:
1060 Document ASCII limitations of Fc character conversion macros
1061 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1062 Fix off-by-one error in utf-8 case walking code.
1063 Add FcStrDowncase (useful for testing case conversion functions)
1065 2004-12-29 Keith Packard <keithp@keithp.com>
1068 * fc-case/.cvsignore:
1069 clean up CVS ignore lists
1070 * fc-lang/iso-3166.txt:
1071 Add territory database
1073 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1075 Reviewed by: Keith Packard
1078 Remove Han characters from Korean orthography
1080 2004-12-29 Keith Packard <keithp@keithp.com>
1083 Reorder utility programs to make sure fc-case is run before fc-lang
1084 as fc-lang uses fcstr.c which uses fccase.h
1088 2004-12-29 Keith Packard <keithp@keithp.com>
1091 Adopt some RedHat suggestions for standard font configuration.
1095 * fc-case/CaseFolding.txt:
1096 * fc-case/Makefile.am:
1097 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1098 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1099 (dump), (parseRaw), (caseFoldReadRaw), (main):
1100 * fc-case/fccase.tmpl.h:
1101 Add new helper program 'fc-case' to construct case folding
1102 tables from standard Unicode CaseFolding.txt file
1105 * src/fclist.c: (FcListValueHash):
1106 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1107 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1108 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1109 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1110 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1111 Re-implement case insensitive functions with Unicode
1112 aware versions (including full case folding mappings)
1114 2004-12-13 Keith Packard <keithp@keithp.com>
1116 reviewed by: Owen Taylor <otaylor@redhat.com>
1118 * src/fcmatch.c: (FcFontSetSort):
1119 I changed FcFontSetSort to respect the generic aliases better
1120 in the face of language matching.
1122 What I did was to ammend the strict sort order used by FcFontSort so
1123 that it 'satisfies' the language specified in the pattern by locating
1124 the best matching font supporting each pattern language and then
1125 ignores language in the remaining fonts for purposes of matching.
1127 So, when asking for 'sans:lang=en', you'll get an English font first,
1128 and then the remaining fonts sorted with respect to the 'sans' alias
1129 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1131 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1133 reviewed by: Keith Packard <keithp@keithp.com>
1135 * fontconfig/fontconfig.h:
1138 Configuration changes to request synthetic emboldening of
1139 fonts. The actual emboldening code will live in Xft.
1141 2004-12-09 John Thacker <thacker@math.cornell.edu>
1143 reviewed by: Keith Packard <keithp@keithp.com>
1147 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1148 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1149 и), and don't even appear in KOI8-R. (The hypothesis that they
1150 don't appear in KOI8-R due to their similarity with Latin I and i is
1151 eliminated by their presence in KOI8-U.) I have a couple of fonts
1152 with Russian support that don't have the letter.
1154 Therefore, 0406 and 0456 should be removed from or commented out of
1157 2004-12-06 michael meeks <mmeeks@novell.com>
1159 Reviewed by: Keith Packard <keithp@keithp.com>
1161 * src/fcinit.c: (FcMemReport):
1163 * src/fclist.c: (FcObjectSetAdd):
1164 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1165 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1166 * src/fcxml.c: (FcParsePatelt):
1167 memoize strings and share a single copy for all uses. Note that
1168 this could be improved further by using statically allocated blocks
1169 and gluing multiple strings together, but I'm basically lazy.
1170 In my environment with 800 font files, I get a savings of about 90KB.
1172 2004-12-06 Keith Packard <keithp@keithp.com>
1176 * config/Makedefs.in:
1179 * doc/fcatomic.fncs:
1180 * doc/fcblanks.fncs:
1181 * doc/fccharset.fncs:
1182 * doc/fcconfig.fncs:
1183 * doc/fcconstant.fncs:
1185 * doc/fcfontset.fncs:
1186 * doc/fcfreetype.fncs:
1188 * doc/fcmatrix.fncs:
1189 * doc/fcobjectset.fncs:
1190 * doc/fcobjecttype.fncs:
1191 * doc/fcpattern.fncs:
1192 * doc/fcstring.fncs:
1193 * doc/fcstrset.fncs:
1195 * doc/fontconfig-devel.sgml:
1196 * doc/fontconfig-user.sgml:
1198 * doc/version.sgml.in:
1199 * fc-cache/Makefile.am:
1200 * fc-cache/fc-cache.c:
1201 * fc-glyphname/Makefile.am:
1202 * fc-glyphname/fc-glyphname.c:
1203 * fc-glyphname/fcglyphname.tmpl.h:
1204 * fc-lang/Makefile.am:
1214 * fc-lang/az_ir.orth:
1248 * fc-lang/fc-lang.c:
1249 * fc-lang/fc-lang.man:
1250 * fc-lang/fclang.tmpl.h:
1295 * fc-lang/ku_ir.orth:
1328 * fc-lang/ps_af.orth:
1329 * fc-lang/ps_pk.orth:
1358 * fc-lang/ti_er.orth:
1359 * fc-lang/ti_et.orth:
1385 * fc-lang/zh_cn.orth:
1386 * fc-lang/zh_hk.orth:
1387 * fc-lang/zh_mo.orth:
1388 * fc-lang/zh_sg.orth:
1389 * fc-lang/zh_tw.orth:
1391 * fc-list/Makefile.am:
1392 * fc-list/fc-list.c:
1393 * fc-match/Makefile.am:
1394 * fc-match/fc-match.1:
1395 * fc-match/fc-match.c:
1396 * fontconfig/fcfreetype.h:
1397 * fontconfig/fcprivate.h:
1398 * fontconfig/fontconfig.h:
1419 Change files from ISO-Latin-1 to UTF-8
1421 2004-12-04 Keith Packard <keithp@keithp.com>
1424 Update links to new freedesktop.org locations
1426 Add uninstall-local to get rid of fonts.conf and local.conf if they
1427 match the distributed versions. Fixes 'make distcheck'
1429 2004-12-04 Keith Packard <keithp@keithp.com>
1433 * fontconfig/fontconfig.h:
1434 Updates for version 2.2.97
1436 2004-12-04 Owen Taylor <otaylor@redhat.com>
1438 reviewed by: Keith Packard <keithp@keithp.com>
1440 * fc-cache/fc-cache.c: (main):
1441 Sleep for two seconds before exiting to make sure timestamps
1442 for future changes have distinct mod times in the file system.
1445 Add Punjabi orthography. Bug #1671.
1447 2004-12-04 Keith Packard <keithp@keithp.com>
1450 Just remove the FC_FONTDATE -- it has locale issues and
1451 annoys redhat multi-arch installs. Now that all X fonts are
1452 included without prejudice, the chances of the date being at
1453 all interesting are rather limited. Bug #505.
1455 Add copyright and license
1457 2004-12-04 Keith Packard <keithp@keithp.com>
1460 Change default set of fonts to include all of
1461 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1462 * doc/fontconfig-user.sgml:
1463 Document new <include>directory-name</include> semantics
1465 add <include ignore_missing="yes">conf.d</include>
1467 Add selectfont to ignore bitmap fonts, add comment for
1468 selectfont which accepts bitmap fonts.
1471 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1472 Allow <include> configuration elements to reference directories.
1473 Parse and load all files of the form [0-9]* in sorted order.
1475 2004-12-04 Keith Packard <keithp@keithp.com>
1478 Report command line for $srcdir/configure accurately.
1481 2004-12-04 Keith Packard <keithp@keithp.com>
1483 * src/fcfreetype.c: (FcFreeTypeQuery):
1484 Check for non-empty face->family_name and face->style_name
1485 before using those for the font. Empty names match everything.
1488 2004-12-04 Keith Packard <keithp@keithp.com>
1491 * fontconfig/fontconfig.h:
1492 * src/fcfreetype.c: (FcFreeTypeQuery):
1494 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1495 available. This provides font file format information (BDF, Type 1,
1496 PCF, TrueType) for each font. Closes #109.
1498 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1500 reviewed by: Keith Packard <keithp@keithp.com>
1502 * doc/fontconfig-user.sgml:
1505 * fontconfig/fontconfig.h:
1506 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1507 (GetScriptTags), (FcFontCapabilities):
1509 Add detection for font capabilities (bug #105)
1511 2004-12-04 Keith Packard <keithp@keithp.com>
1514 Move existing fonts.conf to fonts.conf.bak
1517 Add detection of iconv
1519 * doc/fcpattern.fncs:
1520 * doc/fontconfig-devel.sgml:
1521 * doc/fontconfig-user.sgml:
1523 Document new selectfont elements
1526 Switch to UTF-8 in comment
1528 * fontconfig/fontconfig.h:
1530 Add fullname, and family/style/fullname language entries
1532 * src/fccache.c: (FcCacheFontSetAdd):
1533 * src/fcdir.c: (FcFileScanConfig):
1534 Respect selectfont/*/glob
1537 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1538 (FcConfigCompareValue), (FcConfigPatternsAdd),
1539 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1540 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1541 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1542 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1543 Add support for selectfont
1545 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1546 (FcStringInPatternElement), (FcFreeTypeQuery):
1547 Add multi-lingual family/style/fullname support
1549 * src/fclist.c: (FcListPatternMatchAny):
1550 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1552 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1553 (FcObjectStaticName):
1554 Add new FcPatternRemove/FcPatternAppend.
1555 FcObjectStaticName stores computed pattern element names which
1556 are required to be static.
1558 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1563 Remove spurious / after $(DESTDIR)
1565 2004-06-30 Keith Packard <keithp@keithp.com>
1569 * fontconfig/fontconfig.h:
1572 2004-06-30 Keith Packard <keithp@keithp.com>
1574 Provided by: Lubos Lunak <l.lunak@suse.cz>
1576 * src/fccfg.c: (FcConfigUptoDate):
1577 However FcConfigUptoDate() doesn't seem to work. See the attached
1578 patch. First there's an obvious misplaced parenthesis making it
1579 return always false, and second, even this call fails to detect font
1580 changes (e.g. adding a new font to
1581 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1582 well. The problem seems to be triggered by my fonts.conf specifying
1583 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1584 doesn't include subdirs, unlike config->fontDirs.
1586 2004-06-03 Keith Packard <keithp@keithp.com>
1588 * fontconfig/fontconfig.h:
1589 Remove comma at end of FcResult enum definition.
1591 2004-05-29 Keith Packard <keithp@keithp.com>
1594 Add steps to md5sum release
1596 2004-05-29 Keith Packard <keithp@keithp.com>
1600 * fontconfig/fontconfig.h:
1603 2004-05-29 Keith Packard <keithp@keithp.com>
1605 * fontconfig/fontconfig.h:
1606 * src/fcmatch.c: (FcFontSetMatch):
1607 Add FcResultOutOfMemory to provide an accurate error when
1608 FcFontSetMatch fails in this way
1611 Make #warning about lacking various FreeType features indicate
1612 which version those features appeared so users know how to
1613 fix the problem (Thanks to Anton Tropashko)
1615 2004-05-05 Keith Packard <keithp@keithp.com>
1617 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1618 Replace MIN/MAX/ABS macros which happen to have come
1619 from FreeType with fontconfig-specific ones (FC_*)
1621 2004-04-23 Keith Packard <keithp@keithp.com>
1624 Extend release preparation instructions to include
1625 notification and distribution steps
1627 2004-04-23 Keith Packard <keithp@keithp.com>
1631 * fontconfig/fontconfig.h:
1632 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1634 2004-04-23 Keith Packard <keithp@keithp.com>
1637 Ignore a few more autotool files
1639 2004-04-14 Keith Packard <keithp@keithp.com>
1642 Add instructions for doing a release
1644 * fontconfig.spec.in:
1645 clean up .spec file; perhaps this will be useful to somebody...
1649 * fontconfig/fontconfig.h:
1652 * fc-lang/fc-lang.c:
1653 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1655 * fc-glyphname/Makefile.am:
1656 * fc-lang/Makefile.am:
1657 * fc-list/Makefile.am:
1658 * fc-match/Makefile.am:
1660 Add WARN_CFLAGS to pass -W flags for GCC systems
1662 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1663 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1664 Change various char types around to match across
1666 Fixed bug in using available_sizes[i].height which
1667 is in pixels, not 64ths of a pixel.
1669 2004-03-06 Keith Packard <keithp@keithp.com>
1671 * src/fcfreetype.c: (FcFreeTypeQuery):
1672 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1673 matches looking for explicit values prefer exact matches
1675 2004-03-02 Keith Packard <keithp@keithp.com>
1677 Supplied by: mfabian@suse.de (Mike FABIAN)
1679 * src/fcfreetype.c: (FcFreeTypeQuery):
1680 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1681 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1683 2004-02-21 Manish Singh <yosh@gimp.org>
1685 * fc-glyphname/fc-glyphname.c: (main):
1686 Cast strlen to int for printf, so we're 64-bit clean.
1688 2004-02-11 Keith Packard <keithp@keithp.com>
1691 * src/fcfreetype.c: (FcGetPixelSize):
1692 Ok, so I messed up the test for y_ppem. Let's see if I
1693 got it right this time.
1695 2004-02-10 Keith Packard <keithp@keithp.com>
1698 * src/fcfreetype.c: (FcGetPixelSize):
1699 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1700 FT_Bitmap_Size record. Add a configure.in test for this
1701 and change the code accordingly (using height instead).
1703 2004-02-06 Keith Packard <keithp@keithp.com>
1706 Add Low Saxon orthography
1707 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1709 * src/fccfg.c: (FcConfigNewestFile):
1710 Oops. Left 'newest.set' unset, which would miscompute
1713 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1714 (FcFreeTypeCheckGlyph):
1715 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1716 font properties (which report the wrong value in current FreeType)
1718 Don't attempt to check for empty glyphs in non-scalable fonts; they
1721 2004-02-01 Tor Lillqvist <tml@iki.fi>
1723 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1724 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1725 cache if config->cache is NULL, which happens if FcConfigHome() is
1726 NULL. Guard against that by using the temp folder in that case.
1728 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1730 * fc-lang/az_ir.orth:
1731 * fc-lang/ku_ir.orth:
1732 * fc-lang/ps_af.orth:
1733 * fc-lang/ps_pk.orth:
1734 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1735 (Afghan and Pakistani).
1737 Updated Urdu orthography with real data.
1739 2003-12-11 Carl Worth <cworth@east.isi.edu>
1741 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1744 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1746 (all-local): Remove excessive whitespace.
1748 * autogen.sh: Add 'set -e' to abort when any program fails,
1749 (avoids printing of 'now type make' after configure aborts).
1751 2003-11-17 Eric Christopherson <rakko@charter.net>
1753 reviewed by: Keith Packard <keithp@keithp.com>
1756 * fontconfig/fcfreetype.h:
1758 Switch to FreeType 2.1.7 style includes. Bug #150.
1760 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1762 * fc-list/fc-list.sgml: Add some example usages.
1764 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1767 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1770 2003-10-27 Keith Packard <keith@keithp.com>
1773 * fontconfig/fontconfig.h:
1774 Update to version 2.2.92
1776 2003-10-27 Keith Packard <keithp@keithp.com>
1781 * fc-cache/Makefile.am:
1782 * fc-glyphname/Makefile.am:
1783 * fc-lang/Makefile.am:
1784 * fc-list/Makefile.am:
1785 * fc-match/Makefile.am:
1788 Yet more cleanups to finish getting 'make distcheck' working
1789 This has been tested to ensure that it even works from a _build
1792 2003-10-26 Keith Packard <keithp@keithp.com>
1796 * fc-cache/Makefile.am:
1797 * fc-glyphname/Makefile.am:
1798 * fc-lang/Makefile.am:
1799 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1800 * fc-list/Makefile.am:
1801 * fc-match/Makefile.am:
1802 Attempts to fix 'make distcheck' work. Things are
1803 progressing pretty well, but there are still failures
1804 long into the process dealing with docs (as always).
1806 The big changes here are mostly to make $(srcdir) != "."
1807 work correctly, fixing the docbook related sections and
1808 fc-lang were particularily tricky. Docbook refuses to load
1809 system entities from anywhere other than where the original .sgml
1810 file was located, so no luck looking in "." for the
1811 configure-generated version.sgml and confdir.sgml files.
1813 fc-lang needed help finding .orth files; added a -d option
1814 to set the directory as the least evil of many options.
1816 Now to go use a faster machine and try and wring out the last
1819 2003-10-26 Keith Packard <keithp@keithp.com>
1823 2003-10-26 Keith Packard <keithp@keithp.com>
1826 Include confdir.sgml.in in EXTRA_DIST
1828 2003-10-09 Josselin Mouette <joss@debian.org>
1830 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1831 * fc-list/fc-list.sgml fc-list/Makefile.am:
1832 Replace fc-cache and fc-list manpages with more detailed, SGML
1835 2003-09-23 Owen Taylor <otaylor@redhat.com>
1837 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1838 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1839 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1842 2003-09-23 Owen Taylor <otaylor@redhat.com>
1844 * fc-lang/ka.orth: Remove Georgian capitals, they
1845 aren't used for normal writing. (Bug #116)
1847 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1849 * doc/fontconfig-devel.sgml:
1850 * doc/fontconfig-user.sgml:
1851 * fontconfig/fontconfig.h:
1853 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1854 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1856 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1857 monospace and dual-width fonts, allow roughly a 3% variance in the
1860 2003-08-31 Manish Singh <yosh@gimp.org>
1862 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1865 2003-08-15 Carl Worth <cworth@isi.edu>
1867 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1868 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1870 * src/fcpat.c (FcValueListEntDestroy): New function to support
1871 FcFini memory cleanup. Some statistics are not kept in
1873 (FcValueListFreeze): Move hashTable outside this function so it
1874 can be accessed by FcValueListThawAll.
1875 (FcValueListThawAll): New function complements FcValueListFreeze.
1876 (FcPatternBaseFreeze): Move hashTable outside this function so it
1877 can be accessed by FcPatternBaseThawAll.
1878 (FcPatternBaseThawAll): New function complements
1879 FcPatternBaseFreeze.
1880 (FcPatternThawAll): New function complements FcPatternFreeze.
1882 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1884 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1885 allocated FcCharLeafEnt "blocks" so they can be freed later.
1886 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1887 can be accessed by FcCharSetThawAllLeaf.
1888 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1889 (FcCharSetFreezeBase): Move hashTable outside this function so it
1890 can be accessed by FcCharSetThawAll.
1891 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1893 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1894 (FcConfigDestroy): Fic leak of FcBlanks.
1896 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1897 (main): Add call to FcFini when finished.
1899 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1900 static. Add prototypes.
1902 * doc/fcinit.fncs: Add documentation for FcFini function.
1904 * doc/edit-sgml.c: Mark several local functions as static. Add
1907 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1909 2003-06-15 Tor Lillqvist <tml@iki.fi>
1911 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1912 before comparing (needed on Windows).
1914 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1916 2003-06-13 Tor Lillqvist <tml@iki.fi>
1918 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1921 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1922 WINDOWSFONTDIR token.
1924 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1925 end, not to confuse libtool, which expects the EXPORTS line to be
1926 the first. Add FcConfigEnableHome.
1928 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1929 built as a DLL on Win32.
1931 2003-06-09 Keith Packard <keithp@keithp.com>
1933 * Tag version 2.2.90
1935 2003-06-09 Keith Packard <keithp@keithp.com>
1937 * Optimization in FcLangSetIndex was broken, occasionally
1938 returning a pointer to the wrong location on miss
1940 * Add fc-match to test font matching from the command line.
1942 2003-05-31 Keith Packard <keithp@keithp.com>
1944 * (Bug 85) add support for culmus fonts
1945 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1946 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1948 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1950 * Fix "contains" op for strings and langsets.
1952 2003-05-17 Keith Packard <keithp@keithp.com>
1954 * Fix build error with BDF prop local. Free langset after query
1956 2003-05-14 Keith Packard <keithp@keithp.com>
1958 * Extract spacing from XLFD atom
1960 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1962 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1963 disappeared in 1.30.
1965 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1967 2003-05-12 Keith Packard <keithp@keithp.com>
1969 * Use FcIsWidth to share code
1971 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1972 misclassifying some Han fonts as monospaced.
1974 2003-05-07 Keith Packard <keithp@keithp.com>
1976 * Add filename-based accept/reject to ammend available fonts.
1978 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1979 older FreeType releases.
1981 2003-05-06 Keith Packard <keithp@keithp.com>
1983 * Remove 0b82 and Tamil numbers from tamil
1984 orthography (Jungshik Shin <jshin@mailaps.org>)
1986 2003-05-04 Keith Packard <keithp@keithp.com>
1988 + Map glyph names in fonts with adobe custom encoding to unicode
1990 2003-05-02 Keith Packard <keithp@keithp.com>
1992 * Add FC_WEIGHT_BOOK as weight 75
1994 2003-04-30 Keith Packard <keithp@keithp.com>
1996 * Typo in bitstream foundry name
1998 2003-04-24 Keith Packard <keithp@keithp.com>
2000 * Eliminate italic_angle check for PS fonts
2002 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2004 * Getting closer to fixing /etc/fonts hard-coding.
2006 2003-04-22 Keith Packard <keithp@keithp.com>
2008 * Update autogen.sh to work with newer automake versions
2009 * Handle pattern elements moving during multiple edits
2011 2003-04-23 James Henstridge <james@daa.com.au>
2013 * doc/fontconfig-devel.sgml: close the <para> element.
2015 * doc/fcpattern.fncs: close the <para> element.
2017 * doc/func.sgml: close the <refsynopsisdiv> element.
2019 2003-04-22 Keith Packard <keithp@keithp.com
2021 * Update autogen.sh to work with newer automake versions
2022 * Handle pattern elements moving during multiple edits
2024 2003-04-17 Colin Walters <walters@debian.org>
2026 + Remove some unused variables, and initialize some other ones so
2027 gcc doesn't warn us.
2029 2003-04-16 Keith Packard <keithp@keithp.com>
2031 + tag version 2.1.94
2033 2003-04-16 Keith Packard <keithp@keithp.com>
2035 + add BDF property fetching support for foundry
2036 (from Juliusz Chroboczek)
2037 + add BDF property fetching support for width
2039 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2041 + Implemented foundry generation for Type 1 and TrueType
2043 2003-04-11 Gerard Escalante <g2@magestudios.net>
2045 + Retrieve information from Type1 FontInfo dictionaries
2047 2003-04-07 Colin Walters <walters@verbum.org>
2049 + src/Makefile.am: Fix dummy makefile target names when
2050 MS_LIB_AVAILABLE isn't set.
2052 2003-03-22 Tor Lillqvist <tml@iki.fi>
2054 Changes for Windows:
2056 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2058 + We don't want to hardcode the fonts.conf file location in the
2059 DLL, so we look up the DLL location at run-time in a DllMain()
2060 function. The fonts.conf location is deduced from that.
2062 + The colon can't be used as path separator on Windows,
2063 semicolon is used instead. File path components can be separated
2064 with either slash or backslash. Absolute paths can also begin
2065 with a drive letter.
2067 + Add internal function FcStrLastSlash that strrchr's the last
2068 slash, or backslash on Windows.
2070 + There is no link() on Windows. For atomicity checks, mkdir a
2071 lock directory instead.
2073 + In addition to HOME, also look for USERPROFILE.
2075 + Recognize the special font directory token WINDOWSFONTDIR, to
2076 use the system's font directory.
2078 + Remove the fontconfig-def.cpp that was obsolete. Add
2079 fontconfig.def(.in), without internal functions.
2081 + Add a fontconfig-zip(.in) script, used to build a binary
2084 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2085 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2086 to main package and man3/* to devel package
2088 + Added missing defattr(-, root, root) to main RPM package
2090 + Added HTML and text development documentation to -devel subpackage
2092 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2093 + Added back the configure macro options --disable-docs, otherwise
2094 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2095 version number) unconditionally, causing RPM to fail the build due
2096 to _unpackaged_files_terminate_build. We pick up the pregenerated
2097 docs with %doc already.
2099 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2100 + Removed commented out rpm macro define at top of spec file,
2101 replacing it with a simple explanation, since rpm macros are
2102 expanded by rpm even in comments.
2104 + Changed /usr/bin to _bindir in BuildRequires lines
2106 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2108 + Reorganized file manifest lists
2110 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2112 + fontconfig.spec.in: Improvements from Red Hat spec file.
2114 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2116 + docs/*.sgml: SGML fixes.
2118 Sat Mar 1 17:28:53 PST 2003 keithp
2119 + Ok, so the ChangeLog is a bit out of date
2121 + Lots of bugs fixed; most are in bugzilla, the
2122 biggest problems were in cache management where
2123 Owen discovered the library would lose badly when
2124 combining fonts-cache and ~/.fonts-cache data
2126 + Converted from autoconf to automake. This after
2127 getting patches accepted into libtool to allow
2128 the '-version-number' argument which lets
2129 packages set version numbers explicitly rather
2130 than the roundabout libtool way
2132 + Converted documentation to SGML using the docbook
2133 DTD. Now .txt and .html documents are installed
2134 in /usr/share/doc/fontconfig and there's no
2135 man page. Perhaps a man version can be written
2138 Sat Aug 31 15:21:22 PDT 2002 keithp
2139 + Xrender and Xft had several bugs related to
2140 rendering manually placed or poly-face text
2142 + Added more complete memory tracing in fontconfig
2143 Checked with (patched) mozilla and found no leaks
2145 + Updated Latin orthographies by comparing those from
2146 evertype.com with those from eki.ee. Tried to make
2147 sensible choices, including chars that occured in both
2148 and leaving some optional chars out that occured only
2151 Mon Aug 26 16:33:04 PDT 2002 keithp
2152 + Owen discovered that FcLangSetHasLang wasn't actually
2153 checking the language set.
2155 Mon Aug 26 13:37:23 PDT 2002 keithp
2156 + Append a version number to cache filenames
2158 Thu Aug 22 11:36:18 PDT 2002 keithp
2160 + Add "contains" and "not_contains" operators and elements to
2163 + Changed semantics of eq operator for LangSets to check for
2164 FcLangEqual so that any match will do
2166 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2167 of FcValueEqual to check for identical values when inserting into
2168 the results. This broke when the above semantic change was made,
2169 now it uses FcValueEqual which is "more correct" in any case.
2171 Thu Aug 22 00:32:29 PDT 2002 keithp
2173 + Reimplement FC_LANG as new datatype. Lists of strings
2174 was consuming over a megabyte of memory for 401 fonts.
2176 + Freeze patterns loaded from cache files. This shares
2177 common value lists and common patterns which saves
2178 considerable memory.
2180 + Change the denotation of 'constant' charsets to use special
2181 ref value instead of separate boolean.
2183 + Clean up leak tracing stuff, found several unannoted alloc/free
2186 Tue Aug 20 16:17:37 PDT 2002 keithp
2188 + Fix memory leak when parsing matrices from XML
2190 Mon Aug 19 11:57:27 PDT 2002 keithp
2192 + Fix autoconf files to pass FONTCONFIG_PATH on
2193 compile line so that ${prefix} gets substituted
2196 + Use getc_unlocked/putc_unlocked on systems that
2197 provide them to avoid damage done to stdio by posix
2199 + Eliminate FC_PATTERN and FcTypePattern in favor of
2200 an extended api for FcConfigSubstitute which takes
2201 both the font and the pattern.
2203 + Add 'sans serif' alias for 'sans-serif' as some apps
2204 can't handle hyphens in family names
2206 + Eliminate pretense of support for libxml2
2208 + Comment origins of Han orthographies
2210 Tue Jul 30 18:37:09 PDT 2002 keithp
2212 + Add binding property to edit element so that strong
2213 binding values may be inserted by the config file.
2214 The default remains weak.
2216 Sun 28 Jul 04:16:55 PDT 2002 keithp
2218 + Tagged release candidate 1 in the CVS tree and
2219 placed fcpackage.rc1.tar.gz for distribution
2221 Thu Aug 1 08:55:08 PDT 2002 keithp
2223 + Fixed autoconf builds to always specify install
2224 target files (for BSD). Also fixed to
2225 define FONTCONFIG_PATH in config.h so that
2226 nonstandard installs will actually work.