1 2005-10-03 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheValid):
4 Ensure that a directory cache has the appropriate section
5 before reporting that it is valid (reported by Matthias Clasen).
7 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
15 Use libxml2 if requested (with --enable-libxml2) or if
16 expat is not available.
18 2005-09-29 Patrick Lam <plam@mit.edu>
19 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
21 Fix multi-arch cache files: compute the position for the
22 block to be added using info from OrigFile, not NewFile.
24 2005-09-28 Patrick Lam <plam@mit.edu>
25 * src/fccache.c (FcCacheMachineSignature):
27 Cast results of sizeof() to unsigned int to get rid of
28 warnings on x86_64 (thanks Matthias Clasen).
30 2005-09-27 Patrick Lam <plam@mit.edu>
31 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
34 Use FcAtomic to rewrite cache files.
36 2005-09-27 Patrick Lam <plam@mit.edu>
38 * src/fccache.c (FcDirCacheWrite):
40 Don't unlink the fonts.cache-2 file even if there's no data
41 to write; just write an empty cache file. (thanks Lubos Lunak)
43 2005-09-27 Patrick Lam <plam@mit.edu>
45 * src/fccache.c (FcDirCacheWrite):
47 Allocate room for the subdirectory names in each
48 directory cache. Thanks to James Cloos for finding
49 and diagnosing this bug!
51 2005-09-22 Patrick Lam <plam@mit.edu>
53 * fc-cache/fc-cache.sgml:
54 * src/fccache.c (FcDirCacheWrite):
55 * src/fccache.h (struct FcCache):
57 Update documentation -- fc-cache's man page now says that you
58 need to run fc-cache once per cached architecture; add some
59 documentation to the FcCache structure.
61 Make fc-cache write out fonts.cache-2 files for directories with
62 no fonts (i.e. only subdirectories).
64 2005-09-22 Patrick Lam <plam@mit.edu>
66 * fc-cache/fc-cache.sgml:
68 * fc-glyphname/fc-glyphname.c:
74 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
79 * fontconfig/fcprivate.h:
80 * fontconfig/fontconfig.h:
94 Implement new mmaped cache for font information.
95 Bump so revision to 2.3.90.
97 2005-07-25 Keith Packard <keithp@keithp.com>
99 * doc/fontconfig-user.sgml:
100 * fc-glyphname/fc-glyphname.c: (scan), (main):
101 * fc-lang/fc-lang.c: (FcConfigHome):
102 * fc-match/fc-match.c: (main):
103 * src/fccfg.c: (FcConfigHome):
104 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
105 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
106 (addtag), (FcFontCapabilities):
107 * src/fcpat.c: (FcValueListEntCreate):
108 * src/fcstr.c: (FcStrCaseWalkerInit):
109 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
111 Various GCC 4 cleanups for signed vs unsigned char
113 Match only [0-9]*.conf files in <include>{directory}</include>
114 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
116 2005-07-15 Carl Worth <cworth@cworth.org>
119 * src/fcinit.c: (FcFini):
120 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
123 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
124 Pull the FcObjectStateName hash table out to file scope, and add
125 FcObjectStaticNameFini so that FcFini will cleanup this hash table
128 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
131 2005-06-16 Patrick Lam <plam@MIT.EDU>
135 * src/fccfg.c: (FcConfigCompareValue):
136 Make FcOpNotContains use FcStrStr for strings so that
137 it matches semantics for !FcOpContains.
139 2005-05-20 Keith Packard <keithp@keithp.com>
143 Move fontconfig source package to libs as per override
145 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
147 reviewed by: Mike Fabian
150 The ka.orth file requires several characters which are not
151 used anymore in modern Georgian and which are missing in the free
152 Georgian TrueType fonts downloadable at:
154 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
156 2005-04-27 Keith Packard <keithp@keithp.com>
160 Update date to real 2.3.2 release date.
161 Fix change attributions
163 2005-04-27 Keith Packard <keithp@keithp.com>
166 Bump so revision for 2.3.2
167 * fc-cache/fc-cache.c: (scanDirs):
168 Fix a few minor leaks in error cases.
170 2005-04-23 Keith Packard <keithp@keithp.com>
175 * fontconfig/fontconfig.h:
176 Update for version 2.3.2
178 2005-04-21 Keith Packard <keithp@keithp.com>
180 * debian/fontconfig.postinst:
181 Don't force bitmap font enable in default
182 configuration; allows users to override this in
192 * debian/po/pt_BR.po:
193 * debian/po/templates.pot:
195 * debian/po/zh_CN.po:
198 * fc-cache/fc-cache.c: (main):
199 Destroy font configuration on exit to help valgrind
202 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
203 (FcFreeTypeCheckGlyph):
204 Use own transcoding routines in preference to iconv
205 which appears to have leaks in some translators.
206 Call iconv_close after using iconv (oops).
208 Prefer unicode encoding of Euro char as some
209 fonts mis-encode Euro in other ones.
211 Must fetch bitmap glyphs to get width values
212 to check for monospace/dual-width fonts.
214 2005-04-13 Ross Burton <ross@burtonini.com>
217 Check that a pattern isn't already frozen in FcPatternFreeze.
219 2005-03-31 Ross Burton <ross@burtonini.com>
224 Run all FcPattern objects through FcObjectStaticName, so that
225 compares can be done on pointers instead of strings (#2659)
227 2005-03-17 Tor Lillqvist <tml@novell.com>
229 * src/fontconfig.def.in: Add the .dll to the dll name.
231 2005-03-10 Keith Packard <keithp@keithp.com>
233 * debian/README.Debian:
234 Update to reflect configuration changes
236 * debian/fontconfig.postinst:
237 Fix Autohint vs Autohinter mistake
238 * debian/fontconfig.templates:
239 Adopt changes from Josselin Mouette for configuration descriptions
240 Update debian to version 2.3.1-2
242 2005-03-08 Keith Packard <keithp@keithp.com>
246 Update debian for 2.3.1
248 2005-03-09 Tor Lillqvist <tml@novell.com>
250 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
253 * src/fccfg.c (FcConfigFileExists): Check also drive letter
256 2005-03-08 Keith Packard <keithp@keithp.com>
260 * fontconfig/fontconfig.h:
263 2005-03-05 Keith Packard <keithp@keithp.com>
265 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
266 Include space and remove numbers from valid script tags.
267 This ensures that tags like 'lao ' work while rejecting
268 those which have any digits.
269 Eliminate a spurious debugging variable (len)
271 2005-03-05 Keith Packard <keithp@keithp.com>
273 * src/fcfreetype.c: (addtag), (GetScriptTags),
274 (FcFontCapabilities):
275 Rework GSUB/GPOS script parsing to survive broken fonts.
276 Thanks for the broken font go to Manish Singh
278 2005-03-05 Keith Packard <keithp@keithp.com>
283 * debian/fontconfig.config:
284 * debian/fontconfig.templates:
286 Include 2.3 release information in changelog
287 Add Josselin Mouette as an Uploader
288 Set hinting_type to low priority configuration option
291 * debian/fontconfig.postinst:
292 yes_bitmaps.conf -> yes-bitmaps.conf
298 2005-03-02 Keith Packard <keithp@keithp.com>
301 * conf.d/Makefile.am:
302 * conf.d/autohint.conf:
303 * conf.d/no-sub-pixel.conf:
304 * conf.d/sub-pixel.conf:
305 * conf.d/unhinted.conf:
306 * debian/autohint.conf:
307 * debian/fontconfig.install:
308 * debian/fontconfig.postinst:
309 * debian/fontconfig.templates:
310 * debian/no-sub-pixel.conf:
311 * debian/unhinted.conf:
312 Move debian-specific conf file examples upstream.
314 Sub-pixel configuration examples must smash subpixel value
315 as Xft always sets it from X.
317 Change sub-pixel rendering debconf descriptions from
318 Enable/Disable to Always/Never.
320 2005-03-02 Keith Packard <keithp@keithp.com>
325 Ignore more build detritus
328 Add debian package construction stuff.
330 * config/config.guess:
332 Update to newer versions of these tools
335 Get library manuals to build again (we love automake).
337 * debian/README.Debian:
338 * debian/autohint.conf:
343 * debian/fontconfig-udeb.install:
344 * debian/fontconfig.config:
345 * debian/fontconfig.defoma:
346 * debian/fontconfig.dirs:
347 * debian/fontconfig.install:
348 * debian/fontconfig.postinst:
349 * debian/fontconfig.postrm:
350 * debian/fontconfig.templates:
351 * debian/libfontconfig1-dev.install:
352 * debian/libfontconfig1.install:
353 * debian/local.conf.md5sum:
354 * debian/no-sub-pixel.conf:
355 * debian/po/POTFILES.in:
364 * debian/po/pt_BR.po:
365 * debian/po/templates.pot:
367 * debian/po/zh_CN.po:
369 * debian/unhinted.conf:
370 Update debian build system to switch maintainers and
371 deal with 2.3 functionality
373 2005-03-01 Keith Packard <keithp@keithp.com>
377 * fontconfig/fontconfig.h:
380 2005-03-01 Keith Packard <keithp@keithp.com>
383 Generate and install PDF versions of the manuals
385 * doc/fcpattern.fncs:
389 Add missing exported functions, fix data types
391 * doc/fontconfig-devel.sgml:
392 Add missing pattern elements.
394 * doc/fontconfig-user.sgml:
395 Add missing pattern elements. Document conf.d usage,
396 clarify available orthography list. Fix some config file
397 attributes. Complete list of constants.
399 * fontconfig/fontconfig.h:
400 Mark FC_SOURCE deprecated.
402 * src/fcfreetype.c: (FcFreeTypeQuery):
403 Don't set FC_SOURCE any longer.
405 2005-02-28 Keith Packard <keithp@keithp.com>
408 * conf.d/Makefile.am:
410 * conf.d/no-bitmaps.conf:
411 * conf.d/sub-pixel.conf:
412 * conf.d/yes-bitmaps.conf:
414 Create prototype /etc/fonts/conf.d directory with a few
415 sample configuration files.
416 Deprecate use of local.conf for local customizations in favor of
417 this directory based scheme which is more easily integrated into
418 installation systems.
421 Tag FC_EMBOLDEN as a boolean variable
423 2005-02-10 Keith Packard <keithp@keithp.com>
425 reviewed by: pborelli@katamail.com
427 * src/fcdir.c: (FcFileScanConfig):
428 Free patterns from fonts which are rejected by configuration
431 2005-01-28 Keith Packard <keithp@keithp.com>
435 * fontconfig/fontconfig.h:
436 Update for version 2.2.99
438 2005-01-28 Keith Packard <keithp@keithp.com>
441 Add a few pointers (#2284, #2285)
443 2005-01-28 Keith Packard <keithp@keithp.com>
446 * src/fcname.c: (FcNameBool):
447 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
448 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
449 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
450 Polite typechecking for test and edit expressions. Helps
451 catch errors in the font configuration. (bug 229)
453 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
455 reviewed by: Keith Packard <keithp@keithp.com>
458 Have --with-expat set EXPAT_CFLAGS (bug 2278)
460 2005-01-13 Keith Packard <keithp@keithp.com>
462 * doc/fontconfig-user.sgml:
463 Add SEE ALSO section (bug 2085)
465 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
467 reviewed by: Keith Packard <keithp@keithp.com>
472 * fc-case/Makefile.am:
473 * fc-glyphname/Makefile.am:
474 * fc-lang/Makefile.am:
475 * src/fontconfig.def.in:
476 Cross compiling fixes (bug 280)
478 2005-01-13 Keith Packard <keithp@keithp.com>
481 Update blanks list (Closes bug 86)
483 2005-01-04 Keith Packard <keithp@keithp.com>
485 * src/fccache.c: (FcCacheFontSetAdd):
486 Verify that every font pattern loaded from cache has
487 both FC_FILE and FC_FAMILY entries.
488 Attempt to fix bug #2219.
490 2004-12-29 Keith Packard <keithp@keithp.com>
494 * fontconfig/fontconfig.h:
495 Update for version 2.2.98
497 2004-12-29 Keith Packard <keithp@keithp.com>
499 * fontconfig/fontconfig.h:
500 Document ASCII limitations of Fc character conversion macros
501 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
502 Fix off-by-one error in utf-8 case walking code.
503 Add FcStrDowncase (useful for testing case conversion functions)
505 2004-12-29 Keith Packard <keithp@keithp.com>
508 * fc-case/.cvsignore:
509 clean up CVS ignore lists
510 * fc-lang/iso-3166.txt:
511 Add territory database
513 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
515 Reviewed by: Keith Packard
518 Remove Han characters from Korean orthography
520 2004-12-29 Keith Packard <keithp@keithp.com>
523 Reorder utility programs to make sure fc-case is run before fc-lang
524 as fc-lang uses fcstr.c which uses fccase.h
528 2004-12-29 Keith Packard <keithp@keithp.com>
531 Adopt some RedHat suggestions for standard font configuration.
535 * fc-case/CaseFolding.txt:
536 * fc-case/Makefile.am:
537 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
538 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
539 (dump), (parseRaw), (caseFoldReadRaw), (main):
540 * fc-case/fccase.tmpl.h:
541 Add new helper program 'fc-case' to construct case folding
542 tables from standard Unicode CaseFolding.txt file
545 * src/fclist.c: (FcListValueHash):
546 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
547 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
548 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
549 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
550 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
551 Re-implement case insensitive functions with Unicode
552 aware versions (including full case folding mappings)
554 2004-12-13 Keith Packard <keithp@keithp.com>
556 reviewed by: Owen Taylor <otaylor@redhat.com>
558 * src/fcmatch.c: (FcFontSetSort):
559 I changed FcFontSetSort to respect the generic aliases better
560 in the face of language matching.
562 What I did was to ammend the strict sort order used by FcFontSort so
563 that it 'satisfies' the language specified in the pattern by locating
564 the best matching font supporting each pattern language and then
565 ignores language in the remaining fonts for purposes of matching.
567 So, when asking for 'sans:lang=en', you'll get an English font first,
568 and then the remaining fonts sorted with respect to the 'sans' alias
569 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
571 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
573 reviewed by: Keith Packard <keithp@keithp.com>
575 * fontconfig/fontconfig.h:
578 Configuration changes to request synthetic emboldening of
579 fonts. The actual emboldening code will live in Xft.
581 2004-12-09 John Thacker <thacker@math.cornell.edu>
583 reviewed by: Keith Packard <keithp@keithp.com>
587 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
588 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
589 и), and don't even appear in KOI8-R. (The hypothesis that they
590 don't appear in KOI8-R due to their similarity with Latin I and i is
591 eliminated by their presence in KOI8-U.) I have a couple of fonts
592 with Russian support that don't have the letter.
594 Therefore, 0406 and 0456 should be removed from or commented out of
597 2004-12-06 michael meeks <mmeeks@novell.com>
599 Reviewed by: Keith Packard <keithp@keithp.com>
601 * src/fcinit.c: (FcMemReport):
603 * src/fclist.c: (FcObjectSetAdd):
604 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
605 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
606 * src/fcxml.c: (FcParsePatelt):
607 memoize strings and share a single copy for all uses. Note that
608 this could be improved further by using statically allocated blocks
609 and gluing multiple strings together, but I'm basically lazy.
610 In my environment with 800 font files, I get a savings of about 90KB.
612 2004-12-06 Keith Packard <keithp@keithp.com>
616 * config/Makedefs.in:
621 * doc/fccharset.fncs:
623 * doc/fcconstant.fncs:
625 * doc/fcfontset.fncs:
626 * doc/fcfreetype.fncs:
629 * doc/fcobjectset.fncs:
630 * doc/fcobjecttype.fncs:
631 * doc/fcpattern.fncs:
635 * doc/fontconfig-devel.sgml:
636 * doc/fontconfig-user.sgml:
638 * doc/version.sgml.in:
639 * fc-cache/Makefile.am:
640 * fc-cache/fc-cache.c:
641 * fc-glyphname/Makefile.am:
642 * fc-glyphname/fc-glyphname.c:
643 * fc-glyphname/fcglyphname.tmpl.h:
644 * fc-lang/Makefile.am:
654 * fc-lang/az_ir.orth:
689 * fc-lang/fc-lang.man:
690 * fc-lang/fclang.tmpl.h:
735 * fc-lang/ku_ir.orth:
768 * fc-lang/ps_af.orth:
769 * fc-lang/ps_pk.orth:
798 * fc-lang/ti_er.orth:
799 * fc-lang/ti_et.orth:
825 * fc-lang/zh_cn.orth:
826 * fc-lang/zh_hk.orth:
827 * fc-lang/zh_mo.orth:
828 * fc-lang/zh_sg.orth:
829 * fc-lang/zh_tw.orth:
831 * fc-list/Makefile.am:
833 * fc-match/Makefile.am:
834 * fc-match/fc-match.1:
835 * fc-match/fc-match.c:
836 * fontconfig/fcfreetype.h:
837 * fontconfig/fcprivate.h:
838 * fontconfig/fontconfig.h:
859 Change files from ISO-Latin-1 to UTF-8
861 2004-12-04 Keith Packard <keithp@keithp.com>
864 Update links to new freedesktop.org locations
866 Add uninstall-local to get rid of fonts.conf and local.conf if they
867 match the distributed versions. Fixes 'make distcheck'
869 2004-12-04 Keith Packard <keithp@keithp.com>
873 * fontconfig/fontconfig.h:
874 Updates for version 2.2.97
876 2004-12-04 Owen Taylor <otaylor@redhat.com>
878 reviewed by: Keith Packard <keithp@keithp.com>
880 * fc-cache/fc-cache.c: (main):
881 Sleep for two seconds before exiting to make sure timestamps
882 for future changes have distinct mod times in the file system.
885 Add Punjabi orthography. Bug #1671.
887 2004-12-04 Keith Packard <keithp@keithp.com>
890 Just remove the FC_FONTDATE -- it has locale issues and
891 annoys redhat multi-arch installs. Now that all X fonts are
892 included without prejudice, the chances of the date being at
893 all interesting are rather limited. Bug #505.
895 Add copyright and license
897 2004-12-04 Keith Packard <keithp@keithp.com>
900 Change default set of fonts to include all of
901 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
902 * doc/fontconfig-user.sgml:
903 Document new <include>directory-name</include> semantics
905 add <include ignore_missing="yes">conf.d</include>
907 Add selectfont to ignore bitmap fonts, add comment for
908 selectfont which accepts bitmap fonts.
911 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
912 Allow <include> configuration elements to reference directories.
913 Parse and load all files of the form [0-9]* in sorted order.
915 2004-12-04 Keith Packard <keithp@keithp.com>
918 Report command line for $srcdir/configure accurately.
921 2004-12-04 Keith Packard <keithp@keithp.com>
923 * src/fcfreetype.c: (FcFreeTypeQuery):
924 Check for non-empty face->family_name and face->style_name
925 before using those for the font. Empty names match everything.
928 2004-12-04 Keith Packard <keithp@keithp.com>
931 * fontconfig/fontconfig.h:
932 * src/fcfreetype.c: (FcFreeTypeQuery):
934 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
935 available. This provides font file format information (BDF, Type 1,
936 PCF, TrueType) for each font. Closes #109.
938 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
940 reviewed by: Keith Packard <keithp@keithp.com>
942 * doc/fontconfig-user.sgml:
945 * fontconfig/fontconfig.h:
946 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
947 (GetScriptTags), (FcFontCapabilities):
949 Add detection for font capabilities (bug #105)
951 2004-12-04 Keith Packard <keithp@keithp.com>
954 Move existing fonts.conf to fonts.conf.bak
957 Add detection of iconv
959 * doc/fcpattern.fncs:
960 * doc/fontconfig-devel.sgml:
961 * doc/fontconfig-user.sgml:
963 Document new selectfont elements
966 Switch to UTF-8 in comment
968 * fontconfig/fontconfig.h:
970 Add fullname, and family/style/fullname language entries
972 * src/fccache.c: (FcCacheFontSetAdd):
973 * src/fcdir.c: (FcFileScanConfig):
974 Respect selectfont/*/glob
977 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
978 (FcConfigCompareValue), (FcConfigPatternsAdd),
979 (FcConfigPatternsMatch), (FcConfigAcceptFont):
980 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
981 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
982 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
983 Add support for selectfont
985 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
986 (FcStringInPatternElement), (FcFreeTypeQuery):
987 Add multi-lingual family/style/fullname support
989 * src/fclist.c: (FcListPatternMatchAny):
990 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
992 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
993 (FcObjectStaticName):
994 Add new FcPatternRemove/FcPatternAppend.
995 FcObjectStaticName stores computed pattern element names which
996 are required to be static.
998 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1003 Remove spurious / after $(DESTDIR)
1005 2004-06-30 Keith Packard <keithp@keithp.com>
1009 * fontconfig/fontconfig.h:
1012 2004-06-30 Keith Packard <keithp@keithp.com>
1014 Provided by: Lubos Lunak <l.lunak@suse.cz>
1016 * src/fccfg.c: (FcConfigUptoDate):
1017 However FcConfigUptoDate() doesn't seem to work. See the attached
1018 patch. First there's an obvious misplaced parenthesis making it
1019 return always false, and second, even this call fails to detect font
1020 changes (e.g. adding a new font to
1021 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1022 well. The problem seems to be triggered by my fonts.conf specifying
1023 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1024 doesn't include subdirs, unlike config->fontDirs.
1026 2004-06-03 Keith Packard <keithp@keithp.com>
1028 * fontconfig/fontconfig.h:
1029 Remove comma at end of FcResult enum definition.
1031 2004-05-29 Keith Packard <keithp@keithp.com>
1034 Add steps to md5sum release
1036 2004-05-29 Keith Packard <keithp@keithp.com>
1040 * fontconfig/fontconfig.h:
1043 2004-05-29 Keith Packard <keithp@keithp.com>
1045 * fontconfig/fontconfig.h:
1046 * src/fcmatch.c: (FcFontSetMatch):
1047 Add FcResultOutOfMemory to provide an accurate error when
1048 FcFontSetMatch fails in this way
1051 Make #warning about lacking various FreeType features indicate
1052 which version those features appeared so users know how to
1053 fix the problem (Thanks to Anton Tropashko)
1055 2004-05-05 Keith Packard <keithp@keithp.com>
1057 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1058 Replace MIN/MAX/ABS macros which happen to have come
1059 from FreeType with fontconfig-specific ones (FC_*)
1061 2004-04-23 Keith Packard <keithp@keithp.com>
1064 Extend release preparation instructions to include
1065 notification and distribution steps
1067 2004-04-23 Keith Packard <keithp@keithp.com>
1071 * fontconfig/fontconfig.h:
1072 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1074 2004-04-23 Keith Packard <keithp@keithp.com>
1077 Ignore a few more autotool files
1079 2004-04-14 Keith Packard <keithp@keithp.com>
1082 Add instructions for doing a release
1084 * fontconfig.spec.in:
1085 clean up .spec file; perhaps this will be useful to somebody...
1089 * fontconfig/fontconfig.h:
1092 * fc-lang/fc-lang.c:
1093 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1095 * fc-glyphname/Makefile.am:
1096 * fc-lang/Makefile.am:
1097 * fc-list/Makefile.am:
1098 * fc-match/Makefile.am:
1100 Add WARN_CFLAGS to pass -W flags for GCC systems
1102 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1103 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1104 Change various char types around to match across
1106 Fixed bug in using available_sizes[i].height which
1107 is in pixels, not 64ths of a pixel.
1109 2004-03-06 Keith Packard <keithp@keithp.com>
1111 * src/fcfreetype.c: (FcFreeTypeQuery):
1112 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1113 matches looking for explicit values prefer exact matches
1115 2004-03-02 Keith Packard <keithp@keithp.com>
1117 Supplied by: mfabian@suse.de (Mike FABIAN)
1119 * src/fcfreetype.c: (FcFreeTypeQuery):
1120 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1121 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1123 2004-02-21 Manish Singh <yosh@gimp.org>
1125 * fc-glyphname/fc-glyphname.c: (main):
1126 Cast strlen to int for printf, so we're 64-bit clean.
1128 2004-02-11 Keith Packard <keithp@keithp.com>
1131 * src/fcfreetype.c: (FcGetPixelSize):
1132 Ok, so I messed up the test for y_ppem. Let's see if I
1133 got it right this time.
1135 2004-02-10 Keith Packard <keithp@keithp.com>
1138 * src/fcfreetype.c: (FcGetPixelSize):
1139 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1140 FT_Bitmap_Size record. Add a configure.in test for this
1141 and change the code accordingly (using height instead).
1143 2004-02-06 Keith Packard <keithp@keithp.com>
1146 Add Low Saxon orthography
1147 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1149 * src/fccfg.c: (FcConfigNewestFile):
1150 Oops. Left 'newest.set' unset, which would miscompute
1153 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1154 (FcFreeTypeCheckGlyph):
1155 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1156 font properties (which report the wrong value in current FreeType)
1158 Don't attempt to check for empty glyphs in non-scalable fonts; they
1161 2004-02-01 Tor Lillqvist <tml@iki.fi>
1163 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1164 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1165 cache if config->cache is NULL, which happens if FcConfigHome() is
1166 NULL. Guard against that by using the temp folder in that case.
1168 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1170 * fc-lang/az_ir.orth:
1171 * fc-lang/ku_ir.orth:
1172 * fc-lang/ps_af.orth:
1173 * fc-lang/ps_pk.orth:
1174 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1175 (Afghan and Pakistani).
1177 Updated Urdu orthography with real data.
1179 2003-12-11 Carl Worth <cworth@east.isi.edu>
1181 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1184 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1186 (all-local): Remove excessive whitespace.
1188 * autogen.sh: Add 'set -e' to abort when any program fails,
1189 (avoids printing of 'now type make' after configure aborts).
1191 2003-11-17 Eric Christopherson <rakko@charter.net>
1193 reviewed by: Keith Packard <keithp@keithp.com>
1196 * fontconfig/fcfreetype.h:
1198 Switch to FreeType 2.1.7 style includes. Bug #150.
1200 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1202 * fc-list/fc-list.sgml: Add some example usages.
1204 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1207 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1210 2003-10-27 Keith Packard <keith@keithp.com>
1213 * fontconfig/fontconfig.h:
1214 Update to version 2.2.92
1216 2003-10-27 Keith Packard <keithp@keithp.com>
1221 * fc-cache/Makefile.am:
1222 * fc-glyphname/Makefile.am:
1223 * fc-lang/Makefile.am:
1224 * fc-list/Makefile.am:
1225 * fc-match/Makefile.am:
1228 Yet more cleanups to finish getting 'make distcheck' working
1229 This has been tested to ensure that it even works from a _build
1232 2003-10-26 Keith Packard <keithp@keithp.com>
1236 * fc-cache/Makefile.am:
1237 * fc-glyphname/Makefile.am:
1238 * fc-lang/Makefile.am:
1239 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1240 * fc-list/Makefile.am:
1241 * fc-match/Makefile.am:
1242 Attempts to fix 'make distcheck' work. Things are
1243 progressing pretty well, but there are still failures
1244 long into the process dealing with docs (as always).
1246 The big changes here are mostly to make $(srcdir) != "."
1247 work correctly, fixing the docbook related sections and
1248 fc-lang were particularily tricky. Docbook refuses to load
1249 system entities from anywhere other than where the original .sgml
1250 file was located, so no luck looking in "." for the
1251 configure-generated version.sgml and confdir.sgml files.
1253 fc-lang needed help finding .orth files; added a -d option
1254 to set the directory as the least evil of many options.
1256 Now to go use a faster machine and try and wring out the last
1259 2003-10-26 Keith Packard <keithp@keithp.com>
1263 2003-10-26 Keith Packard <keithp@keithp.com>
1266 Include confdir.sgml.in in EXTRA_DIST
1268 2003-10-09 Josselin Mouette <joss@debian.org>
1270 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1271 * fc-list/fc-list.sgml fc-list/Makefile.am:
1272 Replace fc-cache and fc-list manpages with more detailed, SGML
1275 2003-09-23 Owen Taylor <otaylor@redhat.com>
1277 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1278 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1279 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1282 2003-09-23 Owen Taylor <otaylor@redhat.com>
1284 * fc-lang/ka.orth: Remove Georgian capitals, they
1285 aren't used for normal writing. (Bug #116)
1287 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1289 * doc/fontconfig-devel.sgml:
1290 * doc/fontconfig-user.sgml:
1291 * fontconfig/fontconfig.h:
1293 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1294 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1296 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1297 monospace and dual-width fonts, allow roughly a 3% variance in the
1300 2003-08-31 Manish Singh <yosh@gimp.org>
1302 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1305 2003-08-15 Carl Worth <cworth@isi.edu>
1307 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1308 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1310 * src/fcpat.c (FcValueListEntDestroy): New function to support
1311 FcFini memory cleanup. Some statistics are not kept in
1313 (FcValueListFreeze): Move hashTable outside this function so it
1314 can be accessed by FcValueListThawAll.
1315 (FcValueListThawAll): New function complements FcValueListFreeze.
1316 (FcPatternBaseFreeze): Move hashTable outside this function so it
1317 can be accessed by FcPatternBaseThawAll.
1318 (FcPatternBaseThawAll): New function complements
1319 FcPatternBaseFreeze.
1320 (FcPatternThawAll): New function complements FcPatternFreeze.
1322 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1324 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1325 allocated FcCharLeafEnt "blocks" so they can be freed later.
1326 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1327 can be accessed by FcCharSetThawAllLeaf.
1328 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1329 (FcCharSetFreezeBase): Move hashTable outside this function so it
1330 can be accessed by FcCharSetThawAll.
1331 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1333 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1334 (FcConfigDestroy): Fic leak of FcBlanks.
1336 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1337 (main): Add call to FcFini when finished.
1339 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1340 static. Add prototypes.
1342 * doc/fcinit.fncs: Add documentation for FcFini function.
1344 * doc/edit-sgml.c: Mark several local functions as static. Add
1347 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1349 2003-06-15 Tor Lillqvist <tml@iki.fi>
1351 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1352 before comparing (needed on Windows).
1354 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1356 2003-06-13 Tor Lillqvist <tml@iki.fi>
1358 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1361 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1362 WINDOWSFONTDIR token.
1364 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1365 end, not to confuse libtool, which expects the EXPORTS line to be
1366 the first. Add FcConfigEnableHome.
1368 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1369 built as a DLL on Win32.
1371 2003-06-09 Keith Packard <keithp@keithp.com>
1373 * Tag version 2.2.90
1375 2003-06-09 Keith Packard <keithp@keithp.com>
1377 * Optimization in FcLangSetIndex was broken, occasionally
1378 returning a pointer to the wrong location on miss
1380 * Add fc-match to test font matching from the command line.
1382 2003-05-31 Keith Packard <keithp@keithp.com>
1384 * (Bug 85) add support for culmus fonts
1385 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1386 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1388 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1390 * Fix "contains" op for strings and langsets.
1392 2003-05-17 Keith Packard <keithp@keithp.com>
1394 * Fix build error with BDF prop local. Free langset after query
1396 2003-05-14 Keith Packard <keithp@keithp.com>
1398 * Extract spacing from XLFD atom
1400 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1402 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1403 disappeared in 1.30.
1405 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1407 2003-05-12 Keith Packard <keithp@keithp.com>
1409 * Use FcIsWidth to share code
1411 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1412 misclassifying some Han fonts as monospaced.
1414 2003-05-07 Keith Packard <keithp@keithp.com>
1416 * Add filename-based accept/reject to ammend available fonts.
1418 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1419 older FreeType releases.
1421 2003-05-06 Keith Packard <keithp@keithp.com>
1423 * Remove 0b82 and Tamil numbers from tamil
1424 orthography (Jungshik Shin <jshin@mailaps.org>)
1426 2003-05-04 Keith Packard <keithp@keithp.com>
1428 + Map glyph names in fonts with adobe custom encoding to unicode
1430 2003-05-02 Keith Packard <keithp@keithp.com>
1432 * Add FC_WEIGHT_BOOK as weight 75
1434 2003-04-30 Keith Packard <keithp@keithp.com>
1436 * Typo in bitstream foundry name
1438 2003-04-24 Keith Packard <keithp@keithp.com>
1440 * Eliminate italic_angle check for PS fonts
1442 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1444 * Getting closer to fixing /etc/fonts hard-coding.
1446 2003-04-22 Keith Packard <keithp@keithp.com>
1448 * Update autogen.sh to work with newer automake versions
1449 * Handle pattern elements moving during multiple edits
1451 2003-04-23 James Henstridge <james@daa.com.au>
1453 * doc/fontconfig-devel.sgml: close the <para> element.
1455 * doc/fcpattern.fncs: close the <para> element.
1457 * doc/func.sgml: close the <refsynopsisdiv> element.
1459 2003-04-22 Keith Packard <keithp@keithp.com
1461 * Update autogen.sh to work with newer automake versions
1462 * Handle pattern elements moving during multiple edits
1464 2003-04-17 Colin Walters <walters@debian.org>
1466 + Remove some unused variables, and initialize some other ones so
1467 gcc doesn't warn us.
1469 2003-04-16 Keith Packard <keithp@keithp.com>
1471 + tag version 2.1.94
1473 2003-04-16 Keith Packard <keithp@keithp.com>
1475 + add BDF property fetching support for foundry
1476 (from Juliusz Chroboczek)
1477 + add BDF property fetching support for width
1479 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1481 + Implemented foundry generation for Type 1 and TrueType
1483 2003-04-11 Gerard Escalante <g2@magestudios.net>
1485 + Retrieve information from Type1 FontInfo dictionaries
1487 2003-04-07 Colin Walters <walters@verbum.org>
1489 + src/Makefile.am: Fix dummy makefile target names when
1490 MS_LIB_AVAILABLE isn't set.
1492 2003-03-22 Tor Lillqvist <tml@iki.fi>
1494 Changes for Windows:
1496 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1498 + We don't want to hardcode the fonts.conf file location in the
1499 DLL, so we look up the DLL location at run-time in a DllMain()
1500 function. The fonts.conf location is deduced from that.
1502 + The colon can't be used as path separator on Windows,
1503 semicolon is used instead. File path components can be separated
1504 with either slash or backslash. Absolute paths can also begin
1505 with a drive letter.
1507 + Add internal function FcStrLastSlash that strrchr's the last
1508 slash, or backslash on Windows.
1510 + There is no link() on Windows. For atomicity checks, mkdir a
1511 lock directory instead.
1513 + In addition to HOME, also look for USERPROFILE.
1515 + Recognize the special font directory token WINDOWSFONTDIR, to
1516 use the system's font directory.
1518 + Remove the fontconfig-def.cpp that was obsolete. Add
1519 fontconfig.def(.in), without internal functions.
1521 + Add a fontconfig-zip(.in) script, used to build a binary
1524 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1525 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1526 to main package and man3/* to devel package
1528 + Added missing defattr(-, root, root) to main RPM package
1530 + Added HTML and text development documentation to -devel subpackage
1532 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1533 + Added back the configure macro options --disable-docs, otherwise
1534 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1535 version number) unconditionally, causing RPM to fail the build due
1536 to _unpackaged_files_terminate_build. We pick up the pregenerated
1537 docs with %doc already.
1539 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1540 + Removed commented out rpm macro define at top of spec file,
1541 replacing it with a simple explanation, since rpm macros are
1542 expanded by rpm even in comments.
1544 + Changed /usr/bin to _bindir in BuildRequires lines
1546 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1548 + Reorganized file manifest lists
1550 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1552 + fontconfig.spec.in: Improvements from Red Hat spec file.
1554 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1556 + docs/*.sgml: SGML fixes.
1558 Sat Mar 1 17:28:53 PST 2003 keithp
1559 + Ok, so the ChangeLog is a bit out of date
1561 + Lots of bugs fixed; most are in bugzilla, the
1562 biggest problems were in cache management where
1563 Owen discovered the library would lose badly when
1564 combining fonts-cache and ~/.fonts-cache data
1566 + Converted from autoconf to automake. This after
1567 getting patches accepted into libtool to allow
1568 the '-version-number' argument which lets
1569 packages set version numbers explicitly rather
1570 than the roundabout libtool way
1572 + Converted documentation to SGML using the docbook
1573 DTD. Now .txt and .html documents are installed
1574 in /usr/share/doc/fontconfig and there's no
1575 man page. Perhaps a man version can be written
1578 Sat Aug 31 15:21:22 PDT 2002 keithp
1579 + Xrender and Xft had several bugs related to
1580 rendering manually placed or poly-face text
1582 + Added more complete memory tracing in fontconfig
1583 Checked with (patched) mozilla and found no leaks
1585 + Updated Latin orthographies by comparing those from
1586 evertype.com with those from eki.ee. Tried to make
1587 sensible choices, including chars that occured in both
1588 and leaving some optional chars out that occured only
1591 Mon Aug 26 16:33:04 PDT 2002 keithp
1592 + Owen discovered that FcLangSetHasLang wasn't actually
1593 checking the language set.
1595 Mon Aug 26 13:37:23 PDT 2002 keithp
1596 + Append a version number to cache filenames
1598 Thu Aug 22 11:36:18 PDT 2002 keithp
1600 + Add "contains" and "not_contains" operators and elements to
1603 + Changed semantics of eq operator for LangSets to check for
1604 FcLangEqual so that any match will do
1606 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1607 of FcValueEqual to check for identical values when inserting into
1608 the results. This broke when the above semantic change was made,
1609 now it uses FcValueEqual which is "more correct" in any case.
1611 Thu Aug 22 00:32:29 PDT 2002 keithp
1613 + Reimplement FC_LANG as new datatype. Lists of strings
1614 was consuming over a megabyte of memory for 401 fonts.
1616 + Freeze patterns loaded from cache files. This shares
1617 common value lists and common patterns which saves
1618 considerable memory.
1620 + Change the denotation of 'constant' charsets to use special
1621 ref value instead of separate boolean.
1623 + Clean up leak tracing stuff, found several unannoted alloc/free
1626 Tue Aug 20 16:17:37 PDT 2002 keithp
1628 + Fix memory leak when parsing matrices from XML
1630 Mon Aug 19 11:57:27 PDT 2002 keithp
1632 + Fix autoconf files to pass FONTCONFIG_PATH on
1633 compile line so that ${prefix} gets substituted
1636 + Use getc_unlocked/putc_unlocked on systems that
1637 provide them to avoid damage done to stdio by posix
1639 + Eliminate FC_PATTERN and FcTypePattern in favor of
1640 an extended api for FcConfigSubstitute which takes
1641 both the font and the pattern.
1643 + Add 'sans serif' alias for 'sans-serif' as some apps
1644 can't handle hyphens in family names
1646 + Eliminate pretense of support for libxml2
1648 + Comment origins of Han orthographies
1650 Tue Jul 30 18:37:09 PDT 2002 keithp
1652 + Add binding property to edit element so that strong
1653 binding values may be inserted by the config file.
1654 The default remains weak.
1656 Sun 28 Jul 04:16:55 PDT 2002 keithp
1658 + Tagged release candidate 1 in the CVS tree and
1659 placed fcpackage.rc1.tar.gz for distribution
1661 Thu Aug 1 08:55:08 PDT 2002 keithp
1663 + Fixed autoconf builds to always specify install
1664 target files (for BSD). Also fixed to
1665 define FONTCONFIG_PATH in config.h so that
1666 nonstandard installs will actually work.