1 2005-11-24 Dirk Mueller <dmueller@suse.com>
4 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
5 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
6 * src/fcint.h (FcDebug):
8 Inline FcDebug invocations and only initialize once, in FcInit*.
9 Improve debug msg in FcPatternPrint.
11 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
14 * fontconfig/fontconfig.h:
17 Minor code warning cleanups.
19 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
22 * fc-match/fc-match.c (main):
24 Make getopt_long accept -s parameter to fc-match as well.
26 2005-11-21 Dirk Mueller <dmueller@suse.com>
29 * src/fcmatch.c (FcCompareValueList):
31 Manually perform inlining & partial redundancy elimination to
32 reduce calls to FcValueListPtrU.
34 2005-11-21 Dirk Mueller <dmueller@suse.com>
37 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
38 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
40 Only invoke strlen() when really necessary.
42 2005-11-19 Matthias Clasen <mclasen@redhat.com>
46 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
51 Get rid of the use of freetype internal headers in fcfreetype.c,
52 since those headers will go away with freetype 2.2. Replace with
53 public domain ftglue code from pango. Note that the patch removes
54 some extra error checking in FT_Get_BDF_Property() and comments
55 out the skipping of empty pcf fonts.
57 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
60 * fc-lang/fc-lang.c (main):
62 Further fix of patch from 2005-11-04: miscounted numbers count
63 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
64 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
66 Removed leafidx_count and numbers_count since they are the same
67 and replaced them with offset_count.
69 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
72 * fc-cat/fc-cat.c (main):
74 Don't crash when fc-cat invoked with no arguments.
76 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
79 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
81 Fix invalid read access caused by premature free and
82 GCC4 warnings in libxml2 codepath.
84 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
87 * src/fccfg.c (FcConfigValues):
89 List iteration not needed in FcConfigValues, since it's building
90 up the list itself; we can just strip FcVoid elements during
93 2005-11-17 Patrick Lam <plam@mit.edu>
94 * src/fccfg.c (FcConfigValues):
96 Fix crash on invalid constants in config files (forgot to update
97 a pointer upon list iteration.)
99 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
102 * src/fcxml.c (FcTypecheckExpr):
104 Complain about invalid constants in config files.
106 2005-11-17 Andreas Schwab <schwab@suse.de>
109 * src/fccache.c (FcGlobalCacheSave):
111 Don't add current_arch_start more than once.
113 2005-11-16 Patrick Lam <plam@mit.edu>
114 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
115 * src/fcfs.c (FcFontSetUnserialize):
116 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
117 * src/fcpat.c (FcStrUnserialize):
119 Fix ordering of ALIGN with respect to saving block_ptr; add
120 another ALIGN to fcfs.c.
122 2005-11-16 Patrick Lam <plam@mit.edu>
123 * src/fccache.c (FcDirCacheProduce)
125 Fix case where alignment bytes bumped up metadata->count
126 causing unwarranted failures to write cache files.
127 (Reported by Stephan Kulow).
129 2005-11-16 Patrick Lam <plam@mit.edu>
130 * src/fccache.c (FcDirCacheProduce):
131 * src/fccharset.c (FcCharSetDistributeBytes):
132 * src/fcfs.c (FcFontSetDistributeBytes):
134 * src/fclang.c (FcLangSetDistributeBytes):
135 * src/fcname.c (FcObjectDistributeBytes):
136 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
139 Add *NeededBytesAlign(), which overestimates the padding which is
140 later added by the new ALIGN macro. Fix alignment problems on
141 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
142 version by Andreas Schwab).
144 2005-11-16 Stephan Kulow <coolo@kde.org>
149 Use sysconf to determine proper PAGESIZE value; this
150 appears to be POSIX-compliant. (reported by Andreas Schwab)
152 2005-11-04 Patrick Lam <plam@mit.edu>
158 Fix bug 2878 (excessive relocations at startup for charsets,
159 reported by Ross Burton): fc-lang/fc-lang now creates the
160 static form of the langset, not the dynamic form, so that
161 the charsets should now be in .rodata.
163 2005-11-04 Patrick Lam <plam@mit.edu>
164 * src/fcdir.c (FcDirScanConfig):
166 Add test for validity of directory caches that
167 somehow got lost (reported by make distcheck).
169 2005-11-04 Patrick Lam <plam@mit.edu>
173 * fontconfig/fontconfig.h:
175 Bump version to 2.3.92.
177 2005-11-02 Patrick Lam <plam@mit.edu>
178 * src/fcpat.c (FcPatternDuplicate):
180 Fix argument ordering problem in call to FcPatternTransferFullFname.
182 2005-11-02 Patrick Lam <plam@mit.edu>
183 * src/fcfreetype.c (FcFreetypeQuery):
184 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
185 FcPatternTransferFullFname):
187 Fix warnings and embarrassing double-free error.
189 2005-11-02 Zhe Su <zsu@novell.com>
194 Change the rule for artificial emboldening in fonts.conf.in. This
195 enables the support for artificial emboldening included in cairo.
197 2005-11-02 Patrick Lam <plam@mit.edu>
198 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
200 Don't zero out full names for FC_REF_CONSTANT fonts;
201 also, duplicate full names when transferring, and free
202 full names when freeing the associated font.
203 Reported by Jinghua Luo.
205 2005-11-02 Patrick Lam <plam@mit.edu>
206 * fc-cache/fc-cache.c (scanDirs):
207 * src/fcpat.c (FcValueListSerialize):
209 Revert the previous patch and commit the correct patch:
210 I forgot a canonicalization in FcValueListSerialize, so
211 that it would choke on already-serialized input files. Duh!
213 2005-11-02 Patrick Lam <plam@mit.edu>
214 * fc-cache/fc-cache.c (scanDirs):
216 Forcibly rescan a directory before writing a fresh local
217 cache file for that directory, fixing the losing-fonts
218 problem reported by Mike Fabian and also apparently the
219 font cache file corruption.
221 2005-11-02 Patrick Lam <plam@mit.edu>
222 * src/fccache.c (FcGlobalCacheLoad):
224 Fix thinko: actually, the whole global cache is stale
225 if the global cache is older than the (newest) config file.
227 2005-11-02 Patrick Lam <plam@mit.edu>
228 * src/fccache.c (FcGlobalCacheLoad):
229 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
232 Declare the global cache of a directory's contents to be stale if
233 the directory is newer than the (newest) configuration file.
235 2005-10-31 Patrick Lam <plam@mit.edu>
237 * src/fclist.c (FcListAppend):
238 * src/fcmatch.c (FcFontRenderPrepare):
239 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
240 FcPatternFreeze, FcPatternBaseFreeze):
242 Copy the full pathname whenever duplicating an FcPattern; otherwise,
243 applications continue breaking.
245 2005-10-31 Patrick Lam <plam@mit.edu>
246 * fc-cat/fc-cat.c (FcCacheFileRead, main):
247 * src/fcfreetype.c (FcFreeTypeQuery):
249 Fix small memory error (tried to free argv); use basename and
250 dirname correctly (they can modify their arguments).
252 2005-10-31 Patrick Lam <plam@mit.edu>
260 Reinstate basename patch, but keep a hash table linking FcPatterns
261 to their fully-qualified font names for clients' benefit. Clients
262 only pay for the font names once they request the FC_FILE property
263 from an FcPattern, but the font name is malloc'd at that point (i.e.
264 not mmapped: that's impossible, since it may vary between machines.)
265 Clients do have to pay for a copy of the path name per cache file.
267 Note that FcPatternGetString now does some rewriting if you ask
268 for an FC_FILE, appending the pathname as appropriate.
270 2005-10-31 Patrick Lam <plam@mit.edu>
271 * src/fcfreetype.c (FcFreeTypeQuery):
273 Revert basename patch, which breaks fontconfig clients on my system.
275 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
278 * fontconfig/fonts.conf.in:
279 * fontconfig/fontconfig.h:
283 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
284 to load embedded bitmaps or not.
286 2005-10-25 Patrick Lam <plam@mit.edu>
287 * src/fcfreetype.c (FcFreeTypeQuery):
289 Only add basename to patterns' FC_FILE element, not any part of
292 2005-10-22 Patrick Lam <plam@mit.edu>
295 Add some more consts, fixing more GCC4 warnings.
297 2005-10-22 Zhe Su <zsu@novell.com>
300 Support localized font family and style names.
301 This has been reported to break old apps like xfd, but modern
302 (gtk+/qt/mozilla) apps work fine.
304 2005-10-21 Patrick Lam <plam@mit.edu>
305 * src/fccache.c (FcGlobalCacheLoad):
307 Destroy the global cache file if it's terminally broken. (reported by
310 2005-10-21 Patrick Lam <plam@mit.edu>
311 * fc-list/fc-list.c (main):
312 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
313 * fontconfig/fontconfig.h:
315 Prevent fc-list from escaping strings when printing them (reported by
318 2005-10-20 Marcus Meissner <meissner@suse.de>
321 * fontconfig/fontconfig.h:
323 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
325 2005-10-14 Ross Burton <ross@burtonini.com>
328 * fc-glyphname/fc-glyphname.c:
331 Add consts to variables so as to move arrays into .rodata.
333 2005-10-14 Mike Fabian <mfabian@suse.de>
336 * src/fccache.c (FcDirCacheUnlink):
338 Check existence of directory cache file before attempting to unlink.
340 2005-10-13 Patrick Lam <plam@mit.edu>
341 * src/fccache.c (FcDirCacheUnlink):
343 Fix flipped return value on unlink. (Reported by Mike Fabian)
345 2005-10-12 Patrick Lam <plam@mit.edu>
348 * src/fcdir.c (FcDirScanConfig):
351 When fc-cache is run without --force, use directory cache files
352 to speed up fc-cache run time. (Reported by Mike Fabian)
354 2005-10-06 Patrick Lam <plam@mit.edu>
356 * src/fcname.c (FcObjectToPtr):
357 * src/fcpat.c (FcStrStaticName):
359 Add padding to make valgrind and glibc not hate each other
360 when calling strlen().
362 2005-10-05 Simos Xenitellis <simos74@gmx.net>
363 reviewed by: plam & keithp
367 Modify config file to use Greek fonts before Asian fonts with
370 2005-10-05 Christian Biesinger <cbiesinger@web.de>
371 reviewed by: plam & keithp
375 Use libtool -no-undefined flag on all platforms.
377 2005-10-05 Patrick Lam <plam@mit.edu>
378 * src/fccache.c (FcCacheHaveBank):
380 Implement move-to-front array for banks (perf regression
381 reported by Ronny V. Vindenes).
383 2005-10-04 Patrick Lam <plam@mit.edu>
384 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
385 FcDirCacheHasCurrentArch):
386 * fc-cache/fc-cache.c (scanDirs):
387 * fontconfig/fontconfig.h:
389 Add new API which unlinks directory caches and checks dir caches
390 for existence of appropriate sections. Fix fc-cache to unlink
391 stale cache files and save directory caches that lack relevant
394 2005-10-03 Patrick Lam <plam@mit.edu>
395 * src/fccache.c (FcDirCacheValid):
397 Ensure that a directory cache has the appropriate section
398 before reporting that it is valid (reported by Matthias Clasen).
400 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
408 Use libxml2 if requested (with --enable-libxml2) or if
409 expat is not available.
411 2005-09-29 Patrick Lam <plam@mit.edu>
412 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
414 Fix multi-arch cache files: compute the position for the
415 block to be added using info from OrigFile, not NewFile.
417 2005-09-28 Patrick Lam <plam@mit.edu>
418 * src/fccache.c (FcCacheMachineSignature):
420 Cast results of sizeof() to unsigned int to get rid of
421 warnings on x86_64 (thanks Matthias Clasen).
423 2005-09-27 Patrick Lam <plam@mit.edu>
424 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
427 Use FcAtomic to rewrite cache files.
429 2005-09-27 Patrick Lam <plam@mit.edu>
431 * src/fccache.c (FcDirCacheWrite):
433 Don't unlink the fonts.cache-2 file even if there's no data
434 to write; just write an empty cache file. (thanks Lubos Lunak)
436 2005-09-27 Patrick Lam <plam@mit.edu>
438 * src/fccache.c (FcDirCacheWrite):
440 Allocate room for the subdirectory names in each
441 directory cache. Thanks to James Cloos for finding
442 and diagnosing this bug!
444 2005-09-22 Patrick Lam <plam@mit.edu>
446 * fc-cache/fc-cache.sgml:
447 * src/fccache.c (FcDirCacheWrite):
448 * src/fccache.h (struct FcCache):
450 Update documentation -- fc-cache's man page now says that you
451 need to run fc-cache once per cached architecture; add some
452 documentation to the FcCache structure.
454 Make fc-cache write out fonts.cache-2 files for directories with
455 no fonts (i.e. only subdirectories).
457 2005-09-22 Patrick Lam <plam@mit.edu>
459 * fc-cache/fc-cache.sgml:
461 * fc-glyphname/fc-glyphname.c:
467 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
472 * fontconfig/fcprivate.h:
473 * fontconfig/fontconfig.h:
487 Implement new mmaped cache for font information.
488 Bump so revision to 2.3.90.
490 2005-07-25 Keith Packard <keithp@keithp.com>
492 * doc/fontconfig-user.sgml:
493 * fc-glyphname/fc-glyphname.c: (scan), (main):
494 * fc-lang/fc-lang.c: (FcConfigHome):
495 * fc-match/fc-match.c: (main):
496 * src/fccfg.c: (FcConfigHome):
497 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
498 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
499 (addtag), (FcFontCapabilities):
500 * src/fcpat.c: (FcValueListEntCreate):
501 * src/fcstr.c: (FcStrCaseWalkerInit):
502 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
504 Various GCC 4 cleanups for signed vs unsigned char
506 Match only [0-9]*.conf files in <include>{directory}</include>
507 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
509 2005-07-15 Carl Worth <cworth@cworth.org>
512 * src/fcinit.c: (FcFini):
513 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
516 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
517 Pull the FcObjectStateName hash table out to file scope, and add
518 FcObjectStaticNameFini so that FcFini will cleanup this hash table
521 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
524 2005-06-16 Patrick Lam <plam@MIT.EDU>
528 * src/fccfg.c: (FcConfigCompareValue):
529 Make FcOpNotContains use FcStrStr for strings so that
530 it matches semantics for !FcOpContains.
532 2005-05-20 Keith Packard <keithp@keithp.com>
536 Move fontconfig source package to libs as per override
538 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
540 reviewed by: Mike Fabian
543 The ka.orth file requires several characters which are not
544 used anymore in modern Georgian and which are missing in the free
545 Georgian TrueType fonts downloadable at:
547 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
549 2005-04-27 Keith Packard <keithp@keithp.com>
553 Update date to real 2.3.2 release date.
554 Fix change attributions
556 2005-04-27 Keith Packard <keithp@keithp.com>
559 Bump so revision for 2.3.2
560 * fc-cache/fc-cache.c: (scanDirs):
561 Fix a few minor leaks in error cases.
563 2005-04-23 Keith Packard <keithp@keithp.com>
568 * fontconfig/fontconfig.h:
569 Update for version 2.3.2
571 2005-04-21 Keith Packard <keithp@keithp.com>
573 * debian/fontconfig.postinst:
574 Don't force bitmap font enable in default
575 configuration; allows users to override this in
585 * debian/po/pt_BR.po:
586 * debian/po/templates.pot:
588 * debian/po/zh_CN.po:
591 * fc-cache/fc-cache.c: (main):
592 Destroy font configuration on exit to help valgrind
595 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
596 (FcFreeTypeCheckGlyph):
597 Use own transcoding routines in preference to iconv
598 which appears to have leaks in some translators.
599 Call iconv_close after using iconv (oops).
601 Prefer unicode encoding of Euro char as some
602 fonts mis-encode Euro in other ones.
604 Must fetch bitmap glyphs to get width values
605 to check for monospace/dual-width fonts.
607 2005-04-13 Ross Burton <ross@burtonini.com>
610 Check that a pattern isn't already frozen in FcPatternFreeze.
612 2005-03-31 Ross Burton <ross@burtonini.com>
617 Run all FcPattern objects through FcObjectStaticName, so that
618 compares can be done on pointers instead of strings (#2659)
620 2005-03-17 Tor Lillqvist <tml@novell.com>
622 * src/fontconfig.def.in: Add the .dll to the dll name.
624 2005-03-10 Keith Packard <keithp@keithp.com>
626 * debian/README.Debian:
627 Update to reflect configuration changes
629 * debian/fontconfig.postinst:
630 Fix Autohint vs Autohinter mistake
631 * debian/fontconfig.templates:
632 Adopt changes from Josselin Mouette for configuration descriptions
633 Update debian to version 2.3.1-2
635 2005-03-08 Keith Packard <keithp@keithp.com>
639 Update debian for 2.3.1
641 2005-03-09 Tor Lillqvist <tml@novell.com>
643 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
646 * src/fccfg.c (FcConfigFileExists): Check also drive letter
649 2005-03-08 Keith Packard <keithp@keithp.com>
653 * fontconfig/fontconfig.h:
656 2005-03-05 Keith Packard <keithp@keithp.com>
658 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
659 Include space and remove numbers from valid script tags.
660 This ensures that tags like 'lao ' work while rejecting
661 those which have any digits.
662 Eliminate a spurious debugging variable (len)
664 2005-03-05 Keith Packard <keithp@keithp.com>
666 * src/fcfreetype.c: (addtag), (GetScriptTags),
667 (FcFontCapabilities):
668 Rework GSUB/GPOS script parsing to survive broken fonts.
669 Thanks for the broken font go to Manish Singh
671 2005-03-05 Keith Packard <keithp@keithp.com>
676 * debian/fontconfig.config:
677 * debian/fontconfig.templates:
679 Include 2.3 release information in changelog
680 Add Josselin Mouette as an Uploader
681 Set hinting_type to low priority configuration option
684 * debian/fontconfig.postinst:
685 yes_bitmaps.conf -> yes-bitmaps.conf
691 2005-03-02 Keith Packard <keithp@keithp.com>
694 * conf.d/Makefile.am:
695 * conf.d/autohint.conf:
696 * conf.d/no-sub-pixel.conf:
697 * conf.d/sub-pixel.conf:
698 * conf.d/unhinted.conf:
699 * debian/autohint.conf:
700 * debian/fontconfig.install:
701 * debian/fontconfig.postinst:
702 * debian/fontconfig.templates:
703 * debian/no-sub-pixel.conf:
704 * debian/unhinted.conf:
705 Move debian-specific conf file examples upstream.
707 Sub-pixel configuration examples must smash subpixel value
708 as Xft always sets it from X.
710 Change sub-pixel rendering debconf descriptions from
711 Enable/Disable to Always/Never.
713 2005-03-02 Keith Packard <keithp@keithp.com>
718 Ignore more build detritus
721 Add debian package construction stuff.
723 * config/config.guess:
725 Update to newer versions of these tools
728 Get library manuals to build again (we love automake).
730 * debian/README.Debian:
731 * debian/autohint.conf:
736 * debian/fontconfig-udeb.install:
737 * debian/fontconfig.config:
738 * debian/fontconfig.defoma:
739 * debian/fontconfig.dirs:
740 * debian/fontconfig.install:
741 * debian/fontconfig.postinst:
742 * debian/fontconfig.postrm:
743 * debian/fontconfig.templates:
744 * debian/libfontconfig1-dev.install:
745 * debian/libfontconfig1.install:
746 * debian/local.conf.md5sum:
747 * debian/no-sub-pixel.conf:
748 * debian/po/POTFILES.in:
757 * debian/po/pt_BR.po:
758 * debian/po/templates.pot:
760 * debian/po/zh_CN.po:
762 * debian/unhinted.conf:
763 Update debian build system to switch maintainers and
764 deal with 2.3 functionality
766 2005-03-01 Keith Packard <keithp@keithp.com>
770 * fontconfig/fontconfig.h:
773 2005-03-01 Keith Packard <keithp@keithp.com>
776 Generate and install PDF versions of the manuals
778 * doc/fcpattern.fncs:
782 Add missing exported functions, fix data types
784 * doc/fontconfig-devel.sgml:
785 Add missing pattern elements.
787 * doc/fontconfig-user.sgml:
788 Add missing pattern elements. Document conf.d usage,
789 clarify available orthography list. Fix some config file
790 attributes. Complete list of constants.
792 * fontconfig/fontconfig.h:
793 Mark FC_SOURCE deprecated.
795 * src/fcfreetype.c: (FcFreeTypeQuery):
796 Don't set FC_SOURCE any longer.
798 2005-02-28 Keith Packard <keithp@keithp.com>
801 * conf.d/Makefile.am:
803 * conf.d/no-bitmaps.conf:
804 * conf.d/sub-pixel.conf:
805 * conf.d/yes-bitmaps.conf:
807 Create prototype /etc/fonts/conf.d directory with a few
808 sample configuration files.
809 Deprecate use of local.conf for local customizations in favor of
810 this directory based scheme which is more easily integrated into
811 installation systems.
814 Tag FC_EMBOLDEN as a boolean variable
816 2005-02-10 Keith Packard <keithp@keithp.com>
818 reviewed by: pborelli@katamail.com
820 * src/fcdir.c: (FcFileScanConfig):
821 Free patterns from fonts which are rejected by configuration
824 2005-01-28 Keith Packard <keithp@keithp.com>
828 * fontconfig/fontconfig.h:
829 Update for version 2.2.99
831 2005-01-28 Keith Packard <keithp@keithp.com>
834 Add a few pointers (#2284, #2285)
836 2005-01-28 Keith Packard <keithp@keithp.com>
839 * src/fcname.c: (FcNameBool):
840 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
841 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
842 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
843 Polite typechecking for test and edit expressions. Helps
844 catch errors in the font configuration. (bug 229)
846 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
848 reviewed by: Keith Packard <keithp@keithp.com>
851 Have --with-expat set EXPAT_CFLAGS (bug 2278)
853 2005-01-13 Keith Packard <keithp@keithp.com>
855 * doc/fontconfig-user.sgml:
856 Add SEE ALSO section (bug 2085)
858 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
860 reviewed by: Keith Packard <keithp@keithp.com>
865 * fc-case/Makefile.am:
866 * fc-glyphname/Makefile.am:
867 * fc-lang/Makefile.am:
868 * src/fontconfig.def.in:
869 Cross compiling fixes (bug 280)
871 2005-01-13 Keith Packard <keithp@keithp.com>
874 Update blanks list (Closes bug 86)
876 2005-01-04 Keith Packard <keithp@keithp.com>
878 * src/fccache.c: (FcCacheFontSetAdd):
879 Verify that every font pattern loaded from cache has
880 both FC_FILE and FC_FAMILY entries.
881 Attempt to fix bug #2219.
883 2004-12-29 Keith Packard <keithp@keithp.com>
887 * fontconfig/fontconfig.h:
888 Update for version 2.2.98
890 2004-12-29 Keith Packard <keithp@keithp.com>
892 * fontconfig/fontconfig.h:
893 Document ASCII limitations of Fc character conversion macros
894 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
895 Fix off-by-one error in utf-8 case walking code.
896 Add FcStrDowncase (useful for testing case conversion functions)
898 2004-12-29 Keith Packard <keithp@keithp.com>
901 * fc-case/.cvsignore:
902 clean up CVS ignore lists
903 * fc-lang/iso-3166.txt:
904 Add territory database
906 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
908 Reviewed by: Keith Packard
911 Remove Han characters from Korean orthography
913 2004-12-29 Keith Packard <keithp@keithp.com>
916 Reorder utility programs to make sure fc-case is run before fc-lang
917 as fc-lang uses fcstr.c which uses fccase.h
921 2004-12-29 Keith Packard <keithp@keithp.com>
924 Adopt some RedHat suggestions for standard font configuration.
928 * fc-case/CaseFolding.txt:
929 * fc-case/Makefile.am:
930 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
931 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
932 (dump), (parseRaw), (caseFoldReadRaw), (main):
933 * fc-case/fccase.tmpl.h:
934 Add new helper program 'fc-case' to construct case folding
935 tables from standard Unicode CaseFolding.txt file
938 * src/fclist.c: (FcListValueHash):
939 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
940 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
941 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
942 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
943 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
944 Re-implement case insensitive functions with Unicode
945 aware versions (including full case folding mappings)
947 2004-12-13 Keith Packard <keithp@keithp.com>
949 reviewed by: Owen Taylor <otaylor@redhat.com>
951 * src/fcmatch.c: (FcFontSetSort):
952 I changed FcFontSetSort to respect the generic aliases better
953 in the face of language matching.
955 What I did was to ammend the strict sort order used by FcFontSort so
956 that it 'satisfies' the language specified in the pattern by locating
957 the best matching font supporting each pattern language and then
958 ignores language in the remaining fonts for purposes of matching.
960 So, when asking for 'sans:lang=en', you'll get an English font first,
961 and then the remaining fonts sorted with respect to the 'sans' alias
962 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
964 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
966 reviewed by: Keith Packard <keithp@keithp.com>
968 * fontconfig/fontconfig.h:
971 Configuration changes to request synthetic emboldening of
972 fonts. The actual emboldening code will live in Xft.
974 2004-12-09 John Thacker <thacker@math.cornell.edu>
976 reviewed by: Keith Packard <keithp@keithp.com>
980 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
981 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
982 и), and don't even appear in KOI8-R. (The hypothesis that they
983 don't appear in KOI8-R due to their similarity with Latin I and i is
984 eliminated by their presence in KOI8-U.) I have a couple of fonts
985 with Russian support that don't have the letter.
987 Therefore, 0406 and 0456 should be removed from or commented out of
990 2004-12-06 michael meeks <mmeeks@novell.com>
992 Reviewed by: Keith Packard <keithp@keithp.com>
994 * src/fcinit.c: (FcMemReport):
996 * src/fclist.c: (FcObjectSetAdd):
997 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
998 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
999 * src/fcxml.c: (FcParsePatelt):
1000 memoize strings and share a single copy for all uses. Note that
1001 this could be improved further by using statically allocated blocks
1002 and gluing multiple strings together, but I'm basically lazy.
1003 In my environment with 800 font files, I get a savings of about 90KB.
1005 2004-12-06 Keith Packard <keithp@keithp.com>
1009 * config/Makedefs.in:
1012 * doc/fcatomic.fncs:
1013 * doc/fcblanks.fncs:
1014 * doc/fccharset.fncs:
1015 * doc/fcconfig.fncs:
1016 * doc/fcconstant.fncs:
1018 * doc/fcfontset.fncs:
1019 * doc/fcfreetype.fncs:
1021 * doc/fcmatrix.fncs:
1022 * doc/fcobjectset.fncs:
1023 * doc/fcobjecttype.fncs:
1024 * doc/fcpattern.fncs:
1025 * doc/fcstring.fncs:
1026 * doc/fcstrset.fncs:
1028 * doc/fontconfig-devel.sgml:
1029 * doc/fontconfig-user.sgml:
1031 * doc/version.sgml.in:
1032 * fc-cache/Makefile.am:
1033 * fc-cache/fc-cache.c:
1034 * fc-glyphname/Makefile.am:
1035 * fc-glyphname/fc-glyphname.c:
1036 * fc-glyphname/fcglyphname.tmpl.h:
1037 * fc-lang/Makefile.am:
1047 * fc-lang/az_ir.orth:
1081 * fc-lang/fc-lang.c:
1082 * fc-lang/fc-lang.man:
1083 * fc-lang/fclang.tmpl.h:
1128 * fc-lang/ku_ir.orth:
1161 * fc-lang/ps_af.orth:
1162 * fc-lang/ps_pk.orth:
1191 * fc-lang/ti_er.orth:
1192 * fc-lang/ti_et.orth:
1218 * fc-lang/zh_cn.orth:
1219 * fc-lang/zh_hk.orth:
1220 * fc-lang/zh_mo.orth:
1221 * fc-lang/zh_sg.orth:
1222 * fc-lang/zh_tw.orth:
1224 * fc-list/Makefile.am:
1225 * fc-list/fc-list.c:
1226 * fc-match/Makefile.am:
1227 * fc-match/fc-match.1:
1228 * fc-match/fc-match.c:
1229 * fontconfig/fcfreetype.h:
1230 * fontconfig/fcprivate.h:
1231 * fontconfig/fontconfig.h:
1252 Change files from ISO-Latin-1 to UTF-8
1254 2004-12-04 Keith Packard <keithp@keithp.com>
1257 Update links to new freedesktop.org locations
1259 Add uninstall-local to get rid of fonts.conf and local.conf if they
1260 match the distributed versions. Fixes 'make distcheck'
1262 2004-12-04 Keith Packard <keithp@keithp.com>
1266 * fontconfig/fontconfig.h:
1267 Updates for version 2.2.97
1269 2004-12-04 Owen Taylor <otaylor@redhat.com>
1271 reviewed by: Keith Packard <keithp@keithp.com>
1273 * fc-cache/fc-cache.c: (main):
1274 Sleep for two seconds before exiting to make sure timestamps
1275 for future changes have distinct mod times in the file system.
1278 Add Punjabi orthography. Bug #1671.
1280 2004-12-04 Keith Packard <keithp@keithp.com>
1283 Just remove the FC_FONTDATE -- it has locale issues and
1284 annoys redhat multi-arch installs. Now that all X fonts are
1285 included without prejudice, the chances of the date being at
1286 all interesting are rather limited. Bug #505.
1288 Add copyright and license
1290 2004-12-04 Keith Packard <keithp@keithp.com>
1293 Change default set of fonts to include all of
1294 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1295 * doc/fontconfig-user.sgml:
1296 Document new <include>directory-name</include> semantics
1298 add <include ignore_missing="yes">conf.d</include>
1300 Add selectfont to ignore bitmap fonts, add comment for
1301 selectfont which accepts bitmap fonts.
1304 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1305 Allow <include> configuration elements to reference directories.
1306 Parse and load all files of the form [0-9]* in sorted order.
1308 2004-12-04 Keith Packard <keithp@keithp.com>
1311 Report command line for $srcdir/configure accurately.
1314 2004-12-04 Keith Packard <keithp@keithp.com>
1316 * src/fcfreetype.c: (FcFreeTypeQuery):
1317 Check for non-empty face->family_name and face->style_name
1318 before using those for the font. Empty names match everything.
1321 2004-12-04 Keith Packard <keithp@keithp.com>
1324 * fontconfig/fontconfig.h:
1325 * src/fcfreetype.c: (FcFreeTypeQuery):
1327 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1328 available. This provides font file format information (BDF, Type 1,
1329 PCF, TrueType) for each font. Closes #109.
1331 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1333 reviewed by: Keith Packard <keithp@keithp.com>
1335 * doc/fontconfig-user.sgml:
1338 * fontconfig/fontconfig.h:
1339 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1340 (GetScriptTags), (FcFontCapabilities):
1342 Add detection for font capabilities (bug #105)
1344 2004-12-04 Keith Packard <keithp@keithp.com>
1347 Move existing fonts.conf to fonts.conf.bak
1350 Add detection of iconv
1352 * doc/fcpattern.fncs:
1353 * doc/fontconfig-devel.sgml:
1354 * doc/fontconfig-user.sgml:
1356 Document new selectfont elements
1359 Switch to UTF-8 in comment
1361 * fontconfig/fontconfig.h:
1363 Add fullname, and family/style/fullname language entries
1365 * src/fccache.c: (FcCacheFontSetAdd):
1366 * src/fcdir.c: (FcFileScanConfig):
1367 Respect selectfont/*/glob
1370 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1371 (FcConfigCompareValue), (FcConfigPatternsAdd),
1372 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1373 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1374 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1375 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1376 Add support for selectfont
1378 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1379 (FcStringInPatternElement), (FcFreeTypeQuery):
1380 Add multi-lingual family/style/fullname support
1382 * src/fclist.c: (FcListPatternMatchAny):
1383 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1385 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1386 (FcObjectStaticName):
1387 Add new FcPatternRemove/FcPatternAppend.
1388 FcObjectStaticName stores computed pattern element names which
1389 are required to be static.
1391 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1396 Remove spurious / after $(DESTDIR)
1398 2004-06-30 Keith Packard <keithp@keithp.com>
1402 * fontconfig/fontconfig.h:
1405 2004-06-30 Keith Packard <keithp@keithp.com>
1407 Provided by: Lubos Lunak <l.lunak@suse.cz>
1409 * src/fccfg.c: (FcConfigUptoDate):
1410 However FcConfigUptoDate() doesn't seem to work. See the attached
1411 patch. First there's an obvious misplaced parenthesis making it
1412 return always false, and second, even this call fails to detect font
1413 changes (e.g. adding a new font to
1414 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1415 well. The problem seems to be triggered by my fonts.conf specifying
1416 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1417 doesn't include subdirs, unlike config->fontDirs.
1419 2004-06-03 Keith Packard <keithp@keithp.com>
1421 * fontconfig/fontconfig.h:
1422 Remove comma at end of FcResult enum definition.
1424 2004-05-29 Keith Packard <keithp@keithp.com>
1427 Add steps to md5sum release
1429 2004-05-29 Keith Packard <keithp@keithp.com>
1433 * fontconfig/fontconfig.h:
1436 2004-05-29 Keith Packard <keithp@keithp.com>
1438 * fontconfig/fontconfig.h:
1439 * src/fcmatch.c: (FcFontSetMatch):
1440 Add FcResultOutOfMemory to provide an accurate error when
1441 FcFontSetMatch fails in this way
1444 Make #warning about lacking various FreeType features indicate
1445 which version those features appeared so users know how to
1446 fix the problem (Thanks to Anton Tropashko)
1448 2004-05-05 Keith Packard <keithp@keithp.com>
1450 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1451 Replace MIN/MAX/ABS macros which happen to have come
1452 from FreeType with fontconfig-specific ones (FC_*)
1454 2004-04-23 Keith Packard <keithp@keithp.com>
1457 Extend release preparation instructions to include
1458 notification and distribution steps
1460 2004-04-23 Keith Packard <keithp@keithp.com>
1464 * fontconfig/fontconfig.h:
1465 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1467 2004-04-23 Keith Packard <keithp@keithp.com>
1470 Ignore a few more autotool files
1472 2004-04-14 Keith Packard <keithp@keithp.com>
1475 Add instructions for doing a release
1477 * fontconfig.spec.in:
1478 clean up .spec file; perhaps this will be useful to somebody...
1482 * fontconfig/fontconfig.h:
1485 * fc-lang/fc-lang.c:
1486 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1488 * fc-glyphname/Makefile.am:
1489 * fc-lang/Makefile.am:
1490 * fc-list/Makefile.am:
1491 * fc-match/Makefile.am:
1493 Add WARN_CFLAGS to pass -W flags for GCC systems
1495 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1496 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1497 Change various char types around to match across
1499 Fixed bug in using available_sizes[i].height which
1500 is in pixels, not 64ths of a pixel.
1502 2004-03-06 Keith Packard <keithp@keithp.com>
1504 * src/fcfreetype.c: (FcFreeTypeQuery):
1505 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1506 matches looking for explicit values prefer exact matches
1508 2004-03-02 Keith Packard <keithp@keithp.com>
1510 Supplied by: mfabian@suse.de (Mike FABIAN)
1512 * src/fcfreetype.c: (FcFreeTypeQuery):
1513 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1514 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1516 2004-02-21 Manish Singh <yosh@gimp.org>
1518 * fc-glyphname/fc-glyphname.c: (main):
1519 Cast strlen to int for printf, so we're 64-bit clean.
1521 2004-02-11 Keith Packard <keithp@keithp.com>
1524 * src/fcfreetype.c: (FcGetPixelSize):
1525 Ok, so I messed up the test for y_ppem. Let's see if I
1526 got it right this time.
1528 2004-02-10 Keith Packard <keithp@keithp.com>
1531 * src/fcfreetype.c: (FcGetPixelSize):
1532 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1533 FT_Bitmap_Size record. Add a configure.in test for this
1534 and change the code accordingly (using height instead).
1536 2004-02-06 Keith Packard <keithp@keithp.com>
1539 Add Low Saxon orthography
1540 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1542 * src/fccfg.c: (FcConfigNewestFile):
1543 Oops. Left 'newest.set' unset, which would miscompute
1546 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1547 (FcFreeTypeCheckGlyph):
1548 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1549 font properties (which report the wrong value in current FreeType)
1551 Don't attempt to check for empty glyphs in non-scalable fonts; they
1554 2004-02-01 Tor Lillqvist <tml@iki.fi>
1556 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1557 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1558 cache if config->cache is NULL, which happens if FcConfigHome() is
1559 NULL. Guard against that by using the temp folder in that case.
1561 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1563 * fc-lang/az_ir.orth:
1564 * fc-lang/ku_ir.orth:
1565 * fc-lang/ps_af.orth:
1566 * fc-lang/ps_pk.orth:
1567 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1568 (Afghan and Pakistani).
1570 Updated Urdu orthography with real data.
1572 2003-12-11 Carl Worth <cworth@east.isi.edu>
1574 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1577 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1579 (all-local): Remove excessive whitespace.
1581 * autogen.sh: Add 'set -e' to abort when any program fails,
1582 (avoids printing of 'now type make' after configure aborts).
1584 2003-11-17 Eric Christopherson <rakko@charter.net>
1586 reviewed by: Keith Packard <keithp@keithp.com>
1589 * fontconfig/fcfreetype.h:
1591 Switch to FreeType 2.1.7 style includes. Bug #150.
1593 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1595 * fc-list/fc-list.sgml: Add some example usages.
1597 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1600 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1603 2003-10-27 Keith Packard <keith@keithp.com>
1606 * fontconfig/fontconfig.h:
1607 Update to version 2.2.92
1609 2003-10-27 Keith Packard <keithp@keithp.com>
1614 * fc-cache/Makefile.am:
1615 * fc-glyphname/Makefile.am:
1616 * fc-lang/Makefile.am:
1617 * fc-list/Makefile.am:
1618 * fc-match/Makefile.am:
1621 Yet more cleanups to finish getting 'make distcheck' working
1622 This has been tested to ensure that it even works from a _build
1625 2003-10-26 Keith Packard <keithp@keithp.com>
1629 * fc-cache/Makefile.am:
1630 * fc-glyphname/Makefile.am:
1631 * fc-lang/Makefile.am:
1632 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1633 * fc-list/Makefile.am:
1634 * fc-match/Makefile.am:
1635 Attempts to fix 'make distcheck' work. Things are
1636 progressing pretty well, but there are still failures
1637 long into the process dealing with docs (as always).
1639 The big changes here are mostly to make $(srcdir) != "."
1640 work correctly, fixing the docbook related sections and
1641 fc-lang were particularily tricky. Docbook refuses to load
1642 system entities from anywhere other than where the original .sgml
1643 file was located, so no luck looking in "." for the
1644 configure-generated version.sgml and confdir.sgml files.
1646 fc-lang needed help finding .orth files; added a -d option
1647 to set the directory as the least evil of many options.
1649 Now to go use a faster machine and try and wring out the last
1652 2003-10-26 Keith Packard <keithp@keithp.com>
1656 2003-10-26 Keith Packard <keithp@keithp.com>
1659 Include confdir.sgml.in in EXTRA_DIST
1661 2003-10-09 Josselin Mouette <joss@debian.org>
1663 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1664 * fc-list/fc-list.sgml fc-list/Makefile.am:
1665 Replace fc-cache and fc-list manpages with more detailed, SGML
1668 2003-09-23 Owen Taylor <otaylor@redhat.com>
1670 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1671 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1672 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1675 2003-09-23 Owen Taylor <otaylor@redhat.com>
1677 * fc-lang/ka.orth: Remove Georgian capitals, they
1678 aren't used for normal writing. (Bug #116)
1680 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1682 * doc/fontconfig-devel.sgml:
1683 * doc/fontconfig-user.sgml:
1684 * fontconfig/fontconfig.h:
1686 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1687 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1689 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1690 monospace and dual-width fonts, allow roughly a 3% variance in the
1693 2003-08-31 Manish Singh <yosh@gimp.org>
1695 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1698 2003-08-15 Carl Worth <cworth@isi.edu>
1700 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1701 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1703 * src/fcpat.c (FcValueListEntDestroy): New function to support
1704 FcFini memory cleanup. Some statistics are not kept in
1706 (FcValueListFreeze): Move hashTable outside this function so it
1707 can be accessed by FcValueListThawAll.
1708 (FcValueListThawAll): New function complements FcValueListFreeze.
1709 (FcPatternBaseFreeze): Move hashTable outside this function so it
1710 can be accessed by FcPatternBaseThawAll.
1711 (FcPatternBaseThawAll): New function complements
1712 FcPatternBaseFreeze.
1713 (FcPatternThawAll): New function complements FcPatternFreeze.
1715 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1717 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1718 allocated FcCharLeafEnt "blocks" so they can be freed later.
1719 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1720 can be accessed by FcCharSetThawAllLeaf.
1721 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1722 (FcCharSetFreezeBase): Move hashTable outside this function so it
1723 can be accessed by FcCharSetThawAll.
1724 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1726 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1727 (FcConfigDestroy): Fic leak of FcBlanks.
1729 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1730 (main): Add call to FcFini when finished.
1732 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1733 static. Add prototypes.
1735 * doc/fcinit.fncs: Add documentation for FcFini function.
1737 * doc/edit-sgml.c: Mark several local functions as static. Add
1740 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1742 2003-06-15 Tor Lillqvist <tml@iki.fi>
1744 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1745 before comparing (needed on Windows).
1747 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1749 2003-06-13 Tor Lillqvist <tml@iki.fi>
1751 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1754 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1755 WINDOWSFONTDIR token.
1757 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1758 end, not to confuse libtool, which expects the EXPORTS line to be
1759 the first. Add FcConfigEnableHome.
1761 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1762 built as a DLL on Win32.
1764 2003-06-09 Keith Packard <keithp@keithp.com>
1766 * Tag version 2.2.90
1768 2003-06-09 Keith Packard <keithp@keithp.com>
1770 * Optimization in FcLangSetIndex was broken, occasionally
1771 returning a pointer to the wrong location on miss
1773 * Add fc-match to test font matching from the command line.
1775 2003-05-31 Keith Packard <keithp@keithp.com>
1777 * (Bug 85) add support for culmus fonts
1778 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1779 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1781 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1783 * Fix "contains" op for strings and langsets.
1785 2003-05-17 Keith Packard <keithp@keithp.com>
1787 * Fix build error with BDF prop local. Free langset after query
1789 2003-05-14 Keith Packard <keithp@keithp.com>
1791 * Extract spacing from XLFD atom
1793 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1795 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1796 disappeared in 1.30.
1798 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1800 2003-05-12 Keith Packard <keithp@keithp.com>
1802 * Use FcIsWidth to share code
1804 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1805 misclassifying some Han fonts as monospaced.
1807 2003-05-07 Keith Packard <keithp@keithp.com>
1809 * Add filename-based accept/reject to ammend available fonts.
1811 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1812 older FreeType releases.
1814 2003-05-06 Keith Packard <keithp@keithp.com>
1816 * Remove 0b82 and Tamil numbers from tamil
1817 orthography (Jungshik Shin <jshin@mailaps.org>)
1819 2003-05-04 Keith Packard <keithp@keithp.com>
1821 + Map glyph names in fonts with adobe custom encoding to unicode
1823 2003-05-02 Keith Packard <keithp@keithp.com>
1825 * Add FC_WEIGHT_BOOK as weight 75
1827 2003-04-30 Keith Packard <keithp@keithp.com>
1829 * Typo in bitstream foundry name
1831 2003-04-24 Keith Packard <keithp@keithp.com>
1833 * Eliminate italic_angle check for PS fonts
1835 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1837 * Getting closer to fixing /etc/fonts hard-coding.
1839 2003-04-22 Keith Packard <keithp@keithp.com>
1841 * Update autogen.sh to work with newer automake versions
1842 * Handle pattern elements moving during multiple edits
1844 2003-04-23 James Henstridge <james@daa.com.au>
1846 * doc/fontconfig-devel.sgml: close the <para> element.
1848 * doc/fcpattern.fncs: close the <para> element.
1850 * doc/func.sgml: close the <refsynopsisdiv> element.
1852 2003-04-22 Keith Packard <keithp@keithp.com
1854 * Update autogen.sh to work with newer automake versions
1855 * Handle pattern elements moving during multiple edits
1857 2003-04-17 Colin Walters <walters@debian.org>
1859 + Remove some unused variables, and initialize some other ones so
1860 gcc doesn't warn us.
1862 2003-04-16 Keith Packard <keithp@keithp.com>
1864 + tag version 2.1.94
1866 2003-04-16 Keith Packard <keithp@keithp.com>
1868 + add BDF property fetching support for foundry
1869 (from Juliusz Chroboczek)
1870 + add BDF property fetching support for width
1872 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1874 + Implemented foundry generation for Type 1 and TrueType
1876 2003-04-11 Gerard Escalante <g2@magestudios.net>
1878 + Retrieve information from Type1 FontInfo dictionaries
1880 2003-04-07 Colin Walters <walters@verbum.org>
1882 + src/Makefile.am: Fix dummy makefile target names when
1883 MS_LIB_AVAILABLE isn't set.
1885 2003-03-22 Tor Lillqvist <tml@iki.fi>
1887 Changes for Windows:
1889 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1891 + We don't want to hardcode the fonts.conf file location in the
1892 DLL, so we look up the DLL location at run-time in a DllMain()
1893 function. The fonts.conf location is deduced from that.
1895 + The colon can't be used as path separator on Windows,
1896 semicolon is used instead. File path components can be separated
1897 with either slash or backslash. Absolute paths can also begin
1898 with a drive letter.
1900 + Add internal function FcStrLastSlash that strrchr's the last
1901 slash, or backslash on Windows.
1903 + There is no link() on Windows. For atomicity checks, mkdir a
1904 lock directory instead.
1906 + In addition to HOME, also look for USERPROFILE.
1908 + Recognize the special font directory token WINDOWSFONTDIR, to
1909 use the system's font directory.
1911 + Remove the fontconfig-def.cpp that was obsolete. Add
1912 fontconfig.def(.in), without internal functions.
1914 + Add a fontconfig-zip(.in) script, used to build a binary
1917 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1918 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1919 to main package and man3/* to devel package
1921 + Added missing defattr(-, root, root) to main RPM package
1923 + Added HTML and text development documentation to -devel subpackage
1925 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1926 + Added back the configure macro options --disable-docs, otherwise
1927 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1928 version number) unconditionally, causing RPM to fail the build due
1929 to _unpackaged_files_terminate_build. We pick up the pregenerated
1930 docs with %doc already.
1932 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1933 + Removed commented out rpm macro define at top of spec file,
1934 replacing it with a simple explanation, since rpm macros are
1935 expanded by rpm even in comments.
1937 + Changed /usr/bin to _bindir in BuildRequires lines
1939 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1941 + Reorganized file manifest lists
1943 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1945 + fontconfig.spec.in: Improvements from Red Hat spec file.
1947 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1949 + docs/*.sgml: SGML fixes.
1951 Sat Mar 1 17:28:53 PST 2003 keithp
1952 + Ok, so the ChangeLog is a bit out of date
1954 + Lots of bugs fixed; most are in bugzilla, the
1955 biggest problems were in cache management where
1956 Owen discovered the library would lose badly when
1957 combining fonts-cache and ~/.fonts-cache data
1959 + Converted from autoconf to automake. This after
1960 getting patches accepted into libtool to allow
1961 the '-version-number' argument which lets
1962 packages set version numbers explicitly rather
1963 than the roundabout libtool way
1965 + Converted documentation to SGML using the docbook
1966 DTD. Now .txt and .html documents are installed
1967 in /usr/share/doc/fontconfig and there's no
1968 man page. Perhaps a man version can be written
1971 Sat Aug 31 15:21:22 PDT 2002 keithp
1972 + Xrender and Xft had several bugs related to
1973 rendering manually placed or poly-face text
1975 + Added more complete memory tracing in fontconfig
1976 Checked with (patched) mozilla and found no leaks
1978 + Updated Latin orthographies by comparing those from
1979 evertype.com with those from eki.ee. Tried to make
1980 sensible choices, including chars that occured in both
1981 and leaving some optional chars out that occured only
1984 Mon Aug 26 16:33:04 PDT 2002 keithp
1985 + Owen discovered that FcLangSetHasLang wasn't actually
1986 checking the language set.
1988 Mon Aug 26 13:37:23 PDT 2002 keithp
1989 + Append a version number to cache filenames
1991 Thu Aug 22 11:36:18 PDT 2002 keithp
1993 + Add "contains" and "not_contains" operators and elements to
1996 + Changed semantics of eq operator for LangSets to check for
1997 FcLangEqual so that any match will do
1999 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2000 of FcValueEqual to check for identical values when inserting into
2001 the results. This broke when the above semantic change was made,
2002 now it uses FcValueEqual which is "more correct" in any case.
2004 Thu Aug 22 00:32:29 PDT 2002 keithp
2006 + Reimplement FC_LANG as new datatype. Lists of strings
2007 was consuming over a megabyte of memory for 401 fonts.
2009 + Freeze patterns loaded from cache files. This shares
2010 common value lists and common patterns which saves
2011 considerable memory.
2013 + Change the denotation of 'constant' charsets to use special
2014 ref value instead of separate boolean.
2016 + Clean up leak tracing stuff, found several unannoted alloc/free
2019 Tue Aug 20 16:17:37 PDT 2002 keithp
2021 + Fix memory leak when parsing matrices from XML
2023 Mon Aug 19 11:57:27 PDT 2002 keithp
2025 + Fix autoconf files to pass FONTCONFIG_PATH on
2026 compile line so that ${prefix} gets substituted
2029 + Use getc_unlocked/putc_unlocked on systems that
2030 provide them to avoid damage done to stdio by posix
2032 + Eliminate FC_PATTERN and FcTypePattern in favor of
2033 an extended api for FcConfigSubstitute which takes
2034 both the font and the pattern.
2036 + Add 'sans serif' alias for 'sans-serif' as some apps
2037 can't handle hyphens in family names
2039 + Eliminate pretense of support for libxml2
2041 + Comment origins of Han orthographies
2043 Tue Jul 30 18:37:09 PDT 2002 keithp
2045 + Add binding property to edit element so that strong
2046 binding values may be inserted by the config file.
2047 The default remains weak.
2049 Sun 28 Jul 04:16:55 PDT 2002 keithp
2051 + Tagged release candidate 1 in the CVS tree and
2052 placed fcpackage.rc1.tar.gz for distribution
2054 Thu Aug 1 08:55:08 PDT 2002 keithp
2056 + Fixed autoconf builds to always specify install
2057 target files (for BSD). Also fixed to
2058 define FONTCONFIG_PATH in config.h so that
2059 nonstandard installs will actually work.