1 2005-06-16 Patrick Lam <plam@MIT.EDU>
5 * src/fccfg.c: (FcConfigCompareValue):
6 Make FcOpNotContains use FcStrStr for strings so that
7 it matches semantics for !FcOpContains.
9 2005-05-20 Keith Packard <keithp@keithp.com>
13 Move fontconfig source package to libs as per override
15 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
17 reviewed by: Mike Fabian
20 The ka.orth file requires several characters which are not
21 used anymore in modern Georgian and which are missing in the free
22 Georgian TrueType fonts downloadable at:
24 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
26 2005-04-27 Keith Packard <keithp@keithp.com>
30 Update date to real 2.3.2 release date.
31 Fix change attributions
33 2005-04-27 Keith Packard <keithp@keithp.com>
36 Bump so revision for 2.3.2
37 * fc-cache/fc-cache.c: (scanDirs):
38 Fix a few minor leaks in error cases.
40 2005-04-23 Keith Packard <keithp@keithp.com>
45 * fontconfig/fontconfig.h:
46 Update for version 2.3.2
48 2005-04-21 Keith Packard <keithp@keithp.com>
50 * debian/fontconfig.postinst:
51 Don't force bitmap font enable in default
52 configuration; allows users to override this in
63 * debian/po/templates.pot:
68 * fc-cache/fc-cache.c: (main):
69 Destroy font configuration on exit to help valgrind
72 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
73 (FcFreeTypeCheckGlyph):
74 Use own transcoding routines in preference to iconv
75 which appears to have leaks in some translators.
76 Call iconv_close after using iconv (oops).
78 Prefer unicode encoding of Euro char as some
79 fonts mis-encode Euro in other ones.
81 Must fetch bitmap glyphs to get width values
82 to check for monospace/dual-width fonts.
84 2005-04-13 Ross Burton <ross@burtonini.com>
87 Check that a pattern isn't already frozen in FcPatternFreeze.
89 2005-03-31 Ross Burton <ross@burtonini.com>
94 Run all FcPattern objects through FcObjectStaticName, so that
95 compares can be done on pointers instead of strings (#2659)
97 2005-03-17 Tor Lillqvist <tml@novell.com>
99 * src/fontconfig.def.in: Add the .dll to the dll name.
101 2005-03-10 Keith Packard <keithp@keithp.com>
103 * debian/README.Debian:
104 Update to reflect configuration changes
106 * debian/fontconfig.postinst:
107 Fix Autohint vs Autohinter mistake
108 * debian/fontconfig.templates:
109 Adopt changes from Josselin Mouette for configuration descriptions
110 Update debian to version 2.3.1-2
112 2005-03-08 Keith Packard <keithp@keithp.com>
116 Update debian for 2.3.1
118 2005-03-09 Tor Lillqvist <tml@novell.com>
120 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
123 * src/fccfg.c (FcConfigFileExists): Check also drive letter
126 2005-03-08 Keith Packard <keithp@keithp.com>
130 * fontconfig/fontconfig.h:
133 2005-03-05 Keith Packard <keithp@keithp.com>
135 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
136 Include space and remove numbers from valid script tags.
137 This ensures that tags like 'lao ' work while rejecting
138 those which have any digits.
139 Eliminate a spurious debugging variable (len)
141 2005-03-05 Keith Packard <keithp@keithp.com>
143 * src/fcfreetype.c: (addtag), (GetScriptTags),
144 (FcFontCapabilities):
145 Rework GSUB/GPOS script parsing to survive broken fonts.
146 Thanks for the broken font go to Manish Singh
148 2005-03-05 Keith Packard <keithp@keithp.com>
153 * debian/fontconfig.config:
154 * debian/fontconfig.templates:
156 Include 2.3 release information in changelog
157 Add Josselin Mouette as an Uploader
158 Set hinting_type to low priority configuration option
161 * debian/fontconfig.postinst:
162 yes_bitmaps.conf -> yes-bitmaps.conf
168 2005-03-02 Keith Packard <keithp@keithp.com>
171 * conf.d/Makefile.am:
172 * conf.d/autohint.conf:
173 * conf.d/no-sub-pixel.conf:
174 * conf.d/sub-pixel.conf:
175 * conf.d/unhinted.conf:
176 * debian/autohint.conf:
177 * debian/fontconfig.install:
178 * debian/fontconfig.postinst:
179 * debian/fontconfig.templates:
180 * debian/no-sub-pixel.conf:
181 * debian/unhinted.conf:
182 Move debian-specific conf file examples upstream.
184 Sub-pixel configuration examples must smash subpixel value
185 as Xft always sets it from X.
187 Change sub-pixel rendering debconf descriptions from
188 Enable/Disable to Always/Never.
190 2005-03-02 Keith Packard <keithp@keithp.com>
195 Ignore more build detritus
198 Add debian package construction stuff.
200 * config/config.guess:
202 Update to newer versions of these tools
205 Get library manuals to build again (we love automake).
207 * debian/README.Debian:
208 * debian/autohint.conf:
213 * debian/fontconfig-udeb.install:
214 * debian/fontconfig.config:
215 * debian/fontconfig.defoma:
216 * debian/fontconfig.dirs:
217 * debian/fontconfig.install:
218 * debian/fontconfig.postinst:
219 * debian/fontconfig.postrm:
220 * debian/fontconfig.templates:
221 * debian/libfontconfig1-dev.install:
222 * debian/libfontconfig1.install:
223 * debian/local.conf.md5sum:
224 * debian/no-sub-pixel.conf:
225 * debian/po/POTFILES.in:
234 * debian/po/pt_BR.po:
235 * debian/po/templates.pot:
237 * debian/po/zh_CN.po:
239 * debian/unhinted.conf:
240 Update debian build system to switch maintainers and
241 deal with 2.3 functionality
243 2005-03-01 Keith Packard <keithp@keithp.com>
247 * fontconfig/fontconfig.h:
250 2005-03-01 Keith Packard <keithp@keithp.com>
253 Generate and install PDF versions of the manuals
255 * doc/fcpattern.fncs:
259 Add missing exported functions, fix data types
261 * doc/fontconfig-devel.sgml:
262 Add missing pattern elements.
264 * doc/fontconfig-user.sgml:
265 Add missing pattern elements. Document conf.d usage,
266 clarify available orthography list. Fix some config file
267 attributes. Complete list of constants.
269 * fontconfig/fontconfig.h:
270 Mark FC_SOURCE deprecated.
272 * src/fcfreetype.c: (FcFreeTypeQuery):
273 Don't set FC_SOURCE any longer.
275 2005-02-28 Keith Packard <keithp@keithp.com>
278 * conf.d/Makefile.am:
280 * conf.d/no-bitmaps.conf:
281 * conf.d/sub-pixel.conf:
282 * conf.d/yes-bitmaps.conf:
284 Create prototype /etc/fonts/conf.d directory with a few
285 sample configuration files.
286 Deprecate use of local.conf for local customizations in favor of
287 this directory based scheme which is more easily integrated into
288 installation systems.
291 Tag FC_EMBOLDEN as a boolean variable
293 2005-02-10 Keith Packard <keithp@keithp.com>
295 reviewed by: pborelli@katamail.com
297 * src/fcdir.c: (FcFileScanConfig):
298 Free patterns from fonts which are rejected by configuration
301 2005-01-28 Keith Packard <keithp@keithp.com>
305 * fontconfig/fontconfig.h:
306 Update for version 2.2.99
308 2005-01-28 Keith Packard <keithp@keithp.com>
311 Add a few pointers (#2284, #2285)
313 2005-01-28 Keith Packard <keithp@keithp.com>
316 * src/fcname.c: (FcNameBool):
317 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
318 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
319 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
320 Polite typechecking for test and edit expressions. Helps
321 catch errors in the font configuration. (bug 229)
323 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
325 reviewed by: Keith Packard <keithp@keithp.com>
328 Have --with-expat set EXPAT_CFLAGS (bug 2278)
330 2005-01-13 Keith Packard <keithp@keithp.com>
332 * doc/fontconfig-user.sgml:
333 Add SEE ALSO section (bug 2085)
335 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
337 reviewed by: Keith Packard <keithp@keithp.com>
342 * fc-case/Makefile.am:
343 * fc-glyphname/Makefile.am:
344 * fc-lang/Makefile.am:
345 * src/fontconfig.def.in:
346 Cross compiling fixes (bug 280)
348 2005-01-13 Keith Packard <keithp@keithp.com>
351 Update blanks list (Closes bug 86)
353 2005-01-04 Keith Packard <keithp@keithp.com>
355 * src/fccache.c: (FcCacheFontSetAdd):
356 Verify that every font pattern loaded from cache has
357 both FC_FILE and FC_FAMILY entries.
358 Attempt to fix bug #2219.
360 2004-12-29 Keith Packard <keithp@keithp.com>
364 * fontconfig/fontconfig.h:
365 Update for version 2.2.98
367 2004-12-29 Keith Packard <keithp@keithp.com>
369 * fontconfig/fontconfig.h:
370 Document ASCII limitations of Fc character conversion macros
371 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
372 Fix off-by-one error in utf-8 case walking code.
373 Add FcStrDowncase (useful for testing case conversion functions)
375 2004-12-29 Keith Packard <keithp@keithp.com>
378 * fc-case/.cvsignore:
379 clean up CVS ignore lists
380 * fc-lang/iso-3166.txt:
381 Add territory database
383 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
385 Reviewed by: Keith Packard
388 Remove Han characters from Korean orthography
390 2004-12-29 Keith Packard <keithp@keithp.com>
393 Reorder utility programs to make sure fc-case is run before fc-lang
394 as fc-lang uses fcstr.c which uses fccase.h
398 2004-12-29 Keith Packard <keithp@keithp.com>
401 Adopt some RedHat suggestions for standard font configuration.
405 * fc-case/CaseFolding.txt:
406 * fc-case/Makefile.am:
407 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
408 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
409 (dump), (parseRaw), (caseFoldReadRaw), (main):
410 * fc-case/fccase.tmpl.h:
411 Add new helper program 'fc-case' to construct case folding
412 tables from standard Unicode CaseFolding.txt file
415 * src/fclist.c: (FcListValueHash):
416 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
417 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
418 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
419 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
420 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
421 Re-implement case insensitive functions with Unicode
422 aware versions (including full case folding mappings)
424 2004-12-13 Keith Packard <keithp@keithp.com>
426 reviewed by: Owen Taylor <otaylor@redhat.com>
428 * src/fcmatch.c: (FcFontSetSort):
429 I changed FcFontSetSort to respect the generic aliases better
430 in the face of language matching.
432 What I did was to ammend the strict sort order used by FcFontSort so
433 that it 'satisfies' the language specified in the pattern by locating
434 the best matching font supporting each pattern language and then
435 ignores language in the remaining fonts for purposes of matching.
437 So, when asking for 'sans:lang=en', you'll get an English font first,
438 and then the remaining fonts sorted with respect to the 'sans' alias
439 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
441 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
443 reviewed by: Keith Packard <keithp@keithp.com>
445 * fontconfig/fontconfig.h:
448 Configuration changes to request synthetic emboldening of
449 fonts. The actual emboldening code will live in Xft.
451 2004-12-09 John Thacker <thacker@math.cornell.edu>
453 reviewed by: Keith Packard <keithp@keithp.com>
457 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
458 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
459 и), and don't even appear in KOI8-R. (The hypothesis that they
460 don't appear in KOI8-R due to their similarity with Latin I and i is
461 eliminated by their presence in KOI8-U.) I have a couple of fonts
462 with Russian support that don't have the letter.
464 Therefore, 0406 and 0456 should be removed from or commented out of
467 2004-12-06 michael meeks <mmeeks@novell.com>
469 Reviewed by: Keith Packard <keithp@keithp.com>
471 * src/fcinit.c: (FcMemReport):
473 * src/fclist.c: (FcObjectSetAdd):
474 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
475 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
476 * src/fcxml.c: (FcParsePatelt):
477 memoize strings and share a single copy for all uses. Note that
478 this could be improved further by using statically allocated blocks
479 and gluing multiple strings together, but I'm basically lazy.
480 In my environment with 800 font files, I get a savings of about 90KB.
482 2004-12-06 Keith Packard <keithp@keithp.com>
486 * config/Makedefs.in:
491 * doc/fccharset.fncs:
493 * doc/fcconstant.fncs:
495 * doc/fcfontset.fncs:
496 * doc/fcfreetype.fncs:
499 * doc/fcobjectset.fncs:
500 * doc/fcobjecttype.fncs:
501 * doc/fcpattern.fncs:
505 * doc/fontconfig-devel.sgml:
506 * doc/fontconfig-user.sgml:
508 * doc/version.sgml.in:
509 * fc-cache/Makefile.am:
510 * fc-cache/fc-cache.c:
511 * fc-glyphname/Makefile.am:
512 * fc-glyphname/fc-glyphname.c:
513 * fc-glyphname/fcglyphname.tmpl.h:
514 * fc-lang/Makefile.am:
524 * fc-lang/az_ir.orth:
559 * fc-lang/fc-lang.man:
560 * fc-lang/fclang.tmpl.h:
605 * fc-lang/ku_ir.orth:
638 * fc-lang/ps_af.orth:
639 * fc-lang/ps_pk.orth:
668 * fc-lang/ti_er.orth:
669 * fc-lang/ti_et.orth:
695 * fc-lang/zh_cn.orth:
696 * fc-lang/zh_hk.orth:
697 * fc-lang/zh_mo.orth:
698 * fc-lang/zh_sg.orth:
699 * fc-lang/zh_tw.orth:
701 * fc-list/Makefile.am:
703 * fc-match/Makefile.am:
704 * fc-match/fc-match.1:
705 * fc-match/fc-match.c:
706 * fontconfig/fcfreetype.h:
707 * fontconfig/fcprivate.h:
708 * fontconfig/fontconfig.h:
729 Change files from ISO-Latin-1 to UTF-8
731 2004-12-04 Keith Packard <keithp@keithp.com>
734 Update links to new freedesktop.org locations
736 Add uninstall-local to get rid of fonts.conf and local.conf if they
737 match the distributed versions. Fixes 'make distcheck'
739 2004-12-04 Keith Packard <keithp@keithp.com>
743 * fontconfig/fontconfig.h:
744 Updates for version 2.2.97
746 2004-12-04 Owen Taylor <otaylor@redhat.com>
748 reviewed by: Keith Packard <keithp@keithp.com>
750 * fc-cache/fc-cache.c: (main):
751 Sleep for two seconds before exiting to make sure timestamps
752 for future changes have distinct mod times in the file system.
755 Add Punjabi orthography. Bug #1671.
757 2004-12-04 Keith Packard <keithp@keithp.com>
760 Just remove the FC_FONTDATE -- it has locale issues and
761 annoys redhat multi-arch installs. Now that all X fonts are
762 included without prejudice, the chances of the date being at
763 all interesting are rather limited. Bug #505.
765 Add copyright and license
767 2004-12-04 Keith Packard <keithp@keithp.com>
770 Change default set of fonts to include all of
771 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
772 * doc/fontconfig-user.sgml:
773 Document new <include>directory-name</include> semantics
775 add <include ignore_missing="yes">conf.d</include>
777 Add selectfont to ignore bitmap fonts, add comment for
778 selectfont which accepts bitmap fonts.
781 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
782 Allow <include> configuration elements to reference directories.
783 Parse and load all files of the form [0-9]* in sorted order.
785 2004-12-04 Keith Packard <keithp@keithp.com>
788 Report command line for $srcdir/configure accurately.
791 2004-12-04 Keith Packard <keithp@keithp.com>
793 * src/fcfreetype.c: (FcFreeTypeQuery):
794 Check for non-empty face->family_name and face->style_name
795 before using those for the font. Empty names match everything.
798 2004-12-04 Keith Packard <keithp@keithp.com>
801 * fontconfig/fontconfig.h:
802 * src/fcfreetype.c: (FcFreeTypeQuery):
804 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
805 available. This provides font file format information (BDF, Type 1,
806 PCF, TrueType) for each font. Closes #109.
808 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
810 reviewed by: Keith Packard <keithp@keithp.com>
812 * doc/fontconfig-user.sgml:
815 * fontconfig/fontconfig.h:
816 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
817 (GetScriptTags), (FcFontCapabilities):
819 Add detection for font capabilities (bug #105)
821 2004-12-04 Keith Packard <keithp@keithp.com>
824 Move existing fonts.conf to fonts.conf.bak
827 Add detection of iconv
829 * doc/fcpattern.fncs:
830 * doc/fontconfig-devel.sgml:
831 * doc/fontconfig-user.sgml:
833 Document new selectfont elements
836 Switch to UTF-8 in comment
838 * fontconfig/fontconfig.h:
840 Add fullname, and family/style/fullname language entries
842 * src/fccache.c: (FcCacheFontSetAdd):
843 * src/fcdir.c: (FcFileScanConfig):
844 Respect selectfont/*/glob
847 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
848 (FcConfigCompareValue), (FcConfigPatternsAdd),
849 (FcConfigPatternsMatch), (FcConfigAcceptFont):
850 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
851 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
852 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
853 Add support for selectfont
855 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
856 (FcStringInPatternElement), (FcFreeTypeQuery):
857 Add multi-lingual family/style/fullname support
859 * src/fclist.c: (FcListPatternMatchAny):
860 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
862 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
863 (FcObjectStaticName):
864 Add new FcPatternRemove/FcPatternAppend.
865 FcObjectStaticName stores computed pattern element names which
866 are required to be static.
868 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
873 Remove spurious / after $(DESTDIR)
875 2004-06-30 Keith Packard <keithp@keithp.com>
879 * fontconfig/fontconfig.h:
882 2004-06-30 Keith Packard <keithp@keithp.com>
884 Provided by: Lubos Lunak <l.lunak@suse.cz>
886 * src/fccfg.c: (FcConfigUptoDate):
887 However FcConfigUptoDate() doesn't seem to work. See the attached
888 patch. First there's an obvious misplaced parenthesis making it
889 return always false, and second, even this call fails to detect font
890 changes (e.g. adding a new font to
891 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
892 well. The problem seems to be triggered by my fonts.conf specifying
893 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
894 doesn't include subdirs, unlike config->fontDirs.
896 2004-06-03 Keith Packard <keithp@keithp.com>
898 * fontconfig/fontconfig.h:
899 Remove comma at end of FcResult enum definition.
901 2004-05-29 Keith Packard <keithp@keithp.com>
904 Add steps to md5sum release
906 2004-05-29 Keith Packard <keithp@keithp.com>
910 * fontconfig/fontconfig.h:
913 2004-05-29 Keith Packard <keithp@keithp.com>
915 * fontconfig/fontconfig.h:
916 * src/fcmatch.c: (FcFontSetMatch):
917 Add FcResultOutOfMemory to provide an accurate error when
918 FcFontSetMatch fails in this way
921 Make #warning about lacking various FreeType features indicate
922 which version those features appeared so users know how to
923 fix the problem (Thanks to Anton Tropashko)
925 2004-05-05 Keith Packard <keithp@keithp.com>
927 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
928 Replace MIN/MAX/ABS macros which happen to have come
929 from FreeType with fontconfig-specific ones (FC_*)
931 2004-04-23 Keith Packard <keithp@keithp.com>
934 Extend release preparation instructions to include
935 notification and distribution steps
937 2004-04-23 Keith Packard <keithp@keithp.com>
941 * fontconfig/fontconfig.h:
942 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
944 2004-04-23 Keith Packard <keithp@keithp.com>
947 Ignore a few more autotool files
949 2004-04-14 Keith Packard <keithp@keithp.com>
952 Add instructions for doing a release
954 * fontconfig.spec.in:
955 clean up .spec file; perhaps this will be useful to somebody...
959 * fontconfig/fontconfig.h:
963 Make 'scanopen' static so GCC doesn't whine about lacking prototype
965 * fc-glyphname/Makefile.am:
966 * fc-lang/Makefile.am:
967 * fc-list/Makefile.am:
968 * fc-match/Makefile.am:
970 Add WARN_CFLAGS to pass -W flags for GCC systems
972 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
973 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
974 Change various char types around to match across
976 Fixed bug in using available_sizes[i].height which
977 is in pixels, not 64ths of a pixel.
979 2004-03-06 Keith Packard <keithp@keithp.com>
981 * src/fcfreetype.c: (FcFreeTypeQuery):
982 Force FC_FOUNDRY and FC_WIDTH to always be set so that
983 matches looking for explicit values prefer exact matches
985 2004-03-02 Keith Packard <keithp@keithp.com>
987 Supplied by: mfabian@suse.de (Mike FABIAN)
989 * src/fcfreetype.c: (FcFreeTypeQuery):
990 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
991 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
993 2004-02-21 Manish Singh <yosh@gimp.org>
995 * fc-glyphname/fc-glyphname.c: (main):
996 Cast strlen to int for printf, so we're 64-bit clean.
998 2004-02-11 Keith Packard <keithp@keithp.com>
1001 * src/fcfreetype.c: (FcGetPixelSize):
1002 Ok, so I messed up the test for y_ppem. Let's see if I
1003 got it right this time.
1005 2004-02-10 Keith Packard <keithp@keithp.com>
1008 * src/fcfreetype.c: (FcGetPixelSize):
1009 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1010 FT_Bitmap_Size record. Add a configure.in test for this
1011 and change the code accordingly (using height instead).
1013 2004-02-06 Keith Packard <keithp@keithp.com>
1016 Add Low Saxon orthography
1017 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1019 * src/fccfg.c: (FcConfigNewestFile):
1020 Oops. Left 'newest.set' unset, which would miscompute
1023 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1024 (FcFreeTypeCheckGlyph):
1025 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1026 font properties (which report the wrong value in current FreeType)
1028 Don't attempt to check for empty glyphs in non-scalable fonts; they
1031 2004-02-01 Tor Lillqvist <tml@iki.fi>
1033 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1034 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1035 cache if config->cache is NULL, which happens if FcConfigHome() is
1036 NULL. Guard against that by using the temp folder in that case.
1038 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1040 * fc-lang/az_ir.orth:
1041 * fc-lang/ku_ir.orth:
1042 * fc-lang/ps_af.orth:
1043 * fc-lang/ps_pk.orth:
1044 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1045 (Afghan and Pakistani).
1047 Updated Urdu orthography with real data.
1049 2003-12-11 Carl Worth <cworth@east.isi.edu>
1051 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1054 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1056 (all-local): Remove excessive whitespace.
1058 * autogen.sh: Add 'set -e' to abort when any program fails,
1059 (avoids printing of 'now type make' after configure aborts).
1061 2003-11-17 Eric Christopherson <rakko@charter.net>
1063 reviewed by: Keith Packard <keithp@keithp.com>
1066 * fontconfig/fcfreetype.h:
1068 Switch to FreeType 2.1.7 style includes. Bug #150.
1070 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1072 * fc-list/fc-list.sgml: Add some example usages.
1074 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1077 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1080 2003-10-27 Keith Packard <keith@keithp.com>
1083 * fontconfig/fontconfig.h:
1084 Update to version 2.2.92
1086 2003-10-27 Keith Packard <keithp@keithp.com>
1091 * fc-cache/Makefile.am:
1092 * fc-glyphname/Makefile.am:
1093 * fc-lang/Makefile.am:
1094 * fc-list/Makefile.am:
1095 * fc-match/Makefile.am:
1098 Yet more cleanups to finish getting 'make distcheck' working
1099 This has been tested to ensure that it even works from a _build
1102 2003-10-26 Keith Packard <keithp@keithp.com>
1106 * fc-cache/Makefile.am:
1107 * fc-glyphname/Makefile.am:
1108 * fc-lang/Makefile.am:
1109 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1110 * fc-list/Makefile.am:
1111 * fc-match/Makefile.am:
1112 Attempts to fix 'make distcheck' work. Things are
1113 progressing pretty well, but there are still failures
1114 long into the process dealing with docs (as always).
1116 The big changes here are mostly to make $(srcdir) != "."
1117 work correctly, fixing the docbook related sections and
1118 fc-lang were particularily tricky. Docbook refuses to load
1119 system entities from anywhere other than where the original .sgml
1120 file was located, so no luck looking in "." for the
1121 configure-generated version.sgml and confdir.sgml files.
1123 fc-lang needed help finding .orth files; added a -d option
1124 to set the directory as the least evil of many options.
1126 Now to go use a faster machine and try and wring out the last
1129 2003-10-26 Keith Packard <keithp@keithp.com>
1133 2003-10-26 Keith Packard <keithp@keithp.com>
1136 Include confdir.sgml.in in EXTRA_DIST
1138 2003-10-09 Josselin Mouette <joss@debian.org>
1140 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1141 * fc-list/fc-list.sgml fc-list/Makefile.am:
1142 Replace fc-cache and fc-list manpages with more detailed, SGML
1145 2003-09-23 Owen Taylor <otaylor@redhat.com>
1147 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1148 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1149 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1152 2003-09-23 Owen Taylor <otaylor@redhat.com>
1154 * fc-lang/ka.orth: Remove Georgian capitals, they
1155 aren't used for normal writing. (Bug #116)
1157 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1159 * doc/fontconfig-devel.sgml:
1160 * doc/fontconfig-user.sgml:
1161 * fontconfig/fontconfig.h:
1163 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1164 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1166 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1167 monospace and dual-width fonts, allow roughly a 3% variance in the
1170 2003-08-31 Manish Singh <yosh@gimp.org>
1172 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1175 2003-08-15 Carl Worth <cworth@isi.edu>
1177 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1178 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1180 * src/fcpat.c (FcValueListEntDestroy): New function to support
1181 FcFini memory cleanup. Some statistics are not kept in
1183 (FcValueListFreeze): Move hashTable outside this function so it
1184 can be accessed by FcValueListThawAll.
1185 (FcValueListThawAll): New function complements FcValueListFreeze.
1186 (FcPatternBaseFreeze): Move hashTable outside this function so it
1187 can be accessed by FcPatternBaseThawAll.
1188 (FcPatternBaseThawAll): New function complements
1189 FcPatternBaseFreeze.
1190 (FcPatternThawAll): New function complements FcPatternFreeze.
1192 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1194 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1195 allocated FcCharLeafEnt "blocks" so they can be freed later.
1196 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1197 can be accessed by FcCharSetThawAllLeaf.
1198 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1199 (FcCharSetFreezeBase): Move hashTable outside this function so it
1200 can be accessed by FcCharSetThawAll.
1201 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1203 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1204 (FcConfigDestroy): Fic leak of FcBlanks.
1206 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1207 (main): Add call to FcFini when finished.
1209 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1210 static. Add prototypes.
1212 * doc/fcinit.fncs: Add documentation for FcFini function.
1214 * doc/edit-sgml.c: Mark several local functions as static. Add
1217 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1219 2003-06-15 Tor Lillqvist <tml@iki.fi>
1221 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1222 before comparing (needed on Windows).
1224 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1226 2003-06-13 Tor Lillqvist <tml@iki.fi>
1228 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1231 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1232 WINDOWSFONTDIR token.
1234 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1235 end, not to confuse libtool, which expects the EXPORTS line to be
1236 the first. Add FcConfigEnableHome.
1238 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1239 built as a DLL on Win32.
1241 2003-06-09 Keith Packard <keithp@keithp.com>
1243 * Tag version 2.2.90
1245 2003-06-09 Keith Packard <keithp@keithp.com>
1247 * Optimization in FcLangSetIndex was broken, occasionally
1248 returning a pointer to the wrong location on miss
1250 * Add fc-match to test font matching from the command line.
1252 2003-05-31 Keith Packard <keithp@keithp.com>
1254 * (Bug 85) add support for culmus fonts
1255 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1256 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1258 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1260 * Fix "contains" op for strings and langsets.
1262 2003-05-17 Keith Packard <keithp@keithp.com>
1264 * Fix build error with BDF prop local. Free langset after query
1266 2003-05-14 Keith Packard <keithp@keithp.com>
1268 * Extract spacing from XLFD atom
1270 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1272 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1273 disappeared in 1.30.
1275 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1277 2003-05-12 Keith Packard <keithp@keithp.com>
1279 * Use FcIsWidth to share code
1281 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1282 misclassifying some Han fonts as monospaced.
1284 2003-05-07 Keith Packard <keithp@keithp.com>
1286 * Add filename-based accept/reject to ammend available fonts.
1288 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1289 older FreeType releases.
1291 2003-05-06 Keith Packard <keithp@keithp.com>
1293 * Remove 0b82 and Tamil numbers from tamil
1294 orthography (Jungshik Shin <jshin@mailaps.org>)
1296 2003-05-04 Keith Packard <keithp@keithp.com>
1298 + Map glyph names in fonts with adobe custom encoding to unicode
1300 2003-05-02 Keith Packard <keithp@keithp.com>
1302 * Add FC_WEIGHT_BOOK as weight 75
1304 2003-04-30 Keith Packard <keithp@keithp.com>
1306 * Typo in bitstream foundry name
1308 2003-04-24 Keith Packard <keithp@keithp.com>
1310 * Eliminate italic_angle check for PS fonts
1312 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1314 * Getting closer to fixing /etc/fonts hard-coding.
1316 2003-04-22 Keith Packard <keithp@keithp.com>
1318 * Update autogen.sh to work with newer automake versions
1319 * Handle pattern elements moving during multiple edits
1321 2003-04-23 James Henstridge <james@daa.com.au>
1323 * doc/fontconfig-devel.sgml: close the <para> element.
1325 * doc/fcpattern.fncs: close the <para> element.
1327 * doc/func.sgml: close the <refsynopsisdiv> element.
1329 2003-04-22 Keith Packard <keithp@keithp.com
1331 * Update autogen.sh to work with newer automake versions
1332 * Handle pattern elements moving during multiple edits
1334 2003-04-17 Colin Walters <walters@debian.org>
1336 + Remove some unused variables, and initialize some other ones so
1337 gcc doesn't warn us.
1339 2003-04-16 Keith Packard <keithp@keithp.com>
1341 + tag version 2.1.94
1343 2003-04-16 Keith Packard <keithp@keithp.com>
1345 + add BDF property fetching support for foundry
1346 (from Juliusz Chroboczek)
1347 + add BDF property fetching support for width
1349 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1351 + Implemented foundry generation for Type 1 and TrueType
1353 2003-04-11 Gerard Escalante <g2@magestudios.net>
1355 + Retrieve information from Type1 FontInfo dictionaries
1357 2003-04-07 Colin Walters <walters@verbum.org>
1359 + src/Makefile.am: Fix dummy makefile target names when
1360 MS_LIB_AVAILABLE isn't set.
1362 2003-03-22 Tor Lillqvist <tml@iki.fi>
1364 Changes for Windows:
1366 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1368 + We don't want to hardcode the fonts.conf file location in the
1369 DLL, so we look up the DLL location at run-time in a DllMain()
1370 function. The fonts.conf location is deduced from that.
1372 + The colon can't be used as path separator on Windows,
1373 semicolon is used instead. File path components can be separated
1374 with either slash or backslash. Absolute paths can also begin
1375 with a drive letter.
1377 + Add internal function FcStrLastSlash that strrchr's the last
1378 slash, or backslash on Windows.
1380 + There is no link() on Windows. For atomicity checks, mkdir a
1381 lock directory instead.
1383 + In addition to HOME, also look for USERPROFILE.
1385 + Recognize the special font directory token WINDOWSFONTDIR, to
1386 use the system's font directory.
1388 + Remove the fontconfig-def.cpp that was obsolete. Add
1389 fontconfig.def(.in), without internal functions.
1391 + Add a fontconfig-zip(.in) script, used to build a binary
1394 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1395 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1396 to main package and man3/* to devel package
1398 + Added missing defattr(-, root, root) to main RPM package
1400 + Added HTML and text development documentation to -devel subpackage
1402 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1403 + Added back the configure macro options --disable-docs, otherwise
1404 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1405 version number) unconditionally, causing RPM to fail the build due
1406 to _unpackaged_files_terminate_build. We pick up the pregenerated
1407 docs with %doc already.
1409 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1410 + Removed commented out rpm macro define at top of spec file,
1411 replacing it with a simple explanation, since rpm macros are
1412 expanded by rpm even in comments.
1414 + Changed /usr/bin to _bindir in BuildRequires lines
1416 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1418 + Reorganized file manifest lists
1420 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1422 + fontconfig.spec.in: Improvements from Red Hat spec file.
1424 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1426 + docs/*.sgml: SGML fixes.
1428 Sat Mar 1 17:28:53 PST 2003 keithp
1429 + Ok, so the ChangeLog is a bit out of date
1431 + Lots of bugs fixed; most are in bugzilla, the
1432 biggest problems were in cache management where
1433 Owen discovered the library would lose badly when
1434 combining fonts-cache and ~/.fonts-cache data
1436 + Converted from autoconf to automake. This after
1437 getting patches accepted into libtool to allow
1438 the '-version-number' argument which lets
1439 packages set version numbers explicitly rather
1440 than the roundabout libtool way
1442 + Converted documentation to SGML using the docbook
1443 DTD. Now .txt and .html documents are installed
1444 in /usr/share/doc/fontconfig and there's no
1445 man page. Perhaps a man version can be written
1448 Sat Aug 31 15:21:22 PDT 2002 keithp
1449 + Xrender and Xft had several bugs related to
1450 rendering manually placed or poly-face text
1452 + Added more complete memory tracing in fontconfig
1453 Checked with (patched) mozilla and found no leaks
1455 + Updated Latin orthographies by comparing those from
1456 evertype.com with those from eki.ee. Tried to make
1457 sensible choices, including chars that occured in both
1458 and leaving some optional chars out that occured only
1461 Mon Aug 26 16:33:04 PDT 2002 keithp
1462 + Owen discovered that FcLangSetHasLang wasn't actually
1463 checking the language set.
1465 Mon Aug 26 13:37:23 PDT 2002 keithp
1466 + Append a version number to cache filenames
1468 Thu Aug 22 11:36:18 PDT 2002 keithp
1470 + Add "contains" and "not_contains" operators and elements to
1473 + Changed semantics of eq operator for LangSets to check for
1474 FcLangEqual so that any match will do
1476 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1477 of FcValueEqual to check for identical values when inserting into
1478 the results. This broke when the above semantic change was made,
1479 now it uses FcValueEqual which is "more correct" in any case.
1481 Thu Aug 22 00:32:29 PDT 2002 keithp
1483 + Reimplement FC_LANG as new datatype. Lists of strings
1484 was consuming over a megabyte of memory for 401 fonts.
1486 + Freeze patterns loaded from cache files. This shares
1487 common value lists and common patterns which saves
1488 considerable memory.
1490 + Change the denotation of 'constant' charsets to use special
1491 ref value instead of separate boolean.
1493 + Clean up leak tracing stuff, found several unannoted alloc/free
1496 Tue Aug 20 16:17:37 PDT 2002 keithp
1498 + Fix memory leak when parsing matrices from XML
1500 Mon Aug 19 11:57:27 PDT 2002 keithp
1502 + Fix autoconf files to pass FONTCONFIG_PATH on
1503 compile line so that ${prefix} gets substituted
1506 + Use getc_unlocked/putc_unlocked on systems that
1507 provide them to avoid damage done to stdio by posix
1509 + Eliminate FC_PATTERN and FcTypePattern in favor of
1510 an extended api for FcConfigSubstitute which takes
1511 both the font and the pattern.
1513 + Add 'sans serif' alias for 'sans-serif' as some apps
1514 can't handle hyphens in family names
1516 + Eliminate pretense of support for libxml2
1518 + Comment origins of Han orthographies
1520 Tue Jul 30 18:37:09 PDT 2002 keithp
1522 + Add binding property to edit element so that strong
1523 binding values may be inserted by the config file.
1524 The default remains weak.
1526 Sun 28 Jul 04:16:55 PDT 2002 keithp
1528 + Tagged release candidate 1 in the CVS tree and
1529 placed fcpackage.rc1.tar.gz for distribution
1531 Thu Aug 1 08:55:08 PDT 2002 keithp
1533 + Fixed autoconf builds to always specify install
1534 target files (for BSD). Also fixed to
1535 define FONTCONFIG_PATH in config.h so that
1536 nonstandard installs will actually work.