1 2005-03-01 Keith Packard <keithp@keithp.com>
5 * fontconfig/fontconfig.h:
8 2005-03-01 Keith Packard <keithp@keithp.com>
11 Generate and install PDF versions of the manuals
17 Add missing exported functions, fix data types
19 * doc/fontconfig-devel.sgml:
20 Add missing pattern elements.
22 * doc/fontconfig-user.sgml:
23 Add missing pattern elements. Document conf.d usage,
24 clarify available orthography list. Fix some config file
25 attributes. Complete list of constants.
27 * fontconfig/fontconfig.h:
28 Mark FC_SOURCE deprecated.
30 * src/fcfreetype.c: (FcFreeTypeQuery):
31 Don't set FC_SOURCE any longer.
33 2005-02-28 Keith Packard <keithp@keithp.com>
38 * conf.d/no-bitmaps.conf:
39 * conf.d/sub-pixel.conf:
40 * conf.d/yes-bitmaps.conf:
42 Create prototype /etc/fonts/conf.d directory with a few
43 sample configuration files.
44 Deprecate use of local.conf for local customizations in favor of
45 this directory based scheme which is more easily integrated into
49 Tag FC_EMBOLDEN as a boolean variable
51 2005-02-10 Keith Packard <keithp@keithp.com>
53 reviewed by: pborelli@katamail.com
55 * src/fcdir.c: (FcFileScanConfig):
56 Free patterns from fonts which are rejected by configuration
59 2005-01-28 Keith Packard <keithp@keithp.com>
63 * fontconfig/fontconfig.h:
64 Update for version 2.2.99
66 2005-01-28 Keith Packard <keithp@keithp.com>
69 Add a few pointers (#2284, #2285)
71 2005-01-28 Keith Packard <keithp@keithp.com>
74 * src/fcname.c: (FcNameBool):
75 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
76 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
77 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
78 Polite typechecking for test and edit expressions. Helps
79 catch errors in the font configuration. (bug 229)
81 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
83 reviewed by: Keith Packard <keithp@keithp.com>
86 Have --with-expat set EXPAT_CFLAGS (bug 2278)
88 2005-01-13 Keith Packard <keithp@keithp.com>
90 * doc/fontconfig-user.sgml:
91 Add SEE ALSO section (bug 2085)
93 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
95 reviewed by: Keith Packard <keithp@keithp.com>
100 * fc-case/Makefile.am:
101 * fc-glyphname/Makefile.am:
102 * fc-lang/Makefile.am:
103 * src/fontconfig.def.in:
104 Cross compiling fixes (bug 280)
106 2005-01-13 Keith Packard <keithp@keithp.com>
109 Update blanks list (Closes bug 86)
111 2005-01-04 Keith Packard <keithp@keithp.com>
113 * src/fccache.c: (FcCacheFontSetAdd):
114 Verify that every font pattern loaded from cache has
115 both FC_FILE and FC_FAMILY entries.
116 Attempt to fix bug #2219.
118 2004-12-29 Keith Packard <keithp@keithp.com>
122 * fontconfig/fontconfig.h:
123 Update for version 2.2.98
125 2004-12-29 Keith Packard <keithp@keithp.com>
127 * fontconfig/fontconfig.h:
128 Document ASCII limitations of Fc character conversion macros
129 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
130 Fix off-by-one error in utf-8 case walking code.
131 Add FcStrDowncase (useful for testing case conversion functions)
133 2004-12-29 Keith Packard <keithp@keithp.com>
136 * fc-case/.cvsignore:
137 clean up CVS ignore lists
138 * fc-lang/iso-3166.txt:
139 Add territory database
141 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
143 Reviewed by: Keith Packard
146 Remove Han characters from Korean orthography
148 2004-12-29 Keith Packard <keithp@keithp.com>
151 Reorder utility programs to make sure fc-case is run before fc-lang
152 as fc-lang uses fcstr.c which uses fccase.h
156 2004-12-29 Keith Packard <keithp@keithp.com>
159 Adopt some RedHat suggestions for standard font configuration.
163 * fc-case/CaseFolding.txt:
164 * fc-case/Makefile.am:
165 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
166 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
167 (dump), (parseRaw), (caseFoldReadRaw), (main):
168 * fc-case/fccase.tmpl.h:
169 Add new helper program 'fc-case' to construct case folding
170 tables from standard Unicode CaseFolding.txt file
173 * src/fclist.c: (FcListValueHash):
174 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
175 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
176 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
177 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
178 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
179 Re-implement case insensitive functions with Unicode
180 aware versions (including full case folding mappings)
182 2004-12-13 Keith Packard <keithp@keithp.com>
184 reviewed by: Owen Taylor <otaylor@redhat.com>
186 * src/fcmatch.c: (FcFontSetSort):
187 I changed FcFontSetSort to respect the generic aliases better
188 in the face of language matching.
190 What I did was to ammend the strict sort order used by FcFontSort so
191 that it 'satisfies' the language specified in the pattern by locating
192 the best matching font supporting each pattern language and then
193 ignores language in the remaining fonts for purposes of matching.
195 So, when asking for 'sans:lang=en', you'll get an English font first,
196 and then the remaining fonts sorted with respect to the 'sans' alias
197 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
199 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
201 reviewed by: Keith Packard <keithp@keithp.com>
203 * fontconfig/fontconfig.h:
206 Configuration changes to request synthetic emboldening of
207 fonts. The actual emboldening code will live in Xft.
209 2004-12-09 John Thacker <thacker@math.cornell.edu>
211 reviewed by: Keith Packard <keithp@keithp.com>
215 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
216 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
217 и), and don't even appear in KOI8-R. (The hypothesis that they
218 don't appear in KOI8-R due to their similarity with Latin I and i is
219 eliminated by their presence in KOI8-U.) I have a couple of fonts
220 with Russian support that don't have the letter.
222 Therefore, 0406 and 0456 should be removed from or commented out of
225 2004-12-06 michael meeks <mmeeks@novell.com>
227 Reviewed by: Keith Packard <keithp@keithp.com>
229 * src/fcinit.c: (FcMemReport):
231 * src/fclist.c: (FcObjectSetAdd):
232 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
233 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
234 * src/fcxml.c: (FcParsePatelt):
235 memoize strings and share a single copy for all uses. Note that
236 this could be improved further by using statically allocated blocks
237 and gluing multiple strings together, but I'm basically lazy.
238 In my environment with 800 font files, I get a savings of about 90KB.
240 2004-12-06 Keith Packard <keithp@keithp.com>
244 * config/Makedefs.in:
249 * doc/fccharset.fncs:
251 * doc/fcconstant.fncs:
253 * doc/fcfontset.fncs:
254 * doc/fcfreetype.fncs:
257 * doc/fcobjectset.fncs:
258 * doc/fcobjecttype.fncs:
259 * doc/fcpattern.fncs:
263 * doc/fontconfig-devel.sgml:
264 * doc/fontconfig-user.sgml:
266 * doc/version.sgml.in:
267 * fc-cache/Makefile.am:
268 * fc-cache/fc-cache.c:
269 * fc-glyphname/Makefile.am:
270 * fc-glyphname/fc-glyphname.c:
271 * fc-glyphname/fcglyphname.tmpl.h:
272 * fc-lang/Makefile.am:
282 * fc-lang/az_ir.orth:
317 * fc-lang/fc-lang.man:
318 * fc-lang/fclang.tmpl.h:
363 * fc-lang/ku_ir.orth:
396 * fc-lang/ps_af.orth:
397 * fc-lang/ps_pk.orth:
426 * fc-lang/ti_er.orth:
427 * fc-lang/ti_et.orth:
453 * fc-lang/zh_cn.orth:
454 * fc-lang/zh_hk.orth:
455 * fc-lang/zh_mo.orth:
456 * fc-lang/zh_sg.orth:
457 * fc-lang/zh_tw.orth:
459 * fc-list/Makefile.am:
461 * fc-match/Makefile.am:
462 * fc-match/fc-match.1:
463 * fc-match/fc-match.c:
464 * fontconfig/fcfreetype.h:
465 * fontconfig/fcprivate.h:
466 * fontconfig/fontconfig.h:
487 Change files from ISO-Latin-1 to UTF-8
489 2004-12-04 Keith Packard <keithp@keithp.com>
492 Update links to new freedesktop.org locations
494 Add uninstall-local to get rid of fonts.conf and local.conf if they
495 match the distributed versions. Fixes 'make distcheck'
497 2004-12-04 Keith Packard <keithp@keithp.com>
501 * fontconfig/fontconfig.h:
502 Updates for version 2.2.97
504 2004-12-04 Owen Taylor <otaylor@redhat.com>
506 reviewed by: Keith Packard <keithp@keithp.com>
508 * fc-cache/fc-cache.c: (main):
509 Sleep for two seconds before exiting to make sure timestamps
510 for future changes have distinct mod times in the file system.
513 Add Punjabi orthography. Bug #1671.
515 2004-12-04 Keith Packard <keithp@keithp.com>
518 Just remove the FC_FONTDATE -- it has locale issues and
519 annoys redhat multi-arch installs. Now that all X fonts are
520 included without prejudice, the chances of the date being at
521 all interesting are rather limited. Bug #505.
523 Add copyright and license
525 2004-12-04 Keith Packard <keithp@keithp.com>
528 Change default set of fonts to include all of
529 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
530 * doc/fontconfig-user.sgml:
531 Document new <include>directory-name</include> semantics
533 add <include ignore_missing="yes">conf.d</include>
535 Add selectfont to ignore bitmap fonts, add comment for
536 selectfont which accepts bitmap fonts.
539 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
540 Allow <include> configuration elements to reference directories.
541 Parse and load all files of the form [0-9]* in sorted order.
543 2004-12-04 Keith Packard <keithp@keithp.com>
546 Report command line for $srcdir/configure accurately.
549 2004-12-04 Keith Packard <keithp@keithp.com>
551 * src/fcfreetype.c: (FcFreeTypeQuery):
552 Check for non-empty face->family_name and face->style_name
553 before using those for the font. Empty names match everything.
556 2004-12-04 Keith Packard <keithp@keithp.com>
559 * fontconfig/fontconfig.h:
560 * src/fcfreetype.c: (FcFreeTypeQuery):
562 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
563 available. This provides font file format information (BDF, Type 1,
564 PCF, TrueType) for each font. Closes #109.
566 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
568 reviewed by: Keith Packard <keithp@keithp.com>
570 * doc/fontconfig-user.sgml:
573 * fontconfig/fontconfig.h:
574 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
575 (GetScriptTags), (FcFontCapabilities):
577 Add detection for font capabilities (bug #105)
579 2004-12-04 Keith Packard <keithp@keithp.com>
582 Move existing fonts.conf to fonts.conf.bak
585 Add detection of iconv
587 * doc/fcpattern.fncs:
588 * doc/fontconfig-devel.sgml:
589 * doc/fontconfig-user.sgml:
591 Document new selectfont elements
594 Switch to UTF-8 in comment
596 * fontconfig/fontconfig.h:
598 Add fullname, and family/style/fullname language entries
600 * src/fccache.c: (FcCacheFontSetAdd):
601 * src/fcdir.c: (FcFileScanConfig):
602 Respect selectfont/*/glob
605 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
606 (FcConfigCompareValue), (FcConfigPatternsAdd),
607 (FcConfigPatternsMatch), (FcConfigAcceptFont):
608 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
609 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
610 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
611 Add support for selectfont
613 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
614 (FcStringInPatternElement), (FcFreeTypeQuery):
615 Add multi-lingual family/style/fullname support
617 * src/fclist.c: (FcListPatternMatchAny):
618 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
620 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
621 (FcObjectStaticName):
622 Add new FcPatternRemove/FcPatternAppend.
623 FcObjectStaticName stores computed pattern element names which
624 are required to be static.
626 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
631 Remove spurious / after $(DESTDIR)
633 2004-06-30 Keith Packard <keithp@keithp.com>
637 * fontconfig/fontconfig.h:
640 2004-06-30 Keith Packard <keithp@keithp.com>
642 Provided by: Lubos Lunak <l.lunak@suse.cz>
644 * src/fccfg.c: (FcConfigUptoDate):
645 However FcConfigUptoDate() doesn't seem to work. See the attached
646 patch. First there's an obvious misplaced parenthesis making it
647 return always false, and second, even this call fails to detect font
648 changes (e.g. adding a new font to
649 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
650 well. The problem seems to be triggered by my fonts.conf specifying
651 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
652 doesn't include subdirs, unlike config->fontDirs.
654 2004-06-03 Keith Packard <keithp@keithp.com>
656 * fontconfig/fontconfig.h:
657 Remove comma at end of FcResult enum definition.
659 2004-05-29 Keith Packard <keithp@keithp.com>
662 Add steps to md5sum release
664 2004-05-29 Keith Packard <keithp@keithp.com>
668 * fontconfig/fontconfig.h:
671 2004-05-29 Keith Packard <keithp@keithp.com>
673 * fontconfig/fontconfig.h:
674 * src/fcmatch.c: (FcFontSetMatch):
675 Add FcResultOutOfMemory to provide an accurate error when
676 FcFontSetMatch fails in this way
679 Make #warning about lacking various FreeType features indicate
680 which version those features appeared so users know how to
681 fix the problem (Thanks to Anton Tropashko)
683 2004-05-05 Keith Packard <keithp@keithp.com>
685 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
686 Replace MIN/MAX/ABS macros which happen to have come
687 from FreeType with fontconfig-specific ones (FC_*)
689 2004-04-23 Keith Packard <keithp@keithp.com>
692 Extend release preparation instructions to include
693 notification and distribution steps
695 2004-04-23 Keith Packard <keithp@keithp.com>
699 * fontconfig/fontconfig.h:
700 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
702 2004-04-23 Keith Packard <keithp@keithp.com>
705 Ignore a few more autotool files
707 2004-04-14 Keith Packard <keithp@keithp.com>
710 Add instructions for doing a release
712 * fontconfig.spec.in:
713 clean up .spec file; perhaps this will be useful to somebody...
717 * fontconfig/fontconfig.h:
721 Make 'scanopen' static so GCC doesn't whine about lacking prototype
723 * fc-glyphname/Makefile.am:
724 * fc-lang/Makefile.am:
725 * fc-list/Makefile.am:
726 * fc-match/Makefile.am:
728 Add WARN_CFLAGS to pass -W flags for GCC systems
730 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
731 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
732 Change various char types around to match across
734 Fixed bug in using available_sizes[i].height which
735 is in pixels, not 64ths of a pixel.
737 2004-03-06 Keith Packard <keithp@keithp.com>
739 * src/fcfreetype.c: (FcFreeTypeQuery):
740 Force FC_FOUNDRY and FC_WIDTH to always be set so that
741 matches looking for explicit values prefer exact matches
743 2004-03-02 Keith Packard <keithp@keithp.com>
745 Supplied by: mfabian@suse.de (Mike FABIAN)
747 * src/fcfreetype.c: (FcFreeTypeQuery):
748 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
749 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
751 2004-02-21 Manish Singh <yosh@gimp.org>
753 * fc-glyphname/fc-glyphname.c: (main):
754 Cast strlen to int for printf, so we're 64-bit clean.
756 2004-02-11 Keith Packard <keithp@keithp.com>
759 * src/fcfreetype.c: (FcGetPixelSize):
760 Ok, so I messed up the test for y_ppem. Let's see if I
761 got it right this time.
763 2004-02-10 Keith Packard <keithp@keithp.com>
766 * src/fcfreetype.c: (FcGetPixelSize):
767 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
768 FT_Bitmap_Size record. Add a configure.in test for this
769 and change the code accordingly (using height instead).
771 2004-02-06 Keith Packard <keithp@keithp.com>
774 Add Low Saxon orthography
775 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
777 * src/fccfg.c: (FcConfigNewestFile):
778 Oops. Left 'newest.set' unset, which would miscompute
781 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
782 (FcFreeTypeCheckGlyph):
783 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
784 font properties (which report the wrong value in current FreeType)
786 Don't attempt to check for empty glyphs in non-scalable fonts; they
789 2004-02-01 Tor Lillqvist <tml@iki.fi>
791 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
792 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
793 cache if config->cache is NULL, which happens if FcConfigHome() is
794 NULL. Guard against that by using the temp folder in that case.
796 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
798 * fc-lang/az_ir.orth:
799 * fc-lang/ku_ir.orth:
800 * fc-lang/ps_af.orth:
801 * fc-lang/ps_pk.orth:
802 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
803 (Afghan and Pakistani).
805 Updated Urdu orthography with real data.
807 2003-12-11 Carl Worth <cworth@east.isi.edu>
809 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
812 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
814 (all-local): Remove excessive whitespace.
816 * autogen.sh: Add 'set -e' to abort when any program fails,
817 (avoids printing of 'now type make' after configure aborts).
819 2003-11-17 Eric Christopherson <rakko@charter.net>
821 reviewed by: Keith Packard <keithp@keithp.com>
824 * fontconfig/fcfreetype.h:
826 Switch to FreeType 2.1.7 style includes. Bug #150.
828 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
830 * fc-list/fc-list.sgml: Add some example usages.
832 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
835 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
838 2003-10-27 Keith Packard <keith@keithp.com>
841 * fontconfig/fontconfig.h:
842 Update to version 2.2.92
844 2003-10-27 Keith Packard <keithp@keithp.com>
849 * fc-cache/Makefile.am:
850 * fc-glyphname/Makefile.am:
851 * fc-lang/Makefile.am:
852 * fc-list/Makefile.am:
853 * fc-match/Makefile.am:
856 Yet more cleanups to finish getting 'make distcheck' working
857 This has been tested to ensure that it even works from a _build
860 2003-10-26 Keith Packard <keithp@keithp.com>
864 * fc-cache/Makefile.am:
865 * fc-glyphname/Makefile.am:
866 * fc-lang/Makefile.am:
867 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
868 * fc-list/Makefile.am:
869 * fc-match/Makefile.am:
870 Attempts to fix 'make distcheck' work. Things are
871 progressing pretty well, but there are still failures
872 long into the process dealing with docs (as always).
874 The big changes here are mostly to make $(srcdir) != "."
875 work correctly, fixing the docbook related sections and
876 fc-lang were particularily tricky. Docbook refuses to load
877 system entities from anywhere other than where the original .sgml
878 file was located, so no luck looking in "." for the
879 configure-generated version.sgml and confdir.sgml files.
881 fc-lang needed help finding .orth files; added a -d option
882 to set the directory as the least evil of many options.
884 Now to go use a faster machine and try and wring out the last
887 2003-10-26 Keith Packard <keithp@keithp.com>
891 2003-10-26 Keith Packard <keithp@keithp.com>
894 Include confdir.sgml.in in EXTRA_DIST
896 2003-10-09 Josselin Mouette <joss@debian.org>
898 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
899 * fc-list/fc-list.sgml fc-list/Makefile.am:
900 Replace fc-cache and fc-list manpages with more detailed, SGML
903 2003-09-23 Owen Taylor <otaylor@redhat.com>
905 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
906 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
907 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
910 2003-09-23 Owen Taylor <otaylor@redhat.com>
912 * fc-lang/ka.orth: Remove Georgian capitals, they
913 aren't used for normal writing. (Bug #116)
915 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
917 * doc/fontconfig-devel.sgml:
918 * doc/fontconfig-user.sgml:
919 * fontconfig/fontconfig.h:
921 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
922 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
924 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
925 monospace and dual-width fonts, allow roughly a 3% variance in the
928 2003-08-31 Manish Singh <yosh@gimp.org>
930 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
933 2003-08-15 Carl Worth <cworth@isi.edu>
935 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
936 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
938 * src/fcpat.c (FcValueListEntDestroy): New function to support
939 FcFini memory cleanup. Some statistics are not kept in
941 (FcValueListFreeze): Move hashTable outside this function so it
942 can be accessed by FcValueListThawAll.
943 (FcValueListThawAll): New function complements FcValueListFreeze.
944 (FcPatternBaseFreeze): Move hashTable outside this function so it
945 can be accessed by FcPatternBaseThawAll.
946 (FcPatternBaseThawAll): New function complements
948 (FcPatternThawAll): New function complements FcPatternFreeze.
950 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
952 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
953 allocated FcCharLeafEnt "blocks" so they can be freed later.
954 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
955 can be accessed by FcCharSetThawAllLeaf.
956 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
957 (FcCharSetFreezeBase): Move hashTable outside this function so it
958 can be accessed by FcCharSetThawAll.
959 (FcCharSetThawAll): New function complements FcCharSetFreeze.
961 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
962 (FcConfigDestroy): Fic leak of FcBlanks.
964 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
965 (main): Add call to FcFini when finished.
967 * fc-glyphname/fc-glyphname.c: Mark several local functions as
968 static. Add prototypes.
970 * doc/fcinit.fncs: Add documentation for FcFini function.
972 * doc/edit-sgml.c: Mark several local functions as static. Add
975 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
977 2003-06-15 Tor Lillqvist <tml@iki.fi>
979 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
980 before comparing (needed on Windows).
982 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
984 2003-06-13 Tor Lillqvist <tml@iki.fi>
986 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
989 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
990 WINDOWSFONTDIR token.
992 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
993 end, not to confuse libtool, which expects the EXPORTS line to be
994 the first. Add FcConfigEnableHome.
996 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
997 built as a DLL on Win32.
999 2003-06-09 Keith Packard <keithp@keithp.com>
1001 * Tag version 2.2.90
1003 2003-06-09 Keith Packard <keithp@keithp.com>
1005 * Optimization in FcLangSetIndex was broken, occasionally
1006 returning a pointer to the wrong location on miss
1008 * Add fc-match to test font matching from the command line.
1010 2003-05-31 Keith Packard <keithp@keithp.com>
1012 * (Bug 85) add support for culmus fonts
1013 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1014 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1016 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1018 * Fix "contains" op for strings and langsets.
1020 2003-05-17 Keith Packard <keithp@keithp.com>
1022 * Fix build error with BDF prop local. Free langset after query
1024 2003-05-14 Keith Packard <keithp@keithp.com>
1026 * Extract spacing from XLFD atom
1028 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1030 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1031 disappeared in 1.30.
1033 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1035 2003-05-12 Keith Packard <keithp@keithp.com>
1037 * Use FcIsWidth to share code
1039 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1040 misclassifying some Han fonts as monospaced.
1042 2003-05-07 Keith Packard <keithp@keithp.com>
1044 * Add filename-based accept/reject to ammend available fonts.
1046 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1047 older FreeType releases.
1049 2003-05-06 Keith Packard <keithp@keithp.com>
1051 * Remove 0b82 and Tamil numbers from tamil
1052 orthography (Jungshik Shin <jshin@mailaps.org>)
1054 2003-05-04 Keith Packard <keithp@keithp.com>
1056 + Map glyph names in fonts with adobe custom encoding to unicode
1058 2003-05-02 Keith Packard <keithp@keithp.com>
1060 * Add FC_WEIGHT_BOOK as weight 75
1062 2003-04-30 Keith Packard <keithp@keithp.com>
1064 * Typo in bitstream foundry name
1066 2003-04-24 Keith Packard <keithp@keithp.com>
1068 * Eliminate italic_angle check for PS fonts
1070 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1072 * Getting closer to fixing /etc/fonts hard-coding.
1074 2003-04-22 Keith Packard <keithp@keithp.com>
1076 * Update autogen.sh to work with newer automake versions
1077 * Handle pattern elements moving during multiple edits
1079 2003-04-23 James Henstridge <james@daa.com.au>
1081 * doc/fontconfig-devel.sgml: close the <para> element.
1083 * doc/fcpattern.fncs: close the <para> element.
1085 * doc/func.sgml: close the <refsynopsisdiv> element.
1087 2003-04-22 Keith Packard <keithp@keithp.com
1089 * Update autogen.sh to work with newer automake versions
1090 * Handle pattern elements moving during multiple edits
1092 2003-04-17 Colin Walters <walters@debian.org>
1094 + Remove some unused variables, and initialize some other ones so
1095 gcc doesn't warn us.
1097 2003-04-16 Keith Packard <keithp@keithp.com>
1099 + tag version 2.1.94
1101 2003-04-16 Keith Packard <keithp@keithp.com>
1103 + add BDF property fetching support for foundry
1104 (from Juliusz Chroboczek)
1105 + add BDF property fetching support for width
1107 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1109 + Implemented foundry generation for Type 1 and TrueType
1111 2003-04-11 Gerard Escalante <g2@magestudios.net>
1113 + Retrieve information from Type1 FontInfo dictionaries
1115 2003-04-07 Colin Walters <walters@verbum.org>
1117 + src/Makefile.am: Fix dummy makefile target names when
1118 MS_LIB_AVAILABLE isn't set.
1120 2003-03-22 Tor Lillqvist <tml@iki.fi>
1122 Changes for Windows:
1124 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1126 + We don't want to hardcode the fonts.conf file location in the
1127 DLL, so we look up the DLL location at run-time in a DllMain()
1128 function. The fonts.conf location is deduced from that.
1130 + The colon can't be used as path separator on Windows,
1131 semicolon is used instead. File path components can be separated
1132 with either slash or backslash. Absolute paths can also begin
1133 with a drive letter.
1135 + Add internal function FcStrLastSlash that strrchr's the last
1136 slash, or backslash on Windows.
1138 + There is no link() on Windows. For atomicity checks, mkdir a
1139 lock directory instead.
1141 + In addition to HOME, also look for USERPROFILE.
1143 + Recognize the special font directory token WINDOWSFONTDIR, to
1144 use the system's font directory.
1146 + Remove the fontconfig-def.cpp that was obsolete. Add
1147 fontconfig.def(.in), without internal functions.
1149 + Add a fontconfig-zip(.in) script, used to build a binary
1152 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1153 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1154 to main package and man3/* to devel package
1156 + Added missing defattr(-, root, root) to main RPM package
1158 + Added HTML and text development documentation to -devel subpackage
1160 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1161 + Added back the configure macro options --disable-docs, otherwise
1162 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1163 version number) unconditionally, causing RPM to fail the build due
1164 to _unpackaged_files_terminate_build. We pick up the pregenerated
1165 docs with %doc already.
1167 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1168 + Removed commented out rpm macro define at top of spec file,
1169 replacing it with a simple explanation, since rpm macros are
1170 expanded by rpm even in comments.
1172 + Changed /usr/bin to _bindir in BuildRequires lines
1174 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1176 + Reorganized file manifest lists
1178 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1180 + fontconfig.spec.in: Improvements from Red Hat spec file.
1182 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1184 + docs/*.sgml: SGML fixes.
1186 Sat Mar 1 17:28:53 PST 2003 keithp
1187 + Ok, so the ChangeLog is a bit out of date
1189 + Lots of bugs fixed; most are in bugzilla, the
1190 biggest problems were in cache management where
1191 Owen discovered the library would lose badly when
1192 combining fonts-cache and ~/.fonts-cache data
1194 + Converted from autoconf to automake. This after
1195 getting patches accepted into libtool to allow
1196 the '-version-number' argument which lets
1197 packages set version numbers explicitly rather
1198 than the roundabout libtool way
1200 + Converted documentation to SGML using the docbook
1201 DTD. Now .txt and .html documents are installed
1202 in /usr/share/doc/fontconfig and there's no
1203 man page. Perhaps a man version can be written
1206 Sat Aug 31 15:21:22 PDT 2002 keithp
1207 + Xrender and Xft had several bugs related to
1208 rendering manually placed or poly-face text
1210 + Added more complete memory tracing in fontconfig
1211 Checked with (patched) mozilla and found no leaks
1213 + Updated Latin orthographies by comparing those from
1214 evertype.com with those from eki.ee. Tried to make
1215 sensible choices, including chars that occured in both
1216 and leaving some optional chars out that occured only
1219 Mon Aug 26 16:33:04 PDT 2002 keithp
1220 + Owen discovered that FcLangSetHasLang wasn't actually
1221 checking the language set.
1223 Mon Aug 26 13:37:23 PDT 2002 keithp
1224 + Append a version number to cache filenames
1226 Thu Aug 22 11:36:18 PDT 2002 keithp
1228 + Add "contains" and "not_contains" operators and elements to
1231 + Changed semantics of eq operator for LangSets to check for
1232 FcLangEqual so that any match will do
1234 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1235 of FcValueEqual to check for identical values when inserting into
1236 the results. This broke when the above semantic change was made,
1237 now it uses FcValueEqual which is "more correct" in any case.
1239 Thu Aug 22 00:32:29 PDT 2002 keithp
1241 + Reimplement FC_LANG as new datatype. Lists of strings
1242 was consuming over a megabyte of memory for 401 fonts.
1244 + Freeze patterns loaded from cache files. This shares
1245 common value lists and common patterns which saves
1246 considerable memory.
1248 + Change the denotation of 'constant' charsets to use special
1249 ref value instead of separate boolean.
1251 + Clean up leak tracing stuff, found several unannoted alloc/free
1254 Tue Aug 20 16:17:37 PDT 2002 keithp
1256 + Fix memory leak when parsing matrices from XML
1258 Mon Aug 19 11:57:27 PDT 2002 keithp
1260 + Fix autoconf files to pass FONTCONFIG_PATH on
1261 compile line so that ${prefix} gets substituted
1264 + Use getc_unlocked/putc_unlocked on systems that
1265 provide them to avoid damage done to stdio by posix
1267 + Eliminate FC_PATTERN and FcTypePattern in favor of
1268 an extended api for FcConfigSubstitute which takes
1269 both the font and the pattern.
1271 + Add 'sans serif' alias for 'sans-serif' as some apps
1272 can't handle hyphens in family names
1274 + Eliminate pretense of support for libxml2
1276 + Comment origins of Han orthographies
1278 Tue Jul 30 18:37:09 PDT 2002 keithp
1280 + Add binding property to edit element so that strong
1281 binding values may be inserted by the config file.
1282 The default remains weak.
1284 Sun 28 Jul 04:16:55 PDT 2002 keithp
1286 + Tagged release candidate 1 in the CVS tree and
1287 placed fcpackage.rc1.tar.gz for distribution
1289 Thu Aug 1 08:55:08 PDT 2002 keithp
1291 + Fixed autoconf builds to always specify install
1292 target files (for BSD). Also fixed to
1293 define FONTCONFIG_PATH in config.h so that
1294 nonstandard installs will actually work.