1 2005-10-05 Simos Xenitellis <simos74@gmx.net>
2 reviewed by: plam & keithp
6 Modify config file to use Greek fonts before Asian fonts with
9 2005-07-25 Keith Packard <keithp@keithp.com>
11 * doc/fontconfig-user.sgml:
12 * fc-glyphname/fc-glyphname.c: (scan), (main):
13 * fc-lang/fc-lang.c: (FcConfigHome):
14 * fc-match/fc-match.c: (main):
15 * src/fccfg.c: (FcConfigHome):
16 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
17 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
18 (addtag), (FcFontCapabilities):
19 * src/fcpat.c: (FcValueListEntCreate):
20 * src/fcstr.c: (FcStrCaseWalkerInit):
21 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
23 Various GCC 4 cleanups for signed vs unsigned char
25 Match only [0-9]*.conf files in <include>{directory}</include>
26 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
28 2005-07-15 Carl Worth <cworth@cworth.org>
31 * src/fcinit.c: (FcFini):
32 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
35 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
36 Pull the FcObjectStateName hash table out to file scope, and add
37 FcObjectStaticNameFini so that FcFini will cleanup this hash table
40 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
43 2005-06-16 Patrick Lam <plam@MIT.EDU>
47 * src/fccfg.c: (FcConfigCompareValue):
48 Make FcOpNotContains use FcStrStr for strings so that
49 it matches semantics for !FcOpContains.
51 2005-05-20 Keith Packard <keithp@keithp.com>
55 Move fontconfig source package to libs as per override
57 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
59 reviewed by: Mike Fabian
62 The ka.orth file requires several characters which are not
63 used anymore in modern Georgian and which are missing in the free
64 Georgian TrueType fonts downloadable at:
66 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
68 2005-04-27 Keith Packard <keithp@keithp.com>
72 Update date to real 2.3.2 release date.
73 Fix change attributions
75 2005-04-27 Keith Packard <keithp@keithp.com>
78 Bump so revision for 2.3.2
79 * fc-cache/fc-cache.c: (scanDirs):
80 Fix a few minor leaks in error cases.
82 2005-04-23 Keith Packard <keithp@keithp.com>
87 * fontconfig/fontconfig.h:
88 Update for version 2.3.2
90 2005-04-21 Keith Packard <keithp@keithp.com>
92 * debian/fontconfig.postinst:
93 Don't force bitmap font enable in default
94 configuration; allows users to override this in
104 * debian/po/pt_BR.po:
105 * debian/po/templates.pot:
107 * debian/po/zh_CN.po:
110 * fc-cache/fc-cache.c: (main):
111 Destroy font configuration on exit to help valgrind
114 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
115 (FcFreeTypeCheckGlyph):
116 Use own transcoding routines in preference to iconv
117 which appears to have leaks in some translators.
118 Call iconv_close after using iconv (oops).
120 Prefer unicode encoding of Euro char as some
121 fonts mis-encode Euro in other ones.
123 Must fetch bitmap glyphs to get width values
124 to check for monospace/dual-width fonts.
126 2005-04-13 Ross Burton <ross@burtonini.com>
129 Check that a pattern isn't already frozen in FcPatternFreeze.
131 2005-03-31 Ross Burton <ross@burtonini.com>
136 Run all FcPattern objects through FcObjectStaticName, so that
137 compares can be done on pointers instead of strings (#2659)
139 2005-03-17 Tor Lillqvist <tml@novell.com>
141 * src/fontconfig.def.in: Add the .dll to the dll name.
143 2005-03-10 Keith Packard <keithp@keithp.com>
145 * debian/README.Debian:
146 Update to reflect configuration changes
148 * debian/fontconfig.postinst:
149 Fix Autohint vs Autohinter mistake
150 * debian/fontconfig.templates:
151 Adopt changes from Josselin Mouette for configuration descriptions
152 Update debian to version 2.3.1-2
154 2005-03-08 Keith Packard <keithp@keithp.com>
158 Update debian for 2.3.1
160 2005-03-09 Tor Lillqvist <tml@novell.com>
162 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
165 * src/fccfg.c (FcConfigFileExists): Check also drive letter
168 2005-03-08 Keith Packard <keithp@keithp.com>
172 * fontconfig/fontconfig.h:
175 2005-03-05 Keith Packard <keithp@keithp.com>
177 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
178 Include space and remove numbers from valid script tags.
179 This ensures that tags like 'lao ' work while rejecting
180 those which have any digits.
181 Eliminate a spurious debugging variable (len)
183 2005-03-05 Keith Packard <keithp@keithp.com>
185 * src/fcfreetype.c: (addtag), (GetScriptTags),
186 (FcFontCapabilities):
187 Rework GSUB/GPOS script parsing to survive broken fonts.
188 Thanks for the broken font go to Manish Singh
190 2005-03-05 Keith Packard <keithp@keithp.com>
195 * debian/fontconfig.config:
196 * debian/fontconfig.templates:
198 Include 2.3 release information in changelog
199 Add Josselin Mouette as an Uploader
200 Set hinting_type to low priority configuration option
203 * debian/fontconfig.postinst:
204 yes_bitmaps.conf -> yes-bitmaps.conf
210 2005-03-02 Keith Packard <keithp@keithp.com>
213 * conf.d/Makefile.am:
214 * conf.d/autohint.conf:
215 * conf.d/no-sub-pixel.conf:
216 * conf.d/sub-pixel.conf:
217 * conf.d/unhinted.conf:
218 * debian/autohint.conf:
219 * debian/fontconfig.install:
220 * debian/fontconfig.postinst:
221 * debian/fontconfig.templates:
222 * debian/no-sub-pixel.conf:
223 * debian/unhinted.conf:
224 Move debian-specific conf file examples upstream.
226 Sub-pixel configuration examples must smash subpixel value
227 as Xft always sets it from X.
229 Change sub-pixel rendering debconf descriptions from
230 Enable/Disable to Always/Never.
232 2005-03-02 Keith Packard <keithp@keithp.com>
237 Ignore more build detritus
240 Add debian package construction stuff.
242 * config/config.guess:
244 Update to newer versions of these tools
247 Get library manuals to build again (we love automake).
249 * debian/README.Debian:
250 * debian/autohint.conf:
255 * debian/fontconfig-udeb.install:
256 * debian/fontconfig.config:
257 * debian/fontconfig.defoma:
258 * debian/fontconfig.dirs:
259 * debian/fontconfig.install:
260 * debian/fontconfig.postinst:
261 * debian/fontconfig.postrm:
262 * debian/fontconfig.templates:
263 * debian/libfontconfig1-dev.install:
264 * debian/libfontconfig1.install:
265 * debian/local.conf.md5sum:
266 * debian/no-sub-pixel.conf:
267 * debian/po/POTFILES.in:
276 * debian/po/pt_BR.po:
277 * debian/po/templates.pot:
279 * debian/po/zh_CN.po:
281 * debian/unhinted.conf:
282 Update debian build system to switch maintainers and
283 deal with 2.3 functionality
285 2005-03-01 Keith Packard <keithp@keithp.com>
289 * fontconfig/fontconfig.h:
292 2005-03-01 Keith Packard <keithp@keithp.com>
295 Generate and install PDF versions of the manuals
297 * doc/fcpattern.fncs:
301 Add missing exported functions, fix data types
303 * doc/fontconfig-devel.sgml:
304 Add missing pattern elements.
306 * doc/fontconfig-user.sgml:
307 Add missing pattern elements. Document conf.d usage,
308 clarify available orthography list. Fix some config file
309 attributes. Complete list of constants.
311 * fontconfig/fontconfig.h:
312 Mark FC_SOURCE deprecated.
314 * src/fcfreetype.c: (FcFreeTypeQuery):
315 Don't set FC_SOURCE any longer.
317 2005-02-28 Keith Packard <keithp@keithp.com>
320 * conf.d/Makefile.am:
322 * conf.d/no-bitmaps.conf:
323 * conf.d/sub-pixel.conf:
324 * conf.d/yes-bitmaps.conf:
326 Create prototype /etc/fonts/conf.d directory with a few
327 sample configuration files.
328 Deprecate use of local.conf for local customizations in favor of
329 this directory based scheme which is more easily integrated into
330 installation systems.
333 Tag FC_EMBOLDEN as a boolean variable
335 2005-02-10 Keith Packard <keithp@keithp.com>
337 reviewed by: pborelli@katamail.com
339 * src/fcdir.c: (FcFileScanConfig):
340 Free patterns from fonts which are rejected by configuration
343 2005-01-28 Keith Packard <keithp@keithp.com>
347 * fontconfig/fontconfig.h:
348 Update for version 2.2.99
350 2005-01-28 Keith Packard <keithp@keithp.com>
353 Add a few pointers (#2284, #2285)
355 2005-01-28 Keith Packard <keithp@keithp.com>
358 * src/fcname.c: (FcNameBool):
359 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
360 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
361 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
362 Polite typechecking for test and edit expressions. Helps
363 catch errors in the font configuration. (bug 229)
365 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
367 reviewed by: Keith Packard <keithp@keithp.com>
370 Have --with-expat set EXPAT_CFLAGS (bug 2278)
372 2005-01-13 Keith Packard <keithp@keithp.com>
374 * doc/fontconfig-user.sgml:
375 Add SEE ALSO section (bug 2085)
377 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
379 reviewed by: Keith Packard <keithp@keithp.com>
384 * fc-case/Makefile.am:
385 * fc-glyphname/Makefile.am:
386 * fc-lang/Makefile.am:
387 * src/fontconfig.def.in:
388 Cross compiling fixes (bug 280)
390 2005-01-13 Keith Packard <keithp@keithp.com>
393 Update blanks list (Closes bug 86)
395 2005-01-04 Keith Packard <keithp@keithp.com>
397 * src/fccache.c: (FcCacheFontSetAdd):
398 Verify that every font pattern loaded from cache has
399 both FC_FILE and FC_FAMILY entries.
400 Attempt to fix bug #2219.
402 2004-12-29 Keith Packard <keithp@keithp.com>
406 * fontconfig/fontconfig.h:
407 Update for version 2.2.98
409 2004-12-29 Keith Packard <keithp@keithp.com>
411 * fontconfig/fontconfig.h:
412 Document ASCII limitations of Fc character conversion macros
413 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
414 Fix off-by-one error in utf-8 case walking code.
415 Add FcStrDowncase (useful for testing case conversion functions)
417 2004-12-29 Keith Packard <keithp@keithp.com>
420 * fc-case/.cvsignore:
421 clean up CVS ignore lists
422 * fc-lang/iso-3166.txt:
423 Add territory database
425 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
427 Reviewed by: Keith Packard
430 Remove Han characters from Korean orthography
432 2004-12-29 Keith Packard <keithp@keithp.com>
435 Reorder utility programs to make sure fc-case is run before fc-lang
436 as fc-lang uses fcstr.c which uses fccase.h
440 2004-12-29 Keith Packard <keithp@keithp.com>
443 Adopt some RedHat suggestions for standard font configuration.
447 * fc-case/CaseFolding.txt:
448 * fc-case/Makefile.am:
449 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
450 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
451 (dump), (parseRaw), (caseFoldReadRaw), (main):
452 * fc-case/fccase.tmpl.h:
453 Add new helper program 'fc-case' to construct case folding
454 tables from standard Unicode CaseFolding.txt file
457 * src/fclist.c: (FcListValueHash):
458 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
459 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
460 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
461 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
462 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
463 Re-implement case insensitive functions with Unicode
464 aware versions (including full case folding mappings)
466 2004-12-13 Keith Packard <keithp@keithp.com>
468 reviewed by: Owen Taylor <otaylor@redhat.com>
470 * src/fcmatch.c: (FcFontSetSort):
471 I changed FcFontSetSort to respect the generic aliases better
472 in the face of language matching.
474 What I did was to ammend the strict sort order used by FcFontSort so
475 that it 'satisfies' the language specified in the pattern by locating
476 the best matching font supporting each pattern language and then
477 ignores language in the remaining fonts for purposes of matching.
479 So, when asking for 'sans:lang=en', you'll get an English font first,
480 and then the remaining fonts sorted with respect to the 'sans' alias
481 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
483 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
485 reviewed by: Keith Packard <keithp@keithp.com>
487 * fontconfig/fontconfig.h:
490 Configuration changes to request synthetic emboldening of
491 fonts. The actual emboldening code will live in Xft.
493 2004-12-09 John Thacker <thacker@math.cornell.edu>
495 reviewed by: Keith Packard <keithp@keithp.com>
499 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
500 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
501 и), and don't even appear in KOI8-R. (The hypothesis that they
502 don't appear in KOI8-R due to their similarity with Latin I and i is
503 eliminated by their presence in KOI8-U.) I have a couple of fonts
504 with Russian support that don't have the letter.
506 Therefore, 0406 and 0456 should be removed from or commented out of
509 2004-12-06 michael meeks <mmeeks@novell.com>
511 Reviewed by: Keith Packard <keithp@keithp.com>
513 * src/fcinit.c: (FcMemReport):
515 * src/fclist.c: (FcObjectSetAdd):
516 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
517 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
518 * src/fcxml.c: (FcParsePatelt):
519 memoize strings and share a single copy for all uses. Note that
520 this could be improved further by using statically allocated blocks
521 and gluing multiple strings together, but I'm basically lazy.
522 In my environment with 800 font files, I get a savings of about 90KB.
524 2004-12-06 Keith Packard <keithp@keithp.com>
528 * config/Makedefs.in:
533 * doc/fccharset.fncs:
535 * doc/fcconstant.fncs:
537 * doc/fcfontset.fncs:
538 * doc/fcfreetype.fncs:
541 * doc/fcobjectset.fncs:
542 * doc/fcobjecttype.fncs:
543 * doc/fcpattern.fncs:
547 * doc/fontconfig-devel.sgml:
548 * doc/fontconfig-user.sgml:
550 * doc/version.sgml.in:
551 * fc-cache/Makefile.am:
552 * fc-cache/fc-cache.c:
553 * fc-glyphname/Makefile.am:
554 * fc-glyphname/fc-glyphname.c:
555 * fc-glyphname/fcglyphname.tmpl.h:
556 * fc-lang/Makefile.am:
566 * fc-lang/az_ir.orth:
601 * fc-lang/fc-lang.man:
602 * fc-lang/fclang.tmpl.h:
647 * fc-lang/ku_ir.orth:
680 * fc-lang/ps_af.orth:
681 * fc-lang/ps_pk.orth:
710 * fc-lang/ti_er.orth:
711 * fc-lang/ti_et.orth:
737 * fc-lang/zh_cn.orth:
738 * fc-lang/zh_hk.orth:
739 * fc-lang/zh_mo.orth:
740 * fc-lang/zh_sg.orth:
741 * fc-lang/zh_tw.orth:
743 * fc-list/Makefile.am:
745 * fc-match/Makefile.am:
746 * fc-match/fc-match.1:
747 * fc-match/fc-match.c:
748 * fontconfig/fcfreetype.h:
749 * fontconfig/fcprivate.h:
750 * fontconfig/fontconfig.h:
771 Change files from ISO-Latin-1 to UTF-8
773 2004-12-04 Keith Packard <keithp@keithp.com>
776 Update links to new freedesktop.org locations
778 Add uninstall-local to get rid of fonts.conf and local.conf if they
779 match the distributed versions. Fixes 'make distcheck'
781 2004-12-04 Keith Packard <keithp@keithp.com>
785 * fontconfig/fontconfig.h:
786 Updates for version 2.2.97
788 2004-12-04 Owen Taylor <otaylor@redhat.com>
790 reviewed by: Keith Packard <keithp@keithp.com>
792 * fc-cache/fc-cache.c: (main):
793 Sleep for two seconds before exiting to make sure timestamps
794 for future changes have distinct mod times in the file system.
797 Add Punjabi orthography. Bug #1671.
799 2004-12-04 Keith Packard <keithp@keithp.com>
802 Just remove the FC_FONTDATE -- it has locale issues and
803 annoys redhat multi-arch installs. Now that all X fonts are
804 included without prejudice, the chances of the date being at
805 all interesting are rather limited. Bug #505.
807 Add copyright and license
809 2004-12-04 Keith Packard <keithp@keithp.com>
812 Change default set of fonts to include all of
813 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
814 * doc/fontconfig-user.sgml:
815 Document new <include>directory-name</include> semantics
817 add <include ignore_missing="yes">conf.d</include>
819 Add selectfont to ignore bitmap fonts, add comment for
820 selectfont which accepts bitmap fonts.
823 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
824 Allow <include> configuration elements to reference directories.
825 Parse and load all files of the form [0-9]* in sorted order.
827 2004-12-04 Keith Packard <keithp@keithp.com>
830 Report command line for $srcdir/configure accurately.
833 2004-12-04 Keith Packard <keithp@keithp.com>
835 * src/fcfreetype.c: (FcFreeTypeQuery):
836 Check for non-empty face->family_name and face->style_name
837 before using those for the font. Empty names match everything.
840 2004-12-04 Keith Packard <keithp@keithp.com>
843 * fontconfig/fontconfig.h:
844 * src/fcfreetype.c: (FcFreeTypeQuery):
846 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
847 available. This provides font file format information (BDF, Type 1,
848 PCF, TrueType) for each font. Closes #109.
850 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
852 reviewed by: Keith Packard <keithp@keithp.com>
854 * doc/fontconfig-user.sgml:
857 * fontconfig/fontconfig.h:
858 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
859 (GetScriptTags), (FcFontCapabilities):
861 Add detection for font capabilities (bug #105)
863 2004-12-04 Keith Packard <keithp@keithp.com>
866 Move existing fonts.conf to fonts.conf.bak
869 Add detection of iconv
871 * doc/fcpattern.fncs:
872 * doc/fontconfig-devel.sgml:
873 * doc/fontconfig-user.sgml:
875 Document new selectfont elements
878 Switch to UTF-8 in comment
880 * fontconfig/fontconfig.h:
882 Add fullname, and family/style/fullname language entries
884 * src/fccache.c: (FcCacheFontSetAdd):
885 * src/fcdir.c: (FcFileScanConfig):
886 Respect selectfont/*/glob
889 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
890 (FcConfigCompareValue), (FcConfigPatternsAdd),
891 (FcConfigPatternsMatch), (FcConfigAcceptFont):
892 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
893 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
894 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
895 Add support for selectfont
897 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
898 (FcStringInPatternElement), (FcFreeTypeQuery):
899 Add multi-lingual family/style/fullname support
901 * src/fclist.c: (FcListPatternMatchAny):
902 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
904 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
905 (FcObjectStaticName):
906 Add new FcPatternRemove/FcPatternAppend.
907 FcObjectStaticName stores computed pattern element names which
908 are required to be static.
910 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
915 Remove spurious / after $(DESTDIR)
917 2004-06-30 Keith Packard <keithp@keithp.com>
921 * fontconfig/fontconfig.h:
924 2004-06-30 Keith Packard <keithp@keithp.com>
926 Provided by: Lubos Lunak <l.lunak@suse.cz>
928 * src/fccfg.c: (FcConfigUptoDate):
929 However FcConfigUptoDate() doesn't seem to work. See the attached
930 patch. First there's an obvious misplaced parenthesis making it
931 return always false, and second, even this call fails to detect font
932 changes (e.g. adding a new font to
933 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
934 well. The problem seems to be triggered by my fonts.conf specifying
935 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
936 doesn't include subdirs, unlike config->fontDirs.
938 2004-06-03 Keith Packard <keithp@keithp.com>
940 * fontconfig/fontconfig.h:
941 Remove comma at end of FcResult enum definition.
943 2004-05-29 Keith Packard <keithp@keithp.com>
946 Add steps to md5sum release
948 2004-05-29 Keith Packard <keithp@keithp.com>
952 * fontconfig/fontconfig.h:
955 2004-05-29 Keith Packard <keithp@keithp.com>
957 * fontconfig/fontconfig.h:
958 * src/fcmatch.c: (FcFontSetMatch):
959 Add FcResultOutOfMemory to provide an accurate error when
960 FcFontSetMatch fails in this way
963 Make #warning about lacking various FreeType features indicate
964 which version those features appeared so users know how to
965 fix the problem (Thanks to Anton Tropashko)
967 2004-05-05 Keith Packard <keithp@keithp.com>
969 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
970 Replace MIN/MAX/ABS macros which happen to have come
971 from FreeType with fontconfig-specific ones (FC_*)
973 2004-04-23 Keith Packard <keithp@keithp.com>
976 Extend release preparation instructions to include
977 notification and distribution steps
979 2004-04-23 Keith Packard <keithp@keithp.com>
983 * fontconfig/fontconfig.h:
984 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
986 2004-04-23 Keith Packard <keithp@keithp.com>
989 Ignore a few more autotool files
991 2004-04-14 Keith Packard <keithp@keithp.com>
994 Add instructions for doing a release
996 * fontconfig.spec.in:
997 clean up .spec file; perhaps this will be useful to somebody...
1001 * fontconfig/fontconfig.h:
1004 * fc-lang/fc-lang.c:
1005 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1007 * fc-glyphname/Makefile.am:
1008 * fc-lang/Makefile.am:
1009 * fc-list/Makefile.am:
1010 * fc-match/Makefile.am:
1012 Add WARN_CFLAGS to pass -W flags for GCC systems
1014 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1015 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1016 Change various char types around to match across
1018 Fixed bug in using available_sizes[i].height which
1019 is in pixels, not 64ths of a pixel.
1021 2004-03-06 Keith Packard <keithp@keithp.com>
1023 * src/fcfreetype.c: (FcFreeTypeQuery):
1024 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1025 matches looking for explicit values prefer exact matches
1027 2004-03-02 Keith Packard <keithp@keithp.com>
1029 Supplied by: mfabian@suse.de (Mike FABIAN)
1031 * src/fcfreetype.c: (FcFreeTypeQuery):
1032 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1033 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1035 2004-02-21 Manish Singh <yosh@gimp.org>
1037 * fc-glyphname/fc-glyphname.c: (main):
1038 Cast strlen to int for printf, so we're 64-bit clean.
1040 2004-02-11 Keith Packard <keithp@keithp.com>
1043 * src/fcfreetype.c: (FcGetPixelSize):
1044 Ok, so I messed up the test for y_ppem. Let's see if I
1045 got it right this time.
1047 2004-02-10 Keith Packard <keithp@keithp.com>
1050 * src/fcfreetype.c: (FcGetPixelSize):
1051 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1052 FT_Bitmap_Size record. Add a configure.in test for this
1053 and change the code accordingly (using height instead).
1055 2004-02-06 Keith Packard <keithp@keithp.com>
1058 Add Low Saxon orthography
1059 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1061 * src/fccfg.c: (FcConfigNewestFile):
1062 Oops. Left 'newest.set' unset, which would miscompute
1065 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1066 (FcFreeTypeCheckGlyph):
1067 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1068 font properties (which report the wrong value in current FreeType)
1070 Don't attempt to check for empty glyphs in non-scalable fonts; they
1073 2004-02-01 Tor Lillqvist <tml@iki.fi>
1075 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1076 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1077 cache if config->cache is NULL, which happens if FcConfigHome() is
1078 NULL. Guard against that by using the temp folder in that case.
1080 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1082 * fc-lang/az_ir.orth:
1083 * fc-lang/ku_ir.orth:
1084 * fc-lang/ps_af.orth:
1085 * fc-lang/ps_pk.orth:
1086 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1087 (Afghan and Pakistani).
1089 Updated Urdu orthography with real data.
1091 2003-12-11 Carl Worth <cworth@east.isi.edu>
1093 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1096 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1098 (all-local): Remove excessive whitespace.
1100 * autogen.sh: Add 'set -e' to abort when any program fails,
1101 (avoids printing of 'now type make' after configure aborts).
1103 2003-11-17 Eric Christopherson <rakko@charter.net>
1105 reviewed by: Keith Packard <keithp@keithp.com>
1108 * fontconfig/fcfreetype.h:
1110 Switch to FreeType 2.1.7 style includes. Bug #150.
1112 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1114 * fc-list/fc-list.sgml: Add some example usages.
1116 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1119 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1122 2003-10-27 Keith Packard <keith@keithp.com>
1125 * fontconfig/fontconfig.h:
1126 Update to version 2.2.92
1128 2003-10-27 Keith Packard <keithp@keithp.com>
1133 * fc-cache/Makefile.am:
1134 * fc-glyphname/Makefile.am:
1135 * fc-lang/Makefile.am:
1136 * fc-list/Makefile.am:
1137 * fc-match/Makefile.am:
1140 Yet more cleanups to finish getting 'make distcheck' working
1141 This has been tested to ensure that it even works from a _build
1144 2003-10-26 Keith Packard <keithp@keithp.com>
1148 * fc-cache/Makefile.am:
1149 * fc-glyphname/Makefile.am:
1150 * fc-lang/Makefile.am:
1151 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1152 * fc-list/Makefile.am:
1153 * fc-match/Makefile.am:
1154 Attempts to fix 'make distcheck' work. Things are
1155 progressing pretty well, but there are still failures
1156 long into the process dealing with docs (as always).
1158 The big changes here are mostly to make $(srcdir) != "."
1159 work correctly, fixing the docbook related sections and
1160 fc-lang were particularily tricky. Docbook refuses to load
1161 system entities from anywhere other than where the original .sgml
1162 file was located, so no luck looking in "." for the
1163 configure-generated version.sgml and confdir.sgml files.
1165 fc-lang needed help finding .orth files; added a -d option
1166 to set the directory as the least evil of many options.
1168 Now to go use a faster machine and try and wring out the last
1171 2003-10-26 Keith Packard <keithp@keithp.com>
1175 2003-10-26 Keith Packard <keithp@keithp.com>
1178 Include confdir.sgml.in in EXTRA_DIST
1180 2003-10-09 Josselin Mouette <joss@debian.org>
1182 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1183 * fc-list/fc-list.sgml fc-list/Makefile.am:
1184 Replace fc-cache and fc-list manpages with more detailed, SGML
1187 2003-09-23 Owen Taylor <otaylor@redhat.com>
1189 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1190 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1191 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1194 2003-09-23 Owen Taylor <otaylor@redhat.com>
1196 * fc-lang/ka.orth: Remove Georgian capitals, they
1197 aren't used for normal writing. (Bug #116)
1199 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1201 * doc/fontconfig-devel.sgml:
1202 * doc/fontconfig-user.sgml:
1203 * fontconfig/fontconfig.h:
1205 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1206 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1208 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1209 monospace and dual-width fonts, allow roughly a 3% variance in the
1212 2003-08-31 Manish Singh <yosh@gimp.org>
1214 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1217 2003-08-15 Carl Worth <cworth@isi.edu>
1219 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1220 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1222 * src/fcpat.c (FcValueListEntDestroy): New function to support
1223 FcFini memory cleanup. Some statistics are not kept in
1225 (FcValueListFreeze): Move hashTable outside this function so it
1226 can be accessed by FcValueListThawAll.
1227 (FcValueListThawAll): New function complements FcValueListFreeze.
1228 (FcPatternBaseFreeze): Move hashTable outside this function so it
1229 can be accessed by FcPatternBaseThawAll.
1230 (FcPatternBaseThawAll): New function complements
1231 FcPatternBaseFreeze.
1232 (FcPatternThawAll): New function complements FcPatternFreeze.
1234 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1236 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1237 allocated FcCharLeafEnt "blocks" so they can be freed later.
1238 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1239 can be accessed by FcCharSetThawAllLeaf.
1240 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1241 (FcCharSetFreezeBase): Move hashTable outside this function so it
1242 can be accessed by FcCharSetThawAll.
1243 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1245 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1246 (FcConfigDestroy): Fic leak of FcBlanks.
1248 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1249 (main): Add call to FcFini when finished.
1251 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1252 static. Add prototypes.
1254 * doc/fcinit.fncs: Add documentation for FcFini function.
1256 * doc/edit-sgml.c: Mark several local functions as static. Add
1259 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1261 2003-06-15 Tor Lillqvist <tml@iki.fi>
1263 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1264 before comparing (needed on Windows).
1266 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1268 2003-06-13 Tor Lillqvist <tml@iki.fi>
1270 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1273 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1274 WINDOWSFONTDIR token.
1276 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1277 end, not to confuse libtool, which expects the EXPORTS line to be
1278 the first. Add FcConfigEnableHome.
1280 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1281 built as a DLL on Win32.
1283 2003-06-09 Keith Packard <keithp@keithp.com>
1285 * Tag version 2.2.90
1287 2003-06-09 Keith Packard <keithp@keithp.com>
1289 * Optimization in FcLangSetIndex was broken, occasionally
1290 returning a pointer to the wrong location on miss
1292 * Add fc-match to test font matching from the command line.
1294 2003-05-31 Keith Packard <keithp@keithp.com>
1296 * (Bug 85) add support for culmus fonts
1297 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1298 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1300 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1302 * Fix "contains" op for strings and langsets.
1304 2003-05-17 Keith Packard <keithp@keithp.com>
1306 * Fix build error with BDF prop local. Free langset after query
1308 2003-05-14 Keith Packard <keithp@keithp.com>
1310 * Extract spacing from XLFD atom
1312 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1314 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1315 disappeared in 1.30.
1317 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1319 2003-05-12 Keith Packard <keithp@keithp.com>
1321 * Use FcIsWidth to share code
1323 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1324 misclassifying some Han fonts as monospaced.
1326 2003-05-07 Keith Packard <keithp@keithp.com>
1328 * Add filename-based accept/reject to ammend available fonts.
1330 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1331 older FreeType releases.
1333 2003-05-06 Keith Packard <keithp@keithp.com>
1335 * Remove 0b82 and Tamil numbers from tamil
1336 orthography (Jungshik Shin <jshin@mailaps.org>)
1338 2003-05-04 Keith Packard <keithp@keithp.com>
1340 + Map glyph names in fonts with adobe custom encoding to unicode
1342 2003-05-02 Keith Packard <keithp@keithp.com>
1344 * Add FC_WEIGHT_BOOK as weight 75
1346 2003-04-30 Keith Packard <keithp@keithp.com>
1348 * Typo in bitstream foundry name
1350 2003-04-24 Keith Packard <keithp@keithp.com>
1352 * Eliminate italic_angle check for PS fonts
1354 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1356 * Getting closer to fixing /etc/fonts hard-coding.
1358 2003-04-22 Keith Packard <keithp@keithp.com>
1360 * Update autogen.sh to work with newer automake versions
1361 * Handle pattern elements moving during multiple edits
1363 2003-04-23 James Henstridge <james@daa.com.au>
1365 * doc/fontconfig-devel.sgml: close the <para> element.
1367 * doc/fcpattern.fncs: close the <para> element.
1369 * doc/func.sgml: close the <refsynopsisdiv> element.
1371 2003-04-22 Keith Packard <keithp@keithp.com
1373 * Update autogen.sh to work with newer automake versions
1374 * Handle pattern elements moving during multiple edits
1376 2003-04-17 Colin Walters <walters@debian.org>
1378 + Remove some unused variables, and initialize some other ones so
1379 gcc doesn't warn us.
1381 2003-04-16 Keith Packard <keithp@keithp.com>
1383 + tag version 2.1.94
1385 2003-04-16 Keith Packard <keithp@keithp.com>
1387 + add BDF property fetching support for foundry
1388 (from Juliusz Chroboczek)
1389 + add BDF property fetching support for width
1391 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1393 + Implemented foundry generation for Type 1 and TrueType
1395 2003-04-11 Gerard Escalante <g2@magestudios.net>
1397 + Retrieve information from Type1 FontInfo dictionaries
1399 2003-04-07 Colin Walters <walters@verbum.org>
1401 + src/Makefile.am: Fix dummy makefile target names when
1402 MS_LIB_AVAILABLE isn't set.
1404 2003-03-22 Tor Lillqvist <tml@iki.fi>
1406 Changes for Windows:
1408 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1410 + We don't want to hardcode the fonts.conf file location in the
1411 DLL, so we look up the DLL location at run-time in a DllMain()
1412 function. The fonts.conf location is deduced from that.
1414 + The colon can't be used as path separator on Windows,
1415 semicolon is used instead. File path components can be separated
1416 with either slash or backslash. Absolute paths can also begin
1417 with a drive letter.
1419 + Add internal function FcStrLastSlash that strrchr's the last
1420 slash, or backslash on Windows.
1422 + There is no link() on Windows. For atomicity checks, mkdir a
1423 lock directory instead.
1425 + In addition to HOME, also look for USERPROFILE.
1427 + Recognize the special font directory token WINDOWSFONTDIR, to
1428 use the system's font directory.
1430 + Remove the fontconfig-def.cpp that was obsolete. Add
1431 fontconfig.def(.in), without internal functions.
1433 + Add a fontconfig-zip(.in) script, used to build a binary
1436 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1437 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1438 to main package and man3/* to devel package
1440 + Added missing defattr(-, root, root) to main RPM package
1442 + Added HTML and text development documentation to -devel subpackage
1444 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1445 + Added back the configure macro options --disable-docs, otherwise
1446 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1447 version number) unconditionally, causing RPM to fail the build due
1448 to _unpackaged_files_terminate_build. We pick up the pregenerated
1449 docs with %doc already.
1451 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1452 + Removed commented out rpm macro define at top of spec file,
1453 replacing it with a simple explanation, since rpm macros are
1454 expanded by rpm even in comments.
1456 + Changed /usr/bin to _bindir in BuildRequires lines
1458 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1460 + Reorganized file manifest lists
1462 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1464 + fontconfig.spec.in: Improvements from Red Hat spec file.
1466 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1468 + docs/*.sgml: SGML fixes.
1470 Sat Mar 1 17:28:53 PST 2003 keithp
1471 + Ok, so the ChangeLog is a bit out of date
1473 + Lots of bugs fixed; most are in bugzilla, the
1474 biggest problems were in cache management where
1475 Owen discovered the library would lose badly when
1476 combining fonts-cache and ~/.fonts-cache data
1478 + Converted from autoconf to automake. This after
1479 getting patches accepted into libtool to allow
1480 the '-version-number' argument which lets
1481 packages set version numbers explicitly rather
1482 than the roundabout libtool way
1484 + Converted documentation to SGML using the docbook
1485 DTD. Now .txt and .html documents are installed
1486 in /usr/share/doc/fontconfig and there's no
1487 man page. Perhaps a man version can be written
1490 Sat Aug 31 15:21:22 PDT 2002 keithp
1491 + Xrender and Xft had several bugs related to
1492 rendering manually placed or poly-face text
1494 + Added more complete memory tracing in fontconfig
1495 Checked with (patched) mozilla and found no leaks
1497 + Updated Latin orthographies by comparing those from
1498 evertype.com with those from eki.ee. Tried to make
1499 sensible choices, including chars that occured in both
1500 and leaving some optional chars out that occured only
1503 Mon Aug 26 16:33:04 PDT 2002 keithp
1504 + Owen discovered that FcLangSetHasLang wasn't actually
1505 checking the language set.
1507 Mon Aug 26 13:37:23 PDT 2002 keithp
1508 + Append a version number to cache filenames
1510 Thu Aug 22 11:36:18 PDT 2002 keithp
1512 + Add "contains" and "not_contains" operators and elements to
1515 + Changed semantics of eq operator for LangSets to check for
1516 FcLangEqual so that any match will do
1518 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1519 of FcValueEqual to check for identical values when inserting into
1520 the results. This broke when the above semantic change was made,
1521 now it uses FcValueEqual which is "more correct" in any case.
1523 Thu Aug 22 00:32:29 PDT 2002 keithp
1525 + Reimplement FC_LANG as new datatype. Lists of strings
1526 was consuming over a megabyte of memory for 401 fonts.
1528 + Freeze patterns loaded from cache files. This shares
1529 common value lists and common patterns which saves
1530 considerable memory.
1532 + Change the denotation of 'constant' charsets to use special
1533 ref value instead of separate boolean.
1535 + Clean up leak tracing stuff, found several unannoted alloc/free
1538 Tue Aug 20 16:17:37 PDT 2002 keithp
1540 + Fix memory leak when parsing matrices from XML
1542 Mon Aug 19 11:57:27 PDT 2002 keithp
1544 + Fix autoconf files to pass FONTCONFIG_PATH on
1545 compile line so that ${prefix} gets substituted
1548 + Use getc_unlocked/putc_unlocked on systems that
1549 provide them to avoid damage done to stdio by posix
1551 + Eliminate FC_PATTERN and FcTypePattern in favor of
1552 an extended api for FcConfigSubstitute which takes
1553 both the font and the pattern.
1555 + Add 'sans serif' alias for 'sans-serif' as some apps
1556 can't handle hyphens in family names
1558 + Eliminate pretense of support for libxml2
1560 + Comment origins of Han orthographies
1562 Tue Jul 30 18:37:09 PDT 2002 keithp
1564 + Add binding property to edit element so that strong
1565 binding values may be inserted by the config file.
1566 The default remains weak.
1568 Sun 28 Jul 04:16:55 PDT 2002 keithp
1570 + Tagged release candidate 1 in the CVS tree and
1571 placed fcpackage.rc1.tar.gz for distribution
1573 Thu Aug 1 08:55:08 PDT 2002 keithp
1575 + Fixed autoconf builds to always specify install
1576 target files (for BSD). Also fixed to
1577 define FONTCONFIG_PATH in config.h so that
1578 nonstandard installs will actually work.