1 2005-10-04 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
3 FcDirCacheHasCurrentArch):
4 * fc-cache/fc-cache.c (scanDirs):
5 * fontconfig/fontconfig.h:
7 Add new API which unlinks directory caches and checks dir caches
8 for existence of appropriate sections. Fix fc-cache to unlink
9 stale cache files and save directory caches that lack relevant
12 2005-10-03 Patrick Lam <plam@mit.edu>
13 * src/fccache.c (FcDirCacheValid):
15 Ensure that a directory cache has the appropriate section
16 before reporting that it is valid (reported by Matthias Clasen).
18 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
26 Use libxml2 if requested (with --enable-libxml2) or if
27 expat is not available.
29 2005-09-29 Patrick Lam <plam@mit.edu>
30 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
32 Fix multi-arch cache files: compute the position for the
33 block to be added using info from OrigFile, not NewFile.
35 2005-09-28 Patrick Lam <plam@mit.edu>
36 * src/fccache.c (FcCacheMachineSignature):
38 Cast results of sizeof() to unsigned int to get rid of
39 warnings on x86_64 (thanks Matthias Clasen).
41 2005-09-27 Patrick Lam <plam@mit.edu>
42 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
45 Use FcAtomic to rewrite cache files.
47 2005-09-27 Patrick Lam <plam@mit.edu>
49 * src/fccache.c (FcDirCacheWrite):
51 Don't unlink the fonts.cache-2 file even if there's no data
52 to write; just write an empty cache file. (thanks Lubos Lunak)
54 2005-09-27 Patrick Lam <plam@mit.edu>
56 * src/fccache.c (FcDirCacheWrite):
58 Allocate room for the subdirectory names in each
59 directory cache. Thanks to James Cloos for finding
60 and diagnosing this bug!
62 2005-09-22 Patrick Lam <plam@mit.edu>
64 * fc-cache/fc-cache.sgml:
65 * src/fccache.c (FcDirCacheWrite):
66 * src/fccache.h (struct FcCache):
68 Update documentation -- fc-cache's man page now says that you
69 need to run fc-cache once per cached architecture; add some
70 documentation to the FcCache structure.
72 Make fc-cache write out fonts.cache-2 files for directories with
73 no fonts (i.e. only subdirectories).
75 2005-09-22 Patrick Lam <plam@mit.edu>
77 * fc-cache/fc-cache.sgml:
79 * fc-glyphname/fc-glyphname.c:
85 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
90 * fontconfig/fcprivate.h:
91 * fontconfig/fontconfig.h:
105 Implement new mmaped cache for font information.
106 Bump so revision to 2.3.90.
108 2005-07-25 Keith Packard <keithp@keithp.com>
110 * doc/fontconfig-user.sgml:
111 * fc-glyphname/fc-glyphname.c: (scan), (main):
112 * fc-lang/fc-lang.c: (FcConfigHome):
113 * fc-match/fc-match.c: (main):
114 * src/fccfg.c: (FcConfigHome):
115 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
116 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
117 (addtag), (FcFontCapabilities):
118 * src/fcpat.c: (FcValueListEntCreate):
119 * src/fcstr.c: (FcStrCaseWalkerInit):
120 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
122 Various GCC 4 cleanups for signed vs unsigned char
124 Match only [0-9]*.conf files in <include>{directory}</include>
125 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
127 2005-07-15 Carl Worth <cworth@cworth.org>
130 * src/fcinit.c: (FcFini):
131 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
134 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
135 Pull the FcObjectStateName hash table out to file scope, and add
136 FcObjectStaticNameFini so that FcFini will cleanup this hash table
139 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
142 2005-06-16 Patrick Lam <plam@MIT.EDU>
146 * src/fccfg.c: (FcConfigCompareValue):
147 Make FcOpNotContains use FcStrStr for strings so that
148 it matches semantics for !FcOpContains.
150 2005-05-20 Keith Packard <keithp@keithp.com>
154 Move fontconfig source package to libs as per override
156 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
158 reviewed by: Mike Fabian
161 The ka.orth file requires several characters which are not
162 used anymore in modern Georgian and which are missing in the free
163 Georgian TrueType fonts downloadable at:
165 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
167 2005-04-27 Keith Packard <keithp@keithp.com>
171 Update date to real 2.3.2 release date.
172 Fix change attributions
174 2005-04-27 Keith Packard <keithp@keithp.com>
177 Bump so revision for 2.3.2
178 * fc-cache/fc-cache.c: (scanDirs):
179 Fix a few minor leaks in error cases.
181 2005-04-23 Keith Packard <keithp@keithp.com>
186 * fontconfig/fontconfig.h:
187 Update for version 2.3.2
189 2005-04-21 Keith Packard <keithp@keithp.com>
191 * debian/fontconfig.postinst:
192 Don't force bitmap font enable in default
193 configuration; allows users to override this in
203 * debian/po/pt_BR.po:
204 * debian/po/templates.pot:
206 * debian/po/zh_CN.po:
209 * fc-cache/fc-cache.c: (main):
210 Destroy font configuration on exit to help valgrind
213 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
214 (FcFreeTypeCheckGlyph):
215 Use own transcoding routines in preference to iconv
216 which appears to have leaks in some translators.
217 Call iconv_close after using iconv (oops).
219 Prefer unicode encoding of Euro char as some
220 fonts mis-encode Euro in other ones.
222 Must fetch bitmap glyphs to get width values
223 to check for monospace/dual-width fonts.
225 2005-04-13 Ross Burton <ross@burtonini.com>
228 Check that a pattern isn't already frozen in FcPatternFreeze.
230 2005-03-31 Ross Burton <ross@burtonini.com>
235 Run all FcPattern objects through FcObjectStaticName, so that
236 compares can be done on pointers instead of strings (#2659)
238 2005-03-17 Tor Lillqvist <tml@novell.com>
240 * src/fontconfig.def.in: Add the .dll to the dll name.
242 2005-03-10 Keith Packard <keithp@keithp.com>
244 * debian/README.Debian:
245 Update to reflect configuration changes
247 * debian/fontconfig.postinst:
248 Fix Autohint vs Autohinter mistake
249 * debian/fontconfig.templates:
250 Adopt changes from Josselin Mouette for configuration descriptions
251 Update debian to version 2.3.1-2
253 2005-03-08 Keith Packard <keithp@keithp.com>
257 Update debian for 2.3.1
259 2005-03-09 Tor Lillqvist <tml@novell.com>
261 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
264 * src/fccfg.c (FcConfigFileExists): Check also drive letter
267 2005-03-08 Keith Packard <keithp@keithp.com>
271 * fontconfig/fontconfig.h:
274 2005-03-05 Keith Packard <keithp@keithp.com>
276 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
277 Include space and remove numbers from valid script tags.
278 This ensures that tags like 'lao ' work while rejecting
279 those which have any digits.
280 Eliminate a spurious debugging variable (len)
282 2005-03-05 Keith Packard <keithp@keithp.com>
284 * src/fcfreetype.c: (addtag), (GetScriptTags),
285 (FcFontCapabilities):
286 Rework GSUB/GPOS script parsing to survive broken fonts.
287 Thanks for the broken font go to Manish Singh
289 2005-03-05 Keith Packard <keithp@keithp.com>
294 * debian/fontconfig.config:
295 * debian/fontconfig.templates:
297 Include 2.3 release information in changelog
298 Add Josselin Mouette as an Uploader
299 Set hinting_type to low priority configuration option
302 * debian/fontconfig.postinst:
303 yes_bitmaps.conf -> yes-bitmaps.conf
309 2005-03-02 Keith Packard <keithp@keithp.com>
312 * conf.d/Makefile.am:
313 * conf.d/autohint.conf:
314 * conf.d/no-sub-pixel.conf:
315 * conf.d/sub-pixel.conf:
316 * conf.d/unhinted.conf:
317 * debian/autohint.conf:
318 * debian/fontconfig.install:
319 * debian/fontconfig.postinst:
320 * debian/fontconfig.templates:
321 * debian/no-sub-pixel.conf:
322 * debian/unhinted.conf:
323 Move debian-specific conf file examples upstream.
325 Sub-pixel configuration examples must smash subpixel value
326 as Xft always sets it from X.
328 Change sub-pixel rendering debconf descriptions from
329 Enable/Disable to Always/Never.
331 2005-03-02 Keith Packard <keithp@keithp.com>
336 Ignore more build detritus
339 Add debian package construction stuff.
341 * config/config.guess:
343 Update to newer versions of these tools
346 Get library manuals to build again (we love automake).
348 * debian/README.Debian:
349 * debian/autohint.conf:
354 * debian/fontconfig-udeb.install:
355 * debian/fontconfig.config:
356 * debian/fontconfig.defoma:
357 * debian/fontconfig.dirs:
358 * debian/fontconfig.install:
359 * debian/fontconfig.postinst:
360 * debian/fontconfig.postrm:
361 * debian/fontconfig.templates:
362 * debian/libfontconfig1-dev.install:
363 * debian/libfontconfig1.install:
364 * debian/local.conf.md5sum:
365 * debian/no-sub-pixel.conf:
366 * debian/po/POTFILES.in:
375 * debian/po/pt_BR.po:
376 * debian/po/templates.pot:
378 * debian/po/zh_CN.po:
380 * debian/unhinted.conf:
381 Update debian build system to switch maintainers and
382 deal with 2.3 functionality
384 2005-03-01 Keith Packard <keithp@keithp.com>
388 * fontconfig/fontconfig.h:
391 2005-03-01 Keith Packard <keithp@keithp.com>
394 Generate and install PDF versions of the manuals
396 * doc/fcpattern.fncs:
400 Add missing exported functions, fix data types
402 * doc/fontconfig-devel.sgml:
403 Add missing pattern elements.
405 * doc/fontconfig-user.sgml:
406 Add missing pattern elements. Document conf.d usage,
407 clarify available orthography list. Fix some config file
408 attributes. Complete list of constants.
410 * fontconfig/fontconfig.h:
411 Mark FC_SOURCE deprecated.
413 * src/fcfreetype.c: (FcFreeTypeQuery):
414 Don't set FC_SOURCE any longer.
416 2005-02-28 Keith Packard <keithp@keithp.com>
419 * conf.d/Makefile.am:
421 * conf.d/no-bitmaps.conf:
422 * conf.d/sub-pixel.conf:
423 * conf.d/yes-bitmaps.conf:
425 Create prototype /etc/fonts/conf.d directory with a few
426 sample configuration files.
427 Deprecate use of local.conf for local customizations in favor of
428 this directory based scheme which is more easily integrated into
429 installation systems.
432 Tag FC_EMBOLDEN as a boolean variable
434 2005-02-10 Keith Packard <keithp@keithp.com>
436 reviewed by: pborelli@katamail.com
438 * src/fcdir.c: (FcFileScanConfig):
439 Free patterns from fonts which are rejected by configuration
442 2005-01-28 Keith Packard <keithp@keithp.com>
446 * fontconfig/fontconfig.h:
447 Update for version 2.2.99
449 2005-01-28 Keith Packard <keithp@keithp.com>
452 Add a few pointers (#2284, #2285)
454 2005-01-28 Keith Packard <keithp@keithp.com>
457 * src/fcname.c: (FcNameBool):
458 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
459 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
460 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
461 Polite typechecking for test and edit expressions. Helps
462 catch errors in the font configuration. (bug 229)
464 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
466 reviewed by: Keith Packard <keithp@keithp.com>
469 Have --with-expat set EXPAT_CFLAGS (bug 2278)
471 2005-01-13 Keith Packard <keithp@keithp.com>
473 * doc/fontconfig-user.sgml:
474 Add SEE ALSO section (bug 2085)
476 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
478 reviewed by: Keith Packard <keithp@keithp.com>
483 * fc-case/Makefile.am:
484 * fc-glyphname/Makefile.am:
485 * fc-lang/Makefile.am:
486 * src/fontconfig.def.in:
487 Cross compiling fixes (bug 280)
489 2005-01-13 Keith Packard <keithp@keithp.com>
492 Update blanks list (Closes bug 86)
494 2005-01-04 Keith Packard <keithp@keithp.com>
496 * src/fccache.c: (FcCacheFontSetAdd):
497 Verify that every font pattern loaded from cache has
498 both FC_FILE and FC_FAMILY entries.
499 Attempt to fix bug #2219.
501 2004-12-29 Keith Packard <keithp@keithp.com>
505 * fontconfig/fontconfig.h:
506 Update for version 2.2.98
508 2004-12-29 Keith Packard <keithp@keithp.com>
510 * fontconfig/fontconfig.h:
511 Document ASCII limitations of Fc character conversion macros
512 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
513 Fix off-by-one error in utf-8 case walking code.
514 Add FcStrDowncase (useful for testing case conversion functions)
516 2004-12-29 Keith Packard <keithp@keithp.com>
519 * fc-case/.cvsignore:
520 clean up CVS ignore lists
521 * fc-lang/iso-3166.txt:
522 Add territory database
524 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
526 Reviewed by: Keith Packard
529 Remove Han characters from Korean orthography
531 2004-12-29 Keith Packard <keithp@keithp.com>
534 Reorder utility programs to make sure fc-case is run before fc-lang
535 as fc-lang uses fcstr.c which uses fccase.h
539 2004-12-29 Keith Packard <keithp@keithp.com>
542 Adopt some RedHat suggestions for standard font configuration.
546 * fc-case/CaseFolding.txt:
547 * fc-case/Makefile.am:
548 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
549 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
550 (dump), (parseRaw), (caseFoldReadRaw), (main):
551 * fc-case/fccase.tmpl.h:
552 Add new helper program 'fc-case' to construct case folding
553 tables from standard Unicode CaseFolding.txt file
556 * src/fclist.c: (FcListValueHash):
557 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
558 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
559 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
560 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
561 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
562 Re-implement case insensitive functions with Unicode
563 aware versions (including full case folding mappings)
565 2004-12-13 Keith Packard <keithp@keithp.com>
567 reviewed by: Owen Taylor <otaylor@redhat.com>
569 * src/fcmatch.c: (FcFontSetSort):
570 I changed FcFontSetSort to respect the generic aliases better
571 in the face of language matching.
573 What I did was to ammend the strict sort order used by FcFontSort so
574 that it 'satisfies' the language specified in the pattern by locating
575 the best matching font supporting each pattern language and then
576 ignores language in the remaining fonts for purposes of matching.
578 So, when asking for 'sans:lang=en', you'll get an English font first,
579 and then the remaining fonts sorted with respect to the 'sans' alias
580 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
582 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
584 reviewed by: Keith Packard <keithp@keithp.com>
586 * fontconfig/fontconfig.h:
589 Configuration changes to request synthetic emboldening of
590 fonts. The actual emboldening code will live in Xft.
592 2004-12-09 John Thacker <thacker@math.cornell.edu>
594 reviewed by: Keith Packard <keithp@keithp.com>
598 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
599 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
600 и), and don't even appear in KOI8-R. (The hypothesis that they
601 don't appear in KOI8-R due to their similarity with Latin I and i is
602 eliminated by their presence in KOI8-U.) I have a couple of fonts
603 with Russian support that don't have the letter.
605 Therefore, 0406 and 0456 should be removed from or commented out of
608 2004-12-06 michael meeks <mmeeks@novell.com>
610 Reviewed by: Keith Packard <keithp@keithp.com>
612 * src/fcinit.c: (FcMemReport):
614 * src/fclist.c: (FcObjectSetAdd):
615 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
616 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
617 * src/fcxml.c: (FcParsePatelt):
618 memoize strings and share a single copy for all uses. Note that
619 this could be improved further by using statically allocated blocks
620 and gluing multiple strings together, but I'm basically lazy.
621 In my environment with 800 font files, I get a savings of about 90KB.
623 2004-12-06 Keith Packard <keithp@keithp.com>
627 * config/Makedefs.in:
632 * doc/fccharset.fncs:
634 * doc/fcconstant.fncs:
636 * doc/fcfontset.fncs:
637 * doc/fcfreetype.fncs:
640 * doc/fcobjectset.fncs:
641 * doc/fcobjecttype.fncs:
642 * doc/fcpattern.fncs:
646 * doc/fontconfig-devel.sgml:
647 * doc/fontconfig-user.sgml:
649 * doc/version.sgml.in:
650 * fc-cache/Makefile.am:
651 * fc-cache/fc-cache.c:
652 * fc-glyphname/Makefile.am:
653 * fc-glyphname/fc-glyphname.c:
654 * fc-glyphname/fcglyphname.tmpl.h:
655 * fc-lang/Makefile.am:
665 * fc-lang/az_ir.orth:
700 * fc-lang/fc-lang.man:
701 * fc-lang/fclang.tmpl.h:
746 * fc-lang/ku_ir.orth:
779 * fc-lang/ps_af.orth:
780 * fc-lang/ps_pk.orth:
809 * fc-lang/ti_er.orth:
810 * fc-lang/ti_et.orth:
836 * fc-lang/zh_cn.orth:
837 * fc-lang/zh_hk.orth:
838 * fc-lang/zh_mo.orth:
839 * fc-lang/zh_sg.orth:
840 * fc-lang/zh_tw.orth:
842 * fc-list/Makefile.am:
844 * fc-match/Makefile.am:
845 * fc-match/fc-match.1:
846 * fc-match/fc-match.c:
847 * fontconfig/fcfreetype.h:
848 * fontconfig/fcprivate.h:
849 * fontconfig/fontconfig.h:
870 Change files from ISO-Latin-1 to UTF-8
872 2004-12-04 Keith Packard <keithp@keithp.com>
875 Update links to new freedesktop.org locations
877 Add uninstall-local to get rid of fonts.conf and local.conf if they
878 match the distributed versions. Fixes 'make distcheck'
880 2004-12-04 Keith Packard <keithp@keithp.com>
884 * fontconfig/fontconfig.h:
885 Updates for version 2.2.97
887 2004-12-04 Owen Taylor <otaylor@redhat.com>
889 reviewed by: Keith Packard <keithp@keithp.com>
891 * fc-cache/fc-cache.c: (main):
892 Sleep for two seconds before exiting to make sure timestamps
893 for future changes have distinct mod times in the file system.
896 Add Punjabi orthography. Bug #1671.
898 2004-12-04 Keith Packard <keithp@keithp.com>
901 Just remove the FC_FONTDATE -- it has locale issues and
902 annoys redhat multi-arch installs. Now that all X fonts are
903 included without prejudice, the chances of the date being at
904 all interesting are rather limited. Bug #505.
906 Add copyright and license
908 2004-12-04 Keith Packard <keithp@keithp.com>
911 Change default set of fonts to include all of
912 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
913 * doc/fontconfig-user.sgml:
914 Document new <include>directory-name</include> semantics
916 add <include ignore_missing="yes">conf.d</include>
918 Add selectfont to ignore bitmap fonts, add comment for
919 selectfont which accepts bitmap fonts.
922 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
923 Allow <include> configuration elements to reference directories.
924 Parse and load all files of the form [0-9]* in sorted order.
926 2004-12-04 Keith Packard <keithp@keithp.com>
929 Report command line for $srcdir/configure accurately.
932 2004-12-04 Keith Packard <keithp@keithp.com>
934 * src/fcfreetype.c: (FcFreeTypeQuery):
935 Check for non-empty face->family_name and face->style_name
936 before using those for the font. Empty names match everything.
939 2004-12-04 Keith Packard <keithp@keithp.com>
942 * fontconfig/fontconfig.h:
943 * src/fcfreetype.c: (FcFreeTypeQuery):
945 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
946 available. This provides font file format information (BDF, Type 1,
947 PCF, TrueType) for each font. Closes #109.
949 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
951 reviewed by: Keith Packard <keithp@keithp.com>
953 * doc/fontconfig-user.sgml:
956 * fontconfig/fontconfig.h:
957 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
958 (GetScriptTags), (FcFontCapabilities):
960 Add detection for font capabilities (bug #105)
962 2004-12-04 Keith Packard <keithp@keithp.com>
965 Move existing fonts.conf to fonts.conf.bak
968 Add detection of iconv
970 * doc/fcpattern.fncs:
971 * doc/fontconfig-devel.sgml:
972 * doc/fontconfig-user.sgml:
974 Document new selectfont elements
977 Switch to UTF-8 in comment
979 * fontconfig/fontconfig.h:
981 Add fullname, and family/style/fullname language entries
983 * src/fccache.c: (FcCacheFontSetAdd):
984 * src/fcdir.c: (FcFileScanConfig):
985 Respect selectfont/*/glob
988 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
989 (FcConfigCompareValue), (FcConfigPatternsAdd),
990 (FcConfigPatternsMatch), (FcConfigAcceptFont):
991 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
992 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
993 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
994 Add support for selectfont
996 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
997 (FcStringInPatternElement), (FcFreeTypeQuery):
998 Add multi-lingual family/style/fullname support
1000 * src/fclist.c: (FcListPatternMatchAny):
1001 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1003 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1004 (FcObjectStaticName):
1005 Add new FcPatternRemove/FcPatternAppend.
1006 FcObjectStaticName stores computed pattern element names which
1007 are required to be static.
1009 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1014 Remove spurious / after $(DESTDIR)
1016 2004-06-30 Keith Packard <keithp@keithp.com>
1020 * fontconfig/fontconfig.h:
1023 2004-06-30 Keith Packard <keithp@keithp.com>
1025 Provided by: Lubos Lunak <l.lunak@suse.cz>
1027 * src/fccfg.c: (FcConfigUptoDate):
1028 However FcConfigUptoDate() doesn't seem to work. See the attached
1029 patch. First there's an obvious misplaced parenthesis making it
1030 return always false, and second, even this call fails to detect font
1031 changes (e.g. adding a new font to
1032 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1033 well. The problem seems to be triggered by my fonts.conf specifying
1034 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1035 doesn't include subdirs, unlike config->fontDirs.
1037 2004-06-03 Keith Packard <keithp@keithp.com>
1039 * fontconfig/fontconfig.h:
1040 Remove comma at end of FcResult enum definition.
1042 2004-05-29 Keith Packard <keithp@keithp.com>
1045 Add steps to md5sum release
1047 2004-05-29 Keith Packard <keithp@keithp.com>
1051 * fontconfig/fontconfig.h:
1054 2004-05-29 Keith Packard <keithp@keithp.com>
1056 * fontconfig/fontconfig.h:
1057 * src/fcmatch.c: (FcFontSetMatch):
1058 Add FcResultOutOfMemory to provide an accurate error when
1059 FcFontSetMatch fails in this way
1062 Make #warning about lacking various FreeType features indicate
1063 which version those features appeared so users know how to
1064 fix the problem (Thanks to Anton Tropashko)
1066 2004-05-05 Keith Packard <keithp@keithp.com>
1068 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1069 Replace MIN/MAX/ABS macros which happen to have come
1070 from FreeType with fontconfig-specific ones (FC_*)
1072 2004-04-23 Keith Packard <keithp@keithp.com>
1075 Extend release preparation instructions to include
1076 notification and distribution steps
1078 2004-04-23 Keith Packard <keithp@keithp.com>
1082 * fontconfig/fontconfig.h:
1083 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1085 2004-04-23 Keith Packard <keithp@keithp.com>
1088 Ignore a few more autotool files
1090 2004-04-14 Keith Packard <keithp@keithp.com>
1093 Add instructions for doing a release
1095 * fontconfig.spec.in:
1096 clean up .spec file; perhaps this will be useful to somebody...
1100 * fontconfig/fontconfig.h:
1103 * fc-lang/fc-lang.c:
1104 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1106 * fc-glyphname/Makefile.am:
1107 * fc-lang/Makefile.am:
1108 * fc-list/Makefile.am:
1109 * fc-match/Makefile.am:
1111 Add WARN_CFLAGS to pass -W flags for GCC systems
1113 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1114 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1115 Change various char types around to match across
1117 Fixed bug in using available_sizes[i].height which
1118 is in pixels, not 64ths of a pixel.
1120 2004-03-06 Keith Packard <keithp@keithp.com>
1122 * src/fcfreetype.c: (FcFreeTypeQuery):
1123 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1124 matches looking for explicit values prefer exact matches
1126 2004-03-02 Keith Packard <keithp@keithp.com>
1128 Supplied by: mfabian@suse.de (Mike FABIAN)
1130 * src/fcfreetype.c: (FcFreeTypeQuery):
1131 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1132 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1134 2004-02-21 Manish Singh <yosh@gimp.org>
1136 * fc-glyphname/fc-glyphname.c: (main):
1137 Cast strlen to int for printf, so we're 64-bit clean.
1139 2004-02-11 Keith Packard <keithp@keithp.com>
1142 * src/fcfreetype.c: (FcGetPixelSize):
1143 Ok, so I messed up the test for y_ppem. Let's see if I
1144 got it right this time.
1146 2004-02-10 Keith Packard <keithp@keithp.com>
1149 * src/fcfreetype.c: (FcGetPixelSize):
1150 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1151 FT_Bitmap_Size record. Add a configure.in test for this
1152 and change the code accordingly (using height instead).
1154 2004-02-06 Keith Packard <keithp@keithp.com>
1157 Add Low Saxon orthography
1158 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1160 * src/fccfg.c: (FcConfigNewestFile):
1161 Oops. Left 'newest.set' unset, which would miscompute
1164 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1165 (FcFreeTypeCheckGlyph):
1166 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1167 font properties (which report the wrong value in current FreeType)
1169 Don't attempt to check for empty glyphs in non-scalable fonts; they
1172 2004-02-01 Tor Lillqvist <tml@iki.fi>
1174 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1175 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1176 cache if config->cache is NULL, which happens if FcConfigHome() is
1177 NULL. Guard against that by using the temp folder in that case.
1179 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1181 * fc-lang/az_ir.orth:
1182 * fc-lang/ku_ir.orth:
1183 * fc-lang/ps_af.orth:
1184 * fc-lang/ps_pk.orth:
1185 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1186 (Afghan and Pakistani).
1188 Updated Urdu orthography with real data.
1190 2003-12-11 Carl Worth <cworth@east.isi.edu>
1192 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1195 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1197 (all-local): Remove excessive whitespace.
1199 * autogen.sh: Add 'set -e' to abort when any program fails,
1200 (avoids printing of 'now type make' after configure aborts).
1202 2003-11-17 Eric Christopherson <rakko@charter.net>
1204 reviewed by: Keith Packard <keithp@keithp.com>
1207 * fontconfig/fcfreetype.h:
1209 Switch to FreeType 2.1.7 style includes. Bug #150.
1211 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1213 * fc-list/fc-list.sgml: Add some example usages.
1215 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1218 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1221 2003-10-27 Keith Packard <keith@keithp.com>
1224 * fontconfig/fontconfig.h:
1225 Update to version 2.2.92
1227 2003-10-27 Keith Packard <keithp@keithp.com>
1232 * fc-cache/Makefile.am:
1233 * fc-glyphname/Makefile.am:
1234 * fc-lang/Makefile.am:
1235 * fc-list/Makefile.am:
1236 * fc-match/Makefile.am:
1239 Yet more cleanups to finish getting 'make distcheck' working
1240 This has been tested to ensure that it even works from a _build
1243 2003-10-26 Keith Packard <keithp@keithp.com>
1247 * fc-cache/Makefile.am:
1248 * fc-glyphname/Makefile.am:
1249 * fc-lang/Makefile.am:
1250 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1251 * fc-list/Makefile.am:
1252 * fc-match/Makefile.am:
1253 Attempts to fix 'make distcheck' work. Things are
1254 progressing pretty well, but there are still failures
1255 long into the process dealing with docs (as always).
1257 The big changes here are mostly to make $(srcdir) != "."
1258 work correctly, fixing the docbook related sections and
1259 fc-lang were particularily tricky. Docbook refuses to load
1260 system entities from anywhere other than where the original .sgml
1261 file was located, so no luck looking in "." for the
1262 configure-generated version.sgml and confdir.sgml files.
1264 fc-lang needed help finding .orth files; added a -d option
1265 to set the directory as the least evil of many options.
1267 Now to go use a faster machine and try and wring out the last
1270 2003-10-26 Keith Packard <keithp@keithp.com>
1274 2003-10-26 Keith Packard <keithp@keithp.com>
1277 Include confdir.sgml.in in EXTRA_DIST
1279 2003-10-09 Josselin Mouette <joss@debian.org>
1281 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1282 * fc-list/fc-list.sgml fc-list/Makefile.am:
1283 Replace fc-cache and fc-list manpages with more detailed, SGML
1286 2003-09-23 Owen Taylor <otaylor@redhat.com>
1288 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1289 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1290 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1293 2003-09-23 Owen Taylor <otaylor@redhat.com>
1295 * fc-lang/ka.orth: Remove Georgian capitals, they
1296 aren't used for normal writing. (Bug #116)
1298 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1300 * doc/fontconfig-devel.sgml:
1301 * doc/fontconfig-user.sgml:
1302 * fontconfig/fontconfig.h:
1304 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1305 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1307 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1308 monospace and dual-width fonts, allow roughly a 3% variance in the
1311 2003-08-31 Manish Singh <yosh@gimp.org>
1313 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1316 2003-08-15 Carl Worth <cworth@isi.edu>
1318 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1319 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1321 * src/fcpat.c (FcValueListEntDestroy): New function to support
1322 FcFini memory cleanup. Some statistics are not kept in
1324 (FcValueListFreeze): Move hashTable outside this function so it
1325 can be accessed by FcValueListThawAll.
1326 (FcValueListThawAll): New function complements FcValueListFreeze.
1327 (FcPatternBaseFreeze): Move hashTable outside this function so it
1328 can be accessed by FcPatternBaseThawAll.
1329 (FcPatternBaseThawAll): New function complements
1330 FcPatternBaseFreeze.
1331 (FcPatternThawAll): New function complements FcPatternFreeze.
1333 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1335 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1336 allocated FcCharLeafEnt "blocks" so they can be freed later.
1337 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1338 can be accessed by FcCharSetThawAllLeaf.
1339 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1340 (FcCharSetFreezeBase): Move hashTable outside this function so it
1341 can be accessed by FcCharSetThawAll.
1342 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1344 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1345 (FcConfigDestroy): Fic leak of FcBlanks.
1347 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1348 (main): Add call to FcFini when finished.
1350 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1351 static. Add prototypes.
1353 * doc/fcinit.fncs: Add documentation for FcFini function.
1355 * doc/edit-sgml.c: Mark several local functions as static. Add
1358 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1360 2003-06-15 Tor Lillqvist <tml@iki.fi>
1362 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1363 before comparing (needed on Windows).
1365 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1367 2003-06-13 Tor Lillqvist <tml@iki.fi>
1369 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1372 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1373 WINDOWSFONTDIR token.
1375 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1376 end, not to confuse libtool, which expects the EXPORTS line to be
1377 the first. Add FcConfigEnableHome.
1379 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1380 built as a DLL on Win32.
1382 2003-06-09 Keith Packard <keithp@keithp.com>
1384 * Tag version 2.2.90
1386 2003-06-09 Keith Packard <keithp@keithp.com>
1388 * Optimization in FcLangSetIndex was broken, occasionally
1389 returning a pointer to the wrong location on miss
1391 * Add fc-match to test font matching from the command line.
1393 2003-05-31 Keith Packard <keithp@keithp.com>
1395 * (Bug 85) add support for culmus fonts
1396 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1397 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1399 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1401 * Fix "contains" op for strings and langsets.
1403 2003-05-17 Keith Packard <keithp@keithp.com>
1405 * Fix build error with BDF prop local. Free langset after query
1407 2003-05-14 Keith Packard <keithp@keithp.com>
1409 * Extract spacing from XLFD atom
1411 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1413 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1414 disappeared in 1.30.
1416 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1418 2003-05-12 Keith Packard <keithp@keithp.com>
1420 * Use FcIsWidth to share code
1422 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1423 misclassifying some Han fonts as monospaced.
1425 2003-05-07 Keith Packard <keithp@keithp.com>
1427 * Add filename-based accept/reject to ammend available fonts.
1429 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1430 older FreeType releases.
1432 2003-05-06 Keith Packard <keithp@keithp.com>
1434 * Remove 0b82 and Tamil numbers from tamil
1435 orthography (Jungshik Shin <jshin@mailaps.org>)
1437 2003-05-04 Keith Packard <keithp@keithp.com>
1439 + Map glyph names in fonts with adobe custom encoding to unicode
1441 2003-05-02 Keith Packard <keithp@keithp.com>
1443 * Add FC_WEIGHT_BOOK as weight 75
1445 2003-04-30 Keith Packard <keithp@keithp.com>
1447 * Typo in bitstream foundry name
1449 2003-04-24 Keith Packard <keithp@keithp.com>
1451 * Eliminate italic_angle check for PS fonts
1453 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1455 * Getting closer to fixing /etc/fonts hard-coding.
1457 2003-04-22 Keith Packard <keithp@keithp.com>
1459 * Update autogen.sh to work with newer automake versions
1460 * Handle pattern elements moving during multiple edits
1462 2003-04-23 James Henstridge <james@daa.com.au>
1464 * doc/fontconfig-devel.sgml: close the <para> element.
1466 * doc/fcpattern.fncs: close the <para> element.
1468 * doc/func.sgml: close the <refsynopsisdiv> element.
1470 2003-04-22 Keith Packard <keithp@keithp.com
1472 * Update autogen.sh to work with newer automake versions
1473 * Handle pattern elements moving during multiple edits
1475 2003-04-17 Colin Walters <walters@debian.org>
1477 + Remove some unused variables, and initialize some other ones so
1478 gcc doesn't warn us.
1480 2003-04-16 Keith Packard <keithp@keithp.com>
1482 + tag version 2.1.94
1484 2003-04-16 Keith Packard <keithp@keithp.com>
1486 + add BDF property fetching support for foundry
1487 (from Juliusz Chroboczek)
1488 + add BDF property fetching support for width
1490 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1492 + Implemented foundry generation for Type 1 and TrueType
1494 2003-04-11 Gerard Escalante <g2@magestudios.net>
1496 + Retrieve information from Type1 FontInfo dictionaries
1498 2003-04-07 Colin Walters <walters@verbum.org>
1500 + src/Makefile.am: Fix dummy makefile target names when
1501 MS_LIB_AVAILABLE isn't set.
1503 2003-03-22 Tor Lillqvist <tml@iki.fi>
1505 Changes for Windows:
1507 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1509 + We don't want to hardcode the fonts.conf file location in the
1510 DLL, so we look up the DLL location at run-time in a DllMain()
1511 function. The fonts.conf location is deduced from that.
1513 + The colon can't be used as path separator on Windows,
1514 semicolon is used instead. File path components can be separated
1515 with either slash or backslash. Absolute paths can also begin
1516 with a drive letter.
1518 + Add internal function FcStrLastSlash that strrchr's the last
1519 slash, or backslash on Windows.
1521 + There is no link() on Windows. For atomicity checks, mkdir a
1522 lock directory instead.
1524 + In addition to HOME, also look for USERPROFILE.
1526 + Recognize the special font directory token WINDOWSFONTDIR, to
1527 use the system's font directory.
1529 + Remove the fontconfig-def.cpp that was obsolete. Add
1530 fontconfig.def(.in), without internal functions.
1532 + Add a fontconfig-zip(.in) script, used to build a binary
1535 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1536 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1537 to main package and man3/* to devel package
1539 + Added missing defattr(-, root, root) to main RPM package
1541 + Added HTML and text development documentation to -devel subpackage
1543 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1544 + Added back the configure macro options --disable-docs, otherwise
1545 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1546 version number) unconditionally, causing RPM to fail the build due
1547 to _unpackaged_files_terminate_build. We pick up the pregenerated
1548 docs with %doc already.
1550 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1551 + Removed commented out rpm macro define at top of spec file,
1552 replacing it with a simple explanation, since rpm macros are
1553 expanded by rpm even in comments.
1555 + Changed /usr/bin to _bindir in BuildRequires lines
1557 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1559 + Reorganized file manifest lists
1561 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1563 + fontconfig.spec.in: Improvements from Red Hat spec file.
1565 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1567 + docs/*.sgml: SGML fixes.
1569 Sat Mar 1 17:28:53 PST 2003 keithp
1570 + Ok, so the ChangeLog is a bit out of date
1572 + Lots of bugs fixed; most are in bugzilla, the
1573 biggest problems were in cache management where
1574 Owen discovered the library would lose badly when
1575 combining fonts-cache and ~/.fonts-cache data
1577 + Converted from autoconf to automake. This after
1578 getting patches accepted into libtool to allow
1579 the '-version-number' argument which lets
1580 packages set version numbers explicitly rather
1581 than the roundabout libtool way
1583 + Converted documentation to SGML using the docbook
1584 DTD. Now .txt and .html documents are installed
1585 in /usr/share/doc/fontconfig and there's no
1586 man page. Perhaps a man version can be written
1589 Sat Aug 31 15:21:22 PDT 2002 keithp
1590 + Xrender and Xft had several bugs related to
1591 rendering manually placed or poly-face text
1593 + Added more complete memory tracing in fontconfig
1594 Checked with (patched) mozilla and found no leaks
1596 + Updated Latin orthographies by comparing those from
1597 evertype.com with those from eki.ee. Tried to make
1598 sensible choices, including chars that occured in both
1599 and leaving some optional chars out that occured only
1602 Mon Aug 26 16:33:04 PDT 2002 keithp
1603 + Owen discovered that FcLangSetHasLang wasn't actually
1604 checking the language set.
1606 Mon Aug 26 13:37:23 PDT 2002 keithp
1607 + Append a version number to cache filenames
1609 Thu Aug 22 11:36:18 PDT 2002 keithp
1611 + Add "contains" and "not_contains" operators and elements to
1614 + Changed semantics of eq operator for LangSets to check for
1615 FcLangEqual so that any match will do
1617 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1618 of FcValueEqual to check for identical values when inserting into
1619 the results. This broke when the above semantic change was made,
1620 now it uses FcValueEqual which is "more correct" in any case.
1622 Thu Aug 22 00:32:29 PDT 2002 keithp
1624 + Reimplement FC_LANG as new datatype. Lists of strings
1625 was consuming over a megabyte of memory for 401 fonts.
1627 + Freeze patterns loaded from cache files. This shares
1628 common value lists and common patterns which saves
1629 considerable memory.
1631 + Change the denotation of 'constant' charsets to use special
1632 ref value instead of separate boolean.
1634 + Clean up leak tracing stuff, found several unannoted alloc/free
1637 Tue Aug 20 16:17:37 PDT 2002 keithp
1639 + Fix memory leak when parsing matrices from XML
1641 Mon Aug 19 11:57:27 PDT 2002 keithp
1643 + Fix autoconf files to pass FONTCONFIG_PATH on
1644 compile line so that ${prefix} gets substituted
1647 + Use getc_unlocked/putc_unlocked on systems that
1648 provide them to avoid damage done to stdio by posix
1650 + Eliminate FC_PATTERN and FcTypePattern in favor of
1651 an extended api for FcConfigSubstitute which takes
1652 both the font and the pattern.
1654 + Add 'sans serif' alias for 'sans-serif' as some apps
1655 can't handle hyphens in family names
1657 + Eliminate pretense of support for libxml2
1659 + Comment origins of Han orthographies
1661 Tue Jul 30 18:37:09 PDT 2002 keithp
1663 + Add binding property to edit element so that strong
1664 binding values may be inserted by the config file.
1665 The default remains weak.
1667 Sun 28 Jul 04:16:55 PDT 2002 keithp
1669 + Tagged release candidate 1 in the CVS tree and
1670 placed fcpackage.rc1.tar.gz for distribution
1672 Thu Aug 1 08:55:08 PDT 2002 keithp
1674 + Fixed autoconf builds to always specify install
1675 target files (for BSD). Also fixed to
1676 define FONTCONFIG_PATH in config.h so that
1677 nonstandard installs will actually work.