1 2005-05-20 Keith Packard <keithp@keithp.com>
5 Move fontconfig source package to libs as per override
7 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
9 reviewed by: Mike Fabian
12 The ka.orth file requires several characters which are not
13 used anymore in modern Georgian and which are missing in the free
14 Georgian TrueType fonts downloadable at:
16 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
18 2005-04-27 Keith Packard <keithp@keithp.com>
22 Update date to real 2.3.2 release date.
23 Fix change attributions
25 2005-04-27 Keith Packard <keithp@keithp.com>
28 Bump so revision for 2.3.2
29 * fc-cache/fc-cache.c: (scanDirs):
30 Fix a few minor leaks in error cases.
32 2005-04-23 Keith Packard <keithp@keithp.com>
37 * fontconfig/fontconfig.h:
38 Update for version 2.3.2
40 2005-04-21 Keith Packard <keithp@keithp.com>
42 * debian/fontconfig.postinst:
43 Don't force bitmap font enable in default
44 configuration; allows users to override this in
55 * debian/po/templates.pot:
60 * fc-cache/fc-cache.c: (main):
61 Destroy font configuration on exit to help valgrind
64 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
65 (FcFreeTypeCheckGlyph):
66 Use own transcoding routines in preference to iconv
67 which appears to have leaks in some translators.
68 Call iconv_close after using iconv (oops).
70 Prefer unicode encoding of Euro char as some
71 fonts mis-encode Euro in other ones.
73 Must fetch bitmap glyphs to get width values
74 to check for monospace/dual-width fonts.
76 2005-04-13 Ross Burton <ross@burtonini.com>
79 Check that a pattern isn't already frozen in FcPatternFreeze.
81 2005-03-31 Ross Burton <ross@burtonini.com>
86 Run all FcPattern objects through FcObjectStaticName, so that
87 compares can be done on pointers instead of strings (#2659)
89 2005-03-17 Tor Lillqvist <tml@novell.com>
91 * src/fontconfig.def.in: Add the .dll to the dll name.
93 2005-03-10 Keith Packard <keithp@keithp.com>
95 * debian/README.Debian:
96 Update to reflect configuration changes
98 * debian/fontconfig.postinst:
99 Fix Autohint vs Autohinter mistake
100 * debian/fontconfig.templates:
101 Adopt changes from Josselin Mouette for configuration descriptions
102 Update debian to version 2.3.1-2
104 2005-03-08 Keith Packard <keithp@keithp.com>
108 Update debian for 2.3.1
110 2005-03-09 Tor Lillqvist <tml@novell.com>
112 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
115 * src/fccfg.c (FcConfigFileExists): Check also drive letter
118 2005-03-08 Keith Packard <keithp@keithp.com>
122 * fontconfig/fontconfig.h:
125 2005-03-05 Keith Packard <keithp@keithp.com>
127 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
128 Include space and remove numbers from valid script tags.
129 This ensures that tags like 'lao ' work while rejecting
130 those which have any digits.
131 Eliminate a spurious debugging variable (len)
133 2005-03-05 Keith Packard <keithp@keithp.com>
135 * src/fcfreetype.c: (addtag), (GetScriptTags),
136 (FcFontCapabilities):
137 Rework GSUB/GPOS script parsing to survive broken fonts.
138 Thanks for the broken font go to Manish Singh
140 2005-03-05 Keith Packard <keithp@keithp.com>
145 * debian/fontconfig.config:
146 * debian/fontconfig.templates:
148 Include 2.3 release information in changelog
149 Add Josselin Mouette as an Uploader
150 Set hinting_type to low priority configuration option
153 * debian/fontconfig.postinst:
154 yes_bitmaps.conf -> yes-bitmaps.conf
160 2005-03-02 Keith Packard <keithp@keithp.com>
163 * conf.d/Makefile.am:
164 * conf.d/autohint.conf:
165 * conf.d/no-sub-pixel.conf:
166 * conf.d/sub-pixel.conf:
167 * conf.d/unhinted.conf:
168 * debian/autohint.conf:
169 * debian/fontconfig.install:
170 * debian/fontconfig.postinst:
171 * debian/fontconfig.templates:
172 * debian/no-sub-pixel.conf:
173 * debian/unhinted.conf:
174 Move debian-specific conf file examples upstream.
176 Sub-pixel configuration examples must smash subpixel value
177 as Xft always sets it from X.
179 Change sub-pixel rendering debconf descriptions from
180 Enable/Disable to Always/Never.
182 2005-03-02 Keith Packard <keithp@keithp.com>
187 Ignore more build detritus
190 Add debian package construction stuff.
192 * config/config.guess:
194 Update to newer versions of these tools
197 Get library manuals to build again (we love automake).
199 * debian/README.Debian:
200 * debian/autohint.conf:
205 * debian/fontconfig-udeb.install:
206 * debian/fontconfig.config:
207 * debian/fontconfig.defoma:
208 * debian/fontconfig.dirs:
209 * debian/fontconfig.install:
210 * debian/fontconfig.postinst:
211 * debian/fontconfig.postrm:
212 * debian/fontconfig.templates:
213 * debian/libfontconfig1-dev.install:
214 * debian/libfontconfig1.install:
215 * debian/local.conf.md5sum:
216 * debian/no-sub-pixel.conf:
217 * debian/po/POTFILES.in:
226 * debian/po/pt_BR.po:
227 * debian/po/templates.pot:
229 * debian/po/zh_CN.po:
231 * debian/unhinted.conf:
232 Update debian build system to switch maintainers and
233 deal with 2.3 functionality
235 2005-03-01 Keith Packard <keithp@keithp.com>
239 * fontconfig/fontconfig.h:
242 2005-03-01 Keith Packard <keithp@keithp.com>
245 Generate and install PDF versions of the manuals
247 * doc/fcpattern.fncs:
251 Add missing exported functions, fix data types
253 * doc/fontconfig-devel.sgml:
254 Add missing pattern elements.
256 * doc/fontconfig-user.sgml:
257 Add missing pattern elements. Document conf.d usage,
258 clarify available orthography list. Fix some config file
259 attributes. Complete list of constants.
261 * fontconfig/fontconfig.h:
262 Mark FC_SOURCE deprecated.
264 * src/fcfreetype.c: (FcFreeTypeQuery):
265 Don't set FC_SOURCE any longer.
267 2005-02-28 Keith Packard <keithp@keithp.com>
270 * conf.d/Makefile.am:
272 * conf.d/no-bitmaps.conf:
273 * conf.d/sub-pixel.conf:
274 * conf.d/yes-bitmaps.conf:
276 Create prototype /etc/fonts/conf.d directory with a few
277 sample configuration files.
278 Deprecate use of local.conf for local customizations in favor of
279 this directory based scheme which is more easily integrated into
280 installation systems.
283 Tag FC_EMBOLDEN as a boolean variable
285 2005-02-10 Keith Packard <keithp@keithp.com>
287 reviewed by: pborelli@katamail.com
289 * src/fcdir.c: (FcFileScanConfig):
290 Free patterns from fonts which are rejected by configuration
293 2005-01-28 Keith Packard <keithp@keithp.com>
297 * fontconfig/fontconfig.h:
298 Update for version 2.2.99
300 2005-01-28 Keith Packard <keithp@keithp.com>
303 Add a few pointers (#2284, #2285)
305 2005-01-28 Keith Packard <keithp@keithp.com>
308 * src/fcname.c: (FcNameBool):
309 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
310 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
311 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
312 Polite typechecking for test and edit expressions. Helps
313 catch errors in the font configuration. (bug 229)
315 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
317 reviewed by: Keith Packard <keithp@keithp.com>
320 Have --with-expat set EXPAT_CFLAGS (bug 2278)
322 2005-01-13 Keith Packard <keithp@keithp.com>
324 * doc/fontconfig-user.sgml:
325 Add SEE ALSO section (bug 2085)
327 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
329 reviewed by: Keith Packard <keithp@keithp.com>
334 * fc-case/Makefile.am:
335 * fc-glyphname/Makefile.am:
336 * fc-lang/Makefile.am:
337 * src/fontconfig.def.in:
338 Cross compiling fixes (bug 280)
340 2005-01-13 Keith Packard <keithp@keithp.com>
343 Update blanks list (Closes bug 86)
345 2005-01-04 Keith Packard <keithp@keithp.com>
347 * src/fccache.c: (FcCacheFontSetAdd):
348 Verify that every font pattern loaded from cache has
349 both FC_FILE and FC_FAMILY entries.
350 Attempt to fix bug #2219.
352 2004-12-29 Keith Packard <keithp@keithp.com>
356 * fontconfig/fontconfig.h:
357 Update for version 2.2.98
359 2004-12-29 Keith Packard <keithp@keithp.com>
361 * fontconfig/fontconfig.h:
362 Document ASCII limitations of Fc character conversion macros
363 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
364 Fix off-by-one error in utf-8 case walking code.
365 Add FcStrDowncase (useful for testing case conversion functions)
367 2004-12-29 Keith Packard <keithp@keithp.com>
370 * fc-case/.cvsignore:
371 clean up CVS ignore lists
372 * fc-lang/iso-3166.txt:
373 Add territory database
375 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
377 Reviewed by: Keith Packard
380 Remove Han characters from Korean orthography
382 2004-12-29 Keith Packard <keithp@keithp.com>
385 Reorder utility programs to make sure fc-case is run before fc-lang
386 as fc-lang uses fcstr.c which uses fccase.h
390 2004-12-29 Keith Packard <keithp@keithp.com>
393 Adopt some RedHat suggestions for standard font configuration.
397 * fc-case/CaseFolding.txt:
398 * fc-case/Makefile.am:
399 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
400 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
401 (dump), (parseRaw), (caseFoldReadRaw), (main):
402 * fc-case/fccase.tmpl.h:
403 Add new helper program 'fc-case' to construct case folding
404 tables from standard Unicode CaseFolding.txt file
407 * src/fclist.c: (FcListValueHash):
408 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
409 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
410 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
411 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
412 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
413 Re-implement case insensitive functions with Unicode
414 aware versions (including full case folding mappings)
416 2004-12-13 Keith Packard <keithp@keithp.com>
418 reviewed by: Owen Taylor <otaylor@redhat.com>
420 * src/fcmatch.c: (FcFontSetSort):
421 I changed FcFontSetSort to respect the generic aliases better
422 in the face of language matching.
424 What I did was to ammend the strict sort order used by FcFontSort so
425 that it 'satisfies' the language specified in the pattern by locating
426 the best matching font supporting each pattern language and then
427 ignores language in the remaining fonts for purposes of matching.
429 So, when asking for 'sans:lang=en', you'll get an English font first,
430 and then the remaining fonts sorted with respect to the 'sans' alias
431 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
433 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
435 reviewed by: Keith Packard <keithp@keithp.com>
437 * fontconfig/fontconfig.h:
440 Configuration changes to request synthetic emboldening of
441 fonts. The actual emboldening code will live in Xft.
443 2004-12-09 John Thacker <thacker@math.cornell.edu>
445 reviewed by: Keith Packard <keithp@keithp.com>
449 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
450 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
451 и), and don't even appear in KOI8-R. (The hypothesis that they
452 don't appear in KOI8-R due to their similarity with Latin I and i is
453 eliminated by their presence in KOI8-U.) I have a couple of fonts
454 with Russian support that don't have the letter.
456 Therefore, 0406 and 0456 should be removed from or commented out of
459 2004-12-06 michael meeks <mmeeks@novell.com>
461 Reviewed by: Keith Packard <keithp@keithp.com>
463 * src/fcinit.c: (FcMemReport):
465 * src/fclist.c: (FcObjectSetAdd):
466 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
467 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
468 * src/fcxml.c: (FcParsePatelt):
469 memoize strings and share a single copy for all uses. Note that
470 this could be improved further by using statically allocated blocks
471 and gluing multiple strings together, but I'm basically lazy.
472 In my environment with 800 font files, I get a savings of about 90KB.
474 2004-12-06 Keith Packard <keithp@keithp.com>
478 * config/Makedefs.in:
483 * doc/fccharset.fncs:
485 * doc/fcconstant.fncs:
487 * doc/fcfontset.fncs:
488 * doc/fcfreetype.fncs:
491 * doc/fcobjectset.fncs:
492 * doc/fcobjecttype.fncs:
493 * doc/fcpattern.fncs:
497 * doc/fontconfig-devel.sgml:
498 * doc/fontconfig-user.sgml:
500 * doc/version.sgml.in:
501 * fc-cache/Makefile.am:
502 * fc-cache/fc-cache.c:
503 * fc-glyphname/Makefile.am:
504 * fc-glyphname/fc-glyphname.c:
505 * fc-glyphname/fcglyphname.tmpl.h:
506 * fc-lang/Makefile.am:
516 * fc-lang/az_ir.orth:
551 * fc-lang/fc-lang.man:
552 * fc-lang/fclang.tmpl.h:
597 * fc-lang/ku_ir.orth:
630 * fc-lang/ps_af.orth:
631 * fc-lang/ps_pk.orth:
660 * fc-lang/ti_er.orth:
661 * fc-lang/ti_et.orth:
687 * fc-lang/zh_cn.orth:
688 * fc-lang/zh_hk.orth:
689 * fc-lang/zh_mo.orth:
690 * fc-lang/zh_sg.orth:
691 * fc-lang/zh_tw.orth:
693 * fc-list/Makefile.am:
695 * fc-match/Makefile.am:
696 * fc-match/fc-match.1:
697 * fc-match/fc-match.c:
698 * fontconfig/fcfreetype.h:
699 * fontconfig/fcprivate.h:
700 * fontconfig/fontconfig.h:
721 Change files from ISO-Latin-1 to UTF-8
723 2004-12-04 Keith Packard <keithp@keithp.com>
726 Update links to new freedesktop.org locations
728 Add uninstall-local to get rid of fonts.conf and local.conf if they
729 match the distributed versions. Fixes 'make distcheck'
731 2004-12-04 Keith Packard <keithp@keithp.com>
735 * fontconfig/fontconfig.h:
736 Updates for version 2.2.97
738 2004-12-04 Owen Taylor <otaylor@redhat.com>
740 reviewed by: Keith Packard <keithp@keithp.com>
742 * fc-cache/fc-cache.c: (main):
743 Sleep for two seconds before exiting to make sure timestamps
744 for future changes have distinct mod times in the file system.
747 Add Punjabi orthography. Bug #1671.
749 2004-12-04 Keith Packard <keithp@keithp.com>
752 Just remove the FC_FONTDATE -- it has locale issues and
753 annoys redhat multi-arch installs. Now that all X fonts are
754 included without prejudice, the chances of the date being at
755 all interesting are rather limited. Bug #505.
757 Add copyright and license
759 2004-12-04 Keith Packard <keithp@keithp.com>
762 Change default set of fonts to include all of
763 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
764 * doc/fontconfig-user.sgml:
765 Document new <include>directory-name</include> semantics
767 add <include ignore_missing="yes">conf.d</include>
769 Add selectfont to ignore bitmap fonts, add comment for
770 selectfont which accepts bitmap fonts.
773 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
774 Allow <include> configuration elements to reference directories.
775 Parse and load all files of the form [0-9]* in sorted order.
777 2004-12-04 Keith Packard <keithp@keithp.com>
780 Report command line for $srcdir/configure accurately.
783 2004-12-04 Keith Packard <keithp@keithp.com>
785 * src/fcfreetype.c: (FcFreeTypeQuery):
786 Check for non-empty face->family_name and face->style_name
787 before using those for the font. Empty names match everything.
790 2004-12-04 Keith Packard <keithp@keithp.com>
793 * fontconfig/fontconfig.h:
794 * src/fcfreetype.c: (FcFreeTypeQuery):
796 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
797 available. This provides font file format information (BDF, Type 1,
798 PCF, TrueType) for each font. Closes #109.
800 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
802 reviewed by: Keith Packard <keithp@keithp.com>
804 * doc/fontconfig-user.sgml:
807 * fontconfig/fontconfig.h:
808 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
809 (GetScriptTags), (FcFontCapabilities):
811 Add detection for font capabilities (bug #105)
813 2004-12-04 Keith Packard <keithp@keithp.com>
816 Move existing fonts.conf to fonts.conf.bak
819 Add detection of iconv
821 * doc/fcpattern.fncs:
822 * doc/fontconfig-devel.sgml:
823 * doc/fontconfig-user.sgml:
825 Document new selectfont elements
828 Switch to UTF-8 in comment
830 * fontconfig/fontconfig.h:
832 Add fullname, and family/style/fullname language entries
834 * src/fccache.c: (FcCacheFontSetAdd):
835 * src/fcdir.c: (FcFileScanConfig):
836 Respect selectfont/*/glob
839 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
840 (FcConfigCompareValue), (FcConfigPatternsAdd),
841 (FcConfigPatternsMatch), (FcConfigAcceptFont):
842 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
843 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
844 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
845 Add support for selectfont
847 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
848 (FcStringInPatternElement), (FcFreeTypeQuery):
849 Add multi-lingual family/style/fullname support
851 * src/fclist.c: (FcListPatternMatchAny):
852 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
854 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
855 (FcObjectStaticName):
856 Add new FcPatternRemove/FcPatternAppend.
857 FcObjectStaticName stores computed pattern element names which
858 are required to be static.
860 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
865 Remove spurious / after $(DESTDIR)
867 2004-06-30 Keith Packard <keithp@keithp.com>
871 * fontconfig/fontconfig.h:
874 2004-06-30 Keith Packard <keithp@keithp.com>
876 Provided by: Lubos Lunak <l.lunak@suse.cz>
878 * src/fccfg.c: (FcConfigUptoDate):
879 However FcConfigUptoDate() doesn't seem to work. See the attached
880 patch. First there's an obvious misplaced parenthesis making it
881 return always false, and second, even this call fails to detect font
882 changes (e.g. adding a new font to
883 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
884 well. The problem seems to be triggered by my fonts.conf specifying
885 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
886 doesn't include subdirs, unlike config->fontDirs.
888 2004-06-03 Keith Packard <keithp@keithp.com>
890 * fontconfig/fontconfig.h:
891 Remove comma at end of FcResult enum definition.
893 2004-05-29 Keith Packard <keithp@keithp.com>
896 Add steps to md5sum release
898 2004-05-29 Keith Packard <keithp@keithp.com>
902 * fontconfig/fontconfig.h:
905 2004-05-29 Keith Packard <keithp@keithp.com>
907 * fontconfig/fontconfig.h:
908 * src/fcmatch.c: (FcFontSetMatch):
909 Add FcResultOutOfMemory to provide an accurate error when
910 FcFontSetMatch fails in this way
913 Make #warning about lacking various FreeType features indicate
914 which version those features appeared so users know how to
915 fix the problem (Thanks to Anton Tropashko)
917 2004-05-05 Keith Packard <keithp@keithp.com>
919 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
920 Replace MIN/MAX/ABS macros which happen to have come
921 from FreeType with fontconfig-specific ones (FC_*)
923 2004-04-23 Keith Packard <keithp@keithp.com>
926 Extend release preparation instructions to include
927 notification and distribution steps
929 2004-04-23 Keith Packard <keithp@keithp.com>
933 * fontconfig/fontconfig.h:
934 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
936 2004-04-23 Keith Packard <keithp@keithp.com>
939 Ignore a few more autotool files
941 2004-04-14 Keith Packard <keithp@keithp.com>
944 Add instructions for doing a release
946 * fontconfig.spec.in:
947 clean up .spec file; perhaps this will be useful to somebody...
951 * fontconfig/fontconfig.h:
955 Make 'scanopen' static so GCC doesn't whine about lacking prototype
957 * fc-glyphname/Makefile.am:
958 * fc-lang/Makefile.am:
959 * fc-list/Makefile.am:
960 * fc-match/Makefile.am:
962 Add WARN_CFLAGS to pass -W flags for GCC systems
964 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
965 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
966 Change various char types around to match across
968 Fixed bug in using available_sizes[i].height which
969 is in pixels, not 64ths of a pixel.
971 2004-03-06 Keith Packard <keithp@keithp.com>
973 * src/fcfreetype.c: (FcFreeTypeQuery):
974 Force FC_FOUNDRY and FC_WIDTH to always be set so that
975 matches looking for explicit values prefer exact matches
977 2004-03-02 Keith Packard <keithp@keithp.com>
979 Supplied by: mfabian@suse.de (Mike FABIAN)
981 * src/fcfreetype.c: (FcFreeTypeQuery):
982 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
983 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
985 2004-02-21 Manish Singh <yosh@gimp.org>
987 * fc-glyphname/fc-glyphname.c: (main):
988 Cast strlen to int for printf, so we're 64-bit clean.
990 2004-02-11 Keith Packard <keithp@keithp.com>
993 * src/fcfreetype.c: (FcGetPixelSize):
994 Ok, so I messed up the test for y_ppem. Let's see if I
995 got it right this time.
997 2004-02-10 Keith Packard <keithp@keithp.com>
1000 * src/fcfreetype.c: (FcGetPixelSize):
1001 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1002 FT_Bitmap_Size record. Add a configure.in test for this
1003 and change the code accordingly (using height instead).
1005 2004-02-06 Keith Packard <keithp@keithp.com>
1008 Add Low Saxon orthography
1009 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1011 * src/fccfg.c: (FcConfigNewestFile):
1012 Oops. Left 'newest.set' unset, which would miscompute
1015 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1016 (FcFreeTypeCheckGlyph):
1017 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1018 font properties (which report the wrong value in current FreeType)
1020 Don't attempt to check for empty glyphs in non-scalable fonts; they
1023 2004-02-01 Tor Lillqvist <tml@iki.fi>
1025 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1026 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1027 cache if config->cache is NULL, which happens if FcConfigHome() is
1028 NULL. Guard against that by using the temp folder in that case.
1030 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1032 * fc-lang/az_ir.orth:
1033 * fc-lang/ku_ir.orth:
1034 * fc-lang/ps_af.orth:
1035 * fc-lang/ps_pk.orth:
1036 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1037 (Afghan and Pakistani).
1039 Updated Urdu orthography with real data.
1041 2003-12-11 Carl Worth <cworth@east.isi.edu>
1043 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1046 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1048 (all-local): Remove excessive whitespace.
1050 * autogen.sh: Add 'set -e' to abort when any program fails,
1051 (avoids printing of 'now type make' after configure aborts).
1053 2003-11-17 Eric Christopherson <rakko@charter.net>
1055 reviewed by: Keith Packard <keithp@keithp.com>
1058 * fontconfig/fcfreetype.h:
1060 Switch to FreeType 2.1.7 style includes. Bug #150.
1062 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1064 * fc-list/fc-list.sgml: Add some example usages.
1066 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1069 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1072 2003-10-27 Keith Packard <keith@keithp.com>
1075 * fontconfig/fontconfig.h:
1076 Update to version 2.2.92
1078 2003-10-27 Keith Packard <keithp@keithp.com>
1083 * fc-cache/Makefile.am:
1084 * fc-glyphname/Makefile.am:
1085 * fc-lang/Makefile.am:
1086 * fc-list/Makefile.am:
1087 * fc-match/Makefile.am:
1090 Yet more cleanups to finish getting 'make distcheck' working
1091 This has been tested to ensure that it even works from a _build
1094 2003-10-26 Keith Packard <keithp@keithp.com>
1098 * fc-cache/Makefile.am:
1099 * fc-glyphname/Makefile.am:
1100 * fc-lang/Makefile.am:
1101 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1102 * fc-list/Makefile.am:
1103 * fc-match/Makefile.am:
1104 Attempts to fix 'make distcheck' work. Things are
1105 progressing pretty well, but there are still failures
1106 long into the process dealing with docs (as always).
1108 The big changes here are mostly to make $(srcdir) != "."
1109 work correctly, fixing the docbook related sections and
1110 fc-lang were particularily tricky. Docbook refuses to load
1111 system entities from anywhere other than where the original .sgml
1112 file was located, so no luck looking in "." for the
1113 configure-generated version.sgml and confdir.sgml files.
1115 fc-lang needed help finding .orth files; added a -d option
1116 to set the directory as the least evil of many options.
1118 Now to go use a faster machine and try and wring out the last
1121 2003-10-26 Keith Packard <keithp@keithp.com>
1125 2003-10-26 Keith Packard <keithp@keithp.com>
1128 Include confdir.sgml.in in EXTRA_DIST
1130 2003-10-09 Josselin Mouette <joss@debian.org>
1132 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1133 * fc-list/fc-list.sgml fc-list/Makefile.am:
1134 Replace fc-cache and fc-list manpages with more detailed, SGML
1137 2003-09-23 Owen Taylor <otaylor@redhat.com>
1139 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1140 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1141 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1144 2003-09-23 Owen Taylor <otaylor@redhat.com>
1146 * fc-lang/ka.orth: Remove Georgian capitals, they
1147 aren't used for normal writing. (Bug #116)
1149 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1151 * doc/fontconfig-devel.sgml:
1152 * doc/fontconfig-user.sgml:
1153 * fontconfig/fontconfig.h:
1155 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1156 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1158 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1159 monospace and dual-width fonts, allow roughly a 3% variance in the
1162 2003-08-31 Manish Singh <yosh@gimp.org>
1164 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1167 2003-08-15 Carl Worth <cworth@isi.edu>
1169 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1170 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1172 * src/fcpat.c (FcValueListEntDestroy): New function to support
1173 FcFini memory cleanup. Some statistics are not kept in
1175 (FcValueListFreeze): Move hashTable outside this function so it
1176 can be accessed by FcValueListThawAll.
1177 (FcValueListThawAll): New function complements FcValueListFreeze.
1178 (FcPatternBaseFreeze): Move hashTable outside this function so it
1179 can be accessed by FcPatternBaseThawAll.
1180 (FcPatternBaseThawAll): New function complements
1181 FcPatternBaseFreeze.
1182 (FcPatternThawAll): New function complements FcPatternFreeze.
1184 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1186 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1187 allocated FcCharLeafEnt "blocks" so they can be freed later.
1188 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1189 can be accessed by FcCharSetThawAllLeaf.
1190 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1191 (FcCharSetFreezeBase): Move hashTable outside this function so it
1192 can be accessed by FcCharSetThawAll.
1193 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1195 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1196 (FcConfigDestroy): Fic leak of FcBlanks.
1198 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1199 (main): Add call to FcFini when finished.
1201 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1202 static. Add prototypes.
1204 * doc/fcinit.fncs: Add documentation for FcFini function.
1206 * doc/edit-sgml.c: Mark several local functions as static. Add
1209 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1211 2003-06-15 Tor Lillqvist <tml@iki.fi>
1213 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1214 before comparing (needed on Windows).
1216 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1218 2003-06-13 Tor Lillqvist <tml@iki.fi>
1220 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1223 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1224 WINDOWSFONTDIR token.
1226 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1227 end, not to confuse libtool, which expects the EXPORTS line to be
1228 the first. Add FcConfigEnableHome.
1230 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1231 built as a DLL on Win32.
1233 2003-06-09 Keith Packard <keithp@keithp.com>
1235 * Tag version 2.2.90
1237 2003-06-09 Keith Packard <keithp@keithp.com>
1239 * Optimization in FcLangSetIndex was broken, occasionally
1240 returning a pointer to the wrong location on miss
1242 * Add fc-match to test font matching from the command line.
1244 2003-05-31 Keith Packard <keithp@keithp.com>
1246 * (Bug 85) add support for culmus fonts
1247 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1248 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1250 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1252 * Fix "contains" op for strings and langsets.
1254 2003-05-17 Keith Packard <keithp@keithp.com>
1256 * Fix build error with BDF prop local. Free langset after query
1258 2003-05-14 Keith Packard <keithp@keithp.com>
1260 * Extract spacing from XLFD atom
1262 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1264 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1265 disappeared in 1.30.
1267 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1269 2003-05-12 Keith Packard <keithp@keithp.com>
1271 * Use FcIsWidth to share code
1273 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1274 misclassifying some Han fonts as monospaced.
1276 2003-05-07 Keith Packard <keithp@keithp.com>
1278 * Add filename-based accept/reject to ammend available fonts.
1280 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1281 older FreeType releases.
1283 2003-05-06 Keith Packard <keithp@keithp.com>
1285 * Remove 0b82 and Tamil numbers from tamil
1286 orthography (Jungshik Shin <jshin@mailaps.org>)
1288 2003-05-04 Keith Packard <keithp@keithp.com>
1290 + Map glyph names in fonts with adobe custom encoding to unicode
1292 2003-05-02 Keith Packard <keithp@keithp.com>
1294 * Add FC_WEIGHT_BOOK as weight 75
1296 2003-04-30 Keith Packard <keithp@keithp.com>
1298 * Typo in bitstream foundry name
1300 2003-04-24 Keith Packard <keithp@keithp.com>
1302 * Eliminate italic_angle check for PS fonts
1304 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1306 * Getting closer to fixing /etc/fonts hard-coding.
1308 2003-04-22 Keith Packard <keithp@keithp.com>
1310 * Update autogen.sh to work with newer automake versions
1311 * Handle pattern elements moving during multiple edits
1313 2003-04-23 James Henstridge <james@daa.com.au>
1315 * doc/fontconfig-devel.sgml: close the <para> element.
1317 * doc/fcpattern.fncs: close the <para> element.
1319 * doc/func.sgml: close the <refsynopsisdiv> element.
1321 2003-04-22 Keith Packard <keithp@keithp.com
1323 * Update autogen.sh to work with newer automake versions
1324 * Handle pattern elements moving during multiple edits
1326 2003-04-17 Colin Walters <walters@debian.org>
1328 + Remove some unused variables, and initialize some other ones so
1329 gcc doesn't warn us.
1331 2003-04-16 Keith Packard <keithp@keithp.com>
1333 + tag version 2.1.94
1335 2003-04-16 Keith Packard <keithp@keithp.com>
1337 + add BDF property fetching support for foundry
1338 (from Juliusz Chroboczek)
1339 + add BDF property fetching support for width
1341 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1343 + Implemented foundry generation for Type 1 and TrueType
1345 2003-04-11 Gerard Escalante <g2@magestudios.net>
1347 + Retrieve information from Type1 FontInfo dictionaries
1349 2003-04-07 Colin Walters <walters@verbum.org>
1351 + src/Makefile.am: Fix dummy makefile target names when
1352 MS_LIB_AVAILABLE isn't set.
1354 2003-03-22 Tor Lillqvist <tml@iki.fi>
1356 Changes for Windows:
1358 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1360 + We don't want to hardcode the fonts.conf file location in the
1361 DLL, so we look up the DLL location at run-time in a DllMain()
1362 function. The fonts.conf location is deduced from that.
1364 + The colon can't be used as path separator on Windows,
1365 semicolon is used instead. File path components can be separated
1366 with either slash or backslash. Absolute paths can also begin
1367 with a drive letter.
1369 + Add internal function FcStrLastSlash that strrchr's the last
1370 slash, or backslash on Windows.
1372 + There is no link() on Windows. For atomicity checks, mkdir a
1373 lock directory instead.
1375 + In addition to HOME, also look for USERPROFILE.
1377 + Recognize the special font directory token WINDOWSFONTDIR, to
1378 use the system's font directory.
1380 + Remove the fontconfig-def.cpp that was obsolete. Add
1381 fontconfig.def(.in), without internal functions.
1383 + Add a fontconfig-zip(.in) script, used to build a binary
1386 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1387 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1388 to main package and man3/* to devel package
1390 + Added missing defattr(-, root, root) to main RPM package
1392 + Added HTML and text development documentation to -devel subpackage
1394 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1395 + Added back the configure macro options --disable-docs, otherwise
1396 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1397 version number) unconditionally, causing RPM to fail the build due
1398 to _unpackaged_files_terminate_build. We pick up the pregenerated
1399 docs with %doc already.
1401 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1402 + Removed commented out rpm macro define at top of spec file,
1403 replacing it with a simple explanation, since rpm macros are
1404 expanded by rpm even in comments.
1406 + Changed /usr/bin to _bindir in BuildRequires lines
1408 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1410 + Reorganized file manifest lists
1412 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1414 + fontconfig.spec.in: Improvements from Red Hat spec file.
1416 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1418 + docs/*.sgml: SGML fixes.
1420 Sat Mar 1 17:28:53 PST 2003 keithp
1421 + Ok, so the ChangeLog is a bit out of date
1423 + Lots of bugs fixed; most are in bugzilla, the
1424 biggest problems were in cache management where
1425 Owen discovered the library would lose badly when
1426 combining fonts-cache and ~/.fonts-cache data
1428 + Converted from autoconf to automake. This after
1429 getting patches accepted into libtool to allow
1430 the '-version-number' argument which lets
1431 packages set version numbers explicitly rather
1432 than the roundabout libtool way
1434 + Converted documentation to SGML using the docbook
1435 DTD. Now .txt and .html documents are installed
1436 in /usr/share/doc/fontconfig and there's no
1437 man page. Perhaps a man version can be written
1440 Sat Aug 31 15:21:22 PDT 2002 keithp
1441 + Xrender and Xft had several bugs related to
1442 rendering manually placed or poly-face text
1444 + Added more complete memory tracing in fontconfig
1445 Checked with (patched) mozilla and found no leaks
1447 + Updated Latin orthographies by comparing those from
1448 evertype.com with those from eki.ee. Tried to make
1449 sensible choices, including chars that occured in both
1450 and leaving some optional chars out that occured only
1453 Mon Aug 26 16:33:04 PDT 2002 keithp
1454 + Owen discovered that FcLangSetHasLang wasn't actually
1455 checking the language set.
1457 Mon Aug 26 13:37:23 PDT 2002 keithp
1458 + Append a version number to cache filenames
1460 Thu Aug 22 11:36:18 PDT 2002 keithp
1462 + Add "contains" and "not_contains" operators and elements to
1465 + Changed semantics of eq operator for LangSets to check for
1466 FcLangEqual so that any match will do
1468 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1469 of FcValueEqual to check for identical values when inserting into
1470 the results. This broke when the above semantic change was made,
1471 now it uses FcValueEqual which is "more correct" in any case.
1473 Thu Aug 22 00:32:29 PDT 2002 keithp
1475 + Reimplement FC_LANG as new datatype. Lists of strings
1476 was consuming over a megabyte of memory for 401 fonts.
1478 + Freeze patterns loaded from cache files. This shares
1479 common value lists and common patterns which saves
1480 considerable memory.
1482 + Change the denotation of 'constant' charsets to use special
1483 ref value instead of separate boolean.
1485 + Clean up leak tracing stuff, found several unannoted alloc/free
1488 Tue Aug 20 16:17:37 PDT 2002 keithp
1490 + Fix memory leak when parsing matrices from XML
1492 Mon Aug 19 11:57:27 PDT 2002 keithp
1494 + Fix autoconf files to pass FONTCONFIG_PATH on
1495 compile line so that ${prefix} gets substituted
1498 + Use getc_unlocked/putc_unlocked on systems that
1499 provide them to avoid damage done to stdio by posix
1501 + Eliminate FC_PATTERN and FcTypePattern in favor of
1502 an extended api for FcConfigSubstitute which takes
1503 both the font and the pattern.
1505 + Add 'sans serif' alias for 'sans-serif' as some apps
1506 can't handle hyphens in family names
1508 + Eliminate pretense of support for libxml2
1510 + Comment origins of Han orthographies
1512 Tue Jul 30 18:37:09 PDT 2002 keithp
1514 + Add binding property to edit element so that strong
1515 binding values may be inserted by the config file.
1516 The default remains weak.
1518 Sun 28 Jul 04:16:55 PDT 2002 keithp
1520 + Tagged release candidate 1 in the CVS tree and
1521 placed fcpackage.rc1.tar.gz for distribution
1523 Thu Aug 1 08:55:08 PDT 2002 keithp
1525 + Fixed autoconf builds to always specify install
1526 target files (for BSD). Also fixed to
1527 define FONTCONFIG_PATH in config.h so that
1528 nonstandard installs will actually work.