1 2005-09-27 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
5 Use FcAtomic to rewrite cache files.
7 2005-09-27 Patrick Lam <plam@mit.edu>
9 * src/fccache.c (FcDirCacheWrite):
11 Don't unlink the fonts.cache-2 file even if there's no data
12 to write; just write an empty cache file. (thanks Lubos Lunak)
14 2005-09-27 Patrick Lam <plam@mit.edu>
16 * src/fccache.c (FcDirCacheWrite):
18 Allocate room for the subdirectory names in each
19 directory cache. Thanks to James Cloos for finding
20 and diagnosing this bug!
22 2005-09-22 Patrick Lam <plam@mit.edu>
24 * fc-cache/fc-cache.sgml:
25 * src/fccache.c (FcDirCacheWrite):
26 * src/fccache.h (struct FcCache):
28 Update documentation -- fc-cache's man page now says that you
29 need to run fc-cache once per cached architecture; add some
30 documentation to the FcCache structure.
32 Make fc-cache write out fonts.cache-2 files for directories with
33 no fonts (i.e. only subdirectories).
35 2005-09-22 Patrick Lam <plam@mit.edu>
37 * fc-cache/fc-cache.sgml:
39 * fc-glyphname/fc-glyphname.c:
45 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
50 * fontconfig/fcprivate.h:
51 * fontconfig/fontconfig.h:
65 Implement new mmaped cache for font information.
66 Bump so revision to 2.3.90.
68 2005-07-25 Keith Packard <keithp@keithp.com>
70 * doc/fontconfig-user.sgml:
71 * fc-glyphname/fc-glyphname.c: (scan), (main):
72 * fc-lang/fc-lang.c: (FcConfigHome):
73 * fc-match/fc-match.c: (main):
74 * src/fccfg.c: (FcConfigHome):
75 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
76 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
77 (addtag), (FcFontCapabilities):
78 * src/fcpat.c: (FcValueListEntCreate):
79 * src/fcstr.c: (FcStrCaseWalkerInit):
80 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
82 Various GCC 4 cleanups for signed vs unsigned char
84 Match only [0-9]*.conf files in <include>{directory}</include>
85 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
87 2005-07-15 Carl Worth <cworth@cworth.org>
90 * src/fcinit.c: (FcFini):
91 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
94 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
95 Pull the FcObjectStateName hash table out to file scope, and add
96 FcObjectStaticNameFini so that FcFini will cleanup this hash table
99 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
102 2005-06-16 Patrick Lam <plam@MIT.EDU>
106 * src/fccfg.c: (FcConfigCompareValue):
107 Make FcOpNotContains use FcStrStr for strings so that
108 it matches semantics for !FcOpContains.
110 2005-05-20 Keith Packard <keithp@keithp.com>
114 Move fontconfig source package to libs as per override
116 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
118 reviewed by: Mike Fabian
121 The ka.orth file requires several characters which are not
122 used anymore in modern Georgian and which are missing in the free
123 Georgian TrueType fonts downloadable at:
125 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
127 2005-04-27 Keith Packard <keithp@keithp.com>
131 Update date to real 2.3.2 release date.
132 Fix change attributions
134 2005-04-27 Keith Packard <keithp@keithp.com>
137 Bump so revision for 2.3.2
138 * fc-cache/fc-cache.c: (scanDirs):
139 Fix a few minor leaks in error cases.
141 2005-04-23 Keith Packard <keithp@keithp.com>
146 * fontconfig/fontconfig.h:
147 Update for version 2.3.2
149 2005-04-21 Keith Packard <keithp@keithp.com>
151 * debian/fontconfig.postinst:
152 Don't force bitmap font enable in default
153 configuration; allows users to override this in
163 * debian/po/pt_BR.po:
164 * debian/po/templates.pot:
166 * debian/po/zh_CN.po:
169 * fc-cache/fc-cache.c: (main):
170 Destroy font configuration on exit to help valgrind
173 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
174 (FcFreeTypeCheckGlyph):
175 Use own transcoding routines in preference to iconv
176 which appears to have leaks in some translators.
177 Call iconv_close after using iconv (oops).
179 Prefer unicode encoding of Euro char as some
180 fonts mis-encode Euro in other ones.
182 Must fetch bitmap glyphs to get width values
183 to check for monospace/dual-width fonts.
185 2005-04-13 Ross Burton <ross@burtonini.com>
188 Check that a pattern isn't already frozen in FcPatternFreeze.
190 2005-03-31 Ross Burton <ross@burtonini.com>
195 Run all FcPattern objects through FcObjectStaticName, so that
196 compares can be done on pointers instead of strings (#2659)
198 2005-03-17 Tor Lillqvist <tml@novell.com>
200 * src/fontconfig.def.in: Add the .dll to the dll name.
202 2005-03-10 Keith Packard <keithp@keithp.com>
204 * debian/README.Debian:
205 Update to reflect configuration changes
207 * debian/fontconfig.postinst:
208 Fix Autohint vs Autohinter mistake
209 * debian/fontconfig.templates:
210 Adopt changes from Josselin Mouette for configuration descriptions
211 Update debian to version 2.3.1-2
213 2005-03-08 Keith Packard <keithp@keithp.com>
217 Update debian for 2.3.1
219 2005-03-09 Tor Lillqvist <tml@novell.com>
221 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
224 * src/fccfg.c (FcConfigFileExists): Check also drive letter
227 2005-03-08 Keith Packard <keithp@keithp.com>
231 * fontconfig/fontconfig.h:
234 2005-03-05 Keith Packard <keithp@keithp.com>
236 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
237 Include space and remove numbers from valid script tags.
238 This ensures that tags like 'lao ' work while rejecting
239 those which have any digits.
240 Eliminate a spurious debugging variable (len)
242 2005-03-05 Keith Packard <keithp@keithp.com>
244 * src/fcfreetype.c: (addtag), (GetScriptTags),
245 (FcFontCapabilities):
246 Rework GSUB/GPOS script parsing to survive broken fonts.
247 Thanks for the broken font go to Manish Singh
249 2005-03-05 Keith Packard <keithp@keithp.com>
254 * debian/fontconfig.config:
255 * debian/fontconfig.templates:
257 Include 2.3 release information in changelog
258 Add Josselin Mouette as an Uploader
259 Set hinting_type to low priority configuration option
262 * debian/fontconfig.postinst:
263 yes_bitmaps.conf -> yes-bitmaps.conf
269 2005-03-02 Keith Packard <keithp@keithp.com>
272 * conf.d/Makefile.am:
273 * conf.d/autohint.conf:
274 * conf.d/no-sub-pixel.conf:
275 * conf.d/sub-pixel.conf:
276 * conf.d/unhinted.conf:
277 * debian/autohint.conf:
278 * debian/fontconfig.install:
279 * debian/fontconfig.postinst:
280 * debian/fontconfig.templates:
281 * debian/no-sub-pixel.conf:
282 * debian/unhinted.conf:
283 Move debian-specific conf file examples upstream.
285 Sub-pixel configuration examples must smash subpixel value
286 as Xft always sets it from X.
288 Change sub-pixel rendering debconf descriptions from
289 Enable/Disable to Always/Never.
291 2005-03-02 Keith Packard <keithp@keithp.com>
296 Ignore more build detritus
299 Add debian package construction stuff.
301 * config/config.guess:
303 Update to newer versions of these tools
306 Get library manuals to build again (we love automake).
308 * debian/README.Debian:
309 * debian/autohint.conf:
314 * debian/fontconfig-udeb.install:
315 * debian/fontconfig.config:
316 * debian/fontconfig.defoma:
317 * debian/fontconfig.dirs:
318 * debian/fontconfig.install:
319 * debian/fontconfig.postinst:
320 * debian/fontconfig.postrm:
321 * debian/fontconfig.templates:
322 * debian/libfontconfig1-dev.install:
323 * debian/libfontconfig1.install:
324 * debian/local.conf.md5sum:
325 * debian/no-sub-pixel.conf:
326 * debian/po/POTFILES.in:
335 * debian/po/pt_BR.po:
336 * debian/po/templates.pot:
338 * debian/po/zh_CN.po:
340 * debian/unhinted.conf:
341 Update debian build system to switch maintainers and
342 deal with 2.3 functionality
344 2005-03-01 Keith Packard <keithp@keithp.com>
348 * fontconfig/fontconfig.h:
351 2005-03-01 Keith Packard <keithp@keithp.com>
354 Generate and install PDF versions of the manuals
356 * doc/fcpattern.fncs:
360 Add missing exported functions, fix data types
362 * doc/fontconfig-devel.sgml:
363 Add missing pattern elements.
365 * doc/fontconfig-user.sgml:
366 Add missing pattern elements. Document conf.d usage,
367 clarify available orthography list. Fix some config file
368 attributes. Complete list of constants.
370 * fontconfig/fontconfig.h:
371 Mark FC_SOURCE deprecated.
373 * src/fcfreetype.c: (FcFreeTypeQuery):
374 Don't set FC_SOURCE any longer.
376 2005-02-28 Keith Packard <keithp@keithp.com>
379 * conf.d/Makefile.am:
381 * conf.d/no-bitmaps.conf:
382 * conf.d/sub-pixel.conf:
383 * conf.d/yes-bitmaps.conf:
385 Create prototype /etc/fonts/conf.d directory with a few
386 sample configuration files.
387 Deprecate use of local.conf for local customizations in favor of
388 this directory based scheme which is more easily integrated into
389 installation systems.
392 Tag FC_EMBOLDEN as a boolean variable
394 2005-02-10 Keith Packard <keithp@keithp.com>
396 reviewed by: pborelli@katamail.com
398 * src/fcdir.c: (FcFileScanConfig):
399 Free patterns from fonts which are rejected by configuration
402 2005-01-28 Keith Packard <keithp@keithp.com>
406 * fontconfig/fontconfig.h:
407 Update for version 2.2.99
409 2005-01-28 Keith Packard <keithp@keithp.com>
412 Add a few pointers (#2284, #2285)
414 2005-01-28 Keith Packard <keithp@keithp.com>
417 * src/fcname.c: (FcNameBool):
418 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
419 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
420 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
421 Polite typechecking for test and edit expressions. Helps
422 catch errors in the font configuration. (bug 229)
424 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
426 reviewed by: Keith Packard <keithp@keithp.com>
429 Have --with-expat set EXPAT_CFLAGS (bug 2278)
431 2005-01-13 Keith Packard <keithp@keithp.com>
433 * doc/fontconfig-user.sgml:
434 Add SEE ALSO section (bug 2085)
436 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
438 reviewed by: Keith Packard <keithp@keithp.com>
443 * fc-case/Makefile.am:
444 * fc-glyphname/Makefile.am:
445 * fc-lang/Makefile.am:
446 * src/fontconfig.def.in:
447 Cross compiling fixes (bug 280)
449 2005-01-13 Keith Packard <keithp@keithp.com>
452 Update blanks list (Closes bug 86)
454 2005-01-04 Keith Packard <keithp@keithp.com>
456 * src/fccache.c: (FcCacheFontSetAdd):
457 Verify that every font pattern loaded from cache has
458 both FC_FILE and FC_FAMILY entries.
459 Attempt to fix bug #2219.
461 2004-12-29 Keith Packard <keithp@keithp.com>
465 * fontconfig/fontconfig.h:
466 Update for version 2.2.98
468 2004-12-29 Keith Packard <keithp@keithp.com>
470 * fontconfig/fontconfig.h:
471 Document ASCII limitations of Fc character conversion macros
472 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
473 Fix off-by-one error in utf-8 case walking code.
474 Add FcStrDowncase (useful for testing case conversion functions)
476 2004-12-29 Keith Packard <keithp@keithp.com>
479 * fc-case/.cvsignore:
480 clean up CVS ignore lists
481 * fc-lang/iso-3166.txt:
482 Add territory database
484 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
486 Reviewed by: Keith Packard
489 Remove Han characters from Korean orthography
491 2004-12-29 Keith Packard <keithp@keithp.com>
494 Reorder utility programs to make sure fc-case is run before fc-lang
495 as fc-lang uses fcstr.c which uses fccase.h
499 2004-12-29 Keith Packard <keithp@keithp.com>
502 Adopt some RedHat suggestions for standard font configuration.
506 * fc-case/CaseFolding.txt:
507 * fc-case/Makefile.am:
508 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
509 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
510 (dump), (parseRaw), (caseFoldReadRaw), (main):
511 * fc-case/fccase.tmpl.h:
512 Add new helper program 'fc-case' to construct case folding
513 tables from standard Unicode CaseFolding.txt file
516 * src/fclist.c: (FcListValueHash):
517 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
518 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
519 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
520 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
521 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
522 Re-implement case insensitive functions with Unicode
523 aware versions (including full case folding mappings)
525 2004-12-13 Keith Packard <keithp@keithp.com>
527 reviewed by: Owen Taylor <otaylor@redhat.com>
529 * src/fcmatch.c: (FcFontSetSort):
530 I changed FcFontSetSort to respect the generic aliases better
531 in the face of language matching.
533 What I did was to ammend the strict sort order used by FcFontSort so
534 that it 'satisfies' the language specified in the pattern by locating
535 the best matching font supporting each pattern language and then
536 ignores language in the remaining fonts for purposes of matching.
538 So, when asking for 'sans:lang=en', you'll get an English font first,
539 and then the remaining fonts sorted with respect to the 'sans' alias
540 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
542 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
544 reviewed by: Keith Packard <keithp@keithp.com>
546 * fontconfig/fontconfig.h:
549 Configuration changes to request synthetic emboldening of
550 fonts. The actual emboldening code will live in Xft.
552 2004-12-09 John Thacker <thacker@math.cornell.edu>
554 reviewed by: Keith Packard <keithp@keithp.com>
558 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
559 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
560 и), and don't even appear in KOI8-R. (The hypothesis that they
561 don't appear in KOI8-R due to their similarity with Latin I and i is
562 eliminated by their presence in KOI8-U.) I have a couple of fonts
563 with Russian support that don't have the letter.
565 Therefore, 0406 and 0456 should be removed from or commented out of
568 2004-12-06 michael meeks <mmeeks@novell.com>
570 Reviewed by: Keith Packard <keithp@keithp.com>
572 * src/fcinit.c: (FcMemReport):
574 * src/fclist.c: (FcObjectSetAdd):
575 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
576 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
577 * src/fcxml.c: (FcParsePatelt):
578 memoize strings and share a single copy for all uses. Note that
579 this could be improved further by using statically allocated blocks
580 and gluing multiple strings together, but I'm basically lazy.
581 In my environment with 800 font files, I get a savings of about 90KB.
583 2004-12-06 Keith Packard <keithp@keithp.com>
587 * config/Makedefs.in:
592 * doc/fccharset.fncs:
594 * doc/fcconstant.fncs:
596 * doc/fcfontset.fncs:
597 * doc/fcfreetype.fncs:
600 * doc/fcobjectset.fncs:
601 * doc/fcobjecttype.fncs:
602 * doc/fcpattern.fncs:
606 * doc/fontconfig-devel.sgml:
607 * doc/fontconfig-user.sgml:
609 * doc/version.sgml.in:
610 * fc-cache/Makefile.am:
611 * fc-cache/fc-cache.c:
612 * fc-glyphname/Makefile.am:
613 * fc-glyphname/fc-glyphname.c:
614 * fc-glyphname/fcglyphname.tmpl.h:
615 * fc-lang/Makefile.am:
625 * fc-lang/az_ir.orth:
660 * fc-lang/fc-lang.man:
661 * fc-lang/fclang.tmpl.h:
706 * fc-lang/ku_ir.orth:
739 * fc-lang/ps_af.orth:
740 * fc-lang/ps_pk.orth:
769 * fc-lang/ti_er.orth:
770 * fc-lang/ti_et.orth:
796 * fc-lang/zh_cn.orth:
797 * fc-lang/zh_hk.orth:
798 * fc-lang/zh_mo.orth:
799 * fc-lang/zh_sg.orth:
800 * fc-lang/zh_tw.orth:
802 * fc-list/Makefile.am:
804 * fc-match/Makefile.am:
805 * fc-match/fc-match.1:
806 * fc-match/fc-match.c:
807 * fontconfig/fcfreetype.h:
808 * fontconfig/fcprivate.h:
809 * fontconfig/fontconfig.h:
830 Change files from ISO-Latin-1 to UTF-8
832 2004-12-04 Keith Packard <keithp@keithp.com>
835 Update links to new freedesktop.org locations
837 Add uninstall-local to get rid of fonts.conf and local.conf if they
838 match the distributed versions. Fixes 'make distcheck'
840 2004-12-04 Keith Packard <keithp@keithp.com>
844 * fontconfig/fontconfig.h:
845 Updates for version 2.2.97
847 2004-12-04 Owen Taylor <otaylor@redhat.com>
849 reviewed by: Keith Packard <keithp@keithp.com>
851 * fc-cache/fc-cache.c: (main):
852 Sleep for two seconds before exiting to make sure timestamps
853 for future changes have distinct mod times in the file system.
856 Add Punjabi orthography. Bug #1671.
858 2004-12-04 Keith Packard <keithp@keithp.com>
861 Just remove the FC_FONTDATE -- it has locale issues and
862 annoys redhat multi-arch installs. Now that all X fonts are
863 included without prejudice, the chances of the date being at
864 all interesting are rather limited. Bug #505.
866 Add copyright and license
868 2004-12-04 Keith Packard <keithp@keithp.com>
871 Change default set of fonts to include all of
872 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
873 * doc/fontconfig-user.sgml:
874 Document new <include>directory-name</include> semantics
876 add <include ignore_missing="yes">conf.d</include>
878 Add selectfont to ignore bitmap fonts, add comment for
879 selectfont which accepts bitmap fonts.
882 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
883 Allow <include> configuration elements to reference directories.
884 Parse and load all files of the form [0-9]* in sorted order.
886 2004-12-04 Keith Packard <keithp@keithp.com>
889 Report command line for $srcdir/configure accurately.
892 2004-12-04 Keith Packard <keithp@keithp.com>
894 * src/fcfreetype.c: (FcFreeTypeQuery):
895 Check for non-empty face->family_name and face->style_name
896 before using those for the font. Empty names match everything.
899 2004-12-04 Keith Packard <keithp@keithp.com>
902 * fontconfig/fontconfig.h:
903 * src/fcfreetype.c: (FcFreeTypeQuery):
905 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
906 available. This provides font file format information (BDF, Type 1,
907 PCF, TrueType) for each font. Closes #109.
909 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
911 reviewed by: Keith Packard <keithp@keithp.com>
913 * doc/fontconfig-user.sgml:
916 * fontconfig/fontconfig.h:
917 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
918 (GetScriptTags), (FcFontCapabilities):
920 Add detection for font capabilities (bug #105)
922 2004-12-04 Keith Packard <keithp@keithp.com>
925 Move existing fonts.conf to fonts.conf.bak
928 Add detection of iconv
930 * doc/fcpattern.fncs:
931 * doc/fontconfig-devel.sgml:
932 * doc/fontconfig-user.sgml:
934 Document new selectfont elements
937 Switch to UTF-8 in comment
939 * fontconfig/fontconfig.h:
941 Add fullname, and family/style/fullname language entries
943 * src/fccache.c: (FcCacheFontSetAdd):
944 * src/fcdir.c: (FcFileScanConfig):
945 Respect selectfont/*/glob
948 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
949 (FcConfigCompareValue), (FcConfigPatternsAdd),
950 (FcConfigPatternsMatch), (FcConfigAcceptFont):
951 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
952 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
953 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
954 Add support for selectfont
956 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
957 (FcStringInPatternElement), (FcFreeTypeQuery):
958 Add multi-lingual family/style/fullname support
960 * src/fclist.c: (FcListPatternMatchAny):
961 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
963 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
964 (FcObjectStaticName):
965 Add new FcPatternRemove/FcPatternAppend.
966 FcObjectStaticName stores computed pattern element names which
967 are required to be static.
969 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
974 Remove spurious / after $(DESTDIR)
976 2004-06-30 Keith Packard <keithp@keithp.com>
980 * fontconfig/fontconfig.h:
983 2004-06-30 Keith Packard <keithp@keithp.com>
985 Provided by: Lubos Lunak <l.lunak@suse.cz>
987 * src/fccfg.c: (FcConfigUptoDate):
988 However FcConfigUptoDate() doesn't seem to work. See the attached
989 patch. First there's an obvious misplaced parenthesis making it
990 return always false, and second, even this call fails to detect font
991 changes (e.g. adding a new font to
992 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
993 well. The problem seems to be triggered by my fonts.conf specifying
994 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
995 doesn't include subdirs, unlike config->fontDirs.
997 2004-06-03 Keith Packard <keithp@keithp.com>
999 * fontconfig/fontconfig.h:
1000 Remove comma at end of FcResult enum definition.
1002 2004-05-29 Keith Packard <keithp@keithp.com>
1005 Add steps to md5sum release
1007 2004-05-29 Keith Packard <keithp@keithp.com>
1011 * fontconfig/fontconfig.h:
1014 2004-05-29 Keith Packard <keithp@keithp.com>
1016 * fontconfig/fontconfig.h:
1017 * src/fcmatch.c: (FcFontSetMatch):
1018 Add FcResultOutOfMemory to provide an accurate error when
1019 FcFontSetMatch fails in this way
1022 Make #warning about lacking various FreeType features indicate
1023 which version those features appeared so users know how to
1024 fix the problem (Thanks to Anton Tropashko)
1026 2004-05-05 Keith Packard <keithp@keithp.com>
1028 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1029 Replace MIN/MAX/ABS macros which happen to have come
1030 from FreeType with fontconfig-specific ones (FC_*)
1032 2004-04-23 Keith Packard <keithp@keithp.com>
1035 Extend release preparation instructions to include
1036 notification and distribution steps
1038 2004-04-23 Keith Packard <keithp@keithp.com>
1042 * fontconfig/fontconfig.h:
1043 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1045 2004-04-23 Keith Packard <keithp@keithp.com>
1048 Ignore a few more autotool files
1050 2004-04-14 Keith Packard <keithp@keithp.com>
1053 Add instructions for doing a release
1055 * fontconfig.spec.in:
1056 clean up .spec file; perhaps this will be useful to somebody...
1060 * fontconfig/fontconfig.h:
1063 * fc-lang/fc-lang.c:
1064 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1066 * fc-glyphname/Makefile.am:
1067 * fc-lang/Makefile.am:
1068 * fc-list/Makefile.am:
1069 * fc-match/Makefile.am:
1071 Add WARN_CFLAGS to pass -W flags for GCC systems
1073 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1074 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1075 Change various char types around to match across
1077 Fixed bug in using available_sizes[i].height which
1078 is in pixels, not 64ths of a pixel.
1080 2004-03-06 Keith Packard <keithp@keithp.com>
1082 * src/fcfreetype.c: (FcFreeTypeQuery):
1083 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1084 matches looking for explicit values prefer exact matches
1086 2004-03-02 Keith Packard <keithp@keithp.com>
1088 Supplied by: mfabian@suse.de (Mike FABIAN)
1090 * src/fcfreetype.c: (FcFreeTypeQuery):
1091 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1092 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1094 2004-02-21 Manish Singh <yosh@gimp.org>
1096 * fc-glyphname/fc-glyphname.c: (main):
1097 Cast strlen to int for printf, so we're 64-bit clean.
1099 2004-02-11 Keith Packard <keithp@keithp.com>
1102 * src/fcfreetype.c: (FcGetPixelSize):
1103 Ok, so I messed up the test for y_ppem. Let's see if I
1104 got it right this time.
1106 2004-02-10 Keith Packard <keithp@keithp.com>
1109 * src/fcfreetype.c: (FcGetPixelSize):
1110 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1111 FT_Bitmap_Size record. Add a configure.in test for this
1112 and change the code accordingly (using height instead).
1114 2004-02-06 Keith Packard <keithp@keithp.com>
1117 Add Low Saxon orthography
1118 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1120 * src/fccfg.c: (FcConfigNewestFile):
1121 Oops. Left 'newest.set' unset, which would miscompute
1124 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1125 (FcFreeTypeCheckGlyph):
1126 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1127 font properties (which report the wrong value in current FreeType)
1129 Don't attempt to check for empty glyphs in non-scalable fonts; they
1132 2004-02-01 Tor Lillqvist <tml@iki.fi>
1134 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1135 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1136 cache if config->cache is NULL, which happens if FcConfigHome() is
1137 NULL. Guard against that by using the temp folder in that case.
1139 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1141 * fc-lang/az_ir.orth:
1142 * fc-lang/ku_ir.orth:
1143 * fc-lang/ps_af.orth:
1144 * fc-lang/ps_pk.orth:
1145 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1146 (Afghan and Pakistani).
1148 Updated Urdu orthography with real data.
1150 2003-12-11 Carl Worth <cworth@east.isi.edu>
1152 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1155 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1157 (all-local): Remove excessive whitespace.
1159 * autogen.sh: Add 'set -e' to abort when any program fails,
1160 (avoids printing of 'now type make' after configure aborts).
1162 2003-11-17 Eric Christopherson <rakko@charter.net>
1164 reviewed by: Keith Packard <keithp@keithp.com>
1167 * fontconfig/fcfreetype.h:
1169 Switch to FreeType 2.1.7 style includes. Bug #150.
1171 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1173 * fc-list/fc-list.sgml: Add some example usages.
1175 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1178 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1181 2003-10-27 Keith Packard <keith@keithp.com>
1184 * fontconfig/fontconfig.h:
1185 Update to version 2.2.92
1187 2003-10-27 Keith Packard <keithp@keithp.com>
1192 * fc-cache/Makefile.am:
1193 * fc-glyphname/Makefile.am:
1194 * fc-lang/Makefile.am:
1195 * fc-list/Makefile.am:
1196 * fc-match/Makefile.am:
1199 Yet more cleanups to finish getting 'make distcheck' working
1200 This has been tested to ensure that it even works from a _build
1203 2003-10-26 Keith Packard <keithp@keithp.com>
1207 * fc-cache/Makefile.am:
1208 * fc-glyphname/Makefile.am:
1209 * fc-lang/Makefile.am:
1210 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1211 * fc-list/Makefile.am:
1212 * fc-match/Makefile.am:
1213 Attempts to fix 'make distcheck' work. Things are
1214 progressing pretty well, but there are still failures
1215 long into the process dealing with docs (as always).
1217 The big changes here are mostly to make $(srcdir) != "."
1218 work correctly, fixing the docbook related sections and
1219 fc-lang were particularily tricky. Docbook refuses to load
1220 system entities from anywhere other than where the original .sgml
1221 file was located, so no luck looking in "." for the
1222 configure-generated version.sgml and confdir.sgml files.
1224 fc-lang needed help finding .orth files; added a -d option
1225 to set the directory as the least evil of many options.
1227 Now to go use a faster machine and try and wring out the last
1230 2003-10-26 Keith Packard <keithp@keithp.com>
1234 2003-10-26 Keith Packard <keithp@keithp.com>
1237 Include confdir.sgml.in in EXTRA_DIST
1239 2003-10-09 Josselin Mouette <joss@debian.org>
1241 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1242 * fc-list/fc-list.sgml fc-list/Makefile.am:
1243 Replace fc-cache and fc-list manpages with more detailed, SGML
1246 2003-09-23 Owen Taylor <otaylor@redhat.com>
1248 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1249 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1250 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1253 2003-09-23 Owen Taylor <otaylor@redhat.com>
1255 * fc-lang/ka.orth: Remove Georgian capitals, they
1256 aren't used for normal writing. (Bug #116)
1258 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1260 * doc/fontconfig-devel.sgml:
1261 * doc/fontconfig-user.sgml:
1262 * fontconfig/fontconfig.h:
1264 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1265 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1267 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1268 monospace and dual-width fonts, allow roughly a 3% variance in the
1271 2003-08-31 Manish Singh <yosh@gimp.org>
1273 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1276 2003-08-15 Carl Worth <cworth@isi.edu>
1278 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1279 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1281 * src/fcpat.c (FcValueListEntDestroy): New function to support
1282 FcFini memory cleanup. Some statistics are not kept in
1284 (FcValueListFreeze): Move hashTable outside this function so it
1285 can be accessed by FcValueListThawAll.
1286 (FcValueListThawAll): New function complements FcValueListFreeze.
1287 (FcPatternBaseFreeze): Move hashTable outside this function so it
1288 can be accessed by FcPatternBaseThawAll.
1289 (FcPatternBaseThawAll): New function complements
1290 FcPatternBaseFreeze.
1291 (FcPatternThawAll): New function complements FcPatternFreeze.
1293 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1295 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1296 allocated FcCharLeafEnt "blocks" so they can be freed later.
1297 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1298 can be accessed by FcCharSetThawAllLeaf.
1299 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1300 (FcCharSetFreezeBase): Move hashTable outside this function so it
1301 can be accessed by FcCharSetThawAll.
1302 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1304 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1305 (FcConfigDestroy): Fic leak of FcBlanks.
1307 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1308 (main): Add call to FcFini when finished.
1310 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1311 static. Add prototypes.
1313 * doc/fcinit.fncs: Add documentation for FcFini function.
1315 * doc/edit-sgml.c: Mark several local functions as static. Add
1318 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1320 2003-06-15 Tor Lillqvist <tml@iki.fi>
1322 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1323 before comparing (needed on Windows).
1325 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1327 2003-06-13 Tor Lillqvist <tml@iki.fi>
1329 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1332 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1333 WINDOWSFONTDIR token.
1335 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1336 end, not to confuse libtool, which expects the EXPORTS line to be
1337 the first. Add FcConfigEnableHome.
1339 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1340 built as a DLL on Win32.
1342 2003-06-09 Keith Packard <keithp@keithp.com>
1344 * Tag version 2.2.90
1346 2003-06-09 Keith Packard <keithp@keithp.com>
1348 * Optimization in FcLangSetIndex was broken, occasionally
1349 returning a pointer to the wrong location on miss
1351 * Add fc-match to test font matching from the command line.
1353 2003-05-31 Keith Packard <keithp@keithp.com>
1355 * (Bug 85) add support for culmus fonts
1356 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1357 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1359 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1361 * Fix "contains" op for strings and langsets.
1363 2003-05-17 Keith Packard <keithp@keithp.com>
1365 * Fix build error with BDF prop local. Free langset after query
1367 2003-05-14 Keith Packard <keithp@keithp.com>
1369 * Extract spacing from XLFD atom
1371 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1373 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1374 disappeared in 1.30.
1376 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1378 2003-05-12 Keith Packard <keithp@keithp.com>
1380 * Use FcIsWidth to share code
1382 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1383 misclassifying some Han fonts as monospaced.
1385 2003-05-07 Keith Packard <keithp@keithp.com>
1387 * Add filename-based accept/reject to ammend available fonts.
1389 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1390 older FreeType releases.
1392 2003-05-06 Keith Packard <keithp@keithp.com>
1394 * Remove 0b82 and Tamil numbers from tamil
1395 orthography (Jungshik Shin <jshin@mailaps.org>)
1397 2003-05-04 Keith Packard <keithp@keithp.com>
1399 + Map glyph names in fonts with adobe custom encoding to unicode
1401 2003-05-02 Keith Packard <keithp@keithp.com>
1403 * Add FC_WEIGHT_BOOK as weight 75
1405 2003-04-30 Keith Packard <keithp@keithp.com>
1407 * Typo in bitstream foundry name
1409 2003-04-24 Keith Packard <keithp@keithp.com>
1411 * Eliminate italic_angle check for PS fonts
1413 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1415 * Getting closer to fixing /etc/fonts hard-coding.
1417 2003-04-22 Keith Packard <keithp@keithp.com>
1419 * Update autogen.sh to work with newer automake versions
1420 * Handle pattern elements moving during multiple edits
1422 2003-04-23 James Henstridge <james@daa.com.au>
1424 * doc/fontconfig-devel.sgml: close the <para> element.
1426 * doc/fcpattern.fncs: close the <para> element.
1428 * doc/func.sgml: close the <refsynopsisdiv> element.
1430 2003-04-22 Keith Packard <keithp@keithp.com
1432 * Update autogen.sh to work with newer automake versions
1433 * Handle pattern elements moving during multiple edits
1435 2003-04-17 Colin Walters <walters@debian.org>
1437 + Remove some unused variables, and initialize some other ones so
1438 gcc doesn't warn us.
1440 2003-04-16 Keith Packard <keithp@keithp.com>
1442 + tag version 2.1.94
1444 2003-04-16 Keith Packard <keithp@keithp.com>
1446 + add BDF property fetching support for foundry
1447 (from Juliusz Chroboczek)
1448 + add BDF property fetching support for width
1450 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1452 + Implemented foundry generation for Type 1 and TrueType
1454 2003-04-11 Gerard Escalante <g2@magestudios.net>
1456 + Retrieve information from Type1 FontInfo dictionaries
1458 2003-04-07 Colin Walters <walters@verbum.org>
1460 + src/Makefile.am: Fix dummy makefile target names when
1461 MS_LIB_AVAILABLE isn't set.
1463 2003-03-22 Tor Lillqvist <tml@iki.fi>
1465 Changes for Windows:
1467 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1469 + We don't want to hardcode the fonts.conf file location in the
1470 DLL, so we look up the DLL location at run-time in a DllMain()
1471 function. The fonts.conf location is deduced from that.
1473 + The colon can't be used as path separator on Windows,
1474 semicolon is used instead. File path components can be separated
1475 with either slash or backslash. Absolute paths can also begin
1476 with a drive letter.
1478 + Add internal function FcStrLastSlash that strrchr's the last
1479 slash, or backslash on Windows.
1481 + There is no link() on Windows. For atomicity checks, mkdir a
1482 lock directory instead.
1484 + In addition to HOME, also look for USERPROFILE.
1486 + Recognize the special font directory token WINDOWSFONTDIR, to
1487 use the system's font directory.
1489 + Remove the fontconfig-def.cpp that was obsolete. Add
1490 fontconfig.def(.in), without internal functions.
1492 + Add a fontconfig-zip(.in) script, used to build a binary
1495 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1496 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1497 to main package and man3/* to devel package
1499 + Added missing defattr(-, root, root) to main RPM package
1501 + Added HTML and text development documentation to -devel subpackage
1503 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1504 + Added back the configure macro options --disable-docs, otherwise
1505 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1506 version number) unconditionally, causing RPM to fail the build due
1507 to _unpackaged_files_terminate_build. We pick up the pregenerated
1508 docs with %doc already.
1510 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1511 + Removed commented out rpm macro define at top of spec file,
1512 replacing it with a simple explanation, since rpm macros are
1513 expanded by rpm even in comments.
1515 + Changed /usr/bin to _bindir in BuildRequires lines
1517 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1519 + Reorganized file manifest lists
1521 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1523 + fontconfig.spec.in: Improvements from Red Hat spec file.
1525 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1527 + docs/*.sgml: SGML fixes.
1529 Sat Mar 1 17:28:53 PST 2003 keithp
1530 + Ok, so the ChangeLog is a bit out of date
1532 + Lots of bugs fixed; most are in bugzilla, the
1533 biggest problems were in cache management where
1534 Owen discovered the library would lose badly when
1535 combining fonts-cache and ~/.fonts-cache data
1537 + Converted from autoconf to automake. This after
1538 getting patches accepted into libtool to allow
1539 the '-version-number' argument which lets
1540 packages set version numbers explicitly rather
1541 than the roundabout libtool way
1543 + Converted documentation to SGML using the docbook
1544 DTD. Now .txt and .html documents are installed
1545 in /usr/share/doc/fontconfig and there's no
1546 man page. Perhaps a man version can be written
1549 Sat Aug 31 15:21:22 PDT 2002 keithp
1550 + Xrender and Xft had several bugs related to
1551 rendering manually placed or poly-face text
1553 + Added more complete memory tracing in fontconfig
1554 Checked with (patched) mozilla and found no leaks
1556 + Updated Latin orthographies by comparing those from
1557 evertype.com with those from eki.ee. Tried to make
1558 sensible choices, including chars that occured in both
1559 and leaving some optional chars out that occured only
1562 Mon Aug 26 16:33:04 PDT 2002 keithp
1563 + Owen discovered that FcLangSetHasLang wasn't actually
1564 checking the language set.
1566 Mon Aug 26 13:37:23 PDT 2002 keithp
1567 + Append a version number to cache filenames
1569 Thu Aug 22 11:36:18 PDT 2002 keithp
1571 + Add "contains" and "not_contains" operators and elements to
1574 + Changed semantics of eq operator for LangSets to check for
1575 FcLangEqual so that any match will do
1577 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1578 of FcValueEqual to check for identical values when inserting into
1579 the results. This broke when the above semantic change was made,
1580 now it uses FcValueEqual which is "more correct" in any case.
1582 Thu Aug 22 00:32:29 PDT 2002 keithp
1584 + Reimplement FC_LANG as new datatype. Lists of strings
1585 was consuming over a megabyte of memory for 401 fonts.
1587 + Freeze patterns loaded from cache files. This shares
1588 common value lists and common patterns which saves
1589 considerable memory.
1591 + Change the denotation of 'constant' charsets to use special
1592 ref value instead of separate boolean.
1594 + Clean up leak tracing stuff, found several unannoted alloc/free
1597 Tue Aug 20 16:17:37 PDT 2002 keithp
1599 + Fix memory leak when parsing matrices from XML
1601 Mon Aug 19 11:57:27 PDT 2002 keithp
1603 + Fix autoconf files to pass FONTCONFIG_PATH on
1604 compile line so that ${prefix} gets substituted
1607 + Use getc_unlocked/putc_unlocked on systems that
1608 provide them to avoid damage done to stdio by posix
1610 + Eliminate FC_PATTERN and FcTypePattern in favor of
1611 an extended api for FcConfigSubstitute which takes
1612 both the font and the pattern.
1614 + Add 'sans serif' alias for 'sans-serif' as some apps
1615 can't handle hyphens in family names
1617 + Eliminate pretense of support for libxml2
1619 + Comment origins of Han orthographies
1621 Tue Jul 30 18:37:09 PDT 2002 keithp
1623 + Add binding property to edit element so that strong
1624 binding values may be inserted by the config file.
1625 The default remains weak.
1627 Sun 28 Jul 04:16:55 PDT 2002 keithp
1629 + Tagged release candidate 1 in the CVS tree and
1630 placed fcpackage.rc1.tar.gz for distribution
1632 Thu Aug 1 08:55:08 PDT 2002 keithp
1634 + Fixed autoconf builds to always specify install
1635 target files (for BSD). Also fixed to
1636 define FONTCONFIG_PATH in config.h so that
1637 nonstandard installs will actually work.