1 2005-07-15 Carl Worth <cworth@cworth.org>
4 * src/fcinit.c: (FcFini):
5 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
8 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
9 Pull the FcObjectStateName hash table out to file scope, and add
10 FcObjectStaticNameFini so that FcFini will cleanup this hash table
13 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
16 2005-06-16 Patrick Lam <plam@MIT.EDU>
20 * src/fccfg.c: (FcConfigCompareValue):
21 Make FcOpNotContains use FcStrStr for strings so that
22 it matches semantics for !FcOpContains.
24 2005-05-20 Keith Packard <keithp@keithp.com>
28 Move fontconfig source package to libs as per override
30 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
32 reviewed by: Mike Fabian
35 The ka.orth file requires several characters which are not
36 used anymore in modern Georgian and which are missing in the free
37 Georgian TrueType fonts downloadable at:
39 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
41 2005-04-27 Keith Packard <keithp@keithp.com>
45 Update date to real 2.3.2 release date.
46 Fix change attributions
48 2005-04-27 Keith Packard <keithp@keithp.com>
51 Bump so revision for 2.3.2
52 * fc-cache/fc-cache.c: (scanDirs):
53 Fix a few minor leaks in error cases.
55 2005-04-23 Keith Packard <keithp@keithp.com>
60 * fontconfig/fontconfig.h:
61 Update for version 2.3.2
63 2005-04-21 Keith Packard <keithp@keithp.com>
65 * debian/fontconfig.postinst:
66 Don't force bitmap font enable in default
67 configuration; allows users to override this in
78 * debian/po/templates.pot:
83 * fc-cache/fc-cache.c: (main):
84 Destroy font configuration on exit to help valgrind
87 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
88 (FcFreeTypeCheckGlyph):
89 Use own transcoding routines in preference to iconv
90 which appears to have leaks in some translators.
91 Call iconv_close after using iconv (oops).
93 Prefer unicode encoding of Euro char as some
94 fonts mis-encode Euro in other ones.
96 Must fetch bitmap glyphs to get width values
97 to check for monospace/dual-width fonts.
99 2005-04-13 Ross Burton <ross@burtonini.com>
102 Check that a pattern isn't already frozen in FcPatternFreeze.
104 2005-03-31 Ross Burton <ross@burtonini.com>
109 Run all FcPattern objects through FcObjectStaticName, so that
110 compares can be done on pointers instead of strings (#2659)
112 2005-03-17 Tor Lillqvist <tml@novell.com>
114 * src/fontconfig.def.in: Add the .dll to the dll name.
116 2005-03-10 Keith Packard <keithp@keithp.com>
118 * debian/README.Debian:
119 Update to reflect configuration changes
121 * debian/fontconfig.postinst:
122 Fix Autohint vs Autohinter mistake
123 * debian/fontconfig.templates:
124 Adopt changes from Josselin Mouette for configuration descriptions
125 Update debian to version 2.3.1-2
127 2005-03-08 Keith Packard <keithp@keithp.com>
131 Update debian for 2.3.1
133 2005-03-09 Tor Lillqvist <tml@novell.com>
135 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
138 * src/fccfg.c (FcConfigFileExists): Check also drive letter
141 2005-03-08 Keith Packard <keithp@keithp.com>
145 * fontconfig/fontconfig.h:
148 2005-03-05 Keith Packard <keithp@keithp.com>
150 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
151 Include space and remove numbers from valid script tags.
152 This ensures that tags like 'lao ' work while rejecting
153 those which have any digits.
154 Eliminate a spurious debugging variable (len)
156 2005-03-05 Keith Packard <keithp@keithp.com>
158 * src/fcfreetype.c: (addtag), (GetScriptTags),
159 (FcFontCapabilities):
160 Rework GSUB/GPOS script parsing to survive broken fonts.
161 Thanks for the broken font go to Manish Singh
163 2005-03-05 Keith Packard <keithp@keithp.com>
168 * debian/fontconfig.config:
169 * debian/fontconfig.templates:
171 Include 2.3 release information in changelog
172 Add Josselin Mouette as an Uploader
173 Set hinting_type to low priority configuration option
176 * debian/fontconfig.postinst:
177 yes_bitmaps.conf -> yes-bitmaps.conf
183 2005-03-02 Keith Packard <keithp@keithp.com>
186 * conf.d/Makefile.am:
187 * conf.d/autohint.conf:
188 * conf.d/no-sub-pixel.conf:
189 * conf.d/sub-pixel.conf:
190 * conf.d/unhinted.conf:
191 * debian/autohint.conf:
192 * debian/fontconfig.install:
193 * debian/fontconfig.postinst:
194 * debian/fontconfig.templates:
195 * debian/no-sub-pixel.conf:
196 * debian/unhinted.conf:
197 Move debian-specific conf file examples upstream.
199 Sub-pixel configuration examples must smash subpixel value
200 as Xft always sets it from X.
202 Change sub-pixel rendering debconf descriptions from
203 Enable/Disable to Always/Never.
205 2005-03-02 Keith Packard <keithp@keithp.com>
210 Ignore more build detritus
213 Add debian package construction stuff.
215 * config/config.guess:
217 Update to newer versions of these tools
220 Get library manuals to build again (we love automake).
222 * debian/README.Debian:
223 * debian/autohint.conf:
228 * debian/fontconfig-udeb.install:
229 * debian/fontconfig.config:
230 * debian/fontconfig.defoma:
231 * debian/fontconfig.dirs:
232 * debian/fontconfig.install:
233 * debian/fontconfig.postinst:
234 * debian/fontconfig.postrm:
235 * debian/fontconfig.templates:
236 * debian/libfontconfig1-dev.install:
237 * debian/libfontconfig1.install:
238 * debian/local.conf.md5sum:
239 * debian/no-sub-pixel.conf:
240 * debian/po/POTFILES.in:
249 * debian/po/pt_BR.po:
250 * debian/po/templates.pot:
252 * debian/po/zh_CN.po:
254 * debian/unhinted.conf:
255 Update debian build system to switch maintainers and
256 deal with 2.3 functionality
258 2005-03-01 Keith Packard <keithp@keithp.com>
262 * fontconfig/fontconfig.h:
265 2005-03-01 Keith Packard <keithp@keithp.com>
268 Generate and install PDF versions of the manuals
270 * doc/fcpattern.fncs:
274 Add missing exported functions, fix data types
276 * doc/fontconfig-devel.sgml:
277 Add missing pattern elements.
279 * doc/fontconfig-user.sgml:
280 Add missing pattern elements. Document conf.d usage,
281 clarify available orthography list. Fix some config file
282 attributes. Complete list of constants.
284 * fontconfig/fontconfig.h:
285 Mark FC_SOURCE deprecated.
287 * src/fcfreetype.c: (FcFreeTypeQuery):
288 Don't set FC_SOURCE any longer.
290 2005-02-28 Keith Packard <keithp@keithp.com>
293 * conf.d/Makefile.am:
295 * conf.d/no-bitmaps.conf:
296 * conf.d/sub-pixel.conf:
297 * conf.d/yes-bitmaps.conf:
299 Create prototype /etc/fonts/conf.d directory with a few
300 sample configuration files.
301 Deprecate use of local.conf for local customizations in favor of
302 this directory based scheme which is more easily integrated into
303 installation systems.
306 Tag FC_EMBOLDEN as a boolean variable
308 2005-02-10 Keith Packard <keithp@keithp.com>
310 reviewed by: pborelli@katamail.com
312 * src/fcdir.c: (FcFileScanConfig):
313 Free patterns from fonts which are rejected by configuration
316 2005-01-28 Keith Packard <keithp@keithp.com>
320 * fontconfig/fontconfig.h:
321 Update for version 2.2.99
323 2005-01-28 Keith Packard <keithp@keithp.com>
326 Add a few pointers (#2284, #2285)
328 2005-01-28 Keith Packard <keithp@keithp.com>
331 * src/fcname.c: (FcNameBool):
332 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
333 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
334 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
335 Polite typechecking for test and edit expressions. Helps
336 catch errors in the font configuration. (bug 229)
338 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
340 reviewed by: Keith Packard <keithp@keithp.com>
343 Have --with-expat set EXPAT_CFLAGS (bug 2278)
345 2005-01-13 Keith Packard <keithp@keithp.com>
347 * doc/fontconfig-user.sgml:
348 Add SEE ALSO section (bug 2085)
350 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
352 reviewed by: Keith Packard <keithp@keithp.com>
357 * fc-case/Makefile.am:
358 * fc-glyphname/Makefile.am:
359 * fc-lang/Makefile.am:
360 * src/fontconfig.def.in:
361 Cross compiling fixes (bug 280)
363 2005-01-13 Keith Packard <keithp@keithp.com>
366 Update blanks list (Closes bug 86)
368 2005-01-04 Keith Packard <keithp@keithp.com>
370 * src/fccache.c: (FcCacheFontSetAdd):
371 Verify that every font pattern loaded from cache has
372 both FC_FILE and FC_FAMILY entries.
373 Attempt to fix bug #2219.
375 2004-12-29 Keith Packard <keithp@keithp.com>
379 * fontconfig/fontconfig.h:
380 Update for version 2.2.98
382 2004-12-29 Keith Packard <keithp@keithp.com>
384 * fontconfig/fontconfig.h:
385 Document ASCII limitations of Fc character conversion macros
386 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
387 Fix off-by-one error in utf-8 case walking code.
388 Add FcStrDowncase (useful for testing case conversion functions)
390 2004-12-29 Keith Packard <keithp@keithp.com>
393 * fc-case/.cvsignore:
394 clean up CVS ignore lists
395 * fc-lang/iso-3166.txt:
396 Add territory database
398 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
400 Reviewed by: Keith Packard
403 Remove Han characters from Korean orthography
405 2004-12-29 Keith Packard <keithp@keithp.com>
408 Reorder utility programs to make sure fc-case is run before fc-lang
409 as fc-lang uses fcstr.c which uses fccase.h
413 2004-12-29 Keith Packard <keithp@keithp.com>
416 Adopt some RedHat suggestions for standard font configuration.
420 * fc-case/CaseFolding.txt:
421 * fc-case/Makefile.am:
422 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
423 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
424 (dump), (parseRaw), (caseFoldReadRaw), (main):
425 * fc-case/fccase.tmpl.h:
426 Add new helper program 'fc-case' to construct case folding
427 tables from standard Unicode CaseFolding.txt file
430 * src/fclist.c: (FcListValueHash):
431 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
432 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
433 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
434 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
435 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
436 Re-implement case insensitive functions with Unicode
437 aware versions (including full case folding mappings)
439 2004-12-13 Keith Packard <keithp@keithp.com>
441 reviewed by: Owen Taylor <otaylor@redhat.com>
443 * src/fcmatch.c: (FcFontSetSort):
444 I changed FcFontSetSort to respect the generic aliases better
445 in the face of language matching.
447 What I did was to ammend the strict sort order used by FcFontSort so
448 that it 'satisfies' the language specified in the pattern by locating
449 the best matching font supporting each pattern language and then
450 ignores language in the remaining fonts for purposes of matching.
452 So, when asking for 'sans:lang=en', you'll get an English font first,
453 and then the remaining fonts sorted with respect to the 'sans' alias
454 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
456 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
458 reviewed by: Keith Packard <keithp@keithp.com>
460 * fontconfig/fontconfig.h:
463 Configuration changes to request synthetic emboldening of
464 fonts. The actual emboldening code will live in Xft.
466 2004-12-09 John Thacker <thacker@math.cornell.edu>
468 reviewed by: Keith Packard <keithp@keithp.com>
472 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
473 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
474 и), and don't even appear in KOI8-R. (The hypothesis that they
475 don't appear in KOI8-R due to their similarity with Latin I and i is
476 eliminated by their presence in KOI8-U.) I have a couple of fonts
477 with Russian support that don't have the letter.
479 Therefore, 0406 and 0456 should be removed from or commented out of
482 2004-12-06 michael meeks <mmeeks@novell.com>
484 Reviewed by: Keith Packard <keithp@keithp.com>
486 * src/fcinit.c: (FcMemReport):
488 * src/fclist.c: (FcObjectSetAdd):
489 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
490 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
491 * src/fcxml.c: (FcParsePatelt):
492 memoize strings and share a single copy for all uses. Note that
493 this could be improved further by using statically allocated blocks
494 and gluing multiple strings together, but I'm basically lazy.
495 In my environment with 800 font files, I get a savings of about 90KB.
497 2004-12-06 Keith Packard <keithp@keithp.com>
501 * config/Makedefs.in:
506 * doc/fccharset.fncs:
508 * doc/fcconstant.fncs:
510 * doc/fcfontset.fncs:
511 * doc/fcfreetype.fncs:
514 * doc/fcobjectset.fncs:
515 * doc/fcobjecttype.fncs:
516 * doc/fcpattern.fncs:
520 * doc/fontconfig-devel.sgml:
521 * doc/fontconfig-user.sgml:
523 * doc/version.sgml.in:
524 * fc-cache/Makefile.am:
525 * fc-cache/fc-cache.c:
526 * fc-glyphname/Makefile.am:
527 * fc-glyphname/fc-glyphname.c:
528 * fc-glyphname/fcglyphname.tmpl.h:
529 * fc-lang/Makefile.am:
539 * fc-lang/az_ir.orth:
574 * fc-lang/fc-lang.man:
575 * fc-lang/fclang.tmpl.h:
620 * fc-lang/ku_ir.orth:
653 * fc-lang/ps_af.orth:
654 * fc-lang/ps_pk.orth:
683 * fc-lang/ti_er.orth:
684 * fc-lang/ti_et.orth:
710 * fc-lang/zh_cn.orth:
711 * fc-lang/zh_hk.orth:
712 * fc-lang/zh_mo.orth:
713 * fc-lang/zh_sg.orth:
714 * fc-lang/zh_tw.orth:
716 * fc-list/Makefile.am:
718 * fc-match/Makefile.am:
719 * fc-match/fc-match.1:
720 * fc-match/fc-match.c:
721 * fontconfig/fcfreetype.h:
722 * fontconfig/fcprivate.h:
723 * fontconfig/fontconfig.h:
744 Change files from ISO-Latin-1 to UTF-8
746 2004-12-04 Keith Packard <keithp@keithp.com>
749 Update links to new freedesktop.org locations
751 Add uninstall-local to get rid of fonts.conf and local.conf if they
752 match the distributed versions. Fixes 'make distcheck'
754 2004-12-04 Keith Packard <keithp@keithp.com>
758 * fontconfig/fontconfig.h:
759 Updates for version 2.2.97
761 2004-12-04 Owen Taylor <otaylor@redhat.com>
763 reviewed by: Keith Packard <keithp@keithp.com>
765 * fc-cache/fc-cache.c: (main):
766 Sleep for two seconds before exiting to make sure timestamps
767 for future changes have distinct mod times in the file system.
770 Add Punjabi orthography. Bug #1671.
772 2004-12-04 Keith Packard <keithp@keithp.com>
775 Just remove the FC_FONTDATE -- it has locale issues and
776 annoys redhat multi-arch installs. Now that all X fonts are
777 included without prejudice, the chances of the date being at
778 all interesting are rather limited. Bug #505.
780 Add copyright and license
782 2004-12-04 Keith Packard <keithp@keithp.com>
785 Change default set of fonts to include all of
786 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
787 * doc/fontconfig-user.sgml:
788 Document new <include>directory-name</include> semantics
790 add <include ignore_missing="yes">conf.d</include>
792 Add selectfont to ignore bitmap fonts, add comment for
793 selectfont which accepts bitmap fonts.
796 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
797 Allow <include> configuration elements to reference directories.
798 Parse and load all files of the form [0-9]* in sorted order.
800 2004-12-04 Keith Packard <keithp@keithp.com>
803 Report command line for $srcdir/configure accurately.
806 2004-12-04 Keith Packard <keithp@keithp.com>
808 * src/fcfreetype.c: (FcFreeTypeQuery):
809 Check for non-empty face->family_name and face->style_name
810 before using those for the font. Empty names match everything.
813 2004-12-04 Keith Packard <keithp@keithp.com>
816 * fontconfig/fontconfig.h:
817 * src/fcfreetype.c: (FcFreeTypeQuery):
819 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
820 available. This provides font file format information (BDF, Type 1,
821 PCF, TrueType) for each font. Closes #109.
823 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
825 reviewed by: Keith Packard <keithp@keithp.com>
827 * doc/fontconfig-user.sgml:
830 * fontconfig/fontconfig.h:
831 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
832 (GetScriptTags), (FcFontCapabilities):
834 Add detection for font capabilities (bug #105)
836 2004-12-04 Keith Packard <keithp@keithp.com>
839 Move existing fonts.conf to fonts.conf.bak
842 Add detection of iconv
844 * doc/fcpattern.fncs:
845 * doc/fontconfig-devel.sgml:
846 * doc/fontconfig-user.sgml:
848 Document new selectfont elements
851 Switch to UTF-8 in comment
853 * fontconfig/fontconfig.h:
855 Add fullname, and family/style/fullname language entries
857 * src/fccache.c: (FcCacheFontSetAdd):
858 * src/fcdir.c: (FcFileScanConfig):
859 Respect selectfont/*/glob
862 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
863 (FcConfigCompareValue), (FcConfigPatternsAdd),
864 (FcConfigPatternsMatch), (FcConfigAcceptFont):
865 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
866 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
867 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
868 Add support for selectfont
870 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
871 (FcStringInPatternElement), (FcFreeTypeQuery):
872 Add multi-lingual family/style/fullname support
874 * src/fclist.c: (FcListPatternMatchAny):
875 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
877 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
878 (FcObjectStaticName):
879 Add new FcPatternRemove/FcPatternAppend.
880 FcObjectStaticName stores computed pattern element names which
881 are required to be static.
883 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
888 Remove spurious / after $(DESTDIR)
890 2004-06-30 Keith Packard <keithp@keithp.com>
894 * fontconfig/fontconfig.h:
897 2004-06-30 Keith Packard <keithp@keithp.com>
899 Provided by: Lubos Lunak <l.lunak@suse.cz>
901 * src/fccfg.c: (FcConfigUptoDate):
902 However FcConfigUptoDate() doesn't seem to work. See the attached
903 patch. First there's an obvious misplaced parenthesis making it
904 return always false, and second, even this call fails to detect font
905 changes (e.g. adding a new font to
906 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
907 well. The problem seems to be triggered by my fonts.conf specifying
908 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
909 doesn't include subdirs, unlike config->fontDirs.
911 2004-06-03 Keith Packard <keithp@keithp.com>
913 * fontconfig/fontconfig.h:
914 Remove comma at end of FcResult enum definition.
916 2004-05-29 Keith Packard <keithp@keithp.com>
919 Add steps to md5sum release
921 2004-05-29 Keith Packard <keithp@keithp.com>
925 * fontconfig/fontconfig.h:
928 2004-05-29 Keith Packard <keithp@keithp.com>
930 * fontconfig/fontconfig.h:
931 * src/fcmatch.c: (FcFontSetMatch):
932 Add FcResultOutOfMemory to provide an accurate error when
933 FcFontSetMatch fails in this way
936 Make #warning about lacking various FreeType features indicate
937 which version those features appeared so users know how to
938 fix the problem (Thanks to Anton Tropashko)
940 2004-05-05 Keith Packard <keithp@keithp.com>
942 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
943 Replace MIN/MAX/ABS macros which happen to have come
944 from FreeType with fontconfig-specific ones (FC_*)
946 2004-04-23 Keith Packard <keithp@keithp.com>
949 Extend release preparation instructions to include
950 notification and distribution steps
952 2004-04-23 Keith Packard <keithp@keithp.com>
956 * fontconfig/fontconfig.h:
957 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
959 2004-04-23 Keith Packard <keithp@keithp.com>
962 Ignore a few more autotool files
964 2004-04-14 Keith Packard <keithp@keithp.com>
967 Add instructions for doing a release
969 * fontconfig.spec.in:
970 clean up .spec file; perhaps this will be useful to somebody...
974 * fontconfig/fontconfig.h:
978 Make 'scanopen' static so GCC doesn't whine about lacking prototype
980 * fc-glyphname/Makefile.am:
981 * fc-lang/Makefile.am:
982 * fc-list/Makefile.am:
983 * fc-match/Makefile.am:
985 Add WARN_CFLAGS to pass -W flags for GCC systems
987 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
988 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
989 Change various char types around to match across
991 Fixed bug in using available_sizes[i].height which
992 is in pixels, not 64ths of a pixel.
994 2004-03-06 Keith Packard <keithp@keithp.com>
996 * src/fcfreetype.c: (FcFreeTypeQuery):
997 Force FC_FOUNDRY and FC_WIDTH to always be set so that
998 matches looking for explicit values prefer exact matches
1000 2004-03-02 Keith Packard <keithp@keithp.com>
1002 Supplied by: mfabian@suse.de (Mike FABIAN)
1004 * src/fcfreetype.c: (FcFreeTypeQuery):
1005 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1006 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1008 2004-02-21 Manish Singh <yosh@gimp.org>
1010 * fc-glyphname/fc-glyphname.c: (main):
1011 Cast strlen to int for printf, so we're 64-bit clean.
1013 2004-02-11 Keith Packard <keithp@keithp.com>
1016 * src/fcfreetype.c: (FcGetPixelSize):
1017 Ok, so I messed up the test for y_ppem. Let's see if I
1018 got it right this time.
1020 2004-02-10 Keith Packard <keithp@keithp.com>
1023 * src/fcfreetype.c: (FcGetPixelSize):
1024 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1025 FT_Bitmap_Size record. Add a configure.in test for this
1026 and change the code accordingly (using height instead).
1028 2004-02-06 Keith Packard <keithp@keithp.com>
1031 Add Low Saxon orthography
1032 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1034 * src/fccfg.c: (FcConfigNewestFile):
1035 Oops. Left 'newest.set' unset, which would miscompute
1038 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1039 (FcFreeTypeCheckGlyph):
1040 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1041 font properties (which report the wrong value in current FreeType)
1043 Don't attempt to check for empty glyphs in non-scalable fonts; they
1046 2004-02-01 Tor Lillqvist <tml@iki.fi>
1048 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1049 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1050 cache if config->cache is NULL, which happens if FcConfigHome() is
1051 NULL. Guard against that by using the temp folder in that case.
1053 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1055 * fc-lang/az_ir.orth:
1056 * fc-lang/ku_ir.orth:
1057 * fc-lang/ps_af.orth:
1058 * fc-lang/ps_pk.orth:
1059 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1060 (Afghan and Pakistani).
1062 Updated Urdu orthography with real data.
1064 2003-12-11 Carl Worth <cworth@east.isi.edu>
1066 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1069 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1071 (all-local): Remove excessive whitespace.
1073 * autogen.sh: Add 'set -e' to abort when any program fails,
1074 (avoids printing of 'now type make' after configure aborts).
1076 2003-11-17 Eric Christopherson <rakko@charter.net>
1078 reviewed by: Keith Packard <keithp@keithp.com>
1081 * fontconfig/fcfreetype.h:
1083 Switch to FreeType 2.1.7 style includes. Bug #150.
1085 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1087 * fc-list/fc-list.sgml: Add some example usages.
1089 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1092 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1095 2003-10-27 Keith Packard <keith@keithp.com>
1098 * fontconfig/fontconfig.h:
1099 Update to version 2.2.92
1101 2003-10-27 Keith Packard <keithp@keithp.com>
1106 * fc-cache/Makefile.am:
1107 * fc-glyphname/Makefile.am:
1108 * fc-lang/Makefile.am:
1109 * fc-list/Makefile.am:
1110 * fc-match/Makefile.am:
1113 Yet more cleanups to finish getting 'make distcheck' working
1114 This has been tested to ensure that it even works from a _build
1117 2003-10-26 Keith Packard <keithp@keithp.com>
1121 * fc-cache/Makefile.am:
1122 * fc-glyphname/Makefile.am:
1123 * fc-lang/Makefile.am:
1124 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1125 * fc-list/Makefile.am:
1126 * fc-match/Makefile.am:
1127 Attempts to fix 'make distcheck' work. Things are
1128 progressing pretty well, but there are still failures
1129 long into the process dealing with docs (as always).
1131 The big changes here are mostly to make $(srcdir) != "."
1132 work correctly, fixing the docbook related sections and
1133 fc-lang were particularily tricky. Docbook refuses to load
1134 system entities from anywhere other than where the original .sgml
1135 file was located, so no luck looking in "." for the
1136 configure-generated version.sgml and confdir.sgml files.
1138 fc-lang needed help finding .orth files; added a -d option
1139 to set the directory as the least evil of many options.
1141 Now to go use a faster machine and try and wring out the last
1144 2003-10-26 Keith Packard <keithp@keithp.com>
1148 2003-10-26 Keith Packard <keithp@keithp.com>
1151 Include confdir.sgml.in in EXTRA_DIST
1153 2003-10-09 Josselin Mouette <joss@debian.org>
1155 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1156 * fc-list/fc-list.sgml fc-list/Makefile.am:
1157 Replace fc-cache and fc-list manpages with more detailed, SGML
1160 2003-09-23 Owen Taylor <otaylor@redhat.com>
1162 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1163 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1164 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1167 2003-09-23 Owen Taylor <otaylor@redhat.com>
1169 * fc-lang/ka.orth: Remove Georgian capitals, they
1170 aren't used for normal writing. (Bug #116)
1172 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1174 * doc/fontconfig-devel.sgml:
1175 * doc/fontconfig-user.sgml:
1176 * fontconfig/fontconfig.h:
1178 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1179 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1181 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1182 monospace and dual-width fonts, allow roughly a 3% variance in the
1185 2003-08-31 Manish Singh <yosh@gimp.org>
1187 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1190 2003-08-15 Carl Worth <cworth@isi.edu>
1192 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1193 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1195 * src/fcpat.c (FcValueListEntDestroy): New function to support
1196 FcFini memory cleanup. Some statistics are not kept in
1198 (FcValueListFreeze): Move hashTable outside this function so it
1199 can be accessed by FcValueListThawAll.
1200 (FcValueListThawAll): New function complements FcValueListFreeze.
1201 (FcPatternBaseFreeze): Move hashTable outside this function so it
1202 can be accessed by FcPatternBaseThawAll.
1203 (FcPatternBaseThawAll): New function complements
1204 FcPatternBaseFreeze.
1205 (FcPatternThawAll): New function complements FcPatternFreeze.
1207 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1209 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1210 allocated FcCharLeafEnt "blocks" so they can be freed later.
1211 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1212 can be accessed by FcCharSetThawAllLeaf.
1213 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1214 (FcCharSetFreezeBase): Move hashTable outside this function so it
1215 can be accessed by FcCharSetThawAll.
1216 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1218 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1219 (FcConfigDestroy): Fic leak of FcBlanks.
1221 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1222 (main): Add call to FcFini when finished.
1224 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1225 static. Add prototypes.
1227 * doc/fcinit.fncs: Add documentation for FcFini function.
1229 * doc/edit-sgml.c: Mark several local functions as static. Add
1232 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1234 2003-06-15 Tor Lillqvist <tml@iki.fi>
1236 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1237 before comparing (needed on Windows).
1239 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1241 2003-06-13 Tor Lillqvist <tml@iki.fi>
1243 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1246 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1247 WINDOWSFONTDIR token.
1249 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1250 end, not to confuse libtool, which expects the EXPORTS line to be
1251 the first. Add FcConfigEnableHome.
1253 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1254 built as a DLL on Win32.
1256 2003-06-09 Keith Packard <keithp@keithp.com>
1258 * Tag version 2.2.90
1260 2003-06-09 Keith Packard <keithp@keithp.com>
1262 * Optimization in FcLangSetIndex was broken, occasionally
1263 returning a pointer to the wrong location on miss
1265 * Add fc-match to test font matching from the command line.
1267 2003-05-31 Keith Packard <keithp@keithp.com>
1269 * (Bug 85) add support for culmus fonts
1270 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1271 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1273 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1275 * Fix "contains" op for strings and langsets.
1277 2003-05-17 Keith Packard <keithp@keithp.com>
1279 * Fix build error with BDF prop local. Free langset after query
1281 2003-05-14 Keith Packard <keithp@keithp.com>
1283 * Extract spacing from XLFD atom
1285 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1287 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1288 disappeared in 1.30.
1290 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1292 2003-05-12 Keith Packard <keithp@keithp.com>
1294 * Use FcIsWidth to share code
1296 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1297 misclassifying some Han fonts as monospaced.
1299 2003-05-07 Keith Packard <keithp@keithp.com>
1301 * Add filename-based accept/reject to ammend available fonts.
1303 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1304 older FreeType releases.
1306 2003-05-06 Keith Packard <keithp@keithp.com>
1308 * Remove 0b82 and Tamil numbers from tamil
1309 orthography (Jungshik Shin <jshin@mailaps.org>)
1311 2003-05-04 Keith Packard <keithp@keithp.com>
1313 + Map glyph names in fonts with adobe custom encoding to unicode
1315 2003-05-02 Keith Packard <keithp@keithp.com>
1317 * Add FC_WEIGHT_BOOK as weight 75
1319 2003-04-30 Keith Packard <keithp@keithp.com>
1321 * Typo in bitstream foundry name
1323 2003-04-24 Keith Packard <keithp@keithp.com>
1325 * Eliminate italic_angle check for PS fonts
1327 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1329 * Getting closer to fixing /etc/fonts hard-coding.
1331 2003-04-22 Keith Packard <keithp@keithp.com>
1333 * Update autogen.sh to work with newer automake versions
1334 * Handle pattern elements moving during multiple edits
1336 2003-04-23 James Henstridge <james@daa.com.au>
1338 * doc/fontconfig-devel.sgml: close the <para> element.
1340 * doc/fcpattern.fncs: close the <para> element.
1342 * doc/func.sgml: close the <refsynopsisdiv> element.
1344 2003-04-22 Keith Packard <keithp@keithp.com
1346 * Update autogen.sh to work with newer automake versions
1347 * Handle pattern elements moving during multiple edits
1349 2003-04-17 Colin Walters <walters@debian.org>
1351 + Remove some unused variables, and initialize some other ones so
1352 gcc doesn't warn us.
1354 2003-04-16 Keith Packard <keithp@keithp.com>
1356 + tag version 2.1.94
1358 2003-04-16 Keith Packard <keithp@keithp.com>
1360 + add BDF property fetching support for foundry
1361 (from Juliusz Chroboczek)
1362 + add BDF property fetching support for width
1364 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1366 + Implemented foundry generation for Type 1 and TrueType
1368 2003-04-11 Gerard Escalante <g2@magestudios.net>
1370 + Retrieve information from Type1 FontInfo dictionaries
1372 2003-04-07 Colin Walters <walters@verbum.org>
1374 + src/Makefile.am: Fix dummy makefile target names when
1375 MS_LIB_AVAILABLE isn't set.
1377 2003-03-22 Tor Lillqvist <tml@iki.fi>
1379 Changes for Windows:
1381 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1383 + We don't want to hardcode the fonts.conf file location in the
1384 DLL, so we look up the DLL location at run-time in a DllMain()
1385 function. The fonts.conf location is deduced from that.
1387 + The colon can't be used as path separator on Windows,
1388 semicolon is used instead. File path components can be separated
1389 with either slash or backslash. Absolute paths can also begin
1390 with a drive letter.
1392 + Add internal function FcStrLastSlash that strrchr's the last
1393 slash, or backslash on Windows.
1395 + There is no link() on Windows. For atomicity checks, mkdir a
1396 lock directory instead.
1398 + In addition to HOME, also look for USERPROFILE.
1400 + Recognize the special font directory token WINDOWSFONTDIR, to
1401 use the system's font directory.
1403 + Remove the fontconfig-def.cpp that was obsolete. Add
1404 fontconfig.def(.in), without internal functions.
1406 + Add a fontconfig-zip(.in) script, used to build a binary
1409 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1410 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1411 to main package and man3/* to devel package
1413 + Added missing defattr(-, root, root) to main RPM package
1415 + Added HTML and text development documentation to -devel subpackage
1417 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1418 + Added back the configure macro options --disable-docs, otherwise
1419 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1420 version number) unconditionally, causing RPM to fail the build due
1421 to _unpackaged_files_terminate_build. We pick up the pregenerated
1422 docs with %doc already.
1424 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1425 + Removed commented out rpm macro define at top of spec file,
1426 replacing it with a simple explanation, since rpm macros are
1427 expanded by rpm even in comments.
1429 + Changed /usr/bin to _bindir in BuildRequires lines
1431 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1433 + Reorganized file manifest lists
1435 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1437 + fontconfig.spec.in: Improvements from Red Hat spec file.
1439 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1441 + docs/*.sgml: SGML fixes.
1443 Sat Mar 1 17:28:53 PST 2003 keithp
1444 + Ok, so the ChangeLog is a bit out of date
1446 + Lots of bugs fixed; most are in bugzilla, the
1447 biggest problems were in cache management where
1448 Owen discovered the library would lose badly when
1449 combining fonts-cache and ~/.fonts-cache data
1451 + Converted from autoconf to automake. This after
1452 getting patches accepted into libtool to allow
1453 the '-version-number' argument which lets
1454 packages set version numbers explicitly rather
1455 than the roundabout libtool way
1457 + Converted documentation to SGML using the docbook
1458 DTD. Now .txt and .html documents are installed
1459 in /usr/share/doc/fontconfig and there's no
1460 man page. Perhaps a man version can be written
1463 Sat Aug 31 15:21:22 PDT 2002 keithp
1464 + Xrender and Xft had several bugs related to
1465 rendering manually placed or poly-face text
1467 + Added more complete memory tracing in fontconfig
1468 Checked with (patched) mozilla and found no leaks
1470 + Updated Latin orthographies by comparing those from
1471 evertype.com with those from eki.ee. Tried to make
1472 sensible choices, including chars that occured in both
1473 and leaving some optional chars out that occured only
1476 Mon Aug 26 16:33:04 PDT 2002 keithp
1477 + Owen discovered that FcLangSetHasLang wasn't actually
1478 checking the language set.
1480 Mon Aug 26 13:37:23 PDT 2002 keithp
1481 + Append a version number to cache filenames
1483 Thu Aug 22 11:36:18 PDT 2002 keithp
1485 + Add "contains" and "not_contains" operators and elements to
1488 + Changed semantics of eq operator for LangSets to check for
1489 FcLangEqual so that any match will do
1491 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1492 of FcValueEqual to check for identical values when inserting into
1493 the results. This broke when the above semantic change was made,
1494 now it uses FcValueEqual which is "more correct" in any case.
1496 Thu Aug 22 00:32:29 PDT 2002 keithp
1498 + Reimplement FC_LANG as new datatype. Lists of strings
1499 was consuming over a megabyte of memory for 401 fonts.
1501 + Freeze patterns loaded from cache files. This shares
1502 common value lists and common patterns which saves
1503 considerable memory.
1505 + Change the denotation of 'constant' charsets to use special
1506 ref value instead of separate boolean.
1508 + Clean up leak tracing stuff, found several unannoted alloc/free
1511 Tue Aug 20 16:17:37 PDT 2002 keithp
1513 + Fix memory leak when parsing matrices from XML
1515 Mon Aug 19 11:57:27 PDT 2002 keithp
1517 + Fix autoconf files to pass FONTCONFIG_PATH on
1518 compile line so that ${prefix} gets substituted
1521 + Use getc_unlocked/putc_unlocked on systems that
1522 provide them to avoid damage done to stdio by posix
1524 + Eliminate FC_PATTERN and FcTypePattern in favor of
1525 an extended api for FcConfigSubstitute which takes
1526 both the font and the pattern.
1528 + Add 'sans serif' alias for 'sans-serif' as some apps
1529 can't handle hyphens in family names
1531 + Eliminate pretense of support for libxml2
1533 + Comment origins of Han orthographies
1535 Tue Jul 30 18:37:09 PDT 2002 keithp
1537 + Add binding property to edit element so that strong
1538 binding values may be inserted by the config file.
1539 The default remains weak.
1541 Sun 28 Jul 04:16:55 PDT 2002 keithp
1543 + Tagged release candidate 1 in the CVS tree and
1544 placed fcpackage.rc1.tar.gz for distribution
1546 Thu Aug 1 08:55:08 PDT 2002 keithp
1548 + Fixed autoconf builds to always specify install
1549 target files (for BSD). Also fixed to
1550 define FONTCONFIG_PATH in config.h so that
1551 nonstandard installs will actually work.