1 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
4 * src/fccfg.c (FcConfigValues):
6 List iteration not needed in FcConfigValues, since it's building
7 up the list itself; we can just strip FcVoid elements during
10 2005-11-17 Patrick Lam <plam@mit.edu>
11 * src/fccfg.c (FcConfigValues):
13 Fix crash on invalid constants in config files (forgot to update
14 a pointer upon list iteration.)
16 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
19 * src/fcxml.c (FcTypecheckExpr):
21 Complain about invalid constants in config files.
23 2005-11-17 Andreas Schwab <schwab@suse.de>
26 * src/fccache.c (FcGlobalCacheSave):
28 Don't add current_arch_start more than once.
30 2005-11-16 Patrick Lam <plam@mit.edu>
31 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
32 * src/fcfs.c (FcFontSetUnserialize):
33 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
34 * src/fcpat.c (FcStrUnserialize):
36 Fix ordering of ALIGN with respect to saving block_ptr; add
37 another ALIGN to fcfs.c.
39 2005-11-16 Patrick Lam <plam@mit.edu>
40 * src/fccache.c (FcDirCacheProduce)
42 Fix case where alignment bytes bumped up metadata->count
43 causing unwarranted failures to write cache files.
44 (Reported by Stephan Kulow).
46 2005-11-16 Patrick Lam <plam@mit.edu>
47 * src/fccache.c (FcDirCacheProduce):
48 * src/fccharset.c (FcCharSetDistributeBytes):
49 * src/fcfs.c (FcFontSetDistributeBytes):
51 * src/fclang.c (FcLangSetDistributeBytes):
52 * src/fcname.c (FcObjectDistributeBytes):
53 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
56 Add *NeededBytesAlign(), which overestimates the padding which is
57 later added by the new ALIGN macro. Fix alignment problems on
58 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
59 version by Andreas Schwab).
61 2005-11-16 Stephan Kulow <coolo@kde.org>
66 Use sysconf to determine proper PAGESIZE value; this
67 appears to be POSIX-compliant. (reported by Andreas Schwab)
69 2005-11-04 Patrick Lam <plam@mit.edu>
75 Fix bug 2878 (excessive relocations at startup for charsets,
76 reported by Ross Burton): fc-lang/fc-lang now creates the
77 static form of the langset, not the dynamic form, so that
78 the charsets should now be in .rodata.
80 2005-11-04 Patrick Lam <plam@mit.edu>
81 * src/fcdir.c (FcDirScanConfig):
83 Add test for validity of directory caches that
84 somehow got lost (reported by make distcheck).
86 2005-11-04 Patrick Lam <plam@mit.edu>
90 * fontconfig/fontconfig.h:
92 Bump version to 2.3.92.
94 2005-11-02 Patrick Lam <plam@mit.edu>
95 * src/fcpat.c (FcPatternDuplicate):
97 Fix argument ordering problem in call to FcPatternTransferFullFname.
99 2005-11-02 Patrick Lam <plam@mit.edu>
100 * src/fcfreetype.c (FcFreetypeQuery):
101 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
102 FcPatternTransferFullFname):
104 Fix warnings and embarrassing double-free error.
106 2005-11-02 Zhe Su <zsu@novell.com>
111 Change the rule for artificial emboldening in fonts.conf.in. This
112 enables the support for artificial emboldening included in cairo.
114 2005-11-02 Patrick Lam <plam@mit.edu>
115 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
117 Don't zero out full names for FC_REF_CONSTANT fonts;
118 also, duplicate full names when transferring, and free
119 full names when freeing the associated font.
120 Reported by Jinghua Luo.
122 2005-11-02 Patrick Lam <plam@mit.edu>
123 * fc-cache/fc-cache.c (scanDirs):
124 * src/fcpat.c (FcValueListSerialize):
126 Revert the previous patch and commit the correct patch:
127 I forgot a canonicalization in FcValueListSerialize, so
128 that it would choke on already-serialized input files. Duh!
130 2005-11-02 Patrick Lam <plam@mit.edu>
131 * fc-cache/fc-cache.c (scanDirs):
133 Forcibly rescan a directory before writing a fresh local
134 cache file for that directory, fixing the losing-fonts
135 problem reported by Mike Fabian and also apparently the
136 font cache file corruption.
138 2005-11-02 Patrick Lam <plam@mit.edu>
139 * src/fccache.c (FcGlobalCacheLoad):
141 Fix thinko: actually, the whole global cache is stale
142 if the global cache is older than the (newest) config file.
144 2005-11-02 Patrick Lam <plam@mit.edu>
145 * src/fccache.c (FcGlobalCacheLoad):
146 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
149 Declare the global cache of a directory's contents to be stale if
150 the directory is newer than the (newest) configuration file.
152 2005-10-31 Patrick Lam <plam@mit.edu>
154 * src/fclist.c (FcListAppend):
155 * src/fcmatch.c (FcFontRenderPrepare):
156 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
157 FcPatternFreeze, FcPatternBaseFreeze):
159 Copy the full pathname whenever duplicating an FcPattern; otherwise,
160 applications continue breaking.
162 2005-10-31 Patrick Lam <plam@mit.edu>
163 * fc-cat/fc-cat.c (FcCacheFileRead, main):
164 * src/fcfreetype.c (FcFreeTypeQuery):
166 Fix small memory error (tried to free argv); use basename and
167 dirname correctly (they can modify their arguments).
169 2005-10-31 Patrick Lam <plam@mit.edu>
177 Reinstate basename patch, but keep a hash table linking FcPatterns
178 to their fully-qualified font names for clients' benefit. Clients
179 only pay for the font names once they request the FC_FILE property
180 from an FcPattern, but the font name is malloc'd at that point (i.e.
181 not mmapped: that's impossible, since it may vary between machines.)
182 Clients do have to pay for a copy of the path name per cache file.
184 Note that FcPatternGetString now does some rewriting if you ask
185 for an FC_FILE, appending the pathname as appropriate.
187 2005-10-31 Patrick Lam <plam@mit.edu>
188 * src/fcfreetype.c (FcFreeTypeQuery):
190 Revert basename patch, which breaks fontconfig clients on my system.
192 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
195 * fontconfig/fonts.conf.in:
196 * fontconfig/fontconfig.h:
200 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
201 to load embedded bitmaps or not.
203 2005-10-25 Patrick Lam <plam@mit.edu>
204 * src/fcfreetype.c (FcFreeTypeQuery):
206 Only add basename to patterns' FC_FILE element, not any part of
209 2005-10-22 Patrick Lam <plam@mit.edu>
212 Add some more consts, fixing more GCC4 warnings.
214 2005-10-22 Zhe Su <zsu@novell.com>
217 Support localized font family and style names.
218 This has been reported to break old apps like xfd, but modern
219 (gtk+/qt/mozilla) apps work fine.
221 2005-10-21 Patrick Lam <plam@mit.edu>
222 * src/fccache.c (FcGlobalCacheLoad):
224 Destroy the global cache file if it's terminally broken. (reported by
227 2005-10-21 Patrick Lam <plam@mit.edu>
228 * fc-list/fc-list.c (main):
229 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
230 * fontconfig/fontconfig.h:
232 Prevent fc-list from escaping strings when printing them (reported by
235 2005-10-20 Marcus Meissner <meissner@suse.de>
238 * fontconfig/fontconfig.h:
240 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
242 2005-10-14 Ross Burton <ross@burtonini.com>
245 * fc-glyphname/fc-glyphname.c:
248 Add consts to variables so as to move arrays into .rodata.
250 2005-10-14 Mike Fabian <mfabian@suse.de>
253 * src/fccache.c (FcDirCacheUnlink):
255 Check existence of directory cache file before attempting to unlink.
257 2005-10-13 Patrick Lam <plam@mit.edu>
258 * src/fccache.c (FcDirCacheUnlink):
260 Fix flipped return value on unlink. (Reported by Mike Fabian)
262 2005-10-12 Patrick Lam <plam@mit.edu>
265 * src/fcdir.c (FcDirScanConfig):
268 When fc-cache is run without --force, use directory cache files
269 to speed up fc-cache run time. (Reported by Mike Fabian)
271 2005-10-06 Patrick Lam <plam@mit.edu>
273 * src/fcname.c (FcObjectToPtr):
274 * src/fcpat.c (FcStrStaticName):
276 Add padding to make valgrind and glibc not hate each other
277 when calling strlen().
279 2005-10-05 Simos Xenitellis <simos74@gmx.net>
280 reviewed by: plam & keithp
284 Modify config file to use Greek fonts before Asian fonts with
287 2005-10-05 Christian Biesinger <cbiesinger@web.de>
288 reviewed by: plam & keithp
292 Use libtool -no-undefined flag on all platforms.
294 2005-10-05 Patrick Lam <plam@mit.edu>
295 * src/fccache.c (FcCacheHaveBank):
297 Implement move-to-front array for banks (perf regression
298 reported by Ronny V. Vindenes).
300 2005-10-04 Patrick Lam <plam@mit.edu>
301 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
302 FcDirCacheHasCurrentArch):
303 * fc-cache/fc-cache.c (scanDirs):
304 * fontconfig/fontconfig.h:
306 Add new API which unlinks directory caches and checks dir caches
307 for existence of appropriate sections. Fix fc-cache to unlink
308 stale cache files and save directory caches that lack relevant
311 2005-10-03 Patrick Lam <plam@mit.edu>
312 * src/fccache.c (FcDirCacheValid):
314 Ensure that a directory cache has the appropriate section
315 before reporting that it is valid (reported by Matthias Clasen).
317 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
325 Use libxml2 if requested (with --enable-libxml2) or if
326 expat is not available.
328 2005-09-29 Patrick Lam <plam@mit.edu>
329 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
331 Fix multi-arch cache files: compute the position for the
332 block to be added using info from OrigFile, not NewFile.
334 2005-09-28 Patrick Lam <plam@mit.edu>
335 * src/fccache.c (FcCacheMachineSignature):
337 Cast results of sizeof() to unsigned int to get rid of
338 warnings on x86_64 (thanks Matthias Clasen).
340 2005-09-27 Patrick Lam <plam@mit.edu>
341 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
344 Use FcAtomic to rewrite cache files.
346 2005-09-27 Patrick Lam <plam@mit.edu>
348 * src/fccache.c (FcDirCacheWrite):
350 Don't unlink the fonts.cache-2 file even if there's no data
351 to write; just write an empty cache file. (thanks Lubos Lunak)
353 2005-09-27 Patrick Lam <plam@mit.edu>
355 * src/fccache.c (FcDirCacheWrite):
357 Allocate room for the subdirectory names in each
358 directory cache. Thanks to James Cloos for finding
359 and diagnosing this bug!
361 2005-09-22 Patrick Lam <plam@mit.edu>
363 * fc-cache/fc-cache.sgml:
364 * src/fccache.c (FcDirCacheWrite):
365 * src/fccache.h (struct FcCache):
367 Update documentation -- fc-cache's man page now says that you
368 need to run fc-cache once per cached architecture; add some
369 documentation to the FcCache structure.
371 Make fc-cache write out fonts.cache-2 files for directories with
372 no fonts (i.e. only subdirectories).
374 2005-09-22 Patrick Lam <plam@mit.edu>
376 * fc-cache/fc-cache.sgml:
378 * fc-glyphname/fc-glyphname.c:
384 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
389 * fontconfig/fcprivate.h:
390 * fontconfig/fontconfig.h:
404 Implement new mmaped cache for font information.
405 Bump so revision to 2.3.90.
407 2005-07-25 Keith Packard <keithp@keithp.com>
409 * doc/fontconfig-user.sgml:
410 * fc-glyphname/fc-glyphname.c: (scan), (main):
411 * fc-lang/fc-lang.c: (FcConfigHome):
412 * fc-match/fc-match.c: (main):
413 * src/fccfg.c: (FcConfigHome):
414 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
415 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
416 (addtag), (FcFontCapabilities):
417 * src/fcpat.c: (FcValueListEntCreate):
418 * src/fcstr.c: (FcStrCaseWalkerInit):
419 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
421 Various GCC 4 cleanups for signed vs unsigned char
423 Match only [0-9]*.conf files in <include>{directory}</include>
424 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
426 2005-07-15 Carl Worth <cworth@cworth.org>
429 * src/fcinit.c: (FcFini):
430 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
433 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
434 Pull the FcObjectStateName hash table out to file scope, and add
435 FcObjectStaticNameFini so that FcFini will cleanup this hash table
438 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
441 2005-06-16 Patrick Lam <plam@MIT.EDU>
445 * src/fccfg.c: (FcConfigCompareValue):
446 Make FcOpNotContains use FcStrStr for strings so that
447 it matches semantics for !FcOpContains.
449 2005-05-20 Keith Packard <keithp@keithp.com>
453 Move fontconfig source package to libs as per override
455 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
457 reviewed by: Mike Fabian
460 The ka.orth file requires several characters which are not
461 used anymore in modern Georgian and which are missing in the free
462 Georgian TrueType fonts downloadable at:
464 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
466 2005-04-27 Keith Packard <keithp@keithp.com>
470 Update date to real 2.3.2 release date.
471 Fix change attributions
473 2005-04-27 Keith Packard <keithp@keithp.com>
476 Bump so revision for 2.3.2
477 * fc-cache/fc-cache.c: (scanDirs):
478 Fix a few minor leaks in error cases.
480 2005-04-23 Keith Packard <keithp@keithp.com>
485 * fontconfig/fontconfig.h:
486 Update for version 2.3.2
488 2005-04-21 Keith Packard <keithp@keithp.com>
490 * debian/fontconfig.postinst:
491 Don't force bitmap font enable in default
492 configuration; allows users to override this in
502 * debian/po/pt_BR.po:
503 * debian/po/templates.pot:
505 * debian/po/zh_CN.po:
508 * fc-cache/fc-cache.c: (main):
509 Destroy font configuration on exit to help valgrind
512 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
513 (FcFreeTypeCheckGlyph):
514 Use own transcoding routines in preference to iconv
515 which appears to have leaks in some translators.
516 Call iconv_close after using iconv (oops).
518 Prefer unicode encoding of Euro char as some
519 fonts mis-encode Euro in other ones.
521 Must fetch bitmap glyphs to get width values
522 to check for monospace/dual-width fonts.
524 2005-04-13 Ross Burton <ross@burtonini.com>
527 Check that a pattern isn't already frozen in FcPatternFreeze.
529 2005-03-31 Ross Burton <ross@burtonini.com>
534 Run all FcPattern objects through FcObjectStaticName, so that
535 compares can be done on pointers instead of strings (#2659)
537 2005-03-17 Tor Lillqvist <tml@novell.com>
539 * src/fontconfig.def.in: Add the .dll to the dll name.
541 2005-03-10 Keith Packard <keithp@keithp.com>
543 * debian/README.Debian:
544 Update to reflect configuration changes
546 * debian/fontconfig.postinst:
547 Fix Autohint vs Autohinter mistake
548 * debian/fontconfig.templates:
549 Adopt changes from Josselin Mouette for configuration descriptions
550 Update debian to version 2.3.1-2
552 2005-03-08 Keith Packard <keithp@keithp.com>
556 Update debian for 2.3.1
558 2005-03-09 Tor Lillqvist <tml@novell.com>
560 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
563 * src/fccfg.c (FcConfigFileExists): Check also drive letter
566 2005-03-08 Keith Packard <keithp@keithp.com>
570 * fontconfig/fontconfig.h:
573 2005-03-05 Keith Packard <keithp@keithp.com>
575 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
576 Include space and remove numbers from valid script tags.
577 This ensures that tags like 'lao ' work while rejecting
578 those which have any digits.
579 Eliminate a spurious debugging variable (len)
581 2005-03-05 Keith Packard <keithp@keithp.com>
583 * src/fcfreetype.c: (addtag), (GetScriptTags),
584 (FcFontCapabilities):
585 Rework GSUB/GPOS script parsing to survive broken fonts.
586 Thanks for the broken font go to Manish Singh
588 2005-03-05 Keith Packard <keithp@keithp.com>
593 * debian/fontconfig.config:
594 * debian/fontconfig.templates:
596 Include 2.3 release information in changelog
597 Add Josselin Mouette as an Uploader
598 Set hinting_type to low priority configuration option
601 * debian/fontconfig.postinst:
602 yes_bitmaps.conf -> yes-bitmaps.conf
608 2005-03-02 Keith Packard <keithp@keithp.com>
611 * conf.d/Makefile.am:
612 * conf.d/autohint.conf:
613 * conf.d/no-sub-pixel.conf:
614 * conf.d/sub-pixel.conf:
615 * conf.d/unhinted.conf:
616 * debian/autohint.conf:
617 * debian/fontconfig.install:
618 * debian/fontconfig.postinst:
619 * debian/fontconfig.templates:
620 * debian/no-sub-pixel.conf:
621 * debian/unhinted.conf:
622 Move debian-specific conf file examples upstream.
624 Sub-pixel configuration examples must smash subpixel value
625 as Xft always sets it from X.
627 Change sub-pixel rendering debconf descriptions from
628 Enable/Disable to Always/Never.
630 2005-03-02 Keith Packard <keithp@keithp.com>
635 Ignore more build detritus
638 Add debian package construction stuff.
640 * config/config.guess:
642 Update to newer versions of these tools
645 Get library manuals to build again (we love automake).
647 * debian/README.Debian:
648 * debian/autohint.conf:
653 * debian/fontconfig-udeb.install:
654 * debian/fontconfig.config:
655 * debian/fontconfig.defoma:
656 * debian/fontconfig.dirs:
657 * debian/fontconfig.install:
658 * debian/fontconfig.postinst:
659 * debian/fontconfig.postrm:
660 * debian/fontconfig.templates:
661 * debian/libfontconfig1-dev.install:
662 * debian/libfontconfig1.install:
663 * debian/local.conf.md5sum:
664 * debian/no-sub-pixel.conf:
665 * debian/po/POTFILES.in:
674 * debian/po/pt_BR.po:
675 * debian/po/templates.pot:
677 * debian/po/zh_CN.po:
679 * debian/unhinted.conf:
680 Update debian build system to switch maintainers and
681 deal with 2.3 functionality
683 2005-03-01 Keith Packard <keithp@keithp.com>
687 * fontconfig/fontconfig.h:
690 2005-03-01 Keith Packard <keithp@keithp.com>
693 Generate and install PDF versions of the manuals
695 * doc/fcpattern.fncs:
699 Add missing exported functions, fix data types
701 * doc/fontconfig-devel.sgml:
702 Add missing pattern elements.
704 * doc/fontconfig-user.sgml:
705 Add missing pattern elements. Document conf.d usage,
706 clarify available orthography list. Fix some config file
707 attributes. Complete list of constants.
709 * fontconfig/fontconfig.h:
710 Mark FC_SOURCE deprecated.
712 * src/fcfreetype.c: (FcFreeTypeQuery):
713 Don't set FC_SOURCE any longer.
715 2005-02-28 Keith Packard <keithp@keithp.com>
718 * conf.d/Makefile.am:
720 * conf.d/no-bitmaps.conf:
721 * conf.d/sub-pixel.conf:
722 * conf.d/yes-bitmaps.conf:
724 Create prototype /etc/fonts/conf.d directory with a few
725 sample configuration files.
726 Deprecate use of local.conf for local customizations in favor of
727 this directory based scheme which is more easily integrated into
728 installation systems.
731 Tag FC_EMBOLDEN as a boolean variable
733 2005-02-10 Keith Packard <keithp@keithp.com>
735 reviewed by: pborelli@katamail.com
737 * src/fcdir.c: (FcFileScanConfig):
738 Free patterns from fonts which are rejected by configuration
741 2005-01-28 Keith Packard <keithp@keithp.com>
745 * fontconfig/fontconfig.h:
746 Update for version 2.2.99
748 2005-01-28 Keith Packard <keithp@keithp.com>
751 Add a few pointers (#2284, #2285)
753 2005-01-28 Keith Packard <keithp@keithp.com>
756 * src/fcname.c: (FcNameBool):
757 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
758 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
759 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
760 Polite typechecking for test and edit expressions. Helps
761 catch errors in the font configuration. (bug 229)
763 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
765 reviewed by: Keith Packard <keithp@keithp.com>
768 Have --with-expat set EXPAT_CFLAGS (bug 2278)
770 2005-01-13 Keith Packard <keithp@keithp.com>
772 * doc/fontconfig-user.sgml:
773 Add SEE ALSO section (bug 2085)
775 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
777 reviewed by: Keith Packard <keithp@keithp.com>
782 * fc-case/Makefile.am:
783 * fc-glyphname/Makefile.am:
784 * fc-lang/Makefile.am:
785 * src/fontconfig.def.in:
786 Cross compiling fixes (bug 280)
788 2005-01-13 Keith Packard <keithp@keithp.com>
791 Update blanks list (Closes bug 86)
793 2005-01-04 Keith Packard <keithp@keithp.com>
795 * src/fccache.c: (FcCacheFontSetAdd):
796 Verify that every font pattern loaded from cache has
797 both FC_FILE and FC_FAMILY entries.
798 Attempt to fix bug #2219.
800 2004-12-29 Keith Packard <keithp@keithp.com>
804 * fontconfig/fontconfig.h:
805 Update for version 2.2.98
807 2004-12-29 Keith Packard <keithp@keithp.com>
809 * fontconfig/fontconfig.h:
810 Document ASCII limitations of Fc character conversion macros
811 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
812 Fix off-by-one error in utf-8 case walking code.
813 Add FcStrDowncase (useful for testing case conversion functions)
815 2004-12-29 Keith Packard <keithp@keithp.com>
818 * fc-case/.cvsignore:
819 clean up CVS ignore lists
820 * fc-lang/iso-3166.txt:
821 Add territory database
823 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
825 Reviewed by: Keith Packard
828 Remove Han characters from Korean orthography
830 2004-12-29 Keith Packard <keithp@keithp.com>
833 Reorder utility programs to make sure fc-case is run before fc-lang
834 as fc-lang uses fcstr.c which uses fccase.h
838 2004-12-29 Keith Packard <keithp@keithp.com>
841 Adopt some RedHat suggestions for standard font configuration.
845 * fc-case/CaseFolding.txt:
846 * fc-case/Makefile.am:
847 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
848 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
849 (dump), (parseRaw), (caseFoldReadRaw), (main):
850 * fc-case/fccase.tmpl.h:
851 Add new helper program 'fc-case' to construct case folding
852 tables from standard Unicode CaseFolding.txt file
855 * src/fclist.c: (FcListValueHash):
856 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
857 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
858 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
859 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
860 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
861 Re-implement case insensitive functions with Unicode
862 aware versions (including full case folding mappings)
864 2004-12-13 Keith Packard <keithp@keithp.com>
866 reviewed by: Owen Taylor <otaylor@redhat.com>
868 * src/fcmatch.c: (FcFontSetSort):
869 I changed FcFontSetSort to respect the generic aliases better
870 in the face of language matching.
872 What I did was to ammend the strict sort order used by FcFontSort so
873 that it 'satisfies' the language specified in the pattern by locating
874 the best matching font supporting each pattern language and then
875 ignores language in the remaining fonts for purposes of matching.
877 So, when asking for 'sans:lang=en', you'll get an English font first,
878 and then the remaining fonts sorted with respect to the 'sans' alias
879 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
881 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
883 reviewed by: Keith Packard <keithp@keithp.com>
885 * fontconfig/fontconfig.h:
888 Configuration changes to request synthetic emboldening of
889 fonts. The actual emboldening code will live in Xft.
891 2004-12-09 John Thacker <thacker@math.cornell.edu>
893 reviewed by: Keith Packard <keithp@keithp.com>
897 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
898 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
899 и), and don't even appear in KOI8-R. (The hypothesis that they
900 don't appear in KOI8-R due to their similarity with Latin I and i is
901 eliminated by their presence in KOI8-U.) I have a couple of fonts
902 with Russian support that don't have the letter.
904 Therefore, 0406 and 0456 should be removed from or commented out of
907 2004-12-06 michael meeks <mmeeks@novell.com>
909 Reviewed by: Keith Packard <keithp@keithp.com>
911 * src/fcinit.c: (FcMemReport):
913 * src/fclist.c: (FcObjectSetAdd):
914 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
915 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
916 * src/fcxml.c: (FcParsePatelt):
917 memoize strings and share a single copy for all uses. Note that
918 this could be improved further by using statically allocated blocks
919 and gluing multiple strings together, but I'm basically lazy.
920 In my environment with 800 font files, I get a savings of about 90KB.
922 2004-12-06 Keith Packard <keithp@keithp.com>
926 * config/Makedefs.in:
931 * doc/fccharset.fncs:
933 * doc/fcconstant.fncs:
935 * doc/fcfontset.fncs:
936 * doc/fcfreetype.fncs:
939 * doc/fcobjectset.fncs:
940 * doc/fcobjecttype.fncs:
941 * doc/fcpattern.fncs:
945 * doc/fontconfig-devel.sgml:
946 * doc/fontconfig-user.sgml:
948 * doc/version.sgml.in:
949 * fc-cache/Makefile.am:
950 * fc-cache/fc-cache.c:
951 * fc-glyphname/Makefile.am:
952 * fc-glyphname/fc-glyphname.c:
953 * fc-glyphname/fcglyphname.tmpl.h:
954 * fc-lang/Makefile.am:
964 * fc-lang/az_ir.orth:
999 * fc-lang/fc-lang.man:
1000 * fc-lang/fclang.tmpl.h:
1045 * fc-lang/ku_ir.orth:
1078 * fc-lang/ps_af.orth:
1079 * fc-lang/ps_pk.orth:
1108 * fc-lang/ti_er.orth:
1109 * fc-lang/ti_et.orth:
1135 * fc-lang/zh_cn.orth:
1136 * fc-lang/zh_hk.orth:
1137 * fc-lang/zh_mo.orth:
1138 * fc-lang/zh_sg.orth:
1139 * fc-lang/zh_tw.orth:
1141 * fc-list/Makefile.am:
1142 * fc-list/fc-list.c:
1143 * fc-match/Makefile.am:
1144 * fc-match/fc-match.1:
1145 * fc-match/fc-match.c:
1146 * fontconfig/fcfreetype.h:
1147 * fontconfig/fcprivate.h:
1148 * fontconfig/fontconfig.h:
1169 Change files from ISO-Latin-1 to UTF-8
1171 2004-12-04 Keith Packard <keithp@keithp.com>
1174 Update links to new freedesktop.org locations
1176 Add uninstall-local to get rid of fonts.conf and local.conf if they
1177 match the distributed versions. Fixes 'make distcheck'
1179 2004-12-04 Keith Packard <keithp@keithp.com>
1183 * fontconfig/fontconfig.h:
1184 Updates for version 2.2.97
1186 2004-12-04 Owen Taylor <otaylor@redhat.com>
1188 reviewed by: Keith Packard <keithp@keithp.com>
1190 * fc-cache/fc-cache.c: (main):
1191 Sleep for two seconds before exiting to make sure timestamps
1192 for future changes have distinct mod times in the file system.
1195 Add Punjabi orthography. Bug #1671.
1197 2004-12-04 Keith Packard <keithp@keithp.com>
1200 Just remove the FC_FONTDATE -- it has locale issues and
1201 annoys redhat multi-arch installs. Now that all X fonts are
1202 included without prejudice, the chances of the date being at
1203 all interesting are rather limited. Bug #505.
1205 Add copyright and license
1207 2004-12-04 Keith Packard <keithp@keithp.com>
1210 Change default set of fonts to include all of
1211 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1212 * doc/fontconfig-user.sgml:
1213 Document new <include>directory-name</include> semantics
1215 add <include ignore_missing="yes">conf.d</include>
1217 Add selectfont to ignore bitmap fonts, add comment for
1218 selectfont which accepts bitmap fonts.
1221 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1222 Allow <include> configuration elements to reference directories.
1223 Parse and load all files of the form [0-9]* in sorted order.
1225 2004-12-04 Keith Packard <keithp@keithp.com>
1228 Report command line for $srcdir/configure accurately.
1231 2004-12-04 Keith Packard <keithp@keithp.com>
1233 * src/fcfreetype.c: (FcFreeTypeQuery):
1234 Check for non-empty face->family_name and face->style_name
1235 before using those for the font. Empty names match everything.
1238 2004-12-04 Keith Packard <keithp@keithp.com>
1241 * fontconfig/fontconfig.h:
1242 * src/fcfreetype.c: (FcFreeTypeQuery):
1244 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1245 available. This provides font file format information (BDF, Type 1,
1246 PCF, TrueType) for each font. Closes #109.
1248 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1250 reviewed by: Keith Packard <keithp@keithp.com>
1252 * doc/fontconfig-user.sgml:
1255 * fontconfig/fontconfig.h:
1256 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1257 (GetScriptTags), (FcFontCapabilities):
1259 Add detection for font capabilities (bug #105)
1261 2004-12-04 Keith Packard <keithp@keithp.com>
1264 Move existing fonts.conf to fonts.conf.bak
1267 Add detection of iconv
1269 * doc/fcpattern.fncs:
1270 * doc/fontconfig-devel.sgml:
1271 * doc/fontconfig-user.sgml:
1273 Document new selectfont elements
1276 Switch to UTF-8 in comment
1278 * fontconfig/fontconfig.h:
1280 Add fullname, and family/style/fullname language entries
1282 * src/fccache.c: (FcCacheFontSetAdd):
1283 * src/fcdir.c: (FcFileScanConfig):
1284 Respect selectfont/*/glob
1287 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1288 (FcConfigCompareValue), (FcConfigPatternsAdd),
1289 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1290 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1291 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1292 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1293 Add support for selectfont
1295 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1296 (FcStringInPatternElement), (FcFreeTypeQuery):
1297 Add multi-lingual family/style/fullname support
1299 * src/fclist.c: (FcListPatternMatchAny):
1300 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1302 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1303 (FcObjectStaticName):
1304 Add new FcPatternRemove/FcPatternAppend.
1305 FcObjectStaticName stores computed pattern element names which
1306 are required to be static.
1308 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1313 Remove spurious / after $(DESTDIR)
1315 2004-06-30 Keith Packard <keithp@keithp.com>
1319 * fontconfig/fontconfig.h:
1322 2004-06-30 Keith Packard <keithp@keithp.com>
1324 Provided by: Lubos Lunak <l.lunak@suse.cz>
1326 * src/fccfg.c: (FcConfigUptoDate):
1327 However FcConfigUptoDate() doesn't seem to work. See the attached
1328 patch. First there's an obvious misplaced parenthesis making it
1329 return always false, and second, even this call fails to detect font
1330 changes (e.g. adding a new font to
1331 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1332 well. The problem seems to be triggered by my fonts.conf specifying
1333 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1334 doesn't include subdirs, unlike config->fontDirs.
1336 2004-06-03 Keith Packard <keithp@keithp.com>
1338 * fontconfig/fontconfig.h:
1339 Remove comma at end of FcResult enum definition.
1341 2004-05-29 Keith Packard <keithp@keithp.com>
1344 Add steps to md5sum release
1346 2004-05-29 Keith Packard <keithp@keithp.com>
1350 * fontconfig/fontconfig.h:
1353 2004-05-29 Keith Packard <keithp@keithp.com>
1355 * fontconfig/fontconfig.h:
1356 * src/fcmatch.c: (FcFontSetMatch):
1357 Add FcResultOutOfMemory to provide an accurate error when
1358 FcFontSetMatch fails in this way
1361 Make #warning about lacking various FreeType features indicate
1362 which version those features appeared so users know how to
1363 fix the problem (Thanks to Anton Tropashko)
1365 2004-05-05 Keith Packard <keithp@keithp.com>
1367 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1368 Replace MIN/MAX/ABS macros which happen to have come
1369 from FreeType with fontconfig-specific ones (FC_*)
1371 2004-04-23 Keith Packard <keithp@keithp.com>
1374 Extend release preparation instructions to include
1375 notification and distribution steps
1377 2004-04-23 Keith Packard <keithp@keithp.com>
1381 * fontconfig/fontconfig.h:
1382 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1384 2004-04-23 Keith Packard <keithp@keithp.com>
1387 Ignore a few more autotool files
1389 2004-04-14 Keith Packard <keithp@keithp.com>
1392 Add instructions for doing a release
1394 * fontconfig.spec.in:
1395 clean up .spec file; perhaps this will be useful to somebody...
1399 * fontconfig/fontconfig.h:
1402 * fc-lang/fc-lang.c:
1403 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1405 * fc-glyphname/Makefile.am:
1406 * fc-lang/Makefile.am:
1407 * fc-list/Makefile.am:
1408 * fc-match/Makefile.am:
1410 Add WARN_CFLAGS to pass -W flags for GCC systems
1412 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1413 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1414 Change various char types around to match across
1416 Fixed bug in using available_sizes[i].height which
1417 is in pixels, not 64ths of a pixel.
1419 2004-03-06 Keith Packard <keithp@keithp.com>
1421 * src/fcfreetype.c: (FcFreeTypeQuery):
1422 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1423 matches looking for explicit values prefer exact matches
1425 2004-03-02 Keith Packard <keithp@keithp.com>
1427 Supplied by: mfabian@suse.de (Mike FABIAN)
1429 * src/fcfreetype.c: (FcFreeTypeQuery):
1430 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1431 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1433 2004-02-21 Manish Singh <yosh@gimp.org>
1435 * fc-glyphname/fc-glyphname.c: (main):
1436 Cast strlen to int for printf, so we're 64-bit clean.
1438 2004-02-11 Keith Packard <keithp@keithp.com>
1441 * src/fcfreetype.c: (FcGetPixelSize):
1442 Ok, so I messed up the test for y_ppem. Let's see if I
1443 got it right this time.
1445 2004-02-10 Keith Packard <keithp@keithp.com>
1448 * src/fcfreetype.c: (FcGetPixelSize):
1449 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1450 FT_Bitmap_Size record. Add a configure.in test for this
1451 and change the code accordingly (using height instead).
1453 2004-02-06 Keith Packard <keithp@keithp.com>
1456 Add Low Saxon orthography
1457 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1459 * src/fccfg.c: (FcConfigNewestFile):
1460 Oops. Left 'newest.set' unset, which would miscompute
1463 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1464 (FcFreeTypeCheckGlyph):
1465 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1466 font properties (which report the wrong value in current FreeType)
1468 Don't attempt to check for empty glyphs in non-scalable fonts; they
1471 2004-02-01 Tor Lillqvist <tml@iki.fi>
1473 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1474 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1475 cache if config->cache is NULL, which happens if FcConfigHome() is
1476 NULL. Guard against that by using the temp folder in that case.
1478 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1480 * fc-lang/az_ir.orth:
1481 * fc-lang/ku_ir.orth:
1482 * fc-lang/ps_af.orth:
1483 * fc-lang/ps_pk.orth:
1484 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1485 (Afghan and Pakistani).
1487 Updated Urdu orthography with real data.
1489 2003-12-11 Carl Worth <cworth@east.isi.edu>
1491 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1494 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1496 (all-local): Remove excessive whitespace.
1498 * autogen.sh: Add 'set -e' to abort when any program fails,
1499 (avoids printing of 'now type make' after configure aborts).
1501 2003-11-17 Eric Christopherson <rakko@charter.net>
1503 reviewed by: Keith Packard <keithp@keithp.com>
1506 * fontconfig/fcfreetype.h:
1508 Switch to FreeType 2.1.7 style includes. Bug #150.
1510 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1512 * fc-list/fc-list.sgml: Add some example usages.
1514 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1517 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1520 2003-10-27 Keith Packard <keith@keithp.com>
1523 * fontconfig/fontconfig.h:
1524 Update to version 2.2.92
1526 2003-10-27 Keith Packard <keithp@keithp.com>
1531 * fc-cache/Makefile.am:
1532 * fc-glyphname/Makefile.am:
1533 * fc-lang/Makefile.am:
1534 * fc-list/Makefile.am:
1535 * fc-match/Makefile.am:
1538 Yet more cleanups to finish getting 'make distcheck' working
1539 This has been tested to ensure that it even works from a _build
1542 2003-10-26 Keith Packard <keithp@keithp.com>
1546 * fc-cache/Makefile.am:
1547 * fc-glyphname/Makefile.am:
1548 * fc-lang/Makefile.am:
1549 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1550 * fc-list/Makefile.am:
1551 * fc-match/Makefile.am:
1552 Attempts to fix 'make distcheck' work. Things are
1553 progressing pretty well, but there are still failures
1554 long into the process dealing with docs (as always).
1556 The big changes here are mostly to make $(srcdir) != "."
1557 work correctly, fixing the docbook related sections and
1558 fc-lang were particularily tricky. Docbook refuses to load
1559 system entities from anywhere other than where the original .sgml
1560 file was located, so no luck looking in "." for the
1561 configure-generated version.sgml and confdir.sgml files.
1563 fc-lang needed help finding .orth files; added a -d option
1564 to set the directory as the least evil of many options.
1566 Now to go use a faster machine and try and wring out the last
1569 2003-10-26 Keith Packard <keithp@keithp.com>
1573 2003-10-26 Keith Packard <keithp@keithp.com>
1576 Include confdir.sgml.in in EXTRA_DIST
1578 2003-10-09 Josselin Mouette <joss@debian.org>
1580 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1581 * fc-list/fc-list.sgml fc-list/Makefile.am:
1582 Replace fc-cache and fc-list manpages with more detailed, SGML
1585 2003-09-23 Owen Taylor <otaylor@redhat.com>
1587 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1588 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1589 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1592 2003-09-23 Owen Taylor <otaylor@redhat.com>
1594 * fc-lang/ka.orth: Remove Georgian capitals, they
1595 aren't used for normal writing. (Bug #116)
1597 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1599 * doc/fontconfig-devel.sgml:
1600 * doc/fontconfig-user.sgml:
1601 * fontconfig/fontconfig.h:
1603 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1604 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1606 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1607 monospace and dual-width fonts, allow roughly a 3% variance in the
1610 2003-08-31 Manish Singh <yosh@gimp.org>
1612 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1615 2003-08-15 Carl Worth <cworth@isi.edu>
1617 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1618 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1620 * src/fcpat.c (FcValueListEntDestroy): New function to support
1621 FcFini memory cleanup. Some statistics are not kept in
1623 (FcValueListFreeze): Move hashTable outside this function so it
1624 can be accessed by FcValueListThawAll.
1625 (FcValueListThawAll): New function complements FcValueListFreeze.
1626 (FcPatternBaseFreeze): Move hashTable outside this function so it
1627 can be accessed by FcPatternBaseThawAll.
1628 (FcPatternBaseThawAll): New function complements
1629 FcPatternBaseFreeze.
1630 (FcPatternThawAll): New function complements FcPatternFreeze.
1632 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1634 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1635 allocated FcCharLeafEnt "blocks" so they can be freed later.
1636 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1637 can be accessed by FcCharSetThawAllLeaf.
1638 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1639 (FcCharSetFreezeBase): Move hashTable outside this function so it
1640 can be accessed by FcCharSetThawAll.
1641 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1643 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1644 (FcConfigDestroy): Fic leak of FcBlanks.
1646 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1647 (main): Add call to FcFini when finished.
1649 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1650 static. Add prototypes.
1652 * doc/fcinit.fncs: Add documentation for FcFini function.
1654 * doc/edit-sgml.c: Mark several local functions as static. Add
1657 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1659 2003-06-15 Tor Lillqvist <tml@iki.fi>
1661 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1662 before comparing (needed on Windows).
1664 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1666 2003-06-13 Tor Lillqvist <tml@iki.fi>
1668 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1671 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1672 WINDOWSFONTDIR token.
1674 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1675 end, not to confuse libtool, which expects the EXPORTS line to be
1676 the first. Add FcConfigEnableHome.
1678 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1679 built as a DLL on Win32.
1681 2003-06-09 Keith Packard <keithp@keithp.com>
1683 * Tag version 2.2.90
1685 2003-06-09 Keith Packard <keithp@keithp.com>
1687 * Optimization in FcLangSetIndex was broken, occasionally
1688 returning a pointer to the wrong location on miss
1690 * Add fc-match to test font matching from the command line.
1692 2003-05-31 Keith Packard <keithp@keithp.com>
1694 * (Bug 85) add support for culmus fonts
1695 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1696 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1698 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1700 * Fix "contains" op for strings and langsets.
1702 2003-05-17 Keith Packard <keithp@keithp.com>
1704 * Fix build error with BDF prop local. Free langset after query
1706 2003-05-14 Keith Packard <keithp@keithp.com>
1708 * Extract spacing from XLFD atom
1710 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1712 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1713 disappeared in 1.30.
1715 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1717 2003-05-12 Keith Packard <keithp@keithp.com>
1719 * Use FcIsWidth to share code
1721 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1722 misclassifying some Han fonts as monospaced.
1724 2003-05-07 Keith Packard <keithp@keithp.com>
1726 * Add filename-based accept/reject to ammend available fonts.
1728 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1729 older FreeType releases.
1731 2003-05-06 Keith Packard <keithp@keithp.com>
1733 * Remove 0b82 and Tamil numbers from tamil
1734 orthography (Jungshik Shin <jshin@mailaps.org>)
1736 2003-05-04 Keith Packard <keithp@keithp.com>
1738 + Map glyph names in fonts with adobe custom encoding to unicode
1740 2003-05-02 Keith Packard <keithp@keithp.com>
1742 * Add FC_WEIGHT_BOOK as weight 75
1744 2003-04-30 Keith Packard <keithp@keithp.com>
1746 * Typo in bitstream foundry name
1748 2003-04-24 Keith Packard <keithp@keithp.com>
1750 * Eliminate italic_angle check for PS fonts
1752 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1754 * Getting closer to fixing /etc/fonts hard-coding.
1756 2003-04-22 Keith Packard <keithp@keithp.com>
1758 * Update autogen.sh to work with newer automake versions
1759 * Handle pattern elements moving during multiple edits
1761 2003-04-23 James Henstridge <james@daa.com.au>
1763 * doc/fontconfig-devel.sgml: close the <para> element.
1765 * doc/fcpattern.fncs: close the <para> element.
1767 * doc/func.sgml: close the <refsynopsisdiv> element.
1769 2003-04-22 Keith Packard <keithp@keithp.com
1771 * Update autogen.sh to work with newer automake versions
1772 * Handle pattern elements moving during multiple edits
1774 2003-04-17 Colin Walters <walters@debian.org>
1776 + Remove some unused variables, and initialize some other ones so
1777 gcc doesn't warn us.
1779 2003-04-16 Keith Packard <keithp@keithp.com>
1781 + tag version 2.1.94
1783 2003-04-16 Keith Packard <keithp@keithp.com>
1785 + add BDF property fetching support for foundry
1786 (from Juliusz Chroboczek)
1787 + add BDF property fetching support for width
1789 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1791 + Implemented foundry generation for Type 1 and TrueType
1793 2003-04-11 Gerard Escalante <g2@magestudios.net>
1795 + Retrieve information from Type1 FontInfo dictionaries
1797 2003-04-07 Colin Walters <walters@verbum.org>
1799 + src/Makefile.am: Fix dummy makefile target names when
1800 MS_LIB_AVAILABLE isn't set.
1802 2003-03-22 Tor Lillqvist <tml@iki.fi>
1804 Changes for Windows:
1806 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1808 + We don't want to hardcode the fonts.conf file location in the
1809 DLL, so we look up the DLL location at run-time in a DllMain()
1810 function. The fonts.conf location is deduced from that.
1812 + The colon can't be used as path separator on Windows,
1813 semicolon is used instead. File path components can be separated
1814 with either slash or backslash. Absolute paths can also begin
1815 with a drive letter.
1817 + Add internal function FcStrLastSlash that strrchr's the last
1818 slash, or backslash on Windows.
1820 + There is no link() on Windows. For atomicity checks, mkdir a
1821 lock directory instead.
1823 + In addition to HOME, also look for USERPROFILE.
1825 + Recognize the special font directory token WINDOWSFONTDIR, to
1826 use the system's font directory.
1828 + Remove the fontconfig-def.cpp that was obsolete. Add
1829 fontconfig.def(.in), without internal functions.
1831 + Add a fontconfig-zip(.in) script, used to build a binary
1834 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1835 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1836 to main package and man3/* to devel package
1838 + Added missing defattr(-, root, root) to main RPM package
1840 + Added HTML and text development documentation to -devel subpackage
1842 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1843 + Added back the configure macro options --disable-docs, otherwise
1844 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1845 version number) unconditionally, causing RPM to fail the build due
1846 to _unpackaged_files_terminate_build. We pick up the pregenerated
1847 docs with %doc already.
1849 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1850 + Removed commented out rpm macro define at top of spec file,
1851 replacing it with a simple explanation, since rpm macros are
1852 expanded by rpm even in comments.
1854 + Changed /usr/bin to _bindir in BuildRequires lines
1856 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1858 + Reorganized file manifest lists
1860 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1862 + fontconfig.spec.in: Improvements from Red Hat spec file.
1864 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1866 + docs/*.sgml: SGML fixes.
1868 Sat Mar 1 17:28:53 PST 2003 keithp
1869 + Ok, so the ChangeLog is a bit out of date
1871 + Lots of bugs fixed; most are in bugzilla, the
1872 biggest problems were in cache management where
1873 Owen discovered the library would lose badly when
1874 combining fonts-cache and ~/.fonts-cache data
1876 + Converted from autoconf to automake. This after
1877 getting patches accepted into libtool to allow
1878 the '-version-number' argument which lets
1879 packages set version numbers explicitly rather
1880 than the roundabout libtool way
1882 + Converted documentation to SGML using the docbook
1883 DTD. Now .txt and .html documents are installed
1884 in /usr/share/doc/fontconfig and there's no
1885 man page. Perhaps a man version can be written
1888 Sat Aug 31 15:21:22 PDT 2002 keithp
1889 + Xrender and Xft had several bugs related to
1890 rendering manually placed or poly-face text
1892 + Added more complete memory tracing in fontconfig
1893 Checked with (patched) mozilla and found no leaks
1895 + Updated Latin orthographies by comparing those from
1896 evertype.com with those from eki.ee. Tried to make
1897 sensible choices, including chars that occured in both
1898 and leaving some optional chars out that occured only
1901 Mon Aug 26 16:33:04 PDT 2002 keithp
1902 + Owen discovered that FcLangSetHasLang wasn't actually
1903 checking the language set.
1905 Mon Aug 26 13:37:23 PDT 2002 keithp
1906 + Append a version number to cache filenames
1908 Thu Aug 22 11:36:18 PDT 2002 keithp
1910 + Add "contains" and "not_contains" operators and elements to
1913 + Changed semantics of eq operator for LangSets to check for
1914 FcLangEqual so that any match will do
1916 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1917 of FcValueEqual to check for identical values when inserting into
1918 the results. This broke when the above semantic change was made,
1919 now it uses FcValueEqual which is "more correct" in any case.
1921 Thu Aug 22 00:32:29 PDT 2002 keithp
1923 + Reimplement FC_LANG as new datatype. Lists of strings
1924 was consuming over a megabyte of memory for 401 fonts.
1926 + Freeze patterns loaded from cache files. This shares
1927 common value lists and common patterns which saves
1928 considerable memory.
1930 + Change the denotation of 'constant' charsets to use special
1931 ref value instead of separate boolean.
1933 + Clean up leak tracing stuff, found several unannoted alloc/free
1936 Tue Aug 20 16:17:37 PDT 2002 keithp
1938 + Fix memory leak when parsing matrices from XML
1940 Mon Aug 19 11:57:27 PDT 2002 keithp
1942 + Fix autoconf files to pass FONTCONFIG_PATH on
1943 compile line so that ${prefix} gets substituted
1946 + Use getc_unlocked/putc_unlocked on systems that
1947 provide them to avoid damage done to stdio by posix
1949 + Eliminate FC_PATTERN and FcTypePattern in favor of
1950 an extended api for FcConfigSubstitute which takes
1951 both the font and the pattern.
1953 + Add 'sans serif' alias for 'sans-serif' as some apps
1954 can't handle hyphens in family names
1956 + Eliminate pretense of support for libxml2
1958 + Comment origins of Han orthographies
1960 Tue Jul 30 18:37:09 PDT 2002 keithp
1962 + Add binding property to edit element so that strong
1963 binding values may be inserted by the config file.
1964 The default remains weak.
1966 Sun 28 Jul 04:16:55 PDT 2002 keithp
1968 + Tagged release candidate 1 in the CVS tree and
1969 placed fcpackage.rc1.tar.gz for distribution
1971 Thu Aug 1 08:55:08 PDT 2002 keithp
1973 + Fixed autoconf builds to always specify install
1974 target files (for BSD). Also fixed to
1975 define FONTCONFIG_PATH in config.h so that
1976 nonstandard installs will actually work.