1 2005-01-28 Keith Packard <keithp@keithp.com>
6 2005-01-28 Keith Packard <keithp@keithp.com>
9 * src/fcname.c: (FcNameBool):
10 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
11 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
12 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
13 Polite typechecking for test and edit expressions. Helps
14 catch errors in the font configuration.
16 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
18 reviewed by: Keith Packard <keithp@keithp.com>
21 Have --with-expat set EXPAT_CFLAGS (bug 2278)
23 2005-01-13 Keith Packard <keithp@keithp.com>
25 * doc/fontconfig-user.sgml:
26 Add SEE ALSO section (bug 2085)
28 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
30 reviewed by: Keith Packard <keithp@keithp.com>
35 * fc-case/Makefile.am:
36 * fc-glyphname/Makefile.am:
37 * fc-lang/Makefile.am:
38 * src/fontconfig.def.in:
39 Cross compiling fixes (bug 280)
41 2005-01-13 Keith Packard <keithp@keithp.com>
44 Update blanks list (Closes bug 86)
46 2005-01-04 Keith Packard <keithp@keithp.com>
48 * src/fccache.c: (FcCacheFontSetAdd):
49 Verify that every font pattern loaded from cache has
50 both FC_FILE and FC_FAMILY entries.
51 Attempt to fix bug #2219.
53 2004-12-29 Keith Packard <keithp@keithp.com>
57 * fontconfig/fontconfig.h:
58 Update for version 2.2.98
60 2004-12-29 Keith Packard <keithp@keithp.com>
62 * fontconfig/fontconfig.h:
63 Document ASCII limitations of Fc character conversion macros
64 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
65 Fix off-by-one error in utf-8 case walking code.
66 Add FcStrDowncase (useful for testing case conversion functions)
68 2004-12-29 Keith Packard <keithp@keithp.com>
72 clean up CVS ignore lists
73 * fc-lang/iso-3166.txt:
74 Add territory database
76 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
78 Reviewed by: Keith Packard
81 Remove Han characters from Korean orthography
83 2004-12-29 Keith Packard <keithp@keithp.com>
86 Reorder utility programs to make sure fc-case is run before fc-lang
87 as fc-lang uses fcstr.c which uses fccase.h
91 2004-12-29 Keith Packard <keithp@keithp.com>
94 Adopt some RedHat suggestions for standard font configuration.
98 * fc-case/CaseFolding.txt:
99 * fc-case/Makefile.am:
100 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
101 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
102 (dump), (parseRaw), (caseFoldReadRaw), (main):
103 * fc-case/fccase.tmpl.h:
104 Add new helper program 'fc-case' to construct case folding
105 tables from standard Unicode CaseFolding.txt file
108 * src/fclist.c: (FcListValueHash):
109 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
110 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
111 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
112 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
113 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
114 Re-implement case insensitive functions with Unicode
115 aware versions (including full case folding mappings)
117 2004-12-13 Keith Packard <keithp@keithp.com>
119 reviewed by: Owen Taylor <otaylor@redhat.com>
121 * src/fcmatch.c: (FcFontSetSort):
122 I changed FcFontSetSort to respect the generic aliases better
123 in the face of language matching.
125 What I did was to ammend the strict sort order used by FcFontSort so
126 that it 'satisfies' the language specified in the pattern by locating
127 the best matching font supporting each pattern language and then
128 ignores language in the remaining fonts for purposes of matching.
130 So, when asking for 'sans:lang=en', you'll get an English font first,
131 and then the remaining fonts sorted with respect to the 'sans' alias
132 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
134 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
136 reviewed by: Keith Packard <keithp@keithp.com>
138 * fontconfig/fontconfig.h:
141 Configuration changes to request synthetic emboldening of
142 fonts. The actual emboldening code will live in Xft.
144 2004-12-09 John Thacker <thacker@math.cornell.edu>
146 reviewed by: Keith Packard <keithp@keithp.com>
150 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
151 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
152 и), and don't even appear in KOI8-R. (The hypothesis that they
153 don't appear in KOI8-R due to their similarity with Latin I and i is
154 eliminated by their presence in KOI8-U.) I have a couple of fonts
155 with Russian support that don't have the letter.
157 Therefore, 0406 and 0456 should be removed from or commented out of
160 2004-12-06 michael meeks <mmeeks@novell.com>
162 Reviewed by: Keith Packard <keithp@keithp.com>
164 * src/fcinit.c: (FcMemReport):
166 * src/fclist.c: (FcObjectSetAdd):
167 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
168 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
169 * src/fcxml.c: (FcParsePatelt):
170 memoize strings and share a single copy for all uses. Note that
171 this could be improved further by using statically allocated blocks
172 and gluing multiple strings together, but I'm basically lazy.
173 In my environment with 800 font files, I get a savings of about 90KB.
175 2004-12-06 Keith Packard <keithp@keithp.com>
179 * config/Makedefs.in:
184 * doc/fccharset.fncs:
186 * doc/fcconstant.fncs:
188 * doc/fcfontset.fncs:
189 * doc/fcfreetype.fncs:
192 * doc/fcobjectset.fncs:
193 * doc/fcobjecttype.fncs:
194 * doc/fcpattern.fncs:
198 * doc/fontconfig-devel.sgml:
199 * doc/fontconfig-user.sgml:
201 * doc/version.sgml.in:
202 * fc-cache/Makefile.am:
203 * fc-cache/fc-cache.c:
204 * fc-glyphname/Makefile.am:
205 * fc-glyphname/fc-glyphname.c:
206 * fc-glyphname/fcglyphname.tmpl.h:
207 * fc-lang/Makefile.am:
217 * fc-lang/az_ir.orth:
252 * fc-lang/fc-lang.man:
253 * fc-lang/fclang.tmpl.h:
298 * fc-lang/ku_ir.orth:
331 * fc-lang/ps_af.orth:
332 * fc-lang/ps_pk.orth:
361 * fc-lang/ti_er.orth:
362 * fc-lang/ti_et.orth:
388 * fc-lang/zh_cn.orth:
389 * fc-lang/zh_hk.orth:
390 * fc-lang/zh_mo.orth:
391 * fc-lang/zh_sg.orth:
392 * fc-lang/zh_tw.orth:
394 * fc-list/Makefile.am:
396 * fc-match/Makefile.am:
397 * fc-match/fc-match.1:
398 * fc-match/fc-match.c:
399 * fontconfig/fcfreetype.h:
400 * fontconfig/fcprivate.h:
401 * fontconfig/fontconfig.h:
422 Change files from ISO-Latin-1 to UTF-8
424 2004-12-04 Keith Packard <keithp@keithp.com>
427 Update links to new freedesktop.org locations
429 Add uninstall-local to get rid of fonts.conf and local.conf if they
430 match the distributed versions. Fixes 'make distcheck'
432 2004-12-04 Keith Packard <keithp@keithp.com>
436 * fontconfig/fontconfig.h:
437 Updates for version 2.2.97
439 2004-12-04 Owen Taylor <otaylor@redhat.com>
441 reviewed by: Keith Packard <keithp@keithp.com>
443 * fc-cache/fc-cache.c: (main):
444 Sleep for two seconds before exiting to make sure timestamps
445 for future changes have distinct mod times in the file system.
448 Add Punjabi orthography. Bug #1671.
450 2004-12-04 Keith Packard <keithp@keithp.com>
453 Just remove the FC_FONTDATE -- it has locale issues and
454 annoys redhat multi-arch installs. Now that all X fonts are
455 included without prejudice, the chances of the date being at
456 all interesting are rather limited. Bug #505.
458 Add copyright and license
460 2004-12-04 Keith Packard <keithp@keithp.com>
463 Change default set of fonts to include all of
464 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
465 * doc/fontconfig-user.sgml:
466 Document new <include>directory-name</include> semantics
468 add <include ignore_missing="yes">conf.d</include>
470 Add selectfont to ignore bitmap fonts, add comment for
471 selectfont which accepts bitmap fonts.
474 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
475 Allow <include> configuration elements to reference directories.
476 Parse and load all files of the form [0-9]* in sorted order.
478 2004-12-04 Keith Packard <keithp@keithp.com>
481 Report command line for $srcdir/configure accurately.
484 2004-12-04 Keith Packard <keithp@keithp.com>
486 * src/fcfreetype.c: (FcFreeTypeQuery):
487 Check for non-empty face->family_name and face->style_name
488 before using those for the font. Empty names match everything.
491 2004-12-04 Keith Packard <keithp@keithp.com>
494 * fontconfig/fontconfig.h:
495 * src/fcfreetype.c: (FcFreeTypeQuery):
497 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
498 available. This provides font file format information (BDF, Type 1,
499 PCF, TrueType) for each font. Closes #109.
501 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
503 reviewed by: Keith Packard <keithp@keithp.com>
505 * doc/fontconfig-user.sgml:
508 * fontconfig/fontconfig.h:
509 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
510 (GetScriptTags), (FcFontCapabilities):
512 Add detection for font capabilities (bug #105)
514 2004-12-04 Keith Packard <keithp@keithp.com>
517 Move existing fonts.conf to fonts.conf.bak
520 Add detection of iconv
522 * doc/fcpattern.fncs:
523 * doc/fontconfig-devel.sgml:
524 * doc/fontconfig-user.sgml:
526 Document new selectfont elements
529 Switch to UTF-8 in comment
531 * fontconfig/fontconfig.h:
533 Add fullname, and family/style/fullname language entries
535 * src/fccache.c: (FcCacheFontSetAdd):
536 * src/fcdir.c: (FcFileScanConfig):
537 Respect selectfont/*/glob
540 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
541 (FcConfigCompareValue), (FcConfigPatternsAdd),
542 (FcConfigPatternsMatch), (FcConfigAcceptFont):
543 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
544 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
545 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
546 Add support for selectfont
548 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
549 (FcStringInPatternElement), (FcFreeTypeQuery):
550 Add multi-lingual family/style/fullname support
552 * src/fclist.c: (FcListPatternMatchAny):
553 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
555 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
556 (FcObjectStaticName):
557 Add new FcPatternRemove/FcPatternAppend.
558 FcObjectStaticName stores computed pattern element names which
559 are required to be static.
561 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
566 Remove spurious / after $(DESTDIR)
568 2004-06-30 Keith Packard <keithp@keithp.com>
572 * fontconfig/fontconfig.h:
575 2004-06-30 Keith Packard <keithp@keithp.com>
577 Provided by: Lubos Lunak <l.lunak@suse.cz>
579 * src/fccfg.c: (FcConfigUptoDate):
580 However FcConfigUptoDate() doesn't seem to work. See the attached
581 patch. First there's an obvious misplaced parenthesis making it
582 return always false, and second, even this call fails to detect font
583 changes (e.g. adding a new font to
584 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
585 well. The problem seems to be triggered by my fonts.conf specifying
586 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
587 doesn't include subdirs, unlike config->fontDirs.
589 2004-06-03 Keith Packard <keithp@keithp.com>
591 * fontconfig/fontconfig.h:
592 Remove comma at end of FcResult enum definition.
594 2004-05-29 Keith Packard <keithp@keithp.com>
597 Add steps to md5sum release
599 2004-05-29 Keith Packard <keithp@keithp.com>
603 * fontconfig/fontconfig.h:
606 2004-05-29 Keith Packard <keithp@keithp.com>
608 * fontconfig/fontconfig.h:
609 * src/fcmatch.c: (FcFontSetMatch):
610 Add FcResultOutOfMemory to provide an accurate error when
611 FcFontSetMatch fails in this way
614 Make #warning about lacking various FreeType features indicate
615 which version those features appeared so users know how to
616 fix the problem (Thanks to Anton Tropashko)
618 2004-05-05 Keith Packard <keithp@keithp.com>
620 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
621 Replace MIN/MAX/ABS macros which happen to have come
622 from FreeType with fontconfig-specific ones (FC_*)
624 2004-04-23 Keith Packard <keithp@keithp.com>
627 Extend release preparation instructions to include
628 notification and distribution steps
630 2004-04-23 Keith Packard <keithp@keithp.com>
634 * fontconfig/fontconfig.h:
635 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
637 2004-04-23 Keith Packard <keithp@keithp.com>
640 Ignore a few more autotool files
642 2004-04-14 Keith Packard <keithp@keithp.com>
645 Add instructions for doing a release
647 * fontconfig.spec.in:
648 clean up .spec file; perhaps this will be useful to somebody...
652 * fontconfig/fontconfig.h:
656 Make 'scanopen' static so GCC doesn't whine about lacking prototype
658 * fc-glyphname/Makefile.am:
659 * fc-lang/Makefile.am:
660 * fc-list/Makefile.am:
661 * fc-match/Makefile.am:
663 Add WARN_CFLAGS to pass -W flags for GCC systems
665 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
666 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
667 Change various char types around to match across
669 Fixed bug in using available_sizes[i].height which
670 is in pixels, not 64ths of a pixel.
672 2004-03-06 Keith Packard <keithp@keithp.com>
674 * src/fcfreetype.c: (FcFreeTypeQuery):
675 Force FC_FOUNDRY and FC_WIDTH to always be set so that
676 matches looking for explicit values prefer exact matches
678 2004-03-02 Keith Packard <keithp@keithp.com>
680 Supplied by: mfabian@suse.de (Mike FABIAN)
682 * src/fcfreetype.c: (FcFreeTypeQuery):
683 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
684 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
686 2004-02-21 Manish Singh <yosh@gimp.org>
688 * fc-glyphname/fc-glyphname.c: (main):
689 Cast strlen to int for printf, so we're 64-bit clean.
691 2004-02-11 Keith Packard <keithp@keithp.com>
694 * src/fcfreetype.c: (FcGetPixelSize):
695 Ok, so I messed up the test for y_ppem. Let's see if I
696 got it right this time.
698 2004-02-10 Keith Packard <keithp@keithp.com>
701 * src/fcfreetype.c: (FcGetPixelSize):
702 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
703 FT_Bitmap_Size record. Add a configure.in test for this
704 and change the code accordingly (using height instead).
706 2004-02-06 Keith Packard <keithp@keithp.com>
709 Add Low Saxon orthography
710 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
712 * src/fccfg.c: (FcConfigNewestFile):
713 Oops. Left 'newest.set' unset, which would miscompute
716 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
717 (FcFreeTypeCheckGlyph):
718 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
719 font properties (which report the wrong value in current FreeType)
721 Don't attempt to check for empty glyphs in non-scalable fonts; they
724 2004-02-01 Tor Lillqvist <tml@iki.fi>
726 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
727 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
728 cache if config->cache is NULL, which happens if FcConfigHome() is
729 NULL. Guard against that by using the temp folder in that case.
731 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
733 * fc-lang/az_ir.orth:
734 * fc-lang/ku_ir.orth:
735 * fc-lang/ps_af.orth:
736 * fc-lang/ps_pk.orth:
737 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
738 (Afghan and Pakistani).
740 Updated Urdu orthography with real data.
742 2003-12-11 Carl Worth <cworth@east.isi.edu>
744 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
747 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
749 (all-local): Remove excessive whitespace.
751 * autogen.sh: Add 'set -e' to abort when any program fails,
752 (avoids printing of 'now type make' after configure aborts).
754 2003-11-17 Eric Christopherson <rakko@charter.net>
756 reviewed by: Keith Packard <keithp@keithp.com>
759 * fontconfig/fcfreetype.h:
761 Switch to FreeType 2.1.7 style includes. Bug #150.
763 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
765 * fc-list/fc-list.sgml: Add some example usages.
767 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
770 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
773 2003-10-27 Keith Packard <keith@keithp.com>
776 * fontconfig/fontconfig.h:
777 Update to version 2.2.92
779 2003-10-27 Keith Packard <keithp@keithp.com>
784 * fc-cache/Makefile.am:
785 * fc-glyphname/Makefile.am:
786 * fc-lang/Makefile.am:
787 * fc-list/Makefile.am:
788 * fc-match/Makefile.am:
791 Yet more cleanups to finish getting 'make distcheck' working
792 This has been tested to ensure that it even works from a _build
795 2003-10-26 Keith Packard <keithp@keithp.com>
799 * fc-cache/Makefile.am:
800 * fc-glyphname/Makefile.am:
801 * fc-lang/Makefile.am:
802 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
803 * fc-list/Makefile.am:
804 * fc-match/Makefile.am:
805 Attempts to fix 'make distcheck' work. Things are
806 progressing pretty well, but there are still failures
807 long into the process dealing with docs (as always).
809 The big changes here are mostly to make $(srcdir) != "."
810 work correctly, fixing the docbook related sections and
811 fc-lang were particularily tricky. Docbook refuses to load
812 system entities from anywhere other than where the original .sgml
813 file was located, so no luck looking in "." for the
814 configure-generated version.sgml and confdir.sgml files.
816 fc-lang needed help finding .orth files; added a -d option
817 to set the directory as the least evil of many options.
819 Now to go use a faster machine and try and wring out the last
822 2003-10-26 Keith Packard <keithp@keithp.com>
826 2003-10-26 Keith Packard <keithp@keithp.com>
829 Include confdir.sgml.in in EXTRA_DIST
831 2003-10-09 Josselin Mouette <joss@debian.org>
833 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
834 * fc-list/fc-list.sgml fc-list/Makefile.am:
835 Replace fc-cache and fc-list manpages with more detailed, SGML
838 2003-09-23 Owen Taylor <otaylor@redhat.com>
840 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
841 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
842 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
845 2003-09-23 Owen Taylor <otaylor@redhat.com>
847 * fc-lang/ka.orth: Remove Georgian capitals, they
848 aren't used for normal writing. (Bug #116)
850 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
852 * doc/fontconfig-devel.sgml:
853 * doc/fontconfig-user.sgml:
854 * fontconfig/fontconfig.h:
856 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
857 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
859 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
860 monospace and dual-width fonts, allow roughly a 3% variance in the
863 2003-08-31 Manish Singh <yosh@gimp.org>
865 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
868 2003-08-15 Carl Worth <cworth@isi.edu>
870 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
871 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
873 * src/fcpat.c (FcValueListEntDestroy): New function to support
874 FcFini memory cleanup. Some statistics are not kept in
876 (FcValueListFreeze): Move hashTable outside this function so it
877 can be accessed by FcValueListThawAll.
878 (FcValueListThawAll): New function complements FcValueListFreeze.
879 (FcPatternBaseFreeze): Move hashTable outside this function so it
880 can be accessed by FcPatternBaseThawAll.
881 (FcPatternBaseThawAll): New function complements
883 (FcPatternThawAll): New function complements FcPatternFreeze.
885 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
887 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
888 allocated FcCharLeafEnt "blocks" so they can be freed later.
889 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
890 can be accessed by FcCharSetThawAllLeaf.
891 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
892 (FcCharSetFreezeBase): Move hashTable outside this function so it
893 can be accessed by FcCharSetThawAll.
894 (FcCharSetThawAll): New function complements FcCharSetFreeze.
896 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
897 (FcConfigDestroy): Fic leak of FcBlanks.
899 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
900 (main): Add call to FcFini when finished.
902 * fc-glyphname/fc-glyphname.c: Mark several local functions as
903 static. Add prototypes.
905 * doc/fcinit.fncs: Add documentation for FcFini function.
907 * doc/edit-sgml.c: Mark several local functions as static. Add
910 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
912 2003-06-15 Tor Lillqvist <tml@iki.fi>
914 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
915 before comparing (needed on Windows).
917 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
919 2003-06-13 Tor Lillqvist <tml@iki.fi>
921 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
924 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
925 WINDOWSFONTDIR token.
927 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
928 end, not to confuse libtool, which expects the EXPORTS line to be
929 the first. Add FcConfigEnableHome.
931 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
932 built as a DLL on Win32.
934 2003-06-09 Keith Packard <keithp@keithp.com>
938 2003-06-09 Keith Packard <keithp@keithp.com>
940 * Optimization in FcLangSetIndex was broken, occasionally
941 returning a pointer to the wrong location on miss
943 * Add fc-match to test font matching from the command line.
945 2003-05-31 Keith Packard <keithp@keithp.com>
947 * (Bug 85) add support for culmus fonts
948 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
949 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
951 2003-05-28 James Su <suzhe@turbolinux.com.cn>
953 * Fix "contains" op for strings and langsets.
955 2003-05-17 Keith Packard <keithp@keithp.com>
957 * Fix build error with BDF prop local. Free langset after query
959 2003-05-14 Keith Packard <keithp@keithp.com>
961 * Extract spacing from XLFD atom
963 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
965 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
968 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
970 2003-05-12 Keith Packard <keithp@keithp.com>
972 * Use FcIsWidth to share code
974 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
975 misclassifying some Han fonts as monospaced.
977 2003-05-07 Keith Packard <keithp@keithp.com>
979 * Add filename-based accept/reject to ammend available fonts.
981 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
982 older FreeType releases.
984 2003-05-06 Keith Packard <keithp@keithp.com>
986 * Remove 0b82 and Tamil numbers from tamil
987 orthography (Jungshik Shin <jshin@mailaps.org>)
989 2003-05-04 Keith Packard <keithp@keithp.com>
991 + Map glyph names in fonts with adobe custom encoding to unicode
993 2003-05-02 Keith Packard <keithp@keithp.com>
995 * Add FC_WEIGHT_BOOK as weight 75
997 2003-04-30 Keith Packard <keithp@keithp.com>
999 * Typo in bitstream foundry name
1001 2003-04-24 Keith Packard <keithp@keithp.com>
1003 * Eliminate italic_angle check for PS fonts
1005 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1007 * Getting closer to fixing /etc/fonts hard-coding.
1009 2003-04-22 Keith Packard <keithp@keithp.com>
1011 * Update autogen.sh to work with newer automake versions
1012 * Handle pattern elements moving during multiple edits
1014 2003-04-23 James Henstridge <james@daa.com.au>
1016 * doc/fontconfig-devel.sgml: close the <para> element.
1018 * doc/fcpattern.fncs: close the <para> element.
1020 * doc/func.sgml: close the <refsynopsisdiv> element.
1022 2003-04-22 Keith Packard <keithp@keithp.com
1024 * Update autogen.sh to work with newer automake versions
1025 * Handle pattern elements moving during multiple edits
1027 2003-04-17 Colin Walters <walters@debian.org>
1029 + Remove some unused variables, and initialize some other ones so
1030 gcc doesn't warn us.
1032 2003-04-16 Keith Packard <keithp@keithp.com>
1034 + tag version 2.1.94
1036 2003-04-16 Keith Packard <keithp@keithp.com>
1038 + add BDF property fetching support for foundry
1039 (from Juliusz Chroboczek)
1040 + add BDF property fetching support for width
1042 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1044 + Implemented foundry generation for Type 1 and TrueType
1046 2003-04-11 Gerard Escalante <g2@magestudios.net>
1048 + Retrieve information from Type1 FontInfo dictionaries
1050 2003-04-07 Colin Walters <walters@verbum.org>
1052 + src/Makefile.am: Fix dummy makefile target names when
1053 MS_LIB_AVAILABLE isn't set.
1055 2003-03-22 Tor Lillqvist <tml@iki.fi>
1057 Changes for Windows:
1059 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1061 + We don't want to hardcode the fonts.conf file location in the
1062 DLL, so we look up the DLL location at run-time in a DllMain()
1063 function. The fonts.conf location is deduced from that.
1065 + The colon can't be used as path separator on Windows,
1066 semicolon is used instead. File path components can be separated
1067 with either slash or backslash. Absolute paths can also begin
1068 with a drive letter.
1070 + Add internal function FcStrLastSlash that strrchr's the last
1071 slash, or backslash on Windows.
1073 + There is no link() on Windows. For atomicity checks, mkdir a
1074 lock directory instead.
1076 + In addition to HOME, also look for USERPROFILE.
1078 + Recognize the special font directory token WINDOWSFONTDIR, to
1079 use the system's font directory.
1081 + Remove the fontconfig-def.cpp that was obsolete. Add
1082 fontconfig.def(.in), without internal functions.
1084 + Add a fontconfig-zip(.in) script, used to build a binary
1087 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1088 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1089 to main package and man3/* to devel package
1091 + Added missing defattr(-, root, root) to main RPM package
1093 + Added HTML and text development documentation to -devel subpackage
1095 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1096 + Added back the configure macro options --disable-docs, otherwise
1097 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1098 version number) unconditionally, causing RPM to fail the build due
1099 to _unpackaged_files_terminate_build. We pick up the pregenerated
1100 docs with %doc already.
1102 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1103 + Removed commented out rpm macro define at top of spec file,
1104 replacing it with a simple explanation, since rpm macros are
1105 expanded by rpm even in comments.
1107 + Changed /usr/bin to _bindir in BuildRequires lines
1109 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1111 + Reorganized file manifest lists
1113 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1115 + fontconfig.spec.in: Improvements from Red Hat spec file.
1117 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1119 + docs/*.sgml: SGML fixes.
1121 Sat Mar 1 17:28:53 PST 2003 keithp
1122 + Ok, so the ChangeLog is a bit out of date
1124 + Lots of bugs fixed; most are in bugzilla, the
1125 biggest problems were in cache management where
1126 Owen discovered the library would lose badly when
1127 combining fonts-cache and ~/.fonts-cache data
1129 + Converted from autoconf to automake. This after
1130 getting patches accepted into libtool to allow
1131 the '-version-number' argument which lets
1132 packages set version numbers explicitly rather
1133 than the roundabout libtool way
1135 + Converted documentation to SGML using the docbook
1136 DTD. Now .txt and .html documents are installed
1137 in /usr/share/doc/fontconfig and there's no
1138 man page. Perhaps a man version can be written
1141 Sat Aug 31 15:21:22 PDT 2002 keithp
1142 + Xrender and Xft had several bugs related to
1143 rendering manually placed or poly-face text
1145 + Added more complete memory tracing in fontconfig
1146 Checked with (patched) mozilla and found no leaks
1148 + Updated Latin orthographies by comparing those from
1149 evertype.com with those from eki.ee. Tried to make
1150 sensible choices, including chars that occured in both
1151 and leaving some optional chars out that occured only
1154 Mon Aug 26 16:33:04 PDT 2002 keithp
1155 + Owen discovered that FcLangSetHasLang wasn't actually
1156 checking the language set.
1158 Mon Aug 26 13:37:23 PDT 2002 keithp
1159 + Append a version number to cache filenames
1161 Thu Aug 22 11:36:18 PDT 2002 keithp
1163 + Add "contains" and "not_contains" operators and elements to
1166 + Changed semantics of eq operator for LangSets to check for
1167 FcLangEqual so that any match will do
1169 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1170 of FcValueEqual to check for identical values when inserting into
1171 the results. This broke when the above semantic change was made,
1172 now it uses FcValueEqual which is "more correct" in any case.
1174 Thu Aug 22 00:32:29 PDT 2002 keithp
1176 + Reimplement FC_LANG as new datatype. Lists of strings
1177 was consuming over a megabyte of memory for 401 fonts.
1179 + Freeze patterns loaded from cache files. This shares
1180 common value lists and common patterns which saves
1181 considerable memory.
1183 + Change the denotation of 'constant' charsets to use special
1184 ref value instead of separate boolean.
1186 + Clean up leak tracing stuff, found several unannoted alloc/free
1189 Tue Aug 20 16:17:37 PDT 2002 keithp
1191 + Fix memory leak when parsing matrices from XML
1193 Mon Aug 19 11:57:27 PDT 2002 keithp
1195 + Fix autoconf files to pass FONTCONFIG_PATH on
1196 compile line so that ${prefix} gets substituted
1199 + Use getc_unlocked/putc_unlocked on systems that
1200 provide them to avoid damage done to stdio by posix
1202 + Eliminate FC_PATTERN and FcTypePattern in favor of
1203 an extended api for FcConfigSubstitute which takes
1204 both the font and the pattern.
1206 + Add 'sans serif' alias for 'sans-serif' as some apps
1207 can't handle hyphens in family names
1209 + Eliminate pretense of support for libxml2
1211 + Comment origins of Han orthographies
1213 Tue Jul 30 18:37:09 PDT 2002 keithp
1215 + Add binding property to edit element so that strong
1216 binding values may be inserted by the config file.
1217 The default remains weak.
1219 Sun 28 Jul 04:16:55 PDT 2002 keithp
1221 + Tagged release candidate 1 in the CVS tree and
1222 placed fcpackage.rc1.tar.gz for distribution
1224 Thu Aug 1 08:55:08 PDT 2002 keithp
1226 + Fixed autoconf builds to always specify install
1227 target files (for BSD). Also fixed to
1228 define FONTCONFIG_PATH in config.h so that
1229 nonstandard installs will actually work.