1 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
4 * fc-lang/fc-lang.c (main):
6 Further fix of patch from 2005-11-04: miscounted numbers count
7 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
8 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
10 Removed leafidx_count and numbers_count since they are the same
11 and replaced them with offset_count.
13 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
16 * fc-cat/fc-cat.c (main):
18 Don't crash when fc-cat invoked with no arguments.
20 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
23 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
25 Fix invalid read access caused by premature free and
26 GCC4 warnings in libxml2 codepath.
28 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
31 * src/fccfg.c (FcConfigValues):
33 List iteration not needed in FcConfigValues, since it's building
34 up the list itself; we can just strip FcVoid elements during
37 2005-11-17 Patrick Lam <plam@mit.edu>
38 * src/fccfg.c (FcConfigValues):
40 Fix crash on invalid constants in config files (forgot to update
41 a pointer upon list iteration.)
43 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
46 * src/fcxml.c (FcTypecheckExpr):
48 Complain about invalid constants in config files.
50 2005-11-17 Andreas Schwab <schwab@suse.de>
53 * src/fccache.c (FcGlobalCacheSave):
55 Don't add current_arch_start more than once.
57 2005-11-16 Patrick Lam <plam@mit.edu>
58 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
59 * src/fcfs.c (FcFontSetUnserialize):
60 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
61 * src/fcpat.c (FcStrUnserialize):
63 Fix ordering of ALIGN with respect to saving block_ptr; add
64 another ALIGN to fcfs.c.
66 2005-11-16 Patrick Lam <plam@mit.edu>
67 * src/fccache.c (FcDirCacheProduce)
69 Fix case where alignment bytes bumped up metadata->count
70 causing unwarranted failures to write cache files.
71 (Reported by Stephan Kulow).
73 2005-11-16 Patrick Lam <plam@mit.edu>
74 * src/fccache.c (FcDirCacheProduce):
75 * src/fccharset.c (FcCharSetDistributeBytes):
76 * src/fcfs.c (FcFontSetDistributeBytes):
78 * src/fclang.c (FcLangSetDistributeBytes):
79 * src/fcname.c (FcObjectDistributeBytes):
80 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
83 Add *NeededBytesAlign(), which overestimates the padding which is
84 later added by the new ALIGN macro. Fix alignment problems on
85 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
86 version by Andreas Schwab).
88 2005-11-16 Stephan Kulow <coolo@kde.org>
93 Use sysconf to determine proper PAGESIZE value; this
94 appears to be POSIX-compliant. (reported by Andreas Schwab)
96 2005-11-04 Patrick Lam <plam@mit.edu>
102 Fix bug 2878 (excessive relocations at startup for charsets,
103 reported by Ross Burton): fc-lang/fc-lang now creates the
104 static form of the langset, not the dynamic form, so that
105 the charsets should now be in .rodata.
107 2005-11-04 Patrick Lam <plam@mit.edu>
108 * src/fcdir.c (FcDirScanConfig):
110 Add test for validity of directory caches that
111 somehow got lost (reported by make distcheck).
113 2005-11-04 Patrick Lam <plam@mit.edu>
117 * fontconfig/fontconfig.h:
119 Bump version to 2.3.92.
121 2005-11-02 Patrick Lam <plam@mit.edu>
122 * src/fcpat.c (FcPatternDuplicate):
124 Fix argument ordering problem in call to FcPatternTransferFullFname.
126 2005-11-02 Patrick Lam <plam@mit.edu>
127 * src/fcfreetype.c (FcFreetypeQuery):
128 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
129 FcPatternTransferFullFname):
131 Fix warnings and embarrassing double-free error.
133 2005-11-02 Zhe Su <zsu@novell.com>
138 Change the rule for artificial emboldening in fonts.conf.in. This
139 enables the support for artificial emboldening included in cairo.
141 2005-11-02 Patrick Lam <plam@mit.edu>
142 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
144 Don't zero out full names for FC_REF_CONSTANT fonts;
145 also, duplicate full names when transferring, and free
146 full names when freeing the associated font.
147 Reported by Jinghua Luo.
149 2005-11-02 Patrick Lam <plam@mit.edu>
150 * fc-cache/fc-cache.c (scanDirs):
151 * src/fcpat.c (FcValueListSerialize):
153 Revert the previous patch and commit the correct patch:
154 I forgot a canonicalization in FcValueListSerialize, so
155 that it would choke on already-serialized input files. Duh!
157 2005-11-02 Patrick Lam <plam@mit.edu>
158 * fc-cache/fc-cache.c (scanDirs):
160 Forcibly rescan a directory before writing a fresh local
161 cache file for that directory, fixing the losing-fonts
162 problem reported by Mike Fabian and also apparently the
163 font cache file corruption.
165 2005-11-02 Patrick Lam <plam@mit.edu>
166 * src/fccache.c (FcGlobalCacheLoad):
168 Fix thinko: actually, the whole global cache is stale
169 if the global cache is older than the (newest) config file.
171 2005-11-02 Patrick Lam <plam@mit.edu>
172 * src/fccache.c (FcGlobalCacheLoad):
173 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
176 Declare the global cache of a directory's contents to be stale if
177 the directory is newer than the (newest) configuration file.
179 2005-10-31 Patrick Lam <plam@mit.edu>
181 * src/fclist.c (FcListAppend):
182 * src/fcmatch.c (FcFontRenderPrepare):
183 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
184 FcPatternFreeze, FcPatternBaseFreeze):
186 Copy the full pathname whenever duplicating an FcPattern; otherwise,
187 applications continue breaking.
189 2005-10-31 Patrick Lam <plam@mit.edu>
190 * fc-cat/fc-cat.c (FcCacheFileRead, main):
191 * src/fcfreetype.c (FcFreeTypeQuery):
193 Fix small memory error (tried to free argv); use basename and
194 dirname correctly (they can modify their arguments).
196 2005-10-31 Patrick Lam <plam@mit.edu>
204 Reinstate basename patch, but keep a hash table linking FcPatterns
205 to their fully-qualified font names for clients' benefit. Clients
206 only pay for the font names once they request the FC_FILE property
207 from an FcPattern, but the font name is malloc'd at that point (i.e.
208 not mmapped: that's impossible, since it may vary between machines.)
209 Clients do have to pay for a copy of the path name per cache file.
211 Note that FcPatternGetString now does some rewriting if you ask
212 for an FC_FILE, appending the pathname as appropriate.
214 2005-10-31 Patrick Lam <plam@mit.edu>
215 * src/fcfreetype.c (FcFreeTypeQuery):
217 Revert basename patch, which breaks fontconfig clients on my system.
219 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
222 * fontconfig/fonts.conf.in:
223 * fontconfig/fontconfig.h:
227 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
228 to load embedded bitmaps or not.
230 2005-10-25 Patrick Lam <plam@mit.edu>
231 * src/fcfreetype.c (FcFreeTypeQuery):
233 Only add basename to patterns' FC_FILE element, not any part of
236 2005-10-22 Patrick Lam <plam@mit.edu>
239 Add some more consts, fixing more GCC4 warnings.
241 2005-10-22 Zhe Su <zsu@novell.com>
244 Support localized font family and style names.
245 This has been reported to break old apps like xfd, but modern
246 (gtk+/qt/mozilla) apps work fine.
248 2005-10-21 Patrick Lam <plam@mit.edu>
249 * src/fccache.c (FcGlobalCacheLoad):
251 Destroy the global cache file if it's terminally broken. (reported by
254 2005-10-21 Patrick Lam <plam@mit.edu>
255 * fc-list/fc-list.c (main):
256 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
257 * fontconfig/fontconfig.h:
259 Prevent fc-list from escaping strings when printing them (reported by
262 2005-10-20 Marcus Meissner <meissner@suse.de>
265 * fontconfig/fontconfig.h:
267 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
269 2005-10-14 Ross Burton <ross@burtonini.com>
272 * fc-glyphname/fc-glyphname.c:
275 Add consts to variables so as to move arrays into .rodata.
277 2005-10-14 Mike Fabian <mfabian@suse.de>
280 * src/fccache.c (FcDirCacheUnlink):
282 Check existence of directory cache file before attempting to unlink.
284 2005-10-13 Patrick Lam <plam@mit.edu>
285 * src/fccache.c (FcDirCacheUnlink):
287 Fix flipped return value on unlink. (Reported by Mike Fabian)
289 2005-10-12 Patrick Lam <plam@mit.edu>
292 * src/fcdir.c (FcDirScanConfig):
295 When fc-cache is run without --force, use directory cache files
296 to speed up fc-cache run time. (Reported by Mike Fabian)
298 2005-10-06 Patrick Lam <plam@mit.edu>
300 * src/fcname.c (FcObjectToPtr):
301 * src/fcpat.c (FcStrStaticName):
303 Add padding to make valgrind and glibc not hate each other
304 when calling strlen().
306 2005-10-05 Simos Xenitellis <simos74@gmx.net>
307 reviewed by: plam & keithp
311 Modify config file to use Greek fonts before Asian fonts with
314 2005-10-05 Christian Biesinger <cbiesinger@web.de>
315 reviewed by: plam & keithp
319 Use libtool -no-undefined flag on all platforms.
321 2005-10-05 Patrick Lam <plam@mit.edu>
322 * src/fccache.c (FcCacheHaveBank):
324 Implement move-to-front array for banks (perf regression
325 reported by Ronny V. Vindenes).
327 2005-10-04 Patrick Lam <plam@mit.edu>
328 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
329 FcDirCacheHasCurrentArch):
330 * fc-cache/fc-cache.c (scanDirs):
331 * fontconfig/fontconfig.h:
333 Add new API which unlinks directory caches and checks dir caches
334 for existence of appropriate sections. Fix fc-cache to unlink
335 stale cache files and save directory caches that lack relevant
338 2005-10-03 Patrick Lam <plam@mit.edu>
339 * src/fccache.c (FcDirCacheValid):
341 Ensure that a directory cache has the appropriate section
342 before reporting that it is valid (reported by Matthias Clasen).
344 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
352 Use libxml2 if requested (with --enable-libxml2) or if
353 expat is not available.
355 2005-09-29 Patrick Lam <plam@mit.edu>
356 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
358 Fix multi-arch cache files: compute the position for the
359 block to be added using info from OrigFile, not NewFile.
361 2005-09-28 Patrick Lam <plam@mit.edu>
362 * src/fccache.c (FcCacheMachineSignature):
364 Cast results of sizeof() to unsigned int to get rid of
365 warnings on x86_64 (thanks Matthias Clasen).
367 2005-09-27 Patrick Lam <plam@mit.edu>
368 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
371 Use FcAtomic to rewrite cache files.
373 2005-09-27 Patrick Lam <plam@mit.edu>
375 * src/fccache.c (FcDirCacheWrite):
377 Don't unlink the fonts.cache-2 file even if there's no data
378 to write; just write an empty cache file. (thanks Lubos Lunak)
380 2005-09-27 Patrick Lam <plam@mit.edu>
382 * src/fccache.c (FcDirCacheWrite):
384 Allocate room for the subdirectory names in each
385 directory cache. Thanks to James Cloos for finding
386 and diagnosing this bug!
388 2005-09-22 Patrick Lam <plam@mit.edu>
390 * fc-cache/fc-cache.sgml:
391 * src/fccache.c (FcDirCacheWrite):
392 * src/fccache.h (struct FcCache):
394 Update documentation -- fc-cache's man page now says that you
395 need to run fc-cache once per cached architecture; add some
396 documentation to the FcCache structure.
398 Make fc-cache write out fonts.cache-2 files for directories with
399 no fonts (i.e. only subdirectories).
401 2005-09-22 Patrick Lam <plam@mit.edu>
403 * fc-cache/fc-cache.sgml:
405 * fc-glyphname/fc-glyphname.c:
411 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
416 * fontconfig/fcprivate.h:
417 * fontconfig/fontconfig.h:
431 Implement new mmaped cache for font information.
432 Bump so revision to 2.3.90.
434 2005-07-25 Keith Packard <keithp@keithp.com>
436 * doc/fontconfig-user.sgml:
437 * fc-glyphname/fc-glyphname.c: (scan), (main):
438 * fc-lang/fc-lang.c: (FcConfigHome):
439 * fc-match/fc-match.c: (main):
440 * src/fccfg.c: (FcConfigHome):
441 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
442 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
443 (addtag), (FcFontCapabilities):
444 * src/fcpat.c: (FcValueListEntCreate):
445 * src/fcstr.c: (FcStrCaseWalkerInit):
446 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
448 Various GCC 4 cleanups for signed vs unsigned char
450 Match only [0-9]*.conf files in <include>{directory}</include>
451 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
453 2005-07-15 Carl Worth <cworth@cworth.org>
456 * src/fcinit.c: (FcFini):
457 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
460 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
461 Pull the FcObjectStateName hash table out to file scope, and add
462 FcObjectStaticNameFini so that FcFini will cleanup this hash table
465 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
468 2005-06-16 Patrick Lam <plam@MIT.EDU>
472 * src/fccfg.c: (FcConfigCompareValue):
473 Make FcOpNotContains use FcStrStr for strings so that
474 it matches semantics for !FcOpContains.
476 2005-05-20 Keith Packard <keithp@keithp.com>
480 Move fontconfig source package to libs as per override
482 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
484 reviewed by: Mike Fabian
487 The ka.orth file requires several characters which are not
488 used anymore in modern Georgian and which are missing in the free
489 Georgian TrueType fonts downloadable at:
491 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
493 2005-04-27 Keith Packard <keithp@keithp.com>
497 Update date to real 2.3.2 release date.
498 Fix change attributions
500 2005-04-27 Keith Packard <keithp@keithp.com>
503 Bump so revision for 2.3.2
504 * fc-cache/fc-cache.c: (scanDirs):
505 Fix a few minor leaks in error cases.
507 2005-04-23 Keith Packard <keithp@keithp.com>
512 * fontconfig/fontconfig.h:
513 Update for version 2.3.2
515 2005-04-21 Keith Packard <keithp@keithp.com>
517 * debian/fontconfig.postinst:
518 Don't force bitmap font enable in default
519 configuration; allows users to override this in
529 * debian/po/pt_BR.po:
530 * debian/po/templates.pot:
532 * debian/po/zh_CN.po:
535 * fc-cache/fc-cache.c: (main):
536 Destroy font configuration on exit to help valgrind
539 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
540 (FcFreeTypeCheckGlyph):
541 Use own transcoding routines in preference to iconv
542 which appears to have leaks in some translators.
543 Call iconv_close after using iconv (oops).
545 Prefer unicode encoding of Euro char as some
546 fonts mis-encode Euro in other ones.
548 Must fetch bitmap glyphs to get width values
549 to check for monospace/dual-width fonts.
551 2005-04-13 Ross Burton <ross@burtonini.com>
554 Check that a pattern isn't already frozen in FcPatternFreeze.
556 2005-03-31 Ross Burton <ross@burtonini.com>
561 Run all FcPattern objects through FcObjectStaticName, so that
562 compares can be done on pointers instead of strings (#2659)
564 2005-03-17 Tor Lillqvist <tml@novell.com>
566 * src/fontconfig.def.in: Add the .dll to the dll name.
568 2005-03-10 Keith Packard <keithp@keithp.com>
570 * debian/README.Debian:
571 Update to reflect configuration changes
573 * debian/fontconfig.postinst:
574 Fix Autohint vs Autohinter mistake
575 * debian/fontconfig.templates:
576 Adopt changes from Josselin Mouette for configuration descriptions
577 Update debian to version 2.3.1-2
579 2005-03-08 Keith Packard <keithp@keithp.com>
583 Update debian for 2.3.1
585 2005-03-09 Tor Lillqvist <tml@novell.com>
587 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
590 * src/fccfg.c (FcConfigFileExists): Check also drive letter
593 2005-03-08 Keith Packard <keithp@keithp.com>
597 * fontconfig/fontconfig.h:
600 2005-03-05 Keith Packard <keithp@keithp.com>
602 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
603 Include space and remove numbers from valid script tags.
604 This ensures that tags like 'lao ' work while rejecting
605 those which have any digits.
606 Eliminate a spurious debugging variable (len)
608 2005-03-05 Keith Packard <keithp@keithp.com>
610 * src/fcfreetype.c: (addtag), (GetScriptTags),
611 (FcFontCapabilities):
612 Rework GSUB/GPOS script parsing to survive broken fonts.
613 Thanks for the broken font go to Manish Singh
615 2005-03-05 Keith Packard <keithp@keithp.com>
620 * debian/fontconfig.config:
621 * debian/fontconfig.templates:
623 Include 2.3 release information in changelog
624 Add Josselin Mouette as an Uploader
625 Set hinting_type to low priority configuration option
628 * debian/fontconfig.postinst:
629 yes_bitmaps.conf -> yes-bitmaps.conf
635 2005-03-02 Keith Packard <keithp@keithp.com>
638 * conf.d/Makefile.am:
639 * conf.d/autohint.conf:
640 * conf.d/no-sub-pixel.conf:
641 * conf.d/sub-pixel.conf:
642 * conf.d/unhinted.conf:
643 * debian/autohint.conf:
644 * debian/fontconfig.install:
645 * debian/fontconfig.postinst:
646 * debian/fontconfig.templates:
647 * debian/no-sub-pixel.conf:
648 * debian/unhinted.conf:
649 Move debian-specific conf file examples upstream.
651 Sub-pixel configuration examples must smash subpixel value
652 as Xft always sets it from X.
654 Change sub-pixel rendering debconf descriptions from
655 Enable/Disable to Always/Never.
657 2005-03-02 Keith Packard <keithp@keithp.com>
662 Ignore more build detritus
665 Add debian package construction stuff.
667 * config/config.guess:
669 Update to newer versions of these tools
672 Get library manuals to build again (we love automake).
674 * debian/README.Debian:
675 * debian/autohint.conf:
680 * debian/fontconfig-udeb.install:
681 * debian/fontconfig.config:
682 * debian/fontconfig.defoma:
683 * debian/fontconfig.dirs:
684 * debian/fontconfig.install:
685 * debian/fontconfig.postinst:
686 * debian/fontconfig.postrm:
687 * debian/fontconfig.templates:
688 * debian/libfontconfig1-dev.install:
689 * debian/libfontconfig1.install:
690 * debian/local.conf.md5sum:
691 * debian/no-sub-pixel.conf:
692 * debian/po/POTFILES.in:
701 * debian/po/pt_BR.po:
702 * debian/po/templates.pot:
704 * debian/po/zh_CN.po:
706 * debian/unhinted.conf:
707 Update debian build system to switch maintainers and
708 deal with 2.3 functionality
710 2005-03-01 Keith Packard <keithp@keithp.com>
714 * fontconfig/fontconfig.h:
717 2005-03-01 Keith Packard <keithp@keithp.com>
720 Generate and install PDF versions of the manuals
722 * doc/fcpattern.fncs:
726 Add missing exported functions, fix data types
728 * doc/fontconfig-devel.sgml:
729 Add missing pattern elements.
731 * doc/fontconfig-user.sgml:
732 Add missing pattern elements. Document conf.d usage,
733 clarify available orthography list. Fix some config file
734 attributes. Complete list of constants.
736 * fontconfig/fontconfig.h:
737 Mark FC_SOURCE deprecated.
739 * src/fcfreetype.c: (FcFreeTypeQuery):
740 Don't set FC_SOURCE any longer.
742 2005-02-28 Keith Packard <keithp@keithp.com>
745 * conf.d/Makefile.am:
747 * conf.d/no-bitmaps.conf:
748 * conf.d/sub-pixel.conf:
749 * conf.d/yes-bitmaps.conf:
751 Create prototype /etc/fonts/conf.d directory with a few
752 sample configuration files.
753 Deprecate use of local.conf for local customizations in favor of
754 this directory based scheme which is more easily integrated into
755 installation systems.
758 Tag FC_EMBOLDEN as a boolean variable
760 2005-02-10 Keith Packard <keithp@keithp.com>
762 reviewed by: pborelli@katamail.com
764 * src/fcdir.c: (FcFileScanConfig):
765 Free patterns from fonts which are rejected by configuration
768 2005-01-28 Keith Packard <keithp@keithp.com>
772 * fontconfig/fontconfig.h:
773 Update for version 2.2.99
775 2005-01-28 Keith Packard <keithp@keithp.com>
778 Add a few pointers (#2284, #2285)
780 2005-01-28 Keith Packard <keithp@keithp.com>
783 * src/fcname.c: (FcNameBool):
784 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
785 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
786 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
787 Polite typechecking for test and edit expressions. Helps
788 catch errors in the font configuration. (bug 229)
790 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
792 reviewed by: Keith Packard <keithp@keithp.com>
795 Have --with-expat set EXPAT_CFLAGS (bug 2278)
797 2005-01-13 Keith Packard <keithp@keithp.com>
799 * doc/fontconfig-user.sgml:
800 Add SEE ALSO section (bug 2085)
802 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
804 reviewed by: Keith Packard <keithp@keithp.com>
809 * fc-case/Makefile.am:
810 * fc-glyphname/Makefile.am:
811 * fc-lang/Makefile.am:
812 * src/fontconfig.def.in:
813 Cross compiling fixes (bug 280)
815 2005-01-13 Keith Packard <keithp@keithp.com>
818 Update blanks list (Closes bug 86)
820 2005-01-04 Keith Packard <keithp@keithp.com>
822 * src/fccache.c: (FcCacheFontSetAdd):
823 Verify that every font pattern loaded from cache has
824 both FC_FILE and FC_FAMILY entries.
825 Attempt to fix bug #2219.
827 2004-12-29 Keith Packard <keithp@keithp.com>
831 * fontconfig/fontconfig.h:
832 Update for version 2.2.98
834 2004-12-29 Keith Packard <keithp@keithp.com>
836 * fontconfig/fontconfig.h:
837 Document ASCII limitations of Fc character conversion macros
838 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
839 Fix off-by-one error in utf-8 case walking code.
840 Add FcStrDowncase (useful for testing case conversion functions)
842 2004-12-29 Keith Packard <keithp@keithp.com>
845 * fc-case/.cvsignore:
846 clean up CVS ignore lists
847 * fc-lang/iso-3166.txt:
848 Add territory database
850 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
852 Reviewed by: Keith Packard
855 Remove Han characters from Korean orthography
857 2004-12-29 Keith Packard <keithp@keithp.com>
860 Reorder utility programs to make sure fc-case is run before fc-lang
861 as fc-lang uses fcstr.c which uses fccase.h
865 2004-12-29 Keith Packard <keithp@keithp.com>
868 Adopt some RedHat suggestions for standard font configuration.
872 * fc-case/CaseFolding.txt:
873 * fc-case/Makefile.am:
874 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
875 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
876 (dump), (parseRaw), (caseFoldReadRaw), (main):
877 * fc-case/fccase.tmpl.h:
878 Add new helper program 'fc-case' to construct case folding
879 tables from standard Unicode CaseFolding.txt file
882 * src/fclist.c: (FcListValueHash):
883 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
884 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
885 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
886 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
887 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
888 Re-implement case insensitive functions with Unicode
889 aware versions (including full case folding mappings)
891 2004-12-13 Keith Packard <keithp@keithp.com>
893 reviewed by: Owen Taylor <otaylor@redhat.com>
895 * src/fcmatch.c: (FcFontSetSort):
896 I changed FcFontSetSort to respect the generic aliases better
897 in the face of language matching.
899 What I did was to ammend the strict sort order used by FcFontSort so
900 that it 'satisfies' the language specified in the pattern by locating
901 the best matching font supporting each pattern language and then
902 ignores language in the remaining fonts for purposes of matching.
904 So, when asking for 'sans:lang=en', you'll get an English font first,
905 and then the remaining fonts sorted with respect to the 'sans' alias
906 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
908 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
910 reviewed by: Keith Packard <keithp@keithp.com>
912 * fontconfig/fontconfig.h:
915 Configuration changes to request synthetic emboldening of
916 fonts. The actual emboldening code will live in Xft.
918 2004-12-09 John Thacker <thacker@math.cornell.edu>
920 reviewed by: Keith Packard <keithp@keithp.com>
924 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
925 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
926 и), and don't even appear in KOI8-R. (The hypothesis that they
927 don't appear in KOI8-R due to their similarity with Latin I and i is
928 eliminated by their presence in KOI8-U.) I have a couple of fonts
929 with Russian support that don't have the letter.
931 Therefore, 0406 and 0456 should be removed from or commented out of
934 2004-12-06 michael meeks <mmeeks@novell.com>
936 Reviewed by: Keith Packard <keithp@keithp.com>
938 * src/fcinit.c: (FcMemReport):
940 * src/fclist.c: (FcObjectSetAdd):
941 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
942 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
943 * src/fcxml.c: (FcParsePatelt):
944 memoize strings and share a single copy for all uses. Note that
945 this could be improved further by using statically allocated blocks
946 and gluing multiple strings together, but I'm basically lazy.
947 In my environment with 800 font files, I get a savings of about 90KB.
949 2004-12-06 Keith Packard <keithp@keithp.com>
953 * config/Makedefs.in:
958 * doc/fccharset.fncs:
960 * doc/fcconstant.fncs:
962 * doc/fcfontset.fncs:
963 * doc/fcfreetype.fncs:
966 * doc/fcobjectset.fncs:
967 * doc/fcobjecttype.fncs:
968 * doc/fcpattern.fncs:
972 * doc/fontconfig-devel.sgml:
973 * doc/fontconfig-user.sgml:
975 * doc/version.sgml.in:
976 * fc-cache/Makefile.am:
977 * fc-cache/fc-cache.c:
978 * fc-glyphname/Makefile.am:
979 * fc-glyphname/fc-glyphname.c:
980 * fc-glyphname/fcglyphname.tmpl.h:
981 * fc-lang/Makefile.am:
991 * fc-lang/az_ir.orth:
1025 * fc-lang/fc-lang.c:
1026 * fc-lang/fc-lang.man:
1027 * fc-lang/fclang.tmpl.h:
1072 * fc-lang/ku_ir.orth:
1105 * fc-lang/ps_af.orth:
1106 * fc-lang/ps_pk.orth:
1135 * fc-lang/ti_er.orth:
1136 * fc-lang/ti_et.orth:
1162 * fc-lang/zh_cn.orth:
1163 * fc-lang/zh_hk.orth:
1164 * fc-lang/zh_mo.orth:
1165 * fc-lang/zh_sg.orth:
1166 * fc-lang/zh_tw.orth:
1168 * fc-list/Makefile.am:
1169 * fc-list/fc-list.c:
1170 * fc-match/Makefile.am:
1171 * fc-match/fc-match.1:
1172 * fc-match/fc-match.c:
1173 * fontconfig/fcfreetype.h:
1174 * fontconfig/fcprivate.h:
1175 * fontconfig/fontconfig.h:
1196 Change files from ISO-Latin-1 to UTF-8
1198 2004-12-04 Keith Packard <keithp@keithp.com>
1201 Update links to new freedesktop.org locations
1203 Add uninstall-local to get rid of fonts.conf and local.conf if they
1204 match the distributed versions. Fixes 'make distcheck'
1206 2004-12-04 Keith Packard <keithp@keithp.com>
1210 * fontconfig/fontconfig.h:
1211 Updates for version 2.2.97
1213 2004-12-04 Owen Taylor <otaylor@redhat.com>
1215 reviewed by: Keith Packard <keithp@keithp.com>
1217 * fc-cache/fc-cache.c: (main):
1218 Sleep for two seconds before exiting to make sure timestamps
1219 for future changes have distinct mod times in the file system.
1222 Add Punjabi orthography. Bug #1671.
1224 2004-12-04 Keith Packard <keithp@keithp.com>
1227 Just remove the FC_FONTDATE -- it has locale issues and
1228 annoys redhat multi-arch installs. Now that all X fonts are
1229 included without prejudice, the chances of the date being at
1230 all interesting are rather limited. Bug #505.
1232 Add copyright and license
1234 2004-12-04 Keith Packard <keithp@keithp.com>
1237 Change default set of fonts to include all of
1238 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1239 * doc/fontconfig-user.sgml:
1240 Document new <include>directory-name</include> semantics
1242 add <include ignore_missing="yes">conf.d</include>
1244 Add selectfont to ignore bitmap fonts, add comment for
1245 selectfont which accepts bitmap fonts.
1248 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1249 Allow <include> configuration elements to reference directories.
1250 Parse and load all files of the form [0-9]* in sorted order.
1252 2004-12-04 Keith Packard <keithp@keithp.com>
1255 Report command line for $srcdir/configure accurately.
1258 2004-12-04 Keith Packard <keithp@keithp.com>
1260 * src/fcfreetype.c: (FcFreeTypeQuery):
1261 Check for non-empty face->family_name and face->style_name
1262 before using those for the font. Empty names match everything.
1265 2004-12-04 Keith Packard <keithp@keithp.com>
1268 * fontconfig/fontconfig.h:
1269 * src/fcfreetype.c: (FcFreeTypeQuery):
1271 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1272 available. This provides font file format information (BDF, Type 1,
1273 PCF, TrueType) for each font. Closes #109.
1275 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1277 reviewed by: Keith Packard <keithp@keithp.com>
1279 * doc/fontconfig-user.sgml:
1282 * fontconfig/fontconfig.h:
1283 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1284 (GetScriptTags), (FcFontCapabilities):
1286 Add detection for font capabilities (bug #105)
1288 2004-12-04 Keith Packard <keithp@keithp.com>
1291 Move existing fonts.conf to fonts.conf.bak
1294 Add detection of iconv
1296 * doc/fcpattern.fncs:
1297 * doc/fontconfig-devel.sgml:
1298 * doc/fontconfig-user.sgml:
1300 Document new selectfont elements
1303 Switch to UTF-8 in comment
1305 * fontconfig/fontconfig.h:
1307 Add fullname, and family/style/fullname language entries
1309 * src/fccache.c: (FcCacheFontSetAdd):
1310 * src/fcdir.c: (FcFileScanConfig):
1311 Respect selectfont/*/glob
1314 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1315 (FcConfigCompareValue), (FcConfigPatternsAdd),
1316 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1317 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1318 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1319 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1320 Add support for selectfont
1322 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1323 (FcStringInPatternElement), (FcFreeTypeQuery):
1324 Add multi-lingual family/style/fullname support
1326 * src/fclist.c: (FcListPatternMatchAny):
1327 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1329 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1330 (FcObjectStaticName):
1331 Add new FcPatternRemove/FcPatternAppend.
1332 FcObjectStaticName stores computed pattern element names which
1333 are required to be static.
1335 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1340 Remove spurious / after $(DESTDIR)
1342 2004-06-30 Keith Packard <keithp@keithp.com>
1346 * fontconfig/fontconfig.h:
1349 2004-06-30 Keith Packard <keithp@keithp.com>
1351 Provided by: Lubos Lunak <l.lunak@suse.cz>
1353 * src/fccfg.c: (FcConfigUptoDate):
1354 However FcConfigUptoDate() doesn't seem to work. See the attached
1355 patch. First there's an obvious misplaced parenthesis making it
1356 return always false, and second, even this call fails to detect font
1357 changes (e.g. adding a new font to
1358 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1359 well. The problem seems to be triggered by my fonts.conf specifying
1360 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1361 doesn't include subdirs, unlike config->fontDirs.
1363 2004-06-03 Keith Packard <keithp@keithp.com>
1365 * fontconfig/fontconfig.h:
1366 Remove comma at end of FcResult enum definition.
1368 2004-05-29 Keith Packard <keithp@keithp.com>
1371 Add steps to md5sum release
1373 2004-05-29 Keith Packard <keithp@keithp.com>
1377 * fontconfig/fontconfig.h:
1380 2004-05-29 Keith Packard <keithp@keithp.com>
1382 * fontconfig/fontconfig.h:
1383 * src/fcmatch.c: (FcFontSetMatch):
1384 Add FcResultOutOfMemory to provide an accurate error when
1385 FcFontSetMatch fails in this way
1388 Make #warning about lacking various FreeType features indicate
1389 which version those features appeared so users know how to
1390 fix the problem (Thanks to Anton Tropashko)
1392 2004-05-05 Keith Packard <keithp@keithp.com>
1394 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1395 Replace MIN/MAX/ABS macros which happen to have come
1396 from FreeType with fontconfig-specific ones (FC_*)
1398 2004-04-23 Keith Packard <keithp@keithp.com>
1401 Extend release preparation instructions to include
1402 notification and distribution steps
1404 2004-04-23 Keith Packard <keithp@keithp.com>
1408 * fontconfig/fontconfig.h:
1409 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1411 2004-04-23 Keith Packard <keithp@keithp.com>
1414 Ignore a few more autotool files
1416 2004-04-14 Keith Packard <keithp@keithp.com>
1419 Add instructions for doing a release
1421 * fontconfig.spec.in:
1422 clean up .spec file; perhaps this will be useful to somebody...
1426 * fontconfig/fontconfig.h:
1429 * fc-lang/fc-lang.c:
1430 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1432 * fc-glyphname/Makefile.am:
1433 * fc-lang/Makefile.am:
1434 * fc-list/Makefile.am:
1435 * fc-match/Makefile.am:
1437 Add WARN_CFLAGS to pass -W flags for GCC systems
1439 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1440 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1441 Change various char types around to match across
1443 Fixed bug in using available_sizes[i].height which
1444 is in pixels, not 64ths of a pixel.
1446 2004-03-06 Keith Packard <keithp@keithp.com>
1448 * src/fcfreetype.c: (FcFreeTypeQuery):
1449 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1450 matches looking for explicit values prefer exact matches
1452 2004-03-02 Keith Packard <keithp@keithp.com>
1454 Supplied by: mfabian@suse.de (Mike FABIAN)
1456 * src/fcfreetype.c: (FcFreeTypeQuery):
1457 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1458 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1460 2004-02-21 Manish Singh <yosh@gimp.org>
1462 * fc-glyphname/fc-glyphname.c: (main):
1463 Cast strlen to int for printf, so we're 64-bit clean.
1465 2004-02-11 Keith Packard <keithp@keithp.com>
1468 * src/fcfreetype.c: (FcGetPixelSize):
1469 Ok, so I messed up the test for y_ppem. Let's see if I
1470 got it right this time.
1472 2004-02-10 Keith Packard <keithp@keithp.com>
1475 * src/fcfreetype.c: (FcGetPixelSize):
1476 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1477 FT_Bitmap_Size record. Add a configure.in test for this
1478 and change the code accordingly (using height instead).
1480 2004-02-06 Keith Packard <keithp@keithp.com>
1483 Add Low Saxon orthography
1484 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1486 * src/fccfg.c: (FcConfigNewestFile):
1487 Oops. Left 'newest.set' unset, which would miscompute
1490 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1491 (FcFreeTypeCheckGlyph):
1492 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1493 font properties (which report the wrong value in current FreeType)
1495 Don't attempt to check for empty glyphs in non-scalable fonts; they
1498 2004-02-01 Tor Lillqvist <tml@iki.fi>
1500 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1501 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1502 cache if config->cache is NULL, which happens if FcConfigHome() is
1503 NULL. Guard against that by using the temp folder in that case.
1505 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1507 * fc-lang/az_ir.orth:
1508 * fc-lang/ku_ir.orth:
1509 * fc-lang/ps_af.orth:
1510 * fc-lang/ps_pk.orth:
1511 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1512 (Afghan and Pakistani).
1514 Updated Urdu orthography with real data.
1516 2003-12-11 Carl Worth <cworth@east.isi.edu>
1518 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1521 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1523 (all-local): Remove excessive whitespace.
1525 * autogen.sh: Add 'set -e' to abort when any program fails,
1526 (avoids printing of 'now type make' after configure aborts).
1528 2003-11-17 Eric Christopherson <rakko@charter.net>
1530 reviewed by: Keith Packard <keithp@keithp.com>
1533 * fontconfig/fcfreetype.h:
1535 Switch to FreeType 2.1.7 style includes. Bug #150.
1537 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1539 * fc-list/fc-list.sgml: Add some example usages.
1541 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1544 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1547 2003-10-27 Keith Packard <keith@keithp.com>
1550 * fontconfig/fontconfig.h:
1551 Update to version 2.2.92
1553 2003-10-27 Keith Packard <keithp@keithp.com>
1558 * fc-cache/Makefile.am:
1559 * fc-glyphname/Makefile.am:
1560 * fc-lang/Makefile.am:
1561 * fc-list/Makefile.am:
1562 * fc-match/Makefile.am:
1565 Yet more cleanups to finish getting 'make distcheck' working
1566 This has been tested to ensure that it even works from a _build
1569 2003-10-26 Keith Packard <keithp@keithp.com>
1573 * fc-cache/Makefile.am:
1574 * fc-glyphname/Makefile.am:
1575 * fc-lang/Makefile.am:
1576 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1577 * fc-list/Makefile.am:
1578 * fc-match/Makefile.am:
1579 Attempts to fix 'make distcheck' work. Things are
1580 progressing pretty well, but there are still failures
1581 long into the process dealing with docs (as always).
1583 The big changes here are mostly to make $(srcdir) != "."
1584 work correctly, fixing the docbook related sections and
1585 fc-lang were particularily tricky. Docbook refuses to load
1586 system entities from anywhere other than where the original .sgml
1587 file was located, so no luck looking in "." for the
1588 configure-generated version.sgml and confdir.sgml files.
1590 fc-lang needed help finding .orth files; added a -d option
1591 to set the directory as the least evil of many options.
1593 Now to go use a faster machine and try and wring out the last
1596 2003-10-26 Keith Packard <keithp@keithp.com>
1600 2003-10-26 Keith Packard <keithp@keithp.com>
1603 Include confdir.sgml.in in EXTRA_DIST
1605 2003-10-09 Josselin Mouette <joss@debian.org>
1607 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1608 * fc-list/fc-list.sgml fc-list/Makefile.am:
1609 Replace fc-cache and fc-list manpages with more detailed, SGML
1612 2003-09-23 Owen Taylor <otaylor@redhat.com>
1614 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1615 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1616 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1619 2003-09-23 Owen Taylor <otaylor@redhat.com>
1621 * fc-lang/ka.orth: Remove Georgian capitals, they
1622 aren't used for normal writing. (Bug #116)
1624 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1626 * doc/fontconfig-devel.sgml:
1627 * doc/fontconfig-user.sgml:
1628 * fontconfig/fontconfig.h:
1630 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1631 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1633 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1634 monospace and dual-width fonts, allow roughly a 3% variance in the
1637 2003-08-31 Manish Singh <yosh@gimp.org>
1639 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1642 2003-08-15 Carl Worth <cworth@isi.edu>
1644 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1645 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1647 * src/fcpat.c (FcValueListEntDestroy): New function to support
1648 FcFini memory cleanup. Some statistics are not kept in
1650 (FcValueListFreeze): Move hashTable outside this function so it
1651 can be accessed by FcValueListThawAll.
1652 (FcValueListThawAll): New function complements FcValueListFreeze.
1653 (FcPatternBaseFreeze): Move hashTable outside this function so it
1654 can be accessed by FcPatternBaseThawAll.
1655 (FcPatternBaseThawAll): New function complements
1656 FcPatternBaseFreeze.
1657 (FcPatternThawAll): New function complements FcPatternFreeze.
1659 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1661 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1662 allocated FcCharLeafEnt "blocks" so they can be freed later.
1663 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1664 can be accessed by FcCharSetThawAllLeaf.
1665 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1666 (FcCharSetFreezeBase): Move hashTable outside this function so it
1667 can be accessed by FcCharSetThawAll.
1668 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1670 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1671 (FcConfigDestroy): Fic leak of FcBlanks.
1673 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1674 (main): Add call to FcFini when finished.
1676 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1677 static. Add prototypes.
1679 * doc/fcinit.fncs: Add documentation for FcFini function.
1681 * doc/edit-sgml.c: Mark several local functions as static. Add
1684 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1686 2003-06-15 Tor Lillqvist <tml@iki.fi>
1688 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1689 before comparing (needed on Windows).
1691 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1693 2003-06-13 Tor Lillqvist <tml@iki.fi>
1695 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1698 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1699 WINDOWSFONTDIR token.
1701 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1702 end, not to confuse libtool, which expects the EXPORTS line to be
1703 the first. Add FcConfigEnableHome.
1705 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1706 built as a DLL on Win32.
1708 2003-06-09 Keith Packard <keithp@keithp.com>
1710 * Tag version 2.2.90
1712 2003-06-09 Keith Packard <keithp@keithp.com>
1714 * Optimization in FcLangSetIndex was broken, occasionally
1715 returning a pointer to the wrong location on miss
1717 * Add fc-match to test font matching from the command line.
1719 2003-05-31 Keith Packard <keithp@keithp.com>
1721 * (Bug 85) add support for culmus fonts
1722 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1723 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1725 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1727 * Fix "contains" op for strings and langsets.
1729 2003-05-17 Keith Packard <keithp@keithp.com>
1731 * Fix build error with BDF prop local. Free langset after query
1733 2003-05-14 Keith Packard <keithp@keithp.com>
1735 * Extract spacing from XLFD atom
1737 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1739 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1740 disappeared in 1.30.
1742 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1744 2003-05-12 Keith Packard <keithp@keithp.com>
1746 * Use FcIsWidth to share code
1748 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1749 misclassifying some Han fonts as monospaced.
1751 2003-05-07 Keith Packard <keithp@keithp.com>
1753 * Add filename-based accept/reject to ammend available fonts.
1755 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1756 older FreeType releases.
1758 2003-05-06 Keith Packard <keithp@keithp.com>
1760 * Remove 0b82 and Tamil numbers from tamil
1761 orthography (Jungshik Shin <jshin@mailaps.org>)
1763 2003-05-04 Keith Packard <keithp@keithp.com>
1765 + Map glyph names in fonts with adobe custom encoding to unicode
1767 2003-05-02 Keith Packard <keithp@keithp.com>
1769 * Add FC_WEIGHT_BOOK as weight 75
1771 2003-04-30 Keith Packard <keithp@keithp.com>
1773 * Typo in bitstream foundry name
1775 2003-04-24 Keith Packard <keithp@keithp.com>
1777 * Eliminate italic_angle check for PS fonts
1779 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1781 * Getting closer to fixing /etc/fonts hard-coding.
1783 2003-04-22 Keith Packard <keithp@keithp.com>
1785 * Update autogen.sh to work with newer automake versions
1786 * Handle pattern elements moving during multiple edits
1788 2003-04-23 James Henstridge <james@daa.com.au>
1790 * doc/fontconfig-devel.sgml: close the <para> element.
1792 * doc/fcpattern.fncs: close the <para> element.
1794 * doc/func.sgml: close the <refsynopsisdiv> element.
1796 2003-04-22 Keith Packard <keithp@keithp.com
1798 * Update autogen.sh to work with newer automake versions
1799 * Handle pattern elements moving during multiple edits
1801 2003-04-17 Colin Walters <walters@debian.org>
1803 + Remove some unused variables, and initialize some other ones so
1804 gcc doesn't warn us.
1806 2003-04-16 Keith Packard <keithp@keithp.com>
1808 + tag version 2.1.94
1810 2003-04-16 Keith Packard <keithp@keithp.com>
1812 + add BDF property fetching support for foundry
1813 (from Juliusz Chroboczek)
1814 + add BDF property fetching support for width
1816 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1818 + Implemented foundry generation for Type 1 and TrueType
1820 2003-04-11 Gerard Escalante <g2@magestudios.net>
1822 + Retrieve information from Type1 FontInfo dictionaries
1824 2003-04-07 Colin Walters <walters@verbum.org>
1826 + src/Makefile.am: Fix dummy makefile target names when
1827 MS_LIB_AVAILABLE isn't set.
1829 2003-03-22 Tor Lillqvist <tml@iki.fi>
1831 Changes for Windows:
1833 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1835 + We don't want to hardcode the fonts.conf file location in the
1836 DLL, so we look up the DLL location at run-time in a DllMain()
1837 function. The fonts.conf location is deduced from that.
1839 + The colon can't be used as path separator on Windows,
1840 semicolon is used instead. File path components can be separated
1841 with either slash or backslash. Absolute paths can also begin
1842 with a drive letter.
1844 + Add internal function FcStrLastSlash that strrchr's the last
1845 slash, or backslash on Windows.
1847 + There is no link() on Windows. For atomicity checks, mkdir a
1848 lock directory instead.
1850 + In addition to HOME, also look for USERPROFILE.
1852 + Recognize the special font directory token WINDOWSFONTDIR, to
1853 use the system's font directory.
1855 + Remove the fontconfig-def.cpp that was obsolete. Add
1856 fontconfig.def(.in), without internal functions.
1858 + Add a fontconfig-zip(.in) script, used to build a binary
1861 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1862 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1863 to main package and man3/* to devel package
1865 + Added missing defattr(-, root, root) to main RPM package
1867 + Added HTML and text development documentation to -devel subpackage
1869 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1870 + Added back the configure macro options --disable-docs, otherwise
1871 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1872 version number) unconditionally, causing RPM to fail the build due
1873 to _unpackaged_files_terminate_build. We pick up the pregenerated
1874 docs with %doc already.
1876 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1877 + Removed commented out rpm macro define at top of spec file,
1878 replacing it with a simple explanation, since rpm macros are
1879 expanded by rpm even in comments.
1881 + Changed /usr/bin to _bindir in BuildRequires lines
1883 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1885 + Reorganized file manifest lists
1887 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1889 + fontconfig.spec.in: Improvements from Red Hat spec file.
1891 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1893 + docs/*.sgml: SGML fixes.
1895 Sat Mar 1 17:28:53 PST 2003 keithp
1896 + Ok, so the ChangeLog is a bit out of date
1898 + Lots of bugs fixed; most are in bugzilla, the
1899 biggest problems were in cache management where
1900 Owen discovered the library would lose badly when
1901 combining fonts-cache and ~/.fonts-cache data
1903 + Converted from autoconf to automake. This after
1904 getting patches accepted into libtool to allow
1905 the '-version-number' argument which lets
1906 packages set version numbers explicitly rather
1907 than the roundabout libtool way
1909 + Converted documentation to SGML using the docbook
1910 DTD. Now .txt and .html documents are installed
1911 in /usr/share/doc/fontconfig and there's no
1912 man page. Perhaps a man version can be written
1915 Sat Aug 31 15:21:22 PDT 2002 keithp
1916 + Xrender and Xft had several bugs related to
1917 rendering manually placed or poly-face text
1919 + Added more complete memory tracing in fontconfig
1920 Checked with (patched) mozilla and found no leaks
1922 + Updated Latin orthographies by comparing those from
1923 evertype.com with those from eki.ee. Tried to make
1924 sensible choices, including chars that occured in both
1925 and leaving some optional chars out that occured only
1928 Mon Aug 26 16:33:04 PDT 2002 keithp
1929 + Owen discovered that FcLangSetHasLang wasn't actually
1930 checking the language set.
1932 Mon Aug 26 13:37:23 PDT 2002 keithp
1933 + Append a version number to cache filenames
1935 Thu Aug 22 11:36:18 PDT 2002 keithp
1937 + Add "contains" and "not_contains" operators and elements to
1940 + Changed semantics of eq operator for LangSets to check for
1941 FcLangEqual so that any match will do
1943 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1944 of FcValueEqual to check for identical values when inserting into
1945 the results. This broke when the above semantic change was made,
1946 now it uses FcValueEqual which is "more correct" in any case.
1948 Thu Aug 22 00:32:29 PDT 2002 keithp
1950 + Reimplement FC_LANG as new datatype. Lists of strings
1951 was consuming over a megabyte of memory for 401 fonts.
1953 + Freeze patterns loaded from cache files. This shares
1954 common value lists and common patterns which saves
1955 considerable memory.
1957 + Change the denotation of 'constant' charsets to use special
1958 ref value instead of separate boolean.
1960 + Clean up leak tracing stuff, found several unannoted alloc/free
1963 Tue Aug 20 16:17:37 PDT 2002 keithp
1965 + Fix memory leak when parsing matrices from XML
1967 Mon Aug 19 11:57:27 PDT 2002 keithp
1969 + Fix autoconf files to pass FONTCONFIG_PATH on
1970 compile line so that ${prefix} gets substituted
1973 + Use getc_unlocked/putc_unlocked on systems that
1974 provide them to avoid damage done to stdio by posix
1976 + Eliminate FC_PATTERN and FcTypePattern in favor of
1977 an extended api for FcConfigSubstitute which takes
1978 both the font and the pattern.
1980 + Add 'sans serif' alias for 'sans-serif' as some apps
1981 can't handle hyphens in family names
1983 + Eliminate pretense of support for libxml2
1985 + Comment origins of Han orthographies
1987 Tue Jul 30 18:37:09 PDT 2002 keithp
1989 + Add binding property to edit element so that strong
1990 binding values may be inserted by the config file.
1991 The default remains weak.
1993 Sun 28 Jul 04:16:55 PDT 2002 keithp
1995 + Tagged release candidate 1 in the CVS tree and
1996 placed fcpackage.rc1.tar.gz for distribution
1998 Thu Aug 1 08:55:08 PDT 2002 keithp
2000 + Fixed autoconf builds to always specify install
2001 target files (for BSD). Also fixed to
2002 define FONTCONFIG_PATH in config.h so that
2003 nonstandard installs will actually work.