1 2006-03-22 Patrick Lam <plam@mit.edu>
4 On Windows, unlink before rename. Reported by Tim Evans.
6 2006-03-08 Egmont Koblinger <egmont@uhulinux.hu>
9 * src/fcdir.c (FcDirScanConfig):
11 Sort directory entries while scanning them from disk;
12 prevents Heisenbugs due to file ordering in a directory.
14 2005-12-13 Carl Worth <cworth@cworth.org>
18 * conf.d/10LohitGujarati.conf: Add a configuration file that
19 disables hinting for the Lohit Gujarati font (since the hinting
20 distort some glyphs quite badly).
22 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
25 * fc-match/fc-match.c (main):
27 Make getopt_long accept -s parameter to fc-match as well.
29 2005-10-05 Christian Biesinger <cbiesinger@web.de>
30 reviewed by: plam & keithp
34 Use libtool -no-undefined flag on all platforms.
36 2005-10-05 Simos Xenitellis <simos74@gmx.net>
37 reviewed by: plam & keithp
41 Modify config file to use Greek fonts before Asian fonts with
44 2005-07-25 Keith Packard <keithp@keithp.com>
46 * doc/fontconfig-user.sgml:
47 * fc-glyphname/fc-glyphname.c: (scan), (main):
48 * fc-lang/fc-lang.c: (FcConfigHome):
49 * fc-match/fc-match.c: (main):
50 * src/fccfg.c: (FcConfigHome):
51 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
52 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
53 (addtag), (FcFontCapabilities):
54 * src/fcpat.c: (FcValueListEntCreate):
55 * src/fcstr.c: (FcStrCaseWalkerInit):
56 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
58 Various GCC 4 cleanups for signed vs unsigned char
60 Match only [0-9]*.conf files in <include>{directory}</include>
61 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
63 2005-07-15 Carl Worth <cworth@cworth.org>
66 * src/fcinit.c: (FcFini):
67 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
70 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
71 Pull the FcObjectStateName hash table out to file scope, and add
72 FcObjectStaticNameFini so that FcFini will cleanup this hash table
75 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
78 2005-06-16 Patrick Lam <plam@MIT.EDU>
82 * src/fccfg.c: (FcConfigCompareValue):
83 Make FcOpNotContains use FcStrStr for strings so that
84 it matches semantics for !FcOpContains.
86 2005-05-20 Keith Packard <keithp@keithp.com>
90 Move fontconfig source package to libs as per override
92 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
94 reviewed by: Mike Fabian
97 The ka.orth file requires several characters which are not
98 used anymore in modern Georgian and which are missing in the free
99 Georgian TrueType fonts downloadable at:
101 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
103 2005-04-27 Keith Packard <keithp@keithp.com>
107 Update date to real 2.3.2 release date.
108 Fix change attributions
110 2005-04-27 Keith Packard <keithp@keithp.com>
113 Bump so revision for 2.3.2
114 * fc-cache/fc-cache.c: (scanDirs):
115 Fix a few minor leaks in error cases.
117 2005-04-23 Keith Packard <keithp@keithp.com>
122 * fontconfig/fontconfig.h:
123 Update for version 2.3.2
125 2005-04-21 Keith Packard <keithp@keithp.com>
127 * debian/fontconfig.postinst:
128 Don't force bitmap font enable in default
129 configuration; allows users to override this in
139 * debian/po/pt_BR.po:
140 * debian/po/templates.pot:
142 * debian/po/zh_CN.po:
145 * fc-cache/fc-cache.c: (main):
146 Destroy font configuration on exit to help valgrind
149 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
150 (FcFreeTypeCheckGlyph):
151 Use own transcoding routines in preference to iconv
152 which appears to have leaks in some translators.
153 Call iconv_close after using iconv (oops).
155 Prefer unicode encoding of Euro char as some
156 fonts mis-encode Euro in other ones.
158 Must fetch bitmap glyphs to get width values
159 to check for monospace/dual-width fonts.
161 2005-04-13 Ross Burton <ross@burtonini.com>
164 Check that a pattern isn't already frozen in FcPatternFreeze.
166 2005-03-31 Ross Burton <ross@burtonini.com>
171 Run all FcPattern objects through FcObjectStaticName, so that
172 compares can be done on pointers instead of strings (#2659)
174 2005-03-17 Tor Lillqvist <tml@novell.com>
176 * src/fontconfig.def.in: Add the .dll to the dll name.
178 2005-03-10 Keith Packard <keithp@keithp.com>
180 * debian/README.Debian:
181 Update to reflect configuration changes
183 * debian/fontconfig.postinst:
184 Fix Autohint vs Autohinter mistake
185 * debian/fontconfig.templates:
186 Adopt changes from Josselin Mouette for configuration descriptions
187 Update debian to version 2.3.1-2
189 2005-03-08 Keith Packard <keithp@keithp.com>
193 Update debian for 2.3.1
195 2005-03-09 Tor Lillqvist <tml@novell.com>
197 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
200 * src/fccfg.c (FcConfigFileExists): Check also drive letter
203 2005-03-08 Keith Packard <keithp@keithp.com>
207 * fontconfig/fontconfig.h:
210 2005-03-05 Keith Packard <keithp@keithp.com>
212 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
213 Include space and remove numbers from valid script tags.
214 This ensures that tags like 'lao ' work while rejecting
215 those which have any digits.
216 Eliminate a spurious debugging variable (len)
218 2005-03-05 Keith Packard <keithp@keithp.com>
220 * src/fcfreetype.c: (addtag), (GetScriptTags),
221 (FcFontCapabilities):
222 Rework GSUB/GPOS script parsing to survive broken fonts.
223 Thanks for the broken font go to Manish Singh
225 2005-03-05 Keith Packard <keithp@keithp.com>
230 * debian/fontconfig.config:
231 * debian/fontconfig.templates:
233 Include 2.3 release information in changelog
234 Add Josselin Mouette as an Uploader
235 Set hinting_type to low priority configuration option
238 * debian/fontconfig.postinst:
239 yes_bitmaps.conf -> yes-bitmaps.conf
245 2005-03-02 Keith Packard <keithp@keithp.com>
248 * conf.d/Makefile.am:
249 * conf.d/autohint.conf:
250 * conf.d/no-sub-pixel.conf:
251 * conf.d/sub-pixel.conf:
252 * conf.d/unhinted.conf:
253 * debian/autohint.conf:
254 * debian/fontconfig.install:
255 * debian/fontconfig.postinst:
256 * debian/fontconfig.templates:
257 * debian/no-sub-pixel.conf:
258 * debian/unhinted.conf:
259 Move debian-specific conf file examples upstream.
261 Sub-pixel configuration examples must smash subpixel value
262 as Xft always sets it from X.
264 Change sub-pixel rendering debconf descriptions from
265 Enable/Disable to Always/Never.
267 2005-03-02 Keith Packard <keithp@keithp.com>
272 Ignore more build detritus
275 Add debian package construction stuff.
277 * config/config.guess:
279 Update to newer versions of these tools
282 Get library manuals to build again (we love automake).
284 * debian/README.Debian:
285 * debian/autohint.conf:
290 * debian/fontconfig-udeb.install:
291 * debian/fontconfig.config:
292 * debian/fontconfig.defoma:
293 * debian/fontconfig.dirs:
294 * debian/fontconfig.install:
295 * debian/fontconfig.postinst:
296 * debian/fontconfig.postrm:
297 * debian/fontconfig.templates:
298 * debian/libfontconfig1-dev.install:
299 * debian/libfontconfig1.install:
300 * debian/local.conf.md5sum:
301 * debian/no-sub-pixel.conf:
302 * debian/po/POTFILES.in:
311 * debian/po/pt_BR.po:
312 * debian/po/templates.pot:
314 * debian/po/zh_CN.po:
316 * debian/unhinted.conf:
317 Update debian build system to switch maintainers and
318 deal with 2.3 functionality
320 2005-03-01 Keith Packard <keithp@keithp.com>
324 * fontconfig/fontconfig.h:
327 2005-03-01 Keith Packard <keithp@keithp.com>
330 Generate and install PDF versions of the manuals
332 * doc/fcpattern.fncs:
336 Add missing exported functions, fix data types
338 * doc/fontconfig-devel.sgml:
339 Add missing pattern elements.
341 * doc/fontconfig-user.sgml:
342 Add missing pattern elements. Document conf.d usage,
343 clarify available orthography list. Fix some config file
344 attributes. Complete list of constants.
346 * fontconfig/fontconfig.h:
347 Mark FC_SOURCE deprecated.
349 * src/fcfreetype.c: (FcFreeTypeQuery):
350 Don't set FC_SOURCE any longer.
352 2005-02-28 Keith Packard <keithp@keithp.com>
355 * conf.d/Makefile.am:
357 * conf.d/no-bitmaps.conf:
358 * conf.d/sub-pixel.conf:
359 * conf.d/yes-bitmaps.conf:
361 Create prototype /etc/fonts/conf.d directory with a few
362 sample configuration files.
363 Deprecate use of local.conf for local customizations in favor of
364 this directory based scheme which is more easily integrated into
365 installation systems.
368 Tag FC_EMBOLDEN as a boolean variable
370 2005-02-10 Keith Packard <keithp@keithp.com>
372 reviewed by: pborelli@katamail.com
374 * src/fcdir.c: (FcFileScanConfig):
375 Free patterns from fonts which are rejected by configuration
378 2005-01-28 Keith Packard <keithp@keithp.com>
382 * fontconfig/fontconfig.h:
383 Update for version 2.2.99
385 2005-01-28 Keith Packard <keithp@keithp.com>
388 Add a few pointers (#2284, #2285)
390 2005-01-28 Keith Packard <keithp@keithp.com>
393 * src/fcname.c: (FcNameBool):
394 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
395 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
396 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
397 Polite typechecking for test and edit expressions. Helps
398 catch errors in the font configuration. (bug 229)
400 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
402 reviewed by: Keith Packard <keithp@keithp.com>
405 Have --with-expat set EXPAT_CFLAGS (bug 2278)
407 2005-01-13 Keith Packard <keithp@keithp.com>
409 * doc/fontconfig-user.sgml:
410 Add SEE ALSO section (bug 2085)
412 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
414 reviewed by: Keith Packard <keithp@keithp.com>
419 * fc-case/Makefile.am:
420 * fc-glyphname/Makefile.am:
421 * fc-lang/Makefile.am:
422 * src/fontconfig.def.in:
423 Cross compiling fixes (bug 280)
425 2005-01-13 Keith Packard <keithp@keithp.com>
428 Update blanks list (Closes bug 86)
430 2005-01-04 Keith Packard <keithp@keithp.com>
432 * src/fccache.c: (FcCacheFontSetAdd):
433 Verify that every font pattern loaded from cache has
434 both FC_FILE and FC_FAMILY entries.
435 Attempt to fix bug #2219.
437 2004-12-29 Keith Packard <keithp@keithp.com>
441 * fontconfig/fontconfig.h:
442 Update for version 2.2.98
444 2004-12-29 Keith Packard <keithp@keithp.com>
446 * fontconfig/fontconfig.h:
447 Document ASCII limitations of Fc character conversion macros
448 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
449 Fix off-by-one error in utf-8 case walking code.
450 Add FcStrDowncase (useful for testing case conversion functions)
452 2004-12-29 Keith Packard <keithp@keithp.com>
455 * fc-case/.cvsignore:
456 clean up CVS ignore lists
457 * fc-lang/iso-3166.txt:
458 Add territory database
460 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
462 Reviewed by: Keith Packard
465 Remove Han characters from Korean orthography
467 2004-12-29 Keith Packard <keithp@keithp.com>
470 Reorder utility programs to make sure fc-case is run before fc-lang
471 as fc-lang uses fcstr.c which uses fccase.h
475 2004-12-29 Keith Packard <keithp@keithp.com>
478 Adopt some RedHat suggestions for standard font configuration.
482 * fc-case/CaseFolding.txt:
483 * fc-case/Makefile.am:
484 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
485 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
486 (dump), (parseRaw), (caseFoldReadRaw), (main):
487 * fc-case/fccase.tmpl.h:
488 Add new helper program 'fc-case' to construct case folding
489 tables from standard Unicode CaseFolding.txt file
492 * src/fclist.c: (FcListValueHash):
493 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
494 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
495 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
496 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
497 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
498 Re-implement case insensitive functions with Unicode
499 aware versions (including full case folding mappings)
501 2004-12-13 Keith Packard <keithp@keithp.com>
503 reviewed by: Owen Taylor <otaylor@redhat.com>
505 * src/fcmatch.c: (FcFontSetSort):
506 I changed FcFontSetSort to respect the generic aliases better
507 in the face of language matching.
509 What I did was to ammend the strict sort order used by FcFontSort so
510 that it 'satisfies' the language specified in the pattern by locating
511 the best matching font supporting each pattern language and then
512 ignores language in the remaining fonts for purposes of matching.
514 So, when asking for 'sans:lang=en', you'll get an English font first,
515 and then the remaining fonts sorted with respect to the 'sans' alias
516 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
518 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
520 reviewed by: Keith Packard <keithp@keithp.com>
522 * fontconfig/fontconfig.h:
525 Configuration changes to request synthetic emboldening of
526 fonts. The actual emboldening code will live in Xft.
528 2004-12-09 John Thacker <thacker@math.cornell.edu>
530 reviewed by: Keith Packard <keithp@keithp.com>
534 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
535 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
536 и), and don't even appear in KOI8-R. (The hypothesis that they
537 don't appear in KOI8-R due to their similarity with Latin I and i is
538 eliminated by their presence in KOI8-U.) I have a couple of fonts
539 with Russian support that don't have the letter.
541 Therefore, 0406 and 0456 should be removed from or commented out of
544 2004-12-06 michael meeks <mmeeks@novell.com>
546 Reviewed by: Keith Packard <keithp@keithp.com>
548 * src/fcinit.c: (FcMemReport):
550 * src/fclist.c: (FcObjectSetAdd):
551 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
552 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
553 * src/fcxml.c: (FcParsePatelt):
554 memoize strings and share a single copy for all uses. Note that
555 this could be improved further by using statically allocated blocks
556 and gluing multiple strings together, but I'm basically lazy.
557 In my environment with 800 font files, I get a savings of about 90KB.
559 2004-12-06 Keith Packard <keithp@keithp.com>
563 * config/Makedefs.in:
568 * doc/fccharset.fncs:
570 * doc/fcconstant.fncs:
572 * doc/fcfontset.fncs:
573 * doc/fcfreetype.fncs:
576 * doc/fcobjectset.fncs:
577 * doc/fcobjecttype.fncs:
578 * doc/fcpattern.fncs:
582 * doc/fontconfig-devel.sgml:
583 * doc/fontconfig-user.sgml:
585 * doc/version.sgml.in:
586 * fc-cache/Makefile.am:
587 * fc-cache/fc-cache.c:
588 * fc-glyphname/Makefile.am:
589 * fc-glyphname/fc-glyphname.c:
590 * fc-glyphname/fcglyphname.tmpl.h:
591 * fc-lang/Makefile.am:
601 * fc-lang/az_ir.orth:
636 * fc-lang/fc-lang.man:
637 * fc-lang/fclang.tmpl.h:
682 * fc-lang/ku_ir.orth:
715 * fc-lang/ps_af.orth:
716 * fc-lang/ps_pk.orth:
745 * fc-lang/ti_er.orth:
746 * fc-lang/ti_et.orth:
772 * fc-lang/zh_cn.orth:
773 * fc-lang/zh_hk.orth:
774 * fc-lang/zh_mo.orth:
775 * fc-lang/zh_sg.orth:
776 * fc-lang/zh_tw.orth:
778 * fc-list/Makefile.am:
780 * fc-match/Makefile.am:
781 * fc-match/fc-match.1:
782 * fc-match/fc-match.c:
783 * fontconfig/fcfreetype.h:
784 * fontconfig/fcprivate.h:
785 * fontconfig/fontconfig.h:
806 Change files from ISO-Latin-1 to UTF-8
808 2004-12-04 Keith Packard <keithp@keithp.com>
811 Update links to new freedesktop.org locations
813 Add uninstall-local to get rid of fonts.conf and local.conf if they
814 match the distributed versions. Fixes 'make distcheck'
816 2004-12-04 Keith Packard <keithp@keithp.com>
820 * fontconfig/fontconfig.h:
821 Updates for version 2.2.97
823 2004-12-04 Owen Taylor <otaylor@redhat.com>
825 reviewed by: Keith Packard <keithp@keithp.com>
827 * fc-cache/fc-cache.c: (main):
828 Sleep for two seconds before exiting to make sure timestamps
829 for future changes have distinct mod times in the file system.
832 Add Punjabi orthography. Bug #1671.
834 2004-12-04 Keith Packard <keithp@keithp.com>
837 Just remove the FC_FONTDATE -- it has locale issues and
838 annoys redhat multi-arch installs. Now that all X fonts are
839 included without prejudice, the chances of the date being at
840 all interesting are rather limited. Bug #505.
842 Add copyright and license
844 2004-12-04 Keith Packard <keithp@keithp.com>
847 Change default set of fonts to include all of
848 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
849 * doc/fontconfig-user.sgml:
850 Document new <include>directory-name</include> semantics
852 add <include ignore_missing="yes">conf.d</include>
854 Add selectfont to ignore bitmap fonts, add comment for
855 selectfont which accepts bitmap fonts.
858 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
859 Allow <include> configuration elements to reference directories.
860 Parse and load all files of the form [0-9]* in sorted order.
862 2004-12-04 Keith Packard <keithp@keithp.com>
865 Report command line for $srcdir/configure accurately.
868 2004-12-04 Keith Packard <keithp@keithp.com>
870 * src/fcfreetype.c: (FcFreeTypeQuery):
871 Check for non-empty face->family_name and face->style_name
872 before using those for the font. Empty names match everything.
875 2004-12-04 Keith Packard <keithp@keithp.com>
878 * fontconfig/fontconfig.h:
879 * src/fcfreetype.c: (FcFreeTypeQuery):
881 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
882 available. This provides font file format information (BDF, Type 1,
883 PCF, TrueType) for each font. Closes #109.
885 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
887 reviewed by: Keith Packard <keithp@keithp.com>
889 * doc/fontconfig-user.sgml:
892 * fontconfig/fontconfig.h:
893 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
894 (GetScriptTags), (FcFontCapabilities):
896 Add detection for font capabilities (bug #105)
898 2004-12-04 Keith Packard <keithp@keithp.com>
901 Move existing fonts.conf to fonts.conf.bak
904 Add detection of iconv
906 * doc/fcpattern.fncs:
907 * doc/fontconfig-devel.sgml:
908 * doc/fontconfig-user.sgml:
910 Document new selectfont elements
913 Switch to UTF-8 in comment
915 * fontconfig/fontconfig.h:
917 Add fullname, and family/style/fullname language entries
919 * src/fccache.c: (FcCacheFontSetAdd):
920 * src/fcdir.c: (FcFileScanConfig):
921 Respect selectfont/*/glob
924 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
925 (FcConfigCompareValue), (FcConfigPatternsAdd),
926 (FcConfigPatternsMatch), (FcConfigAcceptFont):
927 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
928 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
929 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
930 Add support for selectfont
932 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
933 (FcStringInPatternElement), (FcFreeTypeQuery):
934 Add multi-lingual family/style/fullname support
936 * src/fclist.c: (FcListPatternMatchAny):
937 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
939 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
940 (FcObjectStaticName):
941 Add new FcPatternRemove/FcPatternAppend.
942 FcObjectStaticName stores computed pattern element names which
943 are required to be static.
945 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
950 Remove spurious / after $(DESTDIR)
952 2004-06-30 Keith Packard <keithp@keithp.com>
956 * fontconfig/fontconfig.h:
959 2004-06-30 Keith Packard <keithp@keithp.com>
961 Provided by: Lubos Lunak <l.lunak@suse.cz>
963 * src/fccfg.c: (FcConfigUptoDate):
964 However FcConfigUptoDate() doesn't seem to work. See the attached
965 patch. First there's an obvious misplaced parenthesis making it
966 return always false, and second, even this call fails to detect font
967 changes (e.g. adding a new font to
968 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
969 well. The problem seems to be triggered by my fonts.conf specifying
970 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
971 doesn't include subdirs, unlike config->fontDirs.
973 2004-06-03 Keith Packard <keithp@keithp.com>
975 * fontconfig/fontconfig.h:
976 Remove comma at end of FcResult enum definition.
978 2004-05-29 Keith Packard <keithp@keithp.com>
981 Add steps to md5sum release
983 2004-05-29 Keith Packard <keithp@keithp.com>
987 * fontconfig/fontconfig.h:
990 2004-05-29 Keith Packard <keithp@keithp.com>
992 * fontconfig/fontconfig.h:
993 * src/fcmatch.c: (FcFontSetMatch):
994 Add FcResultOutOfMemory to provide an accurate error when
995 FcFontSetMatch fails in this way
998 Make #warning about lacking various FreeType features indicate
999 which version those features appeared so users know how to
1000 fix the problem (Thanks to Anton Tropashko)
1002 2004-05-05 Keith Packard <keithp@keithp.com>
1004 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1005 Replace MIN/MAX/ABS macros which happen to have come
1006 from FreeType with fontconfig-specific ones (FC_*)
1008 2004-04-23 Keith Packard <keithp@keithp.com>
1011 Extend release preparation instructions to include
1012 notification and distribution steps
1014 2004-04-23 Keith Packard <keithp@keithp.com>
1018 * fontconfig/fontconfig.h:
1019 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1021 2004-04-23 Keith Packard <keithp@keithp.com>
1024 Ignore a few more autotool files
1026 2004-04-14 Keith Packard <keithp@keithp.com>
1029 Add instructions for doing a release
1031 * fontconfig.spec.in:
1032 clean up .spec file; perhaps this will be useful to somebody...
1036 * fontconfig/fontconfig.h:
1039 * fc-lang/fc-lang.c:
1040 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1042 * fc-glyphname/Makefile.am:
1043 * fc-lang/Makefile.am:
1044 * fc-list/Makefile.am:
1045 * fc-match/Makefile.am:
1047 Add WARN_CFLAGS to pass -W flags for GCC systems
1049 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1050 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1051 Change various char types around to match across
1053 Fixed bug in using available_sizes[i].height which
1054 is in pixels, not 64ths of a pixel.
1056 2004-03-06 Keith Packard <keithp@keithp.com>
1058 * src/fcfreetype.c: (FcFreeTypeQuery):
1059 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1060 matches looking for explicit values prefer exact matches
1062 2004-03-02 Keith Packard <keithp@keithp.com>
1064 Supplied by: mfabian@suse.de (Mike FABIAN)
1066 * src/fcfreetype.c: (FcFreeTypeQuery):
1067 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1068 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1070 2004-02-21 Manish Singh <yosh@gimp.org>
1072 * fc-glyphname/fc-glyphname.c: (main):
1073 Cast strlen to int for printf, so we're 64-bit clean.
1075 2004-02-11 Keith Packard <keithp@keithp.com>
1078 * src/fcfreetype.c: (FcGetPixelSize):
1079 Ok, so I messed up the test for y_ppem. Let's see if I
1080 got it right this time.
1082 2004-02-10 Keith Packard <keithp@keithp.com>
1085 * src/fcfreetype.c: (FcGetPixelSize):
1086 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1087 FT_Bitmap_Size record. Add a configure.in test for this
1088 and change the code accordingly (using height instead).
1090 2004-02-06 Keith Packard <keithp@keithp.com>
1093 Add Low Saxon orthography
1094 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1096 * src/fccfg.c: (FcConfigNewestFile):
1097 Oops. Left 'newest.set' unset, which would miscompute
1100 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1101 (FcFreeTypeCheckGlyph):
1102 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1103 font properties (which report the wrong value in current FreeType)
1105 Don't attempt to check for empty glyphs in non-scalable fonts; they
1108 2004-02-01 Tor Lillqvist <tml@iki.fi>
1110 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1111 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1112 cache if config->cache is NULL, which happens if FcConfigHome() is
1113 NULL. Guard against that by using the temp folder in that case.
1115 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1117 * fc-lang/az_ir.orth:
1118 * fc-lang/ku_ir.orth:
1119 * fc-lang/ps_af.orth:
1120 * fc-lang/ps_pk.orth:
1121 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1122 (Afghan and Pakistani).
1124 Updated Urdu orthography with real data.
1126 2003-12-11 Carl Worth <cworth@east.isi.edu>
1128 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1131 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1133 (all-local): Remove excessive whitespace.
1135 * autogen.sh: Add 'set -e' to abort when any program fails,
1136 (avoids printing of 'now type make' after configure aborts).
1138 2003-11-17 Eric Christopherson <rakko@charter.net>
1140 reviewed by: Keith Packard <keithp@keithp.com>
1143 * fontconfig/fcfreetype.h:
1145 Switch to FreeType 2.1.7 style includes. Bug #150.
1147 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1149 * fc-list/fc-list.sgml: Add some example usages.
1151 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1154 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1157 2003-10-27 Keith Packard <keith@keithp.com>
1160 * fontconfig/fontconfig.h:
1161 Update to version 2.2.92
1163 2003-10-27 Keith Packard <keithp@keithp.com>
1168 * fc-cache/Makefile.am:
1169 * fc-glyphname/Makefile.am:
1170 * fc-lang/Makefile.am:
1171 * fc-list/Makefile.am:
1172 * fc-match/Makefile.am:
1175 Yet more cleanups to finish getting 'make distcheck' working
1176 This has been tested to ensure that it even works from a _build
1179 2003-10-26 Keith Packard <keithp@keithp.com>
1183 * fc-cache/Makefile.am:
1184 * fc-glyphname/Makefile.am:
1185 * fc-lang/Makefile.am:
1186 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1187 * fc-list/Makefile.am:
1188 * fc-match/Makefile.am:
1189 Attempts to fix 'make distcheck' work. Things are
1190 progressing pretty well, but there are still failures
1191 long into the process dealing with docs (as always).
1193 The big changes here are mostly to make $(srcdir) != "."
1194 work correctly, fixing the docbook related sections and
1195 fc-lang were particularily tricky. Docbook refuses to load
1196 system entities from anywhere other than where the original .sgml
1197 file was located, so no luck looking in "." for the
1198 configure-generated version.sgml and confdir.sgml files.
1200 fc-lang needed help finding .orth files; added a -d option
1201 to set the directory as the least evil of many options.
1203 Now to go use a faster machine and try and wring out the last
1206 2003-10-26 Keith Packard <keithp@keithp.com>
1210 2003-10-26 Keith Packard <keithp@keithp.com>
1213 Include confdir.sgml.in in EXTRA_DIST
1215 2003-10-09 Josselin Mouette <joss@debian.org>
1217 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1218 * fc-list/fc-list.sgml fc-list/Makefile.am:
1219 Replace fc-cache and fc-list manpages with more detailed, SGML
1222 2003-09-23 Owen Taylor <otaylor@redhat.com>
1224 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1225 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1226 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1229 2003-09-23 Owen Taylor <otaylor@redhat.com>
1231 * fc-lang/ka.orth: Remove Georgian capitals, they
1232 aren't used for normal writing. (Bug #116)
1234 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1236 * doc/fontconfig-devel.sgml:
1237 * doc/fontconfig-user.sgml:
1238 * fontconfig/fontconfig.h:
1240 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1241 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1243 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1244 monospace and dual-width fonts, allow roughly a 3% variance in the
1247 2003-08-31 Manish Singh <yosh@gimp.org>
1249 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1252 2003-08-15 Carl Worth <cworth@isi.edu>
1254 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1255 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1257 * src/fcpat.c (FcValueListEntDestroy): New function to support
1258 FcFini memory cleanup. Some statistics are not kept in
1260 (FcValueListFreeze): Move hashTable outside this function so it
1261 can be accessed by FcValueListThawAll.
1262 (FcValueListThawAll): New function complements FcValueListFreeze.
1263 (FcPatternBaseFreeze): Move hashTable outside this function so it
1264 can be accessed by FcPatternBaseThawAll.
1265 (FcPatternBaseThawAll): New function complements
1266 FcPatternBaseFreeze.
1267 (FcPatternThawAll): New function complements FcPatternFreeze.
1269 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1271 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1272 allocated FcCharLeafEnt "blocks" so they can be freed later.
1273 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1274 can be accessed by FcCharSetThawAllLeaf.
1275 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1276 (FcCharSetFreezeBase): Move hashTable outside this function so it
1277 can be accessed by FcCharSetThawAll.
1278 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1280 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1281 (FcConfigDestroy): Fic leak of FcBlanks.
1283 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1284 (main): Add call to FcFini when finished.
1286 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1287 static. Add prototypes.
1289 * doc/fcinit.fncs: Add documentation for FcFini function.
1291 * doc/edit-sgml.c: Mark several local functions as static. Add
1294 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1296 2003-06-15 Tor Lillqvist <tml@iki.fi>
1298 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1299 before comparing (needed on Windows).
1301 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1303 2003-06-13 Tor Lillqvist <tml@iki.fi>
1305 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1308 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1309 WINDOWSFONTDIR token.
1311 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1312 end, not to confuse libtool, which expects the EXPORTS line to be
1313 the first. Add FcConfigEnableHome.
1315 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1316 built as a DLL on Win32.
1318 2003-06-09 Keith Packard <keithp@keithp.com>
1320 * Tag version 2.2.90
1322 2003-06-09 Keith Packard <keithp@keithp.com>
1324 * Optimization in FcLangSetIndex was broken, occasionally
1325 returning a pointer to the wrong location on miss
1327 * Add fc-match to test font matching from the command line.
1329 2003-05-31 Keith Packard <keithp@keithp.com>
1331 * (Bug 85) add support for culmus fonts
1332 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1333 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1335 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1337 * Fix "contains" op for strings and langsets.
1339 2003-05-17 Keith Packard <keithp@keithp.com>
1341 * Fix build error with BDF prop local. Free langset after query
1343 2003-05-14 Keith Packard <keithp@keithp.com>
1345 * Extract spacing from XLFD atom
1347 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1349 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1350 disappeared in 1.30.
1352 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1354 2003-05-12 Keith Packard <keithp@keithp.com>
1356 * Use FcIsWidth to share code
1358 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1359 misclassifying some Han fonts as monospaced.
1361 2003-05-07 Keith Packard <keithp@keithp.com>
1363 * Add filename-based accept/reject to ammend available fonts.
1365 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1366 older FreeType releases.
1368 2003-05-06 Keith Packard <keithp@keithp.com>
1370 * Remove 0b82 and Tamil numbers from tamil
1371 orthography (Jungshik Shin <jshin@mailaps.org>)
1373 2003-05-04 Keith Packard <keithp@keithp.com>
1375 + Map glyph names in fonts with adobe custom encoding to unicode
1377 2003-05-02 Keith Packard <keithp@keithp.com>
1379 * Add FC_WEIGHT_BOOK as weight 75
1381 2003-04-30 Keith Packard <keithp@keithp.com>
1383 * Typo in bitstream foundry name
1385 2003-04-24 Keith Packard <keithp@keithp.com>
1387 * Eliminate italic_angle check for PS fonts
1389 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1391 * Getting closer to fixing /etc/fonts hard-coding.
1393 2003-04-22 Keith Packard <keithp@keithp.com>
1395 * Update autogen.sh to work with newer automake versions
1396 * Handle pattern elements moving during multiple edits
1398 2003-04-23 James Henstridge <james@daa.com.au>
1400 * doc/fontconfig-devel.sgml: close the <para> element.
1402 * doc/fcpattern.fncs: close the <para> element.
1404 * doc/func.sgml: close the <refsynopsisdiv> element.
1406 2003-04-22 Keith Packard <keithp@keithp.com
1408 * Update autogen.sh to work with newer automake versions
1409 * Handle pattern elements moving during multiple edits
1411 2003-04-17 Colin Walters <walters@debian.org>
1413 + Remove some unused variables, and initialize some other ones so
1414 gcc doesn't warn us.
1416 2003-04-16 Keith Packard <keithp@keithp.com>
1418 + tag version 2.1.94
1420 2003-04-16 Keith Packard <keithp@keithp.com>
1422 + add BDF property fetching support for foundry
1423 (from Juliusz Chroboczek)
1424 + add BDF property fetching support for width
1426 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1428 + Implemented foundry generation for Type 1 and TrueType
1430 2003-04-11 Gerard Escalante <g2@magestudios.net>
1432 + Retrieve information from Type1 FontInfo dictionaries
1434 2003-04-07 Colin Walters <walters@verbum.org>
1436 + src/Makefile.am: Fix dummy makefile target names when
1437 MS_LIB_AVAILABLE isn't set.
1439 2003-03-22 Tor Lillqvist <tml@iki.fi>
1441 Changes for Windows:
1443 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1445 + We don't want to hardcode the fonts.conf file location in the
1446 DLL, so we look up the DLL location at run-time in a DllMain()
1447 function. The fonts.conf location is deduced from that.
1449 + The colon can't be used as path separator on Windows,
1450 semicolon is used instead. File path components can be separated
1451 with either slash or backslash. Absolute paths can also begin
1452 with a drive letter.
1454 + Add internal function FcStrLastSlash that strrchr's the last
1455 slash, or backslash on Windows.
1457 + There is no link() on Windows. For atomicity checks, mkdir a
1458 lock directory instead.
1460 + In addition to HOME, also look for USERPROFILE.
1462 + Recognize the special font directory token WINDOWSFONTDIR, to
1463 use the system's font directory.
1465 + Remove the fontconfig-def.cpp that was obsolete. Add
1466 fontconfig.def(.in), without internal functions.
1468 + Add a fontconfig-zip(.in) script, used to build a binary
1471 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1472 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1473 to main package and man3/* to devel package
1475 + Added missing defattr(-, root, root) to main RPM package
1477 + Added HTML and text development documentation to -devel subpackage
1479 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1480 + Added back the configure macro options --disable-docs, otherwise
1481 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1482 version number) unconditionally, causing RPM to fail the build due
1483 to _unpackaged_files_terminate_build. We pick up the pregenerated
1484 docs with %doc already.
1486 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1487 + Removed commented out rpm macro define at top of spec file,
1488 replacing it with a simple explanation, since rpm macros are
1489 expanded by rpm even in comments.
1491 + Changed /usr/bin to _bindir in BuildRequires lines
1493 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1495 + Reorganized file manifest lists
1497 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1499 + fontconfig.spec.in: Improvements from Red Hat spec file.
1501 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1503 + docs/*.sgml: SGML fixes.
1505 Sat Mar 1 17:28:53 PST 2003 keithp
1506 + Ok, so the ChangeLog is a bit out of date
1508 + Lots of bugs fixed; most are in bugzilla, the
1509 biggest problems were in cache management where
1510 Owen discovered the library would lose badly when
1511 combining fonts-cache and ~/.fonts-cache data
1513 + Converted from autoconf to automake. This after
1514 getting patches accepted into libtool to allow
1515 the '-version-number' argument which lets
1516 packages set version numbers explicitly rather
1517 than the roundabout libtool way
1519 + Converted documentation to SGML using the docbook
1520 DTD. Now .txt and .html documents are installed
1521 in /usr/share/doc/fontconfig and there's no
1522 man page. Perhaps a man version can be written
1525 Sat Aug 31 15:21:22 PDT 2002 keithp
1526 + Xrender and Xft had several bugs related to
1527 rendering manually placed or poly-face text
1529 + Added more complete memory tracing in fontconfig
1530 Checked with (patched) mozilla and found no leaks
1532 + Updated Latin orthographies by comparing those from
1533 evertype.com with those from eki.ee. Tried to make
1534 sensible choices, including chars that occured in both
1535 and leaving some optional chars out that occured only
1538 Mon Aug 26 16:33:04 PDT 2002 keithp
1539 + Owen discovered that FcLangSetHasLang wasn't actually
1540 checking the language set.
1542 Mon Aug 26 13:37:23 PDT 2002 keithp
1543 + Append a version number to cache filenames
1545 Thu Aug 22 11:36:18 PDT 2002 keithp
1547 + Add "contains" and "not_contains" operators and elements to
1550 + Changed semantics of eq operator for LangSets to check for
1551 FcLangEqual so that any match will do
1553 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1554 of FcValueEqual to check for identical values when inserting into
1555 the results. This broke when the above semantic change was made,
1556 now it uses FcValueEqual which is "more correct" in any case.
1558 Thu Aug 22 00:32:29 PDT 2002 keithp
1560 + Reimplement FC_LANG as new datatype. Lists of strings
1561 was consuming over a megabyte of memory for 401 fonts.
1563 + Freeze patterns loaded from cache files. This shares
1564 common value lists and common patterns which saves
1565 considerable memory.
1567 + Change the denotation of 'constant' charsets to use special
1568 ref value instead of separate boolean.
1570 + Clean up leak tracing stuff, found several unannoted alloc/free
1573 Tue Aug 20 16:17:37 PDT 2002 keithp
1575 + Fix memory leak when parsing matrices from XML
1577 Mon Aug 19 11:57:27 PDT 2002 keithp
1579 + Fix autoconf files to pass FONTCONFIG_PATH on
1580 compile line so that ${prefix} gets substituted
1583 + Use getc_unlocked/putc_unlocked on systems that
1584 provide them to avoid damage done to stdio by posix
1586 + Eliminate FC_PATTERN and FcTypePattern in favor of
1587 an extended api for FcConfigSubstitute which takes
1588 both the font and the pattern.
1590 + Add 'sans serif' alias for 'sans-serif' as some apps
1591 can't handle hyphens in family names
1593 + Eliminate pretense of support for libxml2
1595 + Comment origins of Han orthographies
1597 Tue Jul 30 18:37:09 PDT 2002 keithp
1599 + Add binding property to edit element so that strong
1600 binding values may be inserted by the config file.
1601 The default remains weak.
1603 Sun 28 Jul 04:16:55 PDT 2002 keithp
1605 + Tagged release candidate 1 in the CVS tree and
1606 placed fcpackage.rc1.tar.gz for distribution
1608 Thu Aug 1 08:55:08 PDT 2002 keithp
1610 + Fixed autoconf builds to always specify install
1611 target files (for BSD). Also fixed to
1612 define FONTCONFIG_PATH in config.h so that
1613 nonstandard installs will actually work.