1 2005-11-25 Dirk Mueller <dmueller@suse.com>
6 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
8 2005-11-25 Patrick Lam <plam@mit.edu>
10 * src/fccache.c (FcDirCacheConsume):
11 * src/fccharset.c (FcCharSetUnserialize):
12 * src/fcfs.c (FcFontSetUnserialize):
13 * src/fclang.c (FcLangSetUnserialize):
14 * src/fcname.c (FcObjectUnserialize):
15 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
16 FcPatternUnserialize):
18 Pass around FcCache *s to the Unserialize functions for extra
19 consistency (and less overhead, for what that's worth).
21 2005-11-24 Dirk Mueller <dmueller@suse.com>
25 * src/fcmatch.c (FcCompare*, FcFontSetSort):
26 * src/fcname.c (FcNameUnparseValue):
28 Inline the *PtrU functions to gain perf.
29 Remove unneeded params for the FcCompare* functions.
31 2005-11-24 Dirk Mueller <dmueller@suse.com>
34 * src/fcint.h, fontconfig/fontconfig.h:
36 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
38 * src/fcpat.c, src/fcint.h, src/fcname.c:
40 Check for type validity during FcPatternAddWithBinding, don't
41 verify type in FcFontMatch, don't call FcCanonicalize here
42 (which always does a deep copy).
44 2005-11-24 Dirk Mueller <dmueller@suse.com>
47 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
48 * src/fcpat.c (FcPatternAddWithBinding):
50 Make FcCompareString and FcCompareFamily less expensive.
51 Only add a value for FC_FAMILY if the proposed value is a string.
53 2005-11-24 Dirk Mueller <dmueller@suse.com>
56 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
57 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
58 * src/fcint.h (FcDebug):
60 Inline FcDebug invocations and only initialize once, in FcInit*.
61 Improve debug msg in FcPatternPrint.
63 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
66 * fontconfig/fontconfig.h:
69 Minor code warning cleanups.
71 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
74 * fc-match/fc-match.c (main):
76 Make getopt_long accept -s parameter to fc-match as well.
78 2005-11-21 Dirk Mueller <dmueller@suse.com>
81 * src/fcmatch.c (FcCompareValueList):
83 Manually perform inlining & partial redundancy elimination to
84 reduce calls to FcValueListPtrU.
86 2005-11-21 Dirk Mueller <dmueller@suse.com>
89 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
90 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
92 Only invoke strlen() when really necessary.
94 2005-11-19 Matthias Clasen <mclasen@redhat.com>
98 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
103 Get rid of the use of freetype internal headers in fcfreetype.c,
104 since those headers will go away with freetype 2.2. Replace with
105 public domain ftglue code from pango. Note that the patch removes
106 some extra error checking in FT_Get_BDF_Property() and comments
107 out the skipping of empty pcf fonts.
109 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
112 * fc-lang/fc-lang.c (main):
114 Further fix of patch from 2005-11-04: miscounted numbers count
115 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
116 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
118 Removed leafidx_count and numbers_count since they are the same
119 and replaced them with offset_count.
121 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
124 * fc-cat/fc-cat.c (main):
126 Don't crash when fc-cat invoked with no arguments.
128 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
131 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
133 Fix invalid read access caused by premature free and
134 GCC4 warnings in libxml2 codepath.
136 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
139 * src/fccfg.c (FcConfigValues):
141 List iteration not needed in FcConfigValues, since it's building
142 up the list itself; we can just strip FcVoid elements during
145 2005-11-17 Patrick Lam <plam@mit.edu>
146 * src/fccfg.c (FcConfigValues):
148 Fix crash on invalid constants in config files (forgot to update
149 a pointer upon list iteration.)
151 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
154 * src/fcxml.c (FcTypecheckExpr):
156 Complain about invalid constants in config files.
158 2005-11-17 Andreas Schwab <schwab@suse.de>
161 * src/fccache.c (FcGlobalCacheSave):
163 Don't add current_arch_start more than once.
165 2005-11-16 Patrick Lam <plam@mit.edu>
166 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
167 * src/fcfs.c (FcFontSetUnserialize):
168 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
169 * src/fcpat.c (FcStrUnserialize):
171 Fix ordering of ALIGN with respect to saving block_ptr; add
172 another ALIGN to fcfs.c.
174 2005-11-16 Patrick Lam <plam@mit.edu>
175 * src/fccache.c (FcDirCacheProduce)
177 Fix case where alignment bytes bumped up metadata->count
178 causing unwarranted failures to write cache files.
179 (Reported by Stephan Kulow).
181 2005-11-16 Patrick Lam <plam@mit.edu>
182 * src/fccache.c (FcDirCacheProduce):
183 * src/fccharset.c (FcCharSetDistributeBytes):
184 * src/fcfs.c (FcFontSetDistributeBytes):
186 * src/fclang.c (FcLangSetDistributeBytes):
187 * src/fcname.c (FcObjectDistributeBytes):
188 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
191 Add *NeededBytesAlign(), which overestimates the padding which is
192 later added by the new ALIGN macro. Fix alignment problems on
193 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
194 version by Andreas Schwab).
196 2005-11-16 Stephan Kulow <coolo@kde.org>
201 Use sysconf to determine proper PAGESIZE value; this
202 appears to be POSIX-compliant. (reported by Andreas Schwab)
204 2005-11-04 Patrick Lam <plam@mit.edu>
210 Fix bug 2878 (excessive relocations at startup for charsets,
211 reported by Ross Burton): fc-lang/fc-lang now creates the
212 static form of the langset, not the dynamic form, so that
213 the charsets should now be in .rodata.
215 2005-11-04 Patrick Lam <plam@mit.edu>
216 * src/fcdir.c (FcDirScanConfig):
218 Add test for validity of directory caches that
219 somehow got lost (reported by make distcheck).
221 2005-11-04 Patrick Lam <plam@mit.edu>
225 * fontconfig/fontconfig.h:
227 Bump version to 2.3.92.
229 2005-11-02 Patrick Lam <plam@mit.edu>
230 * src/fcpat.c (FcPatternDuplicate):
232 Fix argument ordering problem in call to FcPatternTransferFullFname.
234 2005-11-02 Patrick Lam <plam@mit.edu>
235 * src/fcfreetype.c (FcFreetypeQuery):
236 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
237 FcPatternTransferFullFname):
239 Fix warnings and embarrassing double-free error.
241 2005-11-02 Zhe Su <zsu@novell.com>
246 Change the rule for artificial emboldening in fonts.conf.in. This
247 enables the support for artificial emboldening included in cairo.
249 2005-11-02 Patrick Lam <plam@mit.edu>
250 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
252 Don't zero out full names for FC_REF_CONSTANT fonts;
253 also, duplicate full names when transferring, and free
254 full names when freeing the associated font.
255 Reported by Jinghua Luo.
257 2005-11-02 Patrick Lam <plam@mit.edu>
258 * fc-cache/fc-cache.c (scanDirs):
259 * src/fcpat.c (FcValueListSerialize):
261 Revert the previous patch and commit the correct patch:
262 I forgot a canonicalization in FcValueListSerialize, so
263 that it would choke on already-serialized input files. Duh!
265 2005-11-02 Patrick Lam <plam@mit.edu>
266 * fc-cache/fc-cache.c (scanDirs):
268 Forcibly rescan a directory before writing a fresh local
269 cache file for that directory, fixing the losing-fonts
270 problem reported by Mike Fabian and also apparently the
271 font cache file corruption.
273 2005-11-02 Patrick Lam <plam@mit.edu>
274 * src/fccache.c (FcGlobalCacheLoad):
276 Fix thinko: actually, the whole global cache is stale
277 if the global cache is older than the (newest) config file.
279 2005-11-02 Patrick Lam <plam@mit.edu>
280 * src/fccache.c (FcGlobalCacheLoad):
281 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
284 Declare the global cache of a directory's contents to be stale if
285 the directory is newer than the (newest) configuration file.
287 2005-10-31 Patrick Lam <plam@mit.edu>
289 * src/fclist.c (FcListAppend):
290 * src/fcmatch.c (FcFontRenderPrepare):
291 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
292 FcPatternFreeze, FcPatternBaseFreeze):
294 Copy the full pathname whenever duplicating an FcPattern; otherwise,
295 applications continue breaking.
297 2005-10-31 Patrick Lam <plam@mit.edu>
298 * fc-cat/fc-cat.c (FcCacheFileRead, main):
299 * src/fcfreetype.c (FcFreeTypeQuery):
301 Fix small memory error (tried to free argv); use basename and
302 dirname correctly (they can modify their arguments).
304 2005-10-31 Patrick Lam <plam@mit.edu>
312 Reinstate basename patch, but keep a hash table linking FcPatterns
313 to their fully-qualified font names for clients' benefit. Clients
314 only pay for the font names once they request the FC_FILE property
315 from an FcPattern, but the font name is malloc'd at that point (i.e.
316 not mmapped: that's impossible, since it may vary between machines.)
317 Clients do have to pay for a copy of the path name per cache file.
319 Note that FcPatternGetString now does some rewriting if you ask
320 for an FC_FILE, appending the pathname as appropriate.
322 2005-10-31 Patrick Lam <plam@mit.edu>
323 * src/fcfreetype.c (FcFreeTypeQuery):
325 Revert basename patch, which breaks fontconfig clients on my system.
327 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
330 * fontconfig/fonts.conf.in:
331 * fontconfig/fontconfig.h:
335 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
336 to load embedded bitmaps or not.
338 2005-10-25 Patrick Lam <plam@mit.edu>
339 * src/fcfreetype.c (FcFreeTypeQuery):
341 Only add basename to patterns' FC_FILE element, not any part of
344 2005-10-22 Patrick Lam <plam@mit.edu>
347 Add some more consts, fixing more GCC4 warnings.
349 2005-10-22 Zhe Su <zsu@novell.com>
352 Support localized font family and style names.
353 This has been reported to break old apps like xfd, but modern
354 (gtk+/qt/mozilla) apps work fine.
356 2005-10-21 Patrick Lam <plam@mit.edu>
357 * src/fccache.c (FcGlobalCacheLoad):
359 Destroy the global cache file if it's terminally broken. (reported by
362 2005-10-21 Patrick Lam <plam@mit.edu>
363 * fc-list/fc-list.c (main):
364 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
365 * fontconfig/fontconfig.h:
367 Prevent fc-list from escaping strings when printing them (reported by
370 2005-10-20 Marcus Meissner <meissner@suse.de>
373 * fontconfig/fontconfig.h:
375 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
377 2005-10-14 Ross Burton <ross@burtonini.com>
380 * fc-glyphname/fc-glyphname.c:
383 Add consts to variables so as to move arrays into .rodata.
385 2005-10-14 Mike Fabian <mfabian@suse.de>
388 * src/fccache.c (FcDirCacheUnlink):
390 Check existence of directory cache file before attempting to unlink.
392 2005-10-13 Patrick Lam <plam@mit.edu>
393 * src/fccache.c (FcDirCacheUnlink):
395 Fix flipped return value on unlink. (Reported by Mike Fabian)
397 2005-10-12 Patrick Lam <plam@mit.edu>
400 * src/fcdir.c (FcDirScanConfig):
403 When fc-cache is run without --force, use directory cache files
404 to speed up fc-cache run time. (Reported by Mike Fabian)
406 2005-10-06 Patrick Lam <plam@mit.edu>
408 * src/fcname.c (FcObjectToPtr):
409 * src/fcpat.c (FcStrStaticName):
411 Add padding to make valgrind and glibc not hate each other
412 when calling strlen().
414 2005-10-05 Simos Xenitellis <simos74@gmx.net>
415 reviewed by: plam & keithp
419 Modify config file to use Greek fonts before Asian fonts with
422 2005-10-05 Christian Biesinger <cbiesinger@web.de>
423 reviewed by: plam & keithp
427 Use libtool -no-undefined flag on all platforms.
429 2005-10-05 Patrick Lam <plam@mit.edu>
430 * src/fccache.c (FcCacheHaveBank):
432 Implement move-to-front array for banks (perf regression
433 reported by Ronny V. Vindenes).
435 2005-10-04 Patrick Lam <plam@mit.edu>
436 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
437 FcDirCacheHasCurrentArch):
438 * fc-cache/fc-cache.c (scanDirs):
439 * fontconfig/fontconfig.h:
441 Add new API which unlinks directory caches and checks dir caches
442 for existence of appropriate sections. Fix fc-cache to unlink
443 stale cache files and save directory caches that lack relevant
446 2005-10-03 Patrick Lam <plam@mit.edu>
447 * src/fccache.c (FcDirCacheValid):
449 Ensure that a directory cache has the appropriate section
450 before reporting that it is valid (reported by Matthias Clasen).
452 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
460 Use libxml2 if requested (with --enable-libxml2) or if
461 expat is not available.
463 2005-09-29 Patrick Lam <plam@mit.edu>
464 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
466 Fix multi-arch cache files: compute the position for the
467 block to be added using info from OrigFile, not NewFile.
469 2005-09-28 Patrick Lam <plam@mit.edu>
470 * src/fccache.c (FcCacheMachineSignature):
472 Cast results of sizeof() to unsigned int to get rid of
473 warnings on x86_64 (thanks Matthias Clasen).
475 2005-09-27 Patrick Lam <plam@mit.edu>
476 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
479 Use FcAtomic to rewrite cache files.
481 2005-09-27 Patrick Lam <plam@mit.edu>
483 * src/fccache.c (FcDirCacheWrite):
485 Don't unlink the fonts.cache-2 file even if there's no data
486 to write; just write an empty cache file. (thanks Lubos Lunak)
488 2005-09-27 Patrick Lam <plam@mit.edu>
490 * src/fccache.c (FcDirCacheWrite):
492 Allocate room for the subdirectory names in each
493 directory cache. Thanks to James Cloos for finding
494 and diagnosing this bug!
496 2005-09-22 Patrick Lam <plam@mit.edu>
498 * fc-cache/fc-cache.sgml:
499 * src/fccache.c (FcDirCacheWrite):
500 * src/fccache.h (struct FcCache):
502 Update documentation -- fc-cache's man page now says that you
503 need to run fc-cache once per cached architecture; add some
504 documentation to the FcCache structure.
506 Make fc-cache write out fonts.cache-2 files for directories with
507 no fonts (i.e. only subdirectories).
509 2005-09-22 Patrick Lam <plam@mit.edu>
511 * fc-cache/fc-cache.sgml:
513 * fc-glyphname/fc-glyphname.c:
519 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
524 * fontconfig/fcprivate.h:
525 * fontconfig/fontconfig.h:
539 Implement new mmaped cache for font information.
540 Bump so revision to 2.3.90.
542 2005-07-25 Keith Packard <keithp@keithp.com>
544 * doc/fontconfig-user.sgml:
545 * fc-glyphname/fc-glyphname.c: (scan), (main):
546 * fc-lang/fc-lang.c: (FcConfigHome):
547 * fc-match/fc-match.c: (main):
548 * src/fccfg.c: (FcConfigHome):
549 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
550 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
551 (addtag), (FcFontCapabilities):
552 * src/fcpat.c: (FcValueListEntCreate):
553 * src/fcstr.c: (FcStrCaseWalkerInit):
554 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
556 Various GCC 4 cleanups for signed vs unsigned char
558 Match only [0-9]*.conf files in <include>{directory}</include>
559 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
561 2005-07-15 Carl Worth <cworth@cworth.org>
564 * src/fcinit.c: (FcFini):
565 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
568 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
569 Pull the FcObjectStateName hash table out to file scope, and add
570 FcObjectStaticNameFini so that FcFini will cleanup this hash table
573 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
576 2005-06-16 Patrick Lam <plam@MIT.EDU>
580 * src/fccfg.c: (FcConfigCompareValue):
581 Make FcOpNotContains use FcStrStr for strings so that
582 it matches semantics for !FcOpContains.
584 2005-05-20 Keith Packard <keithp@keithp.com>
588 Move fontconfig source package to libs as per override
590 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
592 reviewed by: Mike Fabian
595 The ka.orth file requires several characters which are not
596 used anymore in modern Georgian and which are missing in the free
597 Georgian TrueType fonts downloadable at:
599 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
601 2005-04-27 Keith Packard <keithp@keithp.com>
605 Update date to real 2.3.2 release date.
606 Fix change attributions
608 2005-04-27 Keith Packard <keithp@keithp.com>
611 Bump so revision for 2.3.2
612 * fc-cache/fc-cache.c: (scanDirs):
613 Fix a few minor leaks in error cases.
615 2005-04-23 Keith Packard <keithp@keithp.com>
620 * fontconfig/fontconfig.h:
621 Update for version 2.3.2
623 2005-04-21 Keith Packard <keithp@keithp.com>
625 * debian/fontconfig.postinst:
626 Don't force bitmap font enable in default
627 configuration; allows users to override this in
637 * debian/po/pt_BR.po:
638 * debian/po/templates.pot:
640 * debian/po/zh_CN.po:
643 * fc-cache/fc-cache.c: (main):
644 Destroy font configuration on exit to help valgrind
647 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
648 (FcFreeTypeCheckGlyph):
649 Use own transcoding routines in preference to iconv
650 which appears to have leaks in some translators.
651 Call iconv_close after using iconv (oops).
653 Prefer unicode encoding of Euro char as some
654 fonts mis-encode Euro in other ones.
656 Must fetch bitmap glyphs to get width values
657 to check for monospace/dual-width fonts.
659 2005-04-13 Ross Burton <ross@burtonini.com>
662 Check that a pattern isn't already frozen in FcPatternFreeze.
664 2005-03-31 Ross Burton <ross@burtonini.com>
669 Run all FcPattern objects through FcObjectStaticName, so that
670 compares can be done on pointers instead of strings (#2659)
672 2005-03-17 Tor Lillqvist <tml@novell.com>
674 * src/fontconfig.def.in: Add the .dll to the dll name.
676 2005-03-10 Keith Packard <keithp@keithp.com>
678 * debian/README.Debian:
679 Update to reflect configuration changes
681 * debian/fontconfig.postinst:
682 Fix Autohint vs Autohinter mistake
683 * debian/fontconfig.templates:
684 Adopt changes from Josselin Mouette for configuration descriptions
685 Update debian to version 2.3.1-2
687 2005-03-08 Keith Packard <keithp@keithp.com>
691 Update debian for 2.3.1
693 2005-03-09 Tor Lillqvist <tml@novell.com>
695 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
698 * src/fccfg.c (FcConfigFileExists): Check also drive letter
701 2005-03-08 Keith Packard <keithp@keithp.com>
705 * fontconfig/fontconfig.h:
708 2005-03-05 Keith Packard <keithp@keithp.com>
710 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
711 Include space and remove numbers from valid script tags.
712 This ensures that tags like 'lao ' work while rejecting
713 those which have any digits.
714 Eliminate a spurious debugging variable (len)
716 2005-03-05 Keith Packard <keithp@keithp.com>
718 * src/fcfreetype.c: (addtag), (GetScriptTags),
719 (FcFontCapabilities):
720 Rework GSUB/GPOS script parsing to survive broken fonts.
721 Thanks for the broken font go to Manish Singh
723 2005-03-05 Keith Packard <keithp@keithp.com>
728 * debian/fontconfig.config:
729 * debian/fontconfig.templates:
731 Include 2.3 release information in changelog
732 Add Josselin Mouette as an Uploader
733 Set hinting_type to low priority configuration option
736 * debian/fontconfig.postinst:
737 yes_bitmaps.conf -> yes-bitmaps.conf
743 2005-03-02 Keith Packard <keithp@keithp.com>
746 * conf.d/Makefile.am:
747 * conf.d/autohint.conf:
748 * conf.d/no-sub-pixel.conf:
749 * conf.d/sub-pixel.conf:
750 * conf.d/unhinted.conf:
751 * debian/autohint.conf:
752 * debian/fontconfig.install:
753 * debian/fontconfig.postinst:
754 * debian/fontconfig.templates:
755 * debian/no-sub-pixel.conf:
756 * debian/unhinted.conf:
757 Move debian-specific conf file examples upstream.
759 Sub-pixel configuration examples must smash subpixel value
760 as Xft always sets it from X.
762 Change sub-pixel rendering debconf descriptions from
763 Enable/Disable to Always/Never.
765 2005-03-02 Keith Packard <keithp@keithp.com>
770 Ignore more build detritus
773 Add debian package construction stuff.
775 * config/config.guess:
777 Update to newer versions of these tools
780 Get library manuals to build again (we love automake).
782 * debian/README.Debian:
783 * debian/autohint.conf:
788 * debian/fontconfig-udeb.install:
789 * debian/fontconfig.config:
790 * debian/fontconfig.defoma:
791 * debian/fontconfig.dirs:
792 * debian/fontconfig.install:
793 * debian/fontconfig.postinst:
794 * debian/fontconfig.postrm:
795 * debian/fontconfig.templates:
796 * debian/libfontconfig1-dev.install:
797 * debian/libfontconfig1.install:
798 * debian/local.conf.md5sum:
799 * debian/no-sub-pixel.conf:
800 * debian/po/POTFILES.in:
809 * debian/po/pt_BR.po:
810 * debian/po/templates.pot:
812 * debian/po/zh_CN.po:
814 * debian/unhinted.conf:
815 Update debian build system to switch maintainers and
816 deal with 2.3 functionality
818 2005-03-01 Keith Packard <keithp@keithp.com>
822 * fontconfig/fontconfig.h:
825 2005-03-01 Keith Packard <keithp@keithp.com>
828 Generate and install PDF versions of the manuals
830 * doc/fcpattern.fncs:
834 Add missing exported functions, fix data types
836 * doc/fontconfig-devel.sgml:
837 Add missing pattern elements.
839 * doc/fontconfig-user.sgml:
840 Add missing pattern elements. Document conf.d usage,
841 clarify available orthography list. Fix some config file
842 attributes. Complete list of constants.
844 * fontconfig/fontconfig.h:
845 Mark FC_SOURCE deprecated.
847 * src/fcfreetype.c: (FcFreeTypeQuery):
848 Don't set FC_SOURCE any longer.
850 2005-02-28 Keith Packard <keithp@keithp.com>
853 * conf.d/Makefile.am:
855 * conf.d/no-bitmaps.conf:
856 * conf.d/sub-pixel.conf:
857 * conf.d/yes-bitmaps.conf:
859 Create prototype /etc/fonts/conf.d directory with a few
860 sample configuration files.
861 Deprecate use of local.conf for local customizations in favor of
862 this directory based scheme which is more easily integrated into
863 installation systems.
866 Tag FC_EMBOLDEN as a boolean variable
868 2005-02-10 Keith Packard <keithp@keithp.com>
870 reviewed by: pborelli@katamail.com
872 * src/fcdir.c: (FcFileScanConfig):
873 Free patterns from fonts which are rejected by configuration
876 2005-01-28 Keith Packard <keithp@keithp.com>
880 * fontconfig/fontconfig.h:
881 Update for version 2.2.99
883 2005-01-28 Keith Packard <keithp@keithp.com>
886 Add a few pointers (#2284, #2285)
888 2005-01-28 Keith Packard <keithp@keithp.com>
891 * src/fcname.c: (FcNameBool):
892 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
893 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
894 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
895 Polite typechecking for test and edit expressions. Helps
896 catch errors in the font configuration. (bug 229)
898 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
900 reviewed by: Keith Packard <keithp@keithp.com>
903 Have --with-expat set EXPAT_CFLAGS (bug 2278)
905 2005-01-13 Keith Packard <keithp@keithp.com>
907 * doc/fontconfig-user.sgml:
908 Add SEE ALSO section (bug 2085)
910 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
912 reviewed by: Keith Packard <keithp@keithp.com>
917 * fc-case/Makefile.am:
918 * fc-glyphname/Makefile.am:
919 * fc-lang/Makefile.am:
920 * src/fontconfig.def.in:
921 Cross compiling fixes (bug 280)
923 2005-01-13 Keith Packard <keithp@keithp.com>
926 Update blanks list (Closes bug 86)
928 2005-01-04 Keith Packard <keithp@keithp.com>
930 * src/fccache.c: (FcCacheFontSetAdd):
931 Verify that every font pattern loaded from cache has
932 both FC_FILE and FC_FAMILY entries.
933 Attempt to fix bug #2219.
935 2004-12-29 Keith Packard <keithp@keithp.com>
939 * fontconfig/fontconfig.h:
940 Update for version 2.2.98
942 2004-12-29 Keith Packard <keithp@keithp.com>
944 * fontconfig/fontconfig.h:
945 Document ASCII limitations of Fc character conversion macros
946 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
947 Fix off-by-one error in utf-8 case walking code.
948 Add FcStrDowncase (useful for testing case conversion functions)
950 2004-12-29 Keith Packard <keithp@keithp.com>
953 * fc-case/.cvsignore:
954 clean up CVS ignore lists
955 * fc-lang/iso-3166.txt:
956 Add territory database
958 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
960 Reviewed by: Keith Packard
963 Remove Han characters from Korean orthography
965 2004-12-29 Keith Packard <keithp@keithp.com>
968 Reorder utility programs to make sure fc-case is run before fc-lang
969 as fc-lang uses fcstr.c which uses fccase.h
973 2004-12-29 Keith Packard <keithp@keithp.com>
976 Adopt some RedHat suggestions for standard font configuration.
980 * fc-case/CaseFolding.txt:
981 * fc-case/Makefile.am:
982 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
983 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
984 (dump), (parseRaw), (caseFoldReadRaw), (main):
985 * fc-case/fccase.tmpl.h:
986 Add new helper program 'fc-case' to construct case folding
987 tables from standard Unicode CaseFolding.txt file
990 * src/fclist.c: (FcListValueHash):
991 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
992 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
993 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
994 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
995 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
996 Re-implement case insensitive functions with Unicode
997 aware versions (including full case folding mappings)
999 2004-12-13 Keith Packard <keithp@keithp.com>
1001 reviewed by: Owen Taylor <otaylor@redhat.com>
1003 * src/fcmatch.c: (FcFontSetSort):
1004 I changed FcFontSetSort to respect the generic aliases better
1005 in the face of language matching.
1007 What I did was to ammend the strict sort order used by FcFontSort so
1008 that it 'satisfies' the language specified in the pattern by locating
1009 the best matching font supporting each pattern language and then
1010 ignores language in the remaining fonts for purposes of matching.
1012 So, when asking for 'sans:lang=en', you'll get an English font first,
1013 and then the remaining fonts sorted with respect to the 'sans' alias
1014 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1016 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1018 reviewed by: Keith Packard <keithp@keithp.com>
1020 * fontconfig/fontconfig.h:
1023 Configuration changes to request synthetic emboldening of
1024 fonts. The actual emboldening code will live in Xft.
1026 2004-12-09 John Thacker <thacker@math.cornell.edu>
1028 reviewed by: Keith Packard <keithp@keithp.com>
1032 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1033 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1034 и), and don't even appear in KOI8-R. (The hypothesis that they
1035 don't appear in KOI8-R due to their similarity with Latin I and i is
1036 eliminated by their presence in KOI8-U.) I have a couple of fonts
1037 with Russian support that don't have the letter.
1039 Therefore, 0406 and 0456 should be removed from or commented out of
1042 2004-12-06 michael meeks <mmeeks@novell.com>
1044 Reviewed by: Keith Packard <keithp@keithp.com>
1046 * src/fcinit.c: (FcMemReport):
1048 * src/fclist.c: (FcObjectSetAdd):
1049 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1050 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1051 * src/fcxml.c: (FcParsePatelt):
1052 memoize strings and share a single copy for all uses. Note that
1053 this could be improved further by using statically allocated blocks
1054 and gluing multiple strings together, but I'm basically lazy.
1055 In my environment with 800 font files, I get a savings of about 90KB.
1057 2004-12-06 Keith Packard <keithp@keithp.com>
1061 * config/Makedefs.in:
1064 * doc/fcatomic.fncs:
1065 * doc/fcblanks.fncs:
1066 * doc/fccharset.fncs:
1067 * doc/fcconfig.fncs:
1068 * doc/fcconstant.fncs:
1070 * doc/fcfontset.fncs:
1071 * doc/fcfreetype.fncs:
1073 * doc/fcmatrix.fncs:
1074 * doc/fcobjectset.fncs:
1075 * doc/fcobjecttype.fncs:
1076 * doc/fcpattern.fncs:
1077 * doc/fcstring.fncs:
1078 * doc/fcstrset.fncs:
1080 * doc/fontconfig-devel.sgml:
1081 * doc/fontconfig-user.sgml:
1083 * doc/version.sgml.in:
1084 * fc-cache/Makefile.am:
1085 * fc-cache/fc-cache.c:
1086 * fc-glyphname/Makefile.am:
1087 * fc-glyphname/fc-glyphname.c:
1088 * fc-glyphname/fcglyphname.tmpl.h:
1089 * fc-lang/Makefile.am:
1099 * fc-lang/az_ir.orth:
1133 * fc-lang/fc-lang.c:
1134 * fc-lang/fc-lang.man:
1135 * fc-lang/fclang.tmpl.h:
1180 * fc-lang/ku_ir.orth:
1213 * fc-lang/ps_af.orth:
1214 * fc-lang/ps_pk.orth:
1243 * fc-lang/ti_er.orth:
1244 * fc-lang/ti_et.orth:
1270 * fc-lang/zh_cn.orth:
1271 * fc-lang/zh_hk.orth:
1272 * fc-lang/zh_mo.orth:
1273 * fc-lang/zh_sg.orth:
1274 * fc-lang/zh_tw.orth:
1276 * fc-list/Makefile.am:
1277 * fc-list/fc-list.c:
1278 * fc-match/Makefile.am:
1279 * fc-match/fc-match.1:
1280 * fc-match/fc-match.c:
1281 * fontconfig/fcfreetype.h:
1282 * fontconfig/fcprivate.h:
1283 * fontconfig/fontconfig.h:
1304 Change files from ISO-Latin-1 to UTF-8
1306 2004-12-04 Keith Packard <keithp@keithp.com>
1309 Update links to new freedesktop.org locations
1311 Add uninstall-local to get rid of fonts.conf and local.conf if they
1312 match the distributed versions. Fixes 'make distcheck'
1314 2004-12-04 Keith Packard <keithp@keithp.com>
1318 * fontconfig/fontconfig.h:
1319 Updates for version 2.2.97
1321 2004-12-04 Owen Taylor <otaylor@redhat.com>
1323 reviewed by: Keith Packard <keithp@keithp.com>
1325 * fc-cache/fc-cache.c: (main):
1326 Sleep for two seconds before exiting to make sure timestamps
1327 for future changes have distinct mod times in the file system.
1330 Add Punjabi orthography. Bug #1671.
1332 2004-12-04 Keith Packard <keithp@keithp.com>
1335 Just remove the FC_FONTDATE -- it has locale issues and
1336 annoys redhat multi-arch installs. Now that all X fonts are
1337 included without prejudice, the chances of the date being at
1338 all interesting are rather limited. Bug #505.
1340 Add copyright and license
1342 2004-12-04 Keith Packard <keithp@keithp.com>
1345 Change default set of fonts to include all of
1346 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1347 * doc/fontconfig-user.sgml:
1348 Document new <include>directory-name</include> semantics
1350 add <include ignore_missing="yes">conf.d</include>
1352 Add selectfont to ignore bitmap fonts, add comment for
1353 selectfont which accepts bitmap fonts.
1356 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1357 Allow <include> configuration elements to reference directories.
1358 Parse and load all files of the form [0-9]* in sorted order.
1360 2004-12-04 Keith Packard <keithp@keithp.com>
1363 Report command line for $srcdir/configure accurately.
1366 2004-12-04 Keith Packard <keithp@keithp.com>
1368 * src/fcfreetype.c: (FcFreeTypeQuery):
1369 Check for non-empty face->family_name and face->style_name
1370 before using those for the font. Empty names match everything.
1373 2004-12-04 Keith Packard <keithp@keithp.com>
1376 * fontconfig/fontconfig.h:
1377 * src/fcfreetype.c: (FcFreeTypeQuery):
1379 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1380 available. This provides font file format information (BDF, Type 1,
1381 PCF, TrueType) for each font. Closes #109.
1383 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1385 reviewed by: Keith Packard <keithp@keithp.com>
1387 * doc/fontconfig-user.sgml:
1390 * fontconfig/fontconfig.h:
1391 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1392 (GetScriptTags), (FcFontCapabilities):
1394 Add detection for font capabilities (bug #105)
1396 2004-12-04 Keith Packard <keithp@keithp.com>
1399 Move existing fonts.conf to fonts.conf.bak
1402 Add detection of iconv
1404 * doc/fcpattern.fncs:
1405 * doc/fontconfig-devel.sgml:
1406 * doc/fontconfig-user.sgml:
1408 Document new selectfont elements
1411 Switch to UTF-8 in comment
1413 * fontconfig/fontconfig.h:
1415 Add fullname, and family/style/fullname language entries
1417 * src/fccache.c: (FcCacheFontSetAdd):
1418 * src/fcdir.c: (FcFileScanConfig):
1419 Respect selectfont/*/glob
1422 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1423 (FcConfigCompareValue), (FcConfigPatternsAdd),
1424 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1425 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1426 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1427 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1428 Add support for selectfont
1430 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1431 (FcStringInPatternElement), (FcFreeTypeQuery):
1432 Add multi-lingual family/style/fullname support
1434 * src/fclist.c: (FcListPatternMatchAny):
1435 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1437 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1438 (FcObjectStaticName):
1439 Add new FcPatternRemove/FcPatternAppend.
1440 FcObjectStaticName stores computed pattern element names which
1441 are required to be static.
1443 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1448 Remove spurious / after $(DESTDIR)
1450 2004-06-30 Keith Packard <keithp@keithp.com>
1454 * fontconfig/fontconfig.h:
1457 2004-06-30 Keith Packard <keithp@keithp.com>
1459 Provided by: Lubos Lunak <l.lunak@suse.cz>
1461 * src/fccfg.c: (FcConfigUptoDate):
1462 However FcConfigUptoDate() doesn't seem to work. See the attached
1463 patch. First there's an obvious misplaced parenthesis making it
1464 return always false, and second, even this call fails to detect font
1465 changes (e.g. adding a new font to
1466 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1467 well. The problem seems to be triggered by my fonts.conf specifying
1468 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1469 doesn't include subdirs, unlike config->fontDirs.
1471 2004-06-03 Keith Packard <keithp@keithp.com>
1473 * fontconfig/fontconfig.h:
1474 Remove comma at end of FcResult enum definition.
1476 2004-05-29 Keith Packard <keithp@keithp.com>
1479 Add steps to md5sum release
1481 2004-05-29 Keith Packard <keithp@keithp.com>
1485 * fontconfig/fontconfig.h:
1488 2004-05-29 Keith Packard <keithp@keithp.com>
1490 * fontconfig/fontconfig.h:
1491 * src/fcmatch.c: (FcFontSetMatch):
1492 Add FcResultOutOfMemory to provide an accurate error when
1493 FcFontSetMatch fails in this way
1496 Make #warning about lacking various FreeType features indicate
1497 which version those features appeared so users know how to
1498 fix the problem (Thanks to Anton Tropashko)
1500 2004-05-05 Keith Packard <keithp@keithp.com>
1502 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1503 Replace MIN/MAX/ABS macros which happen to have come
1504 from FreeType with fontconfig-specific ones (FC_*)
1506 2004-04-23 Keith Packard <keithp@keithp.com>
1509 Extend release preparation instructions to include
1510 notification and distribution steps
1512 2004-04-23 Keith Packard <keithp@keithp.com>
1516 * fontconfig/fontconfig.h:
1517 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1519 2004-04-23 Keith Packard <keithp@keithp.com>
1522 Ignore a few more autotool files
1524 2004-04-14 Keith Packard <keithp@keithp.com>
1527 Add instructions for doing a release
1529 * fontconfig.spec.in:
1530 clean up .spec file; perhaps this will be useful to somebody...
1534 * fontconfig/fontconfig.h:
1537 * fc-lang/fc-lang.c:
1538 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1540 * fc-glyphname/Makefile.am:
1541 * fc-lang/Makefile.am:
1542 * fc-list/Makefile.am:
1543 * fc-match/Makefile.am:
1545 Add WARN_CFLAGS to pass -W flags for GCC systems
1547 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1548 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1549 Change various char types around to match across
1551 Fixed bug in using available_sizes[i].height which
1552 is in pixels, not 64ths of a pixel.
1554 2004-03-06 Keith Packard <keithp@keithp.com>
1556 * src/fcfreetype.c: (FcFreeTypeQuery):
1557 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1558 matches looking for explicit values prefer exact matches
1560 2004-03-02 Keith Packard <keithp@keithp.com>
1562 Supplied by: mfabian@suse.de (Mike FABIAN)
1564 * src/fcfreetype.c: (FcFreeTypeQuery):
1565 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1566 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1568 2004-02-21 Manish Singh <yosh@gimp.org>
1570 * fc-glyphname/fc-glyphname.c: (main):
1571 Cast strlen to int for printf, so we're 64-bit clean.
1573 2004-02-11 Keith Packard <keithp@keithp.com>
1576 * src/fcfreetype.c: (FcGetPixelSize):
1577 Ok, so I messed up the test for y_ppem. Let's see if I
1578 got it right this time.
1580 2004-02-10 Keith Packard <keithp@keithp.com>
1583 * src/fcfreetype.c: (FcGetPixelSize):
1584 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1585 FT_Bitmap_Size record. Add a configure.in test for this
1586 and change the code accordingly (using height instead).
1588 2004-02-06 Keith Packard <keithp@keithp.com>
1591 Add Low Saxon orthography
1592 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1594 * src/fccfg.c: (FcConfigNewestFile):
1595 Oops. Left 'newest.set' unset, which would miscompute
1598 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1599 (FcFreeTypeCheckGlyph):
1600 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1601 font properties (which report the wrong value in current FreeType)
1603 Don't attempt to check for empty glyphs in non-scalable fonts; they
1606 2004-02-01 Tor Lillqvist <tml@iki.fi>
1608 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1609 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1610 cache if config->cache is NULL, which happens if FcConfigHome() is
1611 NULL. Guard against that by using the temp folder in that case.
1613 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1615 * fc-lang/az_ir.orth:
1616 * fc-lang/ku_ir.orth:
1617 * fc-lang/ps_af.orth:
1618 * fc-lang/ps_pk.orth:
1619 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1620 (Afghan and Pakistani).
1622 Updated Urdu orthography with real data.
1624 2003-12-11 Carl Worth <cworth@east.isi.edu>
1626 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1629 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1631 (all-local): Remove excessive whitespace.
1633 * autogen.sh: Add 'set -e' to abort when any program fails,
1634 (avoids printing of 'now type make' after configure aborts).
1636 2003-11-17 Eric Christopherson <rakko@charter.net>
1638 reviewed by: Keith Packard <keithp@keithp.com>
1641 * fontconfig/fcfreetype.h:
1643 Switch to FreeType 2.1.7 style includes. Bug #150.
1645 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1647 * fc-list/fc-list.sgml: Add some example usages.
1649 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1652 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1655 2003-10-27 Keith Packard <keith@keithp.com>
1658 * fontconfig/fontconfig.h:
1659 Update to version 2.2.92
1661 2003-10-27 Keith Packard <keithp@keithp.com>
1666 * fc-cache/Makefile.am:
1667 * fc-glyphname/Makefile.am:
1668 * fc-lang/Makefile.am:
1669 * fc-list/Makefile.am:
1670 * fc-match/Makefile.am:
1673 Yet more cleanups to finish getting 'make distcheck' working
1674 This has been tested to ensure that it even works from a _build
1677 2003-10-26 Keith Packard <keithp@keithp.com>
1681 * fc-cache/Makefile.am:
1682 * fc-glyphname/Makefile.am:
1683 * fc-lang/Makefile.am:
1684 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1685 * fc-list/Makefile.am:
1686 * fc-match/Makefile.am:
1687 Attempts to fix 'make distcheck' work. Things are
1688 progressing pretty well, but there are still failures
1689 long into the process dealing with docs (as always).
1691 The big changes here are mostly to make $(srcdir) != "."
1692 work correctly, fixing the docbook related sections and
1693 fc-lang were particularily tricky. Docbook refuses to load
1694 system entities from anywhere other than where the original .sgml
1695 file was located, so no luck looking in "." for the
1696 configure-generated version.sgml and confdir.sgml files.
1698 fc-lang needed help finding .orth files; added a -d option
1699 to set the directory as the least evil of many options.
1701 Now to go use a faster machine and try and wring out the last
1704 2003-10-26 Keith Packard <keithp@keithp.com>
1708 2003-10-26 Keith Packard <keithp@keithp.com>
1711 Include confdir.sgml.in in EXTRA_DIST
1713 2003-10-09 Josselin Mouette <joss@debian.org>
1715 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1716 * fc-list/fc-list.sgml fc-list/Makefile.am:
1717 Replace fc-cache and fc-list manpages with more detailed, SGML
1720 2003-09-23 Owen Taylor <otaylor@redhat.com>
1722 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1723 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1724 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1727 2003-09-23 Owen Taylor <otaylor@redhat.com>
1729 * fc-lang/ka.orth: Remove Georgian capitals, they
1730 aren't used for normal writing. (Bug #116)
1732 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1734 * doc/fontconfig-devel.sgml:
1735 * doc/fontconfig-user.sgml:
1736 * fontconfig/fontconfig.h:
1738 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1739 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1741 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1742 monospace and dual-width fonts, allow roughly a 3% variance in the
1745 2003-08-31 Manish Singh <yosh@gimp.org>
1747 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1750 2003-08-15 Carl Worth <cworth@isi.edu>
1752 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1753 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1755 * src/fcpat.c (FcValueListEntDestroy): New function to support
1756 FcFini memory cleanup. Some statistics are not kept in
1758 (FcValueListFreeze): Move hashTable outside this function so it
1759 can be accessed by FcValueListThawAll.
1760 (FcValueListThawAll): New function complements FcValueListFreeze.
1761 (FcPatternBaseFreeze): Move hashTable outside this function so it
1762 can be accessed by FcPatternBaseThawAll.
1763 (FcPatternBaseThawAll): New function complements
1764 FcPatternBaseFreeze.
1765 (FcPatternThawAll): New function complements FcPatternFreeze.
1767 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1769 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1770 allocated FcCharLeafEnt "blocks" so they can be freed later.
1771 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1772 can be accessed by FcCharSetThawAllLeaf.
1773 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1774 (FcCharSetFreezeBase): Move hashTable outside this function so it
1775 can be accessed by FcCharSetThawAll.
1776 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1778 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1779 (FcConfigDestroy): Fic leak of FcBlanks.
1781 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1782 (main): Add call to FcFini when finished.
1784 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1785 static. Add prototypes.
1787 * doc/fcinit.fncs: Add documentation for FcFini function.
1789 * doc/edit-sgml.c: Mark several local functions as static. Add
1792 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1794 2003-06-15 Tor Lillqvist <tml@iki.fi>
1796 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1797 before comparing (needed on Windows).
1799 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1801 2003-06-13 Tor Lillqvist <tml@iki.fi>
1803 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1806 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1807 WINDOWSFONTDIR token.
1809 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1810 end, not to confuse libtool, which expects the EXPORTS line to be
1811 the first. Add FcConfigEnableHome.
1813 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1814 built as a DLL on Win32.
1816 2003-06-09 Keith Packard <keithp@keithp.com>
1818 * Tag version 2.2.90
1820 2003-06-09 Keith Packard <keithp@keithp.com>
1822 * Optimization in FcLangSetIndex was broken, occasionally
1823 returning a pointer to the wrong location on miss
1825 * Add fc-match to test font matching from the command line.
1827 2003-05-31 Keith Packard <keithp@keithp.com>
1829 * (Bug 85) add support for culmus fonts
1830 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1831 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1833 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1835 * Fix "contains" op for strings and langsets.
1837 2003-05-17 Keith Packard <keithp@keithp.com>
1839 * Fix build error with BDF prop local. Free langset after query
1841 2003-05-14 Keith Packard <keithp@keithp.com>
1843 * Extract spacing from XLFD atom
1845 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1847 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1848 disappeared in 1.30.
1850 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1852 2003-05-12 Keith Packard <keithp@keithp.com>
1854 * Use FcIsWidth to share code
1856 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1857 misclassifying some Han fonts as monospaced.
1859 2003-05-07 Keith Packard <keithp@keithp.com>
1861 * Add filename-based accept/reject to ammend available fonts.
1863 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1864 older FreeType releases.
1866 2003-05-06 Keith Packard <keithp@keithp.com>
1868 * Remove 0b82 and Tamil numbers from tamil
1869 orthography (Jungshik Shin <jshin@mailaps.org>)
1871 2003-05-04 Keith Packard <keithp@keithp.com>
1873 + Map glyph names in fonts with adobe custom encoding to unicode
1875 2003-05-02 Keith Packard <keithp@keithp.com>
1877 * Add FC_WEIGHT_BOOK as weight 75
1879 2003-04-30 Keith Packard <keithp@keithp.com>
1881 * Typo in bitstream foundry name
1883 2003-04-24 Keith Packard <keithp@keithp.com>
1885 * Eliminate italic_angle check for PS fonts
1887 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1889 * Getting closer to fixing /etc/fonts hard-coding.
1891 2003-04-22 Keith Packard <keithp@keithp.com>
1893 * Update autogen.sh to work with newer automake versions
1894 * Handle pattern elements moving during multiple edits
1896 2003-04-23 James Henstridge <james@daa.com.au>
1898 * doc/fontconfig-devel.sgml: close the <para> element.
1900 * doc/fcpattern.fncs: close the <para> element.
1902 * doc/func.sgml: close the <refsynopsisdiv> element.
1904 2003-04-22 Keith Packard <keithp@keithp.com
1906 * Update autogen.sh to work with newer automake versions
1907 * Handle pattern elements moving during multiple edits
1909 2003-04-17 Colin Walters <walters@debian.org>
1911 + Remove some unused variables, and initialize some other ones so
1912 gcc doesn't warn us.
1914 2003-04-16 Keith Packard <keithp@keithp.com>
1916 + tag version 2.1.94
1918 2003-04-16 Keith Packard <keithp@keithp.com>
1920 + add BDF property fetching support for foundry
1921 (from Juliusz Chroboczek)
1922 + add BDF property fetching support for width
1924 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1926 + Implemented foundry generation for Type 1 and TrueType
1928 2003-04-11 Gerard Escalante <g2@magestudios.net>
1930 + Retrieve information from Type1 FontInfo dictionaries
1932 2003-04-07 Colin Walters <walters@verbum.org>
1934 + src/Makefile.am: Fix dummy makefile target names when
1935 MS_LIB_AVAILABLE isn't set.
1937 2003-03-22 Tor Lillqvist <tml@iki.fi>
1939 Changes for Windows:
1941 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1943 + We don't want to hardcode the fonts.conf file location in the
1944 DLL, so we look up the DLL location at run-time in a DllMain()
1945 function. The fonts.conf location is deduced from that.
1947 + The colon can't be used as path separator on Windows,
1948 semicolon is used instead. File path components can be separated
1949 with either slash or backslash. Absolute paths can also begin
1950 with a drive letter.
1952 + Add internal function FcStrLastSlash that strrchr's the last
1953 slash, or backslash on Windows.
1955 + There is no link() on Windows. For atomicity checks, mkdir a
1956 lock directory instead.
1958 + In addition to HOME, also look for USERPROFILE.
1960 + Recognize the special font directory token WINDOWSFONTDIR, to
1961 use the system's font directory.
1963 + Remove the fontconfig-def.cpp that was obsolete. Add
1964 fontconfig.def(.in), without internal functions.
1966 + Add a fontconfig-zip(.in) script, used to build a binary
1969 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1970 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1971 to main package and man3/* to devel package
1973 + Added missing defattr(-, root, root) to main RPM package
1975 + Added HTML and text development documentation to -devel subpackage
1977 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1978 + Added back the configure macro options --disable-docs, otherwise
1979 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1980 version number) unconditionally, causing RPM to fail the build due
1981 to _unpackaged_files_terminate_build. We pick up the pregenerated
1982 docs with %doc already.
1984 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1985 + Removed commented out rpm macro define at top of spec file,
1986 replacing it with a simple explanation, since rpm macros are
1987 expanded by rpm even in comments.
1989 + Changed /usr/bin to _bindir in BuildRequires lines
1991 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1993 + Reorganized file manifest lists
1995 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1997 + fontconfig.spec.in: Improvements from Red Hat spec file.
1999 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2001 + docs/*.sgml: SGML fixes.
2003 Sat Mar 1 17:28:53 PST 2003 keithp
2004 + Ok, so the ChangeLog is a bit out of date
2006 + Lots of bugs fixed; most are in bugzilla, the
2007 biggest problems were in cache management where
2008 Owen discovered the library would lose badly when
2009 combining fonts-cache and ~/.fonts-cache data
2011 + Converted from autoconf to automake. This after
2012 getting patches accepted into libtool to allow
2013 the '-version-number' argument which lets
2014 packages set version numbers explicitly rather
2015 than the roundabout libtool way
2017 + Converted documentation to SGML using the docbook
2018 DTD. Now .txt and .html documents are installed
2019 in /usr/share/doc/fontconfig and there's no
2020 man page. Perhaps a man version can be written
2023 Sat Aug 31 15:21:22 PDT 2002 keithp
2024 + Xrender and Xft had several bugs related to
2025 rendering manually placed or poly-face text
2027 + Added more complete memory tracing in fontconfig
2028 Checked with (patched) mozilla and found no leaks
2030 + Updated Latin orthographies by comparing those from
2031 evertype.com with those from eki.ee. Tried to make
2032 sensible choices, including chars that occured in both
2033 and leaving some optional chars out that occured only
2036 Mon Aug 26 16:33:04 PDT 2002 keithp
2037 + Owen discovered that FcLangSetHasLang wasn't actually
2038 checking the language set.
2040 Mon Aug 26 13:37:23 PDT 2002 keithp
2041 + Append a version number to cache filenames
2043 Thu Aug 22 11:36:18 PDT 2002 keithp
2045 + Add "contains" and "not_contains" operators and elements to
2048 + Changed semantics of eq operator for LangSets to check for
2049 FcLangEqual so that any match will do
2051 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2052 of FcValueEqual to check for identical values when inserting into
2053 the results. This broke when the above semantic change was made,
2054 now it uses FcValueEqual which is "more correct" in any case.
2056 Thu Aug 22 00:32:29 PDT 2002 keithp
2058 + Reimplement FC_LANG as new datatype. Lists of strings
2059 was consuming over a megabyte of memory for 401 fonts.
2061 + Freeze patterns loaded from cache files. This shares
2062 common value lists and common patterns which saves
2063 considerable memory.
2065 + Change the denotation of 'constant' charsets to use special
2066 ref value instead of separate boolean.
2068 + Clean up leak tracing stuff, found several unannoted alloc/free
2071 Tue Aug 20 16:17:37 PDT 2002 keithp
2073 + Fix memory leak when parsing matrices from XML
2075 Mon Aug 19 11:57:27 PDT 2002 keithp
2077 + Fix autoconf files to pass FONTCONFIG_PATH on
2078 compile line so that ${prefix} gets substituted
2081 + Use getc_unlocked/putc_unlocked on systems that
2082 provide them to avoid damage done to stdio by posix
2084 + Eliminate FC_PATTERN and FcTypePattern in favor of
2085 an extended api for FcConfigSubstitute which takes
2086 both the font and the pattern.
2088 + Add 'sans serif' alias for 'sans-serif' as some apps
2089 can't handle hyphens in family names
2091 + Eliminate pretense of support for libxml2
2093 + Comment origins of Han orthographies
2095 Tue Jul 30 18:37:09 PDT 2002 keithp
2097 + Add binding property to edit element so that strong
2098 binding values may be inserted by the config file.
2099 The default remains weak.
2101 Sun 28 Jul 04:16:55 PDT 2002 keithp
2103 + Tagged release candidate 1 in the CVS tree and
2104 placed fcpackage.rc1.tar.gz for distribution
2106 Thu Aug 1 08:55:08 PDT 2002 keithp
2108 + Fixed autoconf builds to always specify install
2109 target files (for BSD). Also fixed to
2110 define FONTCONFIG_PATH in config.h so that
2111 nonstandard installs will actually work.