1 2005-03-01 Keith Packard <keithp@keithp.com>
4 Generate and install PDF versions of the manuals
10 Add missing exported functions, fix data types
12 * doc/fontconfig-devel.sgml:
13 Add missing pattern elements.
15 * doc/fontconfig-user.sgml:
16 Add missing pattern elements. Document conf.d usage,
17 clarify available orthography list. Fix some config file
18 attributes. Complete list of constants.
20 * fontconfig/fontconfig.h:
21 Mark FC_SOURCE deprecated.
23 * src/fcfreetype.c: (FcFreeTypeQuery):
24 Don't set FC_SOURCE any longer.
26 2005-02-28 Keith Packard <keithp@keithp.com>
31 * conf.d/no-bitmaps.conf:
32 * conf.d/sub-pixel.conf:
33 * conf.d/yes-bitmaps.conf:
35 Create prototype /etc/fonts/conf.d directory with a few
36 sample configuration files.
37 Deprecate use of local.conf for local customizations in favor of
38 this directory based scheme which is more easily integrated into
42 Tag FC_EMBOLDEN as a boolean variable
44 2005-02-10 Keith Packard <keithp@keithp.com>
46 reviewed by: pborelli@katamail.com
48 * src/fcdir.c: (FcFileScanConfig):
49 Free patterns from fonts which are rejected by configuration
52 2005-01-28 Keith Packard <keithp@keithp.com>
56 * fontconfig/fontconfig.h:
57 Update for version 2.2.99
59 2005-01-28 Keith Packard <keithp@keithp.com>
62 Add a few pointers (#2284, #2285)
64 2005-01-28 Keith Packard <keithp@keithp.com>
67 * src/fcname.c: (FcNameBool):
68 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
69 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
70 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
71 Polite typechecking for test and edit expressions. Helps
72 catch errors in the font configuration. (bug 229)
74 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
76 reviewed by: Keith Packard <keithp@keithp.com>
79 Have --with-expat set EXPAT_CFLAGS (bug 2278)
81 2005-01-13 Keith Packard <keithp@keithp.com>
83 * doc/fontconfig-user.sgml:
84 Add SEE ALSO section (bug 2085)
86 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
88 reviewed by: Keith Packard <keithp@keithp.com>
93 * fc-case/Makefile.am:
94 * fc-glyphname/Makefile.am:
95 * fc-lang/Makefile.am:
96 * src/fontconfig.def.in:
97 Cross compiling fixes (bug 280)
99 2005-01-13 Keith Packard <keithp@keithp.com>
102 Update blanks list (Closes bug 86)
104 2005-01-04 Keith Packard <keithp@keithp.com>
106 * src/fccache.c: (FcCacheFontSetAdd):
107 Verify that every font pattern loaded from cache has
108 both FC_FILE and FC_FAMILY entries.
109 Attempt to fix bug #2219.
111 2004-12-29 Keith Packard <keithp@keithp.com>
115 * fontconfig/fontconfig.h:
116 Update for version 2.2.98
118 2004-12-29 Keith Packard <keithp@keithp.com>
120 * fontconfig/fontconfig.h:
121 Document ASCII limitations of Fc character conversion macros
122 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
123 Fix off-by-one error in utf-8 case walking code.
124 Add FcStrDowncase (useful for testing case conversion functions)
126 2004-12-29 Keith Packard <keithp@keithp.com>
129 * fc-case/.cvsignore:
130 clean up CVS ignore lists
131 * fc-lang/iso-3166.txt:
132 Add territory database
134 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
136 Reviewed by: Keith Packard
139 Remove Han characters from Korean orthography
141 2004-12-29 Keith Packard <keithp@keithp.com>
144 Reorder utility programs to make sure fc-case is run before fc-lang
145 as fc-lang uses fcstr.c which uses fccase.h
149 2004-12-29 Keith Packard <keithp@keithp.com>
152 Adopt some RedHat suggestions for standard font configuration.
156 * fc-case/CaseFolding.txt:
157 * fc-case/Makefile.am:
158 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
159 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
160 (dump), (parseRaw), (caseFoldReadRaw), (main):
161 * fc-case/fccase.tmpl.h:
162 Add new helper program 'fc-case' to construct case folding
163 tables from standard Unicode CaseFolding.txt file
166 * src/fclist.c: (FcListValueHash):
167 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
168 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
169 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
170 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
171 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
172 Re-implement case insensitive functions with Unicode
173 aware versions (including full case folding mappings)
175 2004-12-13 Keith Packard <keithp@keithp.com>
177 reviewed by: Owen Taylor <otaylor@redhat.com>
179 * src/fcmatch.c: (FcFontSetSort):
180 I changed FcFontSetSort to respect the generic aliases better
181 in the face of language matching.
183 What I did was to ammend the strict sort order used by FcFontSort so
184 that it 'satisfies' the language specified in the pattern by locating
185 the best matching font supporting each pattern language and then
186 ignores language in the remaining fonts for purposes of matching.
188 So, when asking for 'sans:lang=en', you'll get an English font first,
189 and then the remaining fonts sorted with respect to the 'sans' alias
190 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
192 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
194 reviewed by: Keith Packard <keithp@keithp.com>
196 * fontconfig/fontconfig.h:
199 Configuration changes to request synthetic emboldening of
200 fonts. The actual emboldening code will live in Xft.
202 2004-12-09 John Thacker <thacker@math.cornell.edu>
204 reviewed by: Keith Packard <keithp@keithp.com>
208 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
209 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
210 и), and don't even appear in KOI8-R. (The hypothesis that they
211 don't appear in KOI8-R due to their similarity with Latin I and i is
212 eliminated by their presence in KOI8-U.) I have a couple of fonts
213 with Russian support that don't have the letter.
215 Therefore, 0406 and 0456 should be removed from or commented out of
218 2004-12-06 michael meeks <mmeeks@novell.com>
220 Reviewed by: Keith Packard <keithp@keithp.com>
222 * src/fcinit.c: (FcMemReport):
224 * src/fclist.c: (FcObjectSetAdd):
225 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
226 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
227 * src/fcxml.c: (FcParsePatelt):
228 memoize strings and share a single copy for all uses. Note that
229 this could be improved further by using statically allocated blocks
230 and gluing multiple strings together, but I'm basically lazy.
231 In my environment with 800 font files, I get a savings of about 90KB.
233 2004-12-06 Keith Packard <keithp@keithp.com>
237 * config/Makedefs.in:
242 * doc/fccharset.fncs:
244 * doc/fcconstant.fncs:
246 * doc/fcfontset.fncs:
247 * doc/fcfreetype.fncs:
250 * doc/fcobjectset.fncs:
251 * doc/fcobjecttype.fncs:
252 * doc/fcpattern.fncs:
256 * doc/fontconfig-devel.sgml:
257 * doc/fontconfig-user.sgml:
259 * doc/version.sgml.in:
260 * fc-cache/Makefile.am:
261 * fc-cache/fc-cache.c:
262 * fc-glyphname/Makefile.am:
263 * fc-glyphname/fc-glyphname.c:
264 * fc-glyphname/fcglyphname.tmpl.h:
265 * fc-lang/Makefile.am:
275 * fc-lang/az_ir.orth:
310 * fc-lang/fc-lang.man:
311 * fc-lang/fclang.tmpl.h:
356 * fc-lang/ku_ir.orth:
389 * fc-lang/ps_af.orth:
390 * fc-lang/ps_pk.orth:
419 * fc-lang/ti_er.orth:
420 * fc-lang/ti_et.orth:
446 * fc-lang/zh_cn.orth:
447 * fc-lang/zh_hk.orth:
448 * fc-lang/zh_mo.orth:
449 * fc-lang/zh_sg.orth:
450 * fc-lang/zh_tw.orth:
452 * fc-list/Makefile.am:
454 * fc-match/Makefile.am:
455 * fc-match/fc-match.1:
456 * fc-match/fc-match.c:
457 * fontconfig/fcfreetype.h:
458 * fontconfig/fcprivate.h:
459 * fontconfig/fontconfig.h:
480 Change files from ISO-Latin-1 to UTF-8
482 2004-12-04 Keith Packard <keithp@keithp.com>
485 Update links to new freedesktop.org locations
487 Add uninstall-local to get rid of fonts.conf and local.conf if they
488 match the distributed versions. Fixes 'make distcheck'
490 2004-12-04 Keith Packard <keithp@keithp.com>
494 * fontconfig/fontconfig.h:
495 Updates for version 2.2.97
497 2004-12-04 Owen Taylor <otaylor@redhat.com>
499 reviewed by: Keith Packard <keithp@keithp.com>
501 * fc-cache/fc-cache.c: (main):
502 Sleep for two seconds before exiting to make sure timestamps
503 for future changes have distinct mod times in the file system.
506 Add Punjabi orthography. Bug #1671.
508 2004-12-04 Keith Packard <keithp@keithp.com>
511 Just remove the FC_FONTDATE -- it has locale issues and
512 annoys redhat multi-arch installs. Now that all X fonts are
513 included without prejudice, the chances of the date being at
514 all interesting are rather limited. Bug #505.
516 Add copyright and license
518 2004-12-04 Keith Packard <keithp@keithp.com>
521 Change default set of fonts to include all of
522 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
523 * doc/fontconfig-user.sgml:
524 Document new <include>directory-name</include> semantics
526 add <include ignore_missing="yes">conf.d</include>
528 Add selectfont to ignore bitmap fonts, add comment for
529 selectfont which accepts bitmap fonts.
532 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
533 Allow <include> configuration elements to reference directories.
534 Parse and load all files of the form [0-9]* in sorted order.
536 2004-12-04 Keith Packard <keithp@keithp.com>
539 Report command line for $srcdir/configure accurately.
542 2004-12-04 Keith Packard <keithp@keithp.com>
544 * src/fcfreetype.c: (FcFreeTypeQuery):
545 Check for non-empty face->family_name and face->style_name
546 before using those for the font. Empty names match everything.
549 2004-12-04 Keith Packard <keithp@keithp.com>
552 * fontconfig/fontconfig.h:
553 * src/fcfreetype.c: (FcFreeTypeQuery):
555 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
556 available. This provides font file format information (BDF, Type 1,
557 PCF, TrueType) for each font. Closes #109.
559 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
561 reviewed by: Keith Packard <keithp@keithp.com>
563 * doc/fontconfig-user.sgml:
566 * fontconfig/fontconfig.h:
567 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
568 (GetScriptTags), (FcFontCapabilities):
570 Add detection for font capabilities (bug #105)
572 2004-12-04 Keith Packard <keithp@keithp.com>
575 Move existing fonts.conf to fonts.conf.bak
578 Add detection of iconv
580 * doc/fcpattern.fncs:
581 * doc/fontconfig-devel.sgml:
582 * doc/fontconfig-user.sgml:
584 Document new selectfont elements
587 Switch to UTF-8 in comment
589 * fontconfig/fontconfig.h:
591 Add fullname, and family/style/fullname language entries
593 * src/fccache.c: (FcCacheFontSetAdd):
594 * src/fcdir.c: (FcFileScanConfig):
595 Respect selectfont/*/glob
598 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
599 (FcConfigCompareValue), (FcConfigPatternsAdd),
600 (FcConfigPatternsMatch), (FcConfigAcceptFont):
601 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
602 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
603 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
604 Add support for selectfont
606 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
607 (FcStringInPatternElement), (FcFreeTypeQuery):
608 Add multi-lingual family/style/fullname support
610 * src/fclist.c: (FcListPatternMatchAny):
611 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
613 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
614 (FcObjectStaticName):
615 Add new FcPatternRemove/FcPatternAppend.
616 FcObjectStaticName stores computed pattern element names which
617 are required to be static.
619 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
624 Remove spurious / after $(DESTDIR)
626 2004-06-30 Keith Packard <keithp@keithp.com>
630 * fontconfig/fontconfig.h:
633 2004-06-30 Keith Packard <keithp@keithp.com>
635 Provided by: Lubos Lunak <l.lunak@suse.cz>
637 * src/fccfg.c: (FcConfigUptoDate):
638 However FcConfigUptoDate() doesn't seem to work. See the attached
639 patch. First there's an obvious misplaced parenthesis making it
640 return always false, and second, even this call fails to detect font
641 changes (e.g. adding a new font to
642 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
643 well. The problem seems to be triggered by my fonts.conf specifying
644 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
645 doesn't include subdirs, unlike config->fontDirs.
647 2004-06-03 Keith Packard <keithp@keithp.com>
649 * fontconfig/fontconfig.h:
650 Remove comma at end of FcResult enum definition.
652 2004-05-29 Keith Packard <keithp@keithp.com>
655 Add steps to md5sum release
657 2004-05-29 Keith Packard <keithp@keithp.com>
661 * fontconfig/fontconfig.h:
664 2004-05-29 Keith Packard <keithp@keithp.com>
666 * fontconfig/fontconfig.h:
667 * src/fcmatch.c: (FcFontSetMatch):
668 Add FcResultOutOfMemory to provide an accurate error when
669 FcFontSetMatch fails in this way
672 Make #warning about lacking various FreeType features indicate
673 which version those features appeared so users know how to
674 fix the problem (Thanks to Anton Tropashko)
676 2004-05-05 Keith Packard <keithp@keithp.com>
678 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
679 Replace MIN/MAX/ABS macros which happen to have come
680 from FreeType with fontconfig-specific ones (FC_*)
682 2004-04-23 Keith Packard <keithp@keithp.com>
685 Extend release preparation instructions to include
686 notification and distribution steps
688 2004-04-23 Keith Packard <keithp@keithp.com>
692 * fontconfig/fontconfig.h:
693 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
695 2004-04-23 Keith Packard <keithp@keithp.com>
698 Ignore a few more autotool files
700 2004-04-14 Keith Packard <keithp@keithp.com>
703 Add instructions for doing a release
705 * fontconfig.spec.in:
706 clean up .spec file; perhaps this will be useful to somebody...
710 * fontconfig/fontconfig.h:
714 Make 'scanopen' static so GCC doesn't whine about lacking prototype
716 * fc-glyphname/Makefile.am:
717 * fc-lang/Makefile.am:
718 * fc-list/Makefile.am:
719 * fc-match/Makefile.am:
721 Add WARN_CFLAGS to pass -W flags for GCC systems
723 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
724 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
725 Change various char types around to match across
727 Fixed bug in using available_sizes[i].height which
728 is in pixels, not 64ths of a pixel.
730 2004-03-06 Keith Packard <keithp@keithp.com>
732 * src/fcfreetype.c: (FcFreeTypeQuery):
733 Force FC_FOUNDRY and FC_WIDTH to always be set so that
734 matches looking for explicit values prefer exact matches
736 2004-03-02 Keith Packard <keithp@keithp.com>
738 Supplied by: mfabian@suse.de (Mike FABIAN)
740 * src/fcfreetype.c: (FcFreeTypeQuery):
741 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
742 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
744 2004-02-21 Manish Singh <yosh@gimp.org>
746 * fc-glyphname/fc-glyphname.c: (main):
747 Cast strlen to int for printf, so we're 64-bit clean.
749 2004-02-11 Keith Packard <keithp@keithp.com>
752 * src/fcfreetype.c: (FcGetPixelSize):
753 Ok, so I messed up the test for y_ppem. Let's see if I
754 got it right this time.
756 2004-02-10 Keith Packard <keithp@keithp.com>
759 * src/fcfreetype.c: (FcGetPixelSize):
760 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
761 FT_Bitmap_Size record. Add a configure.in test for this
762 and change the code accordingly (using height instead).
764 2004-02-06 Keith Packard <keithp@keithp.com>
767 Add Low Saxon orthography
768 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
770 * src/fccfg.c: (FcConfigNewestFile):
771 Oops. Left 'newest.set' unset, which would miscompute
774 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
775 (FcFreeTypeCheckGlyph):
776 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
777 font properties (which report the wrong value in current FreeType)
779 Don't attempt to check for empty glyphs in non-scalable fonts; they
782 2004-02-01 Tor Lillqvist <tml@iki.fi>
784 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
785 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
786 cache if config->cache is NULL, which happens if FcConfigHome() is
787 NULL. Guard against that by using the temp folder in that case.
789 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
791 * fc-lang/az_ir.orth:
792 * fc-lang/ku_ir.orth:
793 * fc-lang/ps_af.orth:
794 * fc-lang/ps_pk.orth:
795 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
796 (Afghan and Pakistani).
798 Updated Urdu orthography with real data.
800 2003-12-11 Carl Worth <cworth@east.isi.edu>
802 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
805 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
807 (all-local): Remove excessive whitespace.
809 * autogen.sh: Add 'set -e' to abort when any program fails,
810 (avoids printing of 'now type make' after configure aborts).
812 2003-11-17 Eric Christopherson <rakko@charter.net>
814 reviewed by: Keith Packard <keithp@keithp.com>
817 * fontconfig/fcfreetype.h:
819 Switch to FreeType 2.1.7 style includes. Bug #150.
821 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
823 * fc-list/fc-list.sgml: Add some example usages.
825 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
828 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
831 2003-10-27 Keith Packard <keith@keithp.com>
834 * fontconfig/fontconfig.h:
835 Update to version 2.2.92
837 2003-10-27 Keith Packard <keithp@keithp.com>
842 * fc-cache/Makefile.am:
843 * fc-glyphname/Makefile.am:
844 * fc-lang/Makefile.am:
845 * fc-list/Makefile.am:
846 * fc-match/Makefile.am:
849 Yet more cleanups to finish getting 'make distcheck' working
850 This has been tested to ensure that it even works from a _build
853 2003-10-26 Keith Packard <keithp@keithp.com>
857 * fc-cache/Makefile.am:
858 * fc-glyphname/Makefile.am:
859 * fc-lang/Makefile.am:
860 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
861 * fc-list/Makefile.am:
862 * fc-match/Makefile.am:
863 Attempts to fix 'make distcheck' work. Things are
864 progressing pretty well, but there are still failures
865 long into the process dealing with docs (as always).
867 The big changes here are mostly to make $(srcdir) != "."
868 work correctly, fixing the docbook related sections and
869 fc-lang were particularily tricky. Docbook refuses to load
870 system entities from anywhere other than where the original .sgml
871 file was located, so no luck looking in "." for the
872 configure-generated version.sgml and confdir.sgml files.
874 fc-lang needed help finding .orth files; added a -d option
875 to set the directory as the least evil of many options.
877 Now to go use a faster machine and try and wring out the last
880 2003-10-26 Keith Packard <keithp@keithp.com>
884 2003-10-26 Keith Packard <keithp@keithp.com>
887 Include confdir.sgml.in in EXTRA_DIST
889 2003-10-09 Josselin Mouette <joss@debian.org>
891 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
892 * fc-list/fc-list.sgml fc-list/Makefile.am:
893 Replace fc-cache and fc-list manpages with more detailed, SGML
896 2003-09-23 Owen Taylor <otaylor@redhat.com>
898 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
899 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
900 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
903 2003-09-23 Owen Taylor <otaylor@redhat.com>
905 * fc-lang/ka.orth: Remove Georgian capitals, they
906 aren't used for normal writing. (Bug #116)
908 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
910 * doc/fontconfig-devel.sgml:
911 * doc/fontconfig-user.sgml:
912 * fontconfig/fontconfig.h:
914 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
915 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
917 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
918 monospace and dual-width fonts, allow roughly a 3% variance in the
921 2003-08-31 Manish Singh <yosh@gimp.org>
923 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
926 2003-08-15 Carl Worth <cworth@isi.edu>
928 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
929 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
931 * src/fcpat.c (FcValueListEntDestroy): New function to support
932 FcFini memory cleanup. Some statistics are not kept in
934 (FcValueListFreeze): Move hashTable outside this function so it
935 can be accessed by FcValueListThawAll.
936 (FcValueListThawAll): New function complements FcValueListFreeze.
937 (FcPatternBaseFreeze): Move hashTable outside this function so it
938 can be accessed by FcPatternBaseThawAll.
939 (FcPatternBaseThawAll): New function complements
941 (FcPatternThawAll): New function complements FcPatternFreeze.
943 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
945 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
946 allocated FcCharLeafEnt "blocks" so they can be freed later.
947 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
948 can be accessed by FcCharSetThawAllLeaf.
949 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
950 (FcCharSetFreezeBase): Move hashTable outside this function so it
951 can be accessed by FcCharSetThawAll.
952 (FcCharSetThawAll): New function complements FcCharSetFreeze.
954 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
955 (FcConfigDestroy): Fic leak of FcBlanks.
957 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
958 (main): Add call to FcFini when finished.
960 * fc-glyphname/fc-glyphname.c: Mark several local functions as
961 static. Add prototypes.
963 * doc/fcinit.fncs: Add documentation for FcFini function.
965 * doc/edit-sgml.c: Mark several local functions as static. Add
968 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
970 2003-06-15 Tor Lillqvist <tml@iki.fi>
972 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
973 before comparing (needed on Windows).
975 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
977 2003-06-13 Tor Lillqvist <tml@iki.fi>
979 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
982 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
983 WINDOWSFONTDIR token.
985 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
986 end, not to confuse libtool, which expects the EXPORTS line to be
987 the first. Add FcConfigEnableHome.
989 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
990 built as a DLL on Win32.
992 2003-06-09 Keith Packard <keithp@keithp.com>
996 2003-06-09 Keith Packard <keithp@keithp.com>
998 * Optimization in FcLangSetIndex was broken, occasionally
999 returning a pointer to the wrong location on miss
1001 * Add fc-match to test font matching from the command line.
1003 2003-05-31 Keith Packard <keithp@keithp.com>
1005 * (Bug 85) add support for culmus fonts
1006 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1007 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1009 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1011 * Fix "contains" op for strings and langsets.
1013 2003-05-17 Keith Packard <keithp@keithp.com>
1015 * Fix build error with BDF prop local. Free langset after query
1017 2003-05-14 Keith Packard <keithp@keithp.com>
1019 * Extract spacing from XLFD atom
1021 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1023 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1024 disappeared in 1.30.
1026 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1028 2003-05-12 Keith Packard <keithp@keithp.com>
1030 * Use FcIsWidth to share code
1032 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1033 misclassifying some Han fonts as monospaced.
1035 2003-05-07 Keith Packard <keithp@keithp.com>
1037 * Add filename-based accept/reject to ammend available fonts.
1039 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1040 older FreeType releases.
1042 2003-05-06 Keith Packard <keithp@keithp.com>
1044 * Remove 0b82 and Tamil numbers from tamil
1045 orthography (Jungshik Shin <jshin@mailaps.org>)
1047 2003-05-04 Keith Packard <keithp@keithp.com>
1049 + Map glyph names in fonts with adobe custom encoding to unicode
1051 2003-05-02 Keith Packard <keithp@keithp.com>
1053 * Add FC_WEIGHT_BOOK as weight 75
1055 2003-04-30 Keith Packard <keithp@keithp.com>
1057 * Typo in bitstream foundry name
1059 2003-04-24 Keith Packard <keithp@keithp.com>
1061 * Eliminate italic_angle check for PS fonts
1063 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1065 * Getting closer to fixing /etc/fonts hard-coding.
1067 2003-04-22 Keith Packard <keithp@keithp.com>
1069 * Update autogen.sh to work with newer automake versions
1070 * Handle pattern elements moving during multiple edits
1072 2003-04-23 James Henstridge <james@daa.com.au>
1074 * doc/fontconfig-devel.sgml: close the <para> element.
1076 * doc/fcpattern.fncs: close the <para> element.
1078 * doc/func.sgml: close the <refsynopsisdiv> element.
1080 2003-04-22 Keith Packard <keithp@keithp.com
1082 * Update autogen.sh to work with newer automake versions
1083 * Handle pattern elements moving during multiple edits
1085 2003-04-17 Colin Walters <walters@debian.org>
1087 + Remove some unused variables, and initialize some other ones so
1088 gcc doesn't warn us.
1090 2003-04-16 Keith Packard <keithp@keithp.com>
1092 + tag version 2.1.94
1094 2003-04-16 Keith Packard <keithp@keithp.com>
1096 + add BDF property fetching support for foundry
1097 (from Juliusz Chroboczek)
1098 + add BDF property fetching support for width
1100 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1102 + Implemented foundry generation for Type 1 and TrueType
1104 2003-04-11 Gerard Escalante <g2@magestudios.net>
1106 + Retrieve information from Type1 FontInfo dictionaries
1108 2003-04-07 Colin Walters <walters@verbum.org>
1110 + src/Makefile.am: Fix dummy makefile target names when
1111 MS_LIB_AVAILABLE isn't set.
1113 2003-03-22 Tor Lillqvist <tml@iki.fi>
1115 Changes for Windows:
1117 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1119 + We don't want to hardcode the fonts.conf file location in the
1120 DLL, so we look up the DLL location at run-time in a DllMain()
1121 function. The fonts.conf location is deduced from that.
1123 + The colon can't be used as path separator on Windows,
1124 semicolon is used instead. File path components can be separated
1125 with either slash or backslash. Absolute paths can also begin
1126 with a drive letter.
1128 + Add internal function FcStrLastSlash that strrchr's the last
1129 slash, or backslash on Windows.
1131 + There is no link() on Windows. For atomicity checks, mkdir a
1132 lock directory instead.
1134 + In addition to HOME, also look for USERPROFILE.
1136 + Recognize the special font directory token WINDOWSFONTDIR, to
1137 use the system's font directory.
1139 + Remove the fontconfig-def.cpp that was obsolete. Add
1140 fontconfig.def(.in), without internal functions.
1142 + Add a fontconfig-zip(.in) script, used to build a binary
1145 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1146 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1147 to main package and man3/* to devel package
1149 + Added missing defattr(-, root, root) to main RPM package
1151 + Added HTML and text development documentation to -devel subpackage
1153 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1154 + Added back the configure macro options --disable-docs, otherwise
1155 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1156 version number) unconditionally, causing RPM to fail the build due
1157 to _unpackaged_files_terminate_build. We pick up the pregenerated
1158 docs with %doc already.
1160 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1161 + Removed commented out rpm macro define at top of spec file,
1162 replacing it with a simple explanation, since rpm macros are
1163 expanded by rpm even in comments.
1165 + Changed /usr/bin to _bindir in BuildRequires lines
1167 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1169 + Reorganized file manifest lists
1171 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1173 + fontconfig.spec.in: Improvements from Red Hat spec file.
1175 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1177 + docs/*.sgml: SGML fixes.
1179 Sat Mar 1 17:28:53 PST 2003 keithp
1180 + Ok, so the ChangeLog is a bit out of date
1182 + Lots of bugs fixed; most are in bugzilla, the
1183 biggest problems were in cache management where
1184 Owen discovered the library would lose badly when
1185 combining fonts-cache and ~/.fonts-cache data
1187 + Converted from autoconf to automake. This after
1188 getting patches accepted into libtool to allow
1189 the '-version-number' argument which lets
1190 packages set version numbers explicitly rather
1191 than the roundabout libtool way
1193 + Converted documentation to SGML using the docbook
1194 DTD. Now .txt and .html documents are installed
1195 in /usr/share/doc/fontconfig and there's no
1196 man page. Perhaps a man version can be written
1199 Sat Aug 31 15:21:22 PDT 2002 keithp
1200 + Xrender and Xft had several bugs related to
1201 rendering manually placed or poly-face text
1203 + Added more complete memory tracing in fontconfig
1204 Checked with (patched) mozilla and found no leaks
1206 + Updated Latin orthographies by comparing those from
1207 evertype.com with those from eki.ee. Tried to make
1208 sensible choices, including chars that occured in both
1209 and leaving some optional chars out that occured only
1212 Mon Aug 26 16:33:04 PDT 2002 keithp
1213 + Owen discovered that FcLangSetHasLang wasn't actually
1214 checking the language set.
1216 Mon Aug 26 13:37:23 PDT 2002 keithp
1217 + Append a version number to cache filenames
1219 Thu Aug 22 11:36:18 PDT 2002 keithp
1221 + Add "contains" and "not_contains" operators and elements to
1224 + Changed semantics of eq operator for LangSets to check for
1225 FcLangEqual so that any match will do
1227 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1228 of FcValueEqual to check for identical values when inserting into
1229 the results. This broke when the above semantic change was made,
1230 now it uses FcValueEqual which is "more correct" in any case.
1232 Thu Aug 22 00:32:29 PDT 2002 keithp
1234 + Reimplement FC_LANG as new datatype. Lists of strings
1235 was consuming over a megabyte of memory for 401 fonts.
1237 + Freeze patterns loaded from cache files. This shares
1238 common value lists and common patterns which saves
1239 considerable memory.
1241 + Change the denotation of 'constant' charsets to use special
1242 ref value instead of separate boolean.
1244 + Clean up leak tracing stuff, found several unannoted alloc/free
1247 Tue Aug 20 16:17:37 PDT 2002 keithp
1249 + Fix memory leak when parsing matrices from XML
1251 Mon Aug 19 11:57:27 PDT 2002 keithp
1253 + Fix autoconf files to pass FONTCONFIG_PATH on
1254 compile line so that ${prefix} gets substituted
1257 + Use getc_unlocked/putc_unlocked on systems that
1258 provide them to avoid damage done to stdio by posix
1260 + Eliminate FC_PATTERN and FcTypePattern in favor of
1261 an extended api for FcConfigSubstitute which takes
1262 both the font and the pattern.
1264 + Add 'sans serif' alias for 'sans-serif' as some apps
1265 can't handle hyphens in family names
1267 + Eliminate pretense of support for libxml2
1269 + Comment origins of Han orthographies
1271 Tue Jul 30 18:37:09 PDT 2002 keithp
1273 + Add binding property to edit element so that strong
1274 binding values may be inserted by the config file.
1275 The default remains weak.
1277 Sun 28 Jul 04:16:55 PDT 2002 keithp
1279 + Tagged release candidate 1 in the CVS tree and
1280 placed fcpackage.rc1.tar.gz for distribution
1282 Thu Aug 1 08:55:08 PDT 2002 keithp
1284 + Fixed autoconf builds to always specify install
1285 target files (for BSD). Also fixed to
1286 define FONTCONFIG_PATH in config.h so that
1287 nonstandard installs will actually work.