1 2005-11-19 Matthias Clasen <mclasen@redhat.com>
5 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
10 Get rid of the use of freetype internal headers in fcfreetype.c,
11 since those headers will go away with freetype 2.2. Replace with
12 public domain ftglue code from pango. Note that the patch removes
13 some extra error checking in FT_Get_BDF_Property() and comments
14 out the skipping of empty pcf fonts.
16 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
19 * fc-lang/fc-lang.c (main):
21 Further fix of patch from 2005-11-04: miscounted numbers count
22 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
23 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
25 Removed leafidx_count and numbers_count since they are the same
26 and replaced them with offset_count.
28 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
31 * fc-cat/fc-cat.c (main):
33 Don't crash when fc-cat invoked with no arguments.
35 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
38 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
40 Fix invalid read access caused by premature free and
41 GCC4 warnings in libxml2 codepath.
43 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
46 * src/fccfg.c (FcConfigValues):
48 List iteration not needed in FcConfigValues, since it's building
49 up the list itself; we can just strip FcVoid elements during
52 2005-11-17 Patrick Lam <plam@mit.edu>
53 * src/fccfg.c (FcConfigValues):
55 Fix crash on invalid constants in config files (forgot to update
56 a pointer upon list iteration.)
58 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
61 * src/fcxml.c (FcTypecheckExpr):
63 Complain about invalid constants in config files.
65 2005-11-17 Andreas Schwab <schwab@suse.de>
68 * src/fccache.c (FcGlobalCacheSave):
70 Don't add current_arch_start more than once.
72 2005-11-16 Patrick Lam <plam@mit.edu>
73 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
74 * src/fcfs.c (FcFontSetUnserialize):
75 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
76 * src/fcpat.c (FcStrUnserialize):
78 Fix ordering of ALIGN with respect to saving block_ptr; add
79 another ALIGN to fcfs.c.
81 2005-11-16 Patrick Lam <plam@mit.edu>
82 * src/fccache.c (FcDirCacheProduce)
84 Fix case where alignment bytes bumped up metadata->count
85 causing unwarranted failures to write cache files.
86 (Reported by Stephan Kulow).
88 2005-11-16 Patrick Lam <plam@mit.edu>
89 * src/fccache.c (FcDirCacheProduce):
90 * src/fccharset.c (FcCharSetDistributeBytes):
91 * src/fcfs.c (FcFontSetDistributeBytes):
93 * src/fclang.c (FcLangSetDistributeBytes):
94 * src/fcname.c (FcObjectDistributeBytes):
95 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
98 Add *NeededBytesAlign(), which overestimates the padding which is
99 later added by the new ALIGN macro. Fix alignment problems on
100 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
101 version by Andreas Schwab).
103 2005-11-16 Stephan Kulow <coolo@kde.org>
108 Use sysconf to determine proper PAGESIZE value; this
109 appears to be POSIX-compliant. (reported by Andreas Schwab)
111 2005-11-04 Patrick Lam <plam@mit.edu>
117 Fix bug 2878 (excessive relocations at startup for charsets,
118 reported by Ross Burton): fc-lang/fc-lang now creates the
119 static form of the langset, not the dynamic form, so that
120 the charsets should now be in .rodata.
122 2005-11-04 Patrick Lam <plam@mit.edu>
123 * src/fcdir.c (FcDirScanConfig):
125 Add test for validity of directory caches that
126 somehow got lost (reported by make distcheck).
128 2005-11-04 Patrick Lam <plam@mit.edu>
132 * fontconfig/fontconfig.h:
134 Bump version to 2.3.92.
136 2005-11-02 Patrick Lam <plam@mit.edu>
137 * src/fcpat.c (FcPatternDuplicate):
139 Fix argument ordering problem in call to FcPatternTransferFullFname.
141 2005-11-02 Patrick Lam <plam@mit.edu>
142 * src/fcfreetype.c (FcFreetypeQuery):
143 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
144 FcPatternTransferFullFname):
146 Fix warnings and embarrassing double-free error.
148 2005-11-02 Zhe Su <zsu@novell.com>
153 Change the rule for artificial emboldening in fonts.conf.in. This
154 enables the support for artificial emboldening included in cairo.
156 2005-11-02 Patrick Lam <plam@mit.edu>
157 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
159 Don't zero out full names for FC_REF_CONSTANT fonts;
160 also, duplicate full names when transferring, and free
161 full names when freeing the associated font.
162 Reported by Jinghua Luo.
164 2005-11-02 Patrick Lam <plam@mit.edu>
165 * fc-cache/fc-cache.c (scanDirs):
166 * src/fcpat.c (FcValueListSerialize):
168 Revert the previous patch and commit the correct patch:
169 I forgot a canonicalization in FcValueListSerialize, so
170 that it would choke on already-serialized input files. Duh!
172 2005-11-02 Patrick Lam <plam@mit.edu>
173 * fc-cache/fc-cache.c (scanDirs):
175 Forcibly rescan a directory before writing a fresh local
176 cache file for that directory, fixing the losing-fonts
177 problem reported by Mike Fabian and also apparently the
178 font cache file corruption.
180 2005-11-02 Patrick Lam <plam@mit.edu>
181 * src/fccache.c (FcGlobalCacheLoad):
183 Fix thinko: actually, the whole global cache is stale
184 if the global cache is older than the (newest) config file.
186 2005-11-02 Patrick Lam <plam@mit.edu>
187 * src/fccache.c (FcGlobalCacheLoad):
188 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
191 Declare the global cache of a directory's contents to be stale if
192 the directory is newer than the (newest) configuration file.
194 2005-10-31 Patrick Lam <plam@mit.edu>
196 * src/fclist.c (FcListAppend):
197 * src/fcmatch.c (FcFontRenderPrepare):
198 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
199 FcPatternFreeze, FcPatternBaseFreeze):
201 Copy the full pathname whenever duplicating an FcPattern; otherwise,
202 applications continue breaking.
204 2005-10-31 Patrick Lam <plam@mit.edu>
205 * fc-cat/fc-cat.c (FcCacheFileRead, main):
206 * src/fcfreetype.c (FcFreeTypeQuery):
208 Fix small memory error (tried to free argv); use basename and
209 dirname correctly (they can modify their arguments).
211 2005-10-31 Patrick Lam <plam@mit.edu>
219 Reinstate basename patch, but keep a hash table linking FcPatterns
220 to their fully-qualified font names for clients' benefit. Clients
221 only pay for the font names once they request the FC_FILE property
222 from an FcPattern, but the font name is malloc'd at that point (i.e.
223 not mmapped: that's impossible, since it may vary between machines.)
224 Clients do have to pay for a copy of the path name per cache file.
226 Note that FcPatternGetString now does some rewriting if you ask
227 for an FC_FILE, appending the pathname as appropriate.
229 2005-10-31 Patrick Lam <plam@mit.edu>
230 * src/fcfreetype.c (FcFreeTypeQuery):
232 Revert basename patch, which breaks fontconfig clients on my system.
234 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
237 * fontconfig/fonts.conf.in:
238 * fontconfig/fontconfig.h:
242 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
243 to load embedded bitmaps or not.
245 2005-10-25 Patrick Lam <plam@mit.edu>
246 * src/fcfreetype.c (FcFreeTypeQuery):
248 Only add basename to patterns' FC_FILE element, not any part of
251 2005-10-22 Patrick Lam <plam@mit.edu>
254 Add some more consts, fixing more GCC4 warnings.
256 2005-10-22 Zhe Su <zsu@novell.com>
259 Support localized font family and style names.
260 This has been reported to break old apps like xfd, but modern
261 (gtk+/qt/mozilla) apps work fine.
263 2005-10-21 Patrick Lam <plam@mit.edu>
264 * src/fccache.c (FcGlobalCacheLoad):
266 Destroy the global cache file if it's terminally broken. (reported by
269 2005-10-21 Patrick Lam <plam@mit.edu>
270 * fc-list/fc-list.c (main):
271 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
272 * fontconfig/fontconfig.h:
274 Prevent fc-list from escaping strings when printing them (reported by
277 2005-10-20 Marcus Meissner <meissner@suse.de>
280 * fontconfig/fontconfig.h:
282 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
284 2005-10-14 Ross Burton <ross@burtonini.com>
287 * fc-glyphname/fc-glyphname.c:
290 Add consts to variables so as to move arrays into .rodata.
292 2005-10-14 Mike Fabian <mfabian@suse.de>
295 * src/fccache.c (FcDirCacheUnlink):
297 Check existence of directory cache file before attempting to unlink.
299 2005-10-13 Patrick Lam <plam@mit.edu>
300 * src/fccache.c (FcDirCacheUnlink):
302 Fix flipped return value on unlink. (Reported by Mike Fabian)
304 2005-10-12 Patrick Lam <plam@mit.edu>
307 * src/fcdir.c (FcDirScanConfig):
310 When fc-cache is run without --force, use directory cache files
311 to speed up fc-cache run time. (Reported by Mike Fabian)
313 2005-10-06 Patrick Lam <plam@mit.edu>
315 * src/fcname.c (FcObjectToPtr):
316 * src/fcpat.c (FcStrStaticName):
318 Add padding to make valgrind and glibc not hate each other
319 when calling strlen().
321 2005-10-05 Simos Xenitellis <simos74@gmx.net>
322 reviewed by: plam & keithp
326 Modify config file to use Greek fonts before Asian fonts with
329 2005-10-05 Christian Biesinger <cbiesinger@web.de>
330 reviewed by: plam & keithp
334 Use libtool -no-undefined flag on all platforms.
336 2005-10-05 Patrick Lam <plam@mit.edu>
337 * src/fccache.c (FcCacheHaveBank):
339 Implement move-to-front array for banks (perf regression
340 reported by Ronny V. Vindenes).
342 2005-10-04 Patrick Lam <plam@mit.edu>
343 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
344 FcDirCacheHasCurrentArch):
345 * fc-cache/fc-cache.c (scanDirs):
346 * fontconfig/fontconfig.h:
348 Add new API which unlinks directory caches and checks dir caches
349 for existence of appropriate sections. Fix fc-cache to unlink
350 stale cache files and save directory caches that lack relevant
353 2005-10-03 Patrick Lam <plam@mit.edu>
354 * src/fccache.c (FcDirCacheValid):
356 Ensure that a directory cache has the appropriate section
357 before reporting that it is valid (reported by Matthias Clasen).
359 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
367 Use libxml2 if requested (with --enable-libxml2) or if
368 expat is not available.
370 2005-09-29 Patrick Lam <plam@mit.edu>
371 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
373 Fix multi-arch cache files: compute the position for the
374 block to be added using info from OrigFile, not NewFile.
376 2005-09-28 Patrick Lam <plam@mit.edu>
377 * src/fccache.c (FcCacheMachineSignature):
379 Cast results of sizeof() to unsigned int to get rid of
380 warnings on x86_64 (thanks Matthias Clasen).
382 2005-09-27 Patrick Lam <plam@mit.edu>
383 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
386 Use FcAtomic to rewrite cache files.
388 2005-09-27 Patrick Lam <plam@mit.edu>
390 * src/fccache.c (FcDirCacheWrite):
392 Don't unlink the fonts.cache-2 file even if there's no data
393 to write; just write an empty cache file. (thanks Lubos Lunak)
395 2005-09-27 Patrick Lam <plam@mit.edu>
397 * src/fccache.c (FcDirCacheWrite):
399 Allocate room for the subdirectory names in each
400 directory cache. Thanks to James Cloos for finding
401 and diagnosing this bug!
403 2005-09-22 Patrick Lam <plam@mit.edu>
405 * fc-cache/fc-cache.sgml:
406 * src/fccache.c (FcDirCacheWrite):
407 * src/fccache.h (struct FcCache):
409 Update documentation -- fc-cache's man page now says that you
410 need to run fc-cache once per cached architecture; add some
411 documentation to the FcCache structure.
413 Make fc-cache write out fonts.cache-2 files for directories with
414 no fonts (i.e. only subdirectories).
416 2005-09-22 Patrick Lam <plam@mit.edu>
418 * fc-cache/fc-cache.sgml:
420 * fc-glyphname/fc-glyphname.c:
426 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
431 * fontconfig/fcprivate.h:
432 * fontconfig/fontconfig.h:
446 Implement new mmaped cache for font information.
447 Bump so revision to 2.3.90.
449 2005-07-25 Keith Packard <keithp@keithp.com>
451 * doc/fontconfig-user.sgml:
452 * fc-glyphname/fc-glyphname.c: (scan), (main):
453 * fc-lang/fc-lang.c: (FcConfigHome):
454 * fc-match/fc-match.c: (main):
455 * src/fccfg.c: (FcConfigHome):
456 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
457 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
458 (addtag), (FcFontCapabilities):
459 * src/fcpat.c: (FcValueListEntCreate):
460 * src/fcstr.c: (FcStrCaseWalkerInit):
461 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
463 Various GCC 4 cleanups for signed vs unsigned char
465 Match only [0-9]*.conf files in <include>{directory}</include>
466 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
468 2005-07-15 Carl Worth <cworth@cworth.org>
471 * src/fcinit.c: (FcFini):
472 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
475 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
476 Pull the FcObjectStateName hash table out to file scope, and add
477 FcObjectStaticNameFini so that FcFini will cleanup this hash table
480 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
483 2005-06-16 Patrick Lam <plam@MIT.EDU>
487 * src/fccfg.c: (FcConfigCompareValue):
488 Make FcOpNotContains use FcStrStr for strings so that
489 it matches semantics for !FcOpContains.
491 2005-05-20 Keith Packard <keithp@keithp.com>
495 Move fontconfig source package to libs as per override
497 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
499 reviewed by: Mike Fabian
502 The ka.orth file requires several characters which are not
503 used anymore in modern Georgian and which are missing in the free
504 Georgian TrueType fonts downloadable at:
506 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
508 2005-04-27 Keith Packard <keithp@keithp.com>
512 Update date to real 2.3.2 release date.
513 Fix change attributions
515 2005-04-27 Keith Packard <keithp@keithp.com>
518 Bump so revision for 2.3.2
519 * fc-cache/fc-cache.c: (scanDirs):
520 Fix a few minor leaks in error cases.
522 2005-04-23 Keith Packard <keithp@keithp.com>
527 * fontconfig/fontconfig.h:
528 Update for version 2.3.2
530 2005-04-21 Keith Packard <keithp@keithp.com>
532 * debian/fontconfig.postinst:
533 Don't force bitmap font enable in default
534 configuration; allows users to override this in
544 * debian/po/pt_BR.po:
545 * debian/po/templates.pot:
547 * debian/po/zh_CN.po:
550 * fc-cache/fc-cache.c: (main):
551 Destroy font configuration on exit to help valgrind
554 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
555 (FcFreeTypeCheckGlyph):
556 Use own transcoding routines in preference to iconv
557 which appears to have leaks in some translators.
558 Call iconv_close after using iconv (oops).
560 Prefer unicode encoding of Euro char as some
561 fonts mis-encode Euro in other ones.
563 Must fetch bitmap glyphs to get width values
564 to check for monospace/dual-width fonts.
566 2005-04-13 Ross Burton <ross@burtonini.com>
569 Check that a pattern isn't already frozen in FcPatternFreeze.
571 2005-03-31 Ross Burton <ross@burtonini.com>
576 Run all FcPattern objects through FcObjectStaticName, so that
577 compares can be done on pointers instead of strings (#2659)
579 2005-03-17 Tor Lillqvist <tml@novell.com>
581 * src/fontconfig.def.in: Add the .dll to the dll name.
583 2005-03-10 Keith Packard <keithp@keithp.com>
585 * debian/README.Debian:
586 Update to reflect configuration changes
588 * debian/fontconfig.postinst:
589 Fix Autohint vs Autohinter mistake
590 * debian/fontconfig.templates:
591 Adopt changes from Josselin Mouette for configuration descriptions
592 Update debian to version 2.3.1-2
594 2005-03-08 Keith Packard <keithp@keithp.com>
598 Update debian for 2.3.1
600 2005-03-09 Tor Lillqvist <tml@novell.com>
602 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
605 * src/fccfg.c (FcConfigFileExists): Check also drive letter
608 2005-03-08 Keith Packard <keithp@keithp.com>
612 * fontconfig/fontconfig.h:
615 2005-03-05 Keith Packard <keithp@keithp.com>
617 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
618 Include space and remove numbers from valid script tags.
619 This ensures that tags like 'lao ' work while rejecting
620 those which have any digits.
621 Eliminate a spurious debugging variable (len)
623 2005-03-05 Keith Packard <keithp@keithp.com>
625 * src/fcfreetype.c: (addtag), (GetScriptTags),
626 (FcFontCapabilities):
627 Rework GSUB/GPOS script parsing to survive broken fonts.
628 Thanks for the broken font go to Manish Singh
630 2005-03-05 Keith Packard <keithp@keithp.com>
635 * debian/fontconfig.config:
636 * debian/fontconfig.templates:
638 Include 2.3 release information in changelog
639 Add Josselin Mouette as an Uploader
640 Set hinting_type to low priority configuration option
643 * debian/fontconfig.postinst:
644 yes_bitmaps.conf -> yes-bitmaps.conf
650 2005-03-02 Keith Packard <keithp@keithp.com>
653 * conf.d/Makefile.am:
654 * conf.d/autohint.conf:
655 * conf.d/no-sub-pixel.conf:
656 * conf.d/sub-pixel.conf:
657 * conf.d/unhinted.conf:
658 * debian/autohint.conf:
659 * debian/fontconfig.install:
660 * debian/fontconfig.postinst:
661 * debian/fontconfig.templates:
662 * debian/no-sub-pixel.conf:
663 * debian/unhinted.conf:
664 Move debian-specific conf file examples upstream.
666 Sub-pixel configuration examples must smash subpixel value
667 as Xft always sets it from X.
669 Change sub-pixel rendering debconf descriptions from
670 Enable/Disable to Always/Never.
672 2005-03-02 Keith Packard <keithp@keithp.com>
677 Ignore more build detritus
680 Add debian package construction stuff.
682 * config/config.guess:
684 Update to newer versions of these tools
687 Get library manuals to build again (we love automake).
689 * debian/README.Debian:
690 * debian/autohint.conf:
695 * debian/fontconfig-udeb.install:
696 * debian/fontconfig.config:
697 * debian/fontconfig.defoma:
698 * debian/fontconfig.dirs:
699 * debian/fontconfig.install:
700 * debian/fontconfig.postinst:
701 * debian/fontconfig.postrm:
702 * debian/fontconfig.templates:
703 * debian/libfontconfig1-dev.install:
704 * debian/libfontconfig1.install:
705 * debian/local.conf.md5sum:
706 * debian/no-sub-pixel.conf:
707 * debian/po/POTFILES.in:
716 * debian/po/pt_BR.po:
717 * debian/po/templates.pot:
719 * debian/po/zh_CN.po:
721 * debian/unhinted.conf:
722 Update debian build system to switch maintainers and
723 deal with 2.3 functionality
725 2005-03-01 Keith Packard <keithp@keithp.com>
729 * fontconfig/fontconfig.h:
732 2005-03-01 Keith Packard <keithp@keithp.com>
735 Generate and install PDF versions of the manuals
737 * doc/fcpattern.fncs:
741 Add missing exported functions, fix data types
743 * doc/fontconfig-devel.sgml:
744 Add missing pattern elements.
746 * doc/fontconfig-user.sgml:
747 Add missing pattern elements. Document conf.d usage,
748 clarify available orthography list. Fix some config file
749 attributes. Complete list of constants.
751 * fontconfig/fontconfig.h:
752 Mark FC_SOURCE deprecated.
754 * src/fcfreetype.c: (FcFreeTypeQuery):
755 Don't set FC_SOURCE any longer.
757 2005-02-28 Keith Packard <keithp@keithp.com>
760 * conf.d/Makefile.am:
762 * conf.d/no-bitmaps.conf:
763 * conf.d/sub-pixel.conf:
764 * conf.d/yes-bitmaps.conf:
766 Create prototype /etc/fonts/conf.d directory with a few
767 sample configuration files.
768 Deprecate use of local.conf for local customizations in favor of
769 this directory based scheme which is more easily integrated into
770 installation systems.
773 Tag FC_EMBOLDEN as a boolean variable
775 2005-02-10 Keith Packard <keithp@keithp.com>
777 reviewed by: pborelli@katamail.com
779 * src/fcdir.c: (FcFileScanConfig):
780 Free patterns from fonts which are rejected by configuration
783 2005-01-28 Keith Packard <keithp@keithp.com>
787 * fontconfig/fontconfig.h:
788 Update for version 2.2.99
790 2005-01-28 Keith Packard <keithp@keithp.com>
793 Add a few pointers (#2284, #2285)
795 2005-01-28 Keith Packard <keithp@keithp.com>
798 * src/fcname.c: (FcNameBool):
799 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
800 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
801 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
802 Polite typechecking for test and edit expressions. Helps
803 catch errors in the font configuration. (bug 229)
805 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
807 reviewed by: Keith Packard <keithp@keithp.com>
810 Have --with-expat set EXPAT_CFLAGS (bug 2278)
812 2005-01-13 Keith Packard <keithp@keithp.com>
814 * doc/fontconfig-user.sgml:
815 Add SEE ALSO section (bug 2085)
817 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
819 reviewed by: Keith Packard <keithp@keithp.com>
824 * fc-case/Makefile.am:
825 * fc-glyphname/Makefile.am:
826 * fc-lang/Makefile.am:
827 * src/fontconfig.def.in:
828 Cross compiling fixes (bug 280)
830 2005-01-13 Keith Packard <keithp@keithp.com>
833 Update blanks list (Closes bug 86)
835 2005-01-04 Keith Packard <keithp@keithp.com>
837 * src/fccache.c: (FcCacheFontSetAdd):
838 Verify that every font pattern loaded from cache has
839 both FC_FILE and FC_FAMILY entries.
840 Attempt to fix bug #2219.
842 2004-12-29 Keith Packard <keithp@keithp.com>
846 * fontconfig/fontconfig.h:
847 Update for version 2.2.98
849 2004-12-29 Keith Packard <keithp@keithp.com>
851 * fontconfig/fontconfig.h:
852 Document ASCII limitations of Fc character conversion macros
853 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
854 Fix off-by-one error in utf-8 case walking code.
855 Add FcStrDowncase (useful for testing case conversion functions)
857 2004-12-29 Keith Packard <keithp@keithp.com>
860 * fc-case/.cvsignore:
861 clean up CVS ignore lists
862 * fc-lang/iso-3166.txt:
863 Add territory database
865 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
867 Reviewed by: Keith Packard
870 Remove Han characters from Korean orthography
872 2004-12-29 Keith Packard <keithp@keithp.com>
875 Reorder utility programs to make sure fc-case is run before fc-lang
876 as fc-lang uses fcstr.c which uses fccase.h
880 2004-12-29 Keith Packard <keithp@keithp.com>
883 Adopt some RedHat suggestions for standard font configuration.
887 * fc-case/CaseFolding.txt:
888 * fc-case/Makefile.am:
889 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
890 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
891 (dump), (parseRaw), (caseFoldReadRaw), (main):
892 * fc-case/fccase.tmpl.h:
893 Add new helper program 'fc-case' to construct case folding
894 tables from standard Unicode CaseFolding.txt file
897 * src/fclist.c: (FcListValueHash):
898 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
899 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
900 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
901 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
902 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
903 Re-implement case insensitive functions with Unicode
904 aware versions (including full case folding mappings)
906 2004-12-13 Keith Packard <keithp@keithp.com>
908 reviewed by: Owen Taylor <otaylor@redhat.com>
910 * src/fcmatch.c: (FcFontSetSort):
911 I changed FcFontSetSort to respect the generic aliases better
912 in the face of language matching.
914 What I did was to ammend the strict sort order used by FcFontSort so
915 that it 'satisfies' the language specified in the pattern by locating
916 the best matching font supporting each pattern language and then
917 ignores language in the remaining fonts for purposes of matching.
919 So, when asking for 'sans:lang=en', you'll get an English font first,
920 and then the remaining fonts sorted with respect to the 'sans' alias
921 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
923 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
925 reviewed by: Keith Packard <keithp@keithp.com>
927 * fontconfig/fontconfig.h:
930 Configuration changes to request synthetic emboldening of
931 fonts. The actual emboldening code will live in Xft.
933 2004-12-09 John Thacker <thacker@math.cornell.edu>
935 reviewed by: Keith Packard <keithp@keithp.com>
939 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
940 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
941 и), and don't even appear in KOI8-R. (The hypothesis that they
942 don't appear in KOI8-R due to their similarity with Latin I and i is
943 eliminated by their presence in KOI8-U.) I have a couple of fonts
944 with Russian support that don't have the letter.
946 Therefore, 0406 and 0456 should be removed from or commented out of
949 2004-12-06 michael meeks <mmeeks@novell.com>
951 Reviewed by: Keith Packard <keithp@keithp.com>
953 * src/fcinit.c: (FcMemReport):
955 * src/fclist.c: (FcObjectSetAdd):
956 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
957 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
958 * src/fcxml.c: (FcParsePatelt):
959 memoize strings and share a single copy for all uses. Note that
960 this could be improved further by using statically allocated blocks
961 and gluing multiple strings together, but I'm basically lazy.
962 In my environment with 800 font files, I get a savings of about 90KB.
964 2004-12-06 Keith Packard <keithp@keithp.com>
968 * config/Makedefs.in:
973 * doc/fccharset.fncs:
975 * doc/fcconstant.fncs:
977 * doc/fcfontset.fncs:
978 * doc/fcfreetype.fncs:
981 * doc/fcobjectset.fncs:
982 * doc/fcobjecttype.fncs:
983 * doc/fcpattern.fncs:
987 * doc/fontconfig-devel.sgml:
988 * doc/fontconfig-user.sgml:
990 * doc/version.sgml.in:
991 * fc-cache/Makefile.am:
992 * fc-cache/fc-cache.c:
993 * fc-glyphname/Makefile.am:
994 * fc-glyphname/fc-glyphname.c:
995 * fc-glyphname/fcglyphname.tmpl.h:
996 * fc-lang/Makefile.am:
1006 * fc-lang/az_ir.orth:
1040 * fc-lang/fc-lang.c:
1041 * fc-lang/fc-lang.man:
1042 * fc-lang/fclang.tmpl.h:
1087 * fc-lang/ku_ir.orth:
1120 * fc-lang/ps_af.orth:
1121 * fc-lang/ps_pk.orth:
1150 * fc-lang/ti_er.orth:
1151 * fc-lang/ti_et.orth:
1177 * fc-lang/zh_cn.orth:
1178 * fc-lang/zh_hk.orth:
1179 * fc-lang/zh_mo.orth:
1180 * fc-lang/zh_sg.orth:
1181 * fc-lang/zh_tw.orth:
1183 * fc-list/Makefile.am:
1184 * fc-list/fc-list.c:
1185 * fc-match/Makefile.am:
1186 * fc-match/fc-match.1:
1187 * fc-match/fc-match.c:
1188 * fontconfig/fcfreetype.h:
1189 * fontconfig/fcprivate.h:
1190 * fontconfig/fontconfig.h:
1211 Change files from ISO-Latin-1 to UTF-8
1213 2004-12-04 Keith Packard <keithp@keithp.com>
1216 Update links to new freedesktop.org locations
1218 Add uninstall-local to get rid of fonts.conf and local.conf if they
1219 match the distributed versions. Fixes 'make distcheck'
1221 2004-12-04 Keith Packard <keithp@keithp.com>
1225 * fontconfig/fontconfig.h:
1226 Updates for version 2.2.97
1228 2004-12-04 Owen Taylor <otaylor@redhat.com>
1230 reviewed by: Keith Packard <keithp@keithp.com>
1232 * fc-cache/fc-cache.c: (main):
1233 Sleep for two seconds before exiting to make sure timestamps
1234 for future changes have distinct mod times in the file system.
1237 Add Punjabi orthography. Bug #1671.
1239 2004-12-04 Keith Packard <keithp@keithp.com>
1242 Just remove the FC_FONTDATE -- it has locale issues and
1243 annoys redhat multi-arch installs. Now that all X fonts are
1244 included without prejudice, the chances of the date being at
1245 all interesting are rather limited. Bug #505.
1247 Add copyright and license
1249 2004-12-04 Keith Packard <keithp@keithp.com>
1252 Change default set of fonts to include all of
1253 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1254 * doc/fontconfig-user.sgml:
1255 Document new <include>directory-name</include> semantics
1257 add <include ignore_missing="yes">conf.d</include>
1259 Add selectfont to ignore bitmap fonts, add comment for
1260 selectfont which accepts bitmap fonts.
1263 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1264 Allow <include> configuration elements to reference directories.
1265 Parse and load all files of the form [0-9]* in sorted order.
1267 2004-12-04 Keith Packard <keithp@keithp.com>
1270 Report command line for $srcdir/configure accurately.
1273 2004-12-04 Keith Packard <keithp@keithp.com>
1275 * src/fcfreetype.c: (FcFreeTypeQuery):
1276 Check for non-empty face->family_name and face->style_name
1277 before using those for the font. Empty names match everything.
1280 2004-12-04 Keith Packard <keithp@keithp.com>
1283 * fontconfig/fontconfig.h:
1284 * src/fcfreetype.c: (FcFreeTypeQuery):
1286 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1287 available. This provides font file format information (BDF, Type 1,
1288 PCF, TrueType) for each font. Closes #109.
1290 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1292 reviewed by: Keith Packard <keithp@keithp.com>
1294 * doc/fontconfig-user.sgml:
1297 * fontconfig/fontconfig.h:
1298 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1299 (GetScriptTags), (FcFontCapabilities):
1301 Add detection for font capabilities (bug #105)
1303 2004-12-04 Keith Packard <keithp@keithp.com>
1306 Move existing fonts.conf to fonts.conf.bak
1309 Add detection of iconv
1311 * doc/fcpattern.fncs:
1312 * doc/fontconfig-devel.sgml:
1313 * doc/fontconfig-user.sgml:
1315 Document new selectfont elements
1318 Switch to UTF-8 in comment
1320 * fontconfig/fontconfig.h:
1322 Add fullname, and family/style/fullname language entries
1324 * src/fccache.c: (FcCacheFontSetAdd):
1325 * src/fcdir.c: (FcFileScanConfig):
1326 Respect selectfont/*/glob
1329 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1330 (FcConfigCompareValue), (FcConfigPatternsAdd),
1331 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1332 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1333 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1334 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1335 Add support for selectfont
1337 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1338 (FcStringInPatternElement), (FcFreeTypeQuery):
1339 Add multi-lingual family/style/fullname support
1341 * src/fclist.c: (FcListPatternMatchAny):
1342 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1344 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1345 (FcObjectStaticName):
1346 Add new FcPatternRemove/FcPatternAppend.
1347 FcObjectStaticName stores computed pattern element names which
1348 are required to be static.
1350 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1355 Remove spurious / after $(DESTDIR)
1357 2004-06-30 Keith Packard <keithp@keithp.com>
1361 * fontconfig/fontconfig.h:
1364 2004-06-30 Keith Packard <keithp@keithp.com>
1366 Provided by: Lubos Lunak <l.lunak@suse.cz>
1368 * src/fccfg.c: (FcConfigUptoDate):
1369 However FcConfigUptoDate() doesn't seem to work. See the attached
1370 patch. First there's an obvious misplaced parenthesis making it
1371 return always false, and second, even this call fails to detect font
1372 changes (e.g. adding a new font to
1373 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1374 well. The problem seems to be triggered by my fonts.conf specifying
1375 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1376 doesn't include subdirs, unlike config->fontDirs.
1378 2004-06-03 Keith Packard <keithp@keithp.com>
1380 * fontconfig/fontconfig.h:
1381 Remove comma at end of FcResult enum definition.
1383 2004-05-29 Keith Packard <keithp@keithp.com>
1386 Add steps to md5sum release
1388 2004-05-29 Keith Packard <keithp@keithp.com>
1392 * fontconfig/fontconfig.h:
1395 2004-05-29 Keith Packard <keithp@keithp.com>
1397 * fontconfig/fontconfig.h:
1398 * src/fcmatch.c: (FcFontSetMatch):
1399 Add FcResultOutOfMemory to provide an accurate error when
1400 FcFontSetMatch fails in this way
1403 Make #warning about lacking various FreeType features indicate
1404 which version those features appeared so users know how to
1405 fix the problem (Thanks to Anton Tropashko)
1407 2004-05-05 Keith Packard <keithp@keithp.com>
1409 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1410 Replace MIN/MAX/ABS macros which happen to have come
1411 from FreeType with fontconfig-specific ones (FC_*)
1413 2004-04-23 Keith Packard <keithp@keithp.com>
1416 Extend release preparation instructions to include
1417 notification and distribution steps
1419 2004-04-23 Keith Packard <keithp@keithp.com>
1423 * fontconfig/fontconfig.h:
1424 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1426 2004-04-23 Keith Packard <keithp@keithp.com>
1429 Ignore a few more autotool files
1431 2004-04-14 Keith Packard <keithp@keithp.com>
1434 Add instructions for doing a release
1436 * fontconfig.spec.in:
1437 clean up .spec file; perhaps this will be useful to somebody...
1441 * fontconfig/fontconfig.h:
1444 * fc-lang/fc-lang.c:
1445 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1447 * fc-glyphname/Makefile.am:
1448 * fc-lang/Makefile.am:
1449 * fc-list/Makefile.am:
1450 * fc-match/Makefile.am:
1452 Add WARN_CFLAGS to pass -W flags for GCC systems
1454 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1455 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1456 Change various char types around to match across
1458 Fixed bug in using available_sizes[i].height which
1459 is in pixels, not 64ths of a pixel.
1461 2004-03-06 Keith Packard <keithp@keithp.com>
1463 * src/fcfreetype.c: (FcFreeTypeQuery):
1464 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1465 matches looking for explicit values prefer exact matches
1467 2004-03-02 Keith Packard <keithp@keithp.com>
1469 Supplied by: mfabian@suse.de (Mike FABIAN)
1471 * src/fcfreetype.c: (FcFreeTypeQuery):
1472 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1473 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1475 2004-02-21 Manish Singh <yosh@gimp.org>
1477 * fc-glyphname/fc-glyphname.c: (main):
1478 Cast strlen to int for printf, so we're 64-bit clean.
1480 2004-02-11 Keith Packard <keithp@keithp.com>
1483 * src/fcfreetype.c: (FcGetPixelSize):
1484 Ok, so I messed up the test for y_ppem. Let's see if I
1485 got it right this time.
1487 2004-02-10 Keith Packard <keithp@keithp.com>
1490 * src/fcfreetype.c: (FcGetPixelSize):
1491 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1492 FT_Bitmap_Size record. Add a configure.in test for this
1493 and change the code accordingly (using height instead).
1495 2004-02-06 Keith Packard <keithp@keithp.com>
1498 Add Low Saxon orthography
1499 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1501 * src/fccfg.c: (FcConfigNewestFile):
1502 Oops. Left 'newest.set' unset, which would miscompute
1505 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1506 (FcFreeTypeCheckGlyph):
1507 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1508 font properties (which report the wrong value in current FreeType)
1510 Don't attempt to check for empty glyphs in non-scalable fonts; they
1513 2004-02-01 Tor Lillqvist <tml@iki.fi>
1515 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1516 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1517 cache if config->cache is NULL, which happens if FcConfigHome() is
1518 NULL. Guard against that by using the temp folder in that case.
1520 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1522 * fc-lang/az_ir.orth:
1523 * fc-lang/ku_ir.orth:
1524 * fc-lang/ps_af.orth:
1525 * fc-lang/ps_pk.orth:
1526 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1527 (Afghan and Pakistani).
1529 Updated Urdu orthography with real data.
1531 2003-12-11 Carl Worth <cworth@east.isi.edu>
1533 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1536 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1538 (all-local): Remove excessive whitespace.
1540 * autogen.sh: Add 'set -e' to abort when any program fails,
1541 (avoids printing of 'now type make' after configure aborts).
1543 2003-11-17 Eric Christopherson <rakko@charter.net>
1545 reviewed by: Keith Packard <keithp@keithp.com>
1548 * fontconfig/fcfreetype.h:
1550 Switch to FreeType 2.1.7 style includes. Bug #150.
1552 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1554 * fc-list/fc-list.sgml: Add some example usages.
1556 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1559 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1562 2003-10-27 Keith Packard <keith@keithp.com>
1565 * fontconfig/fontconfig.h:
1566 Update to version 2.2.92
1568 2003-10-27 Keith Packard <keithp@keithp.com>
1573 * fc-cache/Makefile.am:
1574 * fc-glyphname/Makefile.am:
1575 * fc-lang/Makefile.am:
1576 * fc-list/Makefile.am:
1577 * fc-match/Makefile.am:
1580 Yet more cleanups to finish getting 'make distcheck' working
1581 This has been tested to ensure that it even works from a _build
1584 2003-10-26 Keith Packard <keithp@keithp.com>
1588 * fc-cache/Makefile.am:
1589 * fc-glyphname/Makefile.am:
1590 * fc-lang/Makefile.am:
1591 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1592 * fc-list/Makefile.am:
1593 * fc-match/Makefile.am:
1594 Attempts to fix 'make distcheck' work. Things are
1595 progressing pretty well, but there are still failures
1596 long into the process dealing with docs (as always).
1598 The big changes here are mostly to make $(srcdir) != "."
1599 work correctly, fixing the docbook related sections and
1600 fc-lang were particularily tricky. Docbook refuses to load
1601 system entities from anywhere other than where the original .sgml
1602 file was located, so no luck looking in "." for the
1603 configure-generated version.sgml and confdir.sgml files.
1605 fc-lang needed help finding .orth files; added a -d option
1606 to set the directory as the least evil of many options.
1608 Now to go use a faster machine and try and wring out the last
1611 2003-10-26 Keith Packard <keithp@keithp.com>
1615 2003-10-26 Keith Packard <keithp@keithp.com>
1618 Include confdir.sgml.in in EXTRA_DIST
1620 2003-10-09 Josselin Mouette <joss@debian.org>
1622 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1623 * fc-list/fc-list.sgml fc-list/Makefile.am:
1624 Replace fc-cache and fc-list manpages with more detailed, SGML
1627 2003-09-23 Owen Taylor <otaylor@redhat.com>
1629 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1630 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1631 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1634 2003-09-23 Owen Taylor <otaylor@redhat.com>
1636 * fc-lang/ka.orth: Remove Georgian capitals, they
1637 aren't used for normal writing. (Bug #116)
1639 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1641 * doc/fontconfig-devel.sgml:
1642 * doc/fontconfig-user.sgml:
1643 * fontconfig/fontconfig.h:
1645 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1646 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1648 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1649 monospace and dual-width fonts, allow roughly a 3% variance in the
1652 2003-08-31 Manish Singh <yosh@gimp.org>
1654 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1657 2003-08-15 Carl Worth <cworth@isi.edu>
1659 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1660 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1662 * src/fcpat.c (FcValueListEntDestroy): New function to support
1663 FcFini memory cleanup. Some statistics are not kept in
1665 (FcValueListFreeze): Move hashTable outside this function so it
1666 can be accessed by FcValueListThawAll.
1667 (FcValueListThawAll): New function complements FcValueListFreeze.
1668 (FcPatternBaseFreeze): Move hashTable outside this function so it
1669 can be accessed by FcPatternBaseThawAll.
1670 (FcPatternBaseThawAll): New function complements
1671 FcPatternBaseFreeze.
1672 (FcPatternThawAll): New function complements FcPatternFreeze.
1674 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1676 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1677 allocated FcCharLeafEnt "blocks" so they can be freed later.
1678 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1679 can be accessed by FcCharSetThawAllLeaf.
1680 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1681 (FcCharSetFreezeBase): Move hashTable outside this function so it
1682 can be accessed by FcCharSetThawAll.
1683 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1685 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1686 (FcConfigDestroy): Fic leak of FcBlanks.
1688 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1689 (main): Add call to FcFini when finished.
1691 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1692 static. Add prototypes.
1694 * doc/fcinit.fncs: Add documentation for FcFini function.
1696 * doc/edit-sgml.c: Mark several local functions as static. Add
1699 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1701 2003-06-15 Tor Lillqvist <tml@iki.fi>
1703 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1704 before comparing (needed on Windows).
1706 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1708 2003-06-13 Tor Lillqvist <tml@iki.fi>
1710 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1713 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1714 WINDOWSFONTDIR token.
1716 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1717 end, not to confuse libtool, which expects the EXPORTS line to be
1718 the first. Add FcConfigEnableHome.
1720 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1721 built as a DLL on Win32.
1723 2003-06-09 Keith Packard <keithp@keithp.com>
1725 * Tag version 2.2.90
1727 2003-06-09 Keith Packard <keithp@keithp.com>
1729 * Optimization in FcLangSetIndex was broken, occasionally
1730 returning a pointer to the wrong location on miss
1732 * Add fc-match to test font matching from the command line.
1734 2003-05-31 Keith Packard <keithp@keithp.com>
1736 * (Bug 85) add support for culmus fonts
1737 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1738 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1740 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1742 * Fix "contains" op for strings and langsets.
1744 2003-05-17 Keith Packard <keithp@keithp.com>
1746 * Fix build error with BDF prop local. Free langset after query
1748 2003-05-14 Keith Packard <keithp@keithp.com>
1750 * Extract spacing from XLFD atom
1752 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1754 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1755 disappeared in 1.30.
1757 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1759 2003-05-12 Keith Packard <keithp@keithp.com>
1761 * Use FcIsWidth to share code
1763 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1764 misclassifying some Han fonts as monospaced.
1766 2003-05-07 Keith Packard <keithp@keithp.com>
1768 * Add filename-based accept/reject to ammend available fonts.
1770 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1771 older FreeType releases.
1773 2003-05-06 Keith Packard <keithp@keithp.com>
1775 * Remove 0b82 and Tamil numbers from tamil
1776 orthography (Jungshik Shin <jshin@mailaps.org>)
1778 2003-05-04 Keith Packard <keithp@keithp.com>
1780 + Map glyph names in fonts with adobe custom encoding to unicode
1782 2003-05-02 Keith Packard <keithp@keithp.com>
1784 * Add FC_WEIGHT_BOOK as weight 75
1786 2003-04-30 Keith Packard <keithp@keithp.com>
1788 * Typo in bitstream foundry name
1790 2003-04-24 Keith Packard <keithp@keithp.com>
1792 * Eliminate italic_angle check for PS fonts
1794 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1796 * Getting closer to fixing /etc/fonts hard-coding.
1798 2003-04-22 Keith Packard <keithp@keithp.com>
1800 * Update autogen.sh to work with newer automake versions
1801 * Handle pattern elements moving during multiple edits
1803 2003-04-23 James Henstridge <james@daa.com.au>
1805 * doc/fontconfig-devel.sgml: close the <para> element.
1807 * doc/fcpattern.fncs: close the <para> element.
1809 * doc/func.sgml: close the <refsynopsisdiv> element.
1811 2003-04-22 Keith Packard <keithp@keithp.com
1813 * Update autogen.sh to work with newer automake versions
1814 * Handle pattern elements moving during multiple edits
1816 2003-04-17 Colin Walters <walters@debian.org>
1818 + Remove some unused variables, and initialize some other ones so
1819 gcc doesn't warn us.
1821 2003-04-16 Keith Packard <keithp@keithp.com>
1823 + tag version 2.1.94
1825 2003-04-16 Keith Packard <keithp@keithp.com>
1827 + add BDF property fetching support for foundry
1828 (from Juliusz Chroboczek)
1829 + add BDF property fetching support for width
1831 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1833 + Implemented foundry generation for Type 1 and TrueType
1835 2003-04-11 Gerard Escalante <g2@magestudios.net>
1837 + Retrieve information from Type1 FontInfo dictionaries
1839 2003-04-07 Colin Walters <walters@verbum.org>
1841 + src/Makefile.am: Fix dummy makefile target names when
1842 MS_LIB_AVAILABLE isn't set.
1844 2003-03-22 Tor Lillqvist <tml@iki.fi>
1846 Changes for Windows:
1848 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1850 + We don't want to hardcode the fonts.conf file location in the
1851 DLL, so we look up the DLL location at run-time in a DllMain()
1852 function. The fonts.conf location is deduced from that.
1854 + The colon can't be used as path separator on Windows,
1855 semicolon is used instead. File path components can be separated
1856 with either slash or backslash. Absolute paths can also begin
1857 with a drive letter.
1859 + Add internal function FcStrLastSlash that strrchr's the last
1860 slash, or backslash on Windows.
1862 + There is no link() on Windows. For atomicity checks, mkdir a
1863 lock directory instead.
1865 + In addition to HOME, also look for USERPROFILE.
1867 + Recognize the special font directory token WINDOWSFONTDIR, to
1868 use the system's font directory.
1870 + Remove the fontconfig-def.cpp that was obsolete. Add
1871 fontconfig.def(.in), without internal functions.
1873 + Add a fontconfig-zip(.in) script, used to build a binary
1876 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1877 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1878 to main package and man3/* to devel package
1880 + Added missing defattr(-, root, root) to main RPM package
1882 + Added HTML and text development documentation to -devel subpackage
1884 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1885 + Added back the configure macro options --disable-docs, otherwise
1886 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1887 version number) unconditionally, causing RPM to fail the build due
1888 to _unpackaged_files_terminate_build. We pick up the pregenerated
1889 docs with %doc already.
1891 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1892 + Removed commented out rpm macro define at top of spec file,
1893 replacing it with a simple explanation, since rpm macros are
1894 expanded by rpm even in comments.
1896 + Changed /usr/bin to _bindir in BuildRequires lines
1898 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1900 + Reorganized file manifest lists
1902 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1904 + fontconfig.spec.in: Improvements from Red Hat spec file.
1906 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1908 + docs/*.sgml: SGML fixes.
1910 Sat Mar 1 17:28:53 PST 2003 keithp
1911 + Ok, so the ChangeLog is a bit out of date
1913 + Lots of bugs fixed; most are in bugzilla, the
1914 biggest problems were in cache management where
1915 Owen discovered the library would lose badly when
1916 combining fonts-cache and ~/.fonts-cache data
1918 + Converted from autoconf to automake. This after
1919 getting patches accepted into libtool to allow
1920 the '-version-number' argument which lets
1921 packages set version numbers explicitly rather
1922 than the roundabout libtool way
1924 + Converted documentation to SGML using the docbook
1925 DTD. Now .txt and .html documents are installed
1926 in /usr/share/doc/fontconfig and there's no
1927 man page. Perhaps a man version can be written
1930 Sat Aug 31 15:21:22 PDT 2002 keithp
1931 + Xrender and Xft had several bugs related to
1932 rendering manually placed or poly-face text
1934 + Added more complete memory tracing in fontconfig
1935 Checked with (patched) mozilla and found no leaks
1937 + Updated Latin orthographies by comparing those from
1938 evertype.com with those from eki.ee. Tried to make
1939 sensible choices, including chars that occured in both
1940 and leaving some optional chars out that occured only
1943 Mon Aug 26 16:33:04 PDT 2002 keithp
1944 + Owen discovered that FcLangSetHasLang wasn't actually
1945 checking the language set.
1947 Mon Aug 26 13:37:23 PDT 2002 keithp
1948 + Append a version number to cache filenames
1950 Thu Aug 22 11:36:18 PDT 2002 keithp
1952 + Add "contains" and "not_contains" operators and elements to
1955 + Changed semantics of eq operator for LangSets to check for
1956 FcLangEqual so that any match will do
1958 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1959 of FcValueEqual to check for identical values when inserting into
1960 the results. This broke when the above semantic change was made,
1961 now it uses FcValueEqual which is "more correct" in any case.
1963 Thu Aug 22 00:32:29 PDT 2002 keithp
1965 + Reimplement FC_LANG as new datatype. Lists of strings
1966 was consuming over a megabyte of memory for 401 fonts.
1968 + Freeze patterns loaded from cache files. This shares
1969 common value lists and common patterns which saves
1970 considerable memory.
1972 + Change the denotation of 'constant' charsets to use special
1973 ref value instead of separate boolean.
1975 + Clean up leak tracing stuff, found several unannoted alloc/free
1978 Tue Aug 20 16:17:37 PDT 2002 keithp
1980 + Fix memory leak when parsing matrices from XML
1982 Mon Aug 19 11:57:27 PDT 2002 keithp
1984 + Fix autoconf files to pass FONTCONFIG_PATH on
1985 compile line so that ${prefix} gets substituted
1988 + Use getc_unlocked/putc_unlocked on systems that
1989 provide them to avoid damage done to stdio by posix
1991 + Eliminate FC_PATTERN and FcTypePattern in favor of
1992 an extended api for FcConfigSubstitute which takes
1993 both the font and the pattern.
1995 + Add 'sans serif' alias for 'sans-serif' as some apps
1996 can't handle hyphens in family names
1998 + Eliminate pretense of support for libxml2
2000 + Comment origins of Han orthographies
2002 Tue Jul 30 18:37:09 PDT 2002 keithp
2004 + Add binding property to edit element so that strong
2005 binding values may be inserted by the config file.
2006 The default remains weak.
2008 Sun 28 Jul 04:16:55 PDT 2002 keithp
2010 + Tagged release candidate 1 in the CVS tree and
2011 placed fcpackage.rc1.tar.gz for distribution
2013 Thu Aug 1 08:55:08 PDT 2002 keithp
2015 + Fixed autoconf builds to always specify install
2016 target files (for BSD). Also fixed to
2017 define FONTCONFIG_PATH in config.h so that
2018 nonstandard installs will actually work.