1 2005-03-08 Keith Packard <keithp@keithp.com>
5 Update debian for 2.3.1
7 2005-03-09 Tor Lillqvist <tml@novell.com>
9 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
12 * src/fccfg.c (FcConfigFileExists): Check also drive letter
15 2005-03-08 Keith Packard <keithp@keithp.com>
19 * fontconfig/fontconfig.h:
22 2005-03-05 Keith Packard <keithp@keithp.com>
24 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
25 Include space and remove numbers from valid script tags.
26 This ensures that tags like 'lao ' work while rejecting
27 those which have any digits.
28 Eliminate a spurious debugging variable (len)
30 2005-03-05 Keith Packard <keithp@keithp.com>
32 * src/fcfreetype.c: (addtag), (GetScriptTags),
34 Rework GSUB/GPOS script parsing to survive broken fonts.
35 Thanks for the broken font go to Manish Singh
37 2005-03-05 Keith Packard <keithp@keithp.com>
42 * debian/fontconfig.config:
43 * debian/fontconfig.templates:
45 Include 2.3 release information in changelog
46 Add Josselin Mouette as an Uploader
47 Set hinting_type to low priority configuration option
50 * debian/fontconfig.postinst:
51 yes_bitmaps.conf -> yes-bitmaps.conf
57 2005-03-02 Keith Packard <keithp@keithp.com>
61 * conf.d/autohint.conf:
62 * conf.d/no-sub-pixel.conf:
63 * conf.d/sub-pixel.conf:
64 * conf.d/unhinted.conf:
65 * debian/autohint.conf:
66 * debian/fontconfig.install:
67 * debian/fontconfig.postinst:
68 * debian/fontconfig.templates:
69 * debian/no-sub-pixel.conf:
70 * debian/unhinted.conf:
71 Move debian-specific conf file examples upstream.
73 Sub-pixel configuration examples must smash subpixel value
74 as Xft always sets it from X.
76 Change sub-pixel rendering debconf descriptions from
77 Enable/Disable to Always/Never.
79 2005-03-02 Keith Packard <keithp@keithp.com>
84 Ignore more build detritus
87 Add debian package construction stuff.
89 * config/config.guess:
91 Update to newer versions of these tools
94 Get library manuals to build again (we love automake).
96 * debian/README.Debian:
97 * debian/autohint.conf:
102 * debian/fontconfig-udeb.install:
103 * debian/fontconfig.config:
104 * debian/fontconfig.defoma:
105 * debian/fontconfig.dirs:
106 * debian/fontconfig.install:
107 * debian/fontconfig.postinst:
108 * debian/fontconfig.postrm:
109 * debian/fontconfig.templates:
110 * debian/libfontconfig1-dev.install:
111 * debian/libfontconfig1.install:
112 * debian/local.conf.md5sum:
113 * debian/no-sub-pixel.conf:
114 * debian/po/POTFILES.in:
123 * debian/po/pt_BR.po:
124 * debian/po/templates.pot:
126 * debian/po/zh_CN.po:
128 * debian/unhinted.conf:
129 Update debian build system to switch maintainers and
130 deal with 2.3 functionality
132 2005-03-01 Keith Packard <keithp@keithp.com>
136 * fontconfig/fontconfig.h:
139 2005-03-01 Keith Packard <keithp@keithp.com>
142 Generate and install PDF versions of the manuals
144 * doc/fcpattern.fncs:
148 Add missing exported functions, fix data types
150 * doc/fontconfig-devel.sgml:
151 Add missing pattern elements.
153 * doc/fontconfig-user.sgml:
154 Add missing pattern elements. Document conf.d usage,
155 clarify available orthography list. Fix some config file
156 attributes. Complete list of constants.
158 * fontconfig/fontconfig.h:
159 Mark FC_SOURCE deprecated.
161 * src/fcfreetype.c: (FcFreeTypeQuery):
162 Don't set FC_SOURCE any longer.
164 2005-02-28 Keith Packard <keithp@keithp.com>
167 * conf.d/Makefile.am:
169 * conf.d/no-bitmaps.conf:
170 * conf.d/sub-pixel.conf:
171 * conf.d/yes-bitmaps.conf:
173 Create prototype /etc/fonts/conf.d directory with a few
174 sample configuration files.
175 Deprecate use of local.conf for local customizations in favor of
176 this directory based scheme which is more easily integrated into
177 installation systems.
180 Tag FC_EMBOLDEN as a boolean variable
182 2005-02-10 Keith Packard <keithp@keithp.com>
184 reviewed by: pborelli@katamail.com
186 * src/fcdir.c: (FcFileScanConfig):
187 Free patterns from fonts which are rejected by configuration
190 2005-01-28 Keith Packard <keithp@keithp.com>
194 * fontconfig/fontconfig.h:
195 Update for version 2.2.99
197 2005-01-28 Keith Packard <keithp@keithp.com>
200 Add a few pointers (#2284, #2285)
202 2005-01-28 Keith Packard <keithp@keithp.com>
205 * src/fcname.c: (FcNameBool):
206 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
207 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
208 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
209 Polite typechecking for test and edit expressions. Helps
210 catch errors in the font configuration. (bug 229)
212 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
214 reviewed by: Keith Packard <keithp@keithp.com>
217 Have --with-expat set EXPAT_CFLAGS (bug 2278)
219 2005-01-13 Keith Packard <keithp@keithp.com>
221 * doc/fontconfig-user.sgml:
222 Add SEE ALSO section (bug 2085)
224 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
226 reviewed by: Keith Packard <keithp@keithp.com>
231 * fc-case/Makefile.am:
232 * fc-glyphname/Makefile.am:
233 * fc-lang/Makefile.am:
234 * src/fontconfig.def.in:
235 Cross compiling fixes (bug 280)
237 2005-01-13 Keith Packard <keithp@keithp.com>
240 Update blanks list (Closes bug 86)
242 2005-01-04 Keith Packard <keithp@keithp.com>
244 * src/fccache.c: (FcCacheFontSetAdd):
245 Verify that every font pattern loaded from cache has
246 both FC_FILE and FC_FAMILY entries.
247 Attempt to fix bug #2219.
249 2004-12-29 Keith Packard <keithp@keithp.com>
253 * fontconfig/fontconfig.h:
254 Update for version 2.2.98
256 2004-12-29 Keith Packard <keithp@keithp.com>
258 * fontconfig/fontconfig.h:
259 Document ASCII limitations of Fc character conversion macros
260 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
261 Fix off-by-one error in utf-8 case walking code.
262 Add FcStrDowncase (useful for testing case conversion functions)
264 2004-12-29 Keith Packard <keithp@keithp.com>
267 * fc-case/.cvsignore:
268 clean up CVS ignore lists
269 * fc-lang/iso-3166.txt:
270 Add territory database
272 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
274 Reviewed by: Keith Packard
277 Remove Han characters from Korean orthography
279 2004-12-29 Keith Packard <keithp@keithp.com>
282 Reorder utility programs to make sure fc-case is run before fc-lang
283 as fc-lang uses fcstr.c which uses fccase.h
287 2004-12-29 Keith Packard <keithp@keithp.com>
290 Adopt some RedHat suggestions for standard font configuration.
294 * fc-case/CaseFolding.txt:
295 * fc-case/Makefile.am:
296 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
297 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
298 (dump), (parseRaw), (caseFoldReadRaw), (main):
299 * fc-case/fccase.tmpl.h:
300 Add new helper program 'fc-case' to construct case folding
301 tables from standard Unicode CaseFolding.txt file
304 * src/fclist.c: (FcListValueHash):
305 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
306 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
307 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
308 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
309 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
310 Re-implement case insensitive functions with Unicode
311 aware versions (including full case folding mappings)
313 2004-12-13 Keith Packard <keithp@keithp.com>
315 reviewed by: Owen Taylor <otaylor@redhat.com>
317 * src/fcmatch.c: (FcFontSetSort):
318 I changed FcFontSetSort to respect the generic aliases better
319 in the face of language matching.
321 What I did was to ammend the strict sort order used by FcFontSort so
322 that it 'satisfies' the language specified in the pattern by locating
323 the best matching font supporting each pattern language and then
324 ignores language in the remaining fonts for purposes of matching.
326 So, when asking for 'sans:lang=en', you'll get an English font first,
327 and then the remaining fonts sorted with respect to the 'sans' alias
328 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
330 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
332 reviewed by: Keith Packard <keithp@keithp.com>
334 * fontconfig/fontconfig.h:
337 Configuration changes to request synthetic emboldening of
338 fonts. The actual emboldening code will live in Xft.
340 2004-12-09 John Thacker <thacker@math.cornell.edu>
342 reviewed by: Keith Packard <keithp@keithp.com>
346 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
347 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
348 и), and don't even appear in KOI8-R. (The hypothesis that they
349 don't appear in KOI8-R due to their similarity with Latin I and i is
350 eliminated by their presence in KOI8-U.) I have a couple of fonts
351 with Russian support that don't have the letter.
353 Therefore, 0406 and 0456 should be removed from or commented out of
356 2004-12-06 michael meeks <mmeeks@novell.com>
358 Reviewed by: Keith Packard <keithp@keithp.com>
360 * src/fcinit.c: (FcMemReport):
362 * src/fclist.c: (FcObjectSetAdd):
363 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
364 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
365 * src/fcxml.c: (FcParsePatelt):
366 memoize strings and share a single copy for all uses. Note that
367 this could be improved further by using statically allocated blocks
368 and gluing multiple strings together, but I'm basically lazy.
369 In my environment with 800 font files, I get a savings of about 90KB.
371 2004-12-06 Keith Packard <keithp@keithp.com>
375 * config/Makedefs.in:
380 * doc/fccharset.fncs:
382 * doc/fcconstant.fncs:
384 * doc/fcfontset.fncs:
385 * doc/fcfreetype.fncs:
388 * doc/fcobjectset.fncs:
389 * doc/fcobjecttype.fncs:
390 * doc/fcpattern.fncs:
394 * doc/fontconfig-devel.sgml:
395 * doc/fontconfig-user.sgml:
397 * doc/version.sgml.in:
398 * fc-cache/Makefile.am:
399 * fc-cache/fc-cache.c:
400 * fc-glyphname/Makefile.am:
401 * fc-glyphname/fc-glyphname.c:
402 * fc-glyphname/fcglyphname.tmpl.h:
403 * fc-lang/Makefile.am:
413 * fc-lang/az_ir.orth:
448 * fc-lang/fc-lang.man:
449 * fc-lang/fclang.tmpl.h:
494 * fc-lang/ku_ir.orth:
527 * fc-lang/ps_af.orth:
528 * fc-lang/ps_pk.orth:
557 * fc-lang/ti_er.orth:
558 * fc-lang/ti_et.orth:
584 * fc-lang/zh_cn.orth:
585 * fc-lang/zh_hk.orth:
586 * fc-lang/zh_mo.orth:
587 * fc-lang/zh_sg.orth:
588 * fc-lang/zh_tw.orth:
590 * fc-list/Makefile.am:
592 * fc-match/Makefile.am:
593 * fc-match/fc-match.1:
594 * fc-match/fc-match.c:
595 * fontconfig/fcfreetype.h:
596 * fontconfig/fcprivate.h:
597 * fontconfig/fontconfig.h:
618 Change files from ISO-Latin-1 to UTF-8
620 2004-12-04 Keith Packard <keithp@keithp.com>
623 Update links to new freedesktop.org locations
625 Add uninstall-local to get rid of fonts.conf and local.conf if they
626 match the distributed versions. Fixes 'make distcheck'
628 2004-12-04 Keith Packard <keithp@keithp.com>
632 * fontconfig/fontconfig.h:
633 Updates for version 2.2.97
635 2004-12-04 Owen Taylor <otaylor@redhat.com>
637 reviewed by: Keith Packard <keithp@keithp.com>
639 * fc-cache/fc-cache.c: (main):
640 Sleep for two seconds before exiting to make sure timestamps
641 for future changes have distinct mod times in the file system.
644 Add Punjabi orthography. Bug #1671.
646 2004-12-04 Keith Packard <keithp@keithp.com>
649 Just remove the FC_FONTDATE -- it has locale issues and
650 annoys redhat multi-arch installs. Now that all X fonts are
651 included without prejudice, the chances of the date being at
652 all interesting are rather limited. Bug #505.
654 Add copyright and license
656 2004-12-04 Keith Packard <keithp@keithp.com>
659 Change default set of fonts to include all of
660 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
661 * doc/fontconfig-user.sgml:
662 Document new <include>directory-name</include> semantics
664 add <include ignore_missing="yes">conf.d</include>
666 Add selectfont to ignore bitmap fonts, add comment for
667 selectfont which accepts bitmap fonts.
670 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
671 Allow <include> configuration elements to reference directories.
672 Parse and load all files of the form [0-9]* in sorted order.
674 2004-12-04 Keith Packard <keithp@keithp.com>
677 Report command line for $srcdir/configure accurately.
680 2004-12-04 Keith Packard <keithp@keithp.com>
682 * src/fcfreetype.c: (FcFreeTypeQuery):
683 Check for non-empty face->family_name and face->style_name
684 before using those for the font. Empty names match everything.
687 2004-12-04 Keith Packard <keithp@keithp.com>
690 * fontconfig/fontconfig.h:
691 * src/fcfreetype.c: (FcFreeTypeQuery):
693 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
694 available. This provides font file format information (BDF, Type 1,
695 PCF, TrueType) for each font. Closes #109.
697 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
699 reviewed by: Keith Packard <keithp@keithp.com>
701 * doc/fontconfig-user.sgml:
704 * fontconfig/fontconfig.h:
705 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
706 (GetScriptTags), (FcFontCapabilities):
708 Add detection for font capabilities (bug #105)
710 2004-12-04 Keith Packard <keithp@keithp.com>
713 Move existing fonts.conf to fonts.conf.bak
716 Add detection of iconv
718 * doc/fcpattern.fncs:
719 * doc/fontconfig-devel.sgml:
720 * doc/fontconfig-user.sgml:
722 Document new selectfont elements
725 Switch to UTF-8 in comment
727 * fontconfig/fontconfig.h:
729 Add fullname, and family/style/fullname language entries
731 * src/fccache.c: (FcCacheFontSetAdd):
732 * src/fcdir.c: (FcFileScanConfig):
733 Respect selectfont/*/glob
736 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
737 (FcConfigCompareValue), (FcConfigPatternsAdd),
738 (FcConfigPatternsMatch), (FcConfigAcceptFont):
739 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
740 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
741 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
742 Add support for selectfont
744 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
745 (FcStringInPatternElement), (FcFreeTypeQuery):
746 Add multi-lingual family/style/fullname support
748 * src/fclist.c: (FcListPatternMatchAny):
749 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
751 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
752 (FcObjectStaticName):
753 Add new FcPatternRemove/FcPatternAppend.
754 FcObjectStaticName stores computed pattern element names which
755 are required to be static.
757 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
762 Remove spurious / after $(DESTDIR)
764 2004-06-30 Keith Packard <keithp@keithp.com>
768 * fontconfig/fontconfig.h:
771 2004-06-30 Keith Packard <keithp@keithp.com>
773 Provided by: Lubos Lunak <l.lunak@suse.cz>
775 * src/fccfg.c: (FcConfigUptoDate):
776 However FcConfigUptoDate() doesn't seem to work. See the attached
777 patch. First there's an obvious misplaced parenthesis making it
778 return always false, and second, even this call fails to detect font
779 changes (e.g. adding a new font to
780 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
781 well. The problem seems to be triggered by my fonts.conf specifying
782 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
783 doesn't include subdirs, unlike config->fontDirs.
785 2004-06-03 Keith Packard <keithp@keithp.com>
787 * fontconfig/fontconfig.h:
788 Remove comma at end of FcResult enum definition.
790 2004-05-29 Keith Packard <keithp@keithp.com>
793 Add steps to md5sum release
795 2004-05-29 Keith Packard <keithp@keithp.com>
799 * fontconfig/fontconfig.h:
802 2004-05-29 Keith Packard <keithp@keithp.com>
804 * fontconfig/fontconfig.h:
805 * src/fcmatch.c: (FcFontSetMatch):
806 Add FcResultOutOfMemory to provide an accurate error when
807 FcFontSetMatch fails in this way
810 Make #warning about lacking various FreeType features indicate
811 which version those features appeared so users know how to
812 fix the problem (Thanks to Anton Tropashko)
814 2004-05-05 Keith Packard <keithp@keithp.com>
816 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
817 Replace MIN/MAX/ABS macros which happen to have come
818 from FreeType with fontconfig-specific ones (FC_*)
820 2004-04-23 Keith Packard <keithp@keithp.com>
823 Extend release preparation instructions to include
824 notification and distribution steps
826 2004-04-23 Keith Packard <keithp@keithp.com>
830 * fontconfig/fontconfig.h:
831 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
833 2004-04-23 Keith Packard <keithp@keithp.com>
836 Ignore a few more autotool files
838 2004-04-14 Keith Packard <keithp@keithp.com>
841 Add instructions for doing a release
843 * fontconfig.spec.in:
844 clean up .spec file; perhaps this will be useful to somebody...
848 * fontconfig/fontconfig.h:
852 Make 'scanopen' static so GCC doesn't whine about lacking prototype
854 * fc-glyphname/Makefile.am:
855 * fc-lang/Makefile.am:
856 * fc-list/Makefile.am:
857 * fc-match/Makefile.am:
859 Add WARN_CFLAGS to pass -W flags for GCC systems
861 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
862 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
863 Change various char types around to match across
865 Fixed bug in using available_sizes[i].height which
866 is in pixels, not 64ths of a pixel.
868 2004-03-06 Keith Packard <keithp@keithp.com>
870 * src/fcfreetype.c: (FcFreeTypeQuery):
871 Force FC_FOUNDRY and FC_WIDTH to always be set so that
872 matches looking for explicit values prefer exact matches
874 2004-03-02 Keith Packard <keithp@keithp.com>
876 Supplied by: mfabian@suse.de (Mike FABIAN)
878 * src/fcfreetype.c: (FcFreeTypeQuery):
879 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
880 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
882 2004-02-21 Manish Singh <yosh@gimp.org>
884 * fc-glyphname/fc-glyphname.c: (main):
885 Cast strlen to int for printf, so we're 64-bit clean.
887 2004-02-11 Keith Packard <keithp@keithp.com>
890 * src/fcfreetype.c: (FcGetPixelSize):
891 Ok, so I messed up the test for y_ppem. Let's see if I
892 got it right this time.
894 2004-02-10 Keith Packard <keithp@keithp.com>
897 * src/fcfreetype.c: (FcGetPixelSize):
898 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
899 FT_Bitmap_Size record. Add a configure.in test for this
900 and change the code accordingly (using height instead).
902 2004-02-06 Keith Packard <keithp@keithp.com>
905 Add Low Saxon orthography
906 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
908 * src/fccfg.c: (FcConfigNewestFile):
909 Oops. Left 'newest.set' unset, which would miscompute
912 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
913 (FcFreeTypeCheckGlyph):
914 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
915 font properties (which report the wrong value in current FreeType)
917 Don't attempt to check for empty glyphs in non-scalable fonts; they
920 2004-02-01 Tor Lillqvist <tml@iki.fi>
922 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
923 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
924 cache if config->cache is NULL, which happens if FcConfigHome() is
925 NULL. Guard against that by using the temp folder in that case.
927 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
929 * fc-lang/az_ir.orth:
930 * fc-lang/ku_ir.orth:
931 * fc-lang/ps_af.orth:
932 * fc-lang/ps_pk.orth:
933 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
934 (Afghan and Pakistani).
936 Updated Urdu orthography with real data.
938 2003-12-11 Carl Worth <cworth@east.isi.edu>
940 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
943 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
945 (all-local): Remove excessive whitespace.
947 * autogen.sh: Add 'set -e' to abort when any program fails,
948 (avoids printing of 'now type make' after configure aborts).
950 2003-11-17 Eric Christopherson <rakko@charter.net>
952 reviewed by: Keith Packard <keithp@keithp.com>
955 * fontconfig/fcfreetype.h:
957 Switch to FreeType 2.1.7 style includes. Bug #150.
959 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
961 * fc-list/fc-list.sgml: Add some example usages.
963 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
966 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
969 2003-10-27 Keith Packard <keith@keithp.com>
972 * fontconfig/fontconfig.h:
973 Update to version 2.2.92
975 2003-10-27 Keith Packard <keithp@keithp.com>
980 * fc-cache/Makefile.am:
981 * fc-glyphname/Makefile.am:
982 * fc-lang/Makefile.am:
983 * fc-list/Makefile.am:
984 * fc-match/Makefile.am:
987 Yet more cleanups to finish getting 'make distcheck' working
988 This has been tested to ensure that it even works from a _build
991 2003-10-26 Keith Packard <keithp@keithp.com>
995 * fc-cache/Makefile.am:
996 * fc-glyphname/Makefile.am:
997 * fc-lang/Makefile.am:
998 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
999 * fc-list/Makefile.am:
1000 * fc-match/Makefile.am:
1001 Attempts to fix 'make distcheck' work. Things are
1002 progressing pretty well, but there are still failures
1003 long into the process dealing with docs (as always).
1005 The big changes here are mostly to make $(srcdir) != "."
1006 work correctly, fixing the docbook related sections and
1007 fc-lang were particularily tricky. Docbook refuses to load
1008 system entities from anywhere other than where the original .sgml
1009 file was located, so no luck looking in "." for the
1010 configure-generated version.sgml and confdir.sgml files.
1012 fc-lang needed help finding .orth files; added a -d option
1013 to set the directory as the least evil of many options.
1015 Now to go use a faster machine and try and wring out the last
1018 2003-10-26 Keith Packard <keithp@keithp.com>
1022 2003-10-26 Keith Packard <keithp@keithp.com>
1025 Include confdir.sgml.in in EXTRA_DIST
1027 2003-10-09 Josselin Mouette <joss@debian.org>
1029 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1030 * fc-list/fc-list.sgml fc-list/Makefile.am:
1031 Replace fc-cache and fc-list manpages with more detailed, SGML
1034 2003-09-23 Owen Taylor <otaylor@redhat.com>
1036 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1037 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1038 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1041 2003-09-23 Owen Taylor <otaylor@redhat.com>
1043 * fc-lang/ka.orth: Remove Georgian capitals, they
1044 aren't used for normal writing. (Bug #116)
1046 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1048 * doc/fontconfig-devel.sgml:
1049 * doc/fontconfig-user.sgml:
1050 * fontconfig/fontconfig.h:
1052 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1053 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1055 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1056 monospace and dual-width fonts, allow roughly a 3% variance in the
1059 2003-08-31 Manish Singh <yosh@gimp.org>
1061 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1064 2003-08-15 Carl Worth <cworth@isi.edu>
1066 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1067 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1069 * src/fcpat.c (FcValueListEntDestroy): New function to support
1070 FcFini memory cleanup. Some statistics are not kept in
1072 (FcValueListFreeze): Move hashTable outside this function so it
1073 can be accessed by FcValueListThawAll.
1074 (FcValueListThawAll): New function complements FcValueListFreeze.
1075 (FcPatternBaseFreeze): Move hashTable outside this function so it
1076 can be accessed by FcPatternBaseThawAll.
1077 (FcPatternBaseThawAll): New function complements
1078 FcPatternBaseFreeze.
1079 (FcPatternThawAll): New function complements FcPatternFreeze.
1081 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1083 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1084 allocated FcCharLeafEnt "blocks" so they can be freed later.
1085 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1086 can be accessed by FcCharSetThawAllLeaf.
1087 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1088 (FcCharSetFreezeBase): Move hashTable outside this function so it
1089 can be accessed by FcCharSetThawAll.
1090 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1092 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1093 (FcConfigDestroy): Fic leak of FcBlanks.
1095 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1096 (main): Add call to FcFini when finished.
1098 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1099 static. Add prototypes.
1101 * doc/fcinit.fncs: Add documentation for FcFini function.
1103 * doc/edit-sgml.c: Mark several local functions as static. Add
1106 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1108 2003-06-15 Tor Lillqvist <tml@iki.fi>
1110 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1111 before comparing (needed on Windows).
1113 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1115 2003-06-13 Tor Lillqvist <tml@iki.fi>
1117 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1120 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1121 WINDOWSFONTDIR token.
1123 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1124 end, not to confuse libtool, which expects the EXPORTS line to be
1125 the first. Add FcConfigEnableHome.
1127 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1128 built as a DLL on Win32.
1130 2003-06-09 Keith Packard <keithp@keithp.com>
1132 * Tag version 2.2.90
1134 2003-06-09 Keith Packard <keithp@keithp.com>
1136 * Optimization in FcLangSetIndex was broken, occasionally
1137 returning a pointer to the wrong location on miss
1139 * Add fc-match to test font matching from the command line.
1141 2003-05-31 Keith Packard <keithp@keithp.com>
1143 * (Bug 85) add support for culmus fonts
1144 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1145 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1147 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1149 * Fix "contains" op for strings and langsets.
1151 2003-05-17 Keith Packard <keithp@keithp.com>
1153 * Fix build error with BDF prop local. Free langset after query
1155 2003-05-14 Keith Packard <keithp@keithp.com>
1157 * Extract spacing from XLFD atom
1159 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1161 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1162 disappeared in 1.30.
1164 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1166 2003-05-12 Keith Packard <keithp@keithp.com>
1168 * Use FcIsWidth to share code
1170 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1171 misclassifying some Han fonts as monospaced.
1173 2003-05-07 Keith Packard <keithp@keithp.com>
1175 * Add filename-based accept/reject to ammend available fonts.
1177 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1178 older FreeType releases.
1180 2003-05-06 Keith Packard <keithp@keithp.com>
1182 * Remove 0b82 and Tamil numbers from tamil
1183 orthography (Jungshik Shin <jshin@mailaps.org>)
1185 2003-05-04 Keith Packard <keithp@keithp.com>
1187 + Map glyph names in fonts with adobe custom encoding to unicode
1189 2003-05-02 Keith Packard <keithp@keithp.com>
1191 * Add FC_WEIGHT_BOOK as weight 75
1193 2003-04-30 Keith Packard <keithp@keithp.com>
1195 * Typo in bitstream foundry name
1197 2003-04-24 Keith Packard <keithp@keithp.com>
1199 * Eliminate italic_angle check for PS fonts
1201 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1203 * Getting closer to fixing /etc/fonts hard-coding.
1205 2003-04-22 Keith Packard <keithp@keithp.com>
1207 * Update autogen.sh to work with newer automake versions
1208 * Handle pattern elements moving during multiple edits
1210 2003-04-23 James Henstridge <james@daa.com.au>
1212 * doc/fontconfig-devel.sgml: close the <para> element.
1214 * doc/fcpattern.fncs: close the <para> element.
1216 * doc/func.sgml: close the <refsynopsisdiv> element.
1218 2003-04-22 Keith Packard <keithp@keithp.com
1220 * Update autogen.sh to work with newer automake versions
1221 * Handle pattern elements moving during multiple edits
1223 2003-04-17 Colin Walters <walters@debian.org>
1225 + Remove some unused variables, and initialize some other ones so
1226 gcc doesn't warn us.
1228 2003-04-16 Keith Packard <keithp@keithp.com>
1230 + tag version 2.1.94
1232 2003-04-16 Keith Packard <keithp@keithp.com>
1234 + add BDF property fetching support for foundry
1235 (from Juliusz Chroboczek)
1236 + add BDF property fetching support for width
1238 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1240 + Implemented foundry generation for Type 1 and TrueType
1242 2003-04-11 Gerard Escalante <g2@magestudios.net>
1244 + Retrieve information from Type1 FontInfo dictionaries
1246 2003-04-07 Colin Walters <walters@verbum.org>
1248 + src/Makefile.am: Fix dummy makefile target names when
1249 MS_LIB_AVAILABLE isn't set.
1251 2003-03-22 Tor Lillqvist <tml@iki.fi>
1253 Changes for Windows:
1255 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1257 + We don't want to hardcode the fonts.conf file location in the
1258 DLL, so we look up the DLL location at run-time in a DllMain()
1259 function. The fonts.conf location is deduced from that.
1261 + The colon can't be used as path separator on Windows,
1262 semicolon is used instead. File path components can be separated
1263 with either slash or backslash. Absolute paths can also begin
1264 with a drive letter.
1266 + Add internal function FcStrLastSlash that strrchr's the last
1267 slash, or backslash on Windows.
1269 + There is no link() on Windows. For atomicity checks, mkdir a
1270 lock directory instead.
1272 + In addition to HOME, also look for USERPROFILE.
1274 + Recognize the special font directory token WINDOWSFONTDIR, to
1275 use the system's font directory.
1277 + Remove the fontconfig-def.cpp that was obsolete. Add
1278 fontconfig.def(.in), without internal functions.
1280 + Add a fontconfig-zip(.in) script, used to build a binary
1283 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1284 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1285 to main package and man3/* to devel package
1287 + Added missing defattr(-, root, root) to main RPM package
1289 + Added HTML and text development documentation to -devel subpackage
1291 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1292 + Added back the configure macro options --disable-docs, otherwise
1293 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1294 version number) unconditionally, causing RPM to fail the build due
1295 to _unpackaged_files_terminate_build. We pick up the pregenerated
1296 docs with %doc already.
1298 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1299 + Removed commented out rpm macro define at top of spec file,
1300 replacing it with a simple explanation, since rpm macros are
1301 expanded by rpm even in comments.
1303 + Changed /usr/bin to _bindir in BuildRequires lines
1305 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1307 + Reorganized file manifest lists
1309 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1311 + fontconfig.spec.in: Improvements from Red Hat spec file.
1313 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1315 + docs/*.sgml: SGML fixes.
1317 Sat Mar 1 17:28:53 PST 2003 keithp
1318 + Ok, so the ChangeLog is a bit out of date
1320 + Lots of bugs fixed; most are in bugzilla, the
1321 biggest problems were in cache management where
1322 Owen discovered the library would lose badly when
1323 combining fonts-cache and ~/.fonts-cache data
1325 + Converted from autoconf to automake. This after
1326 getting patches accepted into libtool to allow
1327 the '-version-number' argument which lets
1328 packages set version numbers explicitly rather
1329 than the roundabout libtool way
1331 + Converted documentation to SGML using the docbook
1332 DTD. Now .txt and .html documents are installed
1333 in /usr/share/doc/fontconfig and there's no
1334 man page. Perhaps a man version can be written
1337 Sat Aug 31 15:21:22 PDT 2002 keithp
1338 + Xrender and Xft had several bugs related to
1339 rendering manually placed or poly-face text
1341 + Added more complete memory tracing in fontconfig
1342 Checked with (patched) mozilla and found no leaks
1344 + Updated Latin orthographies by comparing those from
1345 evertype.com with those from eki.ee. Tried to make
1346 sensible choices, including chars that occured in both
1347 and leaving some optional chars out that occured only
1350 Mon Aug 26 16:33:04 PDT 2002 keithp
1351 + Owen discovered that FcLangSetHasLang wasn't actually
1352 checking the language set.
1354 Mon Aug 26 13:37:23 PDT 2002 keithp
1355 + Append a version number to cache filenames
1357 Thu Aug 22 11:36:18 PDT 2002 keithp
1359 + Add "contains" and "not_contains" operators and elements to
1362 + Changed semantics of eq operator for LangSets to check for
1363 FcLangEqual so that any match will do
1365 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1366 of FcValueEqual to check for identical values when inserting into
1367 the results. This broke when the above semantic change was made,
1368 now it uses FcValueEqual which is "more correct" in any case.
1370 Thu Aug 22 00:32:29 PDT 2002 keithp
1372 + Reimplement FC_LANG as new datatype. Lists of strings
1373 was consuming over a megabyte of memory for 401 fonts.
1375 + Freeze patterns loaded from cache files. This shares
1376 common value lists and common patterns which saves
1377 considerable memory.
1379 + Change the denotation of 'constant' charsets to use special
1380 ref value instead of separate boolean.
1382 + Clean up leak tracing stuff, found several unannoted alloc/free
1385 Tue Aug 20 16:17:37 PDT 2002 keithp
1387 + Fix memory leak when parsing matrices from XML
1389 Mon Aug 19 11:57:27 PDT 2002 keithp
1391 + Fix autoconf files to pass FONTCONFIG_PATH on
1392 compile line so that ${prefix} gets substituted
1395 + Use getc_unlocked/putc_unlocked on systems that
1396 provide them to avoid damage done to stdio by posix
1398 + Eliminate FC_PATTERN and FcTypePattern in favor of
1399 an extended api for FcConfigSubstitute which takes
1400 both the font and the pattern.
1402 + Add 'sans serif' alias for 'sans-serif' as some apps
1403 can't handle hyphens in family names
1405 + Eliminate pretense of support for libxml2
1407 + Comment origins of Han orthographies
1409 Tue Jul 30 18:37:09 PDT 2002 keithp
1411 + Add binding property to edit element so that strong
1412 binding values may be inserted by the config file.
1413 The default remains weak.
1415 Sun 28 Jul 04:16:55 PDT 2002 keithp
1417 + Tagged release candidate 1 in the CVS tree and
1418 placed fcpackage.rc1.tar.gz for distribution
1420 Thu Aug 1 08:55:08 PDT 2002 keithp
1422 + Fixed autoconf builds to always specify install
1423 target files (for BSD). Also fixed to
1424 define FONTCONFIG_PATH in config.h so that
1425 nonstandard installs will actually work.