1 2005-03-02 Keith Packard <keithp@keithp.com>
6 Ignore more build detritus
9 Add debian package construction stuff.
11 * config/config.guess:
13 Update to newer versions of these tools
16 Get library manuals to build again (we love automake).
18 * debian/README.Debian:
19 * debian/autohint.conf:
24 * debian/fontconfig-udeb.install:
25 * debian/fontconfig.config:
26 * debian/fontconfig.defoma:
27 * debian/fontconfig.dirs:
28 * debian/fontconfig.install:
29 * debian/fontconfig.postinst:
30 * debian/fontconfig.postrm:
31 * debian/fontconfig.templates:
32 * debian/libfontconfig1-dev.install:
33 * debian/libfontconfig1.install:
34 * debian/local.conf.md5sum:
35 * debian/no-sub-pixel.conf:
36 * debian/po/POTFILES.in:
46 * debian/po/templates.pot:
50 * debian/unhinted.conf:
51 Update debian build system to switch maintainers and
52 deal with 2.3 functionality
54 2005-03-01 Keith Packard <keithp@keithp.com>
58 * fontconfig/fontconfig.h:
61 2005-03-01 Keith Packard <keithp@keithp.com>
64 Generate and install PDF versions of the manuals
70 Add missing exported functions, fix data types
72 * doc/fontconfig-devel.sgml:
73 Add missing pattern elements.
75 * doc/fontconfig-user.sgml:
76 Add missing pattern elements. Document conf.d usage,
77 clarify available orthography list. Fix some config file
78 attributes. Complete list of constants.
80 * fontconfig/fontconfig.h:
81 Mark FC_SOURCE deprecated.
83 * src/fcfreetype.c: (FcFreeTypeQuery):
84 Don't set FC_SOURCE any longer.
86 2005-02-28 Keith Packard <keithp@keithp.com>
91 * conf.d/no-bitmaps.conf:
92 * conf.d/sub-pixel.conf:
93 * conf.d/yes-bitmaps.conf:
95 Create prototype /etc/fonts/conf.d directory with a few
96 sample configuration files.
97 Deprecate use of local.conf for local customizations in favor of
98 this directory based scheme which is more easily integrated into
102 Tag FC_EMBOLDEN as a boolean variable
104 2005-02-10 Keith Packard <keithp@keithp.com>
106 reviewed by: pborelli@katamail.com
108 * src/fcdir.c: (FcFileScanConfig):
109 Free patterns from fonts which are rejected by configuration
112 2005-01-28 Keith Packard <keithp@keithp.com>
116 * fontconfig/fontconfig.h:
117 Update for version 2.2.99
119 2005-01-28 Keith Packard <keithp@keithp.com>
122 Add a few pointers (#2284, #2285)
124 2005-01-28 Keith Packard <keithp@keithp.com>
127 * src/fcname.c: (FcNameBool):
128 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
129 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
130 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
131 Polite typechecking for test and edit expressions. Helps
132 catch errors in the font configuration. (bug 229)
134 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
136 reviewed by: Keith Packard <keithp@keithp.com>
139 Have --with-expat set EXPAT_CFLAGS (bug 2278)
141 2005-01-13 Keith Packard <keithp@keithp.com>
143 * doc/fontconfig-user.sgml:
144 Add SEE ALSO section (bug 2085)
146 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
148 reviewed by: Keith Packard <keithp@keithp.com>
153 * fc-case/Makefile.am:
154 * fc-glyphname/Makefile.am:
155 * fc-lang/Makefile.am:
156 * src/fontconfig.def.in:
157 Cross compiling fixes (bug 280)
159 2005-01-13 Keith Packard <keithp@keithp.com>
162 Update blanks list (Closes bug 86)
164 2005-01-04 Keith Packard <keithp@keithp.com>
166 * src/fccache.c: (FcCacheFontSetAdd):
167 Verify that every font pattern loaded from cache has
168 both FC_FILE and FC_FAMILY entries.
169 Attempt to fix bug #2219.
171 2004-12-29 Keith Packard <keithp@keithp.com>
175 * fontconfig/fontconfig.h:
176 Update for version 2.2.98
178 2004-12-29 Keith Packard <keithp@keithp.com>
180 * fontconfig/fontconfig.h:
181 Document ASCII limitations of Fc character conversion macros
182 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
183 Fix off-by-one error in utf-8 case walking code.
184 Add FcStrDowncase (useful for testing case conversion functions)
186 2004-12-29 Keith Packard <keithp@keithp.com>
189 * fc-case/.cvsignore:
190 clean up CVS ignore lists
191 * fc-lang/iso-3166.txt:
192 Add territory database
194 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
196 Reviewed by: Keith Packard
199 Remove Han characters from Korean orthography
201 2004-12-29 Keith Packard <keithp@keithp.com>
204 Reorder utility programs to make sure fc-case is run before fc-lang
205 as fc-lang uses fcstr.c which uses fccase.h
209 2004-12-29 Keith Packard <keithp@keithp.com>
212 Adopt some RedHat suggestions for standard font configuration.
216 * fc-case/CaseFolding.txt:
217 * fc-case/Makefile.am:
218 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
219 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
220 (dump), (parseRaw), (caseFoldReadRaw), (main):
221 * fc-case/fccase.tmpl.h:
222 Add new helper program 'fc-case' to construct case folding
223 tables from standard Unicode CaseFolding.txt file
226 * src/fclist.c: (FcListValueHash):
227 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
228 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
229 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
230 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
231 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
232 Re-implement case insensitive functions with Unicode
233 aware versions (including full case folding mappings)
235 2004-12-13 Keith Packard <keithp@keithp.com>
237 reviewed by: Owen Taylor <otaylor@redhat.com>
239 * src/fcmatch.c: (FcFontSetSort):
240 I changed FcFontSetSort to respect the generic aliases better
241 in the face of language matching.
243 What I did was to ammend the strict sort order used by FcFontSort so
244 that it 'satisfies' the language specified in the pattern by locating
245 the best matching font supporting each pattern language and then
246 ignores language in the remaining fonts for purposes of matching.
248 So, when asking for 'sans:lang=en', you'll get an English font first,
249 and then the remaining fonts sorted with respect to the 'sans' alias
250 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
252 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
254 reviewed by: Keith Packard <keithp@keithp.com>
256 * fontconfig/fontconfig.h:
259 Configuration changes to request synthetic emboldening of
260 fonts. The actual emboldening code will live in Xft.
262 2004-12-09 John Thacker <thacker@math.cornell.edu>
264 reviewed by: Keith Packard <keithp@keithp.com>
268 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
269 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
270 и), and don't even appear in KOI8-R. (The hypothesis that they
271 don't appear in KOI8-R due to their similarity with Latin I and i is
272 eliminated by their presence in KOI8-U.) I have a couple of fonts
273 with Russian support that don't have the letter.
275 Therefore, 0406 and 0456 should be removed from or commented out of
278 2004-12-06 michael meeks <mmeeks@novell.com>
280 Reviewed by: Keith Packard <keithp@keithp.com>
282 * src/fcinit.c: (FcMemReport):
284 * src/fclist.c: (FcObjectSetAdd):
285 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
286 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
287 * src/fcxml.c: (FcParsePatelt):
288 memoize strings and share a single copy for all uses. Note that
289 this could be improved further by using statically allocated blocks
290 and gluing multiple strings together, but I'm basically lazy.
291 In my environment with 800 font files, I get a savings of about 90KB.
293 2004-12-06 Keith Packard <keithp@keithp.com>
297 * config/Makedefs.in:
302 * doc/fccharset.fncs:
304 * doc/fcconstant.fncs:
306 * doc/fcfontset.fncs:
307 * doc/fcfreetype.fncs:
310 * doc/fcobjectset.fncs:
311 * doc/fcobjecttype.fncs:
312 * doc/fcpattern.fncs:
316 * doc/fontconfig-devel.sgml:
317 * doc/fontconfig-user.sgml:
319 * doc/version.sgml.in:
320 * fc-cache/Makefile.am:
321 * fc-cache/fc-cache.c:
322 * fc-glyphname/Makefile.am:
323 * fc-glyphname/fc-glyphname.c:
324 * fc-glyphname/fcglyphname.tmpl.h:
325 * fc-lang/Makefile.am:
335 * fc-lang/az_ir.orth:
370 * fc-lang/fc-lang.man:
371 * fc-lang/fclang.tmpl.h:
416 * fc-lang/ku_ir.orth:
449 * fc-lang/ps_af.orth:
450 * fc-lang/ps_pk.orth:
479 * fc-lang/ti_er.orth:
480 * fc-lang/ti_et.orth:
506 * fc-lang/zh_cn.orth:
507 * fc-lang/zh_hk.orth:
508 * fc-lang/zh_mo.orth:
509 * fc-lang/zh_sg.orth:
510 * fc-lang/zh_tw.orth:
512 * fc-list/Makefile.am:
514 * fc-match/Makefile.am:
515 * fc-match/fc-match.1:
516 * fc-match/fc-match.c:
517 * fontconfig/fcfreetype.h:
518 * fontconfig/fcprivate.h:
519 * fontconfig/fontconfig.h:
540 Change files from ISO-Latin-1 to UTF-8
542 2004-12-04 Keith Packard <keithp@keithp.com>
545 Update links to new freedesktop.org locations
547 Add uninstall-local to get rid of fonts.conf and local.conf if they
548 match the distributed versions. Fixes 'make distcheck'
550 2004-12-04 Keith Packard <keithp@keithp.com>
554 * fontconfig/fontconfig.h:
555 Updates for version 2.2.97
557 2004-12-04 Owen Taylor <otaylor@redhat.com>
559 reviewed by: Keith Packard <keithp@keithp.com>
561 * fc-cache/fc-cache.c: (main):
562 Sleep for two seconds before exiting to make sure timestamps
563 for future changes have distinct mod times in the file system.
566 Add Punjabi orthography. Bug #1671.
568 2004-12-04 Keith Packard <keithp@keithp.com>
571 Just remove the FC_FONTDATE -- it has locale issues and
572 annoys redhat multi-arch installs. Now that all X fonts are
573 included without prejudice, the chances of the date being at
574 all interesting are rather limited. Bug #505.
576 Add copyright and license
578 2004-12-04 Keith Packard <keithp@keithp.com>
581 Change default set of fonts to include all of
582 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
583 * doc/fontconfig-user.sgml:
584 Document new <include>directory-name</include> semantics
586 add <include ignore_missing="yes">conf.d</include>
588 Add selectfont to ignore bitmap fonts, add comment for
589 selectfont which accepts bitmap fonts.
592 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
593 Allow <include> configuration elements to reference directories.
594 Parse and load all files of the form [0-9]* in sorted order.
596 2004-12-04 Keith Packard <keithp@keithp.com>
599 Report command line for $srcdir/configure accurately.
602 2004-12-04 Keith Packard <keithp@keithp.com>
604 * src/fcfreetype.c: (FcFreeTypeQuery):
605 Check for non-empty face->family_name and face->style_name
606 before using those for the font. Empty names match everything.
609 2004-12-04 Keith Packard <keithp@keithp.com>
612 * fontconfig/fontconfig.h:
613 * src/fcfreetype.c: (FcFreeTypeQuery):
615 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
616 available. This provides font file format information (BDF, Type 1,
617 PCF, TrueType) for each font. Closes #109.
619 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
621 reviewed by: Keith Packard <keithp@keithp.com>
623 * doc/fontconfig-user.sgml:
626 * fontconfig/fontconfig.h:
627 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
628 (GetScriptTags), (FcFontCapabilities):
630 Add detection for font capabilities (bug #105)
632 2004-12-04 Keith Packard <keithp@keithp.com>
635 Move existing fonts.conf to fonts.conf.bak
638 Add detection of iconv
640 * doc/fcpattern.fncs:
641 * doc/fontconfig-devel.sgml:
642 * doc/fontconfig-user.sgml:
644 Document new selectfont elements
647 Switch to UTF-8 in comment
649 * fontconfig/fontconfig.h:
651 Add fullname, and family/style/fullname language entries
653 * src/fccache.c: (FcCacheFontSetAdd):
654 * src/fcdir.c: (FcFileScanConfig):
655 Respect selectfont/*/glob
658 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
659 (FcConfigCompareValue), (FcConfigPatternsAdd),
660 (FcConfigPatternsMatch), (FcConfigAcceptFont):
661 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
662 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
663 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
664 Add support for selectfont
666 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
667 (FcStringInPatternElement), (FcFreeTypeQuery):
668 Add multi-lingual family/style/fullname support
670 * src/fclist.c: (FcListPatternMatchAny):
671 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
673 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
674 (FcObjectStaticName):
675 Add new FcPatternRemove/FcPatternAppend.
676 FcObjectStaticName stores computed pattern element names which
677 are required to be static.
679 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
684 Remove spurious / after $(DESTDIR)
686 2004-06-30 Keith Packard <keithp@keithp.com>
690 * fontconfig/fontconfig.h:
693 2004-06-30 Keith Packard <keithp@keithp.com>
695 Provided by: Lubos Lunak <l.lunak@suse.cz>
697 * src/fccfg.c: (FcConfigUptoDate):
698 However FcConfigUptoDate() doesn't seem to work. See the attached
699 patch. First there's an obvious misplaced parenthesis making it
700 return always false, and second, even this call fails to detect font
701 changes (e.g. adding a new font to
702 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
703 well. The problem seems to be triggered by my fonts.conf specifying
704 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
705 doesn't include subdirs, unlike config->fontDirs.
707 2004-06-03 Keith Packard <keithp@keithp.com>
709 * fontconfig/fontconfig.h:
710 Remove comma at end of FcResult enum definition.
712 2004-05-29 Keith Packard <keithp@keithp.com>
715 Add steps to md5sum release
717 2004-05-29 Keith Packard <keithp@keithp.com>
721 * fontconfig/fontconfig.h:
724 2004-05-29 Keith Packard <keithp@keithp.com>
726 * fontconfig/fontconfig.h:
727 * src/fcmatch.c: (FcFontSetMatch):
728 Add FcResultOutOfMemory to provide an accurate error when
729 FcFontSetMatch fails in this way
732 Make #warning about lacking various FreeType features indicate
733 which version those features appeared so users know how to
734 fix the problem (Thanks to Anton Tropashko)
736 2004-05-05 Keith Packard <keithp@keithp.com>
738 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
739 Replace MIN/MAX/ABS macros which happen to have come
740 from FreeType with fontconfig-specific ones (FC_*)
742 2004-04-23 Keith Packard <keithp@keithp.com>
745 Extend release preparation instructions to include
746 notification and distribution steps
748 2004-04-23 Keith Packard <keithp@keithp.com>
752 * fontconfig/fontconfig.h:
753 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
755 2004-04-23 Keith Packard <keithp@keithp.com>
758 Ignore a few more autotool files
760 2004-04-14 Keith Packard <keithp@keithp.com>
763 Add instructions for doing a release
765 * fontconfig.spec.in:
766 clean up .spec file; perhaps this will be useful to somebody...
770 * fontconfig/fontconfig.h:
774 Make 'scanopen' static so GCC doesn't whine about lacking prototype
776 * fc-glyphname/Makefile.am:
777 * fc-lang/Makefile.am:
778 * fc-list/Makefile.am:
779 * fc-match/Makefile.am:
781 Add WARN_CFLAGS to pass -W flags for GCC systems
783 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
784 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
785 Change various char types around to match across
787 Fixed bug in using available_sizes[i].height which
788 is in pixels, not 64ths of a pixel.
790 2004-03-06 Keith Packard <keithp@keithp.com>
792 * src/fcfreetype.c: (FcFreeTypeQuery):
793 Force FC_FOUNDRY and FC_WIDTH to always be set so that
794 matches looking for explicit values prefer exact matches
796 2004-03-02 Keith Packard <keithp@keithp.com>
798 Supplied by: mfabian@suse.de (Mike FABIAN)
800 * src/fcfreetype.c: (FcFreeTypeQuery):
801 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
802 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
804 2004-02-21 Manish Singh <yosh@gimp.org>
806 * fc-glyphname/fc-glyphname.c: (main):
807 Cast strlen to int for printf, so we're 64-bit clean.
809 2004-02-11 Keith Packard <keithp@keithp.com>
812 * src/fcfreetype.c: (FcGetPixelSize):
813 Ok, so I messed up the test for y_ppem. Let's see if I
814 got it right this time.
816 2004-02-10 Keith Packard <keithp@keithp.com>
819 * src/fcfreetype.c: (FcGetPixelSize):
820 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
821 FT_Bitmap_Size record. Add a configure.in test for this
822 and change the code accordingly (using height instead).
824 2004-02-06 Keith Packard <keithp@keithp.com>
827 Add Low Saxon orthography
828 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
830 * src/fccfg.c: (FcConfigNewestFile):
831 Oops. Left 'newest.set' unset, which would miscompute
834 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
835 (FcFreeTypeCheckGlyph):
836 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
837 font properties (which report the wrong value in current FreeType)
839 Don't attempt to check for empty glyphs in non-scalable fonts; they
842 2004-02-01 Tor Lillqvist <tml@iki.fi>
844 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
845 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
846 cache if config->cache is NULL, which happens if FcConfigHome() is
847 NULL. Guard against that by using the temp folder in that case.
849 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
851 * fc-lang/az_ir.orth:
852 * fc-lang/ku_ir.orth:
853 * fc-lang/ps_af.orth:
854 * fc-lang/ps_pk.orth:
855 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
856 (Afghan and Pakistani).
858 Updated Urdu orthography with real data.
860 2003-12-11 Carl Worth <cworth@east.isi.edu>
862 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
865 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
867 (all-local): Remove excessive whitespace.
869 * autogen.sh: Add 'set -e' to abort when any program fails,
870 (avoids printing of 'now type make' after configure aborts).
872 2003-11-17 Eric Christopherson <rakko@charter.net>
874 reviewed by: Keith Packard <keithp@keithp.com>
877 * fontconfig/fcfreetype.h:
879 Switch to FreeType 2.1.7 style includes. Bug #150.
881 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
883 * fc-list/fc-list.sgml: Add some example usages.
885 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
888 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
891 2003-10-27 Keith Packard <keith@keithp.com>
894 * fontconfig/fontconfig.h:
895 Update to version 2.2.92
897 2003-10-27 Keith Packard <keithp@keithp.com>
902 * fc-cache/Makefile.am:
903 * fc-glyphname/Makefile.am:
904 * fc-lang/Makefile.am:
905 * fc-list/Makefile.am:
906 * fc-match/Makefile.am:
909 Yet more cleanups to finish getting 'make distcheck' working
910 This has been tested to ensure that it even works from a _build
913 2003-10-26 Keith Packard <keithp@keithp.com>
917 * fc-cache/Makefile.am:
918 * fc-glyphname/Makefile.am:
919 * fc-lang/Makefile.am:
920 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
921 * fc-list/Makefile.am:
922 * fc-match/Makefile.am:
923 Attempts to fix 'make distcheck' work. Things are
924 progressing pretty well, but there are still failures
925 long into the process dealing with docs (as always).
927 The big changes here are mostly to make $(srcdir) != "."
928 work correctly, fixing the docbook related sections and
929 fc-lang were particularily tricky. Docbook refuses to load
930 system entities from anywhere other than where the original .sgml
931 file was located, so no luck looking in "." for the
932 configure-generated version.sgml and confdir.sgml files.
934 fc-lang needed help finding .orth files; added a -d option
935 to set the directory as the least evil of many options.
937 Now to go use a faster machine and try and wring out the last
940 2003-10-26 Keith Packard <keithp@keithp.com>
944 2003-10-26 Keith Packard <keithp@keithp.com>
947 Include confdir.sgml.in in EXTRA_DIST
949 2003-10-09 Josselin Mouette <joss@debian.org>
951 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
952 * fc-list/fc-list.sgml fc-list/Makefile.am:
953 Replace fc-cache and fc-list manpages with more detailed, SGML
956 2003-09-23 Owen Taylor <otaylor@redhat.com>
958 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
959 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
960 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
963 2003-09-23 Owen Taylor <otaylor@redhat.com>
965 * fc-lang/ka.orth: Remove Georgian capitals, they
966 aren't used for normal writing. (Bug #116)
968 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
970 * doc/fontconfig-devel.sgml:
971 * doc/fontconfig-user.sgml:
972 * fontconfig/fontconfig.h:
974 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
975 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
977 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
978 monospace and dual-width fonts, allow roughly a 3% variance in the
981 2003-08-31 Manish Singh <yosh@gimp.org>
983 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
986 2003-08-15 Carl Worth <cworth@isi.edu>
988 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
989 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
991 * src/fcpat.c (FcValueListEntDestroy): New function to support
992 FcFini memory cleanup. Some statistics are not kept in
994 (FcValueListFreeze): Move hashTable outside this function so it
995 can be accessed by FcValueListThawAll.
996 (FcValueListThawAll): New function complements FcValueListFreeze.
997 (FcPatternBaseFreeze): Move hashTable outside this function so it
998 can be accessed by FcPatternBaseThawAll.
999 (FcPatternBaseThawAll): New function complements
1000 FcPatternBaseFreeze.
1001 (FcPatternThawAll): New function complements FcPatternFreeze.
1003 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1005 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1006 allocated FcCharLeafEnt "blocks" so they can be freed later.
1007 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1008 can be accessed by FcCharSetThawAllLeaf.
1009 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1010 (FcCharSetFreezeBase): Move hashTable outside this function so it
1011 can be accessed by FcCharSetThawAll.
1012 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1014 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1015 (FcConfigDestroy): Fic leak of FcBlanks.
1017 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1018 (main): Add call to FcFini when finished.
1020 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1021 static. Add prototypes.
1023 * doc/fcinit.fncs: Add documentation for FcFini function.
1025 * doc/edit-sgml.c: Mark several local functions as static. Add
1028 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1030 2003-06-15 Tor Lillqvist <tml@iki.fi>
1032 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1033 before comparing (needed on Windows).
1035 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1037 2003-06-13 Tor Lillqvist <tml@iki.fi>
1039 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1042 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1043 WINDOWSFONTDIR token.
1045 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1046 end, not to confuse libtool, which expects the EXPORTS line to be
1047 the first. Add FcConfigEnableHome.
1049 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1050 built as a DLL on Win32.
1052 2003-06-09 Keith Packard <keithp@keithp.com>
1054 * Tag version 2.2.90
1056 2003-06-09 Keith Packard <keithp@keithp.com>
1058 * Optimization in FcLangSetIndex was broken, occasionally
1059 returning a pointer to the wrong location on miss
1061 * Add fc-match to test font matching from the command line.
1063 2003-05-31 Keith Packard <keithp@keithp.com>
1065 * (Bug 85) add support for culmus fonts
1066 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1067 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1069 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1071 * Fix "contains" op for strings and langsets.
1073 2003-05-17 Keith Packard <keithp@keithp.com>
1075 * Fix build error with BDF prop local. Free langset after query
1077 2003-05-14 Keith Packard <keithp@keithp.com>
1079 * Extract spacing from XLFD atom
1081 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1083 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1084 disappeared in 1.30.
1086 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1088 2003-05-12 Keith Packard <keithp@keithp.com>
1090 * Use FcIsWidth to share code
1092 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1093 misclassifying some Han fonts as monospaced.
1095 2003-05-07 Keith Packard <keithp@keithp.com>
1097 * Add filename-based accept/reject to ammend available fonts.
1099 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1100 older FreeType releases.
1102 2003-05-06 Keith Packard <keithp@keithp.com>
1104 * Remove 0b82 and Tamil numbers from tamil
1105 orthography (Jungshik Shin <jshin@mailaps.org>)
1107 2003-05-04 Keith Packard <keithp@keithp.com>
1109 + Map glyph names in fonts with adobe custom encoding to unicode
1111 2003-05-02 Keith Packard <keithp@keithp.com>
1113 * Add FC_WEIGHT_BOOK as weight 75
1115 2003-04-30 Keith Packard <keithp@keithp.com>
1117 * Typo in bitstream foundry name
1119 2003-04-24 Keith Packard <keithp@keithp.com>
1121 * Eliminate italic_angle check for PS fonts
1123 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1125 * Getting closer to fixing /etc/fonts hard-coding.
1127 2003-04-22 Keith Packard <keithp@keithp.com>
1129 * Update autogen.sh to work with newer automake versions
1130 * Handle pattern elements moving during multiple edits
1132 2003-04-23 James Henstridge <james@daa.com.au>
1134 * doc/fontconfig-devel.sgml: close the <para> element.
1136 * doc/fcpattern.fncs: close the <para> element.
1138 * doc/func.sgml: close the <refsynopsisdiv> element.
1140 2003-04-22 Keith Packard <keithp@keithp.com
1142 * Update autogen.sh to work with newer automake versions
1143 * Handle pattern elements moving during multiple edits
1145 2003-04-17 Colin Walters <walters@debian.org>
1147 + Remove some unused variables, and initialize some other ones so
1148 gcc doesn't warn us.
1150 2003-04-16 Keith Packard <keithp@keithp.com>
1152 + tag version 2.1.94
1154 2003-04-16 Keith Packard <keithp@keithp.com>
1156 + add BDF property fetching support for foundry
1157 (from Juliusz Chroboczek)
1158 + add BDF property fetching support for width
1160 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1162 + Implemented foundry generation for Type 1 and TrueType
1164 2003-04-11 Gerard Escalante <g2@magestudios.net>
1166 + Retrieve information from Type1 FontInfo dictionaries
1168 2003-04-07 Colin Walters <walters@verbum.org>
1170 + src/Makefile.am: Fix dummy makefile target names when
1171 MS_LIB_AVAILABLE isn't set.
1173 2003-03-22 Tor Lillqvist <tml@iki.fi>
1175 Changes for Windows:
1177 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1179 + We don't want to hardcode the fonts.conf file location in the
1180 DLL, so we look up the DLL location at run-time in a DllMain()
1181 function. The fonts.conf location is deduced from that.
1183 + The colon can't be used as path separator on Windows,
1184 semicolon is used instead. File path components can be separated
1185 with either slash or backslash. Absolute paths can also begin
1186 with a drive letter.
1188 + Add internal function FcStrLastSlash that strrchr's the last
1189 slash, or backslash on Windows.
1191 + There is no link() on Windows. For atomicity checks, mkdir a
1192 lock directory instead.
1194 + In addition to HOME, also look for USERPROFILE.
1196 + Recognize the special font directory token WINDOWSFONTDIR, to
1197 use the system's font directory.
1199 + Remove the fontconfig-def.cpp that was obsolete. Add
1200 fontconfig.def(.in), without internal functions.
1202 + Add a fontconfig-zip(.in) script, used to build a binary
1205 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1206 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1207 to main package and man3/* to devel package
1209 + Added missing defattr(-, root, root) to main RPM package
1211 + Added HTML and text development documentation to -devel subpackage
1213 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1214 + Added back the configure macro options --disable-docs, otherwise
1215 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1216 version number) unconditionally, causing RPM to fail the build due
1217 to _unpackaged_files_terminate_build. We pick up the pregenerated
1218 docs with %doc already.
1220 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1221 + Removed commented out rpm macro define at top of spec file,
1222 replacing it with a simple explanation, since rpm macros are
1223 expanded by rpm even in comments.
1225 + Changed /usr/bin to _bindir in BuildRequires lines
1227 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1229 + Reorganized file manifest lists
1231 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1233 + fontconfig.spec.in: Improvements from Red Hat spec file.
1235 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1237 + docs/*.sgml: SGML fixes.
1239 Sat Mar 1 17:28:53 PST 2003 keithp
1240 + Ok, so the ChangeLog is a bit out of date
1242 + Lots of bugs fixed; most are in bugzilla, the
1243 biggest problems were in cache management where
1244 Owen discovered the library would lose badly when
1245 combining fonts-cache and ~/.fonts-cache data
1247 + Converted from autoconf to automake. This after
1248 getting patches accepted into libtool to allow
1249 the '-version-number' argument which lets
1250 packages set version numbers explicitly rather
1251 than the roundabout libtool way
1253 + Converted documentation to SGML using the docbook
1254 DTD. Now .txt and .html documents are installed
1255 in /usr/share/doc/fontconfig and there's no
1256 man page. Perhaps a man version can be written
1259 Sat Aug 31 15:21:22 PDT 2002 keithp
1260 + Xrender and Xft had several bugs related to
1261 rendering manually placed or poly-face text
1263 + Added more complete memory tracing in fontconfig
1264 Checked with (patched) mozilla and found no leaks
1266 + Updated Latin orthographies by comparing those from
1267 evertype.com with those from eki.ee. Tried to make
1268 sensible choices, including chars that occured in both
1269 and leaving some optional chars out that occured only
1272 Mon Aug 26 16:33:04 PDT 2002 keithp
1273 + Owen discovered that FcLangSetHasLang wasn't actually
1274 checking the language set.
1276 Mon Aug 26 13:37:23 PDT 2002 keithp
1277 + Append a version number to cache filenames
1279 Thu Aug 22 11:36:18 PDT 2002 keithp
1281 + Add "contains" and "not_contains" operators and elements to
1284 + Changed semantics of eq operator for LangSets to check for
1285 FcLangEqual so that any match will do
1287 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1288 of FcValueEqual to check for identical values when inserting into
1289 the results. This broke when the above semantic change was made,
1290 now it uses FcValueEqual which is "more correct" in any case.
1292 Thu Aug 22 00:32:29 PDT 2002 keithp
1294 + Reimplement FC_LANG as new datatype. Lists of strings
1295 was consuming over a megabyte of memory for 401 fonts.
1297 + Freeze patterns loaded from cache files. This shares
1298 common value lists and common patterns which saves
1299 considerable memory.
1301 + Change the denotation of 'constant' charsets to use special
1302 ref value instead of separate boolean.
1304 + Clean up leak tracing stuff, found several unannoted alloc/free
1307 Tue Aug 20 16:17:37 PDT 2002 keithp
1309 + Fix memory leak when parsing matrices from XML
1311 Mon Aug 19 11:57:27 PDT 2002 keithp
1313 + Fix autoconf files to pass FONTCONFIG_PATH on
1314 compile line so that ${prefix} gets substituted
1317 + Use getc_unlocked/putc_unlocked on systems that
1318 provide them to avoid damage done to stdio by posix
1320 + Eliminate FC_PATTERN and FcTypePattern in favor of
1321 an extended api for FcConfigSubstitute which takes
1322 both the font and the pattern.
1324 + Add 'sans serif' alias for 'sans-serif' as some apps
1325 can't handle hyphens in family names
1327 + Eliminate pretense of support for libxml2
1329 + Comment origins of Han orthographies
1331 Tue Jul 30 18:37:09 PDT 2002 keithp
1333 + Add binding property to edit element so that strong
1334 binding values may be inserted by the config file.
1335 The default remains weak.
1337 Sun 28 Jul 04:16:55 PDT 2002 keithp
1339 + Tagged release candidate 1 in the CVS tree and
1340 placed fcpackage.rc1.tar.gz for distribution
1342 Thu Aug 1 08:55:08 PDT 2002 keithp
1344 + Fixed autoconf builds to always specify install
1345 target files (for BSD). Also fixed to
1346 define FONTCONFIG_PATH in config.h so that
1347 nonstandard installs will actually work.