1 2005-03-05 Keith Packard <keithp@keithp.com>
3 * src/fcfreetype.c: (addtag), (GetScriptTags),
5 Rework GSUB/GPOS script parsing to survive broken fonts.
6 Thanks for the broken font go to Manish Singh
8 2005-03-05 Keith Packard <keithp@keithp.com>
13 * debian/fontconfig.config:
14 * debian/fontconfig.templates:
16 Include 2.3 release information in changelog
17 Add Josselin Mouette as an Uploader
18 Set hinting_type to low priority configuration option
21 * debian/fontconfig.postinst:
22 yes_bitmaps.conf -> yes-bitmaps.conf
28 2005-03-02 Keith Packard <keithp@keithp.com>
32 * conf.d/autohint.conf:
33 * conf.d/no-sub-pixel.conf:
34 * conf.d/sub-pixel.conf:
35 * conf.d/unhinted.conf:
36 * debian/autohint.conf:
37 * debian/fontconfig.install:
38 * debian/fontconfig.postinst:
39 * debian/fontconfig.templates:
40 * debian/no-sub-pixel.conf:
41 * debian/unhinted.conf:
42 Move debian-specific conf file examples upstream.
44 Sub-pixel configuration examples must smash subpixel value
45 as Xft always sets it from X.
47 Change sub-pixel rendering debconf descriptions from
48 Enable/Disable to Always/Never.
50 2005-03-02 Keith Packard <keithp@keithp.com>
55 Ignore more build detritus
58 Add debian package construction stuff.
60 * config/config.guess:
62 Update to newer versions of these tools
65 Get library manuals to build again (we love automake).
67 * debian/README.Debian:
68 * debian/autohint.conf:
73 * debian/fontconfig-udeb.install:
74 * debian/fontconfig.config:
75 * debian/fontconfig.defoma:
76 * debian/fontconfig.dirs:
77 * debian/fontconfig.install:
78 * debian/fontconfig.postinst:
79 * debian/fontconfig.postrm:
80 * debian/fontconfig.templates:
81 * debian/libfontconfig1-dev.install:
82 * debian/libfontconfig1.install:
83 * debian/local.conf.md5sum:
84 * debian/no-sub-pixel.conf:
85 * debian/po/POTFILES.in:
95 * debian/po/templates.pot:
99 * debian/unhinted.conf:
100 Update debian build system to switch maintainers and
101 deal with 2.3 functionality
103 2005-03-01 Keith Packard <keithp@keithp.com>
107 * fontconfig/fontconfig.h:
110 2005-03-01 Keith Packard <keithp@keithp.com>
113 Generate and install PDF versions of the manuals
115 * doc/fcpattern.fncs:
119 Add missing exported functions, fix data types
121 * doc/fontconfig-devel.sgml:
122 Add missing pattern elements.
124 * doc/fontconfig-user.sgml:
125 Add missing pattern elements. Document conf.d usage,
126 clarify available orthography list. Fix some config file
127 attributes. Complete list of constants.
129 * fontconfig/fontconfig.h:
130 Mark FC_SOURCE deprecated.
132 * src/fcfreetype.c: (FcFreeTypeQuery):
133 Don't set FC_SOURCE any longer.
135 2005-02-28 Keith Packard <keithp@keithp.com>
138 * conf.d/Makefile.am:
140 * conf.d/no-bitmaps.conf:
141 * conf.d/sub-pixel.conf:
142 * conf.d/yes-bitmaps.conf:
144 Create prototype /etc/fonts/conf.d directory with a few
145 sample configuration files.
146 Deprecate use of local.conf for local customizations in favor of
147 this directory based scheme which is more easily integrated into
148 installation systems.
151 Tag FC_EMBOLDEN as a boolean variable
153 2005-02-10 Keith Packard <keithp@keithp.com>
155 reviewed by: pborelli@katamail.com
157 * src/fcdir.c: (FcFileScanConfig):
158 Free patterns from fonts which are rejected by configuration
161 2005-01-28 Keith Packard <keithp@keithp.com>
165 * fontconfig/fontconfig.h:
166 Update for version 2.2.99
168 2005-01-28 Keith Packard <keithp@keithp.com>
171 Add a few pointers (#2284, #2285)
173 2005-01-28 Keith Packard <keithp@keithp.com>
176 * src/fcname.c: (FcNameBool):
177 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
178 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
179 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
180 Polite typechecking for test and edit expressions. Helps
181 catch errors in the font configuration. (bug 229)
183 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
185 reviewed by: Keith Packard <keithp@keithp.com>
188 Have --with-expat set EXPAT_CFLAGS (bug 2278)
190 2005-01-13 Keith Packard <keithp@keithp.com>
192 * doc/fontconfig-user.sgml:
193 Add SEE ALSO section (bug 2085)
195 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
197 reviewed by: Keith Packard <keithp@keithp.com>
202 * fc-case/Makefile.am:
203 * fc-glyphname/Makefile.am:
204 * fc-lang/Makefile.am:
205 * src/fontconfig.def.in:
206 Cross compiling fixes (bug 280)
208 2005-01-13 Keith Packard <keithp@keithp.com>
211 Update blanks list (Closes bug 86)
213 2005-01-04 Keith Packard <keithp@keithp.com>
215 * src/fccache.c: (FcCacheFontSetAdd):
216 Verify that every font pattern loaded from cache has
217 both FC_FILE and FC_FAMILY entries.
218 Attempt to fix bug #2219.
220 2004-12-29 Keith Packard <keithp@keithp.com>
224 * fontconfig/fontconfig.h:
225 Update for version 2.2.98
227 2004-12-29 Keith Packard <keithp@keithp.com>
229 * fontconfig/fontconfig.h:
230 Document ASCII limitations of Fc character conversion macros
231 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
232 Fix off-by-one error in utf-8 case walking code.
233 Add FcStrDowncase (useful for testing case conversion functions)
235 2004-12-29 Keith Packard <keithp@keithp.com>
238 * fc-case/.cvsignore:
239 clean up CVS ignore lists
240 * fc-lang/iso-3166.txt:
241 Add territory database
243 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
245 Reviewed by: Keith Packard
248 Remove Han characters from Korean orthography
250 2004-12-29 Keith Packard <keithp@keithp.com>
253 Reorder utility programs to make sure fc-case is run before fc-lang
254 as fc-lang uses fcstr.c which uses fccase.h
258 2004-12-29 Keith Packard <keithp@keithp.com>
261 Adopt some RedHat suggestions for standard font configuration.
265 * fc-case/CaseFolding.txt:
266 * fc-case/Makefile.am:
267 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
268 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
269 (dump), (parseRaw), (caseFoldReadRaw), (main):
270 * fc-case/fccase.tmpl.h:
271 Add new helper program 'fc-case' to construct case folding
272 tables from standard Unicode CaseFolding.txt file
275 * src/fclist.c: (FcListValueHash):
276 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
277 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
278 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
279 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
280 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
281 Re-implement case insensitive functions with Unicode
282 aware versions (including full case folding mappings)
284 2004-12-13 Keith Packard <keithp@keithp.com>
286 reviewed by: Owen Taylor <otaylor@redhat.com>
288 * src/fcmatch.c: (FcFontSetSort):
289 I changed FcFontSetSort to respect the generic aliases better
290 in the face of language matching.
292 What I did was to ammend the strict sort order used by FcFontSort so
293 that it 'satisfies' the language specified in the pattern by locating
294 the best matching font supporting each pattern language and then
295 ignores language in the remaining fonts for purposes of matching.
297 So, when asking for 'sans:lang=en', you'll get an English font first,
298 and then the remaining fonts sorted with respect to the 'sans' alias
299 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
301 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
303 reviewed by: Keith Packard <keithp@keithp.com>
305 * fontconfig/fontconfig.h:
308 Configuration changes to request synthetic emboldening of
309 fonts. The actual emboldening code will live in Xft.
311 2004-12-09 John Thacker <thacker@math.cornell.edu>
313 reviewed by: Keith Packard <keithp@keithp.com>
317 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
318 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
319 и), and don't even appear in KOI8-R. (The hypothesis that they
320 don't appear in KOI8-R due to their similarity with Latin I and i is
321 eliminated by their presence in KOI8-U.) I have a couple of fonts
322 with Russian support that don't have the letter.
324 Therefore, 0406 and 0456 should be removed from or commented out of
327 2004-12-06 michael meeks <mmeeks@novell.com>
329 Reviewed by: Keith Packard <keithp@keithp.com>
331 * src/fcinit.c: (FcMemReport):
333 * src/fclist.c: (FcObjectSetAdd):
334 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
335 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
336 * src/fcxml.c: (FcParsePatelt):
337 memoize strings and share a single copy for all uses. Note that
338 this could be improved further by using statically allocated blocks
339 and gluing multiple strings together, but I'm basically lazy.
340 In my environment with 800 font files, I get a savings of about 90KB.
342 2004-12-06 Keith Packard <keithp@keithp.com>
346 * config/Makedefs.in:
351 * doc/fccharset.fncs:
353 * doc/fcconstant.fncs:
355 * doc/fcfontset.fncs:
356 * doc/fcfreetype.fncs:
359 * doc/fcobjectset.fncs:
360 * doc/fcobjecttype.fncs:
361 * doc/fcpattern.fncs:
365 * doc/fontconfig-devel.sgml:
366 * doc/fontconfig-user.sgml:
368 * doc/version.sgml.in:
369 * fc-cache/Makefile.am:
370 * fc-cache/fc-cache.c:
371 * fc-glyphname/Makefile.am:
372 * fc-glyphname/fc-glyphname.c:
373 * fc-glyphname/fcglyphname.tmpl.h:
374 * fc-lang/Makefile.am:
384 * fc-lang/az_ir.orth:
419 * fc-lang/fc-lang.man:
420 * fc-lang/fclang.tmpl.h:
465 * fc-lang/ku_ir.orth:
498 * fc-lang/ps_af.orth:
499 * fc-lang/ps_pk.orth:
528 * fc-lang/ti_er.orth:
529 * fc-lang/ti_et.orth:
555 * fc-lang/zh_cn.orth:
556 * fc-lang/zh_hk.orth:
557 * fc-lang/zh_mo.orth:
558 * fc-lang/zh_sg.orth:
559 * fc-lang/zh_tw.orth:
561 * fc-list/Makefile.am:
563 * fc-match/Makefile.am:
564 * fc-match/fc-match.1:
565 * fc-match/fc-match.c:
566 * fontconfig/fcfreetype.h:
567 * fontconfig/fcprivate.h:
568 * fontconfig/fontconfig.h:
589 Change files from ISO-Latin-1 to UTF-8
591 2004-12-04 Keith Packard <keithp@keithp.com>
594 Update links to new freedesktop.org locations
596 Add uninstall-local to get rid of fonts.conf and local.conf if they
597 match the distributed versions. Fixes 'make distcheck'
599 2004-12-04 Keith Packard <keithp@keithp.com>
603 * fontconfig/fontconfig.h:
604 Updates for version 2.2.97
606 2004-12-04 Owen Taylor <otaylor@redhat.com>
608 reviewed by: Keith Packard <keithp@keithp.com>
610 * fc-cache/fc-cache.c: (main):
611 Sleep for two seconds before exiting to make sure timestamps
612 for future changes have distinct mod times in the file system.
615 Add Punjabi orthography. Bug #1671.
617 2004-12-04 Keith Packard <keithp@keithp.com>
620 Just remove the FC_FONTDATE -- it has locale issues and
621 annoys redhat multi-arch installs. Now that all X fonts are
622 included without prejudice, the chances of the date being at
623 all interesting are rather limited. Bug #505.
625 Add copyright and license
627 2004-12-04 Keith Packard <keithp@keithp.com>
630 Change default set of fonts to include all of
631 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
632 * doc/fontconfig-user.sgml:
633 Document new <include>directory-name</include> semantics
635 add <include ignore_missing="yes">conf.d</include>
637 Add selectfont to ignore bitmap fonts, add comment for
638 selectfont which accepts bitmap fonts.
641 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
642 Allow <include> configuration elements to reference directories.
643 Parse and load all files of the form [0-9]* in sorted order.
645 2004-12-04 Keith Packard <keithp@keithp.com>
648 Report command line for $srcdir/configure accurately.
651 2004-12-04 Keith Packard <keithp@keithp.com>
653 * src/fcfreetype.c: (FcFreeTypeQuery):
654 Check for non-empty face->family_name and face->style_name
655 before using those for the font. Empty names match everything.
658 2004-12-04 Keith Packard <keithp@keithp.com>
661 * fontconfig/fontconfig.h:
662 * src/fcfreetype.c: (FcFreeTypeQuery):
664 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
665 available. This provides font file format information (BDF, Type 1,
666 PCF, TrueType) for each font. Closes #109.
668 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
670 reviewed by: Keith Packard <keithp@keithp.com>
672 * doc/fontconfig-user.sgml:
675 * fontconfig/fontconfig.h:
676 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
677 (GetScriptTags), (FcFontCapabilities):
679 Add detection for font capabilities (bug #105)
681 2004-12-04 Keith Packard <keithp@keithp.com>
684 Move existing fonts.conf to fonts.conf.bak
687 Add detection of iconv
689 * doc/fcpattern.fncs:
690 * doc/fontconfig-devel.sgml:
691 * doc/fontconfig-user.sgml:
693 Document new selectfont elements
696 Switch to UTF-8 in comment
698 * fontconfig/fontconfig.h:
700 Add fullname, and family/style/fullname language entries
702 * src/fccache.c: (FcCacheFontSetAdd):
703 * src/fcdir.c: (FcFileScanConfig):
704 Respect selectfont/*/glob
707 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
708 (FcConfigCompareValue), (FcConfigPatternsAdd),
709 (FcConfigPatternsMatch), (FcConfigAcceptFont):
710 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
711 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
712 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
713 Add support for selectfont
715 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
716 (FcStringInPatternElement), (FcFreeTypeQuery):
717 Add multi-lingual family/style/fullname support
719 * src/fclist.c: (FcListPatternMatchAny):
720 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
722 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
723 (FcObjectStaticName):
724 Add new FcPatternRemove/FcPatternAppend.
725 FcObjectStaticName stores computed pattern element names which
726 are required to be static.
728 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
733 Remove spurious / after $(DESTDIR)
735 2004-06-30 Keith Packard <keithp@keithp.com>
739 * fontconfig/fontconfig.h:
742 2004-06-30 Keith Packard <keithp@keithp.com>
744 Provided by: Lubos Lunak <l.lunak@suse.cz>
746 * src/fccfg.c: (FcConfigUptoDate):
747 However FcConfigUptoDate() doesn't seem to work. See the attached
748 patch. First there's an obvious misplaced parenthesis making it
749 return always false, and second, even this call fails to detect font
750 changes (e.g. adding a new font to
751 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
752 well. The problem seems to be triggered by my fonts.conf specifying
753 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
754 doesn't include subdirs, unlike config->fontDirs.
756 2004-06-03 Keith Packard <keithp@keithp.com>
758 * fontconfig/fontconfig.h:
759 Remove comma at end of FcResult enum definition.
761 2004-05-29 Keith Packard <keithp@keithp.com>
764 Add steps to md5sum release
766 2004-05-29 Keith Packard <keithp@keithp.com>
770 * fontconfig/fontconfig.h:
773 2004-05-29 Keith Packard <keithp@keithp.com>
775 * fontconfig/fontconfig.h:
776 * src/fcmatch.c: (FcFontSetMatch):
777 Add FcResultOutOfMemory to provide an accurate error when
778 FcFontSetMatch fails in this way
781 Make #warning about lacking various FreeType features indicate
782 which version those features appeared so users know how to
783 fix the problem (Thanks to Anton Tropashko)
785 2004-05-05 Keith Packard <keithp@keithp.com>
787 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
788 Replace MIN/MAX/ABS macros which happen to have come
789 from FreeType with fontconfig-specific ones (FC_*)
791 2004-04-23 Keith Packard <keithp@keithp.com>
794 Extend release preparation instructions to include
795 notification and distribution steps
797 2004-04-23 Keith Packard <keithp@keithp.com>
801 * fontconfig/fontconfig.h:
802 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
804 2004-04-23 Keith Packard <keithp@keithp.com>
807 Ignore a few more autotool files
809 2004-04-14 Keith Packard <keithp@keithp.com>
812 Add instructions for doing a release
814 * fontconfig.spec.in:
815 clean up .spec file; perhaps this will be useful to somebody...
819 * fontconfig/fontconfig.h:
823 Make 'scanopen' static so GCC doesn't whine about lacking prototype
825 * fc-glyphname/Makefile.am:
826 * fc-lang/Makefile.am:
827 * fc-list/Makefile.am:
828 * fc-match/Makefile.am:
830 Add WARN_CFLAGS to pass -W flags for GCC systems
832 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
833 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
834 Change various char types around to match across
836 Fixed bug in using available_sizes[i].height which
837 is in pixels, not 64ths of a pixel.
839 2004-03-06 Keith Packard <keithp@keithp.com>
841 * src/fcfreetype.c: (FcFreeTypeQuery):
842 Force FC_FOUNDRY and FC_WIDTH to always be set so that
843 matches looking for explicit values prefer exact matches
845 2004-03-02 Keith Packard <keithp@keithp.com>
847 Supplied by: mfabian@suse.de (Mike FABIAN)
849 * src/fcfreetype.c: (FcFreeTypeQuery):
850 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
851 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
853 2004-02-21 Manish Singh <yosh@gimp.org>
855 * fc-glyphname/fc-glyphname.c: (main):
856 Cast strlen to int for printf, so we're 64-bit clean.
858 2004-02-11 Keith Packard <keithp@keithp.com>
861 * src/fcfreetype.c: (FcGetPixelSize):
862 Ok, so I messed up the test for y_ppem. Let's see if I
863 got it right this time.
865 2004-02-10 Keith Packard <keithp@keithp.com>
868 * src/fcfreetype.c: (FcGetPixelSize):
869 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
870 FT_Bitmap_Size record. Add a configure.in test for this
871 and change the code accordingly (using height instead).
873 2004-02-06 Keith Packard <keithp@keithp.com>
876 Add Low Saxon orthography
877 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
879 * src/fccfg.c: (FcConfigNewestFile):
880 Oops. Left 'newest.set' unset, which would miscompute
883 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
884 (FcFreeTypeCheckGlyph):
885 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
886 font properties (which report the wrong value in current FreeType)
888 Don't attempt to check for empty glyphs in non-scalable fonts; they
891 2004-02-01 Tor Lillqvist <tml@iki.fi>
893 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
894 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
895 cache if config->cache is NULL, which happens if FcConfigHome() is
896 NULL. Guard against that by using the temp folder in that case.
898 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
900 * fc-lang/az_ir.orth:
901 * fc-lang/ku_ir.orth:
902 * fc-lang/ps_af.orth:
903 * fc-lang/ps_pk.orth:
904 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
905 (Afghan and Pakistani).
907 Updated Urdu orthography with real data.
909 2003-12-11 Carl Worth <cworth@east.isi.edu>
911 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
914 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
916 (all-local): Remove excessive whitespace.
918 * autogen.sh: Add 'set -e' to abort when any program fails,
919 (avoids printing of 'now type make' after configure aborts).
921 2003-11-17 Eric Christopherson <rakko@charter.net>
923 reviewed by: Keith Packard <keithp@keithp.com>
926 * fontconfig/fcfreetype.h:
928 Switch to FreeType 2.1.7 style includes. Bug #150.
930 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
932 * fc-list/fc-list.sgml: Add some example usages.
934 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
937 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
940 2003-10-27 Keith Packard <keith@keithp.com>
943 * fontconfig/fontconfig.h:
944 Update to version 2.2.92
946 2003-10-27 Keith Packard <keithp@keithp.com>
951 * fc-cache/Makefile.am:
952 * fc-glyphname/Makefile.am:
953 * fc-lang/Makefile.am:
954 * fc-list/Makefile.am:
955 * fc-match/Makefile.am:
958 Yet more cleanups to finish getting 'make distcheck' working
959 This has been tested to ensure that it even works from a _build
962 2003-10-26 Keith Packard <keithp@keithp.com>
966 * fc-cache/Makefile.am:
967 * fc-glyphname/Makefile.am:
968 * fc-lang/Makefile.am:
969 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
970 * fc-list/Makefile.am:
971 * fc-match/Makefile.am:
972 Attempts to fix 'make distcheck' work. Things are
973 progressing pretty well, but there are still failures
974 long into the process dealing with docs (as always).
976 The big changes here are mostly to make $(srcdir) != "."
977 work correctly, fixing the docbook related sections and
978 fc-lang were particularily tricky. Docbook refuses to load
979 system entities from anywhere other than where the original .sgml
980 file was located, so no luck looking in "." for the
981 configure-generated version.sgml and confdir.sgml files.
983 fc-lang needed help finding .orth files; added a -d option
984 to set the directory as the least evil of many options.
986 Now to go use a faster machine and try and wring out the last
989 2003-10-26 Keith Packard <keithp@keithp.com>
993 2003-10-26 Keith Packard <keithp@keithp.com>
996 Include confdir.sgml.in in EXTRA_DIST
998 2003-10-09 Josselin Mouette <joss@debian.org>
1000 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1001 * fc-list/fc-list.sgml fc-list/Makefile.am:
1002 Replace fc-cache and fc-list manpages with more detailed, SGML
1005 2003-09-23 Owen Taylor <otaylor@redhat.com>
1007 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1008 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1009 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1012 2003-09-23 Owen Taylor <otaylor@redhat.com>
1014 * fc-lang/ka.orth: Remove Georgian capitals, they
1015 aren't used for normal writing. (Bug #116)
1017 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1019 * doc/fontconfig-devel.sgml:
1020 * doc/fontconfig-user.sgml:
1021 * fontconfig/fontconfig.h:
1023 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1024 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1026 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1027 monospace and dual-width fonts, allow roughly a 3% variance in the
1030 2003-08-31 Manish Singh <yosh@gimp.org>
1032 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1035 2003-08-15 Carl Worth <cworth@isi.edu>
1037 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1038 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1040 * src/fcpat.c (FcValueListEntDestroy): New function to support
1041 FcFini memory cleanup. Some statistics are not kept in
1043 (FcValueListFreeze): Move hashTable outside this function so it
1044 can be accessed by FcValueListThawAll.
1045 (FcValueListThawAll): New function complements FcValueListFreeze.
1046 (FcPatternBaseFreeze): Move hashTable outside this function so it
1047 can be accessed by FcPatternBaseThawAll.
1048 (FcPatternBaseThawAll): New function complements
1049 FcPatternBaseFreeze.
1050 (FcPatternThawAll): New function complements FcPatternFreeze.
1052 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1054 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1055 allocated FcCharLeafEnt "blocks" so they can be freed later.
1056 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1057 can be accessed by FcCharSetThawAllLeaf.
1058 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1059 (FcCharSetFreezeBase): Move hashTable outside this function so it
1060 can be accessed by FcCharSetThawAll.
1061 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1063 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1064 (FcConfigDestroy): Fic leak of FcBlanks.
1066 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1067 (main): Add call to FcFini when finished.
1069 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1070 static. Add prototypes.
1072 * doc/fcinit.fncs: Add documentation for FcFini function.
1074 * doc/edit-sgml.c: Mark several local functions as static. Add
1077 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1079 2003-06-15 Tor Lillqvist <tml@iki.fi>
1081 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1082 before comparing (needed on Windows).
1084 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1086 2003-06-13 Tor Lillqvist <tml@iki.fi>
1088 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1091 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1092 WINDOWSFONTDIR token.
1094 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1095 end, not to confuse libtool, which expects the EXPORTS line to be
1096 the first. Add FcConfigEnableHome.
1098 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1099 built as a DLL on Win32.
1101 2003-06-09 Keith Packard <keithp@keithp.com>
1103 * Tag version 2.2.90
1105 2003-06-09 Keith Packard <keithp@keithp.com>
1107 * Optimization in FcLangSetIndex was broken, occasionally
1108 returning a pointer to the wrong location on miss
1110 * Add fc-match to test font matching from the command line.
1112 2003-05-31 Keith Packard <keithp@keithp.com>
1114 * (Bug 85) add support for culmus fonts
1115 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1116 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1118 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1120 * Fix "contains" op for strings and langsets.
1122 2003-05-17 Keith Packard <keithp@keithp.com>
1124 * Fix build error with BDF prop local. Free langset after query
1126 2003-05-14 Keith Packard <keithp@keithp.com>
1128 * Extract spacing from XLFD atom
1130 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1132 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1133 disappeared in 1.30.
1135 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1137 2003-05-12 Keith Packard <keithp@keithp.com>
1139 * Use FcIsWidth to share code
1141 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1142 misclassifying some Han fonts as monospaced.
1144 2003-05-07 Keith Packard <keithp@keithp.com>
1146 * Add filename-based accept/reject to ammend available fonts.
1148 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1149 older FreeType releases.
1151 2003-05-06 Keith Packard <keithp@keithp.com>
1153 * Remove 0b82 and Tamil numbers from tamil
1154 orthography (Jungshik Shin <jshin@mailaps.org>)
1156 2003-05-04 Keith Packard <keithp@keithp.com>
1158 + Map glyph names in fonts with adobe custom encoding to unicode
1160 2003-05-02 Keith Packard <keithp@keithp.com>
1162 * Add FC_WEIGHT_BOOK as weight 75
1164 2003-04-30 Keith Packard <keithp@keithp.com>
1166 * Typo in bitstream foundry name
1168 2003-04-24 Keith Packard <keithp@keithp.com>
1170 * Eliminate italic_angle check for PS fonts
1172 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1174 * Getting closer to fixing /etc/fonts hard-coding.
1176 2003-04-22 Keith Packard <keithp@keithp.com>
1178 * Update autogen.sh to work with newer automake versions
1179 * Handle pattern elements moving during multiple edits
1181 2003-04-23 James Henstridge <james@daa.com.au>
1183 * doc/fontconfig-devel.sgml: close the <para> element.
1185 * doc/fcpattern.fncs: close the <para> element.
1187 * doc/func.sgml: close the <refsynopsisdiv> element.
1189 2003-04-22 Keith Packard <keithp@keithp.com
1191 * Update autogen.sh to work with newer automake versions
1192 * Handle pattern elements moving during multiple edits
1194 2003-04-17 Colin Walters <walters@debian.org>
1196 + Remove some unused variables, and initialize some other ones so
1197 gcc doesn't warn us.
1199 2003-04-16 Keith Packard <keithp@keithp.com>
1201 + tag version 2.1.94
1203 2003-04-16 Keith Packard <keithp@keithp.com>
1205 + add BDF property fetching support for foundry
1206 (from Juliusz Chroboczek)
1207 + add BDF property fetching support for width
1209 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1211 + Implemented foundry generation for Type 1 and TrueType
1213 2003-04-11 Gerard Escalante <g2@magestudios.net>
1215 + Retrieve information from Type1 FontInfo dictionaries
1217 2003-04-07 Colin Walters <walters@verbum.org>
1219 + src/Makefile.am: Fix dummy makefile target names when
1220 MS_LIB_AVAILABLE isn't set.
1222 2003-03-22 Tor Lillqvist <tml@iki.fi>
1224 Changes for Windows:
1226 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1228 + We don't want to hardcode the fonts.conf file location in the
1229 DLL, so we look up the DLL location at run-time in a DllMain()
1230 function. The fonts.conf location is deduced from that.
1232 + The colon can't be used as path separator on Windows,
1233 semicolon is used instead. File path components can be separated
1234 with either slash or backslash. Absolute paths can also begin
1235 with a drive letter.
1237 + Add internal function FcStrLastSlash that strrchr's the last
1238 slash, or backslash on Windows.
1240 + There is no link() on Windows. For atomicity checks, mkdir a
1241 lock directory instead.
1243 + In addition to HOME, also look for USERPROFILE.
1245 + Recognize the special font directory token WINDOWSFONTDIR, to
1246 use the system's font directory.
1248 + Remove the fontconfig-def.cpp that was obsolete. Add
1249 fontconfig.def(.in), without internal functions.
1251 + Add a fontconfig-zip(.in) script, used to build a binary
1254 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1255 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1256 to main package and man3/* to devel package
1258 + Added missing defattr(-, root, root) to main RPM package
1260 + Added HTML and text development documentation to -devel subpackage
1262 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1263 + Added back the configure macro options --disable-docs, otherwise
1264 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1265 version number) unconditionally, causing RPM to fail the build due
1266 to _unpackaged_files_terminate_build. We pick up the pregenerated
1267 docs with %doc already.
1269 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1270 + Removed commented out rpm macro define at top of spec file,
1271 replacing it with a simple explanation, since rpm macros are
1272 expanded by rpm even in comments.
1274 + Changed /usr/bin to _bindir in BuildRequires lines
1276 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1278 + Reorganized file manifest lists
1280 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1282 + fontconfig.spec.in: Improvements from Red Hat spec file.
1284 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1286 + docs/*.sgml: SGML fixes.
1288 Sat Mar 1 17:28:53 PST 2003 keithp
1289 + Ok, so the ChangeLog is a bit out of date
1291 + Lots of bugs fixed; most are in bugzilla, the
1292 biggest problems were in cache management where
1293 Owen discovered the library would lose badly when
1294 combining fonts-cache and ~/.fonts-cache data
1296 + Converted from autoconf to automake. This after
1297 getting patches accepted into libtool to allow
1298 the '-version-number' argument which lets
1299 packages set version numbers explicitly rather
1300 than the roundabout libtool way
1302 + Converted documentation to SGML using the docbook
1303 DTD. Now .txt and .html documents are installed
1304 in /usr/share/doc/fontconfig and there's no
1305 man page. Perhaps a man version can be written
1308 Sat Aug 31 15:21:22 PDT 2002 keithp
1309 + Xrender and Xft had several bugs related to
1310 rendering manually placed or poly-face text
1312 + Added more complete memory tracing in fontconfig
1313 Checked with (patched) mozilla and found no leaks
1315 + Updated Latin orthographies by comparing those from
1316 evertype.com with those from eki.ee. Tried to make
1317 sensible choices, including chars that occured in both
1318 and leaving some optional chars out that occured only
1321 Mon Aug 26 16:33:04 PDT 2002 keithp
1322 + Owen discovered that FcLangSetHasLang wasn't actually
1323 checking the language set.
1325 Mon Aug 26 13:37:23 PDT 2002 keithp
1326 + Append a version number to cache filenames
1328 Thu Aug 22 11:36:18 PDT 2002 keithp
1330 + Add "contains" and "not_contains" operators and elements to
1333 + Changed semantics of eq operator for LangSets to check for
1334 FcLangEqual so that any match will do
1336 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1337 of FcValueEqual to check for identical values when inserting into
1338 the results. This broke when the above semantic change was made,
1339 now it uses FcValueEqual which is "more correct" in any case.
1341 Thu Aug 22 00:32:29 PDT 2002 keithp
1343 + Reimplement FC_LANG as new datatype. Lists of strings
1344 was consuming over a megabyte of memory for 401 fonts.
1346 + Freeze patterns loaded from cache files. This shares
1347 common value lists and common patterns which saves
1348 considerable memory.
1350 + Change the denotation of 'constant' charsets to use special
1351 ref value instead of separate boolean.
1353 + Clean up leak tracing stuff, found several unannoted alloc/free
1356 Tue Aug 20 16:17:37 PDT 2002 keithp
1358 + Fix memory leak when parsing matrices from XML
1360 Mon Aug 19 11:57:27 PDT 2002 keithp
1362 + Fix autoconf files to pass FONTCONFIG_PATH on
1363 compile line so that ${prefix} gets substituted
1366 + Use getc_unlocked/putc_unlocked on systems that
1367 provide them to avoid damage done to stdio by posix
1369 + Eliminate FC_PATTERN and FcTypePattern in favor of
1370 an extended api for FcConfigSubstitute which takes
1371 both the font and the pattern.
1373 + Add 'sans serif' alias for 'sans-serif' as some apps
1374 can't handle hyphens in family names
1376 + Eliminate pretense of support for libxml2
1378 + Comment origins of Han orthographies
1380 Tue Jul 30 18:37:09 PDT 2002 keithp
1382 + Add binding property to edit element so that strong
1383 binding values may be inserted by the config file.
1384 The default remains weak.
1386 Sun 28 Jul 04:16:55 PDT 2002 keithp
1388 + Tagged release candidate 1 in the CVS tree and
1389 placed fcpackage.rc1.tar.gz for distribution
1391 Thu Aug 1 08:55:08 PDT 2002 keithp
1393 + Fixed autoconf builds to always specify install
1394 target files (for BSD). Also fixed to
1395 define FONTCONFIG_PATH in config.h so that
1396 nonstandard installs will actually work.