1 2005-11-24 Dirk Mueller <dmueller@suse.com>
4 * src/fcint.h, fontconfig/fontconfig.h:
6 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
8 * src/fcpat.c, src/fcint.h, src/fcname.c:
10 Check for type validity during FcPatternAddWithBinding, don't
11 verify type in FcFontMatch, don't call FcCanonicalize here
12 (which always does a deep copy).
14 2005-11-24 Dirk Mueller <dmueller@suse.com>
17 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
18 * src/fcpat.c (FcPatternAddWithBinding):
20 Make FcCompareString and FcCompareFamily less expensive.
21 Only add a value for FC_FAMILY if the proposed value is a string.
23 2005-11-24 Dirk Mueller <dmueller@suse.com>
26 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
27 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
28 * src/fcint.h (FcDebug):
30 Inline FcDebug invocations and only initialize once, in FcInit*.
31 Improve debug msg in FcPatternPrint.
33 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
36 * fontconfig/fontconfig.h:
39 Minor code warning cleanups.
41 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
44 * fc-match/fc-match.c (main):
46 Make getopt_long accept -s parameter to fc-match as well.
48 2005-11-21 Dirk Mueller <dmueller@suse.com>
51 * src/fcmatch.c (FcCompareValueList):
53 Manually perform inlining & partial redundancy elimination to
54 reduce calls to FcValueListPtrU.
56 2005-11-21 Dirk Mueller <dmueller@suse.com>
59 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
60 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
62 Only invoke strlen() when really necessary.
64 2005-11-19 Matthias Clasen <mclasen@redhat.com>
68 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
73 Get rid of the use of freetype internal headers in fcfreetype.c,
74 since those headers will go away with freetype 2.2. Replace with
75 public domain ftglue code from pango. Note that the patch removes
76 some extra error checking in FT_Get_BDF_Property() and comments
77 out the skipping of empty pcf fonts.
79 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
82 * fc-lang/fc-lang.c (main):
84 Further fix of patch from 2005-11-04: miscounted numbers count
85 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
86 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
88 Removed leafidx_count and numbers_count since they are the same
89 and replaced them with offset_count.
91 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
94 * fc-cat/fc-cat.c (main):
96 Don't crash when fc-cat invoked with no arguments.
98 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
101 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
103 Fix invalid read access caused by premature free and
104 GCC4 warnings in libxml2 codepath.
106 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
109 * src/fccfg.c (FcConfigValues):
111 List iteration not needed in FcConfigValues, since it's building
112 up the list itself; we can just strip FcVoid elements during
115 2005-11-17 Patrick Lam <plam@mit.edu>
116 * src/fccfg.c (FcConfigValues):
118 Fix crash on invalid constants in config files (forgot to update
119 a pointer upon list iteration.)
121 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
124 * src/fcxml.c (FcTypecheckExpr):
126 Complain about invalid constants in config files.
128 2005-11-17 Andreas Schwab <schwab@suse.de>
131 * src/fccache.c (FcGlobalCacheSave):
133 Don't add current_arch_start more than once.
135 2005-11-16 Patrick Lam <plam@mit.edu>
136 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
137 * src/fcfs.c (FcFontSetUnserialize):
138 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
139 * src/fcpat.c (FcStrUnserialize):
141 Fix ordering of ALIGN with respect to saving block_ptr; add
142 another ALIGN to fcfs.c.
144 2005-11-16 Patrick Lam <plam@mit.edu>
145 * src/fccache.c (FcDirCacheProduce)
147 Fix case where alignment bytes bumped up metadata->count
148 causing unwarranted failures to write cache files.
149 (Reported by Stephan Kulow).
151 2005-11-16 Patrick Lam <plam@mit.edu>
152 * src/fccache.c (FcDirCacheProduce):
153 * src/fccharset.c (FcCharSetDistributeBytes):
154 * src/fcfs.c (FcFontSetDistributeBytes):
156 * src/fclang.c (FcLangSetDistributeBytes):
157 * src/fcname.c (FcObjectDistributeBytes):
158 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
161 Add *NeededBytesAlign(), which overestimates the padding which is
162 later added by the new ALIGN macro. Fix alignment problems on
163 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
164 version by Andreas Schwab).
166 2005-11-16 Stephan Kulow <coolo@kde.org>
171 Use sysconf to determine proper PAGESIZE value; this
172 appears to be POSIX-compliant. (reported by Andreas Schwab)
174 2005-11-04 Patrick Lam <plam@mit.edu>
180 Fix bug 2878 (excessive relocations at startup for charsets,
181 reported by Ross Burton): fc-lang/fc-lang now creates the
182 static form of the langset, not the dynamic form, so that
183 the charsets should now be in .rodata.
185 2005-11-04 Patrick Lam <plam@mit.edu>
186 * src/fcdir.c (FcDirScanConfig):
188 Add test for validity of directory caches that
189 somehow got lost (reported by make distcheck).
191 2005-11-04 Patrick Lam <plam@mit.edu>
195 * fontconfig/fontconfig.h:
197 Bump version to 2.3.92.
199 2005-11-02 Patrick Lam <plam@mit.edu>
200 * src/fcpat.c (FcPatternDuplicate):
202 Fix argument ordering problem in call to FcPatternTransferFullFname.
204 2005-11-02 Patrick Lam <plam@mit.edu>
205 * src/fcfreetype.c (FcFreetypeQuery):
206 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
207 FcPatternTransferFullFname):
209 Fix warnings and embarrassing double-free error.
211 2005-11-02 Zhe Su <zsu@novell.com>
216 Change the rule for artificial emboldening in fonts.conf.in. This
217 enables the support for artificial emboldening included in cairo.
219 2005-11-02 Patrick Lam <plam@mit.edu>
220 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
222 Don't zero out full names for FC_REF_CONSTANT fonts;
223 also, duplicate full names when transferring, and free
224 full names when freeing the associated font.
225 Reported by Jinghua Luo.
227 2005-11-02 Patrick Lam <plam@mit.edu>
228 * fc-cache/fc-cache.c (scanDirs):
229 * src/fcpat.c (FcValueListSerialize):
231 Revert the previous patch and commit the correct patch:
232 I forgot a canonicalization in FcValueListSerialize, so
233 that it would choke on already-serialized input files. Duh!
235 2005-11-02 Patrick Lam <plam@mit.edu>
236 * fc-cache/fc-cache.c (scanDirs):
238 Forcibly rescan a directory before writing a fresh local
239 cache file for that directory, fixing the losing-fonts
240 problem reported by Mike Fabian and also apparently the
241 font cache file corruption.
243 2005-11-02 Patrick Lam <plam@mit.edu>
244 * src/fccache.c (FcGlobalCacheLoad):
246 Fix thinko: actually, the whole global cache is stale
247 if the global cache is older than the (newest) config file.
249 2005-11-02 Patrick Lam <plam@mit.edu>
250 * src/fccache.c (FcGlobalCacheLoad):
251 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
254 Declare the global cache of a directory's contents to be stale if
255 the directory is newer than the (newest) configuration file.
257 2005-10-31 Patrick Lam <plam@mit.edu>
259 * src/fclist.c (FcListAppend):
260 * src/fcmatch.c (FcFontRenderPrepare):
261 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
262 FcPatternFreeze, FcPatternBaseFreeze):
264 Copy the full pathname whenever duplicating an FcPattern; otherwise,
265 applications continue breaking.
267 2005-10-31 Patrick Lam <plam@mit.edu>
268 * fc-cat/fc-cat.c (FcCacheFileRead, main):
269 * src/fcfreetype.c (FcFreeTypeQuery):
271 Fix small memory error (tried to free argv); use basename and
272 dirname correctly (they can modify their arguments).
274 2005-10-31 Patrick Lam <plam@mit.edu>
282 Reinstate basename patch, but keep a hash table linking FcPatterns
283 to their fully-qualified font names for clients' benefit. Clients
284 only pay for the font names once they request the FC_FILE property
285 from an FcPattern, but the font name is malloc'd at that point (i.e.
286 not mmapped: that's impossible, since it may vary between machines.)
287 Clients do have to pay for a copy of the path name per cache file.
289 Note that FcPatternGetString now does some rewriting if you ask
290 for an FC_FILE, appending the pathname as appropriate.
292 2005-10-31 Patrick Lam <plam@mit.edu>
293 * src/fcfreetype.c (FcFreeTypeQuery):
295 Revert basename patch, which breaks fontconfig clients on my system.
297 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
300 * fontconfig/fonts.conf.in:
301 * fontconfig/fontconfig.h:
305 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
306 to load embedded bitmaps or not.
308 2005-10-25 Patrick Lam <plam@mit.edu>
309 * src/fcfreetype.c (FcFreeTypeQuery):
311 Only add basename to patterns' FC_FILE element, not any part of
314 2005-10-22 Patrick Lam <plam@mit.edu>
317 Add some more consts, fixing more GCC4 warnings.
319 2005-10-22 Zhe Su <zsu@novell.com>
322 Support localized font family and style names.
323 This has been reported to break old apps like xfd, but modern
324 (gtk+/qt/mozilla) apps work fine.
326 2005-10-21 Patrick Lam <plam@mit.edu>
327 * src/fccache.c (FcGlobalCacheLoad):
329 Destroy the global cache file if it's terminally broken. (reported by
332 2005-10-21 Patrick Lam <plam@mit.edu>
333 * fc-list/fc-list.c (main):
334 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
335 * fontconfig/fontconfig.h:
337 Prevent fc-list from escaping strings when printing them (reported by
340 2005-10-20 Marcus Meissner <meissner@suse.de>
343 * fontconfig/fontconfig.h:
345 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
347 2005-10-14 Ross Burton <ross@burtonini.com>
350 * fc-glyphname/fc-glyphname.c:
353 Add consts to variables so as to move arrays into .rodata.
355 2005-10-14 Mike Fabian <mfabian@suse.de>
358 * src/fccache.c (FcDirCacheUnlink):
360 Check existence of directory cache file before attempting to unlink.
362 2005-10-13 Patrick Lam <plam@mit.edu>
363 * src/fccache.c (FcDirCacheUnlink):
365 Fix flipped return value on unlink. (Reported by Mike Fabian)
367 2005-10-12 Patrick Lam <plam@mit.edu>
370 * src/fcdir.c (FcDirScanConfig):
373 When fc-cache is run without --force, use directory cache files
374 to speed up fc-cache run time. (Reported by Mike Fabian)
376 2005-10-06 Patrick Lam <plam@mit.edu>
378 * src/fcname.c (FcObjectToPtr):
379 * src/fcpat.c (FcStrStaticName):
381 Add padding to make valgrind and glibc not hate each other
382 when calling strlen().
384 2005-10-05 Simos Xenitellis <simos74@gmx.net>
385 reviewed by: plam & keithp
389 Modify config file to use Greek fonts before Asian fonts with
392 2005-10-05 Christian Biesinger <cbiesinger@web.de>
393 reviewed by: plam & keithp
397 Use libtool -no-undefined flag on all platforms.
399 2005-10-05 Patrick Lam <plam@mit.edu>
400 * src/fccache.c (FcCacheHaveBank):
402 Implement move-to-front array for banks (perf regression
403 reported by Ronny V. Vindenes).
405 2005-10-04 Patrick Lam <plam@mit.edu>
406 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
407 FcDirCacheHasCurrentArch):
408 * fc-cache/fc-cache.c (scanDirs):
409 * fontconfig/fontconfig.h:
411 Add new API which unlinks directory caches and checks dir caches
412 for existence of appropriate sections. Fix fc-cache to unlink
413 stale cache files and save directory caches that lack relevant
416 2005-10-03 Patrick Lam <plam@mit.edu>
417 * src/fccache.c (FcDirCacheValid):
419 Ensure that a directory cache has the appropriate section
420 before reporting that it is valid (reported by Matthias Clasen).
422 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
430 Use libxml2 if requested (with --enable-libxml2) or if
431 expat is not available.
433 2005-09-29 Patrick Lam <plam@mit.edu>
434 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
436 Fix multi-arch cache files: compute the position for the
437 block to be added using info from OrigFile, not NewFile.
439 2005-09-28 Patrick Lam <plam@mit.edu>
440 * src/fccache.c (FcCacheMachineSignature):
442 Cast results of sizeof() to unsigned int to get rid of
443 warnings on x86_64 (thanks Matthias Clasen).
445 2005-09-27 Patrick Lam <plam@mit.edu>
446 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
449 Use FcAtomic to rewrite cache files.
451 2005-09-27 Patrick Lam <plam@mit.edu>
453 * src/fccache.c (FcDirCacheWrite):
455 Don't unlink the fonts.cache-2 file even if there's no data
456 to write; just write an empty cache file. (thanks Lubos Lunak)
458 2005-09-27 Patrick Lam <plam@mit.edu>
460 * src/fccache.c (FcDirCacheWrite):
462 Allocate room for the subdirectory names in each
463 directory cache. Thanks to James Cloos for finding
464 and diagnosing this bug!
466 2005-09-22 Patrick Lam <plam@mit.edu>
468 * fc-cache/fc-cache.sgml:
469 * src/fccache.c (FcDirCacheWrite):
470 * src/fccache.h (struct FcCache):
472 Update documentation -- fc-cache's man page now says that you
473 need to run fc-cache once per cached architecture; add some
474 documentation to the FcCache structure.
476 Make fc-cache write out fonts.cache-2 files for directories with
477 no fonts (i.e. only subdirectories).
479 2005-09-22 Patrick Lam <plam@mit.edu>
481 * fc-cache/fc-cache.sgml:
483 * fc-glyphname/fc-glyphname.c:
489 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
494 * fontconfig/fcprivate.h:
495 * fontconfig/fontconfig.h:
509 Implement new mmaped cache for font information.
510 Bump so revision to 2.3.90.
512 2005-07-25 Keith Packard <keithp@keithp.com>
514 * doc/fontconfig-user.sgml:
515 * fc-glyphname/fc-glyphname.c: (scan), (main):
516 * fc-lang/fc-lang.c: (FcConfigHome):
517 * fc-match/fc-match.c: (main):
518 * src/fccfg.c: (FcConfigHome):
519 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
520 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
521 (addtag), (FcFontCapabilities):
522 * src/fcpat.c: (FcValueListEntCreate):
523 * src/fcstr.c: (FcStrCaseWalkerInit):
524 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
526 Various GCC 4 cleanups for signed vs unsigned char
528 Match only [0-9]*.conf files in <include>{directory}</include>
529 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
531 2005-07-15 Carl Worth <cworth@cworth.org>
534 * src/fcinit.c: (FcFini):
535 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
538 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
539 Pull the FcObjectStateName hash table out to file scope, and add
540 FcObjectStaticNameFini so that FcFini will cleanup this hash table
543 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
546 2005-06-16 Patrick Lam <plam@MIT.EDU>
550 * src/fccfg.c: (FcConfigCompareValue):
551 Make FcOpNotContains use FcStrStr for strings so that
552 it matches semantics for !FcOpContains.
554 2005-05-20 Keith Packard <keithp@keithp.com>
558 Move fontconfig source package to libs as per override
560 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
562 reviewed by: Mike Fabian
565 The ka.orth file requires several characters which are not
566 used anymore in modern Georgian and which are missing in the free
567 Georgian TrueType fonts downloadable at:
569 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
571 2005-04-27 Keith Packard <keithp@keithp.com>
575 Update date to real 2.3.2 release date.
576 Fix change attributions
578 2005-04-27 Keith Packard <keithp@keithp.com>
581 Bump so revision for 2.3.2
582 * fc-cache/fc-cache.c: (scanDirs):
583 Fix a few minor leaks in error cases.
585 2005-04-23 Keith Packard <keithp@keithp.com>
590 * fontconfig/fontconfig.h:
591 Update for version 2.3.2
593 2005-04-21 Keith Packard <keithp@keithp.com>
595 * debian/fontconfig.postinst:
596 Don't force bitmap font enable in default
597 configuration; allows users to override this in
607 * debian/po/pt_BR.po:
608 * debian/po/templates.pot:
610 * debian/po/zh_CN.po:
613 * fc-cache/fc-cache.c: (main):
614 Destroy font configuration on exit to help valgrind
617 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
618 (FcFreeTypeCheckGlyph):
619 Use own transcoding routines in preference to iconv
620 which appears to have leaks in some translators.
621 Call iconv_close after using iconv (oops).
623 Prefer unicode encoding of Euro char as some
624 fonts mis-encode Euro in other ones.
626 Must fetch bitmap glyphs to get width values
627 to check for monospace/dual-width fonts.
629 2005-04-13 Ross Burton <ross@burtonini.com>
632 Check that a pattern isn't already frozen in FcPatternFreeze.
634 2005-03-31 Ross Burton <ross@burtonini.com>
639 Run all FcPattern objects through FcObjectStaticName, so that
640 compares can be done on pointers instead of strings (#2659)
642 2005-03-17 Tor Lillqvist <tml@novell.com>
644 * src/fontconfig.def.in: Add the .dll to the dll name.
646 2005-03-10 Keith Packard <keithp@keithp.com>
648 * debian/README.Debian:
649 Update to reflect configuration changes
651 * debian/fontconfig.postinst:
652 Fix Autohint vs Autohinter mistake
653 * debian/fontconfig.templates:
654 Adopt changes from Josselin Mouette for configuration descriptions
655 Update debian to version 2.3.1-2
657 2005-03-08 Keith Packard <keithp@keithp.com>
661 Update debian for 2.3.1
663 2005-03-09 Tor Lillqvist <tml@novell.com>
665 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
668 * src/fccfg.c (FcConfigFileExists): Check also drive letter
671 2005-03-08 Keith Packard <keithp@keithp.com>
675 * fontconfig/fontconfig.h:
678 2005-03-05 Keith Packard <keithp@keithp.com>
680 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
681 Include space and remove numbers from valid script tags.
682 This ensures that tags like 'lao ' work while rejecting
683 those which have any digits.
684 Eliminate a spurious debugging variable (len)
686 2005-03-05 Keith Packard <keithp@keithp.com>
688 * src/fcfreetype.c: (addtag), (GetScriptTags),
689 (FcFontCapabilities):
690 Rework GSUB/GPOS script parsing to survive broken fonts.
691 Thanks for the broken font go to Manish Singh
693 2005-03-05 Keith Packard <keithp@keithp.com>
698 * debian/fontconfig.config:
699 * debian/fontconfig.templates:
701 Include 2.3 release information in changelog
702 Add Josselin Mouette as an Uploader
703 Set hinting_type to low priority configuration option
706 * debian/fontconfig.postinst:
707 yes_bitmaps.conf -> yes-bitmaps.conf
713 2005-03-02 Keith Packard <keithp@keithp.com>
716 * conf.d/Makefile.am:
717 * conf.d/autohint.conf:
718 * conf.d/no-sub-pixel.conf:
719 * conf.d/sub-pixel.conf:
720 * conf.d/unhinted.conf:
721 * debian/autohint.conf:
722 * debian/fontconfig.install:
723 * debian/fontconfig.postinst:
724 * debian/fontconfig.templates:
725 * debian/no-sub-pixel.conf:
726 * debian/unhinted.conf:
727 Move debian-specific conf file examples upstream.
729 Sub-pixel configuration examples must smash subpixel value
730 as Xft always sets it from X.
732 Change sub-pixel rendering debconf descriptions from
733 Enable/Disable to Always/Never.
735 2005-03-02 Keith Packard <keithp@keithp.com>
740 Ignore more build detritus
743 Add debian package construction stuff.
745 * config/config.guess:
747 Update to newer versions of these tools
750 Get library manuals to build again (we love automake).
752 * debian/README.Debian:
753 * debian/autohint.conf:
758 * debian/fontconfig-udeb.install:
759 * debian/fontconfig.config:
760 * debian/fontconfig.defoma:
761 * debian/fontconfig.dirs:
762 * debian/fontconfig.install:
763 * debian/fontconfig.postinst:
764 * debian/fontconfig.postrm:
765 * debian/fontconfig.templates:
766 * debian/libfontconfig1-dev.install:
767 * debian/libfontconfig1.install:
768 * debian/local.conf.md5sum:
769 * debian/no-sub-pixel.conf:
770 * debian/po/POTFILES.in:
779 * debian/po/pt_BR.po:
780 * debian/po/templates.pot:
782 * debian/po/zh_CN.po:
784 * debian/unhinted.conf:
785 Update debian build system to switch maintainers and
786 deal with 2.3 functionality
788 2005-03-01 Keith Packard <keithp@keithp.com>
792 * fontconfig/fontconfig.h:
795 2005-03-01 Keith Packard <keithp@keithp.com>
798 Generate and install PDF versions of the manuals
800 * doc/fcpattern.fncs:
804 Add missing exported functions, fix data types
806 * doc/fontconfig-devel.sgml:
807 Add missing pattern elements.
809 * doc/fontconfig-user.sgml:
810 Add missing pattern elements. Document conf.d usage,
811 clarify available orthography list. Fix some config file
812 attributes. Complete list of constants.
814 * fontconfig/fontconfig.h:
815 Mark FC_SOURCE deprecated.
817 * src/fcfreetype.c: (FcFreeTypeQuery):
818 Don't set FC_SOURCE any longer.
820 2005-02-28 Keith Packard <keithp@keithp.com>
823 * conf.d/Makefile.am:
825 * conf.d/no-bitmaps.conf:
826 * conf.d/sub-pixel.conf:
827 * conf.d/yes-bitmaps.conf:
829 Create prototype /etc/fonts/conf.d directory with a few
830 sample configuration files.
831 Deprecate use of local.conf for local customizations in favor of
832 this directory based scheme which is more easily integrated into
833 installation systems.
836 Tag FC_EMBOLDEN as a boolean variable
838 2005-02-10 Keith Packard <keithp@keithp.com>
840 reviewed by: pborelli@katamail.com
842 * src/fcdir.c: (FcFileScanConfig):
843 Free patterns from fonts which are rejected by configuration
846 2005-01-28 Keith Packard <keithp@keithp.com>
850 * fontconfig/fontconfig.h:
851 Update for version 2.2.99
853 2005-01-28 Keith Packard <keithp@keithp.com>
856 Add a few pointers (#2284, #2285)
858 2005-01-28 Keith Packard <keithp@keithp.com>
861 * src/fcname.c: (FcNameBool):
862 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
863 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
864 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
865 Polite typechecking for test and edit expressions. Helps
866 catch errors in the font configuration. (bug 229)
868 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
870 reviewed by: Keith Packard <keithp@keithp.com>
873 Have --with-expat set EXPAT_CFLAGS (bug 2278)
875 2005-01-13 Keith Packard <keithp@keithp.com>
877 * doc/fontconfig-user.sgml:
878 Add SEE ALSO section (bug 2085)
880 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
882 reviewed by: Keith Packard <keithp@keithp.com>
887 * fc-case/Makefile.am:
888 * fc-glyphname/Makefile.am:
889 * fc-lang/Makefile.am:
890 * src/fontconfig.def.in:
891 Cross compiling fixes (bug 280)
893 2005-01-13 Keith Packard <keithp@keithp.com>
896 Update blanks list (Closes bug 86)
898 2005-01-04 Keith Packard <keithp@keithp.com>
900 * src/fccache.c: (FcCacheFontSetAdd):
901 Verify that every font pattern loaded from cache has
902 both FC_FILE and FC_FAMILY entries.
903 Attempt to fix bug #2219.
905 2004-12-29 Keith Packard <keithp@keithp.com>
909 * fontconfig/fontconfig.h:
910 Update for version 2.2.98
912 2004-12-29 Keith Packard <keithp@keithp.com>
914 * fontconfig/fontconfig.h:
915 Document ASCII limitations of Fc character conversion macros
916 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
917 Fix off-by-one error in utf-8 case walking code.
918 Add FcStrDowncase (useful for testing case conversion functions)
920 2004-12-29 Keith Packard <keithp@keithp.com>
923 * fc-case/.cvsignore:
924 clean up CVS ignore lists
925 * fc-lang/iso-3166.txt:
926 Add territory database
928 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
930 Reviewed by: Keith Packard
933 Remove Han characters from Korean orthography
935 2004-12-29 Keith Packard <keithp@keithp.com>
938 Reorder utility programs to make sure fc-case is run before fc-lang
939 as fc-lang uses fcstr.c which uses fccase.h
943 2004-12-29 Keith Packard <keithp@keithp.com>
946 Adopt some RedHat suggestions for standard font configuration.
950 * fc-case/CaseFolding.txt:
951 * fc-case/Makefile.am:
952 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
953 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
954 (dump), (parseRaw), (caseFoldReadRaw), (main):
955 * fc-case/fccase.tmpl.h:
956 Add new helper program 'fc-case' to construct case folding
957 tables from standard Unicode CaseFolding.txt file
960 * src/fclist.c: (FcListValueHash):
961 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
962 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
963 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
964 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
965 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
966 Re-implement case insensitive functions with Unicode
967 aware versions (including full case folding mappings)
969 2004-12-13 Keith Packard <keithp@keithp.com>
971 reviewed by: Owen Taylor <otaylor@redhat.com>
973 * src/fcmatch.c: (FcFontSetSort):
974 I changed FcFontSetSort to respect the generic aliases better
975 in the face of language matching.
977 What I did was to ammend the strict sort order used by FcFontSort so
978 that it 'satisfies' the language specified in the pattern by locating
979 the best matching font supporting each pattern language and then
980 ignores language in the remaining fonts for purposes of matching.
982 So, when asking for 'sans:lang=en', you'll get an English font first,
983 and then the remaining fonts sorted with respect to the 'sans' alias
984 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
986 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
988 reviewed by: Keith Packard <keithp@keithp.com>
990 * fontconfig/fontconfig.h:
993 Configuration changes to request synthetic emboldening of
994 fonts. The actual emboldening code will live in Xft.
996 2004-12-09 John Thacker <thacker@math.cornell.edu>
998 reviewed by: Keith Packard <keithp@keithp.com>
1002 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1003 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1004 и), and don't even appear in KOI8-R. (The hypothesis that they
1005 don't appear in KOI8-R due to their similarity with Latin I and i is
1006 eliminated by their presence in KOI8-U.) I have a couple of fonts
1007 with Russian support that don't have the letter.
1009 Therefore, 0406 and 0456 should be removed from or commented out of
1012 2004-12-06 michael meeks <mmeeks@novell.com>
1014 Reviewed by: Keith Packard <keithp@keithp.com>
1016 * src/fcinit.c: (FcMemReport):
1018 * src/fclist.c: (FcObjectSetAdd):
1019 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1020 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1021 * src/fcxml.c: (FcParsePatelt):
1022 memoize strings and share a single copy for all uses. Note that
1023 this could be improved further by using statically allocated blocks
1024 and gluing multiple strings together, but I'm basically lazy.
1025 In my environment with 800 font files, I get a savings of about 90KB.
1027 2004-12-06 Keith Packard <keithp@keithp.com>
1031 * config/Makedefs.in:
1034 * doc/fcatomic.fncs:
1035 * doc/fcblanks.fncs:
1036 * doc/fccharset.fncs:
1037 * doc/fcconfig.fncs:
1038 * doc/fcconstant.fncs:
1040 * doc/fcfontset.fncs:
1041 * doc/fcfreetype.fncs:
1043 * doc/fcmatrix.fncs:
1044 * doc/fcobjectset.fncs:
1045 * doc/fcobjecttype.fncs:
1046 * doc/fcpattern.fncs:
1047 * doc/fcstring.fncs:
1048 * doc/fcstrset.fncs:
1050 * doc/fontconfig-devel.sgml:
1051 * doc/fontconfig-user.sgml:
1053 * doc/version.sgml.in:
1054 * fc-cache/Makefile.am:
1055 * fc-cache/fc-cache.c:
1056 * fc-glyphname/Makefile.am:
1057 * fc-glyphname/fc-glyphname.c:
1058 * fc-glyphname/fcglyphname.tmpl.h:
1059 * fc-lang/Makefile.am:
1069 * fc-lang/az_ir.orth:
1103 * fc-lang/fc-lang.c:
1104 * fc-lang/fc-lang.man:
1105 * fc-lang/fclang.tmpl.h:
1150 * fc-lang/ku_ir.orth:
1183 * fc-lang/ps_af.orth:
1184 * fc-lang/ps_pk.orth:
1213 * fc-lang/ti_er.orth:
1214 * fc-lang/ti_et.orth:
1240 * fc-lang/zh_cn.orth:
1241 * fc-lang/zh_hk.orth:
1242 * fc-lang/zh_mo.orth:
1243 * fc-lang/zh_sg.orth:
1244 * fc-lang/zh_tw.orth:
1246 * fc-list/Makefile.am:
1247 * fc-list/fc-list.c:
1248 * fc-match/Makefile.am:
1249 * fc-match/fc-match.1:
1250 * fc-match/fc-match.c:
1251 * fontconfig/fcfreetype.h:
1252 * fontconfig/fcprivate.h:
1253 * fontconfig/fontconfig.h:
1274 Change files from ISO-Latin-1 to UTF-8
1276 2004-12-04 Keith Packard <keithp@keithp.com>
1279 Update links to new freedesktop.org locations
1281 Add uninstall-local to get rid of fonts.conf and local.conf if they
1282 match the distributed versions. Fixes 'make distcheck'
1284 2004-12-04 Keith Packard <keithp@keithp.com>
1288 * fontconfig/fontconfig.h:
1289 Updates for version 2.2.97
1291 2004-12-04 Owen Taylor <otaylor@redhat.com>
1293 reviewed by: Keith Packard <keithp@keithp.com>
1295 * fc-cache/fc-cache.c: (main):
1296 Sleep for two seconds before exiting to make sure timestamps
1297 for future changes have distinct mod times in the file system.
1300 Add Punjabi orthography. Bug #1671.
1302 2004-12-04 Keith Packard <keithp@keithp.com>
1305 Just remove the FC_FONTDATE -- it has locale issues and
1306 annoys redhat multi-arch installs. Now that all X fonts are
1307 included without prejudice, the chances of the date being at
1308 all interesting are rather limited. Bug #505.
1310 Add copyright and license
1312 2004-12-04 Keith Packard <keithp@keithp.com>
1315 Change default set of fonts to include all of
1316 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1317 * doc/fontconfig-user.sgml:
1318 Document new <include>directory-name</include> semantics
1320 add <include ignore_missing="yes">conf.d</include>
1322 Add selectfont to ignore bitmap fonts, add comment for
1323 selectfont which accepts bitmap fonts.
1326 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1327 Allow <include> configuration elements to reference directories.
1328 Parse and load all files of the form [0-9]* in sorted order.
1330 2004-12-04 Keith Packard <keithp@keithp.com>
1333 Report command line for $srcdir/configure accurately.
1336 2004-12-04 Keith Packard <keithp@keithp.com>
1338 * src/fcfreetype.c: (FcFreeTypeQuery):
1339 Check for non-empty face->family_name and face->style_name
1340 before using those for the font. Empty names match everything.
1343 2004-12-04 Keith Packard <keithp@keithp.com>
1346 * fontconfig/fontconfig.h:
1347 * src/fcfreetype.c: (FcFreeTypeQuery):
1349 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1350 available. This provides font file format information (BDF, Type 1,
1351 PCF, TrueType) for each font. Closes #109.
1353 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1355 reviewed by: Keith Packard <keithp@keithp.com>
1357 * doc/fontconfig-user.sgml:
1360 * fontconfig/fontconfig.h:
1361 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1362 (GetScriptTags), (FcFontCapabilities):
1364 Add detection for font capabilities (bug #105)
1366 2004-12-04 Keith Packard <keithp@keithp.com>
1369 Move existing fonts.conf to fonts.conf.bak
1372 Add detection of iconv
1374 * doc/fcpattern.fncs:
1375 * doc/fontconfig-devel.sgml:
1376 * doc/fontconfig-user.sgml:
1378 Document new selectfont elements
1381 Switch to UTF-8 in comment
1383 * fontconfig/fontconfig.h:
1385 Add fullname, and family/style/fullname language entries
1387 * src/fccache.c: (FcCacheFontSetAdd):
1388 * src/fcdir.c: (FcFileScanConfig):
1389 Respect selectfont/*/glob
1392 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1393 (FcConfigCompareValue), (FcConfigPatternsAdd),
1394 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1395 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1396 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1397 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1398 Add support for selectfont
1400 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1401 (FcStringInPatternElement), (FcFreeTypeQuery):
1402 Add multi-lingual family/style/fullname support
1404 * src/fclist.c: (FcListPatternMatchAny):
1405 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1407 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1408 (FcObjectStaticName):
1409 Add new FcPatternRemove/FcPatternAppend.
1410 FcObjectStaticName stores computed pattern element names which
1411 are required to be static.
1413 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1418 Remove spurious / after $(DESTDIR)
1420 2004-06-30 Keith Packard <keithp@keithp.com>
1424 * fontconfig/fontconfig.h:
1427 2004-06-30 Keith Packard <keithp@keithp.com>
1429 Provided by: Lubos Lunak <l.lunak@suse.cz>
1431 * src/fccfg.c: (FcConfigUptoDate):
1432 However FcConfigUptoDate() doesn't seem to work. See the attached
1433 patch. First there's an obvious misplaced parenthesis making it
1434 return always false, and second, even this call fails to detect font
1435 changes (e.g. adding a new font to
1436 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1437 well. The problem seems to be triggered by my fonts.conf specifying
1438 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1439 doesn't include subdirs, unlike config->fontDirs.
1441 2004-06-03 Keith Packard <keithp@keithp.com>
1443 * fontconfig/fontconfig.h:
1444 Remove comma at end of FcResult enum definition.
1446 2004-05-29 Keith Packard <keithp@keithp.com>
1449 Add steps to md5sum release
1451 2004-05-29 Keith Packard <keithp@keithp.com>
1455 * fontconfig/fontconfig.h:
1458 2004-05-29 Keith Packard <keithp@keithp.com>
1460 * fontconfig/fontconfig.h:
1461 * src/fcmatch.c: (FcFontSetMatch):
1462 Add FcResultOutOfMemory to provide an accurate error when
1463 FcFontSetMatch fails in this way
1466 Make #warning about lacking various FreeType features indicate
1467 which version those features appeared so users know how to
1468 fix the problem (Thanks to Anton Tropashko)
1470 2004-05-05 Keith Packard <keithp@keithp.com>
1472 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1473 Replace MIN/MAX/ABS macros which happen to have come
1474 from FreeType with fontconfig-specific ones (FC_*)
1476 2004-04-23 Keith Packard <keithp@keithp.com>
1479 Extend release preparation instructions to include
1480 notification and distribution steps
1482 2004-04-23 Keith Packard <keithp@keithp.com>
1486 * fontconfig/fontconfig.h:
1487 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1489 2004-04-23 Keith Packard <keithp@keithp.com>
1492 Ignore a few more autotool files
1494 2004-04-14 Keith Packard <keithp@keithp.com>
1497 Add instructions for doing a release
1499 * fontconfig.spec.in:
1500 clean up .spec file; perhaps this will be useful to somebody...
1504 * fontconfig/fontconfig.h:
1507 * fc-lang/fc-lang.c:
1508 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1510 * fc-glyphname/Makefile.am:
1511 * fc-lang/Makefile.am:
1512 * fc-list/Makefile.am:
1513 * fc-match/Makefile.am:
1515 Add WARN_CFLAGS to pass -W flags for GCC systems
1517 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1518 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1519 Change various char types around to match across
1521 Fixed bug in using available_sizes[i].height which
1522 is in pixels, not 64ths of a pixel.
1524 2004-03-06 Keith Packard <keithp@keithp.com>
1526 * src/fcfreetype.c: (FcFreeTypeQuery):
1527 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1528 matches looking for explicit values prefer exact matches
1530 2004-03-02 Keith Packard <keithp@keithp.com>
1532 Supplied by: mfabian@suse.de (Mike FABIAN)
1534 * src/fcfreetype.c: (FcFreeTypeQuery):
1535 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1536 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1538 2004-02-21 Manish Singh <yosh@gimp.org>
1540 * fc-glyphname/fc-glyphname.c: (main):
1541 Cast strlen to int for printf, so we're 64-bit clean.
1543 2004-02-11 Keith Packard <keithp@keithp.com>
1546 * src/fcfreetype.c: (FcGetPixelSize):
1547 Ok, so I messed up the test for y_ppem. Let's see if I
1548 got it right this time.
1550 2004-02-10 Keith Packard <keithp@keithp.com>
1553 * src/fcfreetype.c: (FcGetPixelSize):
1554 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1555 FT_Bitmap_Size record. Add a configure.in test for this
1556 and change the code accordingly (using height instead).
1558 2004-02-06 Keith Packard <keithp@keithp.com>
1561 Add Low Saxon orthography
1562 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1564 * src/fccfg.c: (FcConfigNewestFile):
1565 Oops. Left 'newest.set' unset, which would miscompute
1568 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1569 (FcFreeTypeCheckGlyph):
1570 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1571 font properties (which report the wrong value in current FreeType)
1573 Don't attempt to check for empty glyphs in non-scalable fonts; they
1576 2004-02-01 Tor Lillqvist <tml@iki.fi>
1578 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1579 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1580 cache if config->cache is NULL, which happens if FcConfigHome() is
1581 NULL. Guard against that by using the temp folder in that case.
1583 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1585 * fc-lang/az_ir.orth:
1586 * fc-lang/ku_ir.orth:
1587 * fc-lang/ps_af.orth:
1588 * fc-lang/ps_pk.orth:
1589 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1590 (Afghan and Pakistani).
1592 Updated Urdu orthography with real data.
1594 2003-12-11 Carl Worth <cworth@east.isi.edu>
1596 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1599 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1601 (all-local): Remove excessive whitespace.
1603 * autogen.sh: Add 'set -e' to abort when any program fails,
1604 (avoids printing of 'now type make' after configure aborts).
1606 2003-11-17 Eric Christopherson <rakko@charter.net>
1608 reviewed by: Keith Packard <keithp@keithp.com>
1611 * fontconfig/fcfreetype.h:
1613 Switch to FreeType 2.1.7 style includes. Bug #150.
1615 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1617 * fc-list/fc-list.sgml: Add some example usages.
1619 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1622 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1625 2003-10-27 Keith Packard <keith@keithp.com>
1628 * fontconfig/fontconfig.h:
1629 Update to version 2.2.92
1631 2003-10-27 Keith Packard <keithp@keithp.com>
1636 * fc-cache/Makefile.am:
1637 * fc-glyphname/Makefile.am:
1638 * fc-lang/Makefile.am:
1639 * fc-list/Makefile.am:
1640 * fc-match/Makefile.am:
1643 Yet more cleanups to finish getting 'make distcheck' working
1644 This has been tested to ensure that it even works from a _build
1647 2003-10-26 Keith Packard <keithp@keithp.com>
1651 * fc-cache/Makefile.am:
1652 * fc-glyphname/Makefile.am:
1653 * fc-lang/Makefile.am:
1654 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1655 * fc-list/Makefile.am:
1656 * fc-match/Makefile.am:
1657 Attempts to fix 'make distcheck' work. Things are
1658 progressing pretty well, but there are still failures
1659 long into the process dealing with docs (as always).
1661 The big changes here are mostly to make $(srcdir) != "."
1662 work correctly, fixing the docbook related sections and
1663 fc-lang were particularily tricky. Docbook refuses to load
1664 system entities from anywhere other than where the original .sgml
1665 file was located, so no luck looking in "." for the
1666 configure-generated version.sgml and confdir.sgml files.
1668 fc-lang needed help finding .orth files; added a -d option
1669 to set the directory as the least evil of many options.
1671 Now to go use a faster machine and try and wring out the last
1674 2003-10-26 Keith Packard <keithp@keithp.com>
1678 2003-10-26 Keith Packard <keithp@keithp.com>
1681 Include confdir.sgml.in in EXTRA_DIST
1683 2003-10-09 Josselin Mouette <joss@debian.org>
1685 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1686 * fc-list/fc-list.sgml fc-list/Makefile.am:
1687 Replace fc-cache and fc-list manpages with more detailed, SGML
1690 2003-09-23 Owen Taylor <otaylor@redhat.com>
1692 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1693 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1694 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1697 2003-09-23 Owen Taylor <otaylor@redhat.com>
1699 * fc-lang/ka.orth: Remove Georgian capitals, they
1700 aren't used for normal writing. (Bug #116)
1702 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1704 * doc/fontconfig-devel.sgml:
1705 * doc/fontconfig-user.sgml:
1706 * fontconfig/fontconfig.h:
1708 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1709 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1711 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1712 monospace and dual-width fonts, allow roughly a 3% variance in the
1715 2003-08-31 Manish Singh <yosh@gimp.org>
1717 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1720 2003-08-15 Carl Worth <cworth@isi.edu>
1722 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1723 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1725 * src/fcpat.c (FcValueListEntDestroy): New function to support
1726 FcFini memory cleanup. Some statistics are not kept in
1728 (FcValueListFreeze): Move hashTable outside this function so it
1729 can be accessed by FcValueListThawAll.
1730 (FcValueListThawAll): New function complements FcValueListFreeze.
1731 (FcPatternBaseFreeze): Move hashTable outside this function so it
1732 can be accessed by FcPatternBaseThawAll.
1733 (FcPatternBaseThawAll): New function complements
1734 FcPatternBaseFreeze.
1735 (FcPatternThawAll): New function complements FcPatternFreeze.
1737 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1739 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1740 allocated FcCharLeafEnt "blocks" so they can be freed later.
1741 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1742 can be accessed by FcCharSetThawAllLeaf.
1743 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1744 (FcCharSetFreezeBase): Move hashTable outside this function so it
1745 can be accessed by FcCharSetThawAll.
1746 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1748 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1749 (FcConfigDestroy): Fic leak of FcBlanks.
1751 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1752 (main): Add call to FcFini when finished.
1754 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1755 static. Add prototypes.
1757 * doc/fcinit.fncs: Add documentation for FcFini function.
1759 * doc/edit-sgml.c: Mark several local functions as static. Add
1762 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1764 2003-06-15 Tor Lillqvist <tml@iki.fi>
1766 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1767 before comparing (needed on Windows).
1769 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1771 2003-06-13 Tor Lillqvist <tml@iki.fi>
1773 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1776 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1777 WINDOWSFONTDIR token.
1779 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1780 end, not to confuse libtool, which expects the EXPORTS line to be
1781 the first. Add FcConfigEnableHome.
1783 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1784 built as a DLL on Win32.
1786 2003-06-09 Keith Packard <keithp@keithp.com>
1788 * Tag version 2.2.90
1790 2003-06-09 Keith Packard <keithp@keithp.com>
1792 * Optimization in FcLangSetIndex was broken, occasionally
1793 returning a pointer to the wrong location on miss
1795 * Add fc-match to test font matching from the command line.
1797 2003-05-31 Keith Packard <keithp@keithp.com>
1799 * (Bug 85) add support for culmus fonts
1800 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1801 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1803 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1805 * Fix "contains" op for strings and langsets.
1807 2003-05-17 Keith Packard <keithp@keithp.com>
1809 * Fix build error with BDF prop local. Free langset after query
1811 2003-05-14 Keith Packard <keithp@keithp.com>
1813 * Extract spacing from XLFD atom
1815 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1817 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1818 disappeared in 1.30.
1820 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1822 2003-05-12 Keith Packard <keithp@keithp.com>
1824 * Use FcIsWidth to share code
1826 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1827 misclassifying some Han fonts as monospaced.
1829 2003-05-07 Keith Packard <keithp@keithp.com>
1831 * Add filename-based accept/reject to ammend available fonts.
1833 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1834 older FreeType releases.
1836 2003-05-06 Keith Packard <keithp@keithp.com>
1838 * Remove 0b82 and Tamil numbers from tamil
1839 orthography (Jungshik Shin <jshin@mailaps.org>)
1841 2003-05-04 Keith Packard <keithp@keithp.com>
1843 + Map glyph names in fonts with adobe custom encoding to unicode
1845 2003-05-02 Keith Packard <keithp@keithp.com>
1847 * Add FC_WEIGHT_BOOK as weight 75
1849 2003-04-30 Keith Packard <keithp@keithp.com>
1851 * Typo in bitstream foundry name
1853 2003-04-24 Keith Packard <keithp@keithp.com>
1855 * Eliminate italic_angle check for PS fonts
1857 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1859 * Getting closer to fixing /etc/fonts hard-coding.
1861 2003-04-22 Keith Packard <keithp@keithp.com>
1863 * Update autogen.sh to work with newer automake versions
1864 * Handle pattern elements moving during multiple edits
1866 2003-04-23 James Henstridge <james@daa.com.au>
1868 * doc/fontconfig-devel.sgml: close the <para> element.
1870 * doc/fcpattern.fncs: close the <para> element.
1872 * doc/func.sgml: close the <refsynopsisdiv> element.
1874 2003-04-22 Keith Packard <keithp@keithp.com
1876 * Update autogen.sh to work with newer automake versions
1877 * Handle pattern elements moving during multiple edits
1879 2003-04-17 Colin Walters <walters@debian.org>
1881 + Remove some unused variables, and initialize some other ones so
1882 gcc doesn't warn us.
1884 2003-04-16 Keith Packard <keithp@keithp.com>
1886 + tag version 2.1.94
1888 2003-04-16 Keith Packard <keithp@keithp.com>
1890 + add BDF property fetching support for foundry
1891 (from Juliusz Chroboczek)
1892 + add BDF property fetching support for width
1894 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1896 + Implemented foundry generation for Type 1 and TrueType
1898 2003-04-11 Gerard Escalante <g2@magestudios.net>
1900 + Retrieve information from Type1 FontInfo dictionaries
1902 2003-04-07 Colin Walters <walters@verbum.org>
1904 + src/Makefile.am: Fix dummy makefile target names when
1905 MS_LIB_AVAILABLE isn't set.
1907 2003-03-22 Tor Lillqvist <tml@iki.fi>
1909 Changes for Windows:
1911 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1913 + We don't want to hardcode the fonts.conf file location in the
1914 DLL, so we look up the DLL location at run-time in a DllMain()
1915 function. The fonts.conf location is deduced from that.
1917 + The colon can't be used as path separator on Windows,
1918 semicolon is used instead. File path components can be separated
1919 with either slash or backslash. Absolute paths can also begin
1920 with a drive letter.
1922 + Add internal function FcStrLastSlash that strrchr's the last
1923 slash, or backslash on Windows.
1925 + There is no link() on Windows. For atomicity checks, mkdir a
1926 lock directory instead.
1928 + In addition to HOME, also look for USERPROFILE.
1930 + Recognize the special font directory token WINDOWSFONTDIR, to
1931 use the system's font directory.
1933 + Remove the fontconfig-def.cpp that was obsolete. Add
1934 fontconfig.def(.in), without internal functions.
1936 + Add a fontconfig-zip(.in) script, used to build a binary
1939 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1940 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1941 to main package and man3/* to devel package
1943 + Added missing defattr(-, root, root) to main RPM package
1945 + Added HTML and text development documentation to -devel subpackage
1947 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1948 + Added back the configure macro options --disable-docs, otherwise
1949 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1950 version number) unconditionally, causing RPM to fail the build due
1951 to _unpackaged_files_terminate_build. We pick up the pregenerated
1952 docs with %doc already.
1954 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1955 + Removed commented out rpm macro define at top of spec file,
1956 replacing it with a simple explanation, since rpm macros are
1957 expanded by rpm even in comments.
1959 + Changed /usr/bin to _bindir in BuildRequires lines
1961 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1963 + Reorganized file manifest lists
1965 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1967 + fontconfig.spec.in: Improvements from Red Hat spec file.
1969 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1971 + docs/*.sgml: SGML fixes.
1973 Sat Mar 1 17:28:53 PST 2003 keithp
1974 + Ok, so the ChangeLog is a bit out of date
1976 + Lots of bugs fixed; most are in bugzilla, the
1977 biggest problems were in cache management where
1978 Owen discovered the library would lose badly when
1979 combining fonts-cache and ~/.fonts-cache data
1981 + Converted from autoconf to automake. This after
1982 getting patches accepted into libtool to allow
1983 the '-version-number' argument which lets
1984 packages set version numbers explicitly rather
1985 than the roundabout libtool way
1987 + Converted documentation to SGML using the docbook
1988 DTD. Now .txt and .html documents are installed
1989 in /usr/share/doc/fontconfig and there's no
1990 man page. Perhaps a man version can be written
1993 Sat Aug 31 15:21:22 PDT 2002 keithp
1994 + Xrender and Xft had several bugs related to
1995 rendering manually placed or poly-face text
1997 + Added more complete memory tracing in fontconfig
1998 Checked with (patched) mozilla and found no leaks
2000 + Updated Latin orthographies by comparing those from
2001 evertype.com with those from eki.ee. Tried to make
2002 sensible choices, including chars that occured in both
2003 and leaving some optional chars out that occured only
2006 Mon Aug 26 16:33:04 PDT 2002 keithp
2007 + Owen discovered that FcLangSetHasLang wasn't actually
2008 checking the language set.
2010 Mon Aug 26 13:37:23 PDT 2002 keithp
2011 + Append a version number to cache filenames
2013 Thu Aug 22 11:36:18 PDT 2002 keithp
2015 + Add "contains" and "not_contains" operators and elements to
2018 + Changed semantics of eq operator for LangSets to check for
2019 FcLangEqual so that any match will do
2021 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2022 of FcValueEqual to check for identical values when inserting into
2023 the results. This broke when the above semantic change was made,
2024 now it uses FcValueEqual which is "more correct" in any case.
2026 Thu Aug 22 00:32:29 PDT 2002 keithp
2028 + Reimplement FC_LANG as new datatype. Lists of strings
2029 was consuming over a megabyte of memory for 401 fonts.
2031 + Freeze patterns loaded from cache files. This shares
2032 common value lists and common patterns which saves
2033 considerable memory.
2035 + Change the denotation of 'constant' charsets to use special
2036 ref value instead of separate boolean.
2038 + Clean up leak tracing stuff, found several unannoted alloc/free
2041 Tue Aug 20 16:17:37 PDT 2002 keithp
2043 + Fix memory leak when parsing matrices from XML
2045 Mon Aug 19 11:57:27 PDT 2002 keithp
2047 + Fix autoconf files to pass FONTCONFIG_PATH on
2048 compile line so that ${prefix} gets substituted
2051 + Use getc_unlocked/putc_unlocked on systems that
2052 provide them to avoid damage done to stdio by posix
2054 + Eliminate FC_PATTERN and FcTypePattern in favor of
2055 an extended api for FcConfigSubstitute which takes
2056 both the font and the pattern.
2058 + Add 'sans serif' alias for 'sans-serif' as some apps
2059 can't handle hyphens in family names
2061 + Eliminate pretense of support for libxml2
2063 + Comment origins of Han orthographies
2065 Tue Jul 30 18:37:09 PDT 2002 keithp
2067 + Add binding property to edit element so that strong
2068 binding values may be inserted by the config file.
2069 The default remains weak.
2071 Sun 28 Jul 04:16:55 PDT 2002 keithp
2073 + Tagged release candidate 1 in the CVS tree and
2074 placed fcpackage.rc1.tar.gz for distribution
2076 Thu Aug 1 08:55:08 PDT 2002 keithp
2078 + Fixed autoconf builds to always specify install
2079 target files (for BSD). Also fixed to
2080 define FONTCONFIG_PATH in config.h so that
2081 nonstandard installs will actually work.