1 2005-04-23 Keith Packard <keithp@keithp.com>
6 * fontconfig/fontconfig.h:
7 Update for version 2.3.2
9 2005-04-21 Keith Packard <keithp@keithp.com>
11 * debian/fontconfig.postinst:
12 Don't force bitmap font enable in default
13 configuration; allows users to override this in
24 * debian/po/templates.pot:
29 * fc-cache/fc-cache.c: (main):
30 Destroy font configuration on exit to help valgrind
33 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
34 (FcFreeTypeCheckGlyph):
35 Use own transcoding routines in preference to iconv
36 which appears to have leaks in some translators.
37 Call iconv_close after using iconv (oops).
39 Prefer unicode encoding of Euro char as some
40 fonts mis-encode Euro in other ones.
42 Must fetch bitmap glyphs to get width values
43 to check for monospace/dual-width fonts.
45 2005-04-13 Ross Burton <ross@burtonini.com>
48 Check that a pattern isn't already frozen in FcPatternFreeze.
50 2005-03-31 Ross Burton <ross@burtonini.com>
55 Run all FcPattern objects through FcObjectStaticName, so that
56 compares can be done on pointers instead of strings (#2659)
58 2005-03-17 Tor Lillqvist <tml@novell.com>
60 * src/fontconfig.def.in: Add the .dll to the dll name.
62 2005-03-10 Keith Packard <keithp@keithp.com>
64 * debian/README.Debian:
65 Update to reflect configuration changes
67 * debian/fontconfig.postinst:
68 Fix Autohint vs Autohinter mistake
69 * debian/fontconfig.templates:
70 Adopt changes from Josselin Mouette for configuration descriptions
71 Update debian to version 2.3.1-2
73 2005-03-08 Keith Packard <keithp@keithp.com>
77 Update debian for 2.3.1
79 2005-03-09 Tor Lillqvist <tml@novell.com>
81 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
84 * src/fccfg.c (FcConfigFileExists): Check also drive letter
87 2005-03-08 Keith Packard <keithp@keithp.com>
91 * fontconfig/fontconfig.h:
94 2005-03-05 Keith Packard <keithp@keithp.com>
96 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
97 Include space and remove numbers from valid script tags.
98 This ensures that tags like 'lao ' work while rejecting
99 those which have any digits.
100 Eliminate a spurious debugging variable (len)
102 2005-03-05 Keith Packard <keithp@keithp.com>
104 * src/fcfreetype.c: (addtag), (GetScriptTags),
105 (FcFontCapabilities):
106 Rework GSUB/GPOS script parsing to survive broken fonts.
107 Thanks for the broken font go to Manish Singh
109 2005-03-05 Keith Packard <keithp@keithp.com>
114 * debian/fontconfig.config:
115 * debian/fontconfig.templates:
117 Include 2.3 release information in changelog
118 Add Josselin Mouette as an Uploader
119 Set hinting_type to low priority configuration option
122 * debian/fontconfig.postinst:
123 yes_bitmaps.conf -> yes-bitmaps.conf
129 2005-03-02 Keith Packard <keithp@keithp.com>
132 * conf.d/Makefile.am:
133 * conf.d/autohint.conf:
134 * conf.d/no-sub-pixel.conf:
135 * conf.d/sub-pixel.conf:
136 * conf.d/unhinted.conf:
137 * debian/autohint.conf:
138 * debian/fontconfig.install:
139 * debian/fontconfig.postinst:
140 * debian/fontconfig.templates:
141 * debian/no-sub-pixel.conf:
142 * debian/unhinted.conf:
143 Move debian-specific conf file examples upstream.
145 Sub-pixel configuration examples must smash subpixel value
146 as Xft always sets it from X.
148 Change sub-pixel rendering debconf descriptions from
149 Enable/Disable to Always/Never.
151 2005-03-02 Keith Packard <keithp@keithp.com>
156 Ignore more build detritus
159 Add debian package construction stuff.
161 * config/config.guess:
163 Update to newer versions of these tools
166 Get library manuals to build again (we love automake).
168 * debian/README.Debian:
169 * debian/autohint.conf:
174 * debian/fontconfig-udeb.install:
175 * debian/fontconfig.config:
176 * debian/fontconfig.defoma:
177 * debian/fontconfig.dirs:
178 * debian/fontconfig.install:
179 * debian/fontconfig.postinst:
180 * debian/fontconfig.postrm:
181 * debian/fontconfig.templates:
182 * debian/libfontconfig1-dev.install:
183 * debian/libfontconfig1.install:
184 * debian/local.conf.md5sum:
185 * debian/no-sub-pixel.conf:
186 * debian/po/POTFILES.in:
195 * debian/po/pt_BR.po:
196 * debian/po/templates.pot:
198 * debian/po/zh_CN.po:
200 * debian/unhinted.conf:
201 Update debian build system to switch maintainers and
202 deal with 2.3 functionality
204 2005-03-01 Keith Packard <keithp@keithp.com>
208 * fontconfig/fontconfig.h:
211 2005-03-01 Keith Packard <keithp@keithp.com>
214 Generate and install PDF versions of the manuals
216 * doc/fcpattern.fncs:
220 Add missing exported functions, fix data types
222 * doc/fontconfig-devel.sgml:
223 Add missing pattern elements.
225 * doc/fontconfig-user.sgml:
226 Add missing pattern elements. Document conf.d usage,
227 clarify available orthography list. Fix some config file
228 attributes. Complete list of constants.
230 * fontconfig/fontconfig.h:
231 Mark FC_SOURCE deprecated.
233 * src/fcfreetype.c: (FcFreeTypeQuery):
234 Don't set FC_SOURCE any longer.
236 2005-02-28 Keith Packard <keithp@keithp.com>
239 * conf.d/Makefile.am:
241 * conf.d/no-bitmaps.conf:
242 * conf.d/sub-pixel.conf:
243 * conf.d/yes-bitmaps.conf:
245 Create prototype /etc/fonts/conf.d directory with a few
246 sample configuration files.
247 Deprecate use of local.conf for local customizations in favor of
248 this directory based scheme which is more easily integrated into
249 installation systems.
252 Tag FC_EMBOLDEN as a boolean variable
254 2005-02-10 Keith Packard <keithp@keithp.com>
256 reviewed by: pborelli@katamail.com
258 * src/fcdir.c: (FcFileScanConfig):
259 Free patterns from fonts which are rejected by configuration
262 2005-01-28 Keith Packard <keithp@keithp.com>
266 * fontconfig/fontconfig.h:
267 Update for version 2.2.99
269 2005-01-28 Keith Packard <keithp@keithp.com>
272 Add a few pointers (#2284, #2285)
274 2005-01-28 Keith Packard <keithp@keithp.com>
277 * src/fcname.c: (FcNameBool):
278 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
279 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
280 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
281 Polite typechecking for test and edit expressions. Helps
282 catch errors in the font configuration. (bug 229)
284 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
286 reviewed by: Keith Packard <keithp@keithp.com>
289 Have --with-expat set EXPAT_CFLAGS (bug 2278)
291 2005-01-13 Keith Packard <keithp@keithp.com>
293 * doc/fontconfig-user.sgml:
294 Add SEE ALSO section (bug 2085)
296 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
298 reviewed by: Keith Packard <keithp@keithp.com>
303 * fc-case/Makefile.am:
304 * fc-glyphname/Makefile.am:
305 * fc-lang/Makefile.am:
306 * src/fontconfig.def.in:
307 Cross compiling fixes (bug 280)
309 2005-01-13 Keith Packard <keithp@keithp.com>
312 Update blanks list (Closes bug 86)
314 2005-01-04 Keith Packard <keithp@keithp.com>
316 * src/fccache.c: (FcCacheFontSetAdd):
317 Verify that every font pattern loaded from cache has
318 both FC_FILE and FC_FAMILY entries.
319 Attempt to fix bug #2219.
321 2004-12-29 Keith Packard <keithp@keithp.com>
325 * fontconfig/fontconfig.h:
326 Update for version 2.2.98
328 2004-12-29 Keith Packard <keithp@keithp.com>
330 * fontconfig/fontconfig.h:
331 Document ASCII limitations of Fc character conversion macros
332 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
333 Fix off-by-one error in utf-8 case walking code.
334 Add FcStrDowncase (useful for testing case conversion functions)
336 2004-12-29 Keith Packard <keithp@keithp.com>
339 * fc-case/.cvsignore:
340 clean up CVS ignore lists
341 * fc-lang/iso-3166.txt:
342 Add territory database
344 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
346 Reviewed by: Keith Packard
349 Remove Han characters from Korean orthography
351 2004-12-29 Keith Packard <keithp@keithp.com>
354 Reorder utility programs to make sure fc-case is run before fc-lang
355 as fc-lang uses fcstr.c which uses fccase.h
359 2004-12-29 Keith Packard <keithp@keithp.com>
362 Adopt some RedHat suggestions for standard font configuration.
366 * fc-case/CaseFolding.txt:
367 * fc-case/Makefile.am:
368 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
369 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
370 (dump), (parseRaw), (caseFoldReadRaw), (main):
371 * fc-case/fccase.tmpl.h:
372 Add new helper program 'fc-case' to construct case folding
373 tables from standard Unicode CaseFolding.txt file
376 * src/fclist.c: (FcListValueHash):
377 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
378 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
379 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
380 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
381 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
382 Re-implement case insensitive functions with Unicode
383 aware versions (including full case folding mappings)
385 2004-12-13 Keith Packard <keithp@keithp.com>
387 reviewed by: Owen Taylor <otaylor@redhat.com>
389 * src/fcmatch.c: (FcFontSetSort):
390 I changed FcFontSetSort to respect the generic aliases better
391 in the face of language matching.
393 What I did was to ammend the strict sort order used by FcFontSort so
394 that it 'satisfies' the language specified in the pattern by locating
395 the best matching font supporting each pattern language and then
396 ignores language in the remaining fonts for purposes of matching.
398 So, when asking for 'sans:lang=en', you'll get an English font first,
399 and then the remaining fonts sorted with respect to the 'sans' alias
400 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
402 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
404 reviewed by: Keith Packard <keithp@keithp.com>
406 * fontconfig/fontconfig.h:
409 Configuration changes to request synthetic emboldening of
410 fonts. The actual emboldening code will live in Xft.
412 2004-12-09 John Thacker <thacker@math.cornell.edu>
414 reviewed by: Keith Packard <keithp@keithp.com>
418 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
419 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
420 и), and don't even appear in KOI8-R. (The hypothesis that they
421 don't appear in KOI8-R due to their similarity with Latin I and i is
422 eliminated by their presence in KOI8-U.) I have a couple of fonts
423 with Russian support that don't have the letter.
425 Therefore, 0406 and 0456 should be removed from or commented out of
428 2004-12-06 michael meeks <mmeeks@novell.com>
430 Reviewed by: Keith Packard <keithp@keithp.com>
432 * src/fcinit.c: (FcMemReport):
434 * src/fclist.c: (FcObjectSetAdd):
435 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
436 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
437 * src/fcxml.c: (FcParsePatelt):
438 memoize strings and share a single copy for all uses. Note that
439 this could be improved further by using statically allocated blocks
440 and gluing multiple strings together, but I'm basically lazy.
441 In my environment with 800 font files, I get a savings of about 90KB.
443 2004-12-06 Keith Packard <keithp@keithp.com>
447 * config/Makedefs.in:
452 * doc/fccharset.fncs:
454 * doc/fcconstant.fncs:
456 * doc/fcfontset.fncs:
457 * doc/fcfreetype.fncs:
460 * doc/fcobjectset.fncs:
461 * doc/fcobjecttype.fncs:
462 * doc/fcpattern.fncs:
466 * doc/fontconfig-devel.sgml:
467 * doc/fontconfig-user.sgml:
469 * doc/version.sgml.in:
470 * fc-cache/Makefile.am:
471 * fc-cache/fc-cache.c:
472 * fc-glyphname/Makefile.am:
473 * fc-glyphname/fc-glyphname.c:
474 * fc-glyphname/fcglyphname.tmpl.h:
475 * fc-lang/Makefile.am:
485 * fc-lang/az_ir.orth:
520 * fc-lang/fc-lang.man:
521 * fc-lang/fclang.tmpl.h:
566 * fc-lang/ku_ir.orth:
599 * fc-lang/ps_af.orth:
600 * fc-lang/ps_pk.orth:
629 * fc-lang/ti_er.orth:
630 * fc-lang/ti_et.orth:
656 * fc-lang/zh_cn.orth:
657 * fc-lang/zh_hk.orth:
658 * fc-lang/zh_mo.orth:
659 * fc-lang/zh_sg.orth:
660 * fc-lang/zh_tw.orth:
662 * fc-list/Makefile.am:
664 * fc-match/Makefile.am:
665 * fc-match/fc-match.1:
666 * fc-match/fc-match.c:
667 * fontconfig/fcfreetype.h:
668 * fontconfig/fcprivate.h:
669 * fontconfig/fontconfig.h:
690 Change files from ISO-Latin-1 to UTF-8
692 2004-12-04 Keith Packard <keithp@keithp.com>
695 Update links to new freedesktop.org locations
697 Add uninstall-local to get rid of fonts.conf and local.conf if they
698 match the distributed versions. Fixes 'make distcheck'
700 2004-12-04 Keith Packard <keithp@keithp.com>
704 * fontconfig/fontconfig.h:
705 Updates for version 2.2.97
707 2004-12-04 Owen Taylor <otaylor@redhat.com>
709 reviewed by: Keith Packard <keithp@keithp.com>
711 * fc-cache/fc-cache.c: (main):
712 Sleep for two seconds before exiting to make sure timestamps
713 for future changes have distinct mod times in the file system.
716 Add Punjabi orthography. Bug #1671.
718 2004-12-04 Keith Packard <keithp@keithp.com>
721 Just remove the FC_FONTDATE -- it has locale issues and
722 annoys redhat multi-arch installs. Now that all X fonts are
723 included without prejudice, the chances of the date being at
724 all interesting are rather limited. Bug #505.
726 Add copyright and license
728 2004-12-04 Keith Packard <keithp@keithp.com>
731 Change default set of fonts to include all of
732 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
733 * doc/fontconfig-user.sgml:
734 Document new <include>directory-name</include> semantics
736 add <include ignore_missing="yes">conf.d</include>
738 Add selectfont to ignore bitmap fonts, add comment for
739 selectfont which accepts bitmap fonts.
742 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
743 Allow <include> configuration elements to reference directories.
744 Parse and load all files of the form [0-9]* in sorted order.
746 2004-12-04 Keith Packard <keithp@keithp.com>
749 Report command line for $srcdir/configure accurately.
752 2004-12-04 Keith Packard <keithp@keithp.com>
754 * src/fcfreetype.c: (FcFreeTypeQuery):
755 Check for non-empty face->family_name and face->style_name
756 before using those for the font. Empty names match everything.
759 2004-12-04 Keith Packard <keithp@keithp.com>
762 * fontconfig/fontconfig.h:
763 * src/fcfreetype.c: (FcFreeTypeQuery):
765 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
766 available. This provides font file format information (BDF, Type 1,
767 PCF, TrueType) for each font. Closes #109.
769 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
771 reviewed by: Keith Packard <keithp@keithp.com>
773 * doc/fontconfig-user.sgml:
776 * fontconfig/fontconfig.h:
777 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
778 (GetScriptTags), (FcFontCapabilities):
780 Add detection for font capabilities (bug #105)
782 2004-12-04 Keith Packard <keithp@keithp.com>
785 Move existing fonts.conf to fonts.conf.bak
788 Add detection of iconv
790 * doc/fcpattern.fncs:
791 * doc/fontconfig-devel.sgml:
792 * doc/fontconfig-user.sgml:
794 Document new selectfont elements
797 Switch to UTF-8 in comment
799 * fontconfig/fontconfig.h:
801 Add fullname, and family/style/fullname language entries
803 * src/fccache.c: (FcCacheFontSetAdd):
804 * src/fcdir.c: (FcFileScanConfig):
805 Respect selectfont/*/glob
808 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
809 (FcConfigCompareValue), (FcConfigPatternsAdd),
810 (FcConfigPatternsMatch), (FcConfigAcceptFont):
811 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
812 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
813 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
814 Add support for selectfont
816 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
817 (FcStringInPatternElement), (FcFreeTypeQuery):
818 Add multi-lingual family/style/fullname support
820 * src/fclist.c: (FcListPatternMatchAny):
821 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
823 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
824 (FcObjectStaticName):
825 Add new FcPatternRemove/FcPatternAppend.
826 FcObjectStaticName stores computed pattern element names which
827 are required to be static.
829 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
834 Remove spurious / after $(DESTDIR)
836 2004-06-30 Keith Packard <keithp@keithp.com>
840 * fontconfig/fontconfig.h:
843 2004-06-30 Keith Packard <keithp@keithp.com>
845 Provided by: Lubos Lunak <l.lunak@suse.cz>
847 * src/fccfg.c: (FcConfigUptoDate):
848 However FcConfigUptoDate() doesn't seem to work. See the attached
849 patch. First there's an obvious misplaced parenthesis making it
850 return always false, and second, even this call fails to detect font
851 changes (e.g. adding a new font to
852 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
853 well. The problem seems to be triggered by my fonts.conf specifying
854 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
855 doesn't include subdirs, unlike config->fontDirs.
857 2004-06-03 Keith Packard <keithp@keithp.com>
859 * fontconfig/fontconfig.h:
860 Remove comma at end of FcResult enum definition.
862 2004-05-29 Keith Packard <keithp@keithp.com>
865 Add steps to md5sum release
867 2004-05-29 Keith Packard <keithp@keithp.com>
871 * fontconfig/fontconfig.h:
874 2004-05-29 Keith Packard <keithp@keithp.com>
876 * fontconfig/fontconfig.h:
877 * src/fcmatch.c: (FcFontSetMatch):
878 Add FcResultOutOfMemory to provide an accurate error when
879 FcFontSetMatch fails in this way
882 Make #warning about lacking various FreeType features indicate
883 which version those features appeared so users know how to
884 fix the problem (Thanks to Anton Tropashko)
886 2004-05-05 Keith Packard <keithp@keithp.com>
888 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
889 Replace MIN/MAX/ABS macros which happen to have come
890 from FreeType with fontconfig-specific ones (FC_*)
892 2004-04-23 Keith Packard <keithp@keithp.com>
895 Extend release preparation instructions to include
896 notification and distribution steps
898 2004-04-23 Keith Packard <keithp@keithp.com>
902 * fontconfig/fontconfig.h:
903 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
905 2004-04-23 Keith Packard <keithp@keithp.com>
908 Ignore a few more autotool files
910 2004-04-14 Keith Packard <keithp@keithp.com>
913 Add instructions for doing a release
915 * fontconfig.spec.in:
916 clean up .spec file; perhaps this will be useful to somebody...
920 * fontconfig/fontconfig.h:
924 Make 'scanopen' static so GCC doesn't whine about lacking prototype
926 * fc-glyphname/Makefile.am:
927 * fc-lang/Makefile.am:
928 * fc-list/Makefile.am:
929 * fc-match/Makefile.am:
931 Add WARN_CFLAGS to pass -W flags for GCC systems
933 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
934 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
935 Change various char types around to match across
937 Fixed bug in using available_sizes[i].height which
938 is in pixels, not 64ths of a pixel.
940 2004-03-06 Keith Packard <keithp@keithp.com>
942 * src/fcfreetype.c: (FcFreeTypeQuery):
943 Force FC_FOUNDRY and FC_WIDTH to always be set so that
944 matches looking for explicit values prefer exact matches
946 2004-03-02 Keith Packard <keithp@keithp.com>
948 Supplied by: mfabian@suse.de (Mike FABIAN)
950 * src/fcfreetype.c: (FcFreeTypeQuery):
951 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
952 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
954 2004-02-21 Manish Singh <yosh@gimp.org>
956 * fc-glyphname/fc-glyphname.c: (main):
957 Cast strlen to int for printf, so we're 64-bit clean.
959 2004-02-11 Keith Packard <keithp@keithp.com>
962 * src/fcfreetype.c: (FcGetPixelSize):
963 Ok, so I messed up the test for y_ppem. Let's see if I
964 got it right this time.
966 2004-02-10 Keith Packard <keithp@keithp.com>
969 * src/fcfreetype.c: (FcGetPixelSize):
970 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
971 FT_Bitmap_Size record. Add a configure.in test for this
972 and change the code accordingly (using height instead).
974 2004-02-06 Keith Packard <keithp@keithp.com>
977 Add Low Saxon orthography
978 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
980 * src/fccfg.c: (FcConfigNewestFile):
981 Oops. Left 'newest.set' unset, which would miscompute
984 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
985 (FcFreeTypeCheckGlyph):
986 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
987 font properties (which report the wrong value in current FreeType)
989 Don't attempt to check for empty glyphs in non-scalable fonts; they
992 2004-02-01 Tor Lillqvist <tml@iki.fi>
994 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
995 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
996 cache if config->cache is NULL, which happens if FcConfigHome() is
997 NULL. Guard against that by using the temp folder in that case.
999 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1001 * fc-lang/az_ir.orth:
1002 * fc-lang/ku_ir.orth:
1003 * fc-lang/ps_af.orth:
1004 * fc-lang/ps_pk.orth:
1005 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1006 (Afghan and Pakistani).
1008 Updated Urdu orthography with real data.
1010 2003-12-11 Carl Worth <cworth@east.isi.edu>
1012 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1015 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1017 (all-local): Remove excessive whitespace.
1019 * autogen.sh: Add 'set -e' to abort when any program fails,
1020 (avoids printing of 'now type make' after configure aborts).
1022 2003-11-17 Eric Christopherson <rakko@charter.net>
1024 reviewed by: Keith Packard <keithp@keithp.com>
1027 * fontconfig/fcfreetype.h:
1029 Switch to FreeType 2.1.7 style includes. Bug #150.
1031 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1033 * fc-list/fc-list.sgml: Add some example usages.
1035 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1038 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1041 2003-10-27 Keith Packard <keith@keithp.com>
1044 * fontconfig/fontconfig.h:
1045 Update to version 2.2.92
1047 2003-10-27 Keith Packard <keithp@keithp.com>
1052 * fc-cache/Makefile.am:
1053 * fc-glyphname/Makefile.am:
1054 * fc-lang/Makefile.am:
1055 * fc-list/Makefile.am:
1056 * fc-match/Makefile.am:
1059 Yet more cleanups to finish getting 'make distcheck' working
1060 This has been tested to ensure that it even works from a _build
1063 2003-10-26 Keith Packard <keithp@keithp.com>
1067 * fc-cache/Makefile.am:
1068 * fc-glyphname/Makefile.am:
1069 * fc-lang/Makefile.am:
1070 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1071 * fc-list/Makefile.am:
1072 * fc-match/Makefile.am:
1073 Attempts to fix 'make distcheck' work. Things are
1074 progressing pretty well, but there are still failures
1075 long into the process dealing with docs (as always).
1077 The big changes here are mostly to make $(srcdir) != "."
1078 work correctly, fixing the docbook related sections and
1079 fc-lang were particularily tricky. Docbook refuses to load
1080 system entities from anywhere other than where the original .sgml
1081 file was located, so no luck looking in "." for the
1082 configure-generated version.sgml and confdir.sgml files.
1084 fc-lang needed help finding .orth files; added a -d option
1085 to set the directory as the least evil of many options.
1087 Now to go use a faster machine and try and wring out the last
1090 2003-10-26 Keith Packard <keithp@keithp.com>
1094 2003-10-26 Keith Packard <keithp@keithp.com>
1097 Include confdir.sgml.in in EXTRA_DIST
1099 2003-10-09 Josselin Mouette <joss@debian.org>
1101 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1102 * fc-list/fc-list.sgml fc-list/Makefile.am:
1103 Replace fc-cache and fc-list manpages with more detailed, SGML
1106 2003-09-23 Owen Taylor <otaylor@redhat.com>
1108 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1109 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1110 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1113 2003-09-23 Owen Taylor <otaylor@redhat.com>
1115 * fc-lang/ka.orth: Remove Georgian capitals, they
1116 aren't used for normal writing. (Bug #116)
1118 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1120 * doc/fontconfig-devel.sgml:
1121 * doc/fontconfig-user.sgml:
1122 * fontconfig/fontconfig.h:
1124 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1125 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1127 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1128 monospace and dual-width fonts, allow roughly a 3% variance in the
1131 2003-08-31 Manish Singh <yosh@gimp.org>
1133 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1136 2003-08-15 Carl Worth <cworth@isi.edu>
1138 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1139 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1141 * src/fcpat.c (FcValueListEntDestroy): New function to support
1142 FcFini memory cleanup. Some statistics are not kept in
1144 (FcValueListFreeze): Move hashTable outside this function so it
1145 can be accessed by FcValueListThawAll.
1146 (FcValueListThawAll): New function complements FcValueListFreeze.
1147 (FcPatternBaseFreeze): Move hashTable outside this function so it
1148 can be accessed by FcPatternBaseThawAll.
1149 (FcPatternBaseThawAll): New function complements
1150 FcPatternBaseFreeze.
1151 (FcPatternThawAll): New function complements FcPatternFreeze.
1153 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1155 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1156 allocated FcCharLeafEnt "blocks" so they can be freed later.
1157 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1158 can be accessed by FcCharSetThawAllLeaf.
1159 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1160 (FcCharSetFreezeBase): Move hashTable outside this function so it
1161 can be accessed by FcCharSetThawAll.
1162 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1164 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1165 (FcConfigDestroy): Fic leak of FcBlanks.
1167 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1168 (main): Add call to FcFini when finished.
1170 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1171 static. Add prototypes.
1173 * doc/fcinit.fncs: Add documentation for FcFini function.
1175 * doc/edit-sgml.c: Mark several local functions as static. Add
1178 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1180 2003-06-15 Tor Lillqvist <tml@iki.fi>
1182 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1183 before comparing (needed on Windows).
1185 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1187 2003-06-13 Tor Lillqvist <tml@iki.fi>
1189 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1192 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1193 WINDOWSFONTDIR token.
1195 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1196 end, not to confuse libtool, which expects the EXPORTS line to be
1197 the first. Add FcConfigEnableHome.
1199 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1200 built as a DLL on Win32.
1202 2003-06-09 Keith Packard <keithp@keithp.com>
1204 * Tag version 2.2.90
1206 2003-06-09 Keith Packard <keithp@keithp.com>
1208 * Optimization in FcLangSetIndex was broken, occasionally
1209 returning a pointer to the wrong location on miss
1211 * Add fc-match to test font matching from the command line.
1213 2003-05-31 Keith Packard <keithp@keithp.com>
1215 * (Bug 85) add support for culmus fonts
1216 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1217 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1219 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1221 * Fix "contains" op for strings and langsets.
1223 2003-05-17 Keith Packard <keithp@keithp.com>
1225 * Fix build error with BDF prop local. Free langset after query
1227 2003-05-14 Keith Packard <keithp@keithp.com>
1229 * Extract spacing from XLFD atom
1231 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1233 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1234 disappeared in 1.30.
1236 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1238 2003-05-12 Keith Packard <keithp@keithp.com>
1240 * Use FcIsWidth to share code
1242 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1243 misclassifying some Han fonts as monospaced.
1245 2003-05-07 Keith Packard <keithp@keithp.com>
1247 * Add filename-based accept/reject to ammend available fonts.
1249 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1250 older FreeType releases.
1252 2003-05-06 Keith Packard <keithp@keithp.com>
1254 * Remove 0b82 and Tamil numbers from tamil
1255 orthography (Jungshik Shin <jshin@mailaps.org>)
1257 2003-05-04 Keith Packard <keithp@keithp.com>
1259 + Map glyph names in fonts with adobe custom encoding to unicode
1261 2003-05-02 Keith Packard <keithp@keithp.com>
1263 * Add FC_WEIGHT_BOOK as weight 75
1265 2003-04-30 Keith Packard <keithp@keithp.com>
1267 * Typo in bitstream foundry name
1269 2003-04-24 Keith Packard <keithp@keithp.com>
1271 * Eliminate italic_angle check for PS fonts
1273 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1275 * Getting closer to fixing /etc/fonts hard-coding.
1277 2003-04-22 Keith Packard <keithp@keithp.com>
1279 * Update autogen.sh to work with newer automake versions
1280 * Handle pattern elements moving during multiple edits
1282 2003-04-23 James Henstridge <james@daa.com.au>
1284 * doc/fontconfig-devel.sgml: close the <para> element.
1286 * doc/fcpattern.fncs: close the <para> element.
1288 * doc/func.sgml: close the <refsynopsisdiv> element.
1290 2003-04-22 Keith Packard <keithp@keithp.com
1292 * Update autogen.sh to work with newer automake versions
1293 * Handle pattern elements moving during multiple edits
1295 2003-04-17 Colin Walters <walters@debian.org>
1297 + Remove some unused variables, and initialize some other ones so
1298 gcc doesn't warn us.
1300 2003-04-16 Keith Packard <keithp@keithp.com>
1302 + tag version 2.1.94
1304 2003-04-16 Keith Packard <keithp@keithp.com>
1306 + add BDF property fetching support for foundry
1307 (from Juliusz Chroboczek)
1308 + add BDF property fetching support for width
1310 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1312 + Implemented foundry generation for Type 1 and TrueType
1314 2003-04-11 Gerard Escalante <g2@magestudios.net>
1316 + Retrieve information from Type1 FontInfo dictionaries
1318 2003-04-07 Colin Walters <walters@verbum.org>
1320 + src/Makefile.am: Fix dummy makefile target names when
1321 MS_LIB_AVAILABLE isn't set.
1323 2003-03-22 Tor Lillqvist <tml@iki.fi>
1325 Changes for Windows:
1327 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1329 + We don't want to hardcode the fonts.conf file location in the
1330 DLL, so we look up the DLL location at run-time in a DllMain()
1331 function. The fonts.conf location is deduced from that.
1333 + The colon can't be used as path separator on Windows,
1334 semicolon is used instead. File path components can be separated
1335 with either slash or backslash. Absolute paths can also begin
1336 with a drive letter.
1338 + Add internal function FcStrLastSlash that strrchr's the last
1339 slash, or backslash on Windows.
1341 + There is no link() on Windows. For atomicity checks, mkdir a
1342 lock directory instead.
1344 + In addition to HOME, also look for USERPROFILE.
1346 + Recognize the special font directory token WINDOWSFONTDIR, to
1347 use the system's font directory.
1349 + Remove the fontconfig-def.cpp that was obsolete. Add
1350 fontconfig.def(.in), without internal functions.
1352 + Add a fontconfig-zip(.in) script, used to build a binary
1355 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1356 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1357 to main package and man3/* to devel package
1359 + Added missing defattr(-, root, root) to main RPM package
1361 + Added HTML and text development documentation to -devel subpackage
1363 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1364 + Added back the configure macro options --disable-docs, otherwise
1365 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1366 version number) unconditionally, causing RPM to fail the build due
1367 to _unpackaged_files_terminate_build. We pick up the pregenerated
1368 docs with %doc already.
1370 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1371 + Removed commented out rpm macro define at top of spec file,
1372 replacing it with a simple explanation, since rpm macros are
1373 expanded by rpm even in comments.
1375 + Changed /usr/bin to _bindir in BuildRequires lines
1377 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1379 + Reorganized file manifest lists
1381 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1383 + fontconfig.spec.in: Improvements from Red Hat spec file.
1385 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1387 + docs/*.sgml: SGML fixes.
1389 Sat Mar 1 17:28:53 PST 2003 keithp
1390 + Ok, so the ChangeLog is a bit out of date
1392 + Lots of bugs fixed; most are in bugzilla, the
1393 biggest problems were in cache management where
1394 Owen discovered the library would lose badly when
1395 combining fonts-cache and ~/.fonts-cache data
1397 + Converted from autoconf to automake. This after
1398 getting patches accepted into libtool to allow
1399 the '-version-number' argument which lets
1400 packages set version numbers explicitly rather
1401 than the roundabout libtool way
1403 + Converted documentation to SGML using the docbook
1404 DTD. Now .txt and .html documents are installed
1405 in /usr/share/doc/fontconfig and there's no
1406 man page. Perhaps a man version can be written
1409 Sat Aug 31 15:21:22 PDT 2002 keithp
1410 + Xrender and Xft had several bugs related to
1411 rendering manually placed or poly-face text
1413 + Added more complete memory tracing in fontconfig
1414 Checked with (patched) mozilla and found no leaks
1416 + Updated Latin orthographies by comparing those from
1417 evertype.com with those from eki.ee. Tried to make
1418 sensible choices, including chars that occured in both
1419 and leaving some optional chars out that occured only
1422 Mon Aug 26 16:33:04 PDT 2002 keithp
1423 + Owen discovered that FcLangSetHasLang wasn't actually
1424 checking the language set.
1426 Mon Aug 26 13:37:23 PDT 2002 keithp
1427 + Append a version number to cache filenames
1429 Thu Aug 22 11:36:18 PDT 2002 keithp
1431 + Add "contains" and "not_contains" operators and elements to
1434 + Changed semantics of eq operator for LangSets to check for
1435 FcLangEqual so that any match will do
1437 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1438 of FcValueEqual to check for identical values when inserting into
1439 the results. This broke when the above semantic change was made,
1440 now it uses FcValueEqual which is "more correct" in any case.
1442 Thu Aug 22 00:32:29 PDT 2002 keithp
1444 + Reimplement FC_LANG as new datatype. Lists of strings
1445 was consuming over a megabyte of memory for 401 fonts.
1447 + Freeze patterns loaded from cache files. This shares
1448 common value lists and common patterns which saves
1449 considerable memory.
1451 + Change the denotation of 'constant' charsets to use special
1452 ref value instead of separate boolean.
1454 + Clean up leak tracing stuff, found several unannoted alloc/free
1457 Tue Aug 20 16:17:37 PDT 2002 keithp
1459 + Fix memory leak when parsing matrices from XML
1461 Mon Aug 19 11:57:27 PDT 2002 keithp
1463 + Fix autoconf files to pass FONTCONFIG_PATH on
1464 compile line so that ${prefix} gets substituted
1467 + Use getc_unlocked/putc_unlocked on systems that
1468 provide them to avoid damage done to stdio by posix
1470 + Eliminate FC_PATTERN and FcTypePattern in favor of
1471 an extended api for FcConfigSubstitute which takes
1472 both the font and the pattern.
1474 + Add 'sans serif' alias for 'sans-serif' as some apps
1475 can't handle hyphens in family names
1477 + Eliminate pretense of support for libxml2
1479 + Comment origins of Han orthographies
1481 Tue Jul 30 18:37:09 PDT 2002 keithp
1483 + Add binding property to edit element so that strong
1484 binding values may be inserted by the config file.
1485 The default remains weak.
1487 Sun 28 Jul 04:16:55 PDT 2002 keithp
1489 + Tagged release candidate 1 in the CVS tree and
1490 placed fcpackage.rc1.tar.gz for distribution
1492 Thu Aug 1 08:55:08 PDT 2002 keithp
1494 + Fixed autoconf builds to always specify install
1495 target files (for BSD). Also fixed to
1496 define FONTCONFIG_PATH in config.h so that
1497 nonstandard installs will actually work.