1 2005-11-16 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheProduce):
3 * src/fccharset.c (FcCharSetDistributeBytes):
4 * src/fcfs.c (FcFontSetDistributeBytes):
6 * src/fclang.c (FcLangSetDistributeBytes):
7 * src/fcname.c (FcObjectDistributeBytes):
8 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
11 Add *NeededBytesAlign(), which overestimates the padding which is
12 later added by the new ALIGN macro. Fix alignment problems on
13 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
14 version by Andreas Schwab).
16 2005-11-16 Stephan Kulow <coolo@kde.org>
21 Use sysconf to determine proper PAGESIZE value; this
22 appears to be POSIX-compliant. (reported by Andreas Schwab)
24 2005-11-04 Patrick Lam <plam@mit.edu>
30 Fix bug 2878 (excessive relocations at startup for charsets,
31 reported by Ross Burton): fc-lang/fc-lang now creates the
32 static form of the langset, not the dynamic form, so that
33 the charsets should now be in .rodata.
35 2005-11-04 Patrick Lam <plam@mit.edu>
36 * src/fcdir.c (FcDirScanConfig):
38 Add test for validity of directory caches that
39 somehow got lost (reported by make distcheck).
41 2005-11-04 Patrick Lam <plam@mit.edu>
45 * fontconfig/fontconfig.h:
47 Bump version to 2.3.92.
49 2005-11-02 Patrick Lam <plam@mit.edu>
50 * src/fcpat.c (FcPatternDuplicate):
52 Fix argument ordering problem in call to FcPatternTransferFullFname.
54 2005-11-02 Patrick Lam <plam@mit.edu>
55 * src/fcfreetype.c (FcFreetypeQuery):
56 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
57 FcPatternTransferFullFname):
59 Fix warnings and embarrassing double-free error.
61 2005-11-02 Zhe Su <zsu@novell.com>
66 Change the rule for artificial emboldening in fonts.conf.in. This
67 enables the support for artificial emboldening included in cairo.
69 2005-11-02 Patrick Lam <plam@mit.edu>
70 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
72 Don't zero out full names for FC_REF_CONSTANT fonts;
73 also, duplicate full names when transferring, and free
74 full names when freeing the associated font.
75 Reported by Jinghua Luo.
77 2005-11-02 Patrick Lam <plam@mit.edu>
78 * fc-cache/fc-cache.c (scanDirs):
79 * src/fcpat.c (FcValueListSerialize):
81 Revert the previous patch and commit the correct patch:
82 I forgot a canonicalization in FcValueListSerialize, so
83 that it would choke on already-serialized input files. Duh!
85 2005-11-02 Patrick Lam <plam@mit.edu>
86 * fc-cache/fc-cache.c (scanDirs):
88 Forcibly rescan a directory before writing a fresh local
89 cache file for that directory, fixing the losing-fonts
90 problem reported by Mike Fabian and also apparently the
91 font cache file corruption.
93 2005-11-02 Patrick Lam <plam@mit.edu>
94 * src/fccache.c (FcGlobalCacheLoad):
96 Fix thinko: actually, the whole global cache is stale
97 if the global cache is older than the (newest) config file.
99 2005-11-02 Patrick Lam <plam@mit.edu>
100 * src/fccache.c (FcGlobalCacheLoad):
101 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
104 Declare the global cache of a directory's contents to be stale if
105 the directory is newer than the (newest) configuration file.
107 2005-10-31 Patrick Lam <plam@mit.edu>
109 * src/fclist.c (FcListAppend):
110 * src/fcmatch.c (FcFontRenderPrepare):
111 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
112 FcPatternFreeze, FcPatternBaseFreeze):
114 Copy the full pathname whenever duplicating an FcPattern; otherwise,
115 applications continue breaking.
117 2005-10-31 Patrick Lam <plam@mit.edu>
118 * fc-cat/fc-cat.c (FcCacheFileRead, main):
119 * src/fcfreetype.c (FcFreeTypeQuery):
121 Fix small memory error (tried to free argv); use basename and
122 dirname correctly (they can modify their arguments).
124 2005-10-31 Patrick Lam <plam@mit.edu>
132 Reinstate basename patch, but keep a hash table linking FcPatterns
133 to their fully-qualified font names for clients' benefit. Clients
134 only pay for the font names once they request the FC_FILE property
135 from an FcPattern, but the font name is malloc'd at that point (i.e.
136 not mmapped: that's impossible, since it may vary between machines.)
137 Clients do have to pay for a copy of the path name per cache file.
139 Note that FcPatternGetString now does some rewriting if you ask
140 for an FC_FILE, appending the pathname as appropriate.
142 2005-10-31 Patrick Lam <plam@mit.edu>
143 * src/fcfreetype.c (FcFreeTypeQuery):
145 Revert basename patch, which breaks fontconfig clients on my system.
147 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
150 * fontconfig/fonts.conf.in:
151 * fontconfig/fontconfig.h:
155 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
156 to load embedded bitmaps or not.
158 2005-10-25 Patrick Lam <plam@mit.edu>
159 * src/fcfreetype.c (FcFreeTypeQuery):
161 Only add basename to patterns' FC_FILE element, not any part of
164 2005-10-22 Patrick Lam <plam@mit.edu>
167 Add some more consts, fixing more GCC4 warnings.
169 2005-10-22 Zhe Su <zsu@novell.com>
172 Support localized font family and style names.
173 This has been reported to break old apps like xfd, but modern
174 (gtk+/qt/mozilla) apps work fine.
176 2005-10-21 Patrick Lam <plam@mit.edu>
177 * src/fccache.c (FcGlobalCacheLoad):
179 Destroy the global cache file if it's terminally broken. (reported by
182 2005-10-21 Patrick Lam <plam@mit.edu>
183 * fc-list/fc-list.c (main):
184 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
185 * fontconfig/fontconfig.h:
187 Prevent fc-list from escaping strings when printing them (reported by
190 2005-10-20 Marcus Meissner <meissner@suse.de>
193 * fontconfig/fontconfig.h:
195 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
197 2005-10-14 Ross Burton <ross@burtonini.com>
200 * fc-glyphname/fc-glyphname.c:
203 Add consts to variables so as to move arrays into .rodata.
205 2005-10-14 Mike Fabian <mfabian@suse.de>
208 * src/fccache.c (FcDirCacheUnlink):
210 Check existence of directory cache file before attempting to unlink.
212 2005-10-13 Patrick Lam <plam@mit.edu>
213 * src/fccache.c (FcDirCacheUnlink):
215 Fix flipped return value on unlink. (Reported by Mike Fabian)
217 2005-10-12 Patrick Lam <plam@mit.edu>
220 * src/fcdir.c (FcDirScanConfig):
223 When fc-cache is run without --force, use directory cache files
224 to speed up fc-cache run time. (Reported by Mike Fabian)
226 2005-10-06 Patrick Lam <plam@mit.edu>
228 * src/fcname.c (FcObjectToPtr):
229 * src/fcpat.c (FcStrStaticName):
231 Add padding to make valgrind and glibc not hate each other
232 when calling strlen().
234 2005-10-05 Simos Xenitellis <simos74@gmx.net>
235 reviewed by: plam & keithp
239 Modify config file to use Greek fonts before Asian fonts with
242 2005-10-05 Christian Biesinger <cbiesinger@web.de>
243 reviewed by: plam & keithp
247 Use libtool -no-undefined flag on all platforms.
249 2005-10-05 Patrick Lam <plam@mit.edu>
250 * src/fccache.c (FcCacheHaveBank):
252 Implement move-to-front array for banks (perf regression
253 reported by Ronny V. Vindenes).
255 2005-10-04 Patrick Lam <plam@mit.edu>
256 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
257 FcDirCacheHasCurrentArch):
258 * fc-cache/fc-cache.c (scanDirs):
259 * fontconfig/fontconfig.h:
261 Add new API which unlinks directory caches and checks dir caches
262 for existence of appropriate sections. Fix fc-cache to unlink
263 stale cache files and save directory caches that lack relevant
266 2005-10-03 Patrick Lam <plam@mit.edu>
267 * src/fccache.c (FcDirCacheValid):
269 Ensure that a directory cache has the appropriate section
270 before reporting that it is valid (reported by Matthias Clasen).
272 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
280 Use libxml2 if requested (with --enable-libxml2) or if
281 expat is not available.
283 2005-09-29 Patrick Lam <plam@mit.edu>
284 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
286 Fix multi-arch cache files: compute the position for the
287 block to be added using info from OrigFile, not NewFile.
289 2005-09-28 Patrick Lam <plam@mit.edu>
290 * src/fccache.c (FcCacheMachineSignature):
292 Cast results of sizeof() to unsigned int to get rid of
293 warnings on x86_64 (thanks Matthias Clasen).
295 2005-09-27 Patrick Lam <plam@mit.edu>
296 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
299 Use FcAtomic to rewrite cache files.
301 2005-09-27 Patrick Lam <plam@mit.edu>
303 * src/fccache.c (FcDirCacheWrite):
305 Don't unlink the fonts.cache-2 file even if there's no data
306 to write; just write an empty cache file. (thanks Lubos Lunak)
308 2005-09-27 Patrick Lam <plam@mit.edu>
310 * src/fccache.c (FcDirCacheWrite):
312 Allocate room for the subdirectory names in each
313 directory cache. Thanks to James Cloos for finding
314 and diagnosing this bug!
316 2005-09-22 Patrick Lam <plam@mit.edu>
318 * fc-cache/fc-cache.sgml:
319 * src/fccache.c (FcDirCacheWrite):
320 * src/fccache.h (struct FcCache):
322 Update documentation -- fc-cache's man page now says that you
323 need to run fc-cache once per cached architecture; add some
324 documentation to the FcCache structure.
326 Make fc-cache write out fonts.cache-2 files for directories with
327 no fonts (i.e. only subdirectories).
329 2005-09-22 Patrick Lam <plam@mit.edu>
331 * fc-cache/fc-cache.sgml:
333 * fc-glyphname/fc-glyphname.c:
339 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
344 * fontconfig/fcprivate.h:
345 * fontconfig/fontconfig.h:
359 Implement new mmaped cache for font information.
360 Bump so revision to 2.3.90.
362 2005-07-25 Keith Packard <keithp@keithp.com>
364 * doc/fontconfig-user.sgml:
365 * fc-glyphname/fc-glyphname.c: (scan), (main):
366 * fc-lang/fc-lang.c: (FcConfigHome):
367 * fc-match/fc-match.c: (main):
368 * src/fccfg.c: (FcConfigHome):
369 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
370 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
371 (addtag), (FcFontCapabilities):
372 * src/fcpat.c: (FcValueListEntCreate):
373 * src/fcstr.c: (FcStrCaseWalkerInit):
374 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
376 Various GCC 4 cleanups for signed vs unsigned char
378 Match only [0-9]*.conf files in <include>{directory}</include>
379 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
381 2005-07-15 Carl Worth <cworth@cworth.org>
384 * src/fcinit.c: (FcFini):
385 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
388 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
389 Pull the FcObjectStateName hash table out to file scope, and add
390 FcObjectStaticNameFini so that FcFini will cleanup this hash table
393 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
396 2005-06-16 Patrick Lam <plam@MIT.EDU>
400 * src/fccfg.c: (FcConfigCompareValue):
401 Make FcOpNotContains use FcStrStr for strings so that
402 it matches semantics for !FcOpContains.
404 2005-05-20 Keith Packard <keithp@keithp.com>
408 Move fontconfig source package to libs as per override
410 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
412 reviewed by: Mike Fabian
415 The ka.orth file requires several characters which are not
416 used anymore in modern Georgian and which are missing in the free
417 Georgian TrueType fonts downloadable at:
419 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
421 2005-04-27 Keith Packard <keithp@keithp.com>
425 Update date to real 2.3.2 release date.
426 Fix change attributions
428 2005-04-27 Keith Packard <keithp@keithp.com>
431 Bump so revision for 2.3.2
432 * fc-cache/fc-cache.c: (scanDirs):
433 Fix a few minor leaks in error cases.
435 2005-04-23 Keith Packard <keithp@keithp.com>
440 * fontconfig/fontconfig.h:
441 Update for version 2.3.2
443 2005-04-21 Keith Packard <keithp@keithp.com>
445 * debian/fontconfig.postinst:
446 Don't force bitmap font enable in default
447 configuration; allows users to override this in
457 * debian/po/pt_BR.po:
458 * debian/po/templates.pot:
460 * debian/po/zh_CN.po:
463 * fc-cache/fc-cache.c: (main):
464 Destroy font configuration on exit to help valgrind
467 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
468 (FcFreeTypeCheckGlyph):
469 Use own transcoding routines in preference to iconv
470 which appears to have leaks in some translators.
471 Call iconv_close after using iconv (oops).
473 Prefer unicode encoding of Euro char as some
474 fonts mis-encode Euro in other ones.
476 Must fetch bitmap glyphs to get width values
477 to check for monospace/dual-width fonts.
479 2005-04-13 Ross Burton <ross@burtonini.com>
482 Check that a pattern isn't already frozen in FcPatternFreeze.
484 2005-03-31 Ross Burton <ross@burtonini.com>
489 Run all FcPattern objects through FcObjectStaticName, so that
490 compares can be done on pointers instead of strings (#2659)
492 2005-03-17 Tor Lillqvist <tml@novell.com>
494 * src/fontconfig.def.in: Add the .dll to the dll name.
496 2005-03-10 Keith Packard <keithp@keithp.com>
498 * debian/README.Debian:
499 Update to reflect configuration changes
501 * debian/fontconfig.postinst:
502 Fix Autohint vs Autohinter mistake
503 * debian/fontconfig.templates:
504 Adopt changes from Josselin Mouette for configuration descriptions
505 Update debian to version 2.3.1-2
507 2005-03-08 Keith Packard <keithp@keithp.com>
511 Update debian for 2.3.1
513 2005-03-09 Tor Lillqvist <tml@novell.com>
515 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
518 * src/fccfg.c (FcConfigFileExists): Check also drive letter
521 2005-03-08 Keith Packard <keithp@keithp.com>
525 * fontconfig/fontconfig.h:
528 2005-03-05 Keith Packard <keithp@keithp.com>
530 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
531 Include space and remove numbers from valid script tags.
532 This ensures that tags like 'lao ' work while rejecting
533 those which have any digits.
534 Eliminate a spurious debugging variable (len)
536 2005-03-05 Keith Packard <keithp@keithp.com>
538 * src/fcfreetype.c: (addtag), (GetScriptTags),
539 (FcFontCapabilities):
540 Rework GSUB/GPOS script parsing to survive broken fonts.
541 Thanks for the broken font go to Manish Singh
543 2005-03-05 Keith Packard <keithp@keithp.com>
548 * debian/fontconfig.config:
549 * debian/fontconfig.templates:
551 Include 2.3 release information in changelog
552 Add Josselin Mouette as an Uploader
553 Set hinting_type to low priority configuration option
556 * debian/fontconfig.postinst:
557 yes_bitmaps.conf -> yes-bitmaps.conf
563 2005-03-02 Keith Packard <keithp@keithp.com>
566 * conf.d/Makefile.am:
567 * conf.d/autohint.conf:
568 * conf.d/no-sub-pixel.conf:
569 * conf.d/sub-pixel.conf:
570 * conf.d/unhinted.conf:
571 * debian/autohint.conf:
572 * debian/fontconfig.install:
573 * debian/fontconfig.postinst:
574 * debian/fontconfig.templates:
575 * debian/no-sub-pixel.conf:
576 * debian/unhinted.conf:
577 Move debian-specific conf file examples upstream.
579 Sub-pixel configuration examples must smash subpixel value
580 as Xft always sets it from X.
582 Change sub-pixel rendering debconf descriptions from
583 Enable/Disable to Always/Never.
585 2005-03-02 Keith Packard <keithp@keithp.com>
590 Ignore more build detritus
593 Add debian package construction stuff.
595 * config/config.guess:
597 Update to newer versions of these tools
600 Get library manuals to build again (we love automake).
602 * debian/README.Debian:
603 * debian/autohint.conf:
608 * debian/fontconfig-udeb.install:
609 * debian/fontconfig.config:
610 * debian/fontconfig.defoma:
611 * debian/fontconfig.dirs:
612 * debian/fontconfig.install:
613 * debian/fontconfig.postinst:
614 * debian/fontconfig.postrm:
615 * debian/fontconfig.templates:
616 * debian/libfontconfig1-dev.install:
617 * debian/libfontconfig1.install:
618 * debian/local.conf.md5sum:
619 * debian/no-sub-pixel.conf:
620 * debian/po/POTFILES.in:
629 * debian/po/pt_BR.po:
630 * debian/po/templates.pot:
632 * debian/po/zh_CN.po:
634 * debian/unhinted.conf:
635 Update debian build system to switch maintainers and
636 deal with 2.3 functionality
638 2005-03-01 Keith Packard <keithp@keithp.com>
642 * fontconfig/fontconfig.h:
645 2005-03-01 Keith Packard <keithp@keithp.com>
648 Generate and install PDF versions of the manuals
650 * doc/fcpattern.fncs:
654 Add missing exported functions, fix data types
656 * doc/fontconfig-devel.sgml:
657 Add missing pattern elements.
659 * doc/fontconfig-user.sgml:
660 Add missing pattern elements. Document conf.d usage,
661 clarify available orthography list. Fix some config file
662 attributes. Complete list of constants.
664 * fontconfig/fontconfig.h:
665 Mark FC_SOURCE deprecated.
667 * src/fcfreetype.c: (FcFreeTypeQuery):
668 Don't set FC_SOURCE any longer.
670 2005-02-28 Keith Packard <keithp@keithp.com>
673 * conf.d/Makefile.am:
675 * conf.d/no-bitmaps.conf:
676 * conf.d/sub-pixel.conf:
677 * conf.d/yes-bitmaps.conf:
679 Create prototype /etc/fonts/conf.d directory with a few
680 sample configuration files.
681 Deprecate use of local.conf for local customizations in favor of
682 this directory based scheme which is more easily integrated into
683 installation systems.
686 Tag FC_EMBOLDEN as a boolean variable
688 2005-02-10 Keith Packard <keithp@keithp.com>
690 reviewed by: pborelli@katamail.com
692 * src/fcdir.c: (FcFileScanConfig):
693 Free patterns from fonts which are rejected by configuration
696 2005-01-28 Keith Packard <keithp@keithp.com>
700 * fontconfig/fontconfig.h:
701 Update for version 2.2.99
703 2005-01-28 Keith Packard <keithp@keithp.com>
706 Add a few pointers (#2284, #2285)
708 2005-01-28 Keith Packard <keithp@keithp.com>
711 * src/fcname.c: (FcNameBool):
712 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
713 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
714 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
715 Polite typechecking for test and edit expressions. Helps
716 catch errors in the font configuration. (bug 229)
718 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
720 reviewed by: Keith Packard <keithp@keithp.com>
723 Have --with-expat set EXPAT_CFLAGS (bug 2278)
725 2005-01-13 Keith Packard <keithp@keithp.com>
727 * doc/fontconfig-user.sgml:
728 Add SEE ALSO section (bug 2085)
730 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
732 reviewed by: Keith Packard <keithp@keithp.com>
737 * fc-case/Makefile.am:
738 * fc-glyphname/Makefile.am:
739 * fc-lang/Makefile.am:
740 * src/fontconfig.def.in:
741 Cross compiling fixes (bug 280)
743 2005-01-13 Keith Packard <keithp@keithp.com>
746 Update blanks list (Closes bug 86)
748 2005-01-04 Keith Packard <keithp@keithp.com>
750 * src/fccache.c: (FcCacheFontSetAdd):
751 Verify that every font pattern loaded from cache has
752 both FC_FILE and FC_FAMILY entries.
753 Attempt to fix bug #2219.
755 2004-12-29 Keith Packard <keithp@keithp.com>
759 * fontconfig/fontconfig.h:
760 Update for version 2.2.98
762 2004-12-29 Keith Packard <keithp@keithp.com>
764 * fontconfig/fontconfig.h:
765 Document ASCII limitations of Fc character conversion macros
766 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
767 Fix off-by-one error in utf-8 case walking code.
768 Add FcStrDowncase (useful for testing case conversion functions)
770 2004-12-29 Keith Packard <keithp@keithp.com>
773 * fc-case/.cvsignore:
774 clean up CVS ignore lists
775 * fc-lang/iso-3166.txt:
776 Add territory database
778 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
780 Reviewed by: Keith Packard
783 Remove Han characters from Korean orthography
785 2004-12-29 Keith Packard <keithp@keithp.com>
788 Reorder utility programs to make sure fc-case is run before fc-lang
789 as fc-lang uses fcstr.c which uses fccase.h
793 2004-12-29 Keith Packard <keithp@keithp.com>
796 Adopt some RedHat suggestions for standard font configuration.
800 * fc-case/CaseFolding.txt:
801 * fc-case/Makefile.am:
802 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
803 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
804 (dump), (parseRaw), (caseFoldReadRaw), (main):
805 * fc-case/fccase.tmpl.h:
806 Add new helper program 'fc-case' to construct case folding
807 tables from standard Unicode CaseFolding.txt file
810 * src/fclist.c: (FcListValueHash):
811 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
812 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
813 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
814 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
815 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
816 Re-implement case insensitive functions with Unicode
817 aware versions (including full case folding mappings)
819 2004-12-13 Keith Packard <keithp@keithp.com>
821 reviewed by: Owen Taylor <otaylor@redhat.com>
823 * src/fcmatch.c: (FcFontSetSort):
824 I changed FcFontSetSort to respect the generic aliases better
825 in the face of language matching.
827 What I did was to ammend the strict sort order used by FcFontSort so
828 that it 'satisfies' the language specified in the pattern by locating
829 the best matching font supporting each pattern language and then
830 ignores language in the remaining fonts for purposes of matching.
832 So, when asking for 'sans:lang=en', you'll get an English font first,
833 and then the remaining fonts sorted with respect to the 'sans' alias
834 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
836 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
838 reviewed by: Keith Packard <keithp@keithp.com>
840 * fontconfig/fontconfig.h:
843 Configuration changes to request synthetic emboldening of
844 fonts. The actual emboldening code will live in Xft.
846 2004-12-09 John Thacker <thacker@math.cornell.edu>
848 reviewed by: Keith Packard <keithp@keithp.com>
852 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
853 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
854 и), and don't even appear in KOI8-R. (The hypothesis that they
855 don't appear in KOI8-R due to their similarity with Latin I and i is
856 eliminated by their presence in KOI8-U.) I have a couple of fonts
857 with Russian support that don't have the letter.
859 Therefore, 0406 and 0456 should be removed from or commented out of
862 2004-12-06 michael meeks <mmeeks@novell.com>
864 Reviewed by: Keith Packard <keithp@keithp.com>
866 * src/fcinit.c: (FcMemReport):
868 * src/fclist.c: (FcObjectSetAdd):
869 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
870 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
871 * src/fcxml.c: (FcParsePatelt):
872 memoize strings and share a single copy for all uses. Note that
873 this could be improved further by using statically allocated blocks
874 and gluing multiple strings together, but I'm basically lazy.
875 In my environment with 800 font files, I get a savings of about 90KB.
877 2004-12-06 Keith Packard <keithp@keithp.com>
881 * config/Makedefs.in:
886 * doc/fccharset.fncs:
888 * doc/fcconstant.fncs:
890 * doc/fcfontset.fncs:
891 * doc/fcfreetype.fncs:
894 * doc/fcobjectset.fncs:
895 * doc/fcobjecttype.fncs:
896 * doc/fcpattern.fncs:
900 * doc/fontconfig-devel.sgml:
901 * doc/fontconfig-user.sgml:
903 * doc/version.sgml.in:
904 * fc-cache/Makefile.am:
905 * fc-cache/fc-cache.c:
906 * fc-glyphname/Makefile.am:
907 * fc-glyphname/fc-glyphname.c:
908 * fc-glyphname/fcglyphname.tmpl.h:
909 * fc-lang/Makefile.am:
919 * fc-lang/az_ir.orth:
954 * fc-lang/fc-lang.man:
955 * fc-lang/fclang.tmpl.h:
1000 * fc-lang/ku_ir.orth:
1033 * fc-lang/ps_af.orth:
1034 * fc-lang/ps_pk.orth:
1063 * fc-lang/ti_er.orth:
1064 * fc-lang/ti_et.orth:
1090 * fc-lang/zh_cn.orth:
1091 * fc-lang/zh_hk.orth:
1092 * fc-lang/zh_mo.orth:
1093 * fc-lang/zh_sg.orth:
1094 * fc-lang/zh_tw.orth:
1096 * fc-list/Makefile.am:
1097 * fc-list/fc-list.c:
1098 * fc-match/Makefile.am:
1099 * fc-match/fc-match.1:
1100 * fc-match/fc-match.c:
1101 * fontconfig/fcfreetype.h:
1102 * fontconfig/fcprivate.h:
1103 * fontconfig/fontconfig.h:
1124 Change files from ISO-Latin-1 to UTF-8
1126 2004-12-04 Keith Packard <keithp@keithp.com>
1129 Update links to new freedesktop.org locations
1131 Add uninstall-local to get rid of fonts.conf and local.conf if they
1132 match the distributed versions. Fixes 'make distcheck'
1134 2004-12-04 Keith Packard <keithp@keithp.com>
1138 * fontconfig/fontconfig.h:
1139 Updates for version 2.2.97
1141 2004-12-04 Owen Taylor <otaylor@redhat.com>
1143 reviewed by: Keith Packard <keithp@keithp.com>
1145 * fc-cache/fc-cache.c: (main):
1146 Sleep for two seconds before exiting to make sure timestamps
1147 for future changes have distinct mod times in the file system.
1150 Add Punjabi orthography. Bug #1671.
1152 2004-12-04 Keith Packard <keithp@keithp.com>
1155 Just remove the FC_FONTDATE -- it has locale issues and
1156 annoys redhat multi-arch installs. Now that all X fonts are
1157 included without prejudice, the chances of the date being at
1158 all interesting are rather limited. Bug #505.
1160 Add copyright and license
1162 2004-12-04 Keith Packard <keithp@keithp.com>
1165 Change default set of fonts to include all of
1166 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1167 * doc/fontconfig-user.sgml:
1168 Document new <include>directory-name</include> semantics
1170 add <include ignore_missing="yes">conf.d</include>
1172 Add selectfont to ignore bitmap fonts, add comment for
1173 selectfont which accepts bitmap fonts.
1176 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1177 Allow <include> configuration elements to reference directories.
1178 Parse and load all files of the form [0-9]* in sorted order.
1180 2004-12-04 Keith Packard <keithp@keithp.com>
1183 Report command line for $srcdir/configure accurately.
1186 2004-12-04 Keith Packard <keithp@keithp.com>
1188 * src/fcfreetype.c: (FcFreeTypeQuery):
1189 Check for non-empty face->family_name and face->style_name
1190 before using those for the font. Empty names match everything.
1193 2004-12-04 Keith Packard <keithp@keithp.com>
1196 * fontconfig/fontconfig.h:
1197 * src/fcfreetype.c: (FcFreeTypeQuery):
1199 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1200 available. This provides font file format information (BDF, Type 1,
1201 PCF, TrueType) for each font. Closes #109.
1203 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1205 reviewed by: Keith Packard <keithp@keithp.com>
1207 * doc/fontconfig-user.sgml:
1210 * fontconfig/fontconfig.h:
1211 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1212 (GetScriptTags), (FcFontCapabilities):
1214 Add detection for font capabilities (bug #105)
1216 2004-12-04 Keith Packard <keithp@keithp.com>
1219 Move existing fonts.conf to fonts.conf.bak
1222 Add detection of iconv
1224 * doc/fcpattern.fncs:
1225 * doc/fontconfig-devel.sgml:
1226 * doc/fontconfig-user.sgml:
1228 Document new selectfont elements
1231 Switch to UTF-8 in comment
1233 * fontconfig/fontconfig.h:
1235 Add fullname, and family/style/fullname language entries
1237 * src/fccache.c: (FcCacheFontSetAdd):
1238 * src/fcdir.c: (FcFileScanConfig):
1239 Respect selectfont/*/glob
1242 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1243 (FcConfigCompareValue), (FcConfigPatternsAdd),
1244 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1245 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1246 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1247 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1248 Add support for selectfont
1250 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1251 (FcStringInPatternElement), (FcFreeTypeQuery):
1252 Add multi-lingual family/style/fullname support
1254 * src/fclist.c: (FcListPatternMatchAny):
1255 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1257 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1258 (FcObjectStaticName):
1259 Add new FcPatternRemove/FcPatternAppend.
1260 FcObjectStaticName stores computed pattern element names which
1261 are required to be static.
1263 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1268 Remove spurious / after $(DESTDIR)
1270 2004-06-30 Keith Packard <keithp@keithp.com>
1274 * fontconfig/fontconfig.h:
1277 2004-06-30 Keith Packard <keithp@keithp.com>
1279 Provided by: Lubos Lunak <l.lunak@suse.cz>
1281 * src/fccfg.c: (FcConfigUptoDate):
1282 However FcConfigUptoDate() doesn't seem to work. See the attached
1283 patch. First there's an obvious misplaced parenthesis making it
1284 return always false, and second, even this call fails to detect font
1285 changes (e.g. adding a new font to
1286 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1287 well. The problem seems to be triggered by my fonts.conf specifying
1288 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1289 doesn't include subdirs, unlike config->fontDirs.
1291 2004-06-03 Keith Packard <keithp@keithp.com>
1293 * fontconfig/fontconfig.h:
1294 Remove comma at end of FcResult enum definition.
1296 2004-05-29 Keith Packard <keithp@keithp.com>
1299 Add steps to md5sum release
1301 2004-05-29 Keith Packard <keithp@keithp.com>
1305 * fontconfig/fontconfig.h:
1308 2004-05-29 Keith Packard <keithp@keithp.com>
1310 * fontconfig/fontconfig.h:
1311 * src/fcmatch.c: (FcFontSetMatch):
1312 Add FcResultOutOfMemory to provide an accurate error when
1313 FcFontSetMatch fails in this way
1316 Make #warning about lacking various FreeType features indicate
1317 which version those features appeared so users know how to
1318 fix the problem (Thanks to Anton Tropashko)
1320 2004-05-05 Keith Packard <keithp@keithp.com>
1322 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1323 Replace MIN/MAX/ABS macros which happen to have come
1324 from FreeType with fontconfig-specific ones (FC_*)
1326 2004-04-23 Keith Packard <keithp@keithp.com>
1329 Extend release preparation instructions to include
1330 notification and distribution steps
1332 2004-04-23 Keith Packard <keithp@keithp.com>
1336 * fontconfig/fontconfig.h:
1337 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1339 2004-04-23 Keith Packard <keithp@keithp.com>
1342 Ignore a few more autotool files
1344 2004-04-14 Keith Packard <keithp@keithp.com>
1347 Add instructions for doing a release
1349 * fontconfig.spec.in:
1350 clean up .spec file; perhaps this will be useful to somebody...
1354 * fontconfig/fontconfig.h:
1357 * fc-lang/fc-lang.c:
1358 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1360 * fc-glyphname/Makefile.am:
1361 * fc-lang/Makefile.am:
1362 * fc-list/Makefile.am:
1363 * fc-match/Makefile.am:
1365 Add WARN_CFLAGS to pass -W flags for GCC systems
1367 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1368 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1369 Change various char types around to match across
1371 Fixed bug in using available_sizes[i].height which
1372 is in pixels, not 64ths of a pixel.
1374 2004-03-06 Keith Packard <keithp@keithp.com>
1376 * src/fcfreetype.c: (FcFreeTypeQuery):
1377 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1378 matches looking for explicit values prefer exact matches
1380 2004-03-02 Keith Packard <keithp@keithp.com>
1382 Supplied by: mfabian@suse.de (Mike FABIAN)
1384 * src/fcfreetype.c: (FcFreeTypeQuery):
1385 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1386 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1388 2004-02-21 Manish Singh <yosh@gimp.org>
1390 * fc-glyphname/fc-glyphname.c: (main):
1391 Cast strlen to int for printf, so we're 64-bit clean.
1393 2004-02-11 Keith Packard <keithp@keithp.com>
1396 * src/fcfreetype.c: (FcGetPixelSize):
1397 Ok, so I messed up the test for y_ppem. Let's see if I
1398 got it right this time.
1400 2004-02-10 Keith Packard <keithp@keithp.com>
1403 * src/fcfreetype.c: (FcGetPixelSize):
1404 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1405 FT_Bitmap_Size record. Add a configure.in test for this
1406 and change the code accordingly (using height instead).
1408 2004-02-06 Keith Packard <keithp@keithp.com>
1411 Add Low Saxon orthography
1412 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1414 * src/fccfg.c: (FcConfigNewestFile):
1415 Oops. Left 'newest.set' unset, which would miscompute
1418 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1419 (FcFreeTypeCheckGlyph):
1420 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1421 font properties (which report the wrong value in current FreeType)
1423 Don't attempt to check for empty glyphs in non-scalable fonts; they
1426 2004-02-01 Tor Lillqvist <tml@iki.fi>
1428 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1429 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1430 cache if config->cache is NULL, which happens if FcConfigHome() is
1431 NULL. Guard against that by using the temp folder in that case.
1433 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1435 * fc-lang/az_ir.orth:
1436 * fc-lang/ku_ir.orth:
1437 * fc-lang/ps_af.orth:
1438 * fc-lang/ps_pk.orth:
1439 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1440 (Afghan and Pakistani).
1442 Updated Urdu orthography with real data.
1444 2003-12-11 Carl Worth <cworth@east.isi.edu>
1446 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1449 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1451 (all-local): Remove excessive whitespace.
1453 * autogen.sh: Add 'set -e' to abort when any program fails,
1454 (avoids printing of 'now type make' after configure aborts).
1456 2003-11-17 Eric Christopherson <rakko@charter.net>
1458 reviewed by: Keith Packard <keithp@keithp.com>
1461 * fontconfig/fcfreetype.h:
1463 Switch to FreeType 2.1.7 style includes. Bug #150.
1465 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1467 * fc-list/fc-list.sgml: Add some example usages.
1469 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1472 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1475 2003-10-27 Keith Packard <keith@keithp.com>
1478 * fontconfig/fontconfig.h:
1479 Update to version 2.2.92
1481 2003-10-27 Keith Packard <keithp@keithp.com>
1486 * fc-cache/Makefile.am:
1487 * fc-glyphname/Makefile.am:
1488 * fc-lang/Makefile.am:
1489 * fc-list/Makefile.am:
1490 * fc-match/Makefile.am:
1493 Yet more cleanups to finish getting 'make distcheck' working
1494 This has been tested to ensure that it even works from a _build
1497 2003-10-26 Keith Packard <keithp@keithp.com>
1501 * fc-cache/Makefile.am:
1502 * fc-glyphname/Makefile.am:
1503 * fc-lang/Makefile.am:
1504 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1505 * fc-list/Makefile.am:
1506 * fc-match/Makefile.am:
1507 Attempts to fix 'make distcheck' work. Things are
1508 progressing pretty well, but there are still failures
1509 long into the process dealing with docs (as always).
1511 The big changes here are mostly to make $(srcdir) != "."
1512 work correctly, fixing the docbook related sections and
1513 fc-lang were particularily tricky. Docbook refuses to load
1514 system entities from anywhere other than where the original .sgml
1515 file was located, so no luck looking in "." for the
1516 configure-generated version.sgml and confdir.sgml files.
1518 fc-lang needed help finding .orth files; added a -d option
1519 to set the directory as the least evil of many options.
1521 Now to go use a faster machine and try and wring out the last
1524 2003-10-26 Keith Packard <keithp@keithp.com>
1528 2003-10-26 Keith Packard <keithp@keithp.com>
1531 Include confdir.sgml.in in EXTRA_DIST
1533 2003-10-09 Josselin Mouette <joss@debian.org>
1535 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1536 * fc-list/fc-list.sgml fc-list/Makefile.am:
1537 Replace fc-cache and fc-list manpages with more detailed, SGML
1540 2003-09-23 Owen Taylor <otaylor@redhat.com>
1542 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1543 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1544 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1547 2003-09-23 Owen Taylor <otaylor@redhat.com>
1549 * fc-lang/ka.orth: Remove Georgian capitals, they
1550 aren't used for normal writing. (Bug #116)
1552 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1554 * doc/fontconfig-devel.sgml:
1555 * doc/fontconfig-user.sgml:
1556 * fontconfig/fontconfig.h:
1558 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1559 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1561 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1562 monospace and dual-width fonts, allow roughly a 3% variance in the
1565 2003-08-31 Manish Singh <yosh@gimp.org>
1567 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1570 2003-08-15 Carl Worth <cworth@isi.edu>
1572 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1573 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1575 * src/fcpat.c (FcValueListEntDestroy): New function to support
1576 FcFini memory cleanup. Some statistics are not kept in
1578 (FcValueListFreeze): Move hashTable outside this function so it
1579 can be accessed by FcValueListThawAll.
1580 (FcValueListThawAll): New function complements FcValueListFreeze.
1581 (FcPatternBaseFreeze): Move hashTable outside this function so it
1582 can be accessed by FcPatternBaseThawAll.
1583 (FcPatternBaseThawAll): New function complements
1584 FcPatternBaseFreeze.
1585 (FcPatternThawAll): New function complements FcPatternFreeze.
1587 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1589 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1590 allocated FcCharLeafEnt "blocks" so they can be freed later.
1591 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1592 can be accessed by FcCharSetThawAllLeaf.
1593 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1594 (FcCharSetFreezeBase): Move hashTable outside this function so it
1595 can be accessed by FcCharSetThawAll.
1596 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1598 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1599 (FcConfigDestroy): Fic leak of FcBlanks.
1601 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1602 (main): Add call to FcFini when finished.
1604 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1605 static. Add prototypes.
1607 * doc/fcinit.fncs: Add documentation for FcFini function.
1609 * doc/edit-sgml.c: Mark several local functions as static. Add
1612 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1614 2003-06-15 Tor Lillqvist <tml@iki.fi>
1616 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1617 before comparing (needed on Windows).
1619 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1621 2003-06-13 Tor Lillqvist <tml@iki.fi>
1623 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1626 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1627 WINDOWSFONTDIR token.
1629 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1630 end, not to confuse libtool, which expects the EXPORTS line to be
1631 the first. Add FcConfigEnableHome.
1633 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1634 built as a DLL on Win32.
1636 2003-06-09 Keith Packard <keithp@keithp.com>
1638 * Tag version 2.2.90
1640 2003-06-09 Keith Packard <keithp@keithp.com>
1642 * Optimization in FcLangSetIndex was broken, occasionally
1643 returning a pointer to the wrong location on miss
1645 * Add fc-match to test font matching from the command line.
1647 2003-05-31 Keith Packard <keithp@keithp.com>
1649 * (Bug 85) add support for culmus fonts
1650 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1651 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1653 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1655 * Fix "contains" op for strings and langsets.
1657 2003-05-17 Keith Packard <keithp@keithp.com>
1659 * Fix build error with BDF prop local. Free langset after query
1661 2003-05-14 Keith Packard <keithp@keithp.com>
1663 * Extract spacing from XLFD atom
1665 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1667 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1668 disappeared in 1.30.
1670 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1672 2003-05-12 Keith Packard <keithp@keithp.com>
1674 * Use FcIsWidth to share code
1676 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1677 misclassifying some Han fonts as monospaced.
1679 2003-05-07 Keith Packard <keithp@keithp.com>
1681 * Add filename-based accept/reject to ammend available fonts.
1683 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1684 older FreeType releases.
1686 2003-05-06 Keith Packard <keithp@keithp.com>
1688 * Remove 0b82 and Tamil numbers from tamil
1689 orthography (Jungshik Shin <jshin@mailaps.org>)
1691 2003-05-04 Keith Packard <keithp@keithp.com>
1693 + Map glyph names in fonts with adobe custom encoding to unicode
1695 2003-05-02 Keith Packard <keithp@keithp.com>
1697 * Add FC_WEIGHT_BOOK as weight 75
1699 2003-04-30 Keith Packard <keithp@keithp.com>
1701 * Typo in bitstream foundry name
1703 2003-04-24 Keith Packard <keithp@keithp.com>
1705 * Eliminate italic_angle check for PS fonts
1707 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1709 * Getting closer to fixing /etc/fonts hard-coding.
1711 2003-04-22 Keith Packard <keithp@keithp.com>
1713 * Update autogen.sh to work with newer automake versions
1714 * Handle pattern elements moving during multiple edits
1716 2003-04-23 James Henstridge <james@daa.com.au>
1718 * doc/fontconfig-devel.sgml: close the <para> element.
1720 * doc/fcpattern.fncs: close the <para> element.
1722 * doc/func.sgml: close the <refsynopsisdiv> element.
1724 2003-04-22 Keith Packard <keithp@keithp.com
1726 * Update autogen.sh to work with newer automake versions
1727 * Handle pattern elements moving during multiple edits
1729 2003-04-17 Colin Walters <walters@debian.org>
1731 + Remove some unused variables, and initialize some other ones so
1732 gcc doesn't warn us.
1734 2003-04-16 Keith Packard <keithp@keithp.com>
1736 + tag version 2.1.94
1738 2003-04-16 Keith Packard <keithp@keithp.com>
1740 + add BDF property fetching support for foundry
1741 (from Juliusz Chroboczek)
1742 + add BDF property fetching support for width
1744 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1746 + Implemented foundry generation for Type 1 and TrueType
1748 2003-04-11 Gerard Escalante <g2@magestudios.net>
1750 + Retrieve information from Type1 FontInfo dictionaries
1752 2003-04-07 Colin Walters <walters@verbum.org>
1754 + src/Makefile.am: Fix dummy makefile target names when
1755 MS_LIB_AVAILABLE isn't set.
1757 2003-03-22 Tor Lillqvist <tml@iki.fi>
1759 Changes for Windows:
1761 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1763 + We don't want to hardcode the fonts.conf file location in the
1764 DLL, so we look up the DLL location at run-time in a DllMain()
1765 function. The fonts.conf location is deduced from that.
1767 + The colon can't be used as path separator on Windows,
1768 semicolon is used instead. File path components can be separated
1769 with either slash or backslash. Absolute paths can also begin
1770 with a drive letter.
1772 + Add internal function FcStrLastSlash that strrchr's the last
1773 slash, or backslash on Windows.
1775 + There is no link() on Windows. For atomicity checks, mkdir a
1776 lock directory instead.
1778 + In addition to HOME, also look for USERPROFILE.
1780 + Recognize the special font directory token WINDOWSFONTDIR, to
1781 use the system's font directory.
1783 + Remove the fontconfig-def.cpp that was obsolete. Add
1784 fontconfig.def(.in), without internal functions.
1786 + Add a fontconfig-zip(.in) script, used to build a binary
1789 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1790 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1791 to main package and man3/* to devel package
1793 + Added missing defattr(-, root, root) to main RPM package
1795 + Added HTML and text development documentation to -devel subpackage
1797 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1798 + Added back the configure macro options --disable-docs, otherwise
1799 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1800 version number) unconditionally, causing RPM to fail the build due
1801 to _unpackaged_files_terminate_build. We pick up the pregenerated
1802 docs with %doc already.
1804 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1805 + Removed commented out rpm macro define at top of spec file,
1806 replacing it with a simple explanation, since rpm macros are
1807 expanded by rpm even in comments.
1809 + Changed /usr/bin to _bindir in BuildRequires lines
1811 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1813 + Reorganized file manifest lists
1815 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1817 + fontconfig.spec.in: Improvements from Red Hat spec file.
1819 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1821 + docs/*.sgml: SGML fixes.
1823 Sat Mar 1 17:28:53 PST 2003 keithp
1824 + Ok, so the ChangeLog is a bit out of date
1826 + Lots of bugs fixed; most are in bugzilla, the
1827 biggest problems were in cache management where
1828 Owen discovered the library would lose badly when
1829 combining fonts-cache and ~/.fonts-cache data
1831 + Converted from autoconf to automake. This after
1832 getting patches accepted into libtool to allow
1833 the '-version-number' argument which lets
1834 packages set version numbers explicitly rather
1835 than the roundabout libtool way
1837 + Converted documentation to SGML using the docbook
1838 DTD. Now .txt and .html documents are installed
1839 in /usr/share/doc/fontconfig and there's no
1840 man page. Perhaps a man version can be written
1843 Sat Aug 31 15:21:22 PDT 2002 keithp
1844 + Xrender and Xft had several bugs related to
1845 rendering manually placed or poly-face text
1847 + Added more complete memory tracing in fontconfig
1848 Checked with (patched) mozilla and found no leaks
1850 + Updated Latin orthographies by comparing those from
1851 evertype.com with those from eki.ee. Tried to make
1852 sensible choices, including chars that occured in both
1853 and leaving some optional chars out that occured only
1856 Mon Aug 26 16:33:04 PDT 2002 keithp
1857 + Owen discovered that FcLangSetHasLang wasn't actually
1858 checking the language set.
1860 Mon Aug 26 13:37:23 PDT 2002 keithp
1861 + Append a version number to cache filenames
1863 Thu Aug 22 11:36:18 PDT 2002 keithp
1865 + Add "contains" and "not_contains" operators and elements to
1868 + Changed semantics of eq operator for LangSets to check for
1869 FcLangEqual so that any match will do
1871 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1872 of FcValueEqual to check for identical values when inserting into
1873 the results. This broke when the above semantic change was made,
1874 now it uses FcValueEqual which is "more correct" in any case.
1876 Thu Aug 22 00:32:29 PDT 2002 keithp
1878 + Reimplement FC_LANG as new datatype. Lists of strings
1879 was consuming over a megabyte of memory for 401 fonts.
1881 + Freeze patterns loaded from cache files. This shares
1882 common value lists and common patterns which saves
1883 considerable memory.
1885 + Change the denotation of 'constant' charsets to use special
1886 ref value instead of separate boolean.
1888 + Clean up leak tracing stuff, found several unannoted alloc/free
1891 Tue Aug 20 16:17:37 PDT 2002 keithp
1893 + Fix memory leak when parsing matrices from XML
1895 Mon Aug 19 11:57:27 PDT 2002 keithp
1897 + Fix autoconf files to pass FONTCONFIG_PATH on
1898 compile line so that ${prefix} gets substituted
1901 + Use getc_unlocked/putc_unlocked on systems that
1902 provide them to avoid damage done to stdio by posix
1904 + Eliminate FC_PATTERN and FcTypePattern in favor of
1905 an extended api for FcConfigSubstitute which takes
1906 both the font and the pattern.
1908 + Add 'sans serif' alias for 'sans-serif' as some apps
1909 can't handle hyphens in family names
1911 + Eliminate pretense of support for libxml2
1913 + Comment origins of Han orthographies
1915 Tue Jul 30 18:37:09 PDT 2002 keithp
1917 + Add binding property to edit element so that strong
1918 binding values may be inserted by the config file.
1919 The default remains weak.
1921 Sun 28 Jul 04:16:55 PDT 2002 keithp
1923 + Tagged release candidate 1 in the CVS tree and
1924 placed fcpackage.rc1.tar.gz for distribution
1926 Thu Aug 1 08:55:08 PDT 2002 keithp
1928 + Fixed autoconf builds to always specify install
1929 target files (for BSD). Also fixed to
1930 define FONTCONFIG_PATH in config.h so that
1931 nonstandard installs will actually work.