1 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
4 * src/fcdir.c (FcDirScanConfig):
6 Sort directory entries while scanning them from disk;
7 prevents Heisenbugs due to file ordering in a directory.
9 2005-12-13 Carl Worth <cworth@cworth.org>
13 * conf.d/10LohitGujarati.conf: Add a configuration file that
14 disables hinting for the Lohit Gujarati font (since the hinting
15 distort some glyphs quite badly).
17 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
20 * fc-match/fc-match.c (main):
22 Make getopt_long accept -s parameter to fc-match as well.
24 2005-10-05 Christian Biesinger <cbiesinger@web.de>
25 reviewed by: plam & keithp
29 Use libtool -no-undefined flag on all platforms.
31 2005-10-05 Simos Xenitellis <simos74@gmx.net>
32 reviewed by: plam & keithp
36 Modify config file to use Greek fonts before Asian fonts with
39 2005-07-25 Keith Packard <keithp@keithp.com>
41 * doc/fontconfig-user.sgml:
42 * fc-glyphname/fc-glyphname.c: (scan), (main):
43 * fc-lang/fc-lang.c: (FcConfigHome):
44 * fc-match/fc-match.c: (main):
45 * src/fccfg.c: (FcConfigHome):
46 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
47 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
48 (addtag), (FcFontCapabilities):
49 * src/fcpat.c: (FcValueListEntCreate):
50 * src/fcstr.c: (FcStrCaseWalkerInit):
51 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
53 Various GCC 4 cleanups for signed vs unsigned char
55 Match only [0-9]*.conf files in <include>{directory}</include>
56 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
58 2005-07-15 Carl Worth <cworth@cworth.org>
61 * src/fcinit.c: (FcFini):
62 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
65 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
66 Pull the FcObjectStateName hash table out to file scope, and add
67 FcObjectStaticNameFini so that FcFini will cleanup this hash table
70 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
73 2005-06-16 Patrick Lam <plam@MIT.EDU>
77 * src/fccfg.c: (FcConfigCompareValue):
78 Make FcOpNotContains use FcStrStr for strings so that
79 it matches semantics for !FcOpContains.
81 2005-05-20 Keith Packard <keithp@keithp.com>
85 Move fontconfig source package to libs as per override
87 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
89 reviewed by: Mike Fabian
92 The ka.orth file requires several characters which are not
93 used anymore in modern Georgian and which are missing in the free
94 Georgian TrueType fonts downloadable at:
96 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
98 2005-04-27 Keith Packard <keithp@keithp.com>
102 Update date to real 2.3.2 release date.
103 Fix change attributions
105 2005-04-27 Keith Packard <keithp@keithp.com>
108 Bump so revision for 2.3.2
109 * fc-cache/fc-cache.c: (scanDirs):
110 Fix a few minor leaks in error cases.
112 2005-04-23 Keith Packard <keithp@keithp.com>
117 * fontconfig/fontconfig.h:
118 Update for version 2.3.2
120 2005-04-21 Keith Packard <keithp@keithp.com>
122 * debian/fontconfig.postinst:
123 Don't force bitmap font enable in default
124 configuration; allows users to override this in
134 * debian/po/pt_BR.po:
135 * debian/po/templates.pot:
137 * debian/po/zh_CN.po:
140 * fc-cache/fc-cache.c: (main):
141 Destroy font configuration on exit to help valgrind
144 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
145 (FcFreeTypeCheckGlyph):
146 Use own transcoding routines in preference to iconv
147 which appears to have leaks in some translators.
148 Call iconv_close after using iconv (oops).
150 Prefer unicode encoding of Euro char as some
151 fonts mis-encode Euro in other ones.
153 Must fetch bitmap glyphs to get width values
154 to check for monospace/dual-width fonts.
156 2005-04-13 Ross Burton <ross@burtonini.com>
159 Check that a pattern isn't already frozen in FcPatternFreeze.
161 2005-03-31 Ross Burton <ross@burtonini.com>
166 Run all FcPattern objects through FcObjectStaticName, so that
167 compares can be done on pointers instead of strings (#2659)
169 2005-03-17 Tor Lillqvist <tml@novell.com>
171 * src/fontconfig.def.in: Add the .dll to the dll name.
173 2005-03-10 Keith Packard <keithp@keithp.com>
175 * debian/README.Debian:
176 Update to reflect configuration changes
178 * debian/fontconfig.postinst:
179 Fix Autohint vs Autohinter mistake
180 * debian/fontconfig.templates:
181 Adopt changes from Josselin Mouette for configuration descriptions
182 Update debian to version 2.3.1-2
184 2005-03-08 Keith Packard <keithp@keithp.com>
188 Update debian for 2.3.1
190 2005-03-09 Tor Lillqvist <tml@novell.com>
192 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
195 * src/fccfg.c (FcConfigFileExists): Check also drive letter
198 2005-03-08 Keith Packard <keithp@keithp.com>
202 * fontconfig/fontconfig.h:
205 2005-03-05 Keith Packard <keithp@keithp.com>
207 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
208 Include space and remove numbers from valid script tags.
209 This ensures that tags like 'lao ' work while rejecting
210 those which have any digits.
211 Eliminate a spurious debugging variable (len)
213 2005-03-05 Keith Packard <keithp@keithp.com>
215 * src/fcfreetype.c: (addtag), (GetScriptTags),
216 (FcFontCapabilities):
217 Rework GSUB/GPOS script parsing to survive broken fonts.
218 Thanks for the broken font go to Manish Singh
220 2005-03-05 Keith Packard <keithp@keithp.com>
225 * debian/fontconfig.config:
226 * debian/fontconfig.templates:
228 Include 2.3 release information in changelog
229 Add Josselin Mouette as an Uploader
230 Set hinting_type to low priority configuration option
233 * debian/fontconfig.postinst:
234 yes_bitmaps.conf -> yes-bitmaps.conf
240 2005-03-02 Keith Packard <keithp@keithp.com>
243 * conf.d/Makefile.am:
244 * conf.d/autohint.conf:
245 * conf.d/no-sub-pixel.conf:
246 * conf.d/sub-pixel.conf:
247 * conf.d/unhinted.conf:
248 * debian/autohint.conf:
249 * debian/fontconfig.install:
250 * debian/fontconfig.postinst:
251 * debian/fontconfig.templates:
252 * debian/no-sub-pixel.conf:
253 * debian/unhinted.conf:
254 Move debian-specific conf file examples upstream.
256 Sub-pixel configuration examples must smash subpixel value
257 as Xft always sets it from X.
259 Change sub-pixel rendering debconf descriptions from
260 Enable/Disable to Always/Never.
262 2005-03-02 Keith Packard <keithp@keithp.com>
267 Ignore more build detritus
270 Add debian package construction stuff.
272 * config/config.guess:
274 Update to newer versions of these tools
277 Get library manuals to build again (we love automake).
279 * debian/README.Debian:
280 * debian/autohint.conf:
285 * debian/fontconfig-udeb.install:
286 * debian/fontconfig.config:
287 * debian/fontconfig.defoma:
288 * debian/fontconfig.dirs:
289 * debian/fontconfig.install:
290 * debian/fontconfig.postinst:
291 * debian/fontconfig.postrm:
292 * debian/fontconfig.templates:
293 * debian/libfontconfig1-dev.install:
294 * debian/libfontconfig1.install:
295 * debian/local.conf.md5sum:
296 * debian/no-sub-pixel.conf:
297 * debian/po/POTFILES.in:
306 * debian/po/pt_BR.po:
307 * debian/po/templates.pot:
309 * debian/po/zh_CN.po:
311 * debian/unhinted.conf:
312 Update debian build system to switch maintainers and
313 deal with 2.3 functionality
315 2005-03-01 Keith Packard <keithp@keithp.com>
319 * fontconfig/fontconfig.h:
322 2005-03-01 Keith Packard <keithp@keithp.com>
325 Generate and install PDF versions of the manuals
327 * doc/fcpattern.fncs:
331 Add missing exported functions, fix data types
333 * doc/fontconfig-devel.sgml:
334 Add missing pattern elements.
336 * doc/fontconfig-user.sgml:
337 Add missing pattern elements. Document conf.d usage,
338 clarify available orthography list. Fix some config file
339 attributes. Complete list of constants.
341 * fontconfig/fontconfig.h:
342 Mark FC_SOURCE deprecated.
344 * src/fcfreetype.c: (FcFreeTypeQuery):
345 Don't set FC_SOURCE any longer.
347 2005-02-28 Keith Packard <keithp@keithp.com>
350 * conf.d/Makefile.am:
352 * conf.d/no-bitmaps.conf:
353 * conf.d/sub-pixel.conf:
354 * conf.d/yes-bitmaps.conf:
356 Create prototype /etc/fonts/conf.d directory with a few
357 sample configuration files.
358 Deprecate use of local.conf for local customizations in favor of
359 this directory based scheme which is more easily integrated into
360 installation systems.
363 Tag FC_EMBOLDEN as a boolean variable
365 2005-02-10 Keith Packard <keithp@keithp.com>
367 reviewed by: pborelli@katamail.com
369 * src/fcdir.c: (FcFileScanConfig):
370 Free patterns from fonts which are rejected by configuration
373 2005-01-28 Keith Packard <keithp@keithp.com>
377 * fontconfig/fontconfig.h:
378 Update for version 2.2.99
380 2005-01-28 Keith Packard <keithp@keithp.com>
383 Add a few pointers (#2284, #2285)
385 2005-01-28 Keith Packard <keithp@keithp.com>
388 * src/fcname.c: (FcNameBool):
389 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
390 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
391 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
392 Polite typechecking for test and edit expressions. Helps
393 catch errors in the font configuration. (bug 229)
395 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
397 reviewed by: Keith Packard <keithp@keithp.com>
400 Have --with-expat set EXPAT_CFLAGS (bug 2278)
402 2005-01-13 Keith Packard <keithp@keithp.com>
404 * doc/fontconfig-user.sgml:
405 Add SEE ALSO section (bug 2085)
407 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
409 reviewed by: Keith Packard <keithp@keithp.com>
414 * fc-case/Makefile.am:
415 * fc-glyphname/Makefile.am:
416 * fc-lang/Makefile.am:
417 * src/fontconfig.def.in:
418 Cross compiling fixes (bug 280)
420 2005-01-13 Keith Packard <keithp@keithp.com>
423 Update blanks list (Closes bug 86)
425 2005-01-04 Keith Packard <keithp@keithp.com>
427 * src/fccache.c: (FcCacheFontSetAdd):
428 Verify that every font pattern loaded from cache has
429 both FC_FILE and FC_FAMILY entries.
430 Attempt to fix bug #2219.
432 2004-12-29 Keith Packard <keithp@keithp.com>
436 * fontconfig/fontconfig.h:
437 Update for version 2.2.98
439 2004-12-29 Keith Packard <keithp@keithp.com>
441 * fontconfig/fontconfig.h:
442 Document ASCII limitations of Fc character conversion macros
443 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
444 Fix off-by-one error in utf-8 case walking code.
445 Add FcStrDowncase (useful for testing case conversion functions)
447 2004-12-29 Keith Packard <keithp@keithp.com>
450 * fc-case/.cvsignore:
451 clean up CVS ignore lists
452 * fc-lang/iso-3166.txt:
453 Add territory database
455 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
457 Reviewed by: Keith Packard
460 Remove Han characters from Korean orthography
462 2004-12-29 Keith Packard <keithp@keithp.com>
465 Reorder utility programs to make sure fc-case is run before fc-lang
466 as fc-lang uses fcstr.c which uses fccase.h
470 2004-12-29 Keith Packard <keithp@keithp.com>
473 Adopt some RedHat suggestions for standard font configuration.
477 * fc-case/CaseFolding.txt:
478 * fc-case/Makefile.am:
479 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
480 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
481 (dump), (parseRaw), (caseFoldReadRaw), (main):
482 * fc-case/fccase.tmpl.h:
483 Add new helper program 'fc-case' to construct case folding
484 tables from standard Unicode CaseFolding.txt file
487 * src/fclist.c: (FcListValueHash):
488 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
489 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
490 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
491 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
492 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
493 Re-implement case insensitive functions with Unicode
494 aware versions (including full case folding mappings)
496 2004-12-13 Keith Packard <keithp@keithp.com>
498 reviewed by: Owen Taylor <otaylor@redhat.com>
500 * src/fcmatch.c: (FcFontSetSort):
501 I changed FcFontSetSort to respect the generic aliases better
502 in the face of language matching.
504 What I did was to ammend the strict sort order used by FcFontSort so
505 that it 'satisfies' the language specified in the pattern by locating
506 the best matching font supporting each pattern language and then
507 ignores language in the remaining fonts for purposes of matching.
509 So, when asking for 'sans:lang=en', you'll get an English font first,
510 and then the remaining fonts sorted with respect to the 'sans' alias
511 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
513 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
515 reviewed by: Keith Packard <keithp@keithp.com>
517 * fontconfig/fontconfig.h:
520 Configuration changes to request synthetic emboldening of
521 fonts. The actual emboldening code will live in Xft.
523 2004-12-09 John Thacker <thacker@math.cornell.edu>
525 reviewed by: Keith Packard <keithp@keithp.com>
529 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
530 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
531 и), and don't even appear in KOI8-R. (The hypothesis that they
532 don't appear in KOI8-R due to their similarity with Latin I and i is
533 eliminated by their presence in KOI8-U.) I have a couple of fonts
534 with Russian support that don't have the letter.
536 Therefore, 0406 and 0456 should be removed from or commented out of
539 2004-12-06 michael meeks <mmeeks@novell.com>
541 Reviewed by: Keith Packard <keithp@keithp.com>
543 * src/fcinit.c: (FcMemReport):
545 * src/fclist.c: (FcObjectSetAdd):
546 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
547 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
548 * src/fcxml.c: (FcParsePatelt):
549 memoize strings and share a single copy for all uses. Note that
550 this could be improved further by using statically allocated blocks
551 and gluing multiple strings together, but I'm basically lazy.
552 In my environment with 800 font files, I get a savings of about 90KB.
554 2004-12-06 Keith Packard <keithp@keithp.com>
558 * config/Makedefs.in:
563 * doc/fccharset.fncs:
565 * doc/fcconstant.fncs:
567 * doc/fcfontset.fncs:
568 * doc/fcfreetype.fncs:
571 * doc/fcobjectset.fncs:
572 * doc/fcobjecttype.fncs:
573 * doc/fcpattern.fncs:
577 * doc/fontconfig-devel.sgml:
578 * doc/fontconfig-user.sgml:
580 * doc/version.sgml.in:
581 * fc-cache/Makefile.am:
582 * fc-cache/fc-cache.c:
583 * fc-glyphname/Makefile.am:
584 * fc-glyphname/fc-glyphname.c:
585 * fc-glyphname/fcglyphname.tmpl.h:
586 * fc-lang/Makefile.am:
596 * fc-lang/az_ir.orth:
631 * fc-lang/fc-lang.man:
632 * fc-lang/fclang.tmpl.h:
677 * fc-lang/ku_ir.orth:
710 * fc-lang/ps_af.orth:
711 * fc-lang/ps_pk.orth:
740 * fc-lang/ti_er.orth:
741 * fc-lang/ti_et.orth:
767 * fc-lang/zh_cn.orth:
768 * fc-lang/zh_hk.orth:
769 * fc-lang/zh_mo.orth:
770 * fc-lang/zh_sg.orth:
771 * fc-lang/zh_tw.orth:
773 * fc-list/Makefile.am:
775 * fc-match/Makefile.am:
776 * fc-match/fc-match.1:
777 * fc-match/fc-match.c:
778 * fontconfig/fcfreetype.h:
779 * fontconfig/fcprivate.h:
780 * fontconfig/fontconfig.h:
801 Change files from ISO-Latin-1 to UTF-8
803 2004-12-04 Keith Packard <keithp@keithp.com>
806 Update links to new freedesktop.org locations
808 Add uninstall-local to get rid of fonts.conf and local.conf if they
809 match the distributed versions. Fixes 'make distcheck'
811 2004-12-04 Keith Packard <keithp@keithp.com>
815 * fontconfig/fontconfig.h:
816 Updates for version 2.2.97
818 2004-12-04 Owen Taylor <otaylor@redhat.com>
820 reviewed by: Keith Packard <keithp@keithp.com>
822 * fc-cache/fc-cache.c: (main):
823 Sleep for two seconds before exiting to make sure timestamps
824 for future changes have distinct mod times in the file system.
827 Add Punjabi orthography. Bug #1671.
829 2004-12-04 Keith Packard <keithp@keithp.com>
832 Just remove the FC_FONTDATE -- it has locale issues and
833 annoys redhat multi-arch installs. Now that all X fonts are
834 included without prejudice, the chances of the date being at
835 all interesting are rather limited. Bug #505.
837 Add copyright and license
839 2004-12-04 Keith Packard <keithp@keithp.com>
842 Change default set of fonts to include all of
843 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
844 * doc/fontconfig-user.sgml:
845 Document new <include>directory-name</include> semantics
847 add <include ignore_missing="yes">conf.d</include>
849 Add selectfont to ignore bitmap fonts, add comment for
850 selectfont which accepts bitmap fonts.
853 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
854 Allow <include> configuration elements to reference directories.
855 Parse and load all files of the form [0-9]* in sorted order.
857 2004-12-04 Keith Packard <keithp@keithp.com>
860 Report command line for $srcdir/configure accurately.
863 2004-12-04 Keith Packard <keithp@keithp.com>
865 * src/fcfreetype.c: (FcFreeTypeQuery):
866 Check for non-empty face->family_name and face->style_name
867 before using those for the font. Empty names match everything.
870 2004-12-04 Keith Packard <keithp@keithp.com>
873 * fontconfig/fontconfig.h:
874 * src/fcfreetype.c: (FcFreeTypeQuery):
876 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
877 available. This provides font file format information (BDF, Type 1,
878 PCF, TrueType) for each font. Closes #109.
880 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
882 reviewed by: Keith Packard <keithp@keithp.com>
884 * doc/fontconfig-user.sgml:
887 * fontconfig/fontconfig.h:
888 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
889 (GetScriptTags), (FcFontCapabilities):
891 Add detection for font capabilities (bug #105)
893 2004-12-04 Keith Packard <keithp@keithp.com>
896 Move existing fonts.conf to fonts.conf.bak
899 Add detection of iconv
901 * doc/fcpattern.fncs:
902 * doc/fontconfig-devel.sgml:
903 * doc/fontconfig-user.sgml:
905 Document new selectfont elements
908 Switch to UTF-8 in comment
910 * fontconfig/fontconfig.h:
912 Add fullname, and family/style/fullname language entries
914 * src/fccache.c: (FcCacheFontSetAdd):
915 * src/fcdir.c: (FcFileScanConfig):
916 Respect selectfont/*/glob
919 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
920 (FcConfigCompareValue), (FcConfigPatternsAdd),
921 (FcConfigPatternsMatch), (FcConfigAcceptFont):
922 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
923 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
924 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
925 Add support for selectfont
927 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
928 (FcStringInPatternElement), (FcFreeTypeQuery):
929 Add multi-lingual family/style/fullname support
931 * src/fclist.c: (FcListPatternMatchAny):
932 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
934 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
935 (FcObjectStaticName):
936 Add new FcPatternRemove/FcPatternAppend.
937 FcObjectStaticName stores computed pattern element names which
938 are required to be static.
940 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
945 Remove spurious / after $(DESTDIR)
947 2004-06-30 Keith Packard <keithp@keithp.com>
951 * fontconfig/fontconfig.h:
954 2004-06-30 Keith Packard <keithp@keithp.com>
956 Provided by: Lubos Lunak <l.lunak@suse.cz>
958 * src/fccfg.c: (FcConfigUptoDate):
959 However FcConfigUptoDate() doesn't seem to work. See the attached
960 patch. First there's an obvious misplaced parenthesis making it
961 return always false, and second, even this call fails to detect font
962 changes (e.g. adding a new font to
963 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
964 well. The problem seems to be triggered by my fonts.conf specifying
965 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
966 doesn't include subdirs, unlike config->fontDirs.
968 2004-06-03 Keith Packard <keithp@keithp.com>
970 * fontconfig/fontconfig.h:
971 Remove comma at end of FcResult enum definition.
973 2004-05-29 Keith Packard <keithp@keithp.com>
976 Add steps to md5sum release
978 2004-05-29 Keith Packard <keithp@keithp.com>
982 * fontconfig/fontconfig.h:
985 2004-05-29 Keith Packard <keithp@keithp.com>
987 * fontconfig/fontconfig.h:
988 * src/fcmatch.c: (FcFontSetMatch):
989 Add FcResultOutOfMemory to provide an accurate error when
990 FcFontSetMatch fails in this way
993 Make #warning about lacking various FreeType features indicate
994 which version those features appeared so users know how to
995 fix the problem (Thanks to Anton Tropashko)
997 2004-05-05 Keith Packard <keithp@keithp.com>
999 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1000 Replace MIN/MAX/ABS macros which happen to have come
1001 from FreeType with fontconfig-specific ones (FC_*)
1003 2004-04-23 Keith Packard <keithp@keithp.com>
1006 Extend release preparation instructions to include
1007 notification and distribution steps
1009 2004-04-23 Keith Packard <keithp@keithp.com>
1013 * fontconfig/fontconfig.h:
1014 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1016 2004-04-23 Keith Packard <keithp@keithp.com>
1019 Ignore a few more autotool files
1021 2004-04-14 Keith Packard <keithp@keithp.com>
1024 Add instructions for doing a release
1026 * fontconfig.spec.in:
1027 clean up .spec file; perhaps this will be useful to somebody...
1031 * fontconfig/fontconfig.h:
1034 * fc-lang/fc-lang.c:
1035 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1037 * fc-glyphname/Makefile.am:
1038 * fc-lang/Makefile.am:
1039 * fc-list/Makefile.am:
1040 * fc-match/Makefile.am:
1042 Add WARN_CFLAGS to pass -W flags for GCC systems
1044 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1045 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1046 Change various char types around to match across
1048 Fixed bug in using available_sizes[i].height which
1049 is in pixels, not 64ths of a pixel.
1051 2004-03-06 Keith Packard <keithp@keithp.com>
1053 * src/fcfreetype.c: (FcFreeTypeQuery):
1054 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1055 matches looking for explicit values prefer exact matches
1057 2004-03-02 Keith Packard <keithp@keithp.com>
1059 Supplied by: mfabian@suse.de (Mike FABIAN)
1061 * src/fcfreetype.c: (FcFreeTypeQuery):
1062 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1063 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1065 2004-02-21 Manish Singh <yosh@gimp.org>
1067 * fc-glyphname/fc-glyphname.c: (main):
1068 Cast strlen to int for printf, so we're 64-bit clean.
1070 2004-02-11 Keith Packard <keithp@keithp.com>
1073 * src/fcfreetype.c: (FcGetPixelSize):
1074 Ok, so I messed up the test for y_ppem. Let's see if I
1075 got it right this time.
1077 2004-02-10 Keith Packard <keithp@keithp.com>
1080 * src/fcfreetype.c: (FcGetPixelSize):
1081 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1082 FT_Bitmap_Size record. Add a configure.in test for this
1083 and change the code accordingly (using height instead).
1085 2004-02-06 Keith Packard <keithp@keithp.com>
1088 Add Low Saxon orthography
1089 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1091 * src/fccfg.c: (FcConfigNewestFile):
1092 Oops. Left 'newest.set' unset, which would miscompute
1095 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1096 (FcFreeTypeCheckGlyph):
1097 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1098 font properties (which report the wrong value in current FreeType)
1100 Don't attempt to check for empty glyphs in non-scalable fonts; they
1103 2004-02-01 Tor Lillqvist <tml@iki.fi>
1105 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1106 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1107 cache if config->cache is NULL, which happens if FcConfigHome() is
1108 NULL. Guard against that by using the temp folder in that case.
1110 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1112 * fc-lang/az_ir.orth:
1113 * fc-lang/ku_ir.orth:
1114 * fc-lang/ps_af.orth:
1115 * fc-lang/ps_pk.orth:
1116 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1117 (Afghan and Pakistani).
1119 Updated Urdu orthography with real data.
1121 2003-12-11 Carl Worth <cworth@east.isi.edu>
1123 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1126 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1128 (all-local): Remove excessive whitespace.
1130 * autogen.sh: Add 'set -e' to abort when any program fails,
1131 (avoids printing of 'now type make' after configure aborts).
1133 2003-11-17 Eric Christopherson <rakko@charter.net>
1135 reviewed by: Keith Packard <keithp@keithp.com>
1138 * fontconfig/fcfreetype.h:
1140 Switch to FreeType 2.1.7 style includes. Bug #150.
1142 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1144 * fc-list/fc-list.sgml: Add some example usages.
1146 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1149 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1152 2003-10-27 Keith Packard <keith@keithp.com>
1155 * fontconfig/fontconfig.h:
1156 Update to version 2.2.92
1158 2003-10-27 Keith Packard <keithp@keithp.com>
1163 * fc-cache/Makefile.am:
1164 * fc-glyphname/Makefile.am:
1165 * fc-lang/Makefile.am:
1166 * fc-list/Makefile.am:
1167 * fc-match/Makefile.am:
1170 Yet more cleanups to finish getting 'make distcheck' working
1171 This has been tested to ensure that it even works from a _build
1174 2003-10-26 Keith Packard <keithp@keithp.com>
1178 * fc-cache/Makefile.am:
1179 * fc-glyphname/Makefile.am:
1180 * fc-lang/Makefile.am:
1181 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1182 * fc-list/Makefile.am:
1183 * fc-match/Makefile.am:
1184 Attempts to fix 'make distcheck' work. Things are
1185 progressing pretty well, but there are still failures
1186 long into the process dealing with docs (as always).
1188 The big changes here are mostly to make $(srcdir) != "."
1189 work correctly, fixing the docbook related sections and
1190 fc-lang were particularily tricky. Docbook refuses to load
1191 system entities from anywhere other than where the original .sgml
1192 file was located, so no luck looking in "." for the
1193 configure-generated version.sgml and confdir.sgml files.
1195 fc-lang needed help finding .orth files; added a -d option
1196 to set the directory as the least evil of many options.
1198 Now to go use a faster machine and try and wring out the last
1201 2003-10-26 Keith Packard <keithp@keithp.com>
1205 2003-10-26 Keith Packard <keithp@keithp.com>
1208 Include confdir.sgml.in in EXTRA_DIST
1210 2003-10-09 Josselin Mouette <joss@debian.org>
1212 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1213 * fc-list/fc-list.sgml fc-list/Makefile.am:
1214 Replace fc-cache and fc-list manpages with more detailed, SGML
1217 2003-09-23 Owen Taylor <otaylor@redhat.com>
1219 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1220 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1221 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1224 2003-09-23 Owen Taylor <otaylor@redhat.com>
1226 * fc-lang/ka.orth: Remove Georgian capitals, they
1227 aren't used for normal writing. (Bug #116)
1229 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1231 * doc/fontconfig-devel.sgml:
1232 * doc/fontconfig-user.sgml:
1233 * fontconfig/fontconfig.h:
1235 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1236 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1238 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1239 monospace and dual-width fonts, allow roughly a 3% variance in the
1242 2003-08-31 Manish Singh <yosh@gimp.org>
1244 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1247 2003-08-15 Carl Worth <cworth@isi.edu>
1249 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1250 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1252 * src/fcpat.c (FcValueListEntDestroy): New function to support
1253 FcFini memory cleanup. Some statistics are not kept in
1255 (FcValueListFreeze): Move hashTable outside this function so it
1256 can be accessed by FcValueListThawAll.
1257 (FcValueListThawAll): New function complements FcValueListFreeze.
1258 (FcPatternBaseFreeze): Move hashTable outside this function so it
1259 can be accessed by FcPatternBaseThawAll.
1260 (FcPatternBaseThawAll): New function complements
1261 FcPatternBaseFreeze.
1262 (FcPatternThawAll): New function complements FcPatternFreeze.
1264 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1266 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1267 allocated FcCharLeafEnt "blocks" so they can be freed later.
1268 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1269 can be accessed by FcCharSetThawAllLeaf.
1270 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1271 (FcCharSetFreezeBase): Move hashTable outside this function so it
1272 can be accessed by FcCharSetThawAll.
1273 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1275 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1276 (FcConfigDestroy): Fic leak of FcBlanks.
1278 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1279 (main): Add call to FcFini when finished.
1281 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1282 static. Add prototypes.
1284 * doc/fcinit.fncs: Add documentation for FcFini function.
1286 * doc/edit-sgml.c: Mark several local functions as static. Add
1289 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1291 2003-06-15 Tor Lillqvist <tml@iki.fi>
1293 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1294 before comparing (needed on Windows).
1296 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1298 2003-06-13 Tor Lillqvist <tml@iki.fi>
1300 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1303 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1304 WINDOWSFONTDIR token.
1306 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1307 end, not to confuse libtool, which expects the EXPORTS line to be
1308 the first. Add FcConfigEnableHome.
1310 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1311 built as a DLL on Win32.
1313 2003-06-09 Keith Packard <keithp@keithp.com>
1315 * Tag version 2.2.90
1317 2003-06-09 Keith Packard <keithp@keithp.com>
1319 * Optimization in FcLangSetIndex was broken, occasionally
1320 returning a pointer to the wrong location on miss
1322 * Add fc-match to test font matching from the command line.
1324 2003-05-31 Keith Packard <keithp@keithp.com>
1326 * (Bug 85) add support for culmus fonts
1327 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1328 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1330 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1332 * Fix "contains" op for strings and langsets.
1334 2003-05-17 Keith Packard <keithp@keithp.com>
1336 * Fix build error with BDF prop local. Free langset after query
1338 2003-05-14 Keith Packard <keithp@keithp.com>
1340 * Extract spacing from XLFD atom
1342 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1344 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1345 disappeared in 1.30.
1347 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1349 2003-05-12 Keith Packard <keithp@keithp.com>
1351 * Use FcIsWidth to share code
1353 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1354 misclassifying some Han fonts as monospaced.
1356 2003-05-07 Keith Packard <keithp@keithp.com>
1358 * Add filename-based accept/reject to ammend available fonts.
1360 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1361 older FreeType releases.
1363 2003-05-06 Keith Packard <keithp@keithp.com>
1365 * Remove 0b82 and Tamil numbers from tamil
1366 orthography (Jungshik Shin <jshin@mailaps.org>)
1368 2003-05-04 Keith Packard <keithp@keithp.com>
1370 + Map glyph names in fonts with adobe custom encoding to unicode
1372 2003-05-02 Keith Packard <keithp@keithp.com>
1374 * Add FC_WEIGHT_BOOK as weight 75
1376 2003-04-30 Keith Packard <keithp@keithp.com>
1378 * Typo in bitstream foundry name
1380 2003-04-24 Keith Packard <keithp@keithp.com>
1382 * Eliminate italic_angle check for PS fonts
1384 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1386 * Getting closer to fixing /etc/fonts hard-coding.
1388 2003-04-22 Keith Packard <keithp@keithp.com>
1390 * Update autogen.sh to work with newer automake versions
1391 * Handle pattern elements moving during multiple edits
1393 2003-04-23 James Henstridge <james@daa.com.au>
1395 * doc/fontconfig-devel.sgml: close the <para> element.
1397 * doc/fcpattern.fncs: close the <para> element.
1399 * doc/func.sgml: close the <refsynopsisdiv> element.
1401 2003-04-22 Keith Packard <keithp@keithp.com
1403 * Update autogen.sh to work with newer automake versions
1404 * Handle pattern elements moving during multiple edits
1406 2003-04-17 Colin Walters <walters@debian.org>
1408 + Remove some unused variables, and initialize some other ones so
1409 gcc doesn't warn us.
1411 2003-04-16 Keith Packard <keithp@keithp.com>
1413 + tag version 2.1.94
1415 2003-04-16 Keith Packard <keithp@keithp.com>
1417 + add BDF property fetching support for foundry
1418 (from Juliusz Chroboczek)
1419 + add BDF property fetching support for width
1421 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1423 + Implemented foundry generation for Type 1 and TrueType
1425 2003-04-11 Gerard Escalante <g2@magestudios.net>
1427 + Retrieve information from Type1 FontInfo dictionaries
1429 2003-04-07 Colin Walters <walters@verbum.org>
1431 + src/Makefile.am: Fix dummy makefile target names when
1432 MS_LIB_AVAILABLE isn't set.
1434 2003-03-22 Tor Lillqvist <tml@iki.fi>
1436 Changes for Windows:
1438 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1440 + We don't want to hardcode the fonts.conf file location in the
1441 DLL, so we look up the DLL location at run-time in a DllMain()
1442 function. The fonts.conf location is deduced from that.
1444 + The colon can't be used as path separator on Windows,
1445 semicolon is used instead. File path components can be separated
1446 with either slash or backslash. Absolute paths can also begin
1447 with a drive letter.
1449 + Add internal function FcStrLastSlash that strrchr's the last
1450 slash, or backslash on Windows.
1452 + There is no link() on Windows. For atomicity checks, mkdir a
1453 lock directory instead.
1455 + In addition to HOME, also look for USERPROFILE.
1457 + Recognize the special font directory token WINDOWSFONTDIR, to
1458 use the system's font directory.
1460 + Remove the fontconfig-def.cpp that was obsolete. Add
1461 fontconfig.def(.in), without internal functions.
1463 + Add a fontconfig-zip(.in) script, used to build a binary
1466 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1467 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1468 to main package and man3/* to devel package
1470 + Added missing defattr(-, root, root) to main RPM package
1472 + Added HTML and text development documentation to -devel subpackage
1474 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1475 + Added back the configure macro options --disable-docs, otherwise
1476 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1477 version number) unconditionally, causing RPM to fail the build due
1478 to _unpackaged_files_terminate_build. We pick up the pregenerated
1479 docs with %doc already.
1481 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1482 + Removed commented out rpm macro define at top of spec file,
1483 replacing it with a simple explanation, since rpm macros are
1484 expanded by rpm even in comments.
1486 + Changed /usr/bin to _bindir in BuildRequires lines
1488 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1490 + Reorganized file manifest lists
1492 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1494 + fontconfig.spec.in: Improvements from Red Hat spec file.
1496 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1498 + docs/*.sgml: SGML fixes.
1500 Sat Mar 1 17:28:53 PST 2003 keithp
1501 + Ok, so the ChangeLog is a bit out of date
1503 + Lots of bugs fixed; most are in bugzilla, the
1504 biggest problems were in cache management where
1505 Owen discovered the library would lose badly when
1506 combining fonts-cache and ~/.fonts-cache data
1508 + Converted from autoconf to automake. This after
1509 getting patches accepted into libtool to allow
1510 the '-version-number' argument which lets
1511 packages set version numbers explicitly rather
1512 than the roundabout libtool way
1514 + Converted documentation to SGML using the docbook
1515 DTD. Now .txt and .html documents are installed
1516 in /usr/share/doc/fontconfig and there's no
1517 man page. Perhaps a man version can be written
1520 Sat Aug 31 15:21:22 PDT 2002 keithp
1521 + Xrender and Xft had several bugs related to
1522 rendering manually placed or poly-face text
1524 + Added more complete memory tracing in fontconfig
1525 Checked with (patched) mozilla and found no leaks
1527 + Updated Latin orthographies by comparing those from
1528 evertype.com with those from eki.ee. Tried to make
1529 sensible choices, including chars that occured in both
1530 and leaving some optional chars out that occured only
1533 Mon Aug 26 16:33:04 PDT 2002 keithp
1534 + Owen discovered that FcLangSetHasLang wasn't actually
1535 checking the language set.
1537 Mon Aug 26 13:37:23 PDT 2002 keithp
1538 + Append a version number to cache filenames
1540 Thu Aug 22 11:36:18 PDT 2002 keithp
1542 + Add "contains" and "not_contains" operators and elements to
1545 + Changed semantics of eq operator for LangSets to check for
1546 FcLangEqual so that any match will do
1548 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1549 of FcValueEqual to check for identical values when inserting into
1550 the results. This broke when the above semantic change was made,
1551 now it uses FcValueEqual which is "more correct" in any case.
1553 Thu Aug 22 00:32:29 PDT 2002 keithp
1555 + Reimplement FC_LANG as new datatype. Lists of strings
1556 was consuming over a megabyte of memory for 401 fonts.
1558 + Freeze patterns loaded from cache files. This shares
1559 common value lists and common patterns which saves
1560 considerable memory.
1562 + Change the denotation of 'constant' charsets to use special
1563 ref value instead of separate boolean.
1565 + Clean up leak tracing stuff, found several unannoted alloc/free
1568 Tue Aug 20 16:17:37 PDT 2002 keithp
1570 + Fix memory leak when parsing matrices from XML
1572 Mon Aug 19 11:57:27 PDT 2002 keithp
1574 + Fix autoconf files to pass FONTCONFIG_PATH on
1575 compile line so that ${prefix} gets substituted
1578 + Use getc_unlocked/putc_unlocked on systems that
1579 provide them to avoid damage done to stdio by posix
1581 + Eliminate FC_PATTERN and FcTypePattern in favor of
1582 an extended api for FcConfigSubstitute which takes
1583 both the font and the pattern.
1585 + Add 'sans serif' alias for 'sans-serif' as some apps
1586 can't handle hyphens in family names
1588 + Eliminate pretense of support for libxml2
1590 + Comment origins of Han orthographies
1592 Tue Jul 30 18:37:09 PDT 2002 keithp
1594 + Add binding property to edit element so that strong
1595 binding values may be inserted by the config file.
1596 The default remains weak.
1598 Sun 28 Jul 04:16:55 PDT 2002 keithp
1600 + Tagged release candidate 1 in the CVS tree and
1601 placed fcpackage.rc1.tar.gz for distribution
1603 Thu Aug 1 08:55:08 PDT 2002 keithp
1605 + Fixed autoconf builds to always specify install
1606 target files (for BSD). Also fixed to
1607 define FONTCONFIG_PATH in config.h so that
1608 nonstandard installs will actually work.