1 2005-07-25 Keith Packard <keithp@keithp.com>
3 * doc/fontconfig-user.sgml:
4 * fc-glyphname/fc-glyphname.c: (scan), (main):
5 * fc-lang/fc-lang.c: (FcConfigHome):
6 * fc-match/fc-match.c: (main):
7 * src/fccfg.c: (FcConfigHome):
8 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
9 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
10 (addtag), (FcFontCapabilities):
11 * src/fcpat.c: (FcValueListEntCreate):
12 * src/fcstr.c: (FcStrCaseWalkerInit):
13 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
15 Various GCC 4 cleanups for signed vs unsigned char
17 Match only [0-9]*.conf files in <include>{directory}</include>
18 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
20 2005-07-15 Carl Worth <cworth@cworth.org>
23 * src/fcinit.c: (FcFini):
24 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
27 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
28 Pull the FcObjectStateName hash table out to file scope, and add
29 FcObjectStaticNameFini so that FcFini will cleanup this hash table
32 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
35 2005-06-16 Patrick Lam <plam@MIT.EDU>
39 * src/fccfg.c: (FcConfigCompareValue):
40 Make FcOpNotContains use FcStrStr for strings so that
41 it matches semantics for !FcOpContains.
43 2005-05-20 Keith Packard <keithp@keithp.com>
47 Move fontconfig source package to libs as per override
49 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
51 reviewed by: Mike Fabian
54 The ka.orth file requires several characters which are not
55 used anymore in modern Georgian and which are missing in the free
56 Georgian TrueType fonts downloadable at:
58 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
60 2005-04-27 Keith Packard <keithp@keithp.com>
64 Update date to real 2.3.2 release date.
65 Fix change attributions
67 2005-04-27 Keith Packard <keithp@keithp.com>
70 Bump so revision for 2.3.2
71 * fc-cache/fc-cache.c: (scanDirs):
72 Fix a few minor leaks in error cases.
74 2005-04-23 Keith Packard <keithp@keithp.com>
79 * fontconfig/fontconfig.h:
80 Update for version 2.3.2
82 2005-04-21 Keith Packard <keithp@keithp.com>
84 * debian/fontconfig.postinst:
85 Don't force bitmap font enable in default
86 configuration; allows users to override this in
97 * debian/po/templates.pot:
102 * fc-cache/fc-cache.c: (main):
103 Destroy font configuration on exit to help valgrind
106 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
107 (FcFreeTypeCheckGlyph):
108 Use own transcoding routines in preference to iconv
109 which appears to have leaks in some translators.
110 Call iconv_close after using iconv (oops).
112 Prefer unicode encoding of Euro char as some
113 fonts mis-encode Euro in other ones.
115 Must fetch bitmap glyphs to get width values
116 to check for monospace/dual-width fonts.
118 2005-04-13 Ross Burton <ross@burtonini.com>
121 Check that a pattern isn't already frozen in FcPatternFreeze.
123 2005-03-31 Ross Burton <ross@burtonini.com>
128 Run all FcPattern objects through FcObjectStaticName, so that
129 compares can be done on pointers instead of strings (#2659)
131 2005-03-17 Tor Lillqvist <tml@novell.com>
133 * src/fontconfig.def.in: Add the .dll to the dll name.
135 2005-03-10 Keith Packard <keithp@keithp.com>
137 * debian/README.Debian:
138 Update to reflect configuration changes
140 * debian/fontconfig.postinst:
141 Fix Autohint vs Autohinter mistake
142 * debian/fontconfig.templates:
143 Adopt changes from Josselin Mouette for configuration descriptions
144 Update debian to version 2.3.1-2
146 2005-03-08 Keith Packard <keithp@keithp.com>
150 Update debian for 2.3.1
152 2005-03-09 Tor Lillqvist <tml@novell.com>
154 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
157 * src/fccfg.c (FcConfigFileExists): Check also drive letter
160 2005-03-08 Keith Packard <keithp@keithp.com>
164 * fontconfig/fontconfig.h:
167 2005-03-05 Keith Packard <keithp@keithp.com>
169 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
170 Include space and remove numbers from valid script tags.
171 This ensures that tags like 'lao ' work while rejecting
172 those which have any digits.
173 Eliminate a spurious debugging variable (len)
175 2005-03-05 Keith Packard <keithp@keithp.com>
177 * src/fcfreetype.c: (addtag), (GetScriptTags),
178 (FcFontCapabilities):
179 Rework GSUB/GPOS script parsing to survive broken fonts.
180 Thanks for the broken font go to Manish Singh
182 2005-03-05 Keith Packard <keithp@keithp.com>
187 * debian/fontconfig.config:
188 * debian/fontconfig.templates:
190 Include 2.3 release information in changelog
191 Add Josselin Mouette as an Uploader
192 Set hinting_type to low priority configuration option
195 * debian/fontconfig.postinst:
196 yes_bitmaps.conf -> yes-bitmaps.conf
202 2005-03-02 Keith Packard <keithp@keithp.com>
205 * conf.d/Makefile.am:
206 * conf.d/autohint.conf:
207 * conf.d/no-sub-pixel.conf:
208 * conf.d/sub-pixel.conf:
209 * conf.d/unhinted.conf:
210 * debian/autohint.conf:
211 * debian/fontconfig.install:
212 * debian/fontconfig.postinst:
213 * debian/fontconfig.templates:
214 * debian/no-sub-pixel.conf:
215 * debian/unhinted.conf:
216 Move debian-specific conf file examples upstream.
218 Sub-pixel configuration examples must smash subpixel value
219 as Xft always sets it from X.
221 Change sub-pixel rendering debconf descriptions from
222 Enable/Disable to Always/Never.
224 2005-03-02 Keith Packard <keithp@keithp.com>
229 Ignore more build detritus
232 Add debian package construction stuff.
234 * config/config.guess:
236 Update to newer versions of these tools
239 Get library manuals to build again (we love automake).
241 * debian/README.Debian:
242 * debian/autohint.conf:
247 * debian/fontconfig-udeb.install:
248 * debian/fontconfig.config:
249 * debian/fontconfig.defoma:
250 * debian/fontconfig.dirs:
251 * debian/fontconfig.install:
252 * debian/fontconfig.postinst:
253 * debian/fontconfig.postrm:
254 * debian/fontconfig.templates:
255 * debian/libfontconfig1-dev.install:
256 * debian/libfontconfig1.install:
257 * debian/local.conf.md5sum:
258 * debian/no-sub-pixel.conf:
259 * debian/po/POTFILES.in:
268 * debian/po/pt_BR.po:
269 * debian/po/templates.pot:
271 * debian/po/zh_CN.po:
273 * debian/unhinted.conf:
274 Update debian build system to switch maintainers and
275 deal with 2.3 functionality
277 2005-03-01 Keith Packard <keithp@keithp.com>
281 * fontconfig/fontconfig.h:
284 2005-03-01 Keith Packard <keithp@keithp.com>
287 Generate and install PDF versions of the manuals
289 * doc/fcpattern.fncs:
293 Add missing exported functions, fix data types
295 * doc/fontconfig-devel.sgml:
296 Add missing pattern elements.
298 * doc/fontconfig-user.sgml:
299 Add missing pattern elements. Document conf.d usage,
300 clarify available orthography list. Fix some config file
301 attributes. Complete list of constants.
303 * fontconfig/fontconfig.h:
304 Mark FC_SOURCE deprecated.
306 * src/fcfreetype.c: (FcFreeTypeQuery):
307 Don't set FC_SOURCE any longer.
309 2005-02-28 Keith Packard <keithp@keithp.com>
312 * conf.d/Makefile.am:
314 * conf.d/no-bitmaps.conf:
315 * conf.d/sub-pixel.conf:
316 * conf.d/yes-bitmaps.conf:
318 Create prototype /etc/fonts/conf.d directory with a few
319 sample configuration files.
320 Deprecate use of local.conf for local customizations in favor of
321 this directory based scheme which is more easily integrated into
322 installation systems.
325 Tag FC_EMBOLDEN as a boolean variable
327 2005-02-10 Keith Packard <keithp@keithp.com>
329 reviewed by: pborelli@katamail.com
331 * src/fcdir.c: (FcFileScanConfig):
332 Free patterns from fonts which are rejected by configuration
335 2005-01-28 Keith Packard <keithp@keithp.com>
339 * fontconfig/fontconfig.h:
340 Update for version 2.2.99
342 2005-01-28 Keith Packard <keithp@keithp.com>
345 Add a few pointers (#2284, #2285)
347 2005-01-28 Keith Packard <keithp@keithp.com>
350 * src/fcname.c: (FcNameBool):
351 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
352 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
353 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
354 Polite typechecking for test and edit expressions. Helps
355 catch errors in the font configuration. (bug 229)
357 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
359 reviewed by: Keith Packard <keithp@keithp.com>
362 Have --with-expat set EXPAT_CFLAGS (bug 2278)
364 2005-01-13 Keith Packard <keithp@keithp.com>
366 * doc/fontconfig-user.sgml:
367 Add SEE ALSO section (bug 2085)
369 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
371 reviewed by: Keith Packard <keithp@keithp.com>
376 * fc-case/Makefile.am:
377 * fc-glyphname/Makefile.am:
378 * fc-lang/Makefile.am:
379 * src/fontconfig.def.in:
380 Cross compiling fixes (bug 280)
382 2005-01-13 Keith Packard <keithp@keithp.com>
385 Update blanks list (Closes bug 86)
387 2005-01-04 Keith Packard <keithp@keithp.com>
389 * src/fccache.c: (FcCacheFontSetAdd):
390 Verify that every font pattern loaded from cache has
391 both FC_FILE and FC_FAMILY entries.
392 Attempt to fix bug #2219.
394 2004-12-29 Keith Packard <keithp@keithp.com>
398 * fontconfig/fontconfig.h:
399 Update for version 2.2.98
401 2004-12-29 Keith Packard <keithp@keithp.com>
403 * fontconfig/fontconfig.h:
404 Document ASCII limitations of Fc character conversion macros
405 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
406 Fix off-by-one error in utf-8 case walking code.
407 Add FcStrDowncase (useful for testing case conversion functions)
409 2004-12-29 Keith Packard <keithp@keithp.com>
412 * fc-case/.cvsignore:
413 clean up CVS ignore lists
414 * fc-lang/iso-3166.txt:
415 Add territory database
417 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
419 Reviewed by: Keith Packard
422 Remove Han characters from Korean orthography
424 2004-12-29 Keith Packard <keithp@keithp.com>
427 Reorder utility programs to make sure fc-case is run before fc-lang
428 as fc-lang uses fcstr.c which uses fccase.h
432 2004-12-29 Keith Packard <keithp@keithp.com>
435 Adopt some RedHat suggestions for standard font configuration.
439 * fc-case/CaseFolding.txt:
440 * fc-case/Makefile.am:
441 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
442 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
443 (dump), (parseRaw), (caseFoldReadRaw), (main):
444 * fc-case/fccase.tmpl.h:
445 Add new helper program 'fc-case' to construct case folding
446 tables from standard Unicode CaseFolding.txt file
449 * src/fclist.c: (FcListValueHash):
450 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
451 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
452 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
453 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
454 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
455 Re-implement case insensitive functions with Unicode
456 aware versions (including full case folding mappings)
458 2004-12-13 Keith Packard <keithp@keithp.com>
460 reviewed by: Owen Taylor <otaylor@redhat.com>
462 * src/fcmatch.c: (FcFontSetSort):
463 I changed FcFontSetSort to respect the generic aliases better
464 in the face of language matching.
466 What I did was to ammend the strict sort order used by FcFontSort so
467 that it 'satisfies' the language specified in the pattern by locating
468 the best matching font supporting each pattern language and then
469 ignores language in the remaining fonts for purposes of matching.
471 So, when asking for 'sans:lang=en', you'll get an English font first,
472 and then the remaining fonts sorted with respect to the 'sans' alias
473 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
475 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
477 reviewed by: Keith Packard <keithp@keithp.com>
479 * fontconfig/fontconfig.h:
482 Configuration changes to request synthetic emboldening of
483 fonts. The actual emboldening code will live in Xft.
485 2004-12-09 John Thacker <thacker@math.cornell.edu>
487 reviewed by: Keith Packard <keithp@keithp.com>
491 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
492 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
493 и), and don't even appear in KOI8-R. (The hypothesis that they
494 don't appear in KOI8-R due to their similarity with Latin I and i is
495 eliminated by their presence in KOI8-U.) I have a couple of fonts
496 with Russian support that don't have the letter.
498 Therefore, 0406 and 0456 should be removed from or commented out of
501 2004-12-06 michael meeks <mmeeks@novell.com>
503 Reviewed by: Keith Packard <keithp@keithp.com>
505 * src/fcinit.c: (FcMemReport):
507 * src/fclist.c: (FcObjectSetAdd):
508 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
509 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
510 * src/fcxml.c: (FcParsePatelt):
511 memoize strings and share a single copy for all uses. Note that
512 this could be improved further by using statically allocated blocks
513 and gluing multiple strings together, but I'm basically lazy.
514 In my environment with 800 font files, I get a savings of about 90KB.
516 2004-12-06 Keith Packard <keithp@keithp.com>
520 * config/Makedefs.in:
525 * doc/fccharset.fncs:
527 * doc/fcconstant.fncs:
529 * doc/fcfontset.fncs:
530 * doc/fcfreetype.fncs:
533 * doc/fcobjectset.fncs:
534 * doc/fcobjecttype.fncs:
535 * doc/fcpattern.fncs:
539 * doc/fontconfig-devel.sgml:
540 * doc/fontconfig-user.sgml:
542 * doc/version.sgml.in:
543 * fc-cache/Makefile.am:
544 * fc-cache/fc-cache.c:
545 * fc-glyphname/Makefile.am:
546 * fc-glyphname/fc-glyphname.c:
547 * fc-glyphname/fcglyphname.tmpl.h:
548 * fc-lang/Makefile.am:
558 * fc-lang/az_ir.orth:
593 * fc-lang/fc-lang.man:
594 * fc-lang/fclang.tmpl.h:
639 * fc-lang/ku_ir.orth:
672 * fc-lang/ps_af.orth:
673 * fc-lang/ps_pk.orth:
702 * fc-lang/ti_er.orth:
703 * fc-lang/ti_et.orth:
729 * fc-lang/zh_cn.orth:
730 * fc-lang/zh_hk.orth:
731 * fc-lang/zh_mo.orth:
732 * fc-lang/zh_sg.orth:
733 * fc-lang/zh_tw.orth:
735 * fc-list/Makefile.am:
737 * fc-match/Makefile.am:
738 * fc-match/fc-match.1:
739 * fc-match/fc-match.c:
740 * fontconfig/fcfreetype.h:
741 * fontconfig/fcprivate.h:
742 * fontconfig/fontconfig.h:
763 Change files from ISO-Latin-1 to UTF-8
765 2004-12-04 Keith Packard <keithp@keithp.com>
768 Update links to new freedesktop.org locations
770 Add uninstall-local to get rid of fonts.conf and local.conf if they
771 match the distributed versions. Fixes 'make distcheck'
773 2004-12-04 Keith Packard <keithp@keithp.com>
777 * fontconfig/fontconfig.h:
778 Updates for version 2.2.97
780 2004-12-04 Owen Taylor <otaylor@redhat.com>
782 reviewed by: Keith Packard <keithp@keithp.com>
784 * fc-cache/fc-cache.c: (main):
785 Sleep for two seconds before exiting to make sure timestamps
786 for future changes have distinct mod times in the file system.
789 Add Punjabi orthography. Bug #1671.
791 2004-12-04 Keith Packard <keithp@keithp.com>
794 Just remove the FC_FONTDATE -- it has locale issues and
795 annoys redhat multi-arch installs. Now that all X fonts are
796 included without prejudice, the chances of the date being at
797 all interesting are rather limited. Bug #505.
799 Add copyright and license
801 2004-12-04 Keith Packard <keithp@keithp.com>
804 Change default set of fonts to include all of
805 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
806 * doc/fontconfig-user.sgml:
807 Document new <include>directory-name</include> semantics
809 add <include ignore_missing="yes">conf.d</include>
811 Add selectfont to ignore bitmap fonts, add comment for
812 selectfont which accepts bitmap fonts.
815 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
816 Allow <include> configuration elements to reference directories.
817 Parse and load all files of the form [0-9]* in sorted order.
819 2004-12-04 Keith Packard <keithp@keithp.com>
822 Report command line for $srcdir/configure accurately.
825 2004-12-04 Keith Packard <keithp@keithp.com>
827 * src/fcfreetype.c: (FcFreeTypeQuery):
828 Check for non-empty face->family_name and face->style_name
829 before using those for the font. Empty names match everything.
832 2004-12-04 Keith Packard <keithp@keithp.com>
835 * fontconfig/fontconfig.h:
836 * src/fcfreetype.c: (FcFreeTypeQuery):
838 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
839 available. This provides font file format information (BDF, Type 1,
840 PCF, TrueType) for each font. Closes #109.
842 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
844 reviewed by: Keith Packard <keithp@keithp.com>
846 * doc/fontconfig-user.sgml:
849 * fontconfig/fontconfig.h:
850 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
851 (GetScriptTags), (FcFontCapabilities):
853 Add detection for font capabilities (bug #105)
855 2004-12-04 Keith Packard <keithp@keithp.com>
858 Move existing fonts.conf to fonts.conf.bak
861 Add detection of iconv
863 * doc/fcpattern.fncs:
864 * doc/fontconfig-devel.sgml:
865 * doc/fontconfig-user.sgml:
867 Document new selectfont elements
870 Switch to UTF-8 in comment
872 * fontconfig/fontconfig.h:
874 Add fullname, and family/style/fullname language entries
876 * src/fccache.c: (FcCacheFontSetAdd):
877 * src/fcdir.c: (FcFileScanConfig):
878 Respect selectfont/*/glob
881 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
882 (FcConfigCompareValue), (FcConfigPatternsAdd),
883 (FcConfigPatternsMatch), (FcConfigAcceptFont):
884 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
885 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
886 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
887 Add support for selectfont
889 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
890 (FcStringInPatternElement), (FcFreeTypeQuery):
891 Add multi-lingual family/style/fullname support
893 * src/fclist.c: (FcListPatternMatchAny):
894 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
896 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
897 (FcObjectStaticName):
898 Add new FcPatternRemove/FcPatternAppend.
899 FcObjectStaticName stores computed pattern element names which
900 are required to be static.
902 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
907 Remove spurious / after $(DESTDIR)
909 2004-06-30 Keith Packard <keithp@keithp.com>
913 * fontconfig/fontconfig.h:
916 2004-06-30 Keith Packard <keithp@keithp.com>
918 Provided by: Lubos Lunak <l.lunak@suse.cz>
920 * src/fccfg.c: (FcConfigUptoDate):
921 However FcConfigUptoDate() doesn't seem to work. See the attached
922 patch. First there's an obvious misplaced parenthesis making it
923 return always false, and second, even this call fails to detect font
924 changes (e.g. adding a new font to
925 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
926 well. The problem seems to be triggered by my fonts.conf specifying
927 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
928 doesn't include subdirs, unlike config->fontDirs.
930 2004-06-03 Keith Packard <keithp@keithp.com>
932 * fontconfig/fontconfig.h:
933 Remove comma at end of FcResult enum definition.
935 2004-05-29 Keith Packard <keithp@keithp.com>
938 Add steps to md5sum release
940 2004-05-29 Keith Packard <keithp@keithp.com>
944 * fontconfig/fontconfig.h:
947 2004-05-29 Keith Packard <keithp@keithp.com>
949 * fontconfig/fontconfig.h:
950 * src/fcmatch.c: (FcFontSetMatch):
951 Add FcResultOutOfMemory to provide an accurate error when
952 FcFontSetMatch fails in this way
955 Make #warning about lacking various FreeType features indicate
956 which version those features appeared so users know how to
957 fix the problem (Thanks to Anton Tropashko)
959 2004-05-05 Keith Packard <keithp@keithp.com>
961 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
962 Replace MIN/MAX/ABS macros which happen to have come
963 from FreeType with fontconfig-specific ones (FC_*)
965 2004-04-23 Keith Packard <keithp@keithp.com>
968 Extend release preparation instructions to include
969 notification and distribution steps
971 2004-04-23 Keith Packard <keithp@keithp.com>
975 * fontconfig/fontconfig.h:
976 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
978 2004-04-23 Keith Packard <keithp@keithp.com>
981 Ignore a few more autotool files
983 2004-04-14 Keith Packard <keithp@keithp.com>
986 Add instructions for doing a release
988 * fontconfig.spec.in:
989 clean up .spec file; perhaps this will be useful to somebody...
993 * fontconfig/fontconfig.h:
997 Make 'scanopen' static so GCC doesn't whine about lacking prototype
999 * fc-glyphname/Makefile.am:
1000 * fc-lang/Makefile.am:
1001 * fc-list/Makefile.am:
1002 * fc-match/Makefile.am:
1004 Add WARN_CFLAGS to pass -W flags for GCC systems
1006 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1007 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1008 Change various char types around to match across
1010 Fixed bug in using available_sizes[i].height which
1011 is in pixels, not 64ths of a pixel.
1013 2004-03-06 Keith Packard <keithp@keithp.com>
1015 * src/fcfreetype.c: (FcFreeTypeQuery):
1016 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1017 matches looking for explicit values prefer exact matches
1019 2004-03-02 Keith Packard <keithp@keithp.com>
1021 Supplied by: mfabian@suse.de (Mike FABIAN)
1023 * src/fcfreetype.c: (FcFreeTypeQuery):
1024 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1025 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1027 2004-02-21 Manish Singh <yosh@gimp.org>
1029 * fc-glyphname/fc-glyphname.c: (main):
1030 Cast strlen to int for printf, so we're 64-bit clean.
1032 2004-02-11 Keith Packard <keithp@keithp.com>
1035 * src/fcfreetype.c: (FcGetPixelSize):
1036 Ok, so I messed up the test for y_ppem. Let's see if I
1037 got it right this time.
1039 2004-02-10 Keith Packard <keithp@keithp.com>
1042 * src/fcfreetype.c: (FcGetPixelSize):
1043 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1044 FT_Bitmap_Size record. Add a configure.in test for this
1045 and change the code accordingly (using height instead).
1047 2004-02-06 Keith Packard <keithp@keithp.com>
1050 Add Low Saxon orthography
1051 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1053 * src/fccfg.c: (FcConfigNewestFile):
1054 Oops. Left 'newest.set' unset, which would miscompute
1057 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1058 (FcFreeTypeCheckGlyph):
1059 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1060 font properties (which report the wrong value in current FreeType)
1062 Don't attempt to check for empty glyphs in non-scalable fonts; they
1065 2004-02-01 Tor Lillqvist <tml@iki.fi>
1067 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1068 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1069 cache if config->cache is NULL, which happens if FcConfigHome() is
1070 NULL. Guard against that by using the temp folder in that case.
1072 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1074 * fc-lang/az_ir.orth:
1075 * fc-lang/ku_ir.orth:
1076 * fc-lang/ps_af.orth:
1077 * fc-lang/ps_pk.orth:
1078 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1079 (Afghan and Pakistani).
1081 Updated Urdu orthography with real data.
1083 2003-12-11 Carl Worth <cworth@east.isi.edu>
1085 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1088 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1090 (all-local): Remove excessive whitespace.
1092 * autogen.sh: Add 'set -e' to abort when any program fails,
1093 (avoids printing of 'now type make' after configure aborts).
1095 2003-11-17 Eric Christopherson <rakko@charter.net>
1097 reviewed by: Keith Packard <keithp@keithp.com>
1100 * fontconfig/fcfreetype.h:
1102 Switch to FreeType 2.1.7 style includes. Bug #150.
1104 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1106 * fc-list/fc-list.sgml: Add some example usages.
1108 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1111 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1114 2003-10-27 Keith Packard <keith@keithp.com>
1117 * fontconfig/fontconfig.h:
1118 Update to version 2.2.92
1120 2003-10-27 Keith Packard <keithp@keithp.com>
1125 * fc-cache/Makefile.am:
1126 * fc-glyphname/Makefile.am:
1127 * fc-lang/Makefile.am:
1128 * fc-list/Makefile.am:
1129 * fc-match/Makefile.am:
1132 Yet more cleanups to finish getting 'make distcheck' working
1133 This has been tested to ensure that it even works from a _build
1136 2003-10-26 Keith Packard <keithp@keithp.com>
1140 * fc-cache/Makefile.am:
1141 * fc-glyphname/Makefile.am:
1142 * fc-lang/Makefile.am:
1143 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1144 * fc-list/Makefile.am:
1145 * fc-match/Makefile.am:
1146 Attempts to fix 'make distcheck' work. Things are
1147 progressing pretty well, but there are still failures
1148 long into the process dealing with docs (as always).
1150 The big changes here are mostly to make $(srcdir) != "."
1151 work correctly, fixing the docbook related sections and
1152 fc-lang were particularily tricky. Docbook refuses to load
1153 system entities from anywhere other than where the original .sgml
1154 file was located, so no luck looking in "." for the
1155 configure-generated version.sgml and confdir.sgml files.
1157 fc-lang needed help finding .orth files; added a -d option
1158 to set the directory as the least evil of many options.
1160 Now to go use a faster machine and try and wring out the last
1163 2003-10-26 Keith Packard <keithp@keithp.com>
1167 2003-10-26 Keith Packard <keithp@keithp.com>
1170 Include confdir.sgml.in in EXTRA_DIST
1172 2003-10-09 Josselin Mouette <joss@debian.org>
1174 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1175 * fc-list/fc-list.sgml fc-list/Makefile.am:
1176 Replace fc-cache and fc-list manpages with more detailed, SGML
1179 2003-09-23 Owen Taylor <otaylor@redhat.com>
1181 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1182 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1183 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1186 2003-09-23 Owen Taylor <otaylor@redhat.com>
1188 * fc-lang/ka.orth: Remove Georgian capitals, they
1189 aren't used for normal writing. (Bug #116)
1191 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1193 * doc/fontconfig-devel.sgml:
1194 * doc/fontconfig-user.sgml:
1195 * fontconfig/fontconfig.h:
1197 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1198 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1200 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1201 monospace and dual-width fonts, allow roughly a 3% variance in the
1204 2003-08-31 Manish Singh <yosh@gimp.org>
1206 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1209 2003-08-15 Carl Worth <cworth@isi.edu>
1211 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1212 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1214 * src/fcpat.c (FcValueListEntDestroy): New function to support
1215 FcFini memory cleanup. Some statistics are not kept in
1217 (FcValueListFreeze): Move hashTable outside this function so it
1218 can be accessed by FcValueListThawAll.
1219 (FcValueListThawAll): New function complements FcValueListFreeze.
1220 (FcPatternBaseFreeze): Move hashTable outside this function so it
1221 can be accessed by FcPatternBaseThawAll.
1222 (FcPatternBaseThawAll): New function complements
1223 FcPatternBaseFreeze.
1224 (FcPatternThawAll): New function complements FcPatternFreeze.
1226 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1228 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1229 allocated FcCharLeafEnt "blocks" so they can be freed later.
1230 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1231 can be accessed by FcCharSetThawAllLeaf.
1232 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1233 (FcCharSetFreezeBase): Move hashTable outside this function so it
1234 can be accessed by FcCharSetThawAll.
1235 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1237 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1238 (FcConfigDestroy): Fic leak of FcBlanks.
1240 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1241 (main): Add call to FcFini when finished.
1243 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1244 static. Add prototypes.
1246 * doc/fcinit.fncs: Add documentation for FcFini function.
1248 * doc/edit-sgml.c: Mark several local functions as static. Add
1251 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1253 2003-06-15 Tor Lillqvist <tml@iki.fi>
1255 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1256 before comparing (needed on Windows).
1258 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1260 2003-06-13 Tor Lillqvist <tml@iki.fi>
1262 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1265 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1266 WINDOWSFONTDIR token.
1268 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1269 end, not to confuse libtool, which expects the EXPORTS line to be
1270 the first. Add FcConfigEnableHome.
1272 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1273 built as a DLL on Win32.
1275 2003-06-09 Keith Packard <keithp@keithp.com>
1277 * Tag version 2.2.90
1279 2003-06-09 Keith Packard <keithp@keithp.com>
1281 * Optimization in FcLangSetIndex was broken, occasionally
1282 returning a pointer to the wrong location on miss
1284 * Add fc-match to test font matching from the command line.
1286 2003-05-31 Keith Packard <keithp@keithp.com>
1288 * (Bug 85) add support for culmus fonts
1289 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1290 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1292 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1294 * Fix "contains" op for strings and langsets.
1296 2003-05-17 Keith Packard <keithp@keithp.com>
1298 * Fix build error with BDF prop local. Free langset after query
1300 2003-05-14 Keith Packard <keithp@keithp.com>
1302 * Extract spacing from XLFD atom
1304 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1306 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1307 disappeared in 1.30.
1309 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1311 2003-05-12 Keith Packard <keithp@keithp.com>
1313 * Use FcIsWidth to share code
1315 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1316 misclassifying some Han fonts as monospaced.
1318 2003-05-07 Keith Packard <keithp@keithp.com>
1320 * Add filename-based accept/reject to ammend available fonts.
1322 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1323 older FreeType releases.
1325 2003-05-06 Keith Packard <keithp@keithp.com>
1327 * Remove 0b82 and Tamil numbers from tamil
1328 orthography (Jungshik Shin <jshin@mailaps.org>)
1330 2003-05-04 Keith Packard <keithp@keithp.com>
1332 + Map glyph names in fonts with adobe custom encoding to unicode
1334 2003-05-02 Keith Packard <keithp@keithp.com>
1336 * Add FC_WEIGHT_BOOK as weight 75
1338 2003-04-30 Keith Packard <keithp@keithp.com>
1340 * Typo in bitstream foundry name
1342 2003-04-24 Keith Packard <keithp@keithp.com>
1344 * Eliminate italic_angle check for PS fonts
1346 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1348 * Getting closer to fixing /etc/fonts hard-coding.
1350 2003-04-22 Keith Packard <keithp@keithp.com>
1352 * Update autogen.sh to work with newer automake versions
1353 * Handle pattern elements moving during multiple edits
1355 2003-04-23 James Henstridge <james@daa.com.au>
1357 * doc/fontconfig-devel.sgml: close the <para> element.
1359 * doc/fcpattern.fncs: close the <para> element.
1361 * doc/func.sgml: close the <refsynopsisdiv> element.
1363 2003-04-22 Keith Packard <keithp@keithp.com
1365 * Update autogen.sh to work with newer automake versions
1366 * Handle pattern elements moving during multiple edits
1368 2003-04-17 Colin Walters <walters@debian.org>
1370 + Remove some unused variables, and initialize some other ones so
1371 gcc doesn't warn us.
1373 2003-04-16 Keith Packard <keithp@keithp.com>
1375 + tag version 2.1.94
1377 2003-04-16 Keith Packard <keithp@keithp.com>
1379 + add BDF property fetching support for foundry
1380 (from Juliusz Chroboczek)
1381 + add BDF property fetching support for width
1383 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1385 + Implemented foundry generation for Type 1 and TrueType
1387 2003-04-11 Gerard Escalante <g2@magestudios.net>
1389 + Retrieve information from Type1 FontInfo dictionaries
1391 2003-04-07 Colin Walters <walters@verbum.org>
1393 + src/Makefile.am: Fix dummy makefile target names when
1394 MS_LIB_AVAILABLE isn't set.
1396 2003-03-22 Tor Lillqvist <tml@iki.fi>
1398 Changes for Windows:
1400 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1402 + We don't want to hardcode the fonts.conf file location in the
1403 DLL, so we look up the DLL location at run-time in a DllMain()
1404 function. The fonts.conf location is deduced from that.
1406 + The colon can't be used as path separator on Windows,
1407 semicolon is used instead. File path components can be separated
1408 with either slash or backslash. Absolute paths can also begin
1409 with a drive letter.
1411 + Add internal function FcStrLastSlash that strrchr's the last
1412 slash, or backslash on Windows.
1414 + There is no link() on Windows. For atomicity checks, mkdir a
1415 lock directory instead.
1417 + In addition to HOME, also look for USERPROFILE.
1419 + Recognize the special font directory token WINDOWSFONTDIR, to
1420 use the system's font directory.
1422 + Remove the fontconfig-def.cpp that was obsolete. Add
1423 fontconfig.def(.in), without internal functions.
1425 + Add a fontconfig-zip(.in) script, used to build a binary
1428 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1429 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1430 to main package and man3/* to devel package
1432 + Added missing defattr(-, root, root) to main RPM package
1434 + Added HTML and text development documentation to -devel subpackage
1436 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1437 + Added back the configure macro options --disable-docs, otherwise
1438 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1439 version number) unconditionally, causing RPM to fail the build due
1440 to _unpackaged_files_terminate_build. We pick up the pregenerated
1441 docs with %doc already.
1443 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1444 + Removed commented out rpm macro define at top of spec file,
1445 replacing it with a simple explanation, since rpm macros are
1446 expanded by rpm even in comments.
1448 + Changed /usr/bin to _bindir in BuildRequires lines
1450 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1452 + Reorganized file manifest lists
1454 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1456 + fontconfig.spec.in: Improvements from Red Hat spec file.
1458 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1460 + docs/*.sgml: SGML fixes.
1462 Sat Mar 1 17:28:53 PST 2003 keithp
1463 + Ok, so the ChangeLog is a bit out of date
1465 + Lots of bugs fixed; most are in bugzilla, the
1466 biggest problems were in cache management where
1467 Owen discovered the library would lose badly when
1468 combining fonts-cache and ~/.fonts-cache data
1470 + Converted from autoconf to automake. This after
1471 getting patches accepted into libtool to allow
1472 the '-version-number' argument which lets
1473 packages set version numbers explicitly rather
1474 than the roundabout libtool way
1476 + Converted documentation to SGML using the docbook
1477 DTD. Now .txt and .html documents are installed
1478 in /usr/share/doc/fontconfig and there's no
1479 man page. Perhaps a man version can be written
1482 Sat Aug 31 15:21:22 PDT 2002 keithp
1483 + Xrender and Xft had several bugs related to
1484 rendering manually placed or poly-face text
1486 + Added more complete memory tracing in fontconfig
1487 Checked with (patched) mozilla and found no leaks
1489 + Updated Latin orthographies by comparing those from
1490 evertype.com with those from eki.ee. Tried to make
1491 sensible choices, including chars that occured in both
1492 and leaving some optional chars out that occured only
1495 Mon Aug 26 16:33:04 PDT 2002 keithp
1496 + Owen discovered that FcLangSetHasLang wasn't actually
1497 checking the language set.
1499 Mon Aug 26 13:37:23 PDT 2002 keithp
1500 + Append a version number to cache filenames
1502 Thu Aug 22 11:36:18 PDT 2002 keithp
1504 + Add "contains" and "not_contains" operators and elements to
1507 + Changed semantics of eq operator for LangSets to check for
1508 FcLangEqual so that any match will do
1510 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1511 of FcValueEqual to check for identical values when inserting into
1512 the results. This broke when the above semantic change was made,
1513 now it uses FcValueEqual which is "more correct" in any case.
1515 Thu Aug 22 00:32:29 PDT 2002 keithp
1517 + Reimplement FC_LANG as new datatype. Lists of strings
1518 was consuming over a megabyte of memory for 401 fonts.
1520 + Freeze patterns loaded from cache files. This shares
1521 common value lists and common patterns which saves
1522 considerable memory.
1524 + Change the denotation of 'constant' charsets to use special
1525 ref value instead of separate boolean.
1527 + Clean up leak tracing stuff, found several unannoted alloc/free
1530 Tue Aug 20 16:17:37 PDT 2002 keithp
1532 + Fix memory leak when parsing matrices from XML
1534 Mon Aug 19 11:57:27 PDT 2002 keithp
1536 + Fix autoconf files to pass FONTCONFIG_PATH on
1537 compile line so that ${prefix} gets substituted
1540 + Use getc_unlocked/putc_unlocked on systems that
1541 provide them to avoid damage done to stdio by posix
1543 + Eliminate FC_PATTERN and FcTypePattern in favor of
1544 an extended api for FcConfigSubstitute which takes
1545 both the font and the pattern.
1547 + Add 'sans serif' alias for 'sans-serif' as some apps
1548 can't handle hyphens in family names
1550 + Eliminate pretense of support for libxml2
1552 + Comment origins of Han orthographies
1554 Tue Jul 30 18:37:09 PDT 2002 keithp
1556 + Add binding property to edit element so that strong
1557 binding values may be inserted by the config file.
1558 The default remains weak.
1560 Sun 28 Jul 04:16:55 PDT 2002 keithp
1562 + Tagged release candidate 1 in the CVS tree and
1563 placed fcpackage.rc1.tar.gz for distribution
1565 Thu Aug 1 08:55:08 PDT 2002 keithp
1567 + Fixed autoconf builds to always specify install
1568 target files (for BSD). Also fixed to
1569 define FONTCONFIG_PATH in config.h so that
1570 nonstandard installs will actually work.