1 2005-03-05 Keith Packard <keithp@keithp.com>
3 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
4 Include space and remove numbers from valid script tags.
5 This ensures that tags like 'lao ' work while rejecting
6 those which have any digits.
7 Eliminate a spurious debugging variable (len)
9 2005-03-05 Keith Packard <keithp@keithp.com>
11 * src/fcfreetype.c: (addtag), (GetScriptTags),
13 Rework GSUB/GPOS script parsing to survive broken fonts.
14 Thanks for the broken font go to Manish Singh
16 2005-03-05 Keith Packard <keithp@keithp.com>
21 * debian/fontconfig.config:
22 * debian/fontconfig.templates:
24 Include 2.3 release information in changelog
25 Add Josselin Mouette as an Uploader
26 Set hinting_type to low priority configuration option
29 * debian/fontconfig.postinst:
30 yes_bitmaps.conf -> yes-bitmaps.conf
36 2005-03-02 Keith Packard <keithp@keithp.com>
40 * conf.d/autohint.conf:
41 * conf.d/no-sub-pixel.conf:
42 * conf.d/sub-pixel.conf:
43 * conf.d/unhinted.conf:
44 * debian/autohint.conf:
45 * debian/fontconfig.install:
46 * debian/fontconfig.postinst:
47 * debian/fontconfig.templates:
48 * debian/no-sub-pixel.conf:
49 * debian/unhinted.conf:
50 Move debian-specific conf file examples upstream.
52 Sub-pixel configuration examples must smash subpixel value
53 as Xft always sets it from X.
55 Change sub-pixel rendering debconf descriptions from
56 Enable/Disable to Always/Never.
58 2005-03-02 Keith Packard <keithp@keithp.com>
63 Ignore more build detritus
66 Add debian package construction stuff.
68 * config/config.guess:
70 Update to newer versions of these tools
73 Get library manuals to build again (we love automake).
75 * debian/README.Debian:
76 * debian/autohint.conf:
81 * debian/fontconfig-udeb.install:
82 * debian/fontconfig.config:
83 * debian/fontconfig.defoma:
84 * debian/fontconfig.dirs:
85 * debian/fontconfig.install:
86 * debian/fontconfig.postinst:
87 * debian/fontconfig.postrm:
88 * debian/fontconfig.templates:
89 * debian/libfontconfig1-dev.install:
90 * debian/libfontconfig1.install:
91 * debian/local.conf.md5sum:
92 * debian/no-sub-pixel.conf:
93 * debian/po/POTFILES.in:
102 * debian/po/pt_BR.po:
103 * debian/po/templates.pot:
105 * debian/po/zh_CN.po:
107 * debian/unhinted.conf:
108 Update debian build system to switch maintainers and
109 deal with 2.3 functionality
111 2005-03-01 Keith Packard <keithp@keithp.com>
115 * fontconfig/fontconfig.h:
118 2005-03-01 Keith Packard <keithp@keithp.com>
121 Generate and install PDF versions of the manuals
123 * doc/fcpattern.fncs:
127 Add missing exported functions, fix data types
129 * doc/fontconfig-devel.sgml:
130 Add missing pattern elements.
132 * doc/fontconfig-user.sgml:
133 Add missing pattern elements. Document conf.d usage,
134 clarify available orthography list. Fix some config file
135 attributes. Complete list of constants.
137 * fontconfig/fontconfig.h:
138 Mark FC_SOURCE deprecated.
140 * src/fcfreetype.c: (FcFreeTypeQuery):
141 Don't set FC_SOURCE any longer.
143 2005-02-28 Keith Packard <keithp@keithp.com>
146 * conf.d/Makefile.am:
148 * conf.d/no-bitmaps.conf:
149 * conf.d/sub-pixel.conf:
150 * conf.d/yes-bitmaps.conf:
152 Create prototype /etc/fonts/conf.d directory with a few
153 sample configuration files.
154 Deprecate use of local.conf for local customizations in favor of
155 this directory based scheme which is more easily integrated into
156 installation systems.
159 Tag FC_EMBOLDEN as a boolean variable
161 2005-02-10 Keith Packard <keithp@keithp.com>
163 reviewed by: pborelli@katamail.com
165 * src/fcdir.c: (FcFileScanConfig):
166 Free patterns from fonts which are rejected by configuration
169 2005-01-28 Keith Packard <keithp@keithp.com>
173 * fontconfig/fontconfig.h:
174 Update for version 2.2.99
176 2005-01-28 Keith Packard <keithp@keithp.com>
179 Add a few pointers (#2284, #2285)
181 2005-01-28 Keith Packard <keithp@keithp.com>
184 * src/fcname.c: (FcNameBool):
185 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
186 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
187 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
188 Polite typechecking for test and edit expressions. Helps
189 catch errors in the font configuration. (bug 229)
191 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
193 reviewed by: Keith Packard <keithp@keithp.com>
196 Have --with-expat set EXPAT_CFLAGS (bug 2278)
198 2005-01-13 Keith Packard <keithp@keithp.com>
200 * doc/fontconfig-user.sgml:
201 Add SEE ALSO section (bug 2085)
203 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
205 reviewed by: Keith Packard <keithp@keithp.com>
210 * fc-case/Makefile.am:
211 * fc-glyphname/Makefile.am:
212 * fc-lang/Makefile.am:
213 * src/fontconfig.def.in:
214 Cross compiling fixes (bug 280)
216 2005-01-13 Keith Packard <keithp@keithp.com>
219 Update blanks list (Closes bug 86)
221 2005-01-04 Keith Packard <keithp@keithp.com>
223 * src/fccache.c: (FcCacheFontSetAdd):
224 Verify that every font pattern loaded from cache has
225 both FC_FILE and FC_FAMILY entries.
226 Attempt to fix bug #2219.
228 2004-12-29 Keith Packard <keithp@keithp.com>
232 * fontconfig/fontconfig.h:
233 Update for version 2.2.98
235 2004-12-29 Keith Packard <keithp@keithp.com>
237 * fontconfig/fontconfig.h:
238 Document ASCII limitations of Fc character conversion macros
239 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
240 Fix off-by-one error in utf-8 case walking code.
241 Add FcStrDowncase (useful for testing case conversion functions)
243 2004-12-29 Keith Packard <keithp@keithp.com>
246 * fc-case/.cvsignore:
247 clean up CVS ignore lists
248 * fc-lang/iso-3166.txt:
249 Add territory database
251 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
253 Reviewed by: Keith Packard
256 Remove Han characters from Korean orthography
258 2004-12-29 Keith Packard <keithp@keithp.com>
261 Reorder utility programs to make sure fc-case is run before fc-lang
262 as fc-lang uses fcstr.c which uses fccase.h
266 2004-12-29 Keith Packard <keithp@keithp.com>
269 Adopt some RedHat suggestions for standard font configuration.
273 * fc-case/CaseFolding.txt:
274 * fc-case/Makefile.am:
275 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
276 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
277 (dump), (parseRaw), (caseFoldReadRaw), (main):
278 * fc-case/fccase.tmpl.h:
279 Add new helper program 'fc-case' to construct case folding
280 tables from standard Unicode CaseFolding.txt file
283 * src/fclist.c: (FcListValueHash):
284 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
285 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
286 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
287 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
288 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
289 Re-implement case insensitive functions with Unicode
290 aware versions (including full case folding mappings)
292 2004-12-13 Keith Packard <keithp@keithp.com>
294 reviewed by: Owen Taylor <otaylor@redhat.com>
296 * src/fcmatch.c: (FcFontSetSort):
297 I changed FcFontSetSort to respect the generic aliases better
298 in the face of language matching.
300 What I did was to ammend the strict sort order used by FcFontSort so
301 that it 'satisfies' the language specified in the pattern by locating
302 the best matching font supporting each pattern language and then
303 ignores language in the remaining fonts for purposes of matching.
305 So, when asking for 'sans:lang=en', you'll get an English font first,
306 and then the remaining fonts sorted with respect to the 'sans' alias
307 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
309 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
311 reviewed by: Keith Packard <keithp@keithp.com>
313 * fontconfig/fontconfig.h:
316 Configuration changes to request synthetic emboldening of
317 fonts. The actual emboldening code will live in Xft.
319 2004-12-09 John Thacker <thacker@math.cornell.edu>
321 reviewed by: Keith Packard <keithp@keithp.com>
325 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
326 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
327 и), and don't even appear in KOI8-R. (The hypothesis that they
328 don't appear in KOI8-R due to their similarity with Latin I and i is
329 eliminated by their presence in KOI8-U.) I have a couple of fonts
330 with Russian support that don't have the letter.
332 Therefore, 0406 and 0456 should be removed from or commented out of
335 2004-12-06 michael meeks <mmeeks@novell.com>
337 Reviewed by: Keith Packard <keithp@keithp.com>
339 * src/fcinit.c: (FcMemReport):
341 * src/fclist.c: (FcObjectSetAdd):
342 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
343 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
344 * src/fcxml.c: (FcParsePatelt):
345 memoize strings and share a single copy for all uses. Note that
346 this could be improved further by using statically allocated blocks
347 and gluing multiple strings together, but I'm basically lazy.
348 In my environment with 800 font files, I get a savings of about 90KB.
350 2004-12-06 Keith Packard <keithp@keithp.com>
354 * config/Makedefs.in:
359 * doc/fccharset.fncs:
361 * doc/fcconstant.fncs:
363 * doc/fcfontset.fncs:
364 * doc/fcfreetype.fncs:
367 * doc/fcobjectset.fncs:
368 * doc/fcobjecttype.fncs:
369 * doc/fcpattern.fncs:
373 * doc/fontconfig-devel.sgml:
374 * doc/fontconfig-user.sgml:
376 * doc/version.sgml.in:
377 * fc-cache/Makefile.am:
378 * fc-cache/fc-cache.c:
379 * fc-glyphname/Makefile.am:
380 * fc-glyphname/fc-glyphname.c:
381 * fc-glyphname/fcglyphname.tmpl.h:
382 * fc-lang/Makefile.am:
392 * fc-lang/az_ir.orth:
427 * fc-lang/fc-lang.man:
428 * fc-lang/fclang.tmpl.h:
473 * fc-lang/ku_ir.orth:
506 * fc-lang/ps_af.orth:
507 * fc-lang/ps_pk.orth:
536 * fc-lang/ti_er.orth:
537 * fc-lang/ti_et.orth:
563 * fc-lang/zh_cn.orth:
564 * fc-lang/zh_hk.orth:
565 * fc-lang/zh_mo.orth:
566 * fc-lang/zh_sg.orth:
567 * fc-lang/zh_tw.orth:
569 * fc-list/Makefile.am:
571 * fc-match/Makefile.am:
572 * fc-match/fc-match.1:
573 * fc-match/fc-match.c:
574 * fontconfig/fcfreetype.h:
575 * fontconfig/fcprivate.h:
576 * fontconfig/fontconfig.h:
597 Change files from ISO-Latin-1 to UTF-8
599 2004-12-04 Keith Packard <keithp@keithp.com>
602 Update links to new freedesktop.org locations
604 Add uninstall-local to get rid of fonts.conf and local.conf if they
605 match the distributed versions. Fixes 'make distcheck'
607 2004-12-04 Keith Packard <keithp@keithp.com>
611 * fontconfig/fontconfig.h:
612 Updates for version 2.2.97
614 2004-12-04 Owen Taylor <otaylor@redhat.com>
616 reviewed by: Keith Packard <keithp@keithp.com>
618 * fc-cache/fc-cache.c: (main):
619 Sleep for two seconds before exiting to make sure timestamps
620 for future changes have distinct mod times in the file system.
623 Add Punjabi orthography. Bug #1671.
625 2004-12-04 Keith Packard <keithp@keithp.com>
628 Just remove the FC_FONTDATE -- it has locale issues and
629 annoys redhat multi-arch installs. Now that all X fonts are
630 included without prejudice, the chances of the date being at
631 all interesting are rather limited. Bug #505.
633 Add copyright and license
635 2004-12-04 Keith Packard <keithp@keithp.com>
638 Change default set of fonts to include all of
639 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
640 * doc/fontconfig-user.sgml:
641 Document new <include>directory-name</include> semantics
643 add <include ignore_missing="yes">conf.d</include>
645 Add selectfont to ignore bitmap fonts, add comment for
646 selectfont which accepts bitmap fonts.
649 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
650 Allow <include> configuration elements to reference directories.
651 Parse and load all files of the form [0-9]* in sorted order.
653 2004-12-04 Keith Packard <keithp@keithp.com>
656 Report command line for $srcdir/configure accurately.
659 2004-12-04 Keith Packard <keithp@keithp.com>
661 * src/fcfreetype.c: (FcFreeTypeQuery):
662 Check for non-empty face->family_name and face->style_name
663 before using those for the font. Empty names match everything.
666 2004-12-04 Keith Packard <keithp@keithp.com>
669 * fontconfig/fontconfig.h:
670 * src/fcfreetype.c: (FcFreeTypeQuery):
672 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
673 available. This provides font file format information (BDF, Type 1,
674 PCF, TrueType) for each font. Closes #109.
676 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
678 reviewed by: Keith Packard <keithp@keithp.com>
680 * doc/fontconfig-user.sgml:
683 * fontconfig/fontconfig.h:
684 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
685 (GetScriptTags), (FcFontCapabilities):
687 Add detection for font capabilities (bug #105)
689 2004-12-04 Keith Packard <keithp@keithp.com>
692 Move existing fonts.conf to fonts.conf.bak
695 Add detection of iconv
697 * doc/fcpattern.fncs:
698 * doc/fontconfig-devel.sgml:
699 * doc/fontconfig-user.sgml:
701 Document new selectfont elements
704 Switch to UTF-8 in comment
706 * fontconfig/fontconfig.h:
708 Add fullname, and family/style/fullname language entries
710 * src/fccache.c: (FcCacheFontSetAdd):
711 * src/fcdir.c: (FcFileScanConfig):
712 Respect selectfont/*/glob
715 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
716 (FcConfigCompareValue), (FcConfigPatternsAdd),
717 (FcConfigPatternsMatch), (FcConfigAcceptFont):
718 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
719 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
720 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
721 Add support for selectfont
723 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
724 (FcStringInPatternElement), (FcFreeTypeQuery):
725 Add multi-lingual family/style/fullname support
727 * src/fclist.c: (FcListPatternMatchAny):
728 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
730 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
731 (FcObjectStaticName):
732 Add new FcPatternRemove/FcPatternAppend.
733 FcObjectStaticName stores computed pattern element names which
734 are required to be static.
736 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
741 Remove spurious / after $(DESTDIR)
743 2004-06-30 Keith Packard <keithp@keithp.com>
747 * fontconfig/fontconfig.h:
750 2004-06-30 Keith Packard <keithp@keithp.com>
752 Provided by: Lubos Lunak <l.lunak@suse.cz>
754 * src/fccfg.c: (FcConfigUptoDate):
755 However FcConfigUptoDate() doesn't seem to work. See the attached
756 patch. First there's an obvious misplaced parenthesis making it
757 return always false, and second, even this call fails to detect font
758 changes (e.g. adding a new font to
759 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
760 well. The problem seems to be triggered by my fonts.conf specifying
761 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
762 doesn't include subdirs, unlike config->fontDirs.
764 2004-06-03 Keith Packard <keithp@keithp.com>
766 * fontconfig/fontconfig.h:
767 Remove comma at end of FcResult enum definition.
769 2004-05-29 Keith Packard <keithp@keithp.com>
772 Add steps to md5sum release
774 2004-05-29 Keith Packard <keithp@keithp.com>
778 * fontconfig/fontconfig.h:
781 2004-05-29 Keith Packard <keithp@keithp.com>
783 * fontconfig/fontconfig.h:
784 * src/fcmatch.c: (FcFontSetMatch):
785 Add FcResultOutOfMemory to provide an accurate error when
786 FcFontSetMatch fails in this way
789 Make #warning about lacking various FreeType features indicate
790 which version those features appeared so users know how to
791 fix the problem (Thanks to Anton Tropashko)
793 2004-05-05 Keith Packard <keithp@keithp.com>
795 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
796 Replace MIN/MAX/ABS macros which happen to have come
797 from FreeType with fontconfig-specific ones (FC_*)
799 2004-04-23 Keith Packard <keithp@keithp.com>
802 Extend release preparation instructions to include
803 notification and distribution steps
805 2004-04-23 Keith Packard <keithp@keithp.com>
809 * fontconfig/fontconfig.h:
810 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
812 2004-04-23 Keith Packard <keithp@keithp.com>
815 Ignore a few more autotool files
817 2004-04-14 Keith Packard <keithp@keithp.com>
820 Add instructions for doing a release
822 * fontconfig.spec.in:
823 clean up .spec file; perhaps this will be useful to somebody...
827 * fontconfig/fontconfig.h:
831 Make 'scanopen' static so GCC doesn't whine about lacking prototype
833 * fc-glyphname/Makefile.am:
834 * fc-lang/Makefile.am:
835 * fc-list/Makefile.am:
836 * fc-match/Makefile.am:
838 Add WARN_CFLAGS to pass -W flags for GCC systems
840 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
841 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
842 Change various char types around to match across
844 Fixed bug in using available_sizes[i].height which
845 is in pixels, not 64ths of a pixel.
847 2004-03-06 Keith Packard <keithp@keithp.com>
849 * src/fcfreetype.c: (FcFreeTypeQuery):
850 Force FC_FOUNDRY and FC_WIDTH to always be set so that
851 matches looking for explicit values prefer exact matches
853 2004-03-02 Keith Packard <keithp@keithp.com>
855 Supplied by: mfabian@suse.de (Mike FABIAN)
857 * src/fcfreetype.c: (FcFreeTypeQuery):
858 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
859 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
861 2004-02-21 Manish Singh <yosh@gimp.org>
863 * fc-glyphname/fc-glyphname.c: (main):
864 Cast strlen to int for printf, so we're 64-bit clean.
866 2004-02-11 Keith Packard <keithp@keithp.com>
869 * src/fcfreetype.c: (FcGetPixelSize):
870 Ok, so I messed up the test for y_ppem. Let's see if I
871 got it right this time.
873 2004-02-10 Keith Packard <keithp@keithp.com>
876 * src/fcfreetype.c: (FcGetPixelSize):
877 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
878 FT_Bitmap_Size record. Add a configure.in test for this
879 and change the code accordingly (using height instead).
881 2004-02-06 Keith Packard <keithp@keithp.com>
884 Add Low Saxon orthography
885 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
887 * src/fccfg.c: (FcConfigNewestFile):
888 Oops. Left 'newest.set' unset, which would miscompute
891 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
892 (FcFreeTypeCheckGlyph):
893 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
894 font properties (which report the wrong value in current FreeType)
896 Don't attempt to check for empty glyphs in non-scalable fonts; they
899 2004-02-01 Tor Lillqvist <tml@iki.fi>
901 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
902 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
903 cache if config->cache is NULL, which happens if FcConfigHome() is
904 NULL. Guard against that by using the temp folder in that case.
906 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
908 * fc-lang/az_ir.orth:
909 * fc-lang/ku_ir.orth:
910 * fc-lang/ps_af.orth:
911 * fc-lang/ps_pk.orth:
912 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
913 (Afghan and Pakistani).
915 Updated Urdu orthography with real data.
917 2003-12-11 Carl Worth <cworth@east.isi.edu>
919 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
922 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
924 (all-local): Remove excessive whitespace.
926 * autogen.sh: Add 'set -e' to abort when any program fails,
927 (avoids printing of 'now type make' after configure aborts).
929 2003-11-17 Eric Christopherson <rakko@charter.net>
931 reviewed by: Keith Packard <keithp@keithp.com>
934 * fontconfig/fcfreetype.h:
936 Switch to FreeType 2.1.7 style includes. Bug #150.
938 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
940 * fc-list/fc-list.sgml: Add some example usages.
942 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
945 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
948 2003-10-27 Keith Packard <keith@keithp.com>
951 * fontconfig/fontconfig.h:
952 Update to version 2.2.92
954 2003-10-27 Keith Packard <keithp@keithp.com>
959 * fc-cache/Makefile.am:
960 * fc-glyphname/Makefile.am:
961 * fc-lang/Makefile.am:
962 * fc-list/Makefile.am:
963 * fc-match/Makefile.am:
966 Yet more cleanups to finish getting 'make distcheck' working
967 This has been tested to ensure that it even works from a _build
970 2003-10-26 Keith Packard <keithp@keithp.com>
974 * fc-cache/Makefile.am:
975 * fc-glyphname/Makefile.am:
976 * fc-lang/Makefile.am:
977 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
978 * fc-list/Makefile.am:
979 * fc-match/Makefile.am:
980 Attempts to fix 'make distcheck' work. Things are
981 progressing pretty well, but there are still failures
982 long into the process dealing with docs (as always).
984 The big changes here are mostly to make $(srcdir) != "."
985 work correctly, fixing the docbook related sections and
986 fc-lang were particularily tricky. Docbook refuses to load
987 system entities from anywhere other than where the original .sgml
988 file was located, so no luck looking in "." for the
989 configure-generated version.sgml and confdir.sgml files.
991 fc-lang needed help finding .orth files; added a -d option
992 to set the directory as the least evil of many options.
994 Now to go use a faster machine and try and wring out the last
997 2003-10-26 Keith Packard <keithp@keithp.com>
1001 2003-10-26 Keith Packard <keithp@keithp.com>
1004 Include confdir.sgml.in in EXTRA_DIST
1006 2003-10-09 Josselin Mouette <joss@debian.org>
1008 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1009 * fc-list/fc-list.sgml fc-list/Makefile.am:
1010 Replace fc-cache and fc-list manpages with more detailed, SGML
1013 2003-09-23 Owen Taylor <otaylor@redhat.com>
1015 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1016 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1017 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1020 2003-09-23 Owen Taylor <otaylor@redhat.com>
1022 * fc-lang/ka.orth: Remove Georgian capitals, they
1023 aren't used for normal writing. (Bug #116)
1025 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1027 * doc/fontconfig-devel.sgml:
1028 * doc/fontconfig-user.sgml:
1029 * fontconfig/fontconfig.h:
1031 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1032 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1034 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1035 monospace and dual-width fonts, allow roughly a 3% variance in the
1038 2003-08-31 Manish Singh <yosh@gimp.org>
1040 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1043 2003-08-15 Carl Worth <cworth@isi.edu>
1045 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1046 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1048 * src/fcpat.c (FcValueListEntDestroy): New function to support
1049 FcFini memory cleanup. Some statistics are not kept in
1051 (FcValueListFreeze): Move hashTable outside this function so it
1052 can be accessed by FcValueListThawAll.
1053 (FcValueListThawAll): New function complements FcValueListFreeze.
1054 (FcPatternBaseFreeze): Move hashTable outside this function so it
1055 can be accessed by FcPatternBaseThawAll.
1056 (FcPatternBaseThawAll): New function complements
1057 FcPatternBaseFreeze.
1058 (FcPatternThawAll): New function complements FcPatternFreeze.
1060 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1062 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1063 allocated FcCharLeafEnt "blocks" so they can be freed later.
1064 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1065 can be accessed by FcCharSetThawAllLeaf.
1066 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1067 (FcCharSetFreezeBase): Move hashTable outside this function so it
1068 can be accessed by FcCharSetThawAll.
1069 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1071 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1072 (FcConfigDestroy): Fic leak of FcBlanks.
1074 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1075 (main): Add call to FcFini when finished.
1077 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1078 static. Add prototypes.
1080 * doc/fcinit.fncs: Add documentation for FcFini function.
1082 * doc/edit-sgml.c: Mark several local functions as static. Add
1085 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1087 2003-06-15 Tor Lillqvist <tml@iki.fi>
1089 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1090 before comparing (needed on Windows).
1092 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1094 2003-06-13 Tor Lillqvist <tml@iki.fi>
1096 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1099 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1100 WINDOWSFONTDIR token.
1102 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1103 end, not to confuse libtool, which expects the EXPORTS line to be
1104 the first. Add FcConfigEnableHome.
1106 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1107 built as a DLL on Win32.
1109 2003-06-09 Keith Packard <keithp@keithp.com>
1111 * Tag version 2.2.90
1113 2003-06-09 Keith Packard <keithp@keithp.com>
1115 * Optimization in FcLangSetIndex was broken, occasionally
1116 returning a pointer to the wrong location on miss
1118 * Add fc-match to test font matching from the command line.
1120 2003-05-31 Keith Packard <keithp@keithp.com>
1122 * (Bug 85) add support for culmus fonts
1123 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1124 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1126 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1128 * Fix "contains" op for strings and langsets.
1130 2003-05-17 Keith Packard <keithp@keithp.com>
1132 * Fix build error with BDF prop local. Free langset after query
1134 2003-05-14 Keith Packard <keithp@keithp.com>
1136 * Extract spacing from XLFD atom
1138 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1140 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1141 disappeared in 1.30.
1143 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1145 2003-05-12 Keith Packard <keithp@keithp.com>
1147 * Use FcIsWidth to share code
1149 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1150 misclassifying some Han fonts as monospaced.
1152 2003-05-07 Keith Packard <keithp@keithp.com>
1154 * Add filename-based accept/reject to ammend available fonts.
1156 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1157 older FreeType releases.
1159 2003-05-06 Keith Packard <keithp@keithp.com>
1161 * Remove 0b82 and Tamil numbers from tamil
1162 orthography (Jungshik Shin <jshin@mailaps.org>)
1164 2003-05-04 Keith Packard <keithp@keithp.com>
1166 + Map glyph names in fonts with adobe custom encoding to unicode
1168 2003-05-02 Keith Packard <keithp@keithp.com>
1170 * Add FC_WEIGHT_BOOK as weight 75
1172 2003-04-30 Keith Packard <keithp@keithp.com>
1174 * Typo in bitstream foundry name
1176 2003-04-24 Keith Packard <keithp@keithp.com>
1178 * Eliminate italic_angle check for PS fonts
1180 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1182 * Getting closer to fixing /etc/fonts hard-coding.
1184 2003-04-22 Keith Packard <keithp@keithp.com>
1186 * Update autogen.sh to work with newer automake versions
1187 * Handle pattern elements moving during multiple edits
1189 2003-04-23 James Henstridge <james@daa.com.au>
1191 * doc/fontconfig-devel.sgml: close the <para> element.
1193 * doc/fcpattern.fncs: close the <para> element.
1195 * doc/func.sgml: close the <refsynopsisdiv> element.
1197 2003-04-22 Keith Packard <keithp@keithp.com
1199 * Update autogen.sh to work with newer automake versions
1200 * Handle pattern elements moving during multiple edits
1202 2003-04-17 Colin Walters <walters@debian.org>
1204 + Remove some unused variables, and initialize some other ones so
1205 gcc doesn't warn us.
1207 2003-04-16 Keith Packard <keithp@keithp.com>
1209 + tag version 2.1.94
1211 2003-04-16 Keith Packard <keithp@keithp.com>
1213 + add BDF property fetching support for foundry
1214 (from Juliusz Chroboczek)
1215 + add BDF property fetching support for width
1217 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1219 + Implemented foundry generation for Type 1 and TrueType
1221 2003-04-11 Gerard Escalante <g2@magestudios.net>
1223 + Retrieve information from Type1 FontInfo dictionaries
1225 2003-04-07 Colin Walters <walters@verbum.org>
1227 + src/Makefile.am: Fix dummy makefile target names when
1228 MS_LIB_AVAILABLE isn't set.
1230 2003-03-22 Tor Lillqvist <tml@iki.fi>
1232 Changes for Windows:
1234 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1236 + We don't want to hardcode the fonts.conf file location in the
1237 DLL, so we look up the DLL location at run-time in a DllMain()
1238 function. The fonts.conf location is deduced from that.
1240 + The colon can't be used as path separator on Windows,
1241 semicolon is used instead. File path components can be separated
1242 with either slash or backslash. Absolute paths can also begin
1243 with a drive letter.
1245 + Add internal function FcStrLastSlash that strrchr's the last
1246 slash, or backslash on Windows.
1248 + There is no link() on Windows. For atomicity checks, mkdir a
1249 lock directory instead.
1251 + In addition to HOME, also look for USERPROFILE.
1253 + Recognize the special font directory token WINDOWSFONTDIR, to
1254 use the system's font directory.
1256 + Remove the fontconfig-def.cpp that was obsolete. Add
1257 fontconfig.def(.in), without internal functions.
1259 + Add a fontconfig-zip(.in) script, used to build a binary
1262 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1263 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1264 to main package and man3/* to devel package
1266 + Added missing defattr(-, root, root) to main RPM package
1268 + Added HTML and text development documentation to -devel subpackage
1270 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1271 + Added back the configure macro options --disable-docs, otherwise
1272 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1273 version number) unconditionally, causing RPM to fail the build due
1274 to _unpackaged_files_terminate_build. We pick up the pregenerated
1275 docs with %doc already.
1277 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1278 + Removed commented out rpm macro define at top of spec file,
1279 replacing it with a simple explanation, since rpm macros are
1280 expanded by rpm even in comments.
1282 + Changed /usr/bin to _bindir in BuildRequires lines
1284 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1286 + Reorganized file manifest lists
1288 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1290 + fontconfig.spec.in: Improvements from Red Hat spec file.
1292 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1294 + docs/*.sgml: SGML fixes.
1296 Sat Mar 1 17:28:53 PST 2003 keithp
1297 + Ok, so the ChangeLog is a bit out of date
1299 + Lots of bugs fixed; most are in bugzilla, the
1300 biggest problems were in cache management where
1301 Owen discovered the library would lose badly when
1302 combining fonts-cache and ~/.fonts-cache data
1304 + Converted from autoconf to automake. This after
1305 getting patches accepted into libtool to allow
1306 the '-version-number' argument which lets
1307 packages set version numbers explicitly rather
1308 than the roundabout libtool way
1310 + Converted documentation to SGML using the docbook
1311 DTD. Now .txt and .html documents are installed
1312 in /usr/share/doc/fontconfig and there's no
1313 man page. Perhaps a man version can be written
1316 Sat Aug 31 15:21:22 PDT 2002 keithp
1317 + Xrender and Xft had several bugs related to
1318 rendering manually placed or poly-face text
1320 + Added more complete memory tracing in fontconfig
1321 Checked with (patched) mozilla and found no leaks
1323 + Updated Latin orthographies by comparing those from
1324 evertype.com with those from eki.ee. Tried to make
1325 sensible choices, including chars that occured in both
1326 and leaving some optional chars out that occured only
1329 Mon Aug 26 16:33:04 PDT 2002 keithp
1330 + Owen discovered that FcLangSetHasLang wasn't actually
1331 checking the language set.
1333 Mon Aug 26 13:37:23 PDT 2002 keithp
1334 + Append a version number to cache filenames
1336 Thu Aug 22 11:36:18 PDT 2002 keithp
1338 + Add "contains" and "not_contains" operators and elements to
1341 + Changed semantics of eq operator for LangSets to check for
1342 FcLangEqual so that any match will do
1344 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1345 of FcValueEqual to check for identical values when inserting into
1346 the results. This broke when the above semantic change was made,
1347 now it uses FcValueEqual which is "more correct" in any case.
1349 Thu Aug 22 00:32:29 PDT 2002 keithp
1351 + Reimplement FC_LANG as new datatype. Lists of strings
1352 was consuming over a megabyte of memory for 401 fonts.
1354 + Freeze patterns loaded from cache files. This shares
1355 common value lists and common patterns which saves
1356 considerable memory.
1358 + Change the denotation of 'constant' charsets to use special
1359 ref value instead of separate boolean.
1361 + Clean up leak tracing stuff, found several unannoted alloc/free
1364 Tue Aug 20 16:17:37 PDT 2002 keithp
1366 + Fix memory leak when parsing matrices from XML
1368 Mon Aug 19 11:57:27 PDT 2002 keithp
1370 + Fix autoconf files to pass FONTCONFIG_PATH on
1371 compile line so that ${prefix} gets substituted
1374 + Use getc_unlocked/putc_unlocked on systems that
1375 provide them to avoid damage done to stdio by posix
1377 + Eliminate FC_PATTERN and FcTypePattern in favor of
1378 an extended api for FcConfigSubstitute which takes
1379 both the font and the pattern.
1381 + Add 'sans serif' alias for 'sans-serif' as some apps
1382 can't handle hyphens in family names
1384 + Eliminate pretense of support for libxml2
1386 + Comment origins of Han orthographies
1388 Tue Jul 30 18:37:09 PDT 2002 keithp
1390 + Add binding property to edit element so that strong
1391 binding values may be inserted by the config file.
1392 The default remains weak.
1394 Sun 28 Jul 04:16:55 PDT 2002 keithp
1396 + Tagged release candidate 1 in the CVS tree and
1397 placed fcpackage.rc1.tar.gz for distribution
1399 Thu Aug 1 08:55:08 PDT 2002 keithp
1401 + Fixed autoconf builds to always specify install
1402 target files (for BSD). Also fixed to
1403 define FONTCONFIG_PATH in config.h so that
1404 nonstandard installs will actually work.