1 2005-10-05 Christian Biesinger <cbiesinger@web.de>
2 reviewed by: plam & keithp
6 Use libtool -no-undefined flag on all platforms.
8 2005-10-05 Patrick Lam <plam@mit.edu>
9 * src/fccache.c (FcCacheHaveBank):
11 Implement move-to-front array for banks (perf regression
12 reported by Ronny V. Vindenes).
14 2005-10-04 Patrick Lam <plam@mit.edu>
15 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
16 FcDirCacheHasCurrentArch):
17 * fc-cache/fc-cache.c (scanDirs):
18 * fontconfig/fontconfig.h:
20 Add new API which unlinks directory caches and checks dir caches
21 for existence of appropriate sections. Fix fc-cache to unlink
22 stale cache files and save directory caches that lack relevant
25 2005-10-03 Patrick Lam <plam@mit.edu>
26 * src/fccache.c (FcDirCacheValid):
28 Ensure that a directory cache has the appropriate section
29 before reporting that it is valid (reported by Matthias Clasen).
31 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
39 Use libxml2 if requested (with --enable-libxml2) or if
40 expat is not available.
42 2005-09-29 Patrick Lam <plam@mit.edu>
43 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
45 Fix multi-arch cache files: compute the position for the
46 block to be added using info from OrigFile, not NewFile.
48 2005-09-28 Patrick Lam <plam@mit.edu>
49 * src/fccache.c (FcCacheMachineSignature):
51 Cast results of sizeof() to unsigned int to get rid of
52 warnings on x86_64 (thanks Matthias Clasen).
54 2005-09-27 Patrick Lam <plam@mit.edu>
55 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
58 Use FcAtomic to rewrite cache files.
60 2005-09-27 Patrick Lam <plam@mit.edu>
62 * src/fccache.c (FcDirCacheWrite):
64 Don't unlink the fonts.cache-2 file even if there's no data
65 to write; just write an empty cache file. (thanks Lubos Lunak)
67 2005-09-27 Patrick Lam <plam@mit.edu>
69 * src/fccache.c (FcDirCacheWrite):
71 Allocate room for the subdirectory names in each
72 directory cache. Thanks to James Cloos for finding
73 and diagnosing this bug!
75 2005-09-22 Patrick Lam <plam@mit.edu>
77 * fc-cache/fc-cache.sgml:
78 * src/fccache.c (FcDirCacheWrite):
79 * src/fccache.h (struct FcCache):
81 Update documentation -- fc-cache's man page now says that you
82 need to run fc-cache once per cached architecture; add some
83 documentation to the FcCache structure.
85 Make fc-cache write out fonts.cache-2 files for directories with
86 no fonts (i.e. only subdirectories).
88 2005-09-22 Patrick Lam <plam@mit.edu>
90 * fc-cache/fc-cache.sgml:
92 * fc-glyphname/fc-glyphname.c:
98 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
103 * fontconfig/fcprivate.h:
104 * fontconfig/fontconfig.h:
118 Implement new mmaped cache for font information.
119 Bump so revision to 2.3.90.
121 2005-07-25 Keith Packard <keithp@keithp.com>
123 * doc/fontconfig-user.sgml:
124 * fc-glyphname/fc-glyphname.c: (scan), (main):
125 * fc-lang/fc-lang.c: (FcConfigHome):
126 * fc-match/fc-match.c: (main):
127 * src/fccfg.c: (FcConfigHome):
128 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
129 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
130 (addtag), (FcFontCapabilities):
131 * src/fcpat.c: (FcValueListEntCreate):
132 * src/fcstr.c: (FcStrCaseWalkerInit):
133 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
135 Various GCC 4 cleanups for signed vs unsigned char
137 Match only [0-9]*.conf files in <include>{directory}</include>
138 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
140 2005-07-15 Carl Worth <cworth@cworth.org>
143 * src/fcinit.c: (FcFini):
144 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
147 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
148 Pull the FcObjectStateName hash table out to file scope, and add
149 FcObjectStaticNameFini so that FcFini will cleanup this hash table
152 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
155 2005-06-16 Patrick Lam <plam@MIT.EDU>
159 * src/fccfg.c: (FcConfigCompareValue):
160 Make FcOpNotContains use FcStrStr for strings so that
161 it matches semantics for !FcOpContains.
163 2005-05-20 Keith Packard <keithp@keithp.com>
167 Move fontconfig source package to libs as per override
169 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
171 reviewed by: Mike Fabian
174 The ka.orth file requires several characters which are not
175 used anymore in modern Georgian and which are missing in the free
176 Georgian TrueType fonts downloadable at:
178 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
180 2005-04-27 Keith Packard <keithp@keithp.com>
184 Update date to real 2.3.2 release date.
185 Fix change attributions
187 2005-04-27 Keith Packard <keithp@keithp.com>
190 Bump so revision for 2.3.2
191 * fc-cache/fc-cache.c: (scanDirs):
192 Fix a few minor leaks in error cases.
194 2005-04-23 Keith Packard <keithp@keithp.com>
199 * fontconfig/fontconfig.h:
200 Update for version 2.3.2
202 2005-04-21 Keith Packard <keithp@keithp.com>
204 * debian/fontconfig.postinst:
205 Don't force bitmap font enable in default
206 configuration; allows users to override this in
216 * debian/po/pt_BR.po:
217 * debian/po/templates.pot:
219 * debian/po/zh_CN.po:
222 * fc-cache/fc-cache.c: (main):
223 Destroy font configuration on exit to help valgrind
226 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
227 (FcFreeTypeCheckGlyph):
228 Use own transcoding routines in preference to iconv
229 which appears to have leaks in some translators.
230 Call iconv_close after using iconv (oops).
232 Prefer unicode encoding of Euro char as some
233 fonts mis-encode Euro in other ones.
235 Must fetch bitmap glyphs to get width values
236 to check for monospace/dual-width fonts.
238 2005-04-13 Ross Burton <ross@burtonini.com>
241 Check that a pattern isn't already frozen in FcPatternFreeze.
243 2005-03-31 Ross Burton <ross@burtonini.com>
248 Run all FcPattern objects through FcObjectStaticName, so that
249 compares can be done on pointers instead of strings (#2659)
251 2005-03-17 Tor Lillqvist <tml@novell.com>
253 * src/fontconfig.def.in: Add the .dll to the dll name.
255 2005-03-10 Keith Packard <keithp@keithp.com>
257 * debian/README.Debian:
258 Update to reflect configuration changes
260 * debian/fontconfig.postinst:
261 Fix Autohint vs Autohinter mistake
262 * debian/fontconfig.templates:
263 Adopt changes from Josselin Mouette for configuration descriptions
264 Update debian to version 2.3.1-2
266 2005-03-08 Keith Packard <keithp@keithp.com>
270 Update debian for 2.3.1
272 2005-03-09 Tor Lillqvist <tml@novell.com>
274 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
277 * src/fccfg.c (FcConfigFileExists): Check also drive letter
280 2005-03-08 Keith Packard <keithp@keithp.com>
284 * fontconfig/fontconfig.h:
287 2005-03-05 Keith Packard <keithp@keithp.com>
289 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
290 Include space and remove numbers from valid script tags.
291 This ensures that tags like 'lao ' work while rejecting
292 those which have any digits.
293 Eliminate a spurious debugging variable (len)
295 2005-03-05 Keith Packard <keithp@keithp.com>
297 * src/fcfreetype.c: (addtag), (GetScriptTags),
298 (FcFontCapabilities):
299 Rework GSUB/GPOS script parsing to survive broken fonts.
300 Thanks for the broken font go to Manish Singh
302 2005-03-05 Keith Packard <keithp@keithp.com>
307 * debian/fontconfig.config:
308 * debian/fontconfig.templates:
310 Include 2.3 release information in changelog
311 Add Josselin Mouette as an Uploader
312 Set hinting_type to low priority configuration option
315 * debian/fontconfig.postinst:
316 yes_bitmaps.conf -> yes-bitmaps.conf
322 2005-03-02 Keith Packard <keithp@keithp.com>
325 * conf.d/Makefile.am:
326 * conf.d/autohint.conf:
327 * conf.d/no-sub-pixel.conf:
328 * conf.d/sub-pixel.conf:
329 * conf.d/unhinted.conf:
330 * debian/autohint.conf:
331 * debian/fontconfig.install:
332 * debian/fontconfig.postinst:
333 * debian/fontconfig.templates:
334 * debian/no-sub-pixel.conf:
335 * debian/unhinted.conf:
336 Move debian-specific conf file examples upstream.
338 Sub-pixel configuration examples must smash subpixel value
339 as Xft always sets it from X.
341 Change sub-pixel rendering debconf descriptions from
342 Enable/Disable to Always/Never.
344 2005-03-02 Keith Packard <keithp@keithp.com>
349 Ignore more build detritus
352 Add debian package construction stuff.
354 * config/config.guess:
356 Update to newer versions of these tools
359 Get library manuals to build again (we love automake).
361 * debian/README.Debian:
362 * debian/autohint.conf:
367 * debian/fontconfig-udeb.install:
368 * debian/fontconfig.config:
369 * debian/fontconfig.defoma:
370 * debian/fontconfig.dirs:
371 * debian/fontconfig.install:
372 * debian/fontconfig.postinst:
373 * debian/fontconfig.postrm:
374 * debian/fontconfig.templates:
375 * debian/libfontconfig1-dev.install:
376 * debian/libfontconfig1.install:
377 * debian/local.conf.md5sum:
378 * debian/no-sub-pixel.conf:
379 * debian/po/POTFILES.in:
388 * debian/po/pt_BR.po:
389 * debian/po/templates.pot:
391 * debian/po/zh_CN.po:
393 * debian/unhinted.conf:
394 Update debian build system to switch maintainers and
395 deal with 2.3 functionality
397 2005-03-01 Keith Packard <keithp@keithp.com>
401 * fontconfig/fontconfig.h:
404 2005-03-01 Keith Packard <keithp@keithp.com>
407 Generate and install PDF versions of the manuals
409 * doc/fcpattern.fncs:
413 Add missing exported functions, fix data types
415 * doc/fontconfig-devel.sgml:
416 Add missing pattern elements.
418 * doc/fontconfig-user.sgml:
419 Add missing pattern elements. Document conf.d usage,
420 clarify available orthography list. Fix some config file
421 attributes. Complete list of constants.
423 * fontconfig/fontconfig.h:
424 Mark FC_SOURCE deprecated.
426 * src/fcfreetype.c: (FcFreeTypeQuery):
427 Don't set FC_SOURCE any longer.
429 2005-02-28 Keith Packard <keithp@keithp.com>
432 * conf.d/Makefile.am:
434 * conf.d/no-bitmaps.conf:
435 * conf.d/sub-pixel.conf:
436 * conf.d/yes-bitmaps.conf:
438 Create prototype /etc/fonts/conf.d directory with a few
439 sample configuration files.
440 Deprecate use of local.conf for local customizations in favor of
441 this directory based scheme which is more easily integrated into
442 installation systems.
445 Tag FC_EMBOLDEN as a boolean variable
447 2005-02-10 Keith Packard <keithp@keithp.com>
449 reviewed by: pborelli@katamail.com
451 * src/fcdir.c: (FcFileScanConfig):
452 Free patterns from fonts which are rejected by configuration
455 2005-01-28 Keith Packard <keithp@keithp.com>
459 * fontconfig/fontconfig.h:
460 Update for version 2.2.99
462 2005-01-28 Keith Packard <keithp@keithp.com>
465 Add a few pointers (#2284, #2285)
467 2005-01-28 Keith Packard <keithp@keithp.com>
470 * src/fcname.c: (FcNameBool):
471 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
472 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
473 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
474 Polite typechecking for test and edit expressions. Helps
475 catch errors in the font configuration. (bug 229)
477 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
479 reviewed by: Keith Packard <keithp@keithp.com>
482 Have --with-expat set EXPAT_CFLAGS (bug 2278)
484 2005-01-13 Keith Packard <keithp@keithp.com>
486 * doc/fontconfig-user.sgml:
487 Add SEE ALSO section (bug 2085)
489 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
491 reviewed by: Keith Packard <keithp@keithp.com>
496 * fc-case/Makefile.am:
497 * fc-glyphname/Makefile.am:
498 * fc-lang/Makefile.am:
499 * src/fontconfig.def.in:
500 Cross compiling fixes (bug 280)
502 2005-01-13 Keith Packard <keithp@keithp.com>
505 Update blanks list (Closes bug 86)
507 2005-01-04 Keith Packard <keithp@keithp.com>
509 * src/fccache.c: (FcCacheFontSetAdd):
510 Verify that every font pattern loaded from cache has
511 both FC_FILE and FC_FAMILY entries.
512 Attempt to fix bug #2219.
514 2004-12-29 Keith Packard <keithp@keithp.com>
518 * fontconfig/fontconfig.h:
519 Update for version 2.2.98
521 2004-12-29 Keith Packard <keithp@keithp.com>
523 * fontconfig/fontconfig.h:
524 Document ASCII limitations of Fc character conversion macros
525 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
526 Fix off-by-one error in utf-8 case walking code.
527 Add FcStrDowncase (useful for testing case conversion functions)
529 2004-12-29 Keith Packard <keithp@keithp.com>
532 * fc-case/.cvsignore:
533 clean up CVS ignore lists
534 * fc-lang/iso-3166.txt:
535 Add territory database
537 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
539 Reviewed by: Keith Packard
542 Remove Han characters from Korean orthography
544 2004-12-29 Keith Packard <keithp@keithp.com>
547 Reorder utility programs to make sure fc-case is run before fc-lang
548 as fc-lang uses fcstr.c which uses fccase.h
552 2004-12-29 Keith Packard <keithp@keithp.com>
555 Adopt some RedHat suggestions for standard font configuration.
559 * fc-case/CaseFolding.txt:
560 * fc-case/Makefile.am:
561 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
562 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
563 (dump), (parseRaw), (caseFoldReadRaw), (main):
564 * fc-case/fccase.tmpl.h:
565 Add new helper program 'fc-case' to construct case folding
566 tables from standard Unicode CaseFolding.txt file
569 * src/fclist.c: (FcListValueHash):
570 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
571 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
572 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
573 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
574 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
575 Re-implement case insensitive functions with Unicode
576 aware versions (including full case folding mappings)
578 2004-12-13 Keith Packard <keithp@keithp.com>
580 reviewed by: Owen Taylor <otaylor@redhat.com>
582 * src/fcmatch.c: (FcFontSetSort):
583 I changed FcFontSetSort to respect the generic aliases better
584 in the face of language matching.
586 What I did was to ammend the strict sort order used by FcFontSort so
587 that it 'satisfies' the language specified in the pattern by locating
588 the best matching font supporting each pattern language and then
589 ignores language in the remaining fonts for purposes of matching.
591 So, when asking for 'sans:lang=en', you'll get an English font first,
592 and then the remaining fonts sorted with respect to the 'sans' alias
593 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
595 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
597 reviewed by: Keith Packard <keithp@keithp.com>
599 * fontconfig/fontconfig.h:
602 Configuration changes to request synthetic emboldening of
603 fonts. The actual emboldening code will live in Xft.
605 2004-12-09 John Thacker <thacker@math.cornell.edu>
607 reviewed by: Keith Packard <keithp@keithp.com>
611 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
612 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
613 и), and don't even appear in KOI8-R. (The hypothesis that they
614 don't appear in KOI8-R due to their similarity with Latin I and i is
615 eliminated by their presence in KOI8-U.) I have a couple of fonts
616 with Russian support that don't have the letter.
618 Therefore, 0406 and 0456 should be removed from or commented out of
621 2004-12-06 michael meeks <mmeeks@novell.com>
623 Reviewed by: Keith Packard <keithp@keithp.com>
625 * src/fcinit.c: (FcMemReport):
627 * src/fclist.c: (FcObjectSetAdd):
628 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
629 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
630 * src/fcxml.c: (FcParsePatelt):
631 memoize strings and share a single copy for all uses. Note that
632 this could be improved further by using statically allocated blocks
633 and gluing multiple strings together, but I'm basically lazy.
634 In my environment with 800 font files, I get a savings of about 90KB.
636 2004-12-06 Keith Packard <keithp@keithp.com>
640 * config/Makedefs.in:
645 * doc/fccharset.fncs:
647 * doc/fcconstant.fncs:
649 * doc/fcfontset.fncs:
650 * doc/fcfreetype.fncs:
653 * doc/fcobjectset.fncs:
654 * doc/fcobjecttype.fncs:
655 * doc/fcpattern.fncs:
659 * doc/fontconfig-devel.sgml:
660 * doc/fontconfig-user.sgml:
662 * doc/version.sgml.in:
663 * fc-cache/Makefile.am:
664 * fc-cache/fc-cache.c:
665 * fc-glyphname/Makefile.am:
666 * fc-glyphname/fc-glyphname.c:
667 * fc-glyphname/fcglyphname.tmpl.h:
668 * fc-lang/Makefile.am:
678 * fc-lang/az_ir.orth:
713 * fc-lang/fc-lang.man:
714 * fc-lang/fclang.tmpl.h:
759 * fc-lang/ku_ir.orth:
792 * fc-lang/ps_af.orth:
793 * fc-lang/ps_pk.orth:
822 * fc-lang/ti_er.orth:
823 * fc-lang/ti_et.orth:
849 * fc-lang/zh_cn.orth:
850 * fc-lang/zh_hk.orth:
851 * fc-lang/zh_mo.orth:
852 * fc-lang/zh_sg.orth:
853 * fc-lang/zh_tw.orth:
855 * fc-list/Makefile.am:
857 * fc-match/Makefile.am:
858 * fc-match/fc-match.1:
859 * fc-match/fc-match.c:
860 * fontconfig/fcfreetype.h:
861 * fontconfig/fcprivate.h:
862 * fontconfig/fontconfig.h:
883 Change files from ISO-Latin-1 to UTF-8
885 2004-12-04 Keith Packard <keithp@keithp.com>
888 Update links to new freedesktop.org locations
890 Add uninstall-local to get rid of fonts.conf and local.conf if they
891 match the distributed versions. Fixes 'make distcheck'
893 2004-12-04 Keith Packard <keithp@keithp.com>
897 * fontconfig/fontconfig.h:
898 Updates for version 2.2.97
900 2004-12-04 Owen Taylor <otaylor@redhat.com>
902 reviewed by: Keith Packard <keithp@keithp.com>
904 * fc-cache/fc-cache.c: (main):
905 Sleep for two seconds before exiting to make sure timestamps
906 for future changes have distinct mod times in the file system.
909 Add Punjabi orthography. Bug #1671.
911 2004-12-04 Keith Packard <keithp@keithp.com>
914 Just remove the FC_FONTDATE -- it has locale issues and
915 annoys redhat multi-arch installs. Now that all X fonts are
916 included without prejudice, the chances of the date being at
917 all interesting are rather limited. Bug #505.
919 Add copyright and license
921 2004-12-04 Keith Packard <keithp@keithp.com>
924 Change default set of fonts to include all of
925 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
926 * doc/fontconfig-user.sgml:
927 Document new <include>directory-name</include> semantics
929 add <include ignore_missing="yes">conf.d</include>
931 Add selectfont to ignore bitmap fonts, add comment for
932 selectfont which accepts bitmap fonts.
935 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
936 Allow <include> configuration elements to reference directories.
937 Parse and load all files of the form [0-9]* in sorted order.
939 2004-12-04 Keith Packard <keithp@keithp.com>
942 Report command line for $srcdir/configure accurately.
945 2004-12-04 Keith Packard <keithp@keithp.com>
947 * src/fcfreetype.c: (FcFreeTypeQuery):
948 Check for non-empty face->family_name and face->style_name
949 before using those for the font. Empty names match everything.
952 2004-12-04 Keith Packard <keithp@keithp.com>
955 * fontconfig/fontconfig.h:
956 * src/fcfreetype.c: (FcFreeTypeQuery):
958 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
959 available. This provides font file format information (BDF, Type 1,
960 PCF, TrueType) for each font. Closes #109.
962 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
964 reviewed by: Keith Packard <keithp@keithp.com>
966 * doc/fontconfig-user.sgml:
969 * fontconfig/fontconfig.h:
970 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
971 (GetScriptTags), (FcFontCapabilities):
973 Add detection for font capabilities (bug #105)
975 2004-12-04 Keith Packard <keithp@keithp.com>
978 Move existing fonts.conf to fonts.conf.bak
981 Add detection of iconv
983 * doc/fcpattern.fncs:
984 * doc/fontconfig-devel.sgml:
985 * doc/fontconfig-user.sgml:
987 Document new selectfont elements
990 Switch to UTF-8 in comment
992 * fontconfig/fontconfig.h:
994 Add fullname, and family/style/fullname language entries
996 * src/fccache.c: (FcCacheFontSetAdd):
997 * src/fcdir.c: (FcFileScanConfig):
998 Respect selectfont/*/glob
1001 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1002 (FcConfigCompareValue), (FcConfigPatternsAdd),
1003 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1004 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1005 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1006 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1007 Add support for selectfont
1009 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1010 (FcStringInPatternElement), (FcFreeTypeQuery):
1011 Add multi-lingual family/style/fullname support
1013 * src/fclist.c: (FcListPatternMatchAny):
1014 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1016 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1017 (FcObjectStaticName):
1018 Add new FcPatternRemove/FcPatternAppend.
1019 FcObjectStaticName stores computed pattern element names which
1020 are required to be static.
1022 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1027 Remove spurious / after $(DESTDIR)
1029 2004-06-30 Keith Packard <keithp@keithp.com>
1033 * fontconfig/fontconfig.h:
1036 2004-06-30 Keith Packard <keithp@keithp.com>
1038 Provided by: Lubos Lunak <l.lunak@suse.cz>
1040 * src/fccfg.c: (FcConfigUptoDate):
1041 However FcConfigUptoDate() doesn't seem to work. See the attached
1042 patch. First there's an obvious misplaced parenthesis making it
1043 return always false, and second, even this call fails to detect font
1044 changes (e.g. adding a new font to
1045 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1046 well. The problem seems to be triggered by my fonts.conf specifying
1047 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1048 doesn't include subdirs, unlike config->fontDirs.
1050 2004-06-03 Keith Packard <keithp@keithp.com>
1052 * fontconfig/fontconfig.h:
1053 Remove comma at end of FcResult enum definition.
1055 2004-05-29 Keith Packard <keithp@keithp.com>
1058 Add steps to md5sum release
1060 2004-05-29 Keith Packard <keithp@keithp.com>
1064 * fontconfig/fontconfig.h:
1067 2004-05-29 Keith Packard <keithp@keithp.com>
1069 * fontconfig/fontconfig.h:
1070 * src/fcmatch.c: (FcFontSetMatch):
1071 Add FcResultOutOfMemory to provide an accurate error when
1072 FcFontSetMatch fails in this way
1075 Make #warning about lacking various FreeType features indicate
1076 which version those features appeared so users know how to
1077 fix the problem (Thanks to Anton Tropashko)
1079 2004-05-05 Keith Packard <keithp@keithp.com>
1081 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1082 Replace MIN/MAX/ABS macros which happen to have come
1083 from FreeType with fontconfig-specific ones (FC_*)
1085 2004-04-23 Keith Packard <keithp@keithp.com>
1088 Extend release preparation instructions to include
1089 notification and distribution steps
1091 2004-04-23 Keith Packard <keithp@keithp.com>
1095 * fontconfig/fontconfig.h:
1096 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1098 2004-04-23 Keith Packard <keithp@keithp.com>
1101 Ignore a few more autotool files
1103 2004-04-14 Keith Packard <keithp@keithp.com>
1106 Add instructions for doing a release
1108 * fontconfig.spec.in:
1109 clean up .spec file; perhaps this will be useful to somebody...
1113 * fontconfig/fontconfig.h:
1116 * fc-lang/fc-lang.c:
1117 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1119 * fc-glyphname/Makefile.am:
1120 * fc-lang/Makefile.am:
1121 * fc-list/Makefile.am:
1122 * fc-match/Makefile.am:
1124 Add WARN_CFLAGS to pass -W flags for GCC systems
1126 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1127 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1128 Change various char types around to match across
1130 Fixed bug in using available_sizes[i].height which
1131 is in pixels, not 64ths of a pixel.
1133 2004-03-06 Keith Packard <keithp@keithp.com>
1135 * src/fcfreetype.c: (FcFreeTypeQuery):
1136 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1137 matches looking for explicit values prefer exact matches
1139 2004-03-02 Keith Packard <keithp@keithp.com>
1141 Supplied by: mfabian@suse.de (Mike FABIAN)
1143 * src/fcfreetype.c: (FcFreeTypeQuery):
1144 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1145 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1147 2004-02-21 Manish Singh <yosh@gimp.org>
1149 * fc-glyphname/fc-glyphname.c: (main):
1150 Cast strlen to int for printf, so we're 64-bit clean.
1152 2004-02-11 Keith Packard <keithp@keithp.com>
1155 * src/fcfreetype.c: (FcGetPixelSize):
1156 Ok, so I messed up the test for y_ppem. Let's see if I
1157 got it right this time.
1159 2004-02-10 Keith Packard <keithp@keithp.com>
1162 * src/fcfreetype.c: (FcGetPixelSize):
1163 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1164 FT_Bitmap_Size record. Add a configure.in test for this
1165 and change the code accordingly (using height instead).
1167 2004-02-06 Keith Packard <keithp@keithp.com>
1170 Add Low Saxon orthography
1171 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1173 * src/fccfg.c: (FcConfigNewestFile):
1174 Oops. Left 'newest.set' unset, which would miscompute
1177 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1178 (FcFreeTypeCheckGlyph):
1179 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1180 font properties (which report the wrong value in current FreeType)
1182 Don't attempt to check for empty glyphs in non-scalable fonts; they
1185 2004-02-01 Tor Lillqvist <tml@iki.fi>
1187 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1188 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1189 cache if config->cache is NULL, which happens if FcConfigHome() is
1190 NULL. Guard against that by using the temp folder in that case.
1192 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1194 * fc-lang/az_ir.orth:
1195 * fc-lang/ku_ir.orth:
1196 * fc-lang/ps_af.orth:
1197 * fc-lang/ps_pk.orth:
1198 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1199 (Afghan and Pakistani).
1201 Updated Urdu orthography with real data.
1203 2003-12-11 Carl Worth <cworth@east.isi.edu>
1205 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1208 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1210 (all-local): Remove excessive whitespace.
1212 * autogen.sh: Add 'set -e' to abort when any program fails,
1213 (avoids printing of 'now type make' after configure aborts).
1215 2003-11-17 Eric Christopherson <rakko@charter.net>
1217 reviewed by: Keith Packard <keithp@keithp.com>
1220 * fontconfig/fcfreetype.h:
1222 Switch to FreeType 2.1.7 style includes. Bug #150.
1224 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1226 * fc-list/fc-list.sgml: Add some example usages.
1228 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1231 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1234 2003-10-27 Keith Packard <keith@keithp.com>
1237 * fontconfig/fontconfig.h:
1238 Update to version 2.2.92
1240 2003-10-27 Keith Packard <keithp@keithp.com>
1245 * fc-cache/Makefile.am:
1246 * fc-glyphname/Makefile.am:
1247 * fc-lang/Makefile.am:
1248 * fc-list/Makefile.am:
1249 * fc-match/Makefile.am:
1252 Yet more cleanups to finish getting 'make distcheck' working
1253 This has been tested to ensure that it even works from a _build
1256 2003-10-26 Keith Packard <keithp@keithp.com>
1260 * fc-cache/Makefile.am:
1261 * fc-glyphname/Makefile.am:
1262 * fc-lang/Makefile.am:
1263 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1264 * fc-list/Makefile.am:
1265 * fc-match/Makefile.am:
1266 Attempts to fix 'make distcheck' work. Things are
1267 progressing pretty well, but there are still failures
1268 long into the process dealing with docs (as always).
1270 The big changes here are mostly to make $(srcdir) != "."
1271 work correctly, fixing the docbook related sections and
1272 fc-lang were particularily tricky. Docbook refuses to load
1273 system entities from anywhere other than where the original .sgml
1274 file was located, so no luck looking in "." for the
1275 configure-generated version.sgml and confdir.sgml files.
1277 fc-lang needed help finding .orth files; added a -d option
1278 to set the directory as the least evil of many options.
1280 Now to go use a faster machine and try and wring out the last
1283 2003-10-26 Keith Packard <keithp@keithp.com>
1287 2003-10-26 Keith Packard <keithp@keithp.com>
1290 Include confdir.sgml.in in EXTRA_DIST
1292 2003-10-09 Josselin Mouette <joss@debian.org>
1294 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1295 * fc-list/fc-list.sgml fc-list/Makefile.am:
1296 Replace fc-cache and fc-list manpages with more detailed, SGML
1299 2003-09-23 Owen Taylor <otaylor@redhat.com>
1301 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1302 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1303 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1306 2003-09-23 Owen Taylor <otaylor@redhat.com>
1308 * fc-lang/ka.orth: Remove Georgian capitals, they
1309 aren't used for normal writing. (Bug #116)
1311 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1313 * doc/fontconfig-devel.sgml:
1314 * doc/fontconfig-user.sgml:
1315 * fontconfig/fontconfig.h:
1317 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1318 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1320 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1321 monospace and dual-width fonts, allow roughly a 3% variance in the
1324 2003-08-31 Manish Singh <yosh@gimp.org>
1326 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1329 2003-08-15 Carl Worth <cworth@isi.edu>
1331 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1332 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1334 * src/fcpat.c (FcValueListEntDestroy): New function to support
1335 FcFini memory cleanup. Some statistics are not kept in
1337 (FcValueListFreeze): Move hashTable outside this function so it
1338 can be accessed by FcValueListThawAll.
1339 (FcValueListThawAll): New function complements FcValueListFreeze.
1340 (FcPatternBaseFreeze): Move hashTable outside this function so it
1341 can be accessed by FcPatternBaseThawAll.
1342 (FcPatternBaseThawAll): New function complements
1343 FcPatternBaseFreeze.
1344 (FcPatternThawAll): New function complements FcPatternFreeze.
1346 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1348 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1349 allocated FcCharLeafEnt "blocks" so they can be freed later.
1350 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1351 can be accessed by FcCharSetThawAllLeaf.
1352 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1353 (FcCharSetFreezeBase): Move hashTable outside this function so it
1354 can be accessed by FcCharSetThawAll.
1355 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1357 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1358 (FcConfigDestroy): Fic leak of FcBlanks.
1360 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1361 (main): Add call to FcFini when finished.
1363 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1364 static. Add prototypes.
1366 * doc/fcinit.fncs: Add documentation for FcFini function.
1368 * doc/edit-sgml.c: Mark several local functions as static. Add
1371 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1373 2003-06-15 Tor Lillqvist <tml@iki.fi>
1375 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1376 before comparing (needed on Windows).
1378 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1380 2003-06-13 Tor Lillqvist <tml@iki.fi>
1382 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1385 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1386 WINDOWSFONTDIR token.
1388 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1389 end, not to confuse libtool, which expects the EXPORTS line to be
1390 the first. Add FcConfigEnableHome.
1392 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1393 built as a DLL on Win32.
1395 2003-06-09 Keith Packard <keithp@keithp.com>
1397 * Tag version 2.2.90
1399 2003-06-09 Keith Packard <keithp@keithp.com>
1401 * Optimization in FcLangSetIndex was broken, occasionally
1402 returning a pointer to the wrong location on miss
1404 * Add fc-match to test font matching from the command line.
1406 2003-05-31 Keith Packard <keithp@keithp.com>
1408 * (Bug 85) add support for culmus fonts
1409 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1410 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1412 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1414 * Fix "contains" op for strings and langsets.
1416 2003-05-17 Keith Packard <keithp@keithp.com>
1418 * Fix build error with BDF prop local. Free langset after query
1420 2003-05-14 Keith Packard <keithp@keithp.com>
1422 * Extract spacing from XLFD atom
1424 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1426 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1427 disappeared in 1.30.
1429 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1431 2003-05-12 Keith Packard <keithp@keithp.com>
1433 * Use FcIsWidth to share code
1435 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1436 misclassifying some Han fonts as monospaced.
1438 2003-05-07 Keith Packard <keithp@keithp.com>
1440 * Add filename-based accept/reject to ammend available fonts.
1442 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1443 older FreeType releases.
1445 2003-05-06 Keith Packard <keithp@keithp.com>
1447 * Remove 0b82 and Tamil numbers from tamil
1448 orthography (Jungshik Shin <jshin@mailaps.org>)
1450 2003-05-04 Keith Packard <keithp@keithp.com>
1452 + Map glyph names in fonts with adobe custom encoding to unicode
1454 2003-05-02 Keith Packard <keithp@keithp.com>
1456 * Add FC_WEIGHT_BOOK as weight 75
1458 2003-04-30 Keith Packard <keithp@keithp.com>
1460 * Typo in bitstream foundry name
1462 2003-04-24 Keith Packard <keithp@keithp.com>
1464 * Eliminate italic_angle check for PS fonts
1466 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1468 * Getting closer to fixing /etc/fonts hard-coding.
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-23 James Henstridge <james@daa.com.au>
1477 * doc/fontconfig-devel.sgml: close the <para> element.
1479 * doc/fcpattern.fncs: close the <para> element.
1481 * doc/func.sgml: close the <refsynopsisdiv> element.
1483 2003-04-22 Keith Packard <keithp@keithp.com
1485 * Update autogen.sh to work with newer automake versions
1486 * Handle pattern elements moving during multiple edits
1488 2003-04-17 Colin Walters <walters@debian.org>
1490 + Remove some unused variables, and initialize some other ones so
1491 gcc doesn't warn us.
1493 2003-04-16 Keith Packard <keithp@keithp.com>
1495 + tag version 2.1.94
1497 2003-04-16 Keith Packard <keithp@keithp.com>
1499 + add BDF property fetching support for foundry
1500 (from Juliusz Chroboczek)
1501 + add BDF property fetching support for width
1503 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1505 + Implemented foundry generation for Type 1 and TrueType
1507 2003-04-11 Gerard Escalante <g2@magestudios.net>
1509 + Retrieve information from Type1 FontInfo dictionaries
1511 2003-04-07 Colin Walters <walters@verbum.org>
1513 + src/Makefile.am: Fix dummy makefile target names when
1514 MS_LIB_AVAILABLE isn't set.
1516 2003-03-22 Tor Lillqvist <tml@iki.fi>
1518 Changes for Windows:
1520 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1522 + We don't want to hardcode the fonts.conf file location in the
1523 DLL, so we look up the DLL location at run-time in a DllMain()
1524 function. The fonts.conf location is deduced from that.
1526 + The colon can't be used as path separator on Windows,
1527 semicolon is used instead. File path components can be separated
1528 with either slash or backslash. Absolute paths can also begin
1529 with a drive letter.
1531 + Add internal function FcStrLastSlash that strrchr's the last
1532 slash, or backslash on Windows.
1534 + There is no link() on Windows. For atomicity checks, mkdir a
1535 lock directory instead.
1537 + In addition to HOME, also look for USERPROFILE.
1539 + Recognize the special font directory token WINDOWSFONTDIR, to
1540 use the system's font directory.
1542 + Remove the fontconfig-def.cpp that was obsolete. Add
1543 fontconfig.def(.in), without internal functions.
1545 + Add a fontconfig-zip(.in) script, used to build a binary
1548 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1549 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1550 to main package and man3/* to devel package
1552 + Added missing defattr(-, root, root) to main RPM package
1554 + Added HTML and text development documentation to -devel subpackage
1556 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1557 + Added back the configure macro options --disable-docs, otherwise
1558 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1559 version number) unconditionally, causing RPM to fail the build due
1560 to _unpackaged_files_terminate_build. We pick up the pregenerated
1561 docs with %doc already.
1563 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1564 + Removed commented out rpm macro define at top of spec file,
1565 replacing it with a simple explanation, since rpm macros are
1566 expanded by rpm even in comments.
1568 + Changed /usr/bin to _bindir in BuildRequires lines
1570 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1572 + Reorganized file manifest lists
1574 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1576 + fontconfig.spec.in: Improvements from Red Hat spec file.
1578 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1580 + docs/*.sgml: SGML fixes.
1582 Sat Mar 1 17:28:53 PST 2003 keithp
1583 + Ok, so the ChangeLog is a bit out of date
1585 + Lots of bugs fixed; most are in bugzilla, the
1586 biggest problems were in cache management where
1587 Owen discovered the library would lose badly when
1588 combining fonts-cache and ~/.fonts-cache data
1590 + Converted from autoconf to automake. This after
1591 getting patches accepted into libtool to allow
1592 the '-version-number' argument which lets
1593 packages set version numbers explicitly rather
1594 than the roundabout libtool way
1596 + Converted documentation to SGML using the docbook
1597 DTD. Now .txt and .html documents are installed
1598 in /usr/share/doc/fontconfig and there's no
1599 man page. Perhaps a man version can be written
1602 Sat Aug 31 15:21:22 PDT 2002 keithp
1603 + Xrender and Xft had several bugs related to
1604 rendering manually placed or poly-face text
1606 + Added more complete memory tracing in fontconfig
1607 Checked with (patched) mozilla and found no leaks
1609 + Updated Latin orthographies by comparing those from
1610 evertype.com with those from eki.ee. Tried to make
1611 sensible choices, including chars that occured in both
1612 and leaving some optional chars out that occured only
1615 Mon Aug 26 16:33:04 PDT 2002 keithp
1616 + Owen discovered that FcLangSetHasLang wasn't actually
1617 checking the language set.
1619 Mon Aug 26 13:37:23 PDT 2002 keithp
1620 + Append a version number to cache filenames
1622 Thu Aug 22 11:36:18 PDT 2002 keithp
1624 + Add "contains" and "not_contains" operators and elements to
1627 + Changed semantics of eq operator for LangSets to check for
1628 FcLangEqual so that any match will do
1630 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1631 of FcValueEqual to check for identical values when inserting into
1632 the results. This broke when the above semantic change was made,
1633 now it uses FcValueEqual which is "more correct" in any case.
1635 Thu Aug 22 00:32:29 PDT 2002 keithp
1637 + Reimplement FC_LANG as new datatype. Lists of strings
1638 was consuming over a megabyte of memory for 401 fonts.
1640 + Freeze patterns loaded from cache files. This shares
1641 common value lists and common patterns which saves
1642 considerable memory.
1644 + Change the denotation of 'constant' charsets to use special
1645 ref value instead of separate boolean.
1647 + Clean up leak tracing stuff, found several unannoted alloc/free
1650 Tue Aug 20 16:17:37 PDT 2002 keithp
1652 + Fix memory leak when parsing matrices from XML
1654 Mon Aug 19 11:57:27 PDT 2002 keithp
1656 + Fix autoconf files to pass FONTCONFIG_PATH on
1657 compile line so that ${prefix} gets substituted
1660 + Use getc_unlocked/putc_unlocked on systems that
1661 provide them to avoid damage done to stdio by posix
1663 + Eliminate FC_PATTERN and FcTypePattern in favor of
1664 an extended api for FcConfigSubstitute which takes
1665 both the font and the pattern.
1667 + Add 'sans serif' alias for 'sans-serif' as some apps
1668 can't handle hyphens in family names
1670 + Eliminate pretense of support for libxml2
1672 + Comment origins of Han orthographies
1674 Tue Jul 30 18:37:09 PDT 2002 keithp
1676 + Add binding property to edit element so that strong
1677 binding values may be inserted by the config file.
1678 The default remains weak.
1680 Sun 28 Jul 04:16:55 PDT 2002 keithp
1682 + Tagged release candidate 1 in the CVS tree and
1683 placed fcpackage.rc1.tar.gz for distribution
1685 Thu Aug 1 08:55:08 PDT 2002 keithp
1687 + Fixed autoconf builds to always specify install
1688 target files (for BSD). Also fixed to
1689 define FONTCONFIG_PATH in config.h so that
1690 nonstandard installs will actually work.