1 2005-04-27 Keith Packard <keithp@keithp.com>
5 Update date to real 2.3.2 release date.
6 Fix change attributions
8 2005-04-27 Keith Packard <keithp@keithp.com>
11 Bump so revision for 2.3.2
12 * fc-cache/fc-cache.c: (scanDirs):
13 Fix a few minor leaks in error cases.
15 2005-04-23 Keith Packard <keithp@keithp.com>
20 * fontconfig/fontconfig.h:
21 Update for version 2.3.2
23 2005-04-21 Keith Packard <keithp@keithp.com>
25 * debian/fontconfig.postinst:
26 Don't force bitmap font enable in default
27 configuration; allows users to override this in
38 * debian/po/templates.pot:
43 * fc-cache/fc-cache.c: (main):
44 Destroy font configuration on exit to help valgrind
47 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
48 (FcFreeTypeCheckGlyph):
49 Use own transcoding routines in preference to iconv
50 which appears to have leaks in some translators.
51 Call iconv_close after using iconv (oops).
53 Prefer unicode encoding of Euro char as some
54 fonts mis-encode Euro in other ones.
56 Must fetch bitmap glyphs to get width values
57 to check for monospace/dual-width fonts.
59 2005-04-13 Ross Burton <ross@burtonini.com>
62 Check that a pattern isn't already frozen in FcPatternFreeze.
64 2005-03-31 Ross Burton <ross@burtonini.com>
69 Run all FcPattern objects through FcObjectStaticName, so that
70 compares can be done on pointers instead of strings (#2659)
72 2005-03-17 Tor Lillqvist <tml@novell.com>
74 * src/fontconfig.def.in: Add the .dll to the dll name.
76 2005-03-10 Keith Packard <keithp@keithp.com>
78 * debian/README.Debian:
79 Update to reflect configuration changes
81 * debian/fontconfig.postinst:
82 Fix Autohint vs Autohinter mistake
83 * debian/fontconfig.templates:
84 Adopt changes from Josselin Mouette for configuration descriptions
85 Update debian to version 2.3.1-2
87 2005-03-08 Keith Packard <keithp@keithp.com>
91 Update debian for 2.3.1
93 2005-03-09 Tor Lillqvist <tml@novell.com>
95 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
98 * src/fccfg.c (FcConfigFileExists): Check also drive letter
101 2005-03-08 Keith Packard <keithp@keithp.com>
105 * fontconfig/fontconfig.h:
108 2005-03-05 Keith Packard <keithp@keithp.com>
110 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
111 Include space and remove numbers from valid script tags.
112 This ensures that tags like 'lao ' work while rejecting
113 those which have any digits.
114 Eliminate a spurious debugging variable (len)
116 2005-03-05 Keith Packard <keithp@keithp.com>
118 * src/fcfreetype.c: (addtag), (GetScriptTags),
119 (FcFontCapabilities):
120 Rework GSUB/GPOS script parsing to survive broken fonts.
121 Thanks for the broken font go to Manish Singh
123 2005-03-05 Keith Packard <keithp@keithp.com>
128 * debian/fontconfig.config:
129 * debian/fontconfig.templates:
131 Include 2.3 release information in changelog
132 Add Josselin Mouette as an Uploader
133 Set hinting_type to low priority configuration option
136 * debian/fontconfig.postinst:
137 yes_bitmaps.conf -> yes-bitmaps.conf
143 2005-03-02 Keith Packard <keithp@keithp.com>
146 * conf.d/Makefile.am:
147 * conf.d/autohint.conf:
148 * conf.d/no-sub-pixel.conf:
149 * conf.d/sub-pixel.conf:
150 * conf.d/unhinted.conf:
151 * debian/autohint.conf:
152 * debian/fontconfig.install:
153 * debian/fontconfig.postinst:
154 * debian/fontconfig.templates:
155 * debian/no-sub-pixel.conf:
156 * debian/unhinted.conf:
157 Move debian-specific conf file examples upstream.
159 Sub-pixel configuration examples must smash subpixel value
160 as Xft always sets it from X.
162 Change sub-pixel rendering debconf descriptions from
163 Enable/Disable to Always/Never.
165 2005-03-02 Keith Packard <keithp@keithp.com>
170 Ignore more build detritus
173 Add debian package construction stuff.
175 * config/config.guess:
177 Update to newer versions of these tools
180 Get library manuals to build again (we love automake).
182 * debian/README.Debian:
183 * debian/autohint.conf:
188 * debian/fontconfig-udeb.install:
189 * debian/fontconfig.config:
190 * debian/fontconfig.defoma:
191 * debian/fontconfig.dirs:
192 * debian/fontconfig.install:
193 * debian/fontconfig.postinst:
194 * debian/fontconfig.postrm:
195 * debian/fontconfig.templates:
196 * debian/libfontconfig1-dev.install:
197 * debian/libfontconfig1.install:
198 * debian/local.conf.md5sum:
199 * debian/no-sub-pixel.conf:
200 * debian/po/POTFILES.in:
209 * debian/po/pt_BR.po:
210 * debian/po/templates.pot:
212 * debian/po/zh_CN.po:
214 * debian/unhinted.conf:
215 Update debian build system to switch maintainers and
216 deal with 2.3 functionality
218 2005-03-01 Keith Packard <keithp@keithp.com>
222 * fontconfig/fontconfig.h:
225 2005-03-01 Keith Packard <keithp@keithp.com>
228 Generate and install PDF versions of the manuals
230 * doc/fcpattern.fncs:
234 Add missing exported functions, fix data types
236 * doc/fontconfig-devel.sgml:
237 Add missing pattern elements.
239 * doc/fontconfig-user.sgml:
240 Add missing pattern elements. Document conf.d usage,
241 clarify available orthography list. Fix some config file
242 attributes. Complete list of constants.
244 * fontconfig/fontconfig.h:
245 Mark FC_SOURCE deprecated.
247 * src/fcfreetype.c: (FcFreeTypeQuery):
248 Don't set FC_SOURCE any longer.
250 2005-02-28 Keith Packard <keithp@keithp.com>
253 * conf.d/Makefile.am:
255 * conf.d/no-bitmaps.conf:
256 * conf.d/sub-pixel.conf:
257 * conf.d/yes-bitmaps.conf:
259 Create prototype /etc/fonts/conf.d directory with a few
260 sample configuration files.
261 Deprecate use of local.conf for local customizations in favor of
262 this directory based scheme which is more easily integrated into
263 installation systems.
266 Tag FC_EMBOLDEN as a boolean variable
268 2005-02-10 Keith Packard <keithp@keithp.com>
270 reviewed by: pborelli@katamail.com
272 * src/fcdir.c: (FcFileScanConfig):
273 Free patterns from fonts which are rejected by configuration
276 2005-01-28 Keith Packard <keithp@keithp.com>
280 * fontconfig/fontconfig.h:
281 Update for version 2.2.99
283 2005-01-28 Keith Packard <keithp@keithp.com>
286 Add a few pointers (#2284, #2285)
288 2005-01-28 Keith Packard <keithp@keithp.com>
291 * src/fcname.c: (FcNameBool):
292 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
293 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
294 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
295 Polite typechecking for test and edit expressions. Helps
296 catch errors in the font configuration. (bug 229)
298 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
300 reviewed by: Keith Packard <keithp@keithp.com>
303 Have --with-expat set EXPAT_CFLAGS (bug 2278)
305 2005-01-13 Keith Packard <keithp@keithp.com>
307 * doc/fontconfig-user.sgml:
308 Add SEE ALSO section (bug 2085)
310 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
312 reviewed by: Keith Packard <keithp@keithp.com>
317 * fc-case/Makefile.am:
318 * fc-glyphname/Makefile.am:
319 * fc-lang/Makefile.am:
320 * src/fontconfig.def.in:
321 Cross compiling fixes (bug 280)
323 2005-01-13 Keith Packard <keithp@keithp.com>
326 Update blanks list (Closes bug 86)
328 2005-01-04 Keith Packard <keithp@keithp.com>
330 * src/fccache.c: (FcCacheFontSetAdd):
331 Verify that every font pattern loaded from cache has
332 both FC_FILE and FC_FAMILY entries.
333 Attempt to fix bug #2219.
335 2004-12-29 Keith Packard <keithp@keithp.com>
339 * fontconfig/fontconfig.h:
340 Update for version 2.2.98
342 2004-12-29 Keith Packard <keithp@keithp.com>
344 * fontconfig/fontconfig.h:
345 Document ASCII limitations of Fc character conversion macros
346 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
347 Fix off-by-one error in utf-8 case walking code.
348 Add FcStrDowncase (useful for testing case conversion functions)
350 2004-12-29 Keith Packard <keithp@keithp.com>
353 * fc-case/.cvsignore:
354 clean up CVS ignore lists
355 * fc-lang/iso-3166.txt:
356 Add territory database
358 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
360 Reviewed by: Keith Packard
363 Remove Han characters from Korean orthography
365 2004-12-29 Keith Packard <keithp@keithp.com>
368 Reorder utility programs to make sure fc-case is run before fc-lang
369 as fc-lang uses fcstr.c which uses fccase.h
373 2004-12-29 Keith Packard <keithp@keithp.com>
376 Adopt some RedHat suggestions for standard font configuration.
380 * fc-case/CaseFolding.txt:
381 * fc-case/Makefile.am:
382 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
383 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
384 (dump), (parseRaw), (caseFoldReadRaw), (main):
385 * fc-case/fccase.tmpl.h:
386 Add new helper program 'fc-case' to construct case folding
387 tables from standard Unicode CaseFolding.txt file
390 * src/fclist.c: (FcListValueHash):
391 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
392 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
393 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
394 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
395 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
396 Re-implement case insensitive functions with Unicode
397 aware versions (including full case folding mappings)
399 2004-12-13 Keith Packard <keithp@keithp.com>
401 reviewed by: Owen Taylor <otaylor@redhat.com>
403 * src/fcmatch.c: (FcFontSetSort):
404 I changed FcFontSetSort to respect the generic aliases better
405 in the face of language matching.
407 What I did was to ammend the strict sort order used by FcFontSort so
408 that it 'satisfies' the language specified in the pattern by locating
409 the best matching font supporting each pattern language and then
410 ignores language in the remaining fonts for purposes of matching.
412 So, when asking for 'sans:lang=en', you'll get an English font first,
413 and then the remaining fonts sorted with respect to the 'sans' alias
414 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
416 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
418 reviewed by: Keith Packard <keithp@keithp.com>
420 * fontconfig/fontconfig.h:
423 Configuration changes to request synthetic emboldening of
424 fonts. The actual emboldening code will live in Xft.
426 2004-12-09 John Thacker <thacker@math.cornell.edu>
428 reviewed by: Keith Packard <keithp@keithp.com>
432 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
433 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
434 и), and don't even appear in KOI8-R. (The hypothesis that they
435 don't appear in KOI8-R due to their similarity with Latin I and i is
436 eliminated by their presence in KOI8-U.) I have a couple of fonts
437 with Russian support that don't have the letter.
439 Therefore, 0406 and 0456 should be removed from or commented out of
442 2004-12-06 michael meeks <mmeeks@novell.com>
444 Reviewed by: Keith Packard <keithp@keithp.com>
446 * src/fcinit.c: (FcMemReport):
448 * src/fclist.c: (FcObjectSetAdd):
449 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
450 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
451 * src/fcxml.c: (FcParsePatelt):
452 memoize strings and share a single copy for all uses. Note that
453 this could be improved further by using statically allocated blocks
454 and gluing multiple strings together, but I'm basically lazy.
455 In my environment with 800 font files, I get a savings of about 90KB.
457 2004-12-06 Keith Packard <keithp@keithp.com>
461 * config/Makedefs.in:
466 * doc/fccharset.fncs:
468 * doc/fcconstant.fncs:
470 * doc/fcfontset.fncs:
471 * doc/fcfreetype.fncs:
474 * doc/fcobjectset.fncs:
475 * doc/fcobjecttype.fncs:
476 * doc/fcpattern.fncs:
480 * doc/fontconfig-devel.sgml:
481 * doc/fontconfig-user.sgml:
483 * doc/version.sgml.in:
484 * fc-cache/Makefile.am:
485 * fc-cache/fc-cache.c:
486 * fc-glyphname/Makefile.am:
487 * fc-glyphname/fc-glyphname.c:
488 * fc-glyphname/fcglyphname.tmpl.h:
489 * fc-lang/Makefile.am:
499 * fc-lang/az_ir.orth:
534 * fc-lang/fc-lang.man:
535 * fc-lang/fclang.tmpl.h:
580 * fc-lang/ku_ir.orth:
613 * fc-lang/ps_af.orth:
614 * fc-lang/ps_pk.orth:
643 * fc-lang/ti_er.orth:
644 * fc-lang/ti_et.orth:
670 * fc-lang/zh_cn.orth:
671 * fc-lang/zh_hk.orth:
672 * fc-lang/zh_mo.orth:
673 * fc-lang/zh_sg.orth:
674 * fc-lang/zh_tw.orth:
676 * fc-list/Makefile.am:
678 * fc-match/Makefile.am:
679 * fc-match/fc-match.1:
680 * fc-match/fc-match.c:
681 * fontconfig/fcfreetype.h:
682 * fontconfig/fcprivate.h:
683 * fontconfig/fontconfig.h:
704 Change files from ISO-Latin-1 to UTF-8
706 2004-12-04 Keith Packard <keithp@keithp.com>
709 Update links to new freedesktop.org locations
711 Add uninstall-local to get rid of fonts.conf and local.conf if they
712 match the distributed versions. Fixes 'make distcheck'
714 2004-12-04 Keith Packard <keithp@keithp.com>
718 * fontconfig/fontconfig.h:
719 Updates for version 2.2.97
721 2004-12-04 Owen Taylor <otaylor@redhat.com>
723 reviewed by: Keith Packard <keithp@keithp.com>
725 * fc-cache/fc-cache.c: (main):
726 Sleep for two seconds before exiting to make sure timestamps
727 for future changes have distinct mod times in the file system.
730 Add Punjabi orthography. Bug #1671.
732 2004-12-04 Keith Packard <keithp@keithp.com>
735 Just remove the FC_FONTDATE -- it has locale issues and
736 annoys redhat multi-arch installs. Now that all X fonts are
737 included without prejudice, the chances of the date being at
738 all interesting are rather limited. Bug #505.
740 Add copyright and license
742 2004-12-04 Keith Packard <keithp@keithp.com>
745 Change default set of fonts to include all of
746 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
747 * doc/fontconfig-user.sgml:
748 Document new <include>directory-name</include> semantics
750 add <include ignore_missing="yes">conf.d</include>
752 Add selectfont to ignore bitmap fonts, add comment for
753 selectfont which accepts bitmap fonts.
756 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
757 Allow <include> configuration elements to reference directories.
758 Parse and load all files of the form [0-9]* in sorted order.
760 2004-12-04 Keith Packard <keithp@keithp.com>
763 Report command line for $srcdir/configure accurately.
766 2004-12-04 Keith Packard <keithp@keithp.com>
768 * src/fcfreetype.c: (FcFreeTypeQuery):
769 Check for non-empty face->family_name and face->style_name
770 before using those for the font. Empty names match everything.
773 2004-12-04 Keith Packard <keithp@keithp.com>
776 * fontconfig/fontconfig.h:
777 * src/fcfreetype.c: (FcFreeTypeQuery):
779 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
780 available. This provides font file format information (BDF, Type 1,
781 PCF, TrueType) for each font. Closes #109.
783 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
785 reviewed by: Keith Packard <keithp@keithp.com>
787 * doc/fontconfig-user.sgml:
790 * fontconfig/fontconfig.h:
791 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
792 (GetScriptTags), (FcFontCapabilities):
794 Add detection for font capabilities (bug #105)
796 2004-12-04 Keith Packard <keithp@keithp.com>
799 Move existing fonts.conf to fonts.conf.bak
802 Add detection of iconv
804 * doc/fcpattern.fncs:
805 * doc/fontconfig-devel.sgml:
806 * doc/fontconfig-user.sgml:
808 Document new selectfont elements
811 Switch to UTF-8 in comment
813 * fontconfig/fontconfig.h:
815 Add fullname, and family/style/fullname language entries
817 * src/fccache.c: (FcCacheFontSetAdd):
818 * src/fcdir.c: (FcFileScanConfig):
819 Respect selectfont/*/glob
822 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
823 (FcConfigCompareValue), (FcConfigPatternsAdd),
824 (FcConfigPatternsMatch), (FcConfigAcceptFont):
825 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
826 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
827 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
828 Add support for selectfont
830 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
831 (FcStringInPatternElement), (FcFreeTypeQuery):
832 Add multi-lingual family/style/fullname support
834 * src/fclist.c: (FcListPatternMatchAny):
835 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
837 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
838 (FcObjectStaticName):
839 Add new FcPatternRemove/FcPatternAppend.
840 FcObjectStaticName stores computed pattern element names which
841 are required to be static.
843 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
848 Remove spurious / after $(DESTDIR)
850 2004-06-30 Keith Packard <keithp@keithp.com>
854 * fontconfig/fontconfig.h:
857 2004-06-30 Keith Packard <keithp@keithp.com>
859 Provided by: Lubos Lunak <l.lunak@suse.cz>
861 * src/fccfg.c: (FcConfigUptoDate):
862 However FcConfigUptoDate() doesn't seem to work. See the attached
863 patch. First there's an obvious misplaced parenthesis making it
864 return always false, and second, even this call fails to detect font
865 changes (e.g. adding a new font to
866 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
867 well. The problem seems to be triggered by my fonts.conf specifying
868 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
869 doesn't include subdirs, unlike config->fontDirs.
871 2004-06-03 Keith Packard <keithp@keithp.com>
873 * fontconfig/fontconfig.h:
874 Remove comma at end of FcResult enum definition.
876 2004-05-29 Keith Packard <keithp@keithp.com>
879 Add steps to md5sum release
881 2004-05-29 Keith Packard <keithp@keithp.com>
885 * fontconfig/fontconfig.h:
888 2004-05-29 Keith Packard <keithp@keithp.com>
890 * fontconfig/fontconfig.h:
891 * src/fcmatch.c: (FcFontSetMatch):
892 Add FcResultOutOfMemory to provide an accurate error when
893 FcFontSetMatch fails in this way
896 Make #warning about lacking various FreeType features indicate
897 which version those features appeared so users know how to
898 fix the problem (Thanks to Anton Tropashko)
900 2004-05-05 Keith Packard <keithp@keithp.com>
902 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
903 Replace MIN/MAX/ABS macros which happen to have come
904 from FreeType with fontconfig-specific ones (FC_*)
906 2004-04-23 Keith Packard <keithp@keithp.com>
909 Extend release preparation instructions to include
910 notification and distribution steps
912 2004-04-23 Keith Packard <keithp@keithp.com>
916 * fontconfig/fontconfig.h:
917 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
919 2004-04-23 Keith Packard <keithp@keithp.com>
922 Ignore a few more autotool files
924 2004-04-14 Keith Packard <keithp@keithp.com>
927 Add instructions for doing a release
929 * fontconfig.spec.in:
930 clean up .spec file; perhaps this will be useful to somebody...
934 * fontconfig/fontconfig.h:
938 Make 'scanopen' static so GCC doesn't whine about lacking prototype
940 * fc-glyphname/Makefile.am:
941 * fc-lang/Makefile.am:
942 * fc-list/Makefile.am:
943 * fc-match/Makefile.am:
945 Add WARN_CFLAGS to pass -W flags for GCC systems
947 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
948 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
949 Change various char types around to match across
951 Fixed bug in using available_sizes[i].height which
952 is in pixels, not 64ths of a pixel.
954 2004-03-06 Keith Packard <keithp@keithp.com>
956 * src/fcfreetype.c: (FcFreeTypeQuery):
957 Force FC_FOUNDRY and FC_WIDTH to always be set so that
958 matches looking for explicit values prefer exact matches
960 2004-03-02 Keith Packard <keithp@keithp.com>
962 Supplied by: mfabian@suse.de (Mike FABIAN)
964 * src/fcfreetype.c: (FcFreeTypeQuery):
965 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
966 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
968 2004-02-21 Manish Singh <yosh@gimp.org>
970 * fc-glyphname/fc-glyphname.c: (main):
971 Cast strlen to int for printf, so we're 64-bit clean.
973 2004-02-11 Keith Packard <keithp@keithp.com>
976 * src/fcfreetype.c: (FcGetPixelSize):
977 Ok, so I messed up the test for y_ppem. Let's see if I
978 got it right this time.
980 2004-02-10 Keith Packard <keithp@keithp.com>
983 * src/fcfreetype.c: (FcGetPixelSize):
984 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
985 FT_Bitmap_Size record. Add a configure.in test for this
986 and change the code accordingly (using height instead).
988 2004-02-06 Keith Packard <keithp@keithp.com>
991 Add Low Saxon orthography
992 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
994 * src/fccfg.c: (FcConfigNewestFile):
995 Oops. Left 'newest.set' unset, which would miscompute
998 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
999 (FcFreeTypeCheckGlyph):
1000 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1001 font properties (which report the wrong value in current FreeType)
1003 Don't attempt to check for empty glyphs in non-scalable fonts; they
1006 2004-02-01 Tor Lillqvist <tml@iki.fi>
1008 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1009 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1010 cache if config->cache is NULL, which happens if FcConfigHome() is
1011 NULL. Guard against that by using the temp folder in that case.
1013 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1015 * fc-lang/az_ir.orth:
1016 * fc-lang/ku_ir.orth:
1017 * fc-lang/ps_af.orth:
1018 * fc-lang/ps_pk.orth:
1019 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1020 (Afghan and Pakistani).
1022 Updated Urdu orthography with real data.
1024 2003-12-11 Carl Worth <cworth@east.isi.edu>
1026 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1029 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1031 (all-local): Remove excessive whitespace.
1033 * autogen.sh: Add 'set -e' to abort when any program fails,
1034 (avoids printing of 'now type make' after configure aborts).
1036 2003-11-17 Eric Christopherson <rakko@charter.net>
1038 reviewed by: Keith Packard <keithp@keithp.com>
1041 * fontconfig/fcfreetype.h:
1043 Switch to FreeType 2.1.7 style includes. Bug #150.
1045 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1047 * fc-list/fc-list.sgml: Add some example usages.
1049 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1052 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1055 2003-10-27 Keith Packard <keith@keithp.com>
1058 * fontconfig/fontconfig.h:
1059 Update to version 2.2.92
1061 2003-10-27 Keith Packard <keithp@keithp.com>
1066 * fc-cache/Makefile.am:
1067 * fc-glyphname/Makefile.am:
1068 * fc-lang/Makefile.am:
1069 * fc-list/Makefile.am:
1070 * fc-match/Makefile.am:
1073 Yet more cleanups to finish getting 'make distcheck' working
1074 This has been tested to ensure that it even works from a _build
1077 2003-10-26 Keith Packard <keithp@keithp.com>
1081 * fc-cache/Makefile.am:
1082 * fc-glyphname/Makefile.am:
1083 * fc-lang/Makefile.am:
1084 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1085 * fc-list/Makefile.am:
1086 * fc-match/Makefile.am:
1087 Attempts to fix 'make distcheck' work. Things are
1088 progressing pretty well, but there are still failures
1089 long into the process dealing with docs (as always).
1091 The big changes here are mostly to make $(srcdir) != "."
1092 work correctly, fixing the docbook related sections and
1093 fc-lang were particularily tricky. Docbook refuses to load
1094 system entities from anywhere other than where the original .sgml
1095 file was located, so no luck looking in "." for the
1096 configure-generated version.sgml and confdir.sgml files.
1098 fc-lang needed help finding .orth files; added a -d option
1099 to set the directory as the least evil of many options.
1101 Now to go use a faster machine and try and wring out the last
1104 2003-10-26 Keith Packard <keithp@keithp.com>
1108 2003-10-26 Keith Packard <keithp@keithp.com>
1111 Include confdir.sgml.in in EXTRA_DIST
1113 2003-10-09 Josselin Mouette <joss@debian.org>
1115 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1116 * fc-list/fc-list.sgml fc-list/Makefile.am:
1117 Replace fc-cache and fc-list manpages with more detailed, SGML
1120 2003-09-23 Owen Taylor <otaylor@redhat.com>
1122 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1123 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1124 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1127 2003-09-23 Owen Taylor <otaylor@redhat.com>
1129 * fc-lang/ka.orth: Remove Georgian capitals, they
1130 aren't used for normal writing. (Bug #116)
1132 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1134 * doc/fontconfig-devel.sgml:
1135 * doc/fontconfig-user.sgml:
1136 * fontconfig/fontconfig.h:
1138 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1139 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1141 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1142 monospace and dual-width fonts, allow roughly a 3% variance in the
1145 2003-08-31 Manish Singh <yosh@gimp.org>
1147 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1150 2003-08-15 Carl Worth <cworth@isi.edu>
1152 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1153 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1155 * src/fcpat.c (FcValueListEntDestroy): New function to support
1156 FcFini memory cleanup. Some statistics are not kept in
1158 (FcValueListFreeze): Move hashTable outside this function so it
1159 can be accessed by FcValueListThawAll.
1160 (FcValueListThawAll): New function complements FcValueListFreeze.
1161 (FcPatternBaseFreeze): Move hashTable outside this function so it
1162 can be accessed by FcPatternBaseThawAll.
1163 (FcPatternBaseThawAll): New function complements
1164 FcPatternBaseFreeze.
1165 (FcPatternThawAll): New function complements FcPatternFreeze.
1167 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1169 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1170 allocated FcCharLeafEnt "blocks" so they can be freed later.
1171 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1172 can be accessed by FcCharSetThawAllLeaf.
1173 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1174 (FcCharSetFreezeBase): Move hashTable outside this function so it
1175 can be accessed by FcCharSetThawAll.
1176 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1178 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1179 (FcConfigDestroy): Fic leak of FcBlanks.
1181 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1182 (main): Add call to FcFini when finished.
1184 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1185 static. Add prototypes.
1187 * doc/fcinit.fncs: Add documentation for FcFini function.
1189 * doc/edit-sgml.c: Mark several local functions as static. Add
1192 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1194 2003-06-15 Tor Lillqvist <tml@iki.fi>
1196 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1197 before comparing (needed on Windows).
1199 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1201 2003-06-13 Tor Lillqvist <tml@iki.fi>
1203 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1206 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1207 WINDOWSFONTDIR token.
1209 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1210 end, not to confuse libtool, which expects the EXPORTS line to be
1211 the first. Add FcConfigEnableHome.
1213 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1214 built as a DLL on Win32.
1216 2003-06-09 Keith Packard <keithp@keithp.com>
1218 * Tag version 2.2.90
1220 2003-06-09 Keith Packard <keithp@keithp.com>
1222 * Optimization in FcLangSetIndex was broken, occasionally
1223 returning a pointer to the wrong location on miss
1225 * Add fc-match to test font matching from the command line.
1227 2003-05-31 Keith Packard <keithp@keithp.com>
1229 * (Bug 85) add support for culmus fonts
1230 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1231 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1233 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1235 * Fix "contains" op for strings and langsets.
1237 2003-05-17 Keith Packard <keithp@keithp.com>
1239 * Fix build error with BDF prop local. Free langset after query
1241 2003-05-14 Keith Packard <keithp@keithp.com>
1243 * Extract spacing from XLFD atom
1245 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1247 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1248 disappeared in 1.30.
1250 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1252 2003-05-12 Keith Packard <keithp@keithp.com>
1254 * Use FcIsWidth to share code
1256 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1257 misclassifying some Han fonts as monospaced.
1259 2003-05-07 Keith Packard <keithp@keithp.com>
1261 * Add filename-based accept/reject to ammend available fonts.
1263 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1264 older FreeType releases.
1266 2003-05-06 Keith Packard <keithp@keithp.com>
1268 * Remove 0b82 and Tamil numbers from tamil
1269 orthography (Jungshik Shin <jshin@mailaps.org>)
1271 2003-05-04 Keith Packard <keithp@keithp.com>
1273 + Map glyph names in fonts with adobe custom encoding to unicode
1275 2003-05-02 Keith Packard <keithp@keithp.com>
1277 * Add FC_WEIGHT_BOOK as weight 75
1279 2003-04-30 Keith Packard <keithp@keithp.com>
1281 * Typo in bitstream foundry name
1283 2003-04-24 Keith Packard <keithp@keithp.com>
1285 * Eliminate italic_angle check for PS fonts
1287 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1289 * Getting closer to fixing /etc/fonts hard-coding.
1291 2003-04-22 Keith Packard <keithp@keithp.com>
1293 * Update autogen.sh to work with newer automake versions
1294 * Handle pattern elements moving during multiple edits
1296 2003-04-23 James Henstridge <james@daa.com.au>
1298 * doc/fontconfig-devel.sgml: close the <para> element.
1300 * doc/fcpattern.fncs: close the <para> element.
1302 * doc/func.sgml: close the <refsynopsisdiv> element.
1304 2003-04-22 Keith Packard <keithp@keithp.com
1306 * Update autogen.sh to work with newer automake versions
1307 * Handle pattern elements moving during multiple edits
1309 2003-04-17 Colin Walters <walters@debian.org>
1311 + Remove some unused variables, and initialize some other ones so
1312 gcc doesn't warn us.
1314 2003-04-16 Keith Packard <keithp@keithp.com>
1316 + tag version 2.1.94
1318 2003-04-16 Keith Packard <keithp@keithp.com>
1320 + add BDF property fetching support for foundry
1321 (from Juliusz Chroboczek)
1322 + add BDF property fetching support for width
1324 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1326 + Implemented foundry generation for Type 1 and TrueType
1328 2003-04-11 Gerard Escalante <g2@magestudios.net>
1330 + Retrieve information from Type1 FontInfo dictionaries
1332 2003-04-07 Colin Walters <walters@verbum.org>
1334 + src/Makefile.am: Fix dummy makefile target names when
1335 MS_LIB_AVAILABLE isn't set.
1337 2003-03-22 Tor Lillqvist <tml@iki.fi>
1339 Changes for Windows:
1341 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1343 + We don't want to hardcode the fonts.conf file location in the
1344 DLL, so we look up the DLL location at run-time in a DllMain()
1345 function. The fonts.conf location is deduced from that.
1347 + The colon can't be used as path separator on Windows,
1348 semicolon is used instead. File path components can be separated
1349 with either slash or backslash. Absolute paths can also begin
1350 with a drive letter.
1352 + Add internal function FcStrLastSlash that strrchr's the last
1353 slash, or backslash on Windows.
1355 + There is no link() on Windows. For atomicity checks, mkdir a
1356 lock directory instead.
1358 + In addition to HOME, also look for USERPROFILE.
1360 + Recognize the special font directory token WINDOWSFONTDIR, to
1361 use the system's font directory.
1363 + Remove the fontconfig-def.cpp that was obsolete. Add
1364 fontconfig.def(.in), without internal functions.
1366 + Add a fontconfig-zip(.in) script, used to build a binary
1369 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1370 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1371 to main package and man3/* to devel package
1373 + Added missing defattr(-, root, root) to main RPM package
1375 + Added HTML and text development documentation to -devel subpackage
1377 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1378 + Added back the configure macro options --disable-docs, otherwise
1379 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1380 version number) unconditionally, causing RPM to fail the build due
1381 to _unpackaged_files_terminate_build. We pick up the pregenerated
1382 docs with %doc already.
1384 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1385 + Removed commented out rpm macro define at top of spec file,
1386 replacing it with a simple explanation, since rpm macros are
1387 expanded by rpm even in comments.
1389 + Changed /usr/bin to _bindir in BuildRequires lines
1391 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1393 + Reorganized file manifest lists
1395 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1397 + fontconfig.spec.in: Improvements from Red Hat spec file.
1399 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1401 + docs/*.sgml: SGML fixes.
1403 Sat Mar 1 17:28:53 PST 2003 keithp
1404 + Ok, so the ChangeLog is a bit out of date
1406 + Lots of bugs fixed; most are in bugzilla, the
1407 biggest problems were in cache management where
1408 Owen discovered the library would lose badly when
1409 combining fonts-cache and ~/.fonts-cache data
1411 + Converted from autoconf to automake. This after
1412 getting patches accepted into libtool to allow
1413 the '-version-number' argument which lets
1414 packages set version numbers explicitly rather
1415 than the roundabout libtool way
1417 + Converted documentation to SGML using the docbook
1418 DTD. Now .txt and .html documents are installed
1419 in /usr/share/doc/fontconfig and there's no
1420 man page. Perhaps a man version can be written
1423 Sat Aug 31 15:21:22 PDT 2002 keithp
1424 + Xrender and Xft had several bugs related to
1425 rendering manually placed or poly-face text
1427 + Added more complete memory tracing in fontconfig
1428 Checked with (patched) mozilla and found no leaks
1430 + Updated Latin orthographies by comparing those from
1431 evertype.com with those from eki.ee. Tried to make
1432 sensible choices, including chars that occured in both
1433 and leaving some optional chars out that occured only
1436 Mon Aug 26 16:33:04 PDT 2002 keithp
1437 + Owen discovered that FcLangSetHasLang wasn't actually
1438 checking the language set.
1440 Mon Aug 26 13:37:23 PDT 2002 keithp
1441 + Append a version number to cache filenames
1443 Thu Aug 22 11:36:18 PDT 2002 keithp
1445 + Add "contains" and "not_contains" operators and elements to
1448 + Changed semantics of eq operator for LangSets to check for
1449 FcLangEqual so that any match will do
1451 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1452 of FcValueEqual to check for identical values when inserting into
1453 the results. This broke when the above semantic change was made,
1454 now it uses FcValueEqual which is "more correct" in any case.
1456 Thu Aug 22 00:32:29 PDT 2002 keithp
1458 + Reimplement FC_LANG as new datatype. Lists of strings
1459 was consuming over a megabyte of memory for 401 fonts.
1461 + Freeze patterns loaded from cache files. This shares
1462 common value lists and common patterns which saves
1463 considerable memory.
1465 + Change the denotation of 'constant' charsets to use special
1466 ref value instead of separate boolean.
1468 + Clean up leak tracing stuff, found several unannoted alloc/free
1471 Tue Aug 20 16:17:37 PDT 2002 keithp
1473 + Fix memory leak when parsing matrices from XML
1475 Mon Aug 19 11:57:27 PDT 2002 keithp
1477 + Fix autoconf files to pass FONTCONFIG_PATH on
1478 compile line so that ${prefix} gets substituted
1481 + Use getc_unlocked/putc_unlocked on systems that
1482 provide them to avoid damage done to stdio by posix
1484 + Eliminate FC_PATTERN and FcTypePattern in favor of
1485 an extended api for FcConfigSubstitute which takes
1486 both the font and the pattern.
1488 + Add 'sans serif' alias for 'sans-serif' as some apps
1489 can't handle hyphens in family names
1491 + Eliminate pretense of support for libxml2
1493 + Comment origins of Han orthographies
1495 Tue Jul 30 18:37:09 PDT 2002 keithp
1497 + Add binding property to edit element so that strong
1498 binding values may be inserted by the config file.
1499 The default remains weak.
1501 Sun 28 Jul 04:16:55 PDT 2002 keithp
1503 + Tagged release candidate 1 in the CVS tree and
1504 placed fcpackage.rc1.tar.gz for distribution
1506 Thu Aug 1 08:55:08 PDT 2002 keithp
1508 + Fixed autoconf builds to always specify install
1509 target files (for BSD). Also fixed to
1510 define FONTCONFIG_PATH in config.h so that
1511 nonstandard installs will actually work.