1 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
4 * fc-match/fc-match.c (main):
6 Make getopt_long accept -s parameter to fc-match as well.
8 2005-10-05 Christian Biesinger <cbiesinger@web.de>
9 reviewed by: plam & keithp
13 Use libtool -no-undefined flag on all platforms.
15 2005-10-05 Simos Xenitellis <simos74@gmx.net>
16 reviewed by: plam & keithp
20 Modify config file to use Greek fonts before Asian fonts with
23 2005-07-25 Keith Packard <keithp@keithp.com>
25 * doc/fontconfig-user.sgml:
26 * fc-glyphname/fc-glyphname.c: (scan), (main):
27 * fc-lang/fc-lang.c: (FcConfigHome):
28 * fc-match/fc-match.c: (main):
29 * src/fccfg.c: (FcConfigHome):
30 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
31 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
32 (addtag), (FcFontCapabilities):
33 * src/fcpat.c: (FcValueListEntCreate):
34 * src/fcstr.c: (FcStrCaseWalkerInit):
35 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
37 Various GCC 4 cleanups for signed vs unsigned char
39 Match only [0-9]*.conf files in <include>{directory}</include>
40 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
42 2005-07-15 Carl Worth <cworth@cworth.org>
45 * src/fcinit.c: (FcFini):
46 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
49 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
50 Pull the FcObjectStateName hash table out to file scope, and add
51 FcObjectStaticNameFini so that FcFini will cleanup this hash table
54 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
57 2005-06-16 Patrick Lam <plam@MIT.EDU>
61 * src/fccfg.c: (FcConfigCompareValue):
62 Make FcOpNotContains use FcStrStr for strings so that
63 it matches semantics for !FcOpContains.
65 2005-05-20 Keith Packard <keithp@keithp.com>
69 Move fontconfig source package to libs as per override
71 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
73 reviewed by: Mike Fabian
76 The ka.orth file requires several characters which are not
77 used anymore in modern Georgian and which are missing in the free
78 Georgian TrueType fonts downloadable at:
80 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
82 2005-04-27 Keith Packard <keithp@keithp.com>
86 Update date to real 2.3.2 release date.
87 Fix change attributions
89 2005-04-27 Keith Packard <keithp@keithp.com>
92 Bump so revision for 2.3.2
93 * fc-cache/fc-cache.c: (scanDirs):
94 Fix a few minor leaks in error cases.
96 2005-04-23 Keith Packard <keithp@keithp.com>
101 * fontconfig/fontconfig.h:
102 Update for version 2.3.2
104 2005-04-21 Keith Packard <keithp@keithp.com>
106 * debian/fontconfig.postinst:
107 Don't force bitmap font enable in default
108 configuration; allows users to override this in
118 * debian/po/pt_BR.po:
119 * debian/po/templates.pot:
121 * debian/po/zh_CN.po:
124 * fc-cache/fc-cache.c: (main):
125 Destroy font configuration on exit to help valgrind
128 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
129 (FcFreeTypeCheckGlyph):
130 Use own transcoding routines in preference to iconv
131 which appears to have leaks in some translators.
132 Call iconv_close after using iconv (oops).
134 Prefer unicode encoding of Euro char as some
135 fonts mis-encode Euro in other ones.
137 Must fetch bitmap glyphs to get width values
138 to check for monospace/dual-width fonts.
140 2005-04-13 Ross Burton <ross@burtonini.com>
143 Check that a pattern isn't already frozen in FcPatternFreeze.
145 2005-03-31 Ross Burton <ross@burtonini.com>
150 Run all FcPattern objects through FcObjectStaticName, so that
151 compares can be done on pointers instead of strings (#2659)
153 2005-03-17 Tor Lillqvist <tml@novell.com>
155 * src/fontconfig.def.in: Add the .dll to the dll name.
157 2005-03-10 Keith Packard <keithp@keithp.com>
159 * debian/README.Debian:
160 Update to reflect configuration changes
162 * debian/fontconfig.postinst:
163 Fix Autohint vs Autohinter mistake
164 * debian/fontconfig.templates:
165 Adopt changes from Josselin Mouette for configuration descriptions
166 Update debian to version 2.3.1-2
168 2005-03-08 Keith Packard <keithp@keithp.com>
172 Update debian for 2.3.1
174 2005-03-09 Tor Lillqvist <tml@novell.com>
176 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
179 * src/fccfg.c (FcConfigFileExists): Check also drive letter
182 2005-03-08 Keith Packard <keithp@keithp.com>
186 * fontconfig/fontconfig.h:
189 2005-03-05 Keith Packard <keithp@keithp.com>
191 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
192 Include space and remove numbers from valid script tags.
193 This ensures that tags like 'lao ' work while rejecting
194 those which have any digits.
195 Eliminate a spurious debugging variable (len)
197 2005-03-05 Keith Packard <keithp@keithp.com>
199 * src/fcfreetype.c: (addtag), (GetScriptTags),
200 (FcFontCapabilities):
201 Rework GSUB/GPOS script parsing to survive broken fonts.
202 Thanks for the broken font go to Manish Singh
204 2005-03-05 Keith Packard <keithp@keithp.com>
209 * debian/fontconfig.config:
210 * debian/fontconfig.templates:
212 Include 2.3 release information in changelog
213 Add Josselin Mouette as an Uploader
214 Set hinting_type to low priority configuration option
217 * debian/fontconfig.postinst:
218 yes_bitmaps.conf -> yes-bitmaps.conf
224 2005-03-02 Keith Packard <keithp@keithp.com>
227 * conf.d/Makefile.am:
228 * conf.d/autohint.conf:
229 * conf.d/no-sub-pixel.conf:
230 * conf.d/sub-pixel.conf:
231 * conf.d/unhinted.conf:
232 * debian/autohint.conf:
233 * debian/fontconfig.install:
234 * debian/fontconfig.postinst:
235 * debian/fontconfig.templates:
236 * debian/no-sub-pixel.conf:
237 * debian/unhinted.conf:
238 Move debian-specific conf file examples upstream.
240 Sub-pixel configuration examples must smash subpixel value
241 as Xft always sets it from X.
243 Change sub-pixel rendering debconf descriptions from
244 Enable/Disable to Always/Never.
246 2005-03-02 Keith Packard <keithp@keithp.com>
251 Ignore more build detritus
254 Add debian package construction stuff.
256 * config/config.guess:
258 Update to newer versions of these tools
261 Get library manuals to build again (we love automake).
263 * debian/README.Debian:
264 * debian/autohint.conf:
269 * debian/fontconfig-udeb.install:
270 * debian/fontconfig.config:
271 * debian/fontconfig.defoma:
272 * debian/fontconfig.dirs:
273 * debian/fontconfig.install:
274 * debian/fontconfig.postinst:
275 * debian/fontconfig.postrm:
276 * debian/fontconfig.templates:
277 * debian/libfontconfig1-dev.install:
278 * debian/libfontconfig1.install:
279 * debian/local.conf.md5sum:
280 * debian/no-sub-pixel.conf:
281 * debian/po/POTFILES.in:
290 * debian/po/pt_BR.po:
291 * debian/po/templates.pot:
293 * debian/po/zh_CN.po:
295 * debian/unhinted.conf:
296 Update debian build system to switch maintainers and
297 deal with 2.3 functionality
299 2005-03-01 Keith Packard <keithp@keithp.com>
303 * fontconfig/fontconfig.h:
306 2005-03-01 Keith Packard <keithp@keithp.com>
309 Generate and install PDF versions of the manuals
311 * doc/fcpattern.fncs:
315 Add missing exported functions, fix data types
317 * doc/fontconfig-devel.sgml:
318 Add missing pattern elements.
320 * doc/fontconfig-user.sgml:
321 Add missing pattern elements. Document conf.d usage,
322 clarify available orthography list. Fix some config file
323 attributes. Complete list of constants.
325 * fontconfig/fontconfig.h:
326 Mark FC_SOURCE deprecated.
328 * src/fcfreetype.c: (FcFreeTypeQuery):
329 Don't set FC_SOURCE any longer.
331 2005-02-28 Keith Packard <keithp@keithp.com>
334 * conf.d/Makefile.am:
336 * conf.d/no-bitmaps.conf:
337 * conf.d/sub-pixel.conf:
338 * conf.d/yes-bitmaps.conf:
340 Create prototype /etc/fonts/conf.d directory with a few
341 sample configuration files.
342 Deprecate use of local.conf for local customizations in favor of
343 this directory based scheme which is more easily integrated into
344 installation systems.
347 Tag FC_EMBOLDEN as a boolean variable
349 2005-02-10 Keith Packard <keithp@keithp.com>
351 reviewed by: pborelli@katamail.com
353 * src/fcdir.c: (FcFileScanConfig):
354 Free patterns from fonts which are rejected by configuration
357 2005-01-28 Keith Packard <keithp@keithp.com>
361 * fontconfig/fontconfig.h:
362 Update for version 2.2.99
364 2005-01-28 Keith Packard <keithp@keithp.com>
367 Add a few pointers (#2284, #2285)
369 2005-01-28 Keith Packard <keithp@keithp.com>
372 * src/fcname.c: (FcNameBool):
373 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
374 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
375 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
376 Polite typechecking for test and edit expressions. Helps
377 catch errors in the font configuration. (bug 229)
379 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
381 reviewed by: Keith Packard <keithp@keithp.com>
384 Have --with-expat set EXPAT_CFLAGS (bug 2278)
386 2005-01-13 Keith Packard <keithp@keithp.com>
388 * doc/fontconfig-user.sgml:
389 Add SEE ALSO section (bug 2085)
391 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
393 reviewed by: Keith Packard <keithp@keithp.com>
398 * fc-case/Makefile.am:
399 * fc-glyphname/Makefile.am:
400 * fc-lang/Makefile.am:
401 * src/fontconfig.def.in:
402 Cross compiling fixes (bug 280)
404 2005-01-13 Keith Packard <keithp@keithp.com>
407 Update blanks list (Closes bug 86)
409 2005-01-04 Keith Packard <keithp@keithp.com>
411 * src/fccache.c: (FcCacheFontSetAdd):
412 Verify that every font pattern loaded from cache has
413 both FC_FILE and FC_FAMILY entries.
414 Attempt to fix bug #2219.
416 2004-12-29 Keith Packard <keithp@keithp.com>
420 * fontconfig/fontconfig.h:
421 Update for version 2.2.98
423 2004-12-29 Keith Packard <keithp@keithp.com>
425 * fontconfig/fontconfig.h:
426 Document ASCII limitations of Fc character conversion macros
427 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
428 Fix off-by-one error in utf-8 case walking code.
429 Add FcStrDowncase (useful for testing case conversion functions)
431 2004-12-29 Keith Packard <keithp@keithp.com>
434 * fc-case/.cvsignore:
435 clean up CVS ignore lists
436 * fc-lang/iso-3166.txt:
437 Add territory database
439 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
441 Reviewed by: Keith Packard
444 Remove Han characters from Korean orthography
446 2004-12-29 Keith Packard <keithp@keithp.com>
449 Reorder utility programs to make sure fc-case is run before fc-lang
450 as fc-lang uses fcstr.c which uses fccase.h
454 2004-12-29 Keith Packard <keithp@keithp.com>
457 Adopt some RedHat suggestions for standard font configuration.
461 * fc-case/CaseFolding.txt:
462 * fc-case/Makefile.am:
463 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
464 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
465 (dump), (parseRaw), (caseFoldReadRaw), (main):
466 * fc-case/fccase.tmpl.h:
467 Add new helper program 'fc-case' to construct case folding
468 tables from standard Unicode CaseFolding.txt file
471 * src/fclist.c: (FcListValueHash):
472 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
473 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
474 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
475 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
476 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
477 Re-implement case insensitive functions with Unicode
478 aware versions (including full case folding mappings)
480 2004-12-13 Keith Packard <keithp@keithp.com>
482 reviewed by: Owen Taylor <otaylor@redhat.com>
484 * src/fcmatch.c: (FcFontSetSort):
485 I changed FcFontSetSort to respect the generic aliases better
486 in the face of language matching.
488 What I did was to ammend the strict sort order used by FcFontSort so
489 that it 'satisfies' the language specified in the pattern by locating
490 the best matching font supporting each pattern language and then
491 ignores language in the remaining fonts for purposes of matching.
493 So, when asking for 'sans:lang=en', you'll get an English font first,
494 and then the remaining fonts sorted with respect to the 'sans' alias
495 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
497 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
499 reviewed by: Keith Packard <keithp@keithp.com>
501 * fontconfig/fontconfig.h:
504 Configuration changes to request synthetic emboldening of
505 fonts. The actual emboldening code will live in Xft.
507 2004-12-09 John Thacker <thacker@math.cornell.edu>
509 reviewed by: Keith Packard <keithp@keithp.com>
513 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
514 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
515 и), and don't even appear in KOI8-R. (The hypothesis that they
516 don't appear in KOI8-R due to their similarity with Latin I and i is
517 eliminated by their presence in KOI8-U.) I have a couple of fonts
518 with Russian support that don't have the letter.
520 Therefore, 0406 and 0456 should be removed from or commented out of
523 2004-12-06 michael meeks <mmeeks@novell.com>
525 Reviewed by: Keith Packard <keithp@keithp.com>
527 * src/fcinit.c: (FcMemReport):
529 * src/fclist.c: (FcObjectSetAdd):
530 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
531 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
532 * src/fcxml.c: (FcParsePatelt):
533 memoize strings and share a single copy for all uses. Note that
534 this could be improved further by using statically allocated blocks
535 and gluing multiple strings together, but I'm basically lazy.
536 In my environment with 800 font files, I get a savings of about 90KB.
538 2004-12-06 Keith Packard <keithp@keithp.com>
542 * config/Makedefs.in:
547 * doc/fccharset.fncs:
549 * doc/fcconstant.fncs:
551 * doc/fcfontset.fncs:
552 * doc/fcfreetype.fncs:
555 * doc/fcobjectset.fncs:
556 * doc/fcobjecttype.fncs:
557 * doc/fcpattern.fncs:
561 * doc/fontconfig-devel.sgml:
562 * doc/fontconfig-user.sgml:
564 * doc/version.sgml.in:
565 * fc-cache/Makefile.am:
566 * fc-cache/fc-cache.c:
567 * fc-glyphname/Makefile.am:
568 * fc-glyphname/fc-glyphname.c:
569 * fc-glyphname/fcglyphname.tmpl.h:
570 * fc-lang/Makefile.am:
580 * fc-lang/az_ir.orth:
615 * fc-lang/fc-lang.man:
616 * fc-lang/fclang.tmpl.h:
661 * fc-lang/ku_ir.orth:
694 * fc-lang/ps_af.orth:
695 * fc-lang/ps_pk.orth:
724 * fc-lang/ti_er.orth:
725 * fc-lang/ti_et.orth:
751 * fc-lang/zh_cn.orth:
752 * fc-lang/zh_hk.orth:
753 * fc-lang/zh_mo.orth:
754 * fc-lang/zh_sg.orth:
755 * fc-lang/zh_tw.orth:
757 * fc-list/Makefile.am:
759 * fc-match/Makefile.am:
760 * fc-match/fc-match.1:
761 * fc-match/fc-match.c:
762 * fontconfig/fcfreetype.h:
763 * fontconfig/fcprivate.h:
764 * fontconfig/fontconfig.h:
785 Change files from ISO-Latin-1 to UTF-8
787 2004-12-04 Keith Packard <keithp@keithp.com>
790 Update links to new freedesktop.org locations
792 Add uninstall-local to get rid of fonts.conf and local.conf if they
793 match the distributed versions. Fixes 'make distcheck'
795 2004-12-04 Keith Packard <keithp@keithp.com>
799 * fontconfig/fontconfig.h:
800 Updates for version 2.2.97
802 2004-12-04 Owen Taylor <otaylor@redhat.com>
804 reviewed by: Keith Packard <keithp@keithp.com>
806 * fc-cache/fc-cache.c: (main):
807 Sleep for two seconds before exiting to make sure timestamps
808 for future changes have distinct mod times in the file system.
811 Add Punjabi orthography. Bug #1671.
813 2004-12-04 Keith Packard <keithp@keithp.com>
816 Just remove the FC_FONTDATE -- it has locale issues and
817 annoys redhat multi-arch installs. Now that all X fonts are
818 included without prejudice, the chances of the date being at
819 all interesting are rather limited. Bug #505.
821 Add copyright and license
823 2004-12-04 Keith Packard <keithp@keithp.com>
826 Change default set of fonts to include all of
827 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
828 * doc/fontconfig-user.sgml:
829 Document new <include>directory-name</include> semantics
831 add <include ignore_missing="yes">conf.d</include>
833 Add selectfont to ignore bitmap fonts, add comment for
834 selectfont which accepts bitmap fonts.
837 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
838 Allow <include> configuration elements to reference directories.
839 Parse and load all files of the form [0-9]* in sorted order.
841 2004-12-04 Keith Packard <keithp@keithp.com>
844 Report command line for $srcdir/configure accurately.
847 2004-12-04 Keith Packard <keithp@keithp.com>
849 * src/fcfreetype.c: (FcFreeTypeQuery):
850 Check for non-empty face->family_name and face->style_name
851 before using those for the font. Empty names match everything.
854 2004-12-04 Keith Packard <keithp@keithp.com>
857 * fontconfig/fontconfig.h:
858 * src/fcfreetype.c: (FcFreeTypeQuery):
860 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
861 available. This provides font file format information (BDF, Type 1,
862 PCF, TrueType) for each font. Closes #109.
864 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
866 reviewed by: Keith Packard <keithp@keithp.com>
868 * doc/fontconfig-user.sgml:
871 * fontconfig/fontconfig.h:
872 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
873 (GetScriptTags), (FcFontCapabilities):
875 Add detection for font capabilities (bug #105)
877 2004-12-04 Keith Packard <keithp@keithp.com>
880 Move existing fonts.conf to fonts.conf.bak
883 Add detection of iconv
885 * doc/fcpattern.fncs:
886 * doc/fontconfig-devel.sgml:
887 * doc/fontconfig-user.sgml:
889 Document new selectfont elements
892 Switch to UTF-8 in comment
894 * fontconfig/fontconfig.h:
896 Add fullname, and family/style/fullname language entries
898 * src/fccache.c: (FcCacheFontSetAdd):
899 * src/fcdir.c: (FcFileScanConfig):
900 Respect selectfont/*/glob
903 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
904 (FcConfigCompareValue), (FcConfigPatternsAdd),
905 (FcConfigPatternsMatch), (FcConfigAcceptFont):
906 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
907 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
908 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
909 Add support for selectfont
911 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
912 (FcStringInPatternElement), (FcFreeTypeQuery):
913 Add multi-lingual family/style/fullname support
915 * src/fclist.c: (FcListPatternMatchAny):
916 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
918 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
919 (FcObjectStaticName):
920 Add new FcPatternRemove/FcPatternAppend.
921 FcObjectStaticName stores computed pattern element names which
922 are required to be static.
924 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
929 Remove spurious / after $(DESTDIR)
931 2004-06-30 Keith Packard <keithp@keithp.com>
935 * fontconfig/fontconfig.h:
938 2004-06-30 Keith Packard <keithp@keithp.com>
940 Provided by: Lubos Lunak <l.lunak@suse.cz>
942 * src/fccfg.c: (FcConfigUptoDate):
943 However FcConfigUptoDate() doesn't seem to work. See the attached
944 patch. First there's an obvious misplaced parenthesis making it
945 return always false, and second, even this call fails to detect font
946 changes (e.g. adding a new font to
947 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
948 well. The problem seems to be triggered by my fonts.conf specifying
949 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
950 doesn't include subdirs, unlike config->fontDirs.
952 2004-06-03 Keith Packard <keithp@keithp.com>
954 * fontconfig/fontconfig.h:
955 Remove comma at end of FcResult enum definition.
957 2004-05-29 Keith Packard <keithp@keithp.com>
960 Add steps to md5sum release
962 2004-05-29 Keith Packard <keithp@keithp.com>
966 * fontconfig/fontconfig.h:
969 2004-05-29 Keith Packard <keithp@keithp.com>
971 * fontconfig/fontconfig.h:
972 * src/fcmatch.c: (FcFontSetMatch):
973 Add FcResultOutOfMemory to provide an accurate error when
974 FcFontSetMatch fails in this way
977 Make #warning about lacking various FreeType features indicate
978 which version those features appeared so users know how to
979 fix the problem (Thanks to Anton Tropashko)
981 2004-05-05 Keith Packard <keithp@keithp.com>
983 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
984 Replace MIN/MAX/ABS macros which happen to have come
985 from FreeType with fontconfig-specific ones (FC_*)
987 2004-04-23 Keith Packard <keithp@keithp.com>
990 Extend release preparation instructions to include
991 notification and distribution steps
993 2004-04-23 Keith Packard <keithp@keithp.com>
997 * fontconfig/fontconfig.h:
998 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1000 2004-04-23 Keith Packard <keithp@keithp.com>
1003 Ignore a few more autotool files
1005 2004-04-14 Keith Packard <keithp@keithp.com>
1008 Add instructions for doing a release
1010 * fontconfig.spec.in:
1011 clean up .spec file; perhaps this will be useful to somebody...
1015 * fontconfig/fontconfig.h:
1018 * fc-lang/fc-lang.c:
1019 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1021 * fc-glyphname/Makefile.am:
1022 * fc-lang/Makefile.am:
1023 * fc-list/Makefile.am:
1024 * fc-match/Makefile.am:
1026 Add WARN_CFLAGS to pass -W flags for GCC systems
1028 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1029 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1030 Change various char types around to match across
1032 Fixed bug in using available_sizes[i].height which
1033 is in pixels, not 64ths of a pixel.
1035 2004-03-06 Keith Packard <keithp@keithp.com>
1037 * src/fcfreetype.c: (FcFreeTypeQuery):
1038 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1039 matches looking for explicit values prefer exact matches
1041 2004-03-02 Keith Packard <keithp@keithp.com>
1043 Supplied by: mfabian@suse.de (Mike FABIAN)
1045 * src/fcfreetype.c: (FcFreeTypeQuery):
1046 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1047 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1049 2004-02-21 Manish Singh <yosh@gimp.org>
1051 * fc-glyphname/fc-glyphname.c: (main):
1052 Cast strlen to int for printf, so we're 64-bit clean.
1054 2004-02-11 Keith Packard <keithp@keithp.com>
1057 * src/fcfreetype.c: (FcGetPixelSize):
1058 Ok, so I messed up the test for y_ppem. Let's see if I
1059 got it right this time.
1061 2004-02-10 Keith Packard <keithp@keithp.com>
1064 * src/fcfreetype.c: (FcGetPixelSize):
1065 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1066 FT_Bitmap_Size record. Add a configure.in test for this
1067 and change the code accordingly (using height instead).
1069 2004-02-06 Keith Packard <keithp@keithp.com>
1072 Add Low Saxon orthography
1073 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1075 * src/fccfg.c: (FcConfigNewestFile):
1076 Oops. Left 'newest.set' unset, which would miscompute
1079 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1080 (FcFreeTypeCheckGlyph):
1081 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1082 font properties (which report the wrong value in current FreeType)
1084 Don't attempt to check for empty glyphs in non-scalable fonts; they
1087 2004-02-01 Tor Lillqvist <tml@iki.fi>
1089 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1090 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1091 cache if config->cache is NULL, which happens if FcConfigHome() is
1092 NULL. Guard against that by using the temp folder in that case.
1094 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1096 * fc-lang/az_ir.orth:
1097 * fc-lang/ku_ir.orth:
1098 * fc-lang/ps_af.orth:
1099 * fc-lang/ps_pk.orth:
1100 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1101 (Afghan and Pakistani).
1103 Updated Urdu orthography with real data.
1105 2003-12-11 Carl Worth <cworth@east.isi.edu>
1107 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1110 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1112 (all-local): Remove excessive whitespace.
1114 * autogen.sh: Add 'set -e' to abort when any program fails,
1115 (avoids printing of 'now type make' after configure aborts).
1117 2003-11-17 Eric Christopherson <rakko@charter.net>
1119 reviewed by: Keith Packard <keithp@keithp.com>
1122 * fontconfig/fcfreetype.h:
1124 Switch to FreeType 2.1.7 style includes. Bug #150.
1126 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1128 * fc-list/fc-list.sgml: Add some example usages.
1130 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1133 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1136 2003-10-27 Keith Packard <keith@keithp.com>
1139 * fontconfig/fontconfig.h:
1140 Update to version 2.2.92
1142 2003-10-27 Keith Packard <keithp@keithp.com>
1147 * fc-cache/Makefile.am:
1148 * fc-glyphname/Makefile.am:
1149 * fc-lang/Makefile.am:
1150 * fc-list/Makefile.am:
1151 * fc-match/Makefile.am:
1154 Yet more cleanups to finish getting 'make distcheck' working
1155 This has been tested to ensure that it even works from a _build
1158 2003-10-26 Keith Packard <keithp@keithp.com>
1162 * fc-cache/Makefile.am:
1163 * fc-glyphname/Makefile.am:
1164 * fc-lang/Makefile.am:
1165 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1166 * fc-list/Makefile.am:
1167 * fc-match/Makefile.am:
1168 Attempts to fix 'make distcheck' work. Things are
1169 progressing pretty well, but there are still failures
1170 long into the process dealing with docs (as always).
1172 The big changes here are mostly to make $(srcdir) != "."
1173 work correctly, fixing the docbook related sections and
1174 fc-lang were particularily tricky. Docbook refuses to load
1175 system entities from anywhere other than where the original .sgml
1176 file was located, so no luck looking in "." for the
1177 configure-generated version.sgml and confdir.sgml files.
1179 fc-lang needed help finding .orth files; added a -d option
1180 to set the directory as the least evil of many options.
1182 Now to go use a faster machine and try and wring out the last
1185 2003-10-26 Keith Packard <keithp@keithp.com>
1189 2003-10-26 Keith Packard <keithp@keithp.com>
1192 Include confdir.sgml.in in EXTRA_DIST
1194 2003-10-09 Josselin Mouette <joss@debian.org>
1196 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1197 * fc-list/fc-list.sgml fc-list/Makefile.am:
1198 Replace fc-cache and fc-list manpages with more detailed, SGML
1201 2003-09-23 Owen Taylor <otaylor@redhat.com>
1203 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1204 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1205 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1208 2003-09-23 Owen Taylor <otaylor@redhat.com>
1210 * fc-lang/ka.orth: Remove Georgian capitals, they
1211 aren't used for normal writing. (Bug #116)
1213 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1215 * doc/fontconfig-devel.sgml:
1216 * doc/fontconfig-user.sgml:
1217 * fontconfig/fontconfig.h:
1219 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1220 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1222 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1223 monospace and dual-width fonts, allow roughly a 3% variance in the
1226 2003-08-31 Manish Singh <yosh@gimp.org>
1228 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1231 2003-08-15 Carl Worth <cworth@isi.edu>
1233 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1234 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1236 * src/fcpat.c (FcValueListEntDestroy): New function to support
1237 FcFini memory cleanup. Some statistics are not kept in
1239 (FcValueListFreeze): Move hashTable outside this function so it
1240 can be accessed by FcValueListThawAll.
1241 (FcValueListThawAll): New function complements FcValueListFreeze.
1242 (FcPatternBaseFreeze): Move hashTable outside this function so it
1243 can be accessed by FcPatternBaseThawAll.
1244 (FcPatternBaseThawAll): New function complements
1245 FcPatternBaseFreeze.
1246 (FcPatternThawAll): New function complements FcPatternFreeze.
1248 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1250 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1251 allocated FcCharLeafEnt "blocks" so they can be freed later.
1252 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1253 can be accessed by FcCharSetThawAllLeaf.
1254 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1255 (FcCharSetFreezeBase): Move hashTable outside this function so it
1256 can be accessed by FcCharSetThawAll.
1257 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1259 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1260 (FcConfigDestroy): Fic leak of FcBlanks.
1262 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1263 (main): Add call to FcFini when finished.
1265 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1266 static. Add prototypes.
1268 * doc/fcinit.fncs: Add documentation for FcFini function.
1270 * doc/edit-sgml.c: Mark several local functions as static. Add
1273 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1275 2003-06-15 Tor Lillqvist <tml@iki.fi>
1277 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1278 before comparing (needed on Windows).
1280 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1282 2003-06-13 Tor Lillqvist <tml@iki.fi>
1284 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1287 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1288 WINDOWSFONTDIR token.
1290 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1291 end, not to confuse libtool, which expects the EXPORTS line to be
1292 the first. Add FcConfigEnableHome.
1294 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1295 built as a DLL on Win32.
1297 2003-06-09 Keith Packard <keithp@keithp.com>
1299 * Tag version 2.2.90
1301 2003-06-09 Keith Packard <keithp@keithp.com>
1303 * Optimization in FcLangSetIndex was broken, occasionally
1304 returning a pointer to the wrong location on miss
1306 * Add fc-match to test font matching from the command line.
1308 2003-05-31 Keith Packard <keithp@keithp.com>
1310 * (Bug 85) add support for culmus fonts
1311 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1312 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1314 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1316 * Fix "contains" op for strings and langsets.
1318 2003-05-17 Keith Packard <keithp@keithp.com>
1320 * Fix build error with BDF prop local. Free langset after query
1322 2003-05-14 Keith Packard <keithp@keithp.com>
1324 * Extract spacing from XLFD atom
1326 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1328 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1329 disappeared in 1.30.
1331 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1333 2003-05-12 Keith Packard <keithp@keithp.com>
1335 * Use FcIsWidth to share code
1337 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1338 misclassifying some Han fonts as monospaced.
1340 2003-05-07 Keith Packard <keithp@keithp.com>
1342 * Add filename-based accept/reject to ammend available fonts.
1344 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1345 older FreeType releases.
1347 2003-05-06 Keith Packard <keithp@keithp.com>
1349 * Remove 0b82 and Tamil numbers from tamil
1350 orthography (Jungshik Shin <jshin@mailaps.org>)
1352 2003-05-04 Keith Packard <keithp@keithp.com>
1354 + Map glyph names in fonts with adobe custom encoding to unicode
1356 2003-05-02 Keith Packard <keithp@keithp.com>
1358 * Add FC_WEIGHT_BOOK as weight 75
1360 2003-04-30 Keith Packard <keithp@keithp.com>
1362 * Typo in bitstream foundry name
1364 2003-04-24 Keith Packard <keithp@keithp.com>
1366 * Eliminate italic_angle check for PS fonts
1368 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1370 * Getting closer to fixing /etc/fonts hard-coding.
1372 2003-04-22 Keith Packard <keithp@keithp.com>
1374 * Update autogen.sh to work with newer automake versions
1375 * Handle pattern elements moving during multiple edits
1377 2003-04-23 James Henstridge <james@daa.com.au>
1379 * doc/fontconfig-devel.sgml: close the <para> element.
1381 * doc/fcpattern.fncs: close the <para> element.
1383 * doc/func.sgml: close the <refsynopsisdiv> element.
1385 2003-04-22 Keith Packard <keithp@keithp.com
1387 * Update autogen.sh to work with newer automake versions
1388 * Handle pattern elements moving during multiple edits
1390 2003-04-17 Colin Walters <walters@debian.org>
1392 + Remove some unused variables, and initialize some other ones so
1393 gcc doesn't warn us.
1395 2003-04-16 Keith Packard <keithp@keithp.com>
1397 + tag version 2.1.94
1399 2003-04-16 Keith Packard <keithp@keithp.com>
1401 + add BDF property fetching support for foundry
1402 (from Juliusz Chroboczek)
1403 + add BDF property fetching support for width
1405 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1407 + Implemented foundry generation for Type 1 and TrueType
1409 2003-04-11 Gerard Escalante <g2@magestudios.net>
1411 + Retrieve information from Type1 FontInfo dictionaries
1413 2003-04-07 Colin Walters <walters@verbum.org>
1415 + src/Makefile.am: Fix dummy makefile target names when
1416 MS_LIB_AVAILABLE isn't set.
1418 2003-03-22 Tor Lillqvist <tml@iki.fi>
1420 Changes for Windows:
1422 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1424 + We don't want to hardcode the fonts.conf file location in the
1425 DLL, so we look up the DLL location at run-time in a DllMain()
1426 function. The fonts.conf location is deduced from that.
1428 + The colon can't be used as path separator on Windows,
1429 semicolon is used instead. File path components can be separated
1430 with either slash or backslash. Absolute paths can also begin
1431 with a drive letter.
1433 + Add internal function FcStrLastSlash that strrchr's the last
1434 slash, or backslash on Windows.
1436 + There is no link() on Windows. For atomicity checks, mkdir a
1437 lock directory instead.
1439 + In addition to HOME, also look for USERPROFILE.
1441 + Recognize the special font directory token WINDOWSFONTDIR, to
1442 use the system's font directory.
1444 + Remove the fontconfig-def.cpp that was obsolete. Add
1445 fontconfig.def(.in), without internal functions.
1447 + Add a fontconfig-zip(.in) script, used to build a binary
1450 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1451 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1452 to main package and man3/* to devel package
1454 + Added missing defattr(-, root, root) to main RPM package
1456 + Added HTML and text development documentation to -devel subpackage
1458 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1459 + Added back the configure macro options --disable-docs, otherwise
1460 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1461 version number) unconditionally, causing RPM to fail the build due
1462 to _unpackaged_files_terminate_build. We pick up the pregenerated
1463 docs with %doc already.
1465 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1466 + Removed commented out rpm macro define at top of spec file,
1467 replacing it with a simple explanation, since rpm macros are
1468 expanded by rpm even in comments.
1470 + Changed /usr/bin to _bindir in BuildRequires lines
1472 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1474 + Reorganized file manifest lists
1476 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1478 + fontconfig.spec.in: Improvements from Red Hat spec file.
1480 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1482 + docs/*.sgml: SGML fixes.
1484 Sat Mar 1 17:28:53 PST 2003 keithp
1485 + Ok, so the ChangeLog is a bit out of date
1487 + Lots of bugs fixed; most are in bugzilla, the
1488 biggest problems were in cache management where
1489 Owen discovered the library would lose badly when
1490 combining fonts-cache and ~/.fonts-cache data
1492 + Converted from autoconf to automake. This after
1493 getting patches accepted into libtool to allow
1494 the '-version-number' argument which lets
1495 packages set version numbers explicitly rather
1496 than the roundabout libtool way
1498 + Converted documentation to SGML using the docbook
1499 DTD. Now .txt and .html documents are installed
1500 in /usr/share/doc/fontconfig and there's no
1501 man page. Perhaps a man version can be written
1504 Sat Aug 31 15:21:22 PDT 2002 keithp
1505 + Xrender and Xft had several bugs related to
1506 rendering manually placed or poly-face text
1508 + Added more complete memory tracing in fontconfig
1509 Checked with (patched) mozilla and found no leaks
1511 + Updated Latin orthographies by comparing those from
1512 evertype.com with those from eki.ee. Tried to make
1513 sensible choices, including chars that occured in both
1514 and leaving some optional chars out that occured only
1517 Mon Aug 26 16:33:04 PDT 2002 keithp
1518 + Owen discovered that FcLangSetHasLang wasn't actually
1519 checking the language set.
1521 Mon Aug 26 13:37:23 PDT 2002 keithp
1522 + Append a version number to cache filenames
1524 Thu Aug 22 11:36:18 PDT 2002 keithp
1526 + Add "contains" and "not_contains" operators and elements to
1529 + Changed semantics of eq operator for LangSets to check for
1530 FcLangEqual so that any match will do
1532 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1533 of FcValueEqual to check for identical values when inserting into
1534 the results. This broke when the above semantic change was made,
1535 now it uses FcValueEqual which is "more correct" in any case.
1537 Thu Aug 22 00:32:29 PDT 2002 keithp
1539 + Reimplement FC_LANG as new datatype. Lists of strings
1540 was consuming over a megabyte of memory for 401 fonts.
1542 + Freeze patterns loaded from cache files. This shares
1543 common value lists and common patterns which saves
1544 considerable memory.
1546 + Change the denotation of 'constant' charsets to use special
1547 ref value instead of separate boolean.
1549 + Clean up leak tracing stuff, found several unannoted alloc/free
1552 Tue Aug 20 16:17:37 PDT 2002 keithp
1554 + Fix memory leak when parsing matrices from XML
1556 Mon Aug 19 11:57:27 PDT 2002 keithp
1558 + Fix autoconf files to pass FONTCONFIG_PATH on
1559 compile line so that ${prefix} gets substituted
1562 + Use getc_unlocked/putc_unlocked on systems that
1563 provide them to avoid damage done to stdio by posix
1565 + Eliminate FC_PATTERN and FcTypePattern in favor of
1566 an extended api for FcConfigSubstitute which takes
1567 both the font and the pattern.
1569 + Add 'sans serif' alias for 'sans-serif' as some apps
1570 can't handle hyphens in family names
1572 + Eliminate pretense of support for libxml2
1574 + Comment origins of Han orthographies
1576 Tue Jul 30 18:37:09 PDT 2002 keithp
1578 + Add binding property to edit element so that strong
1579 binding values may be inserted by the config file.
1580 The default remains weak.
1582 Sun 28 Jul 04:16:55 PDT 2002 keithp
1584 + Tagged release candidate 1 in the CVS tree and
1585 placed fcpackage.rc1.tar.gz for distribution
1587 Thu Aug 1 08:55:08 PDT 2002 keithp
1589 + Fixed autoconf builds to always specify install
1590 target files (for BSD). Also fixed to
1591 define FONTCONFIG_PATH in config.h so that
1592 nonstandard installs will actually work.