1 2005-09-29 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
4 Fix multi-arch cache files: compute the position for the
5 block to be added using info from OrigFile, not NewFile.
7 2005-09-28 Patrick Lam <plam@mit.edu>
8 * src/fccache.c (FcCacheMachineSignature):
10 Cast results of sizeof() to unsigned int to get rid of
11 warnings on x86_64 (thanks Matthias Clasen).
13 2005-09-27 Patrick Lam <plam@mit.edu>
14 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
17 Use FcAtomic to rewrite cache files.
19 2005-09-27 Patrick Lam <plam@mit.edu>
21 * src/fccache.c (FcDirCacheWrite):
23 Don't unlink the fonts.cache-2 file even if there's no data
24 to write; just write an empty cache file. (thanks Lubos Lunak)
26 2005-09-27 Patrick Lam <plam@mit.edu>
28 * src/fccache.c (FcDirCacheWrite):
30 Allocate room for the subdirectory names in each
31 directory cache. Thanks to James Cloos for finding
32 and diagnosing this bug!
34 2005-09-22 Patrick Lam <plam@mit.edu>
36 * fc-cache/fc-cache.sgml:
37 * src/fccache.c (FcDirCacheWrite):
38 * src/fccache.h (struct FcCache):
40 Update documentation -- fc-cache's man page now says that you
41 need to run fc-cache once per cached architecture; add some
42 documentation to the FcCache structure.
44 Make fc-cache write out fonts.cache-2 files for directories with
45 no fonts (i.e. only subdirectories).
47 2005-09-22 Patrick Lam <plam@mit.edu>
49 * fc-cache/fc-cache.sgml:
51 * fc-glyphname/fc-glyphname.c:
57 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
62 * fontconfig/fcprivate.h:
63 * fontconfig/fontconfig.h:
77 Implement new mmaped cache for font information.
78 Bump so revision to 2.3.90.
80 2005-07-25 Keith Packard <keithp@keithp.com>
82 * doc/fontconfig-user.sgml:
83 * fc-glyphname/fc-glyphname.c: (scan), (main):
84 * fc-lang/fc-lang.c: (FcConfigHome):
85 * fc-match/fc-match.c: (main):
86 * src/fccfg.c: (FcConfigHome):
87 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
88 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
89 (addtag), (FcFontCapabilities):
90 * src/fcpat.c: (FcValueListEntCreate):
91 * src/fcstr.c: (FcStrCaseWalkerInit):
92 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
94 Various GCC 4 cleanups for signed vs unsigned char
96 Match only [0-9]*.conf files in <include>{directory}</include>
97 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
99 2005-07-15 Carl Worth <cworth@cworth.org>
102 * src/fcinit.c: (FcFini):
103 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
106 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
107 Pull the FcObjectStateName hash table out to file scope, and add
108 FcObjectStaticNameFini so that FcFini will cleanup this hash table
111 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
114 2005-06-16 Patrick Lam <plam@MIT.EDU>
118 * src/fccfg.c: (FcConfigCompareValue):
119 Make FcOpNotContains use FcStrStr for strings so that
120 it matches semantics for !FcOpContains.
122 2005-05-20 Keith Packard <keithp@keithp.com>
126 Move fontconfig source package to libs as per override
128 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
130 reviewed by: Mike Fabian
133 The ka.orth file requires several characters which are not
134 used anymore in modern Georgian and which are missing in the free
135 Georgian TrueType fonts downloadable at:
137 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
139 2005-04-27 Keith Packard <keithp@keithp.com>
143 Update date to real 2.3.2 release date.
144 Fix change attributions
146 2005-04-27 Keith Packard <keithp@keithp.com>
149 Bump so revision for 2.3.2
150 * fc-cache/fc-cache.c: (scanDirs):
151 Fix a few minor leaks in error cases.
153 2005-04-23 Keith Packard <keithp@keithp.com>
158 * fontconfig/fontconfig.h:
159 Update for version 2.3.2
161 2005-04-21 Keith Packard <keithp@keithp.com>
163 * debian/fontconfig.postinst:
164 Don't force bitmap font enable in default
165 configuration; allows users to override this in
175 * debian/po/pt_BR.po:
176 * debian/po/templates.pot:
178 * debian/po/zh_CN.po:
181 * fc-cache/fc-cache.c: (main):
182 Destroy font configuration on exit to help valgrind
185 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
186 (FcFreeTypeCheckGlyph):
187 Use own transcoding routines in preference to iconv
188 which appears to have leaks in some translators.
189 Call iconv_close after using iconv (oops).
191 Prefer unicode encoding of Euro char as some
192 fonts mis-encode Euro in other ones.
194 Must fetch bitmap glyphs to get width values
195 to check for monospace/dual-width fonts.
197 2005-04-13 Ross Burton <ross@burtonini.com>
200 Check that a pattern isn't already frozen in FcPatternFreeze.
202 2005-03-31 Ross Burton <ross@burtonini.com>
207 Run all FcPattern objects through FcObjectStaticName, so that
208 compares can be done on pointers instead of strings (#2659)
210 2005-03-17 Tor Lillqvist <tml@novell.com>
212 * src/fontconfig.def.in: Add the .dll to the dll name.
214 2005-03-10 Keith Packard <keithp@keithp.com>
216 * debian/README.Debian:
217 Update to reflect configuration changes
219 * debian/fontconfig.postinst:
220 Fix Autohint vs Autohinter mistake
221 * debian/fontconfig.templates:
222 Adopt changes from Josselin Mouette for configuration descriptions
223 Update debian to version 2.3.1-2
225 2005-03-08 Keith Packard <keithp@keithp.com>
229 Update debian for 2.3.1
231 2005-03-09 Tor Lillqvist <tml@novell.com>
233 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
236 * src/fccfg.c (FcConfigFileExists): Check also drive letter
239 2005-03-08 Keith Packard <keithp@keithp.com>
243 * fontconfig/fontconfig.h:
246 2005-03-05 Keith Packard <keithp@keithp.com>
248 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
249 Include space and remove numbers from valid script tags.
250 This ensures that tags like 'lao ' work while rejecting
251 those which have any digits.
252 Eliminate a spurious debugging variable (len)
254 2005-03-05 Keith Packard <keithp@keithp.com>
256 * src/fcfreetype.c: (addtag), (GetScriptTags),
257 (FcFontCapabilities):
258 Rework GSUB/GPOS script parsing to survive broken fonts.
259 Thanks for the broken font go to Manish Singh
261 2005-03-05 Keith Packard <keithp@keithp.com>
266 * debian/fontconfig.config:
267 * debian/fontconfig.templates:
269 Include 2.3 release information in changelog
270 Add Josselin Mouette as an Uploader
271 Set hinting_type to low priority configuration option
274 * debian/fontconfig.postinst:
275 yes_bitmaps.conf -> yes-bitmaps.conf
281 2005-03-02 Keith Packard <keithp@keithp.com>
284 * conf.d/Makefile.am:
285 * conf.d/autohint.conf:
286 * conf.d/no-sub-pixel.conf:
287 * conf.d/sub-pixel.conf:
288 * conf.d/unhinted.conf:
289 * debian/autohint.conf:
290 * debian/fontconfig.install:
291 * debian/fontconfig.postinst:
292 * debian/fontconfig.templates:
293 * debian/no-sub-pixel.conf:
294 * debian/unhinted.conf:
295 Move debian-specific conf file examples upstream.
297 Sub-pixel configuration examples must smash subpixel value
298 as Xft always sets it from X.
300 Change sub-pixel rendering debconf descriptions from
301 Enable/Disable to Always/Never.
303 2005-03-02 Keith Packard <keithp@keithp.com>
308 Ignore more build detritus
311 Add debian package construction stuff.
313 * config/config.guess:
315 Update to newer versions of these tools
318 Get library manuals to build again (we love automake).
320 * debian/README.Debian:
321 * debian/autohint.conf:
326 * debian/fontconfig-udeb.install:
327 * debian/fontconfig.config:
328 * debian/fontconfig.defoma:
329 * debian/fontconfig.dirs:
330 * debian/fontconfig.install:
331 * debian/fontconfig.postinst:
332 * debian/fontconfig.postrm:
333 * debian/fontconfig.templates:
334 * debian/libfontconfig1-dev.install:
335 * debian/libfontconfig1.install:
336 * debian/local.conf.md5sum:
337 * debian/no-sub-pixel.conf:
338 * debian/po/POTFILES.in:
347 * debian/po/pt_BR.po:
348 * debian/po/templates.pot:
350 * debian/po/zh_CN.po:
352 * debian/unhinted.conf:
353 Update debian build system to switch maintainers and
354 deal with 2.3 functionality
356 2005-03-01 Keith Packard <keithp@keithp.com>
360 * fontconfig/fontconfig.h:
363 2005-03-01 Keith Packard <keithp@keithp.com>
366 Generate and install PDF versions of the manuals
368 * doc/fcpattern.fncs:
372 Add missing exported functions, fix data types
374 * doc/fontconfig-devel.sgml:
375 Add missing pattern elements.
377 * doc/fontconfig-user.sgml:
378 Add missing pattern elements. Document conf.d usage,
379 clarify available orthography list. Fix some config file
380 attributes. Complete list of constants.
382 * fontconfig/fontconfig.h:
383 Mark FC_SOURCE deprecated.
385 * src/fcfreetype.c: (FcFreeTypeQuery):
386 Don't set FC_SOURCE any longer.
388 2005-02-28 Keith Packard <keithp@keithp.com>
391 * conf.d/Makefile.am:
393 * conf.d/no-bitmaps.conf:
394 * conf.d/sub-pixel.conf:
395 * conf.d/yes-bitmaps.conf:
397 Create prototype /etc/fonts/conf.d directory with a few
398 sample configuration files.
399 Deprecate use of local.conf for local customizations in favor of
400 this directory based scheme which is more easily integrated into
401 installation systems.
404 Tag FC_EMBOLDEN as a boolean variable
406 2005-02-10 Keith Packard <keithp@keithp.com>
408 reviewed by: pborelli@katamail.com
410 * src/fcdir.c: (FcFileScanConfig):
411 Free patterns from fonts which are rejected by configuration
414 2005-01-28 Keith Packard <keithp@keithp.com>
418 * fontconfig/fontconfig.h:
419 Update for version 2.2.99
421 2005-01-28 Keith Packard <keithp@keithp.com>
424 Add a few pointers (#2284, #2285)
426 2005-01-28 Keith Packard <keithp@keithp.com>
429 * src/fcname.c: (FcNameBool):
430 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
431 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
432 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
433 Polite typechecking for test and edit expressions. Helps
434 catch errors in the font configuration. (bug 229)
436 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
438 reviewed by: Keith Packard <keithp@keithp.com>
441 Have --with-expat set EXPAT_CFLAGS (bug 2278)
443 2005-01-13 Keith Packard <keithp@keithp.com>
445 * doc/fontconfig-user.sgml:
446 Add SEE ALSO section (bug 2085)
448 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
450 reviewed by: Keith Packard <keithp@keithp.com>
455 * fc-case/Makefile.am:
456 * fc-glyphname/Makefile.am:
457 * fc-lang/Makefile.am:
458 * src/fontconfig.def.in:
459 Cross compiling fixes (bug 280)
461 2005-01-13 Keith Packard <keithp@keithp.com>
464 Update blanks list (Closes bug 86)
466 2005-01-04 Keith Packard <keithp@keithp.com>
468 * src/fccache.c: (FcCacheFontSetAdd):
469 Verify that every font pattern loaded from cache has
470 both FC_FILE and FC_FAMILY entries.
471 Attempt to fix bug #2219.
473 2004-12-29 Keith Packard <keithp@keithp.com>
477 * fontconfig/fontconfig.h:
478 Update for version 2.2.98
480 2004-12-29 Keith Packard <keithp@keithp.com>
482 * fontconfig/fontconfig.h:
483 Document ASCII limitations of Fc character conversion macros
484 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
485 Fix off-by-one error in utf-8 case walking code.
486 Add FcStrDowncase (useful for testing case conversion functions)
488 2004-12-29 Keith Packard <keithp@keithp.com>
491 * fc-case/.cvsignore:
492 clean up CVS ignore lists
493 * fc-lang/iso-3166.txt:
494 Add territory database
496 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
498 Reviewed by: Keith Packard
501 Remove Han characters from Korean orthography
503 2004-12-29 Keith Packard <keithp@keithp.com>
506 Reorder utility programs to make sure fc-case is run before fc-lang
507 as fc-lang uses fcstr.c which uses fccase.h
511 2004-12-29 Keith Packard <keithp@keithp.com>
514 Adopt some RedHat suggestions for standard font configuration.
518 * fc-case/CaseFolding.txt:
519 * fc-case/Makefile.am:
520 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
521 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
522 (dump), (parseRaw), (caseFoldReadRaw), (main):
523 * fc-case/fccase.tmpl.h:
524 Add new helper program 'fc-case' to construct case folding
525 tables from standard Unicode CaseFolding.txt file
528 * src/fclist.c: (FcListValueHash):
529 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
530 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
531 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
532 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
533 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
534 Re-implement case insensitive functions with Unicode
535 aware versions (including full case folding mappings)
537 2004-12-13 Keith Packard <keithp@keithp.com>
539 reviewed by: Owen Taylor <otaylor@redhat.com>
541 * src/fcmatch.c: (FcFontSetSort):
542 I changed FcFontSetSort to respect the generic aliases better
543 in the face of language matching.
545 What I did was to ammend the strict sort order used by FcFontSort so
546 that it 'satisfies' the language specified in the pattern by locating
547 the best matching font supporting each pattern language and then
548 ignores language in the remaining fonts for purposes of matching.
550 So, when asking for 'sans:lang=en', you'll get an English font first,
551 and then the remaining fonts sorted with respect to the 'sans' alias
552 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
554 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
556 reviewed by: Keith Packard <keithp@keithp.com>
558 * fontconfig/fontconfig.h:
561 Configuration changes to request synthetic emboldening of
562 fonts. The actual emboldening code will live in Xft.
564 2004-12-09 John Thacker <thacker@math.cornell.edu>
566 reviewed by: Keith Packard <keithp@keithp.com>
570 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
571 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
572 и), and don't even appear in KOI8-R. (The hypothesis that they
573 don't appear in KOI8-R due to their similarity with Latin I and i is
574 eliminated by their presence in KOI8-U.) I have a couple of fonts
575 with Russian support that don't have the letter.
577 Therefore, 0406 and 0456 should be removed from or commented out of
580 2004-12-06 michael meeks <mmeeks@novell.com>
582 Reviewed by: Keith Packard <keithp@keithp.com>
584 * src/fcinit.c: (FcMemReport):
586 * src/fclist.c: (FcObjectSetAdd):
587 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
588 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
589 * src/fcxml.c: (FcParsePatelt):
590 memoize strings and share a single copy for all uses. Note that
591 this could be improved further by using statically allocated blocks
592 and gluing multiple strings together, but I'm basically lazy.
593 In my environment with 800 font files, I get a savings of about 90KB.
595 2004-12-06 Keith Packard <keithp@keithp.com>
599 * config/Makedefs.in:
604 * doc/fccharset.fncs:
606 * doc/fcconstant.fncs:
608 * doc/fcfontset.fncs:
609 * doc/fcfreetype.fncs:
612 * doc/fcobjectset.fncs:
613 * doc/fcobjecttype.fncs:
614 * doc/fcpattern.fncs:
618 * doc/fontconfig-devel.sgml:
619 * doc/fontconfig-user.sgml:
621 * doc/version.sgml.in:
622 * fc-cache/Makefile.am:
623 * fc-cache/fc-cache.c:
624 * fc-glyphname/Makefile.am:
625 * fc-glyphname/fc-glyphname.c:
626 * fc-glyphname/fcglyphname.tmpl.h:
627 * fc-lang/Makefile.am:
637 * fc-lang/az_ir.orth:
672 * fc-lang/fc-lang.man:
673 * fc-lang/fclang.tmpl.h:
718 * fc-lang/ku_ir.orth:
751 * fc-lang/ps_af.orth:
752 * fc-lang/ps_pk.orth:
781 * fc-lang/ti_er.orth:
782 * fc-lang/ti_et.orth:
808 * fc-lang/zh_cn.orth:
809 * fc-lang/zh_hk.orth:
810 * fc-lang/zh_mo.orth:
811 * fc-lang/zh_sg.orth:
812 * fc-lang/zh_tw.orth:
814 * fc-list/Makefile.am:
816 * fc-match/Makefile.am:
817 * fc-match/fc-match.1:
818 * fc-match/fc-match.c:
819 * fontconfig/fcfreetype.h:
820 * fontconfig/fcprivate.h:
821 * fontconfig/fontconfig.h:
842 Change files from ISO-Latin-1 to UTF-8
844 2004-12-04 Keith Packard <keithp@keithp.com>
847 Update links to new freedesktop.org locations
849 Add uninstall-local to get rid of fonts.conf and local.conf if they
850 match the distributed versions. Fixes 'make distcheck'
852 2004-12-04 Keith Packard <keithp@keithp.com>
856 * fontconfig/fontconfig.h:
857 Updates for version 2.2.97
859 2004-12-04 Owen Taylor <otaylor@redhat.com>
861 reviewed by: Keith Packard <keithp@keithp.com>
863 * fc-cache/fc-cache.c: (main):
864 Sleep for two seconds before exiting to make sure timestamps
865 for future changes have distinct mod times in the file system.
868 Add Punjabi orthography. Bug #1671.
870 2004-12-04 Keith Packard <keithp@keithp.com>
873 Just remove the FC_FONTDATE -- it has locale issues and
874 annoys redhat multi-arch installs. Now that all X fonts are
875 included without prejudice, the chances of the date being at
876 all interesting are rather limited. Bug #505.
878 Add copyright and license
880 2004-12-04 Keith Packard <keithp@keithp.com>
883 Change default set of fonts to include all of
884 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
885 * doc/fontconfig-user.sgml:
886 Document new <include>directory-name</include> semantics
888 add <include ignore_missing="yes">conf.d</include>
890 Add selectfont to ignore bitmap fonts, add comment for
891 selectfont which accepts bitmap fonts.
894 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
895 Allow <include> configuration elements to reference directories.
896 Parse and load all files of the form [0-9]* in sorted order.
898 2004-12-04 Keith Packard <keithp@keithp.com>
901 Report command line for $srcdir/configure accurately.
904 2004-12-04 Keith Packard <keithp@keithp.com>
906 * src/fcfreetype.c: (FcFreeTypeQuery):
907 Check for non-empty face->family_name and face->style_name
908 before using those for the font. Empty names match everything.
911 2004-12-04 Keith Packard <keithp@keithp.com>
914 * fontconfig/fontconfig.h:
915 * src/fcfreetype.c: (FcFreeTypeQuery):
917 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
918 available. This provides font file format information (BDF, Type 1,
919 PCF, TrueType) for each font. Closes #109.
921 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
923 reviewed by: Keith Packard <keithp@keithp.com>
925 * doc/fontconfig-user.sgml:
928 * fontconfig/fontconfig.h:
929 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
930 (GetScriptTags), (FcFontCapabilities):
932 Add detection for font capabilities (bug #105)
934 2004-12-04 Keith Packard <keithp@keithp.com>
937 Move existing fonts.conf to fonts.conf.bak
940 Add detection of iconv
942 * doc/fcpattern.fncs:
943 * doc/fontconfig-devel.sgml:
944 * doc/fontconfig-user.sgml:
946 Document new selectfont elements
949 Switch to UTF-8 in comment
951 * fontconfig/fontconfig.h:
953 Add fullname, and family/style/fullname language entries
955 * src/fccache.c: (FcCacheFontSetAdd):
956 * src/fcdir.c: (FcFileScanConfig):
957 Respect selectfont/*/glob
960 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
961 (FcConfigCompareValue), (FcConfigPatternsAdd),
962 (FcConfigPatternsMatch), (FcConfigAcceptFont):
963 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
964 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
965 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
966 Add support for selectfont
968 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
969 (FcStringInPatternElement), (FcFreeTypeQuery):
970 Add multi-lingual family/style/fullname support
972 * src/fclist.c: (FcListPatternMatchAny):
973 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
975 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
976 (FcObjectStaticName):
977 Add new FcPatternRemove/FcPatternAppend.
978 FcObjectStaticName stores computed pattern element names which
979 are required to be static.
981 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
986 Remove spurious / after $(DESTDIR)
988 2004-06-30 Keith Packard <keithp@keithp.com>
992 * fontconfig/fontconfig.h:
995 2004-06-30 Keith Packard <keithp@keithp.com>
997 Provided by: Lubos Lunak <l.lunak@suse.cz>
999 * src/fccfg.c: (FcConfigUptoDate):
1000 However FcConfigUptoDate() doesn't seem to work. See the attached
1001 patch. First there's an obvious misplaced parenthesis making it
1002 return always false, and second, even this call fails to detect font
1003 changes (e.g. adding a new font to
1004 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1005 well. The problem seems to be triggered by my fonts.conf specifying
1006 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1007 doesn't include subdirs, unlike config->fontDirs.
1009 2004-06-03 Keith Packard <keithp@keithp.com>
1011 * fontconfig/fontconfig.h:
1012 Remove comma at end of FcResult enum definition.
1014 2004-05-29 Keith Packard <keithp@keithp.com>
1017 Add steps to md5sum release
1019 2004-05-29 Keith Packard <keithp@keithp.com>
1023 * fontconfig/fontconfig.h:
1026 2004-05-29 Keith Packard <keithp@keithp.com>
1028 * fontconfig/fontconfig.h:
1029 * src/fcmatch.c: (FcFontSetMatch):
1030 Add FcResultOutOfMemory to provide an accurate error when
1031 FcFontSetMatch fails in this way
1034 Make #warning about lacking various FreeType features indicate
1035 which version those features appeared so users know how to
1036 fix the problem (Thanks to Anton Tropashko)
1038 2004-05-05 Keith Packard <keithp@keithp.com>
1040 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1041 Replace MIN/MAX/ABS macros which happen to have come
1042 from FreeType with fontconfig-specific ones (FC_*)
1044 2004-04-23 Keith Packard <keithp@keithp.com>
1047 Extend release preparation instructions to include
1048 notification and distribution steps
1050 2004-04-23 Keith Packard <keithp@keithp.com>
1054 * fontconfig/fontconfig.h:
1055 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1057 2004-04-23 Keith Packard <keithp@keithp.com>
1060 Ignore a few more autotool files
1062 2004-04-14 Keith Packard <keithp@keithp.com>
1065 Add instructions for doing a release
1067 * fontconfig.spec.in:
1068 clean up .spec file; perhaps this will be useful to somebody...
1072 * fontconfig/fontconfig.h:
1075 * fc-lang/fc-lang.c:
1076 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1078 * fc-glyphname/Makefile.am:
1079 * fc-lang/Makefile.am:
1080 * fc-list/Makefile.am:
1081 * fc-match/Makefile.am:
1083 Add WARN_CFLAGS to pass -W flags for GCC systems
1085 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1086 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1087 Change various char types around to match across
1089 Fixed bug in using available_sizes[i].height which
1090 is in pixels, not 64ths of a pixel.
1092 2004-03-06 Keith Packard <keithp@keithp.com>
1094 * src/fcfreetype.c: (FcFreeTypeQuery):
1095 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1096 matches looking for explicit values prefer exact matches
1098 2004-03-02 Keith Packard <keithp@keithp.com>
1100 Supplied by: mfabian@suse.de (Mike FABIAN)
1102 * src/fcfreetype.c: (FcFreeTypeQuery):
1103 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1104 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1106 2004-02-21 Manish Singh <yosh@gimp.org>
1108 * fc-glyphname/fc-glyphname.c: (main):
1109 Cast strlen to int for printf, so we're 64-bit clean.
1111 2004-02-11 Keith Packard <keithp@keithp.com>
1114 * src/fcfreetype.c: (FcGetPixelSize):
1115 Ok, so I messed up the test for y_ppem. Let's see if I
1116 got it right this time.
1118 2004-02-10 Keith Packard <keithp@keithp.com>
1121 * src/fcfreetype.c: (FcGetPixelSize):
1122 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1123 FT_Bitmap_Size record. Add a configure.in test for this
1124 and change the code accordingly (using height instead).
1126 2004-02-06 Keith Packard <keithp@keithp.com>
1129 Add Low Saxon orthography
1130 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1132 * src/fccfg.c: (FcConfigNewestFile):
1133 Oops. Left 'newest.set' unset, which would miscompute
1136 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1137 (FcFreeTypeCheckGlyph):
1138 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1139 font properties (which report the wrong value in current FreeType)
1141 Don't attempt to check for empty glyphs in non-scalable fonts; they
1144 2004-02-01 Tor Lillqvist <tml@iki.fi>
1146 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1147 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1148 cache if config->cache is NULL, which happens if FcConfigHome() is
1149 NULL. Guard against that by using the temp folder in that case.
1151 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1153 * fc-lang/az_ir.orth:
1154 * fc-lang/ku_ir.orth:
1155 * fc-lang/ps_af.orth:
1156 * fc-lang/ps_pk.orth:
1157 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1158 (Afghan and Pakistani).
1160 Updated Urdu orthography with real data.
1162 2003-12-11 Carl Worth <cworth@east.isi.edu>
1164 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1167 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1169 (all-local): Remove excessive whitespace.
1171 * autogen.sh: Add 'set -e' to abort when any program fails,
1172 (avoids printing of 'now type make' after configure aborts).
1174 2003-11-17 Eric Christopherson <rakko@charter.net>
1176 reviewed by: Keith Packard <keithp@keithp.com>
1179 * fontconfig/fcfreetype.h:
1181 Switch to FreeType 2.1.7 style includes. Bug #150.
1183 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1185 * fc-list/fc-list.sgml: Add some example usages.
1187 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1190 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1193 2003-10-27 Keith Packard <keith@keithp.com>
1196 * fontconfig/fontconfig.h:
1197 Update to version 2.2.92
1199 2003-10-27 Keith Packard <keithp@keithp.com>
1204 * fc-cache/Makefile.am:
1205 * fc-glyphname/Makefile.am:
1206 * fc-lang/Makefile.am:
1207 * fc-list/Makefile.am:
1208 * fc-match/Makefile.am:
1211 Yet more cleanups to finish getting 'make distcheck' working
1212 This has been tested to ensure that it even works from a _build
1215 2003-10-26 Keith Packard <keithp@keithp.com>
1219 * fc-cache/Makefile.am:
1220 * fc-glyphname/Makefile.am:
1221 * fc-lang/Makefile.am:
1222 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1223 * fc-list/Makefile.am:
1224 * fc-match/Makefile.am:
1225 Attempts to fix 'make distcheck' work. Things are
1226 progressing pretty well, but there are still failures
1227 long into the process dealing with docs (as always).
1229 The big changes here are mostly to make $(srcdir) != "."
1230 work correctly, fixing the docbook related sections and
1231 fc-lang were particularily tricky. Docbook refuses to load
1232 system entities from anywhere other than where the original .sgml
1233 file was located, so no luck looking in "." for the
1234 configure-generated version.sgml and confdir.sgml files.
1236 fc-lang needed help finding .orth files; added a -d option
1237 to set the directory as the least evil of many options.
1239 Now to go use a faster machine and try and wring out the last
1242 2003-10-26 Keith Packard <keithp@keithp.com>
1246 2003-10-26 Keith Packard <keithp@keithp.com>
1249 Include confdir.sgml.in in EXTRA_DIST
1251 2003-10-09 Josselin Mouette <joss@debian.org>
1253 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1254 * fc-list/fc-list.sgml fc-list/Makefile.am:
1255 Replace fc-cache and fc-list manpages with more detailed, SGML
1258 2003-09-23 Owen Taylor <otaylor@redhat.com>
1260 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1261 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1262 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1265 2003-09-23 Owen Taylor <otaylor@redhat.com>
1267 * fc-lang/ka.orth: Remove Georgian capitals, they
1268 aren't used for normal writing. (Bug #116)
1270 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1272 * doc/fontconfig-devel.sgml:
1273 * doc/fontconfig-user.sgml:
1274 * fontconfig/fontconfig.h:
1276 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1277 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1279 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1280 monospace and dual-width fonts, allow roughly a 3% variance in the
1283 2003-08-31 Manish Singh <yosh@gimp.org>
1285 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1288 2003-08-15 Carl Worth <cworth@isi.edu>
1290 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1291 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1293 * src/fcpat.c (FcValueListEntDestroy): New function to support
1294 FcFini memory cleanup. Some statistics are not kept in
1296 (FcValueListFreeze): Move hashTable outside this function so it
1297 can be accessed by FcValueListThawAll.
1298 (FcValueListThawAll): New function complements FcValueListFreeze.
1299 (FcPatternBaseFreeze): Move hashTable outside this function so it
1300 can be accessed by FcPatternBaseThawAll.
1301 (FcPatternBaseThawAll): New function complements
1302 FcPatternBaseFreeze.
1303 (FcPatternThawAll): New function complements FcPatternFreeze.
1305 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1307 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1308 allocated FcCharLeafEnt "blocks" so they can be freed later.
1309 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1310 can be accessed by FcCharSetThawAllLeaf.
1311 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1312 (FcCharSetFreezeBase): Move hashTable outside this function so it
1313 can be accessed by FcCharSetThawAll.
1314 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1316 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1317 (FcConfigDestroy): Fic leak of FcBlanks.
1319 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1320 (main): Add call to FcFini when finished.
1322 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1323 static. Add prototypes.
1325 * doc/fcinit.fncs: Add documentation for FcFini function.
1327 * doc/edit-sgml.c: Mark several local functions as static. Add
1330 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1332 2003-06-15 Tor Lillqvist <tml@iki.fi>
1334 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1335 before comparing (needed on Windows).
1337 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1339 2003-06-13 Tor Lillqvist <tml@iki.fi>
1341 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1344 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1345 WINDOWSFONTDIR token.
1347 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1348 end, not to confuse libtool, which expects the EXPORTS line to be
1349 the first. Add FcConfigEnableHome.
1351 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1352 built as a DLL on Win32.
1354 2003-06-09 Keith Packard <keithp@keithp.com>
1356 * Tag version 2.2.90
1358 2003-06-09 Keith Packard <keithp@keithp.com>
1360 * Optimization in FcLangSetIndex was broken, occasionally
1361 returning a pointer to the wrong location on miss
1363 * Add fc-match to test font matching from the command line.
1365 2003-05-31 Keith Packard <keithp@keithp.com>
1367 * (Bug 85) add support for culmus fonts
1368 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1369 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1371 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1373 * Fix "contains" op for strings and langsets.
1375 2003-05-17 Keith Packard <keithp@keithp.com>
1377 * Fix build error with BDF prop local. Free langset after query
1379 2003-05-14 Keith Packard <keithp@keithp.com>
1381 * Extract spacing from XLFD atom
1383 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1385 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1386 disappeared in 1.30.
1388 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1390 2003-05-12 Keith Packard <keithp@keithp.com>
1392 * Use FcIsWidth to share code
1394 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1395 misclassifying some Han fonts as monospaced.
1397 2003-05-07 Keith Packard <keithp@keithp.com>
1399 * Add filename-based accept/reject to ammend available fonts.
1401 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1402 older FreeType releases.
1404 2003-05-06 Keith Packard <keithp@keithp.com>
1406 * Remove 0b82 and Tamil numbers from tamil
1407 orthography (Jungshik Shin <jshin@mailaps.org>)
1409 2003-05-04 Keith Packard <keithp@keithp.com>
1411 + Map glyph names in fonts with adobe custom encoding to unicode
1413 2003-05-02 Keith Packard <keithp@keithp.com>
1415 * Add FC_WEIGHT_BOOK as weight 75
1417 2003-04-30 Keith Packard <keithp@keithp.com>
1419 * Typo in bitstream foundry name
1421 2003-04-24 Keith Packard <keithp@keithp.com>
1423 * Eliminate italic_angle check for PS fonts
1425 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1427 * Getting closer to fixing /etc/fonts hard-coding.
1429 2003-04-22 Keith Packard <keithp@keithp.com>
1431 * Update autogen.sh to work with newer automake versions
1432 * Handle pattern elements moving during multiple edits
1434 2003-04-23 James Henstridge <james@daa.com.au>
1436 * doc/fontconfig-devel.sgml: close the <para> element.
1438 * doc/fcpattern.fncs: close the <para> element.
1440 * doc/func.sgml: close the <refsynopsisdiv> element.
1442 2003-04-22 Keith Packard <keithp@keithp.com
1444 * Update autogen.sh to work with newer automake versions
1445 * Handle pattern elements moving during multiple edits
1447 2003-04-17 Colin Walters <walters@debian.org>
1449 + Remove some unused variables, and initialize some other ones so
1450 gcc doesn't warn us.
1452 2003-04-16 Keith Packard <keithp@keithp.com>
1454 + tag version 2.1.94
1456 2003-04-16 Keith Packard <keithp@keithp.com>
1458 + add BDF property fetching support for foundry
1459 (from Juliusz Chroboczek)
1460 + add BDF property fetching support for width
1462 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1464 + Implemented foundry generation for Type 1 and TrueType
1466 2003-04-11 Gerard Escalante <g2@magestudios.net>
1468 + Retrieve information from Type1 FontInfo dictionaries
1470 2003-04-07 Colin Walters <walters@verbum.org>
1472 + src/Makefile.am: Fix dummy makefile target names when
1473 MS_LIB_AVAILABLE isn't set.
1475 2003-03-22 Tor Lillqvist <tml@iki.fi>
1477 Changes for Windows:
1479 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1481 + We don't want to hardcode the fonts.conf file location in the
1482 DLL, so we look up the DLL location at run-time in a DllMain()
1483 function. The fonts.conf location is deduced from that.
1485 + The colon can't be used as path separator on Windows,
1486 semicolon is used instead. File path components can be separated
1487 with either slash or backslash. Absolute paths can also begin
1488 with a drive letter.
1490 + Add internal function FcStrLastSlash that strrchr's the last
1491 slash, or backslash on Windows.
1493 + There is no link() on Windows. For atomicity checks, mkdir a
1494 lock directory instead.
1496 + In addition to HOME, also look for USERPROFILE.
1498 + Recognize the special font directory token WINDOWSFONTDIR, to
1499 use the system's font directory.
1501 + Remove the fontconfig-def.cpp that was obsolete. Add
1502 fontconfig.def(.in), without internal functions.
1504 + Add a fontconfig-zip(.in) script, used to build a binary
1507 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1508 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1509 to main package and man3/* to devel package
1511 + Added missing defattr(-, root, root) to main RPM package
1513 + Added HTML and text development documentation to -devel subpackage
1515 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1516 + Added back the configure macro options --disable-docs, otherwise
1517 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1518 version number) unconditionally, causing RPM to fail the build due
1519 to _unpackaged_files_terminate_build. We pick up the pregenerated
1520 docs with %doc already.
1522 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1523 + Removed commented out rpm macro define at top of spec file,
1524 replacing it with a simple explanation, since rpm macros are
1525 expanded by rpm even in comments.
1527 + Changed /usr/bin to _bindir in BuildRequires lines
1529 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1531 + Reorganized file manifest lists
1533 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1535 + fontconfig.spec.in: Improvements from Red Hat spec file.
1537 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1539 + docs/*.sgml: SGML fixes.
1541 Sat Mar 1 17:28:53 PST 2003 keithp
1542 + Ok, so the ChangeLog is a bit out of date
1544 + Lots of bugs fixed; most are in bugzilla, the
1545 biggest problems were in cache management where
1546 Owen discovered the library would lose badly when
1547 combining fonts-cache and ~/.fonts-cache data
1549 + Converted from autoconf to automake. This after
1550 getting patches accepted into libtool to allow
1551 the '-version-number' argument which lets
1552 packages set version numbers explicitly rather
1553 than the roundabout libtool way
1555 + Converted documentation to SGML using the docbook
1556 DTD. Now .txt and .html documents are installed
1557 in /usr/share/doc/fontconfig and there's no
1558 man page. Perhaps a man version can be written
1561 Sat Aug 31 15:21:22 PDT 2002 keithp
1562 + Xrender and Xft had several bugs related to
1563 rendering manually placed or poly-face text
1565 + Added more complete memory tracing in fontconfig
1566 Checked with (patched) mozilla and found no leaks
1568 + Updated Latin orthographies by comparing those from
1569 evertype.com with those from eki.ee. Tried to make
1570 sensible choices, including chars that occured in both
1571 and leaving some optional chars out that occured only
1574 Mon Aug 26 16:33:04 PDT 2002 keithp
1575 + Owen discovered that FcLangSetHasLang wasn't actually
1576 checking the language set.
1578 Mon Aug 26 13:37:23 PDT 2002 keithp
1579 + Append a version number to cache filenames
1581 Thu Aug 22 11:36:18 PDT 2002 keithp
1583 + Add "contains" and "not_contains" operators and elements to
1586 + Changed semantics of eq operator for LangSets to check for
1587 FcLangEqual so that any match will do
1589 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1590 of FcValueEqual to check for identical values when inserting into
1591 the results. This broke when the above semantic change was made,
1592 now it uses FcValueEqual which is "more correct" in any case.
1594 Thu Aug 22 00:32:29 PDT 2002 keithp
1596 + Reimplement FC_LANG as new datatype. Lists of strings
1597 was consuming over a megabyte of memory for 401 fonts.
1599 + Freeze patterns loaded from cache files. This shares
1600 common value lists and common patterns which saves
1601 considerable memory.
1603 + Change the denotation of 'constant' charsets to use special
1604 ref value instead of separate boolean.
1606 + Clean up leak tracing stuff, found several unannoted alloc/free
1609 Tue Aug 20 16:17:37 PDT 2002 keithp
1611 + Fix memory leak when parsing matrices from XML
1613 Mon Aug 19 11:57:27 PDT 2002 keithp
1615 + Fix autoconf files to pass FONTCONFIG_PATH on
1616 compile line so that ${prefix} gets substituted
1619 + Use getc_unlocked/putc_unlocked on systems that
1620 provide them to avoid damage done to stdio by posix
1622 + Eliminate FC_PATTERN and FcTypePattern in favor of
1623 an extended api for FcConfigSubstitute which takes
1624 both the font and the pattern.
1626 + Add 'sans serif' alias for 'sans-serif' as some apps
1627 can't handle hyphens in family names
1629 + Eliminate pretense of support for libxml2
1631 + Comment origins of Han orthographies
1633 Tue Jul 30 18:37:09 PDT 2002 keithp
1635 + Add binding property to edit element so that strong
1636 binding values may be inserted by the config file.
1637 The default remains weak.
1639 Sun 28 Jul 04:16:55 PDT 2002 keithp
1641 + Tagged release candidate 1 in the CVS tree and
1642 placed fcpackage.rc1.tar.gz for distribution
1644 Thu Aug 1 08:55:08 PDT 2002 keithp
1646 + Fixed autoconf builds to always specify install
1647 target files (for BSD). Also fixed to
1648 define FONTCONFIG_PATH in config.h so that
1649 nonstandard installs will actually work.