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-10-05 Christian Biesinger <cbiesinger@web.de>
10 reviewed by: plam & keithp
14 Use libtool -no-undefined flag on all platforms.
16 2005-10-05 Patrick Lam <plam@mit.edu>
17 * src/fccache.c (FcCacheHaveBank):
19 Implement move-to-front array for banks (perf regression
20 reported by Ronny V. Vindenes).
22 2005-10-04 Patrick Lam <plam@mit.edu>
23 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
24 FcDirCacheHasCurrentArch):
25 * fc-cache/fc-cache.c (scanDirs):
26 * fontconfig/fontconfig.h:
28 Add new API which unlinks directory caches and checks dir caches
29 for existence of appropriate sections. Fix fc-cache to unlink
30 stale cache files and save directory caches that lack relevant
33 2005-10-03 Patrick Lam <plam@mit.edu>
34 * src/fccache.c (FcDirCacheValid):
36 Ensure that a directory cache has the appropriate section
37 before reporting that it is valid (reported by Matthias Clasen).
39 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
47 Use libxml2 if requested (with --enable-libxml2) or if
48 expat is not available.
50 2005-09-29 Patrick Lam <plam@mit.edu>
51 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
53 Fix multi-arch cache files: compute the position for the
54 block to be added using info from OrigFile, not NewFile.
56 2005-09-28 Patrick Lam <plam@mit.edu>
57 * src/fccache.c (FcCacheMachineSignature):
59 Cast results of sizeof() to unsigned int to get rid of
60 warnings on x86_64 (thanks Matthias Clasen).
62 2005-09-27 Patrick Lam <plam@mit.edu>
63 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
66 Use FcAtomic to rewrite cache files.
68 2005-09-27 Patrick Lam <plam@mit.edu>
70 * src/fccache.c (FcDirCacheWrite):
72 Don't unlink the fonts.cache-2 file even if there's no data
73 to write; just write an empty cache file. (thanks Lubos Lunak)
75 2005-09-27 Patrick Lam <plam@mit.edu>
77 * src/fccache.c (FcDirCacheWrite):
79 Allocate room for the subdirectory names in each
80 directory cache. Thanks to James Cloos for finding
81 and diagnosing this bug!
83 2005-09-22 Patrick Lam <plam@mit.edu>
85 * fc-cache/fc-cache.sgml:
86 * src/fccache.c (FcDirCacheWrite):
87 * src/fccache.h (struct FcCache):
89 Update documentation -- fc-cache's man page now says that you
90 need to run fc-cache once per cached architecture; add some
91 documentation to the FcCache structure.
93 Make fc-cache write out fonts.cache-2 files for directories with
94 no fonts (i.e. only subdirectories).
96 2005-09-22 Patrick Lam <plam@mit.edu>
98 * fc-cache/fc-cache.sgml:
100 * fc-glyphname/fc-glyphname.c:
106 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
111 * fontconfig/fcprivate.h:
112 * fontconfig/fontconfig.h:
126 Implement new mmaped cache for font information.
127 Bump so revision to 2.3.90.
129 2005-07-25 Keith Packard <keithp@keithp.com>
131 * doc/fontconfig-user.sgml:
132 * fc-glyphname/fc-glyphname.c: (scan), (main):
133 * fc-lang/fc-lang.c: (FcConfigHome):
134 * fc-match/fc-match.c: (main):
135 * src/fccfg.c: (FcConfigHome):
136 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
137 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
138 (addtag), (FcFontCapabilities):
139 * src/fcpat.c: (FcValueListEntCreate):
140 * src/fcstr.c: (FcStrCaseWalkerInit):
141 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
143 Various GCC 4 cleanups for signed vs unsigned char
145 Match only [0-9]*.conf files in <include>{directory}</include>
146 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
148 2005-07-15 Carl Worth <cworth@cworth.org>
151 * src/fcinit.c: (FcFini):
152 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
155 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
156 Pull the FcObjectStateName hash table out to file scope, and add
157 FcObjectStaticNameFini so that FcFini will cleanup this hash table
160 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
163 2005-06-16 Patrick Lam <plam@MIT.EDU>
167 * src/fccfg.c: (FcConfigCompareValue):
168 Make FcOpNotContains use FcStrStr for strings so that
169 it matches semantics for !FcOpContains.
171 2005-05-20 Keith Packard <keithp@keithp.com>
175 Move fontconfig source package to libs as per override
177 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
179 reviewed by: Mike Fabian
182 The ka.orth file requires several characters which are not
183 used anymore in modern Georgian and which are missing in the free
184 Georgian TrueType fonts downloadable at:
186 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
188 2005-04-27 Keith Packard <keithp@keithp.com>
192 Update date to real 2.3.2 release date.
193 Fix change attributions
195 2005-04-27 Keith Packard <keithp@keithp.com>
198 Bump so revision for 2.3.2
199 * fc-cache/fc-cache.c: (scanDirs):
200 Fix a few minor leaks in error cases.
202 2005-04-23 Keith Packard <keithp@keithp.com>
207 * fontconfig/fontconfig.h:
208 Update for version 2.3.2
210 2005-04-21 Keith Packard <keithp@keithp.com>
212 * debian/fontconfig.postinst:
213 Don't force bitmap font enable in default
214 configuration; allows users to override this in
224 * debian/po/pt_BR.po:
225 * debian/po/templates.pot:
227 * debian/po/zh_CN.po:
230 * fc-cache/fc-cache.c: (main):
231 Destroy font configuration on exit to help valgrind
234 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
235 (FcFreeTypeCheckGlyph):
236 Use own transcoding routines in preference to iconv
237 which appears to have leaks in some translators.
238 Call iconv_close after using iconv (oops).
240 Prefer unicode encoding of Euro char as some
241 fonts mis-encode Euro in other ones.
243 Must fetch bitmap glyphs to get width values
244 to check for monospace/dual-width fonts.
246 2005-04-13 Ross Burton <ross@burtonini.com>
249 Check that a pattern isn't already frozen in FcPatternFreeze.
251 2005-03-31 Ross Burton <ross@burtonini.com>
256 Run all FcPattern objects through FcObjectStaticName, so that
257 compares can be done on pointers instead of strings (#2659)
259 2005-03-17 Tor Lillqvist <tml@novell.com>
261 * src/fontconfig.def.in: Add the .dll to the dll name.
263 2005-03-10 Keith Packard <keithp@keithp.com>
265 * debian/README.Debian:
266 Update to reflect configuration changes
268 * debian/fontconfig.postinst:
269 Fix Autohint vs Autohinter mistake
270 * debian/fontconfig.templates:
271 Adopt changes from Josselin Mouette for configuration descriptions
272 Update debian to version 2.3.1-2
274 2005-03-08 Keith Packard <keithp@keithp.com>
278 Update debian for 2.3.1
280 2005-03-09 Tor Lillqvist <tml@novell.com>
282 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
285 * src/fccfg.c (FcConfigFileExists): Check also drive letter
288 2005-03-08 Keith Packard <keithp@keithp.com>
292 * fontconfig/fontconfig.h:
295 2005-03-05 Keith Packard <keithp@keithp.com>
297 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
298 Include space and remove numbers from valid script tags.
299 This ensures that tags like 'lao ' work while rejecting
300 those which have any digits.
301 Eliminate a spurious debugging variable (len)
303 2005-03-05 Keith Packard <keithp@keithp.com>
305 * src/fcfreetype.c: (addtag), (GetScriptTags),
306 (FcFontCapabilities):
307 Rework GSUB/GPOS script parsing to survive broken fonts.
308 Thanks for the broken font go to Manish Singh
310 2005-03-05 Keith Packard <keithp@keithp.com>
315 * debian/fontconfig.config:
316 * debian/fontconfig.templates:
318 Include 2.3 release information in changelog
319 Add Josselin Mouette as an Uploader
320 Set hinting_type to low priority configuration option
323 * debian/fontconfig.postinst:
324 yes_bitmaps.conf -> yes-bitmaps.conf
330 2005-03-02 Keith Packard <keithp@keithp.com>
333 * conf.d/Makefile.am:
334 * conf.d/autohint.conf:
335 * conf.d/no-sub-pixel.conf:
336 * conf.d/sub-pixel.conf:
337 * conf.d/unhinted.conf:
338 * debian/autohint.conf:
339 * debian/fontconfig.install:
340 * debian/fontconfig.postinst:
341 * debian/fontconfig.templates:
342 * debian/no-sub-pixel.conf:
343 * debian/unhinted.conf:
344 Move debian-specific conf file examples upstream.
346 Sub-pixel configuration examples must smash subpixel value
347 as Xft always sets it from X.
349 Change sub-pixel rendering debconf descriptions from
350 Enable/Disable to Always/Never.
352 2005-03-02 Keith Packard <keithp@keithp.com>
357 Ignore more build detritus
360 Add debian package construction stuff.
362 * config/config.guess:
364 Update to newer versions of these tools
367 Get library manuals to build again (we love automake).
369 * debian/README.Debian:
370 * debian/autohint.conf:
375 * debian/fontconfig-udeb.install:
376 * debian/fontconfig.config:
377 * debian/fontconfig.defoma:
378 * debian/fontconfig.dirs:
379 * debian/fontconfig.install:
380 * debian/fontconfig.postinst:
381 * debian/fontconfig.postrm:
382 * debian/fontconfig.templates:
383 * debian/libfontconfig1-dev.install:
384 * debian/libfontconfig1.install:
385 * debian/local.conf.md5sum:
386 * debian/no-sub-pixel.conf:
387 * debian/po/POTFILES.in:
396 * debian/po/pt_BR.po:
397 * debian/po/templates.pot:
399 * debian/po/zh_CN.po:
401 * debian/unhinted.conf:
402 Update debian build system to switch maintainers and
403 deal with 2.3 functionality
405 2005-03-01 Keith Packard <keithp@keithp.com>
409 * fontconfig/fontconfig.h:
412 2005-03-01 Keith Packard <keithp@keithp.com>
415 Generate and install PDF versions of the manuals
417 * doc/fcpattern.fncs:
421 Add missing exported functions, fix data types
423 * doc/fontconfig-devel.sgml:
424 Add missing pattern elements.
426 * doc/fontconfig-user.sgml:
427 Add missing pattern elements. Document conf.d usage,
428 clarify available orthography list. Fix some config file
429 attributes. Complete list of constants.
431 * fontconfig/fontconfig.h:
432 Mark FC_SOURCE deprecated.
434 * src/fcfreetype.c: (FcFreeTypeQuery):
435 Don't set FC_SOURCE any longer.
437 2005-02-28 Keith Packard <keithp@keithp.com>
440 * conf.d/Makefile.am:
442 * conf.d/no-bitmaps.conf:
443 * conf.d/sub-pixel.conf:
444 * conf.d/yes-bitmaps.conf:
446 Create prototype /etc/fonts/conf.d directory with a few
447 sample configuration files.
448 Deprecate use of local.conf for local customizations in favor of
449 this directory based scheme which is more easily integrated into
450 installation systems.
453 Tag FC_EMBOLDEN as a boolean variable
455 2005-02-10 Keith Packard <keithp@keithp.com>
457 reviewed by: pborelli@katamail.com
459 * src/fcdir.c: (FcFileScanConfig):
460 Free patterns from fonts which are rejected by configuration
463 2005-01-28 Keith Packard <keithp@keithp.com>
467 * fontconfig/fontconfig.h:
468 Update for version 2.2.99
470 2005-01-28 Keith Packard <keithp@keithp.com>
473 Add a few pointers (#2284, #2285)
475 2005-01-28 Keith Packard <keithp@keithp.com>
478 * src/fcname.c: (FcNameBool):
479 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
480 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
481 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
482 Polite typechecking for test and edit expressions. Helps
483 catch errors in the font configuration. (bug 229)
485 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
487 reviewed by: Keith Packard <keithp@keithp.com>
490 Have --with-expat set EXPAT_CFLAGS (bug 2278)
492 2005-01-13 Keith Packard <keithp@keithp.com>
494 * doc/fontconfig-user.sgml:
495 Add SEE ALSO section (bug 2085)
497 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
499 reviewed by: Keith Packard <keithp@keithp.com>
504 * fc-case/Makefile.am:
505 * fc-glyphname/Makefile.am:
506 * fc-lang/Makefile.am:
507 * src/fontconfig.def.in:
508 Cross compiling fixes (bug 280)
510 2005-01-13 Keith Packard <keithp@keithp.com>
513 Update blanks list (Closes bug 86)
515 2005-01-04 Keith Packard <keithp@keithp.com>
517 * src/fccache.c: (FcCacheFontSetAdd):
518 Verify that every font pattern loaded from cache has
519 both FC_FILE and FC_FAMILY entries.
520 Attempt to fix bug #2219.
522 2004-12-29 Keith Packard <keithp@keithp.com>
526 * fontconfig/fontconfig.h:
527 Update for version 2.2.98
529 2004-12-29 Keith Packard <keithp@keithp.com>
531 * fontconfig/fontconfig.h:
532 Document ASCII limitations of Fc character conversion macros
533 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
534 Fix off-by-one error in utf-8 case walking code.
535 Add FcStrDowncase (useful for testing case conversion functions)
537 2004-12-29 Keith Packard <keithp@keithp.com>
540 * fc-case/.cvsignore:
541 clean up CVS ignore lists
542 * fc-lang/iso-3166.txt:
543 Add territory database
545 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
547 Reviewed by: Keith Packard
550 Remove Han characters from Korean orthography
552 2004-12-29 Keith Packard <keithp@keithp.com>
555 Reorder utility programs to make sure fc-case is run before fc-lang
556 as fc-lang uses fcstr.c which uses fccase.h
560 2004-12-29 Keith Packard <keithp@keithp.com>
563 Adopt some RedHat suggestions for standard font configuration.
567 * fc-case/CaseFolding.txt:
568 * fc-case/Makefile.am:
569 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
570 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
571 (dump), (parseRaw), (caseFoldReadRaw), (main):
572 * fc-case/fccase.tmpl.h:
573 Add new helper program 'fc-case' to construct case folding
574 tables from standard Unicode CaseFolding.txt file
577 * src/fclist.c: (FcListValueHash):
578 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
579 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
580 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
581 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
582 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
583 Re-implement case insensitive functions with Unicode
584 aware versions (including full case folding mappings)
586 2004-12-13 Keith Packard <keithp@keithp.com>
588 reviewed by: Owen Taylor <otaylor@redhat.com>
590 * src/fcmatch.c: (FcFontSetSort):
591 I changed FcFontSetSort to respect the generic aliases better
592 in the face of language matching.
594 What I did was to ammend the strict sort order used by FcFontSort so
595 that it 'satisfies' the language specified in the pattern by locating
596 the best matching font supporting each pattern language and then
597 ignores language in the remaining fonts for purposes of matching.
599 So, when asking for 'sans:lang=en', you'll get an English font first,
600 and then the remaining fonts sorted with respect to the 'sans' alias
601 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
603 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
605 reviewed by: Keith Packard <keithp@keithp.com>
607 * fontconfig/fontconfig.h:
610 Configuration changes to request synthetic emboldening of
611 fonts. The actual emboldening code will live in Xft.
613 2004-12-09 John Thacker <thacker@math.cornell.edu>
615 reviewed by: Keith Packard <keithp@keithp.com>
619 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
620 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
621 и), and don't even appear in KOI8-R. (The hypothesis that they
622 don't appear in KOI8-R due to their similarity with Latin I and i is
623 eliminated by their presence in KOI8-U.) I have a couple of fonts
624 with Russian support that don't have the letter.
626 Therefore, 0406 and 0456 should be removed from or commented out of
629 2004-12-06 michael meeks <mmeeks@novell.com>
631 Reviewed by: Keith Packard <keithp@keithp.com>
633 * src/fcinit.c: (FcMemReport):
635 * src/fclist.c: (FcObjectSetAdd):
636 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
637 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
638 * src/fcxml.c: (FcParsePatelt):
639 memoize strings and share a single copy for all uses. Note that
640 this could be improved further by using statically allocated blocks
641 and gluing multiple strings together, but I'm basically lazy.
642 In my environment with 800 font files, I get a savings of about 90KB.
644 2004-12-06 Keith Packard <keithp@keithp.com>
648 * config/Makedefs.in:
653 * doc/fccharset.fncs:
655 * doc/fcconstant.fncs:
657 * doc/fcfontset.fncs:
658 * doc/fcfreetype.fncs:
661 * doc/fcobjectset.fncs:
662 * doc/fcobjecttype.fncs:
663 * doc/fcpattern.fncs:
667 * doc/fontconfig-devel.sgml:
668 * doc/fontconfig-user.sgml:
670 * doc/version.sgml.in:
671 * fc-cache/Makefile.am:
672 * fc-cache/fc-cache.c:
673 * fc-glyphname/Makefile.am:
674 * fc-glyphname/fc-glyphname.c:
675 * fc-glyphname/fcglyphname.tmpl.h:
676 * fc-lang/Makefile.am:
686 * fc-lang/az_ir.orth:
721 * fc-lang/fc-lang.man:
722 * fc-lang/fclang.tmpl.h:
767 * fc-lang/ku_ir.orth:
800 * fc-lang/ps_af.orth:
801 * fc-lang/ps_pk.orth:
830 * fc-lang/ti_er.orth:
831 * fc-lang/ti_et.orth:
857 * fc-lang/zh_cn.orth:
858 * fc-lang/zh_hk.orth:
859 * fc-lang/zh_mo.orth:
860 * fc-lang/zh_sg.orth:
861 * fc-lang/zh_tw.orth:
863 * fc-list/Makefile.am:
865 * fc-match/Makefile.am:
866 * fc-match/fc-match.1:
867 * fc-match/fc-match.c:
868 * fontconfig/fcfreetype.h:
869 * fontconfig/fcprivate.h:
870 * fontconfig/fontconfig.h:
891 Change files from ISO-Latin-1 to UTF-8
893 2004-12-04 Keith Packard <keithp@keithp.com>
896 Update links to new freedesktop.org locations
898 Add uninstall-local to get rid of fonts.conf and local.conf if they
899 match the distributed versions. Fixes 'make distcheck'
901 2004-12-04 Keith Packard <keithp@keithp.com>
905 * fontconfig/fontconfig.h:
906 Updates for version 2.2.97
908 2004-12-04 Owen Taylor <otaylor@redhat.com>
910 reviewed by: Keith Packard <keithp@keithp.com>
912 * fc-cache/fc-cache.c: (main):
913 Sleep for two seconds before exiting to make sure timestamps
914 for future changes have distinct mod times in the file system.
917 Add Punjabi orthography. Bug #1671.
919 2004-12-04 Keith Packard <keithp@keithp.com>
922 Just remove the FC_FONTDATE -- it has locale issues and
923 annoys redhat multi-arch installs. Now that all X fonts are
924 included without prejudice, the chances of the date being at
925 all interesting are rather limited. Bug #505.
927 Add copyright and license
929 2004-12-04 Keith Packard <keithp@keithp.com>
932 Change default set of fonts to include all of
933 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
934 * doc/fontconfig-user.sgml:
935 Document new <include>directory-name</include> semantics
937 add <include ignore_missing="yes">conf.d</include>
939 Add selectfont to ignore bitmap fonts, add comment for
940 selectfont which accepts bitmap fonts.
943 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
944 Allow <include> configuration elements to reference directories.
945 Parse and load all files of the form [0-9]* in sorted order.
947 2004-12-04 Keith Packard <keithp@keithp.com>
950 Report command line for $srcdir/configure accurately.
953 2004-12-04 Keith Packard <keithp@keithp.com>
955 * src/fcfreetype.c: (FcFreeTypeQuery):
956 Check for non-empty face->family_name and face->style_name
957 before using those for the font. Empty names match everything.
960 2004-12-04 Keith Packard <keithp@keithp.com>
963 * fontconfig/fontconfig.h:
964 * src/fcfreetype.c: (FcFreeTypeQuery):
966 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
967 available. This provides font file format information (BDF, Type 1,
968 PCF, TrueType) for each font. Closes #109.
970 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
972 reviewed by: Keith Packard <keithp@keithp.com>
974 * doc/fontconfig-user.sgml:
977 * fontconfig/fontconfig.h:
978 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
979 (GetScriptTags), (FcFontCapabilities):
981 Add detection for font capabilities (bug #105)
983 2004-12-04 Keith Packard <keithp@keithp.com>
986 Move existing fonts.conf to fonts.conf.bak
989 Add detection of iconv
991 * doc/fcpattern.fncs:
992 * doc/fontconfig-devel.sgml:
993 * doc/fontconfig-user.sgml:
995 Document new selectfont elements
998 Switch to UTF-8 in comment
1000 * fontconfig/fontconfig.h:
1002 Add fullname, and family/style/fullname language entries
1004 * src/fccache.c: (FcCacheFontSetAdd):
1005 * src/fcdir.c: (FcFileScanConfig):
1006 Respect selectfont/*/glob
1009 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1010 (FcConfigCompareValue), (FcConfigPatternsAdd),
1011 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1012 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1013 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1014 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1015 Add support for selectfont
1017 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1018 (FcStringInPatternElement), (FcFreeTypeQuery):
1019 Add multi-lingual family/style/fullname support
1021 * src/fclist.c: (FcListPatternMatchAny):
1022 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1024 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1025 (FcObjectStaticName):
1026 Add new FcPatternRemove/FcPatternAppend.
1027 FcObjectStaticName stores computed pattern element names which
1028 are required to be static.
1030 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1035 Remove spurious / after $(DESTDIR)
1037 2004-06-30 Keith Packard <keithp@keithp.com>
1041 * fontconfig/fontconfig.h:
1044 2004-06-30 Keith Packard <keithp@keithp.com>
1046 Provided by: Lubos Lunak <l.lunak@suse.cz>
1048 * src/fccfg.c: (FcConfigUptoDate):
1049 However FcConfigUptoDate() doesn't seem to work. See the attached
1050 patch. First there's an obvious misplaced parenthesis making it
1051 return always false, and second, even this call fails to detect font
1052 changes (e.g. adding a new font to
1053 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1054 well. The problem seems to be triggered by my fonts.conf specifying
1055 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1056 doesn't include subdirs, unlike config->fontDirs.
1058 2004-06-03 Keith Packard <keithp@keithp.com>
1060 * fontconfig/fontconfig.h:
1061 Remove comma at end of FcResult enum definition.
1063 2004-05-29 Keith Packard <keithp@keithp.com>
1066 Add steps to md5sum release
1068 2004-05-29 Keith Packard <keithp@keithp.com>
1072 * fontconfig/fontconfig.h:
1075 2004-05-29 Keith Packard <keithp@keithp.com>
1077 * fontconfig/fontconfig.h:
1078 * src/fcmatch.c: (FcFontSetMatch):
1079 Add FcResultOutOfMemory to provide an accurate error when
1080 FcFontSetMatch fails in this way
1083 Make #warning about lacking various FreeType features indicate
1084 which version those features appeared so users know how to
1085 fix the problem (Thanks to Anton Tropashko)
1087 2004-05-05 Keith Packard <keithp@keithp.com>
1089 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1090 Replace MIN/MAX/ABS macros which happen to have come
1091 from FreeType with fontconfig-specific ones (FC_*)
1093 2004-04-23 Keith Packard <keithp@keithp.com>
1096 Extend release preparation instructions to include
1097 notification and distribution steps
1099 2004-04-23 Keith Packard <keithp@keithp.com>
1103 * fontconfig/fontconfig.h:
1104 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1106 2004-04-23 Keith Packard <keithp@keithp.com>
1109 Ignore a few more autotool files
1111 2004-04-14 Keith Packard <keithp@keithp.com>
1114 Add instructions for doing a release
1116 * fontconfig.spec.in:
1117 clean up .spec file; perhaps this will be useful to somebody...
1121 * fontconfig/fontconfig.h:
1124 * fc-lang/fc-lang.c:
1125 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1127 * fc-glyphname/Makefile.am:
1128 * fc-lang/Makefile.am:
1129 * fc-list/Makefile.am:
1130 * fc-match/Makefile.am:
1132 Add WARN_CFLAGS to pass -W flags for GCC systems
1134 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1135 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1136 Change various char types around to match across
1138 Fixed bug in using available_sizes[i].height which
1139 is in pixels, not 64ths of a pixel.
1141 2004-03-06 Keith Packard <keithp@keithp.com>
1143 * src/fcfreetype.c: (FcFreeTypeQuery):
1144 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1145 matches looking for explicit values prefer exact matches
1147 2004-03-02 Keith Packard <keithp@keithp.com>
1149 Supplied by: mfabian@suse.de (Mike FABIAN)
1151 * src/fcfreetype.c: (FcFreeTypeQuery):
1152 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1153 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1155 2004-02-21 Manish Singh <yosh@gimp.org>
1157 * fc-glyphname/fc-glyphname.c: (main):
1158 Cast strlen to int for printf, so we're 64-bit clean.
1160 2004-02-11 Keith Packard <keithp@keithp.com>
1163 * src/fcfreetype.c: (FcGetPixelSize):
1164 Ok, so I messed up the test for y_ppem. Let's see if I
1165 got it right this time.
1167 2004-02-10 Keith Packard <keithp@keithp.com>
1170 * src/fcfreetype.c: (FcGetPixelSize):
1171 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1172 FT_Bitmap_Size record. Add a configure.in test for this
1173 and change the code accordingly (using height instead).
1175 2004-02-06 Keith Packard <keithp@keithp.com>
1178 Add Low Saxon orthography
1179 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1181 * src/fccfg.c: (FcConfigNewestFile):
1182 Oops. Left 'newest.set' unset, which would miscompute
1185 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1186 (FcFreeTypeCheckGlyph):
1187 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1188 font properties (which report the wrong value in current FreeType)
1190 Don't attempt to check for empty glyphs in non-scalable fonts; they
1193 2004-02-01 Tor Lillqvist <tml@iki.fi>
1195 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1196 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1197 cache if config->cache is NULL, which happens if FcConfigHome() is
1198 NULL. Guard against that by using the temp folder in that case.
1200 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1202 * fc-lang/az_ir.orth:
1203 * fc-lang/ku_ir.orth:
1204 * fc-lang/ps_af.orth:
1205 * fc-lang/ps_pk.orth:
1206 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1207 (Afghan and Pakistani).
1209 Updated Urdu orthography with real data.
1211 2003-12-11 Carl Worth <cworth@east.isi.edu>
1213 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1216 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1218 (all-local): Remove excessive whitespace.
1220 * autogen.sh: Add 'set -e' to abort when any program fails,
1221 (avoids printing of 'now type make' after configure aborts).
1223 2003-11-17 Eric Christopherson <rakko@charter.net>
1225 reviewed by: Keith Packard <keithp@keithp.com>
1228 * fontconfig/fcfreetype.h:
1230 Switch to FreeType 2.1.7 style includes. Bug #150.
1232 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1234 * fc-list/fc-list.sgml: Add some example usages.
1236 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1239 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1242 2003-10-27 Keith Packard <keith@keithp.com>
1245 * fontconfig/fontconfig.h:
1246 Update to version 2.2.92
1248 2003-10-27 Keith Packard <keithp@keithp.com>
1253 * fc-cache/Makefile.am:
1254 * fc-glyphname/Makefile.am:
1255 * fc-lang/Makefile.am:
1256 * fc-list/Makefile.am:
1257 * fc-match/Makefile.am:
1260 Yet more cleanups to finish getting 'make distcheck' working
1261 This has been tested to ensure that it even works from a _build
1264 2003-10-26 Keith Packard <keithp@keithp.com>
1268 * fc-cache/Makefile.am:
1269 * fc-glyphname/Makefile.am:
1270 * fc-lang/Makefile.am:
1271 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1272 * fc-list/Makefile.am:
1273 * fc-match/Makefile.am:
1274 Attempts to fix 'make distcheck' work. Things are
1275 progressing pretty well, but there are still failures
1276 long into the process dealing with docs (as always).
1278 The big changes here are mostly to make $(srcdir) != "."
1279 work correctly, fixing the docbook related sections and
1280 fc-lang were particularily tricky. Docbook refuses to load
1281 system entities from anywhere other than where the original .sgml
1282 file was located, so no luck looking in "." for the
1283 configure-generated version.sgml and confdir.sgml files.
1285 fc-lang needed help finding .orth files; added a -d option
1286 to set the directory as the least evil of many options.
1288 Now to go use a faster machine and try and wring out the last
1291 2003-10-26 Keith Packard <keithp@keithp.com>
1295 2003-10-26 Keith Packard <keithp@keithp.com>
1298 Include confdir.sgml.in in EXTRA_DIST
1300 2003-10-09 Josselin Mouette <joss@debian.org>
1302 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1303 * fc-list/fc-list.sgml fc-list/Makefile.am:
1304 Replace fc-cache and fc-list manpages with more detailed, SGML
1307 2003-09-23 Owen Taylor <otaylor@redhat.com>
1309 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1310 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1311 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1314 2003-09-23 Owen Taylor <otaylor@redhat.com>
1316 * fc-lang/ka.orth: Remove Georgian capitals, they
1317 aren't used for normal writing. (Bug #116)
1319 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1321 * doc/fontconfig-devel.sgml:
1322 * doc/fontconfig-user.sgml:
1323 * fontconfig/fontconfig.h:
1325 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1326 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1328 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1329 monospace and dual-width fonts, allow roughly a 3% variance in the
1332 2003-08-31 Manish Singh <yosh@gimp.org>
1334 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1337 2003-08-15 Carl Worth <cworth@isi.edu>
1339 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1340 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1342 * src/fcpat.c (FcValueListEntDestroy): New function to support
1343 FcFini memory cleanup. Some statistics are not kept in
1345 (FcValueListFreeze): Move hashTable outside this function so it
1346 can be accessed by FcValueListThawAll.
1347 (FcValueListThawAll): New function complements FcValueListFreeze.
1348 (FcPatternBaseFreeze): Move hashTable outside this function so it
1349 can be accessed by FcPatternBaseThawAll.
1350 (FcPatternBaseThawAll): New function complements
1351 FcPatternBaseFreeze.
1352 (FcPatternThawAll): New function complements FcPatternFreeze.
1354 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1356 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1357 allocated FcCharLeafEnt "blocks" so they can be freed later.
1358 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1359 can be accessed by FcCharSetThawAllLeaf.
1360 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1361 (FcCharSetFreezeBase): Move hashTable outside this function so it
1362 can be accessed by FcCharSetThawAll.
1363 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1365 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1366 (FcConfigDestroy): Fic leak of FcBlanks.
1368 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1369 (main): Add call to FcFini when finished.
1371 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1372 static. Add prototypes.
1374 * doc/fcinit.fncs: Add documentation for FcFini function.
1376 * doc/edit-sgml.c: Mark several local functions as static. Add
1379 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1381 2003-06-15 Tor Lillqvist <tml@iki.fi>
1383 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1384 before comparing (needed on Windows).
1386 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1388 2003-06-13 Tor Lillqvist <tml@iki.fi>
1390 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1393 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1394 WINDOWSFONTDIR token.
1396 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1397 end, not to confuse libtool, which expects the EXPORTS line to be
1398 the first. Add FcConfigEnableHome.
1400 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1401 built as a DLL on Win32.
1403 2003-06-09 Keith Packard <keithp@keithp.com>
1405 * Tag version 2.2.90
1407 2003-06-09 Keith Packard <keithp@keithp.com>
1409 * Optimization in FcLangSetIndex was broken, occasionally
1410 returning a pointer to the wrong location on miss
1412 * Add fc-match to test font matching from the command line.
1414 2003-05-31 Keith Packard <keithp@keithp.com>
1416 * (Bug 85) add support for culmus fonts
1417 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1418 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1420 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1422 * Fix "contains" op for strings and langsets.
1424 2003-05-17 Keith Packard <keithp@keithp.com>
1426 * Fix build error with BDF prop local. Free langset after query
1428 2003-05-14 Keith Packard <keithp@keithp.com>
1430 * Extract spacing from XLFD atom
1432 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1434 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1435 disappeared in 1.30.
1437 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1439 2003-05-12 Keith Packard <keithp@keithp.com>
1441 * Use FcIsWidth to share code
1443 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1444 misclassifying some Han fonts as monospaced.
1446 2003-05-07 Keith Packard <keithp@keithp.com>
1448 * Add filename-based accept/reject to ammend available fonts.
1450 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1451 older FreeType releases.
1453 2003-05-06 Keith Packard <keithp@keithp.com>
1455 * Remove 0b82 and Tamil numbers from tamil
1456 orthography (Jungshik Shin <jshin@mailaps.org>)
1458 2003-05-04 Keith Packard <keithp@keithp.com>
1460 + Map glyph names in fonts with adobe custom encoding to unicode
1462 2003-05-02 Keith Packard <keithp@keithp.com>
1464 * Add FC_WEIGHT_BOOK as weight 75
1466 2003-04-30 Keith Packard <keithp@keithp.com>
1468 * Typo in bitstream foundry name
1470 2003-04-24 Keith Packard <keithp@keithp.com>
1472 * Eliminate italic_angle check for PS fonts
1474 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1476 * Getting closer to fixing /etc/fonts hard-coding.
1478 2003-04-22 Keith Packard <keithp@keithp.com>
1480 * Update autogen.sh to work with newer automake versions
1481 * Handle pattern elements moving during multiple edits
1483 2003-04-23 James Henstridge <james@daa.com.au>
1485 * doc/fontconfig-devel.sgml: close the <para> element.
1487 * doc/fcpattern.fncs: close the <para> element.
1489 * doc/func.sgml: close the <refsynopsisdiv> element.
1491 2003-04-22 Keith Packard <keithp@keithp.com
1493 * Update autogen.sh to work with newer automake versions
1494 * Handle pattern elements moving during multiple edits
1496 2003-04-17 Colin Walters <walters@debian.org>
1498 + Remove some unused variables, and initialize some other ones so
1499 gcc doesn't warn us.
1501 2003-04-16 Keith Packard <keithp@keithp.com>
1503 + tag version 2.1.94
1505 2003-04-16 Keith Packard <keithp@keithp.com>
1507 + add BDF property fetching support for foundry
1508 (from Juliusz Chroboczek)
1509 + add BDF property fetching support for width
1511 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1513 + Implemented foundry generation for Type 1 and TrueType
1515 2003-04-11 Gerard Escalante <g2@magestudios.net>
1517 + Retrieve information from Type1 FontInfo dictionaries
1519 2003-04-07 Colin Walters <walters@verbum.org>
1521 + src/Makefile.am: Fix dummy makefile target names when
1522 MS_LIB_AVAILABLE isn't set.
1524 2003-03-22 Tor Lillqvist <tml@iki.fi>
1526 Changes for Windows:
1528 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1530 + We don't want to hardcode the fonts.conf file location in the
1531 DLL, so we look up the DLL location at run-time in a DllMain()
1532 function. The fonts.conf location is deduced from that.
1534 + The colon can't be used as path separator on Windows,
1535 semicolon is used instead. File path components can be separated
1536 with either slash or backslash. Absolute paths can also begin
1537 with a drive letter.
1539 + Add internal function FcStrLastSlash that strrchr's the last
1540 slash, or backslash on Windows.
1542 + There is no link() on Windows. For atomicity checks, mkdir a
1543 lock directory instead.
1545 + In addition to HOME, also look for USERPROFILE.
1547 + Recognize the special font directory token WINDOWSFONTDIR, to
1548 use the system's font directory.
1550 + Remove the fontconfig-def.cpp that was obsolete. Add
1551 fontconfig.def(.in), without internal functions.
1553 + Add a fontconfig-zip(.in) script, used to build a binary
1556 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1557 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1558 to main package and man3/* to devel package
1560 + Added missing defattr(-, root, root) to main RPM package
1562 + Added HTML and text development documentation to -devel subpackage
1564 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1565 + Added back the configure macro options --disable-docs, otherwise
1566 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1567 version number) unconditionally, causing RPM to fail the build due
1568 to _unpackaged_files_terminate_build. We pick up the pregenerated
1569 docs with %doc already.
1571 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1572 + Removed commented out rpm macro define at top of spec file,
1573 replacing it with a simple explanation, since rpm macros are
1574 expanded by rpm even in comments.
1576 + Changed /usr/bin to _bindir in BuildRequires lines
1578 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1580 + Reorganized file manifest lists
1582 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1584 + fontconfig.spec.in: Improvements from Red Hat spec file.
1586 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1588 + docs/*.sgml: SGML fixes.
1590 Sat Mar 1 17:28:53 PST 2003 keithp
1591 + Ok, so the ChangeLog is a bit out of date
1593 + Lots of bugs fixed; most are in bugzilla, the
1594 biggest problems were in cache management where
1595 Owen discovered the library would lose badly when
1596 combining fonts-cache and ~/.fonts-cache data
1598 + Converted from autoconf to automake. This after
1599 getting patches accepted into libtool to allow
1600 the '-version-number' argument which lets
1601 packages set version numbers explicitly rather
1602 than the roundabout libtool way
1604 + Converted documentation to SGML using the docbook
1605 DTD. Now .txt and .html documents are installed
1606 in /usr/share/doc/fontconfig and there's no
1607 man page. Perhaps a man version can be written
1610 Sat Aug 31 15:21:22 PDT 2002 keithp
1611 + Xrender and Xft had several bugs related to
1612 rendering manually placed or poly-face text
1614 + Added more complete memory tracing in fontconfig
1615 Checked with (patched) mozilla and found no leaks
1617 + Updated Latin orthographies by comparing those from
1618 evertype.com with those from eki.ee. Tried to make
1619 sensible choices, including chars that occured in both
1620 and leaving some optional chars out that occured only
1623 Mon Aug 26 16:33:04 PDT 2002 keithp
1624 + Owen discovered that FcLangSetHasLang wasn't actually
1625 checking the language set.
1627 Mon Aug 26 13:37:23 PDT 2002 keithp
1628 + Append a version number to cache filenames
1630 Thu Aug 22 11:36:18 PDT 2002 keithp
1632 + Add "contains" and "not_contains" operators and elements to
1635 + Changed semantics of eq operator for LangSets to check for
1636 FcLangEqual so that any match will do
1638 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1639 of FcValueEqual to check for identical values when inserting into
1640 the results. This broke when the above semantic change was made,
1641 now it uses FcValueEqual which is "more correct" in any case.
1643 Thu Aug 22 00:32:29 PDT 2002 keithp
1645 + Reimplement FC_LANG as new datatype. Lists of strings
1646 was consuming over a megabyte of memory for 401 fonts.
1648 + Freeze patterns loaded from cache files. This shares
1649 common value lists and common patterns which saves
1650 considerable memory.
1652 + Change the denotation of 'constant' charsets to use special
1653 ref value instead of separate boolean.
1655 + Clean up leak tracing stuff, found several unannoted alloc/free
1658 Tue Aug 20 16:17:37 PDT 2002 keithp
1660 + Fix memory leak when parsing matrices from XML
1662 Mon Aug 19 11:57:27 PDT 2002 keithp
1664 + Fix autoconf files to pass FONTCONFIG_PATH on
1665 compile line so that ${prefix} gets substituted
1668 + Use getc_unlocked/putc_unlocked on systems that
1669 provide them to avoid damage done to stdio by posix
1671 + Eliminate FC_PATTERN and FcTypePattern in favor of
1672 an extended api for FcConfigSubstitute which takes
1673 both the font and the pattern.
1675 + Add 'sans serif' alias for 'sans-serif' as some apps
1676 can't handle hyphens in family names
1678 + Eliminate pretense of support for libxml2
1680 + Comment origins of Han orthographies
1682 Tue Jul 30 18:37:09 PDT 2002 keithp
1684 + Add binding property to edit element so that strong
1685 binding values may be inserted by the config file.
1686 The default remains weak.
1688 Sun 28 Jul 04:16:55 PDT 2002 keithp
1690 + Tagged release candidate 1 in the CVS tree and
1691 placed fcpackage.rc1.tar.gz for distribution
1693 Thu Aug 1 08:55:08 PDT 2002 keithp
1695 + Fixed autoconf builds to always specify install
1696 target files (for BSD). Also fixed to
1697 define FONTCONFIG_PATH in config.h so that
1698 nonstandard installs will actually work.