1 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
9 Use libxml2 if requested (with --enable-libxml2) or if
10 expat is not available.
12 2005-09-29 Patrick Lam <plam@mit.edu>
13 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
15 Fix multi-arch cache files: compute the position for the
16 block to be added using info from OrigFile, not NewFile.
18 2005-09-28 Patrick Lam <plam@mit.edu>
19 * src/fccache.c (FcCacheMachineSignature):
21 Cast results of sizeof() to unsigned int to get rid of
22 warnings on x86_64 (thanks Matthias Clasen).
24 2005-09-27 Patrick Lam <plam@mit.edu>
25 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
28 Use FcAtomic to rewrite cache files.
30 2005-09-27 Patrick Lam <plam@mit.edu>
32 * src/fccache.c (FcDirCacheWrite):
34 Don't unlink the fonts.cache-2 file even if there's no data
35 to write; just write an empty cache file. (thanks Lubos Lunak)
37 2005-09-27 Patrick Lam <plam@mit.edu>
39 * src/fccache.c (FcDirCacheWrite):
41 Allocate room for the subdirectory names in each
42 directory cache. Thanks to James Cloos for finding
43 and diagnosing this bug!
45 2005-09-22 Patrick Lam <plam@mit.edu>
47 * fc-cache/fc-cache.sgml:
48 * src/fccache.c (FcDirCacheWrite):
49 * src/fccache.h (struct FcCache):
51 Update documentation -- fc-cache's man page now says that you
52 need to run fc-cache once per cached architecture; add some
53 documentation to the FcCache structure.
55 Make fc-cache write out fonts.cache-2 files for directories with
56 no fonts (i.e. only subdirectories).
58 2005-09-22 Patrick Lam <plam@mit.edu>
60 * fc-cache/fc-cache.sgml:
62 * fc-glyphname/fc-glyphname.c:
68 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
73 * fontconfig/fcprivate.h:
74 * fontconfig/fontconfig.h:
88 Implement new mmaped cache for font information.
89 Bump so revision to 2.3.90.
91 2005-07-25 Keith Packard <keithp@keithp.com>
93 * doc/fontconfig-user.sgml:
94 * fc-glyphname/fc-glyphname.c: (scan), (main):
95 * fc-lang/fc-lang.c: (FcConfigHome):
96 * fc-match/fc-match.c: (main):
97 * src/fccfg.c: (FcConfigHome):
98 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
99 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
100 (addtag), (FcFontCapabilities):
101 * src/fcpat.c: (FcValueListEntCreate):
102 * src/fcstr.c: (FcStrCaseWalkerInit):
103 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
105 Various GCC 4 cleanups for signed vs unsigned char
107 Match only [0-9]*.conf files in <include>{directory}</include>
108 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
110 2005-07-15 Carl Worth <cworth@cworth.org>
113 * src/fcinit.c: (FcFini):
114 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
117 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
118 Pull the FcObjectStateName hash table out to file scope, and add
119 FcObjectStaticNameFini so that FcFini will cleanup this hash table
122 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
125 2005-06-16 Patrick Lam <plam@MIT.EDU>
129 * src/fccfg.c: (FcConfigCompareValue):
130 Make FcOpNotContains use FcStrStr for strings so that
131 it matches semantics for !FcOpContains.
133 2005-05-20 Keith Packard <keithp@keithp.com>
137 Move fontconfig source package to libs as per override
139 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
141 reviewed by: Mike Fabian
144 The ka.orth file requires several characters which are not
145 used anymore in modern Georgian and which are missing in the free
146 Georgian TrueType fonts downloadable at:
148 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
150 2005-04-27 Keith Packard <keithp@keithp.com>
154 Update date to real 2.3.2 release date.
155 Fix change attributions
157 2005-04-27 Keith Packard <keithp@keithp.com>
160 Bump so revision for 2.3.2
161 * fc-cache/fc-cache.c: (scanDirs):
162 Fix a few minor leaks in error cases.
164 2005-04-23 Keith Packard <keithp@keithp.com>
169 * fontconfig/fontconfig.h:
170 Update for version 2.3.2
172 2005-04-21 Keith Packard <keithp@keithp.com>
174 * debian/fontconfig.postinst:
175 Don't force bitmap font enable in default
176 configuration; allows users to override this in
186 * debian/po/pt_BR.po:
187 * debian/po/templates.pot:
189 * debian/po/zh_CN.po:
192 * fc-cache/fc-cache.c: (main):
193 Destroy font configuration on exit to help valgrind
196 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
197 (FcFreeTypeCheckGlyph):
198 Use own transcoding routines in preference to iconv
199 which appears to have leaks in some translators.
200 Call iconv_close after using iconv (oops).
202 Prefer unicode encoding of Euro char as some
203 fonts mis-encode Euro in other ones.
205 Must fetch bitmap glyphs to get width values
206 to check for monospace/dual-width fonts.
208 2005-04-13 Ross Burton <ross@burtonini.com>
211 Check that a pattern isn't already frozen in FcPatternFreeze.
213 2005-03-31 Ross Burton <ross@burtonini.com>
218 Run all FcPattern objects through FcObjectStaticName, so that
219 compares can be done on pointers instead of strings (#2659)
221 2005-03-17 Tor Lillqvist <tml@novell.com>
223 * src/fontconfig.def.in: Add the .dll to the dll name.
225 2005-03-10 Keith Packard <keithp@keithp.com>
227 * debian/README.Debian:
228 Update to reflect configuration changes
230 * debian/fontconfig.postinst:
231 Fix Autohint vs Autohinter mistake
232 * debian/fontconfig.templates:
233 Adopt changes from Josselin Mouette for configuration descriptions
234 Update debian to version 2.3.1-2
236 2005-03-08 Keith Packard <keithp@keithp.com>
240 Update debian for 2.3.1
242 2005-03-09 Tor Lillqvist <tml@novell.com>
244 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
247 * src/fccfg.c (FcConfigFileExists): Check also drive letter
250 2005-03-08 Keith Packard <keithp@keithp.com>
254 * fontconfig/fontconfig.h:
257 2005-03-05 Keith Packard <keithp@keithp.com>
259 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
260 Include space and remove numbers from valid script tags.
261 This ensures that tags like 'lao ' work while rejecting
262 those which have any digits.
263 Eliminate a spurious debugging variable (len)
265 2005-03-05 Keith Packard <keithp@keithp.com>
267 * src/fcfreetype.c: (addtag), (GetScriptTags),
268 (FcFontCapabilities):
269 Rework GSUB/GPOS script parsing to survive broken fonts.
270 Thanks for the broken font go to Manish Singh
272 2005-03-05 Keith Packard <keithp@keithp.com>
277 * debian/fontconfig.config:
278 * debian/fontconfig.templates:
280 Include 2.3 release information in changelog
281 Add Josselin Mouette as an Uploader
282 Set hinting_type to low priority configuration option
285 * debian/fontconfig.postinst:
286 yes_bitmaps.conf -> yes-bitmaps.conf
292 2005-03-02 Keith Packard <keithp@keithp.com>
295 * conf.d/Makefile.am:
296 * conf.d/autohint.conf:
297 * conf.d/no-sub-pixel.conf:
298 * conf.d/sub-pixel.conf:
299 * conf.d/unhinted.conf:
300 * debian/autohint.conf:
301 * debian/fontconfig.install:
302 * debian/fontconfig.postinst:
303 * debian/fontconfig.templates:
304 * debian/no-sub-pixel.conf:
305 * debian/unhinted.conf:
306 Move debian-specific conf file examples upstream.
308 Sub-pixel configuration examples must smash subpixel value
309 as Xft always sets it from X.
311 Change sub-pixel rendering debconf descriptions from
312 Enable/Disable to Always/Never.
314 2005-03-02 Keith Packard <keithp@keithp.com>
319 Ignore more build detritus
322 Add debian package construction stuff.
324 * config/config.guess:
326 Update to newer versions of these tools
329 Get library manuals to build again (we love automake).
331 * debian/README.Debian:
332 * debian/autohint.conf:
337 * debian/fontconfig-udeb.install:
338 * debian/fontconfig.config:
339 * debian/fontconfig.defoma:
340 * debian/fontconfig.dirs:
341 * debian/fontconfig.install:
342 * debian/fontconfig.postinst:
343 * debian/fontconfig.postrm:
344 * debian/fontconfig.templates:
345 * debian/libfontconfig1-dev.install:
346 * debian/libfontconfig1.install:
347 * debian/local.conf.md5sum:
348 * debian/no-sub-pixel.conf:
349 * debian/po/POTFILES.in:
358 * debian/po/pt_BR.po:
359 * debian/po/templates.pot:
361 * debian/po/zh_CN.po:
363 * debian/unhinted.conf:
364 Update debian build system to switch maintainers and
365 deal with 2.3 functionality
367 2005-03-01 Keith Packard <keithp@keithp.com>
371 * fontconfig/fontconfig.h:
374 2005-03-01 Keith Packard <keithp@keithp.com>
377 Generate and install PDF versions of the manuals
379 * doc/fcpattern.fncs:
383 Add missing exported functions, fix data types
385 * doc/fontconfig-devel.sgml:
386 Add missing pattern elements.
388 * doc/fontconfig-user.sgml:
389 Add missing pattern elements. Document conf.d usage,
390 clarify available orthography list. Fix some config file
391 attributes. Complete list of constants.
393 * fontconfig/fontconfig.h:
394 Mark FC_SOURCE deprecated.
396 * src/fcfreetype.c: (FcFreeTypeQuery):
397 Don't set FC_SOURCE any longer.
399 2005-02-28 Keith Packard <keithp@keithp.com>
402 * conf.d/Makefile.am:
404 * conf.d/no-bitmaps.conf:
405 * conf.d/sub-pixel.conf:
406 * conf.d/yes-bitmaps.conf:
408 Create prototype /etc/fonts/conf.d directory with a few
409 sample configuration files.
410 Deprecate use of local.conf for local customizations in favor of
411 this directory based scheme which is more easily integrated into
412 installation systems.
415 Tag FC_EMBOLDEN as a boolean variable
417 2005-02-10 Keith Packard <keithp@keithp.com>
419 reviewed by: pborelli@katamail.com
421 * src/fcdir.c: (FcFileScanConfig):
422 Free patterns from fonts which are rejected by configuration
425 2005-01-28 Keith Packard <keithp@keithp.com>
429 * fontconfig/fontconfig.h:
430 Update for version 2.2.99
432 2005-01-28 Keith Packard <keithp@keithp.com>
435 Add a few pointers (#2284, #2285)
437 2005-01-28 Keith Packard <keithp@keithp.com>
440 * src/fcname.c: (FcNameBool):
441 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
442 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
443 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
444 Polite typechecking for test and edit expressions. Helps
445 catch errors in the font configuration. (bug 229)
447 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
449 reviewed by: Keith Packard <keithp@keithp.com>
452 Have --with-expat set EXPAT_CFLAGS (bug 2278)
454 2005-01-13 Keith Packard <keithp@keithp.com>
456 * doc/fontconfig-user.sgml:
457 Add SEE ALSO section (bug 2085)
459 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
461 reviewed by: Keith Packard <keithp@keithp.com>
466 * fc-case/Makefile.am:
467 * fc-glyphname/Makefile.am:
468 * fc-lang/Makefile.am:
469 * src/fontconfig.def.in:
470 Cross compiling fixes (bug 280)
472 2005-01-13 Keith Packard <keithp@keithp.com>
475 Update blanks list (Closes bug 86)
477 2005-01-04 Keith Packard <keithp@keithp.com>
479 * src/fccache.c: (FcCacheFontSetAdd):
480 Verify that every font pattern loaded from cache has
481 both FC_FILE and FC_FAMILY entries.
482 Attempt to fix bug #2219.
484 2004-12-29 Keith Packard <keithp@keithp.com>
488 * fontconfig/fontconfig.h:
489 Update for version 2.2.98
491 2004-12-29 Keith Packard <keithp@keithp.com>
493 * fontconfig/fontconfig.h:
494 Document ASCII limitations of Fc character conversion macros
495 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
496 Fix off-by-one error in utf-8 case walking code.
497 Add FcStrDowncase (useful for testing case conversion functions)
499 2004-12-29 Keith Packard <keithp@keithp.com>
502 * fc-case/.cvsignore:
503 clean up CVS ignore lists
504 * fc-lang/iso-3166.txt:
505 Add territory database
507 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
509 Reviewed by: Keith Packard
512 Remove Han characters from Korean orthography
514 2004-12-29 Keith Packard <keithp@keithp.com>
517 Reorder utility programs to make sure fc-case is run before fc-lang
518 as fc-lang uses fcstr.c which uses fccase.h
522 2004-12-29 Keith Packard <keithp@keithp.com>
525 Adopt some RedHat suggestions for standard font configuration.
529 * fc-case/CaseFolding.txt:
530 * fc-case/Makefile.am:
531 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
532 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
533 (dump), (parseRaw), (caseFoldReadRaw), (main):
534 * fc-case/fccase.tmpl.h:
535 Add new helper program 'fc-case' to construct case folding
536 tables from standard Unicode CaseFolding.txt file
539 * src/fclist.c: (FcListValueHash):
540 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
541 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
542 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
543 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
544 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
545 Re-implement case insensitive functions with Unicode
546 aware versions (including full case folding mappings)
548 2004-12-13 Keith Packard <keithp@keithp.com>
550 reviewed by: Owen Taylor <otaylor@redhat.com>
552 * src/fcmatch.c: (FcFontSetSort):
553 I changed FcFontSetSort to respect the generic aliases better
554 in the face of language matching.
556 What I did was to ammend the strict sort order used by FcFontSort so
557 that it 'satisfies' the language specified in the pattern by locating
558 the best matching font supporting each pattern language and then
559 ignores language in the remaining fonts for purposes of matching.
561 So, when asking for 'sans:lang=en', you'll get an English font first,
562 and then the remaining fonts sorted with respect to the 'sans' alias
563 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
565 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
567 reviewed by: Keith Packard <keithp@keithp.com>
569 * fontconfig/fontconfig.h:
572 Configuration changes to request synthetic emboldening of
573 fonts. The actual emboldening code will live in Xft.
575 2004-12-09 John Thacker <thacker@math.cornell.edu>
577 reviewed by: Keith Packard <keithp@keithp.com>
581 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
582 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
583 и), and don't even appear in KOI8-R. (The hypothesis that they
584 don't appear in KOI8-R due to their similarity with Latin I and i is
585 eliminated by their presence in KOI8-U.) I have a couple of fonts
586 with Russian support that don't have the letter.
588 Therefore, 0406 and 0456 should be removed from or commented out of
591 2004-12-06 michael meeks <mmeeks@novell.com>
593 Reviewed by: Keith Packard <keithp@keithp.com>
595 * src/fcinit.c: (FcMemReport):
597 * src/fclist.c: (FcObjectSetAdd):
598 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
599 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
600 * src/fcxml.c: (FcParsePatelt):
601 memoize strings and share a single copy for all uses. Note that
602 this could be improved further by using statically allocated blocks
603 and gluing multiple strings together, but I'm basically lazy.
604 In my environment with 800 font files, I get a savings of about 90KB.
606 2004-12-06 Keith Packard <keithp@keithp.com>
610 * config/Makedefs.in:
615 * doc/fccharset.fncs:
617 * doc/fcconstant.fncs:
619 * doc/fcfontset.fncs:
620 * doc/fcfreetype.fncs:
623 * doc/fcobjectset.fncs:
624 * doc/fcobjecttype.fncs:
625 * doc/fcpattern.fncs:
629 * doc/fontconfig-devel.sgml:
630 * doc/fontconfig-user.sgml:
632 * doc/version.sgml.in:
633 * fc-cache/Makefile.am:
634 * fc-cache/fc-cache.c:
635 * fc-glyphname/Makefile.am:
636 * fc-glyphname/fc-glyphname.c:
637 * fc-glyphname/fcglyphname.tmpl.h:
638 * fc-lang/Makefile.am:
648 * fc-lang/az_ir.orth:
683 * fc-lang/fc-lang.man:
684 * fc-lang/fclang.tmpl.h:
729 * fc-lang/ku_ir.orth:
762 * fc-lang/ps_af.orth:
763 * fc-lang/ps_pk.orth:
792 * fc-lang/ti_er.orth:
793 * fc-lang/ti_et.orth:
819 * fc-lang/zh_cn.orth:
820 * fc-lang/zh_hk.orth:
821 * fc-lang/zh_mo.orth:
822 * fc-lang/zh_sg.orth:
823 * fc-lang/zh_tw.orth:
825 * fc-list/Makefile.am:
827 * fc-match/Makefile.am:
828 * fc-match/fc-match.1:
829 * fc-match/fc-match.c:
830 * fontconfig/fcfreetype.h:
831 * fontconfig/fcprivate.h:
832 * fontconfig/fontconfig.h:
853 Change files from ISO-Latin-1 to UTF-8
855 2004-12-04 Keith Packard <keithp@keithp.com>
858 Update links to new freedesktop.org locations
860 Add uninstall-local to get rid of fonts.conf and local.conf if they
861 match the distributed versions. Fixes 'make distcheck'
863 2004-12-04 Keith Packard <keithp@keithp.com>
867 * fontconfig/fontconfig.h:
868 Updates for version 2.2.97
870 2004-12-04 Owen Taylor <otaylor@redhat.com>
872 reviewed by: Keith Packard <keithp@keithp.com>
874 * fc-cache/fc-cache.c: (main):
875 Sleep for two seconds before exiting to make sure timestamps
876 for future changes have distinct mod times in the file system.
879 Add Punjabi orthography. Bug #1671.
881 2004-12-04 Keith Packard <keithp@keithp.com>
884 Just remove the FC_FONTDATE -- it has locale issues and
885 annoys redhat multi-arch installs. Now that all X fonts are
886 included without prejudice, the chances of the date being at
887 all interesting are rather limited. Bug #505.
889 Add copyright and license
891 2004-12-04 Keith Packard <keithp@keithp.com>
894 Change default set of fonts to include all of
895 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
896 * doc/fontconfig-user.sgml:
897 Document new <include>directory-name</include> semantics
899 add <include ignore_missing="yes">conf.d</include>
901 Add selectfont to ignore bitmap fonts, add comment for
902 selectfont which accepts bitmap fonts.
905 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
906 Allow <include> configuration elements to reference directories.
907 Parse and load all files of the form [0-9]* in sorted order.
909 2004-12-04 Keith Packard <keithp@keithp.com>
912 Report command line for $srcdir/configure accurately.
915 2004-12-04 Keith Packard <keithp@keithp.com>
917 * src/fcfreetype.c: (FcFreeTypeQuery):
918 Check for non-empty face->family_name and face->style_name
919 before using those for the font. Empty names match everything.
922 2004-12-04 Keith Packard <keithp@keithp.com>
925 * fontconfig/fontconfig.h:
926 * src/fcfreetype.c: (FcFreeTypeQuery):
928 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
929 available. This provides font file format information (BDF, Type 1,
930 PCF, TrueType) for each font. Closes #109.
932 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
934 reviewed by: Keith Packard <keithp@keithp.com>
936 * doc/fontconfig-user.sgml:
939 * fontconfig/fontconfig.h:
940 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
941 (GetScriptTags), (FcFontCapabilities):
943 Add detection for font capabilities (bug #105)
945 2004-12-04 Keith Packard <keithp@keithp.com>
948 Move existing fonts.conf to fonts.conf.bak
951 Add detection of iconv
953 * doc/fcpattern.fncs:
954 * doc/fontconfig-devel.sgml:
955 * doc/fontconfig-user.sgml:
957 Document new selectfont elements
960 Switch to UTF-8 in comment
962 * fontconfig/fontconfig.h:
964 Add fullname, and family/style/fullname language entries
966 * src/fccache.c: (FcCacheFontSetAdd):
967 * src/fcdir.c: (FcFileScanConfig):
968 Respect selectfont/*/glob
971 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
972 (FcConfigCompareValue), (FcConfigPatternsAdd),
973 (FcConfigPatternsMatch), (FcConfigAcceptFont):
974 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
975 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
976 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
977 Add support for selectfont
979 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
980 (FcStringInPatternElement), (FcFreeTypeQuery):
981 Add multi-lingual family/style/fullname support
983 * src/fclist.c: (FcListPatternMatchAny):
984 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
986 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
987 (FcObjectStaticName):
988 Add new FcPatternRemove/FcPatternAppend.
989 FcObjectStaticName stores computed pattern element names which
990 are required to be static.
992 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
997 Remove spurious / after $(DESTDIR)
999 2004-06-30 Keith Packard <keithp@keithp.com>
1003 * fontconfig/fontconfig.h:
1006 2004-06-30 Keith Packard <keithp@keithp.com>
1008 Provided by: Lubos Lunak <l.lunak@suse.cz>
1010 * src/fccfg.c: (FcConfigUptoDate):
1011 However FcConfigUptoDate() doesn't seem to work. See the attached
1012 patch. First there's an obvious misplaced parenthesis making it
1013 return always false, and second, even this call fails to detect font
1014 changes (e.g. adding a new font to
1015 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1016 well. The problem seems to be triggered by my fonts.conf specifying
1017 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1018 doesn't include subdirs, unlike config->fontDirs.
1020 2004-06-03 Keith Packard <keithp@keithp.com>
1022 * fontconfig/fontconfig.h:
1023 Remove comma at end of FcResult enum definition.
1025 2004-05-29 Keith Packard <keithp@keithp.com>
1028 Add steps to md5sum release
1030 2004-05-29 Keith Packard <keithp@keithp.com>
1034 * fontconfig/fontconfig.h:
1037 2004-05-29 Keith Packard <keithp@keithp.com>
1039 * fontconfig/fontconfig.h:
1040 * src/fcmatch.c: (FcFontSetMatch):
1041 Add FcResultOutOfMemory to provide an accurate error when
1042 FcFontSetMatch fails in this way
1045 Make #warning about lacking various FreeType features indicate
1046 which version those features appeared so users know how to
1047 fix the problem (Thanks to Anton Tropashko)
1049 2004-05-05 Keith Packard <keithp@keithp.com>
1051 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1052 Replace MIN/MAX/ABS macros which happen to have come
1053 from FreeType with fontconfig-specific ones (FC_*)
1055 2004-04-23 Keith Packard <keithp@keithp.com>
1058 Extend release preparation instructions to include
1059 notification and distribution steps
1061 2004-04-23 Keith Packard <keithp@keithp.com>
1065 * fontconfig/fontconfig.h:
1066 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1068 2004-04-23 Keith Packard <keithp@keithp.com>
1071 Ignore a few more autotool files
1073 2004-04-14 Keith Packard <keithp@keithp.com>
1076 Add instructions for doing a release
1078 * fontconfig.spec.in:
1079 clean up .spec file; perhaps this will be useful to somebody...
1083 * fontconfig/fontconfig.h:
1086 * fc-lang/fc-lang.c:
1087 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1089 * fc-glyphname/Makefile.am:
1090 * fc-lang/Makefile.am:
1091 * fc-list/Makefile.am:
1092 * fc-match/Makefile.am:
1094 Add WARN_CFLAGS to pass -W flags for GCC systems
1096 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1097 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1098 Change various char types around to match across
1100 Fixed bug in using available_sizes[i].height which
1101 is in pixels, not 64ths of a pixel.
1103 2004-03-06 Keith Packard <keithp@keithp.com>
1105 * src/fcfreetype.c: (FcFreeTypeQuery):
1106 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1107 matches looking for explicit values prefer exact matches
1109 2004-03-02 Keith Packard <keithp@keithp.com>
1111 Supplied by: mfabian@suse.de (Mike FABIAN)
1113 * src/fcfreetype.c: (FcFreeTypeQuery):
1114 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1115 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1117 2004-02-21 Manish Singh <yosh@gimp.org>
1119 * fc-glyphname/fc-glyphname.c: (main):
1120 Cast strlen to int for printf, so we're 64-bit clean.
1122 2004-02-11 Keith Packard <keithp@keithp.com>
1125 * src/fcfreetype.c: (FcGetPixelSize):
1126 Ok, so I messed up the test for y_ppem. Let's see if I
1127 got it right this time.
1129 2004-02-10 Keith Packard <keithp@keithp.com>
1132 * src/fcfreetype.c: (FcGetPixelSize):
1133 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1134 FT_Bitmap_Size record. Add a configure.in test for this
1135 and change the code accordingly (using height instead).
1137 2004-02-06 Keith Packard <keithp@keithp.com>
1140 Add Low Saxon orthography
1141 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1143 * src/fccfg.c: (FcConfigNewestFile):
1144 Oops. Left 'newest.set' unset, which would miscompute
1147 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1148 (FcFreeTypeCheckGlyph):
1149 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1150 font properties (which report the wrong value in current FreeType)
1152 Don't attempt to check for empty glyphs in non-scalable fonts; they
1155 2004-02-01 Tor Lillqvist <tml@iki.fi>
1157 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1158 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1159 cache if config->cache is NULL, which happens if FcConfigHome() is
1160 NULL. Guard against that by using the temp folder in that case.
1162 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1164 * fc-lang/az_ir.orth:
1165 * fc-lang/ku_ir.orth:
1166 * fc-lang/ps_af.orth:
1167 * fc-lang/ps_pk.orth:
1168 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1169 (Afghan and Pakistani).
1171 Updated Urdu orthography with real data.
1173 2003-12-11 Carl Worth <cworth@east.isi.edu>
1175 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1178 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1180 (all-local): Remove excessive whitespace.
1182 * autogen.sh: Add 'set -e' to abort when any program fails,
1183 (avoids printing of 'now type make' after configure aborts).
1185 2003-11-17 Eric Christopherson <rakko@charter.net>
1187 reviewed by: Keith Packard <keithp@keithp.com>
1190 * fontconfig/fcfreetype.h:
1192 Switch to FreeType 2.1.7 style includes. Bug #150.
1194 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1196 * fc-list/fc-list.sgml: Add some example usages.
1198 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1201 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1204 2003-10-27 Keith Packard <keith@keithp.com>
1207 * fontconfig/fontconfig.h:
1208 Update to version 2.2.92
1210 2003-10-27 Keith Packard <keithp@keithp.com>
1215 * fc-cache/Makefile.am:
1216 * fc-glyphname/Makefile.am:
1217 * fc-lang/Makefile.am:
1218 * fc-list/Makefile.am:
1219 * fc-match/Makefile.am:
1222 Yet more cleanups to finish getting 'make distcheck' working
1223 This has been tested to ensure that it even works from a _build
1226 2003-10-26 Keith Packard <keithp@keithp.com>
1230 * fc-cache/Makefile.am:
1231 * fc-glyphname/Makefile.am:
1232 * fc-lang/Makefile.am:
1233 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1234 * fc-list/Makefile.am:
1235 * fc-match/Makefile.am:
1236 Attempts to fix 'make distcheck' work. Things are
1237 progressing pretty well, but there are still failures
1238 long into the process dealing with docs (as always).
1240 The big changes here are mostly to make $(srcdir) != "."
1241 work correctly, fixing the docbook related sections and
1242 fc-lang were particularily tricky. Docbook refuses to load
1243 system entities from anywhere other than where the original .sgml
1244 file was located, so no luck looking in "." for the
1245 configure-generated version.sgml and confdir.sgml files.
1247 fc-lang needed help finding .orth files; added a -d option
1248 to set the directory as the least evil of many options.
1250 Now to go use a faster machine and try and wring out the last
1253 2003-10-26 Keith Packard <keithp@keithp.com>
1257 2003-10-26 Keith Packard <keithp@keithp.com>
1260 Include confdir.sgml.in in EXTRA_DIST
1262 2003-10-09 Josselin Mouette <joss@debian.org>
1264 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1265 * fc-list/fc-list.sgml fc-list/Makefile.am:
1266 Replace fc-cache and fc-list manpages with more detailed, SGML
1269 2003-09-23 Owen Taylor <otaylor@redhat.com>
1271 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1272 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1273 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1276 2003-09-23 Owen Taylor <otaylor@redhat.com>
1278 * fc-lang/ka.orth: Remove Georgian capitals, they
1279 aren't used for normal writing. (Bug #116)
1281 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1283 * doc/fontconfig-devel.sgml:
1284 * doc/fontconfig-user.sgml:
1285 * fontconfig/fontconfig.h:
1287 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1288 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1290 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1291 monospace and dual-width fonts, allow roughly a 3% variance in the
1294 2003-08-31 Manish Singh <yosh@gimp.org>
1296 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1299 2003-08-15 Carl Worth <cworth@isi.edu>
1301 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1302 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1304 * src/fcpat.c (FcValueListEntDestroy): New function to support
1305 FcFini memory cleanup. Some statistics are not kept in
1307 (FcValueListFreeze): Move hashTable outside this function so it
1308 can be accessed by FcValueListThawAll.
1309 (FcValueListThawAll): New function complements FcValueListFreeze.
1310 (FcPatternBaseFreeze): Move hashTable outside this function so it
1311 can be accessed by FcPatternBaseThawAll.
1312 (FcPatternBaseThawAll): New function complements
1313 FcPatternBaseFreeze.
1314 (FcPatternThawAll): New function complements FcPatternFreeze.
1316 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1318 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1319 allocated FcCharLeafEnt "blocks" so they can be freed later.
1320 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1321 can be accessed by FcCharSetThawAllLeaf.
1322 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1323 (FcCharSetFreezeBase): Move hashTable outside this function so it
1324 can be accessed by FcCharSetThawAll.
1325 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1327 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1328 (FcConfigDestroy): Fic leak of FcBlanks.
1330 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1331 (main): Add call to FcFini when finished.
1333 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1334 static. Add prototypes.
1336 * doc/fcinit.fncs: Add documentation for FcFini function.
1338 * doc/edit-sgml.c: Mark several local functions as static. Add
1341 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1343 2003-06-15 Tor Lillqvist <tml@iki.fi>
1345 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1346 before comparing (needed on Windows).
1348 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1350 2003-06-13 Tor Lillqvist <tml@iki.fi>
1352 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1355 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1356 WINDOWSFONTDIR token.
1358 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1359 end, not to confuse libtool, which expects the EXPORTS line to be
1360 the first. Add FcConfigEnableHome.
1362 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1363 built as a DLL on Win32.
1365 2003-06-09 Keith Packard <keithp@keithp.com>
1367 * Tag version 2.2.90
1369 2003-06-09 Keith Packard <keithp@keithp.com>
1371 * Optimization in FcLangSetIndex was broken, occasionally
1372 returning a pointer to the wrong location on miss
1374 * Add fc-match to test font matching from the command line.
1376 2003-05-31 Keith Packard <keithp@keithp.com>
1378 * (Bug 85) add support for culmus fonts
1379 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1380 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1382 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1384 * Fix "contains" op for strings and langsets.
1386 2003-05-17 Keith Packard <keithp@keithp.com>
1388 * Fix build error with BDF prop local. Free langset after query
1390 2003-05-14 Keith Packard <keithp@keithp.com>
1392 * Extract spacing from XLFD atom
1394 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1396 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1397 disappeared in 1.30.
1399 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1401 2003-05-12 Keith Packard <keithp@keithp.com>
1403 * Use FcIsWidth to share code
1405 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1406 misclassifying some Han fonts as monospaced.
1408 2003-05-07 Keith Packard <keithp@keithp.com>
1410 * Add filename-based accept/reject to ammend available fonts.
1412 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1413 older FreeType releases.
1415 2003-05-06 Keith Packard <keithp@keithp.com>
1417 * Remove 0b82 and Tamil numbers from tamil
1418 orthography (Jungshik Shin <jshin@mailaps.org>)
1420 2003-05-04 Keith Packard <keithp@keithp.com>
1422 + Map glyph names in fonts with adobe custom encoding to unicode
1424 2003-05-02 Keith Packard <keithp@keithp.com>
1426 * Add FC_WEIGHT_BOOK as weight 75
1428 2003-04-30 Keith Packard <keithp@keithp.com>
1430 * Typo in bitstream foundry name
1432 2003-04-24 Keith Packard <keithp@keithp.com>
1434 * Eliminate italic_angle check for PS fonts
1436 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1438 * Getting closer to fixing /etc/fonts hard-coding.
1440 2003-04-22 Keith Packard <keithp@keithp.com>
1442 * Update autogen.sh to work with newer automake versions
1443 * Handle pattern elements moving during multiple edits
1445 2003-04-23 James Henstridge <james@daa.com.au>
1447 * doc/fontconfig-devel.sgml: close the <para> element.
1449 * doc/fcpattern.fncs: close the <para> element.
1451 * doc/func.sgml: close the <refsynopsisdiv> element.
1453 2003-04-22 Keith Packard <keithp@keithp.com
1455 * Update autogen.sh to work with newer automake versions
1456 * Handle pattern elements moving during multiple edits
1458 2003-04-17 Colin Walters <walters@debian.org>
1460 + Remove some unused variables, and initialize some other ones so
1461 gcc doesn't warn us.
1463 2003-04-16 Keith Packard <keithp@keithp.com>
1465 + tag version 2.1.94
1467 2003-04-16 Keith Packard <keithp@keithp.com>
1469 + add BDF property fetching support for foundry
1470 (from Juliusz Chroboczek)
1471 + add BDF property fetching support for width
1473 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1475 + Implemented foundry generation for Type 1 and TrueType
1477 2003-04-11 Gerard Escalante <g2@magestudios.net>
1479 + Retrieve information from Type1 FontInfo dictionaries
1481 2003-04-07 Colin Walters <walters@verbum.org>
1483 + src/Makefile.am: Fix dummy makefile target names when
1484 MS_LIB_AVAILABLE isn't set.
1486 2003-03-22 Tor Lillqvist <tml@iki.fi>
1488 Changes for Windows:
1490 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1492 + We don't want to hardcode the fonts.conf file location in the
1493 DLL, so we look up the DLL location at run-time in a DllMain()
1494 function. The fonts.conf location is deduced from that.
1496 + The colon can't be used as path separator on Windows,
1497 semicolon is used instead. File path components can be separated
1498 with either slash or backslash. Absolute paths can also begin
1499 with a drive letter.
1501 + Add internal function FcStrLastSlash that strrchr's the last
1502 slash, or backslash on Windows.
1504 + There is no link() on Windows. For atomicity checks, mkdir a
1505 lock directory instead.
1507 + In addition to HOME, also look for USERPROFILE.
1509 + Recognize the special font directory token WINDOWSFONTDIR, to
1510 use the system's font directory.
1512 + Remove the fontconfig-def.cpp that was obsolete. Add
1513 fontconfig.def(.in), without internal functions.
1515 + Add a fontconfig-zip(.in) script, used to build a binary
1518 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1519 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1520 to main package and man3/* to devel package
1522 + Added missing defattr(-, root, root) to main RPM package
1524 + Added HTML and text development documentation to -devel subpackage
1526 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1527 + Added back the configure macro options --disable-docs, otherwise
1528 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1529 version number) unconditionally, causing RPM to fail the build due
1530 to _unpackaged_files_terminate_build. We pick up the pregenerated
1531 docs with %doc already.
1533 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1534 + Removed commented out rpm macro define at top of spec file,
1535 replacing it with a simple explanation, since rpm macros are
1536 expanded by rpm even in comments.
1538 + Changed /usr/bin to _bindir in BuildRequires lines
1540 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1542 + Reorganized file manifest lists
1544 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1546 + fontconfig.spec.in: Improvements from Red Hat spec file.
1548 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1550 + docs/*.sgml: SGML fixes.
1552 Sat Mar 1 17:28:53 PST 2003 keithp
1553 + Ok, so the ChangeLog is a bit out of date
1555 + Lots of bugs fixed; most are in bugzilla, the
1556 biggest problems were in cache management where
1557 Owen discovered the library would lose badly when
1558 combining fonts-cache and ~/.fonts-cache data
1560 + Converted from autoconf to automake. This after
1561 getting patches accepted into libtool to allow
1562 the '-version-number' argument which lets
1563 packages set version numbers explicitly rather
1564 than the roundabout libtool way
1566 + Converted documentation to SGML using the docbook
1567 DTD. Now .txt and .html documents are installed
1568 in /usr/share/doc/fontconfig and there's no
1569 man page. Perhaps a man version can be written
1572 Sat Aug 31 15:21:22 PDT 2002 keithp
1573 + Xrender and Xft had several bugs related to
1574 rendering manually placed or poly-face text
1576 + Added more complete memory tracing in fontconfig
1577 Checked with (patched) mozilla and found no leaks
1579 + Updated Latin orthographies by comparing those from
1580 evertype.com with those from eki.ee. Tried to make
1581 sensible choices, including chars that occured in both
1582 and leaving some optional chars out that occured only
1585 Mon Aug 26 16:33:04 PDT 2002 keithp
1586 + Owen discovered that FcLangSetHasLang wasn't actually
1587 checking the language set.
1589 Mon Aug 26 13:37:23 PDT 2002 keithp
1590 + Append a version number to cache filenames
1592 Thu Aug 22 11:36:18 PDT 2002 keithp
1594 + Add "contains" and "not_contains" operators and elements to
1597 + Changed semantics of eq operator for LangSets to check for
1598 FcLangEqual so that any match will do
1600 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1601 of FcValueEqual to check for identical values when inserting into
1602 the results. This broke when the above semantic change was made,
1603 now it uses FcValueEqual which is "more correct" in any case.
1605 Thu Aug 22 00:32:29 PDT 2002 keithp
1607 + Reimplement FC_LANG as new datatype. Lists of strings
1608 was consuming over a megabyte of memory for 401 fonts.
1610 + Freeze patterns loaded from cache files. This shares
1611 common value lists and common patterns which saves
1612 considerable memory.
1614 + Change the denotation of 'constant' charsets to use special
1615 ref value instead of separate boolean.
1617 + Clean up leak tracing stuff, found several unannoted alloc/free
1620 Tue Aug 20 16:17:37 PDT 2002 keithp
1622 + Fix memory leak when parsing matrices from XML
1624 Mon Aug 19 11:57:27 PDT 2002 keithp
1626 + Fix autoconf files to pass FONTCONFIG_PATH on
1627 compile line so that ${prefix} gets substituted
1630 + Use getc_unlocked/putc_unlocked on systems that
1631 provide them to avoid damage done to stdio by posix
1633 + Eliminate FC_PATTERN and FcTypePattern in favor of
1634 an extended api for FcConfigSubstitute which takes
1635 both the font and the pattern.
1637 + Add 'sans serif' alias for 'sans-serif' as some apps
1638 can't handle hyphens in family names
1640 + Eliminate pretense of support for libxml2
1642 + Comment origins of Han orthographies
1644 Tue Jul 30 18:37:09 PDT 2002 keithp
1646 + Add binding property to edit element so that strong
1647 binding values may be inserted by the config file.
1648 The default remains weak.
1650 Sun 28 Jul 04:16:55 PDT 2002 keithp
1652 + Tagged release candidate 1 in the CVS tree and
1653 placed fcpackage.rc1.tar.gz for distribution
1655 Thu Aug 1 08:55:08 PDT 2002 keithp
1657 + Fixed autoconf builds to always specify install
1658 target files (for BSD). Also fixed to
1659 define FONTCONFIG_PATH in config.h so that
1660 nonstandard installs will actually work.