1 2005-09-22 Patrick Lam <plam@mit.edu>
3 * fc-cache/fc-cache.sgml:
5 * fc-glyphname/fc-glyphname.c:
11 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
16 * fontconfig/fcprivate.h:
17 * fontconfig/fontconfig.h:
31 Implement new mmaped cache for font information.
32 Bump so revision to 2.3.90.
34 2005-07-25 Keith Packard <keithp@keithp.com>
36 * doc/fontconfig-user.sgml:
37 * fc-glyphname/fc-glyphname.c: (scan), (main):
38 * fc-lang/fc-lang.c: (FcConfigHome):
39 * fc-match/fc-match.c: (main):
40 * src/fccfg.c: (FcConfigHome):
41 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
42 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
43 (addtag), (FcFontCapabilities):
44 * src/fcpat.c: (FcValueListEntCreate):
45 * src/fcstr.c: (FcStrCaseWalkerInit):
46 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
48 Various GCC 4 cleanups for signed vs unsigned char
50 Match only [0-9]*.conf files in <include>{directory}</include>
51 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
53 2005-07-15 Carl Worth <cworth@cworth.org>
56 * src/fcinit.c: (FcFini):
57 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
60 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
61 Pull the FcObjectStateName hash table out to file scope, and add
62 FcObjectStaticNameFini so that FcFini will cleanup this hash table
65 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
68 2005-06-16 Patrick Lam <plam@MIT.EDU>
72 * src/fccfg.c: (FcConfigCompareValue):
73 Make FcOpNotContains use FcStrStr for strings so that
74 it matches semantics for !FcOpContains.
76 2005-05-20 Keith Packard <keithp@keithp.com>
80 Move fontconfig source package to libs as per override
82 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
84 reviewed by: Mike Fabian
87 The ka.orth file requires several characters which are not
88 used anymore in modern Georgian and which are missing in the free
89 Georgian TrueType fonts downloadable at:
91 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
93 2005-04-27 Keith Packard <keithp@keithp.com>
97 Update date to real 2.3.2 release date.
98 Fix change attributions
100 2005-04-27 Keith Packard <keithp@keithp.com>
103 Bump so revision for 2.3.2
104 * fc-cache/fc-cache.c: (scanDirs):
105 Fix a few minor leaks in error cases.
107 2005-04-23 Keith Packard <keithp@keithp.com>
112 * fontconfig/fontconfig.h:
113 Update for version 2.3.2
115 2005-04-21 Keith Packard <keithp@keithp.com>
117 * debian/fontconfig.postinst:
118 Don't force bitmap font enable in default
119 configuration; allows users to override this in
129 * debian/po/pt_BR.po:
130 * debian/po/templates.pot:
132 * debian/po/zh_CN.po:
135 * fc-cache/fc-cache.c: (main):
136 Destroy font configuration on exit to help valgrind
139 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
140 (FcFreeTypeCheckGlyph):
141 Use own transcoding routines in preference to iconv
142 which appears to have leaks in some translators.
143 Call iconv_close after using iconv (oops).
145 Prefer unicode encoding of Euro char as some
146 fonts mis-encode Euro in other ones.
148 Must fetch bitmap glyphs to get width values
149 to check for monospace/dual-width fonts.
151 2005-04-13 Ross Burton <ross@burtonini.com>
154 Check that a pattern isn't already frozen in FcPatternFreeze.
156 2005-03-31 Ross Burton <ross@burtonini.com>
161 Run all FcPattern objects through FcObjectStaticName, so that
162 compares can be done on pointers instead of strings (#2659)
164 2005-03-17 Tor Lillqvist <tml@novell.com>
166 * src/fontconfig.def.in: Add the .dll to the dll name.
168 2005-03-10 Keith Packard <keithp@keithp.com>
170 * debian/README.Debian:
171 Update to reflect configuration changes
173 * debian/fontconfig.postinst:
174 Fix Autohint vs Autohinter mistake
175 * debian/fontconfig.templates:
176 Adopt changes from Josselin Mouette for configuration descriptions
177 Update debian to version 2.3.1-2
179 2005-03-08 Keith Packard <keithp@keithp.com>
183 Update debian for 2.3.1
185 2005-03-09 Tor Lillqvist <tml@novell.com>
187 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
190 * src/fccfg.c (FcConfigFileExists): Check also drive letter
193 2005-03-08 Keith Packard <keithp@keithp.com>
197 * fontconfig/fontconfig.h:
200 2005-03-05 Keith Packard <keithp@keithp.com>
202 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
203 Include space and remove numbers from valid script tags.
204 This ensures that tags like 'lao ' work while rejecting
205 those which have any digits.
206 Eliminate a spurious debugging variable (len)
208 2005-03-05 Keith Packard <keithp@keithp.com>
210 * src/fcfreetype.c: (addtag), (GetScriptTags),
211 (FcFontCapabilities):
212 Rework GSUB/GPOS script parsing to survive broken fonts.
213 Thanks for the broken font go to Manish Singh
215 2005-03-05 Keith Packard <keithp@keithp.com>
220 * debian/fontconfig.config:
221 * debian/fontconfig.templates:
223 Include 2.3 release information in changelog
224 Add Josselin Mouette as an Uploader
225 Set hinting_type to low priority configuration option
228 * debian/fontconfig.postinst:
229 yes_bitmaps.conf -> yes-bitmaps.conf
235 2005-03-02 Keith Packard <keithp@keithp.com>
238 * conf.d/Makefile.am:
239 * conf.d/autohint.conf:
240 * conf.d/no-sub-pixel.conf:
241 * conf.d/sub-pixel.conf:
242 * conf.d/unhinted.conf:
243 * debian/autohint.conf:
244 * debian/fontconfig.install:
245 * debian/fontconfig.postinst:
246 * debian/fontconfig.templates:
247 * debian/no-sub-pixel.conf:
248 * debian/unhinted.conf:
249 Move debian-specific conf file examples upstream.
251 Sub-pixel configuration examples must smash subpixel value
252 as Xft always sets it from X.
254 Change sub-pixel rendering debconf descriptions from
255 Enable/Disable to Always/Never.
257 2005-03-02 Keith Packard <keithp@keithp.com>
262 Ignore more build detritus
265 Add debian package construction stuff.
267 * config/config.guess:
269 Update to newer versions of these tools
272 Get library manuals to build again (we love automake).
274 * debian/README.Debian:
275 * debian/autohint.conf:
280 * debian/fontconfig-udeb.install:
281 * debian/fontconfig.config:
282 * debian/fontconfig.defoma:
283 * debian/fontconfig.dirs:
284 * debian/fontconfig.install:
285 * debian/fontconfig.postinst:
286 * debian/fontconfig.postrm:
287 * debian/fontconfig.templates:
288 * debian/libfontconfig1-dev.install:
289 * debian/libfontconfig1.install:
290 * debian/local.conf.md5sum:
291 * debian/no-sub-pixel.conf:
292 * debian/po/POTFILES.in:
301 * debian/po/pt_BR.po:
302 * debian/po/templates.pot:
304 * debian/po/zh_CN.po:
306 * debian/unhinted.conf:
307 Update debian build system to switch maintainers and
308 deal with 2.3 functionality
310 2005-03-01 Keith Packard <keithp@keithp.com>
314 * fontconfig/fontconfig.h:
317 2005-03-01 Keith Packard <keithp@keithp.com>
320 Generate and install PDF versions of the manuals
322 * doc/fcpattern.fncs:
326 Add missing exported functions, fix data types
328 * doc/fontconfig-devel.sgml:
329 Add missing pattern elements.
331 * doc/fontconfig-user.sgml:
332 Add missing pattern elements. Document conf.d usage,
333 clarify available orthography list. Fix some config file
334 attributes. Complete list of constants.
336 * fontconfig/fontconfig.h:
337 Mark FC_SOURCE deprecated.
339 * src/fcfreetype.c: (FcFreeTypeQuery):
340 Don't set FC_SOURCE any longer.
342 2005-02-28 Keith Packard <keithp@keithp.com>
345 * conf.d/Makefile.am:
347 * conf.d/no-bitmaps.conf:
348 * conf.d/sub-pixel.conf:
349 * conf.d/yes-bitmaps.conf:
351 Create prototype /etc/fonts/conf.d directory with a few
352 sample configuration files.
353 Deprecate use of local.conf for local customizations in favor of
354 this directory based scheme which is more easily integrated into
355 installation systems.
358 Tag FC_EMBOLDEN as a boolean variable
360 2005-02-10 Keith Packard <keithp@keithp.com>
362 reviewed by: pborelli@katamail.com
364 * src/fcdir.c: (FcFileScanConfig):
365 Free patterns from fonts which are rejected by configuration
368 2005-01-28 Keith Packard <keithp@keithp.com>
372 * fontconfig/fontconfig.h:
373 Update for version 2.2.99
375 2005-01-28 Keith Packard <keithp@keithp.com>
378 Add a few pointers (#2284, #2285)
380 2005-01-28 Keith Packard <keithp@keithp.com>
383 * src/fcname.c: (FcNameBool):
384 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
385 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
386 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
387 Polite typechecking for test and edit expressions. Helps
388 catch errors in the font configuration. (bug 229)
390 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
392 reviewed by: Keith Packard <keithp@keithp.com>
395 Have --with-expat set EXPAT_CFLAGS (bug 2278)
397 2005-01-13 Keith Packard <keithp@keithp.com>
399 * doc/fontconfig-user.sgml:
400 Add SEE ALSO section (bug 2085)
402 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
404 reviewed by: Keith Packard <keithp@keithp.com>
409 * fc-case/Makefile.am:
410 * fc-glyphname/Makefile.am:
411 * fc-lang/Makefile.am:
412 * src/fontconfig.def.in:
413 Cross compiling fixes (bug 280)
415 2005-01-13 Keith Packard <keithp@keithp.com>
418 Update blanks list (Closes bug 86)
420 2005-01-04 Keith Packard <keithp@keithp.com>
422 * src/fccache.c: (FcCacheFontSetAdd):
423 Verify that every font pattern loaded from cache has
424 both FC_FILE and FC_FAMILY entries.
425 Attempt to fix bug #2219.
427 2004-12-29 Keith Packard <keithp@keithp.com>
431 * fontconfig/fontconfig.h:
432 Update for version 2.2.98
434 2004-12-29 Keith Packard <keithp@keithp.com>
436 * fontconfig/fontconfig.h:
437 Document ASCII limitations of Fc character conversion macros
438 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
439 Fix off-by-one error in utf-8 case walking code.
440 Add FcStrDowncase (useful for testing case conversion functions)
442 2004-12-29 Keith Packard <keithp@keithp.com>
445 * fc-case/.cvsignore:
446 clean up CVS ignore lists
447 * fc-lang/iso-3166.txt:
448 Add territory database
450 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
452 Reviewed by: Keith Packard
455 Remove Han characters from Korean orthography
457 2004-12-29 Keith Packard <keithp@keithp.com>
460 Reorder utility programs to make sure fc-case is run before fc-lang
461 as fc-lang uses fcstr.c which uses fccase.h
465 2004-12-29 Keith Packard <keithp@keithp.com>
468 Adopt some RedHat suggestions for standard font configuration.
472 * fc-case/CaseFolding.txt:
473 * fc-case/Makefile.am:
474 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
475 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
476 (dump), (parseRaw), (caseFoldReadRaw), (main):
477 * fc-case/fccase.tmpl.h:
478 Add new helper program 'fc-case' to construct case folding
479 tables from standard Unicode CaseFolding.txt file
482 * src/fclist.c: (FcListValueHash):
483 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
484 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
485 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
486 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
487 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
488 Re-implement case insensitive functions with Unicode
489 aware versions (including full case folding mappings)
491 2004-12-13 Keith Packard <keithp@keithp.com>
493 reviewed by: Owen Taylor <otaylor@redhat.com>
495 * src/fcmatch.c: (FcFontSetSort):
496 I changed FcFontSetSort to respect the generic aliases better
497 in the face of language matching.
499 What I did was to ammend the strict sort order used by FcFontSort so
500 that it 'satisfies' the language specified in the pattern by locating
501 the best matching font supporting each pattern language and then
502 ignores language in the remaining fonts for purposes of matching.
504 So, when asking for 'sans:lang=en', you'll get an English font first,
505 and then the remaining fonts sorted with respect to the 'sans' alias
506 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
508 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
510 reviewed by: Keith Packard <keithp@keithp.com>
512 * fontconfig/fontconfig.h:
515 Configuration changes to request synthetic emboldening of
516 fonts. The actual emboldening code will live in Xft.
518 2004-12-09 John Thacker <thacker@math.cornell.edu>
520 reviewed by: Keith Packard <keithp@keithp.com>
524 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
525 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
526 и), and don't even appear in KOI8-R. (The hypothesis that they
527 don't appear in KOI8-R due to their similarity with Latin I and i is
528 eliminated by their presence in KOI8-U.) I have a couple of fonts
529 with Russian support that don't have the letter.
531 Therefore, 0406 and 0456 should be removed from or commented out of
534 2004-12-06 michael meeks <mmeeks@novell.com>
536 Reviewed by: Keith Packard <keithp@keithp.com>
538 * src/fcinit.c: (FcMemReport):
540 * src/fclist.c: (FcObjectSetAdd):
541 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
542 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
543 * src/fcxml.c: (FcParsePatelt):
544 memoize strings and share a single copy for all uses. Note that
545 this could be improved further by using statically allocated blocks
546 and gluing multiple strings together, but I'm basically lazy.
547 In my environment with 800 font files, I get a savings of about 90KB.
549 2004-12-06 Keith Packard <keithp@keithp.com>
553 * config/Makedefs.in:
558 * doc/fccharset.fncs:
560 * doc/fcconstant.fncs:
562 * doc/fcfontset.fncs:
563 * doc/fcfreetype.fncs:
566 * doc/fcobjectset.fncs:
567 * doc/fcobjecttype.fncs:
568 * doc/fcpattern.fncs:
572 * doc/fontconfig-devel.sgml:
573 * doc/fontconfig-user.sgml:
575 * doc/version.sgml.in:
576 * fc-cache/Makefile.am:
577 * fc-cache/fc-cache.c:
578 * fc-glyphname/Makefile.am:
579 * fc-glyphname/fc-glyphname.c:
580 * fc-glyphname/fcglyphname.tmpl.h:
581 * fc-lang/Makefile.am:
591 * fc-lang/az_ir.orth:
626 * fc-lang/fc-lang.man:
627 * fc-lang/fclang.tmpl.h:
672 * fc-lang/ku_ir.orth:
705 * fc-lang/ps_af.orth:
706 * fc-lang/ps_pk.orth:
735 * fc-lang/ti_er.orth:
736 * fc-lang/ti_et.orth:
762 * fc-lang/zh_cn.orth:
763 * fc-lang/zh_hk.orth:
764 * fc-lang/zh_mo.orth:
765 * fc-lang/zh_sg.orth:
766 * fc-lang/zh_tw.orth:
768 * fc-list/Makefile.am:
770 * fc-match/Makefile.am:
771 * fc-match/fc-match.1:
772 * fc-match/fc-match.c:
773 * fontconfig/fcfreetype.h:
774 * fontconfig/fcprivate.h:
775 * fontconfig/fontconfig.h:
796 Change files from ISO-Latin-1 to UTF-8
798 2004-12-04 Keith Packard <keithp@keithp.com>
801 Update links to new freedesktop.org locations
803 Add uninstall-local to get rid of fonts.conf and local.conf if they
804 match the distributed versions. Fixes 'make distcheck'
806 2004-12-04 Keith Packard <keithp@keithp.com>
810 * fontconfig/fontconfig.h:
811 Updates for version 2.2.97
813 2004-12-04 Owen Taylor <otaylor@redhat.com>
815 reviewed by: Keith Packard <keithp@keithp.com>
817 * fc-cache/fc-cache.c: (main):
818 Sleep for two seconds before exiting to make sure timestamps
819 for future changes have distinct mod times in the file system.
822 Add Punjabi orthography. Bug #1671.
824 2004-12-04 Keith Packard <keithp@keithp.com>
827 Just remove the FC_FONTDATE -- it has locale issues and
828 annoys redhat multi-arch installs. Now that all X fonts are
829 included without prejudice, the chances of the date being at
830 all interesting are rather limited. Bug #505.
832 Add copyright and license
834 2004-12-04 Keith Packard <keithp@keithp.com>
837 Change default set of fonts to include all of
838 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
839 * doc/fontconfig-user.sgml:
840 Document new <include>directory-name</include> semantics
842 add <include ignore_missing="yes">conf.d</include>
844 Add selectfont to ignore bitmap fonts, add comment for
845 selectfont which accepts bitmap fonts.
848 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
849 Allow <include> configuration elements to reference directories.
850 Parse and load all files of the form [0-9]* in sorted order.
852 2004-12-04 Keith Packard <keithp@keithp.com>
855 Report command line for $srcdir/configure accurately.
858 2004-12-04 Keith Packard <keithp@keithp.com>
860 * src/fcfreetype.c: (FcFreeTypeQuery):
861 Check for non-empty face->family_name and face->style_name
862 before using those for the font. Empty names match everything.
865 2004-12-04 Keith Packard <keithp@keithp.com>
868 * fontconfig/fontconfig.h:
869 * src/fcfreetype.c: (FcFreeTypeQuery):
871 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
872 available. This provides font file format information (BDF, Type 1,
873 PCF, TrueType) for each font. Closes #109.
875 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
877 reviewed by: Keith Packard <keithp@keithp.com>
879 * doc/fontconfig-user.sgml:
882 * fontconfig/fontconfig.h:
883 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
884 (GetScriptTags), (FcFontCapabilities):
886 Add detection for font capabilities (bug #105)
888 2004-12-04 Keith Packard <keithp@keithp.com>
891 Move existing fonts.conf to fonts.conf.bak
894 Add detection of iconv
896 * doc/fcpattern.fncs:
897 * doc/fontconfig-devel.sgml:
898 * doc/fontconfig-user.sgml:
900 Document new selectfont elements
903 Switch to UTF-8 in comment
905 * fontconfig/fontconfig.h:
907 Add fullname, and family/style/fullname language entries
909 * src/fccache.c: (FcCacheFontSetAdd):
910 * src/fcdir.c: (FcFileScanConfig):
911 Respect selectfont/*/glob
914 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
915 (FcConfigCompareValue), (FcConfigPatternsAdd),
916 (FcConfigPatternsMatch), (FcConfigAcceptFont):
917 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
918 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
919 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
920 Add support for selectfont
922 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
923 (FcStringInPatternElement), (FcFreeTypeQuery):
924 Add multi-lingual family/style/fullname support
926 * src/fclist.c: (FcListPatternMatchAny):
927 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
929 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
930 (FcObjectStaticName):
931 Add new FcPatternRemove/FcPatternAppend.
932 FcObjectStaticName stores computed pattern element names which
933 are required to be static.
935 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
940 Remove spurious / after $(DESTDIR)
942 2004-06-30 Keith Packard <keithp@keithp.com>
946 * fontconfig/fontconfig.h:
949 2004-06-30 Keith Packard <keithp@keithp.com>
951 Provided by: Lubos Lunak <l.lunak@suse.cz>
953 * src/fccfg.c: (FcConfigUptoDate):
954 However FcConfigUptoDate() doesn't seem to work. See the attached
955 patch. First there's an obvious misplaced parenthesis making it
956 return always false, and second, even this call fails to detect font
957 changes (e.g. adding a new font to
958 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
959 well. The problem seems to be triggered by my fonts.conf specifying
960 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
961 doesn't include subdirs, unlike config->fontDirs.
963 2004-06-03 Keith Packard <keithp@keithp.com>
965 * fontconfig/fontconfig.h:
966 Remove comma at end of FcResult enum definition.
968 2004-05-29 Keith Packard <keithp@keithp.com>
971 Add steps to md5sum release
973 2004-05-29 Keith Packard <keithp@keithp.com>
977 * fontconfig/fontconfig.h:
980 2004-05-29 Keith Packard <keithp@keithp.com>
982 * fontconfig/fontconfig.h:
983 * src/fcmatch.c: (FcFontSetMatch):
984 Add FcResultOutOfMemory to provide an accurate error when
985 FcFontSetMatch fails in this way
988 Make #warning about lacking various FreeType features indicate
989 which version those features appeared so users know how to
990 fix the problem (Thanks to Anton Tropashko)
992 2004-05-05 Keith Packard <keithp@keithp.com>
994 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
995 Replace MIN/MAX/ABS macros which happen to have come
996 from FreeType with fontconfig-specific ones (FC_*)
998 2004-04-23 Keith Packard <keithp@keithp.com>
1001 Extend release preparation instructions to include
1002 notification and distribution steps
1004 2004-04-23 Keith Packard <keithp@keithp.com>
1008 * fontconfig/fontconfig.h:
1009 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1011 2004-04-23 Keith Packard <keithp@keithp.com>
1014 Ignore a few more autotool files
1016 2004-04-14 Keith Packard <keithp@keithp.com>
1019 Add instructions for doing a release
1021 * fontconfig.spec.in:
1022 clean up .spec file; perhaps this will be useful to somebody...
1026 * fontconfig/fontconfig.h:
1029 * fc-lang/fc-lang.c:
1030 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1032 * fc-glyphname/Makefile.am:
1033 * fc-lang/Makefile.am:
1034 * fc-list/Makefile.am:
1035 * fc-match/Makefile.am:
1037 Add WARN_CFLAGS to pass -W flags for GCC systems
1039 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1040 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1041 Change various char types around to match across
1043 Fixed bug in using available_sizes[i].height which
1044 is in pixels, not 64ths of a pixel.
1046 2004-03-06 Keith Packard <keithp@keithp.com>
1048 * src/fcfreetype.c: (FcFreeTypeQuery):
1049 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1050 matches looking for explicit values prefer exact matches
1052 2004-03-02 Keith Packard <keithp@keithp.com>
1054 Supplied by: mfabian@suse.de (Mike FABIAN)
1056 * src/fcfreetype.c: (FcFreeTypeQuery):
1057 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1058 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1060 2004-02-21 Manish Singh <yosh@gimp.org>
1062 * fc-glyphname/fc-glyphname.c: (main):
1063 Cast strlen to int for printf, so we're 64-bit clean.
1065 2004-02-11 Keith Packard <keithp@keithp.com>
1068 * src/fcfreetype.c: (FcGetPixelSize):
1069 Ok, so I messed up the test for y_ppem. Let's see if I
1070 got it right this time.
1072 2004-02-10 Keith Packard <keithp@keithp.com>
1075 * src/fcfreetype.c: (FcGetPixelSize):
1076 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1077 FT_Bitmap_Size record. Add a configure.in test for this
1078 and change the code accordingly (using height instead).
1080 2004-02-06 Keith Packard <keithp@keithp.com>
1083 Add Low Saxon orthography
1084 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1086 * src/fccfg.c: (FcConfigNewestFile):
1087 Oops. Left 'newest.set' unset, which would miscompute
1090 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1091 (FcFreeTypeCheckGlyph):
1092 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1093 font properties (which report the wrong value in current FreeType)
1095 Don't attempt to check for empty glyphs in non-scalable fonts; they
1098 2004-02-01 Tor Lillqvist <tml@iki.fi>
1100 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1101 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1102 cache if config->cache is NULL, which happens if FcConfigHome() is
1103 NULL. Guard against that by using the temp folder in that case.
1105 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1107 * fc-lang/az_ir.orth:
1108 * fc-lang/ku_ir.orth:
1109 * fc-lang/ps_af.orth:
1110 * fc-lang/ps_pk.orth:
1111 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1112 (Afghan and Pakistani).
1114 Updated Urdu orthography with real data.
1116 2003-12-11 Carl Worth <cworth@east.isi.edu>
1118 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1121 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1123 (all-local): Remove excessive whitespace.
1125 * autogen.sh: Add 'set -e' to abort when any program fails,
1126 (avoids printing of 'now type make' after configure aborts).
1128 2003-11-17 Eric Christopherson <rakko@charter.net>
1130 reviewed by: Keith Packard <keithp@keithp.com>
1133 * fontconfig/fcfreetype.h:
1135 Switch to FreeType 2.1.7 style includes. Bug #150.
1137 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1139 * fc-list/fc-list.sgml: Add some example usages.
1141 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1144 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1147 2003-10-27 Keith Packard <keith@keithp.com>
1150 * fontconfig/fontconfig.h:
1151 Update to version 2.2.92
1153 2003-10-27 Keith Packard <keithp@keithp.com>
1158 * fc-cache/Makefile.am:
1159 * fc-glyphname/Makefile.am:
1160 * fc-lang/Makefile.am:
1161 * fc-list/Makefile.am:
1162 * fc-match/Makefile.am:
1165 Yet more cleanups to finish getting 'make distcheck' working
1166 This has been tested to ensure that it even works from a _build
1169 2003-10-26 Keith Packard <keithp@keithp.com>
1173 * fc-cache/Makefile.am:
1174 * fc-glyphname/Makefile.am:
1175 * fc-lang/Makefile.am:
1176 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1177 * fc-list/Makefile.am:
1178 * fc-match/Makefile.am:
1179 Attempts to fix 'make distcheck' work. Things are
1180 progressing pretty well, but there are still failures
1181 long into the process dealing with docs (as always).
1183 The big changes here are mostly to make $(srcdir) != "."
1184 work correctly, fixing the docbook related sections and
1185 fc-lang were particularily tricky. Docbook refuses to load
1186 system entities from anywhere other than where the original .sgml
1187 file was located, so no luck looking in "." for the
1188 configure-generated version.sgml and confdir.sgml files.
1190 fc-lang needed help finding .orth files; added a -d option
1191 to set the directory as the least evil of many options.
1193 Now to go use a faster machine and try and wring out the last
1196 2003-10-26 Keith Packard <keithp@keithp.com>
1200 2003-10-26 Keith Packard <keithp@keithp.com>
1203 Include confdir.sgml.in in EXTRA_DIST
1205 2003-10-09 Josselin Mouette <joss@debian.org>
1207 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1208 * fc-list/fc-list.sgml fc-list/Makefile.am:
1209 Replace fc-cache and fc-list manpages with more detailed, SGML
1212 2003-09-23 Owen Taylor <otaylor@redhat.com>
1214 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1215 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1216 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1219 2003-09-23 Owen Taylor <otaylor@redhat.com>
1221 * fc-lang/ka.orth: Remove Georgian capitals, they
1222 aren't used for normal writing. (Bug #116)
1224 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1226 * doc/fontconfig-devel.sgml:
1227 * doc/fontconfig-user.sgml:
1228 * fontconfig/fontconfig.h:
1230 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1231 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1233 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1234 monospace and dual-width fonts, allow roughly a 3% variance in the
1237 2003-08-31 Manish Singh <yosh@gimp.org>
1239 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1242 2003-08-15 Carl Worth <cworth@isi.edu>
1244 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1245 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1247 * src/fcpat.c (FcValueListEntDestroy): New function to support
1248 FcFini memory cleanup. Some statistics are not kept in
1250 (FcValueListFreeze): Move hashTable outside this function so it
1251 can be accessed by FcValueListThawAll.
1252 (FcValueListThawAll): New function complements FcValueListFreeze.
1253 (FcPatternBaseFreeze): Move hashTable outside this function so it
1254 can be accessed by FcPatternBaseThawAll.
1255 (FcPatternBaseThawAll): New function complements
1256 FcPatternBaseFreeze.
1257 (FcPatternThawAll): New function complements FcPatternFreeze.
1259 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1261 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1262 allocated FcCharLeafEnt "blocks" so they can be freed later.
1263 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1264 can be accessed by FcCharSetThawAllLeaf.
1265 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1266 (FcCharSetFreezeBase): Move hashTable outside this function so it
1267 can be accessed by FcCharSetThawAll.
1268 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1270 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1271 (FcConfigDestroy): Fic leak of FcBlanks.
1273 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1274 (main): Add call to FcFini when finished.
1276 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1277 static. Add prototypes.
1279 * doc/fcinit.fncs: Add documentation for FcFini function.
1281 * doc/edit-sgml.c: Mark several local functions as static. Add
1284 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1286 2003-06-15 Tor Lillqvist <tml@iki.fi>
1288 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1289 before comparing (needed on Windows).
1291 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1293 2003-06-13 Tor Lillqvist <tml@iki.fi>
1295 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1298 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1299 WINDOWSFONTDIR token.
1301 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1302 end, not to confuse libtool, which expects the EXPORTS line to be
1303 the first. Add FcConfigEnableHome.
1305 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1306 built as a DLL on Win32.
1308 2003-06-09 Keith Packard <keithp@keithp.com>
1310 * Tag version 2.2.90
1312 2003-06-09 Keith Packard <keithp@keithp.com>
1314 * Optimization in FcLangSetIndex was broken, occasionally
1315 returning a pointer to the wrong location on miss
1317 * Add fc-match to test font matching from the command line.
1319 2003-05-31 Keith Packard <keithp@keithp.com>
1321 * (Bug 85) add support for culmus fonts
1322 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1323 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1325 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1327 * Fix "contains" op for strings and langsets.
1329 2003-05-17 Keith Packard <keithp@keithp.com>
1331 * Fix build error with BDF prop local. Free langset after query
1333 2003-05-14 Keith Packard <keithp@keithp.com>
1335 * Extract spacing from XLFD atom
1337 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1339 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1340 disappeared in 1.30.
1342 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1344 2003-05-12 Keith Packard <keithp@keithp.com>
1346 * Use FcIsWidth to share code
1348 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1349 misclassifying some Han fonts as monospaced.
1351 2003-05-07 Keith Packard <keithp@keithp.com>
1353 * Add filename-based accept/reject to ammend available fonts.
1355 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1356 older FreeType releases.
1358 2003-05-06 Keith Packard <keithp@keithp.com>
1360 * Remove 0b82 and Tamil numbers from tamil
1361 orthography (Jungshik Shin <jshin@mailaps.org>)
1363 2003-05-04 Keith Packard <keithp@keithp.com>
1365 + Map glyph names in fonts with adobe custom encoding to unicode
1367 2003-05-02 Keith Packard <keithp@keithp.com>
1369 * Add FC_WEIGHT_BOOK as weight 75
1371 2003-04-30 Keith Packard <keithp@keithp.com>
1373 * Typo in bitstream foundry name
1375 2003-04-24 Keith Packard <keithp@keithp.com>
1377 * Eliminate italic_angle check for PS fonts
1379 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1381 * Getting closer to fixing /etc/fonts hard-coding.
1383 2003-04-22 Keith Packard <keithp@keithp.com>
1385 * Update autogen.sh to work with newer automake versions
1386 * Handle pattern elements moving during multiple edits
1388 2003-04-23 James Henstridge <james@daa.com.au>
1390 * doc/fontconfig-devel.sgml: close the <para> element.
1392 * doc/fcpattern.fncs: close the <para> element.
1394 * doc/func.sgml: close the <refsynopsisdiv> element.
1396 2003-04-22 Keith Packard <keithp@keithp.com
1398 * Update autogen.sh to work with newer automake versions
1399 * Handle pattern elements moving during multiple edits
1401 2003-04-17 Colin Walters <walters@debian.org>
1403 + Remove some unused variables, and initialize some other ones so
1404 gcc doesn't warn us.
1406 2003-04-16 Keith Packard <keithp@keithp.com>
1408 + tag version 2.1.94
1410 2003-04-16 Keith Packard <keithp@keithp.com>
1412 + add BDF property fetching support for foundry
1413 (from Juliusz Chroboczek)
1414 + add BDF property fetching support for width
1416 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1418 + Implemented foundry generation for Type 1 and TrueType
1420 2003-04-11 Gerard Escalante <g2@magestudios.net>
1422 + Retrieve information from Type1 FontInfo dictionaries
1424 2003-04-07 Colin Walters <walters@verbum.org>
1426 + src/Makefile.am: Fix dummy makefile target names when
1427 MS_LIB_AVAILABLE isn't set.
1429 2003-03-22 Tor Lillqvist <tml@iki.fi>
1431 Changes for Windows:
1433 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1435 + We don't want to hardcode the fonts.conf file location in the
1436 DLL, so we look up the DLL location at run-time in a DllMain()
1437 function. The fonts.conf location is deduced from that.
1439 + The colon can't be used as path separator on Windows,
1440 semicolon is used instead. File path components can be separated
1441 with either slash or backslash. Absolute paths can also begin
1442 with a drive letter.
1444 + Add internal function FcStrLastSlash that strrchr's the last
1445 slash, or backslash on Windows.
1447 + There is no link() on Windows. For atomicity checks, mkdir a
1448 lock directory instead.
1450 + In addition to HOME, also look for USERPROFILE.
1452 + Recognize the special font directory token WINDOWSFONTDIR, to
1453 use the system's font directory.
1455 + Remove the fontconfig-def.cpp that was obsolete. Add
1456 fontconfig.def(.in), without internal functions.
1458 + Add a fontconfig-zip(.in) script, used to build a binary
1461 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1462 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1463 to main package and man3/* to devel package
1465 + Added missing defattr(-, root, root) to main RPM package
1467 + Added HTML and text development documentation to -devel subpackage
1469 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1470 + Added back the configure macro options --disable-docs, otherwise
1471 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1472 version number) unconditionally, causing RPM to fail the build due
1473 to _unpackaged_files_terminate_build. We pick up the pregenerated
1474 docs with %doc already.
1476 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1477 + Removed commented out rpm macro define at top of spec file,
1478 replacing it with a simple explanation, since rpm macros are
1479 expanded by rpm even in comments.
1481 + Changed /usr/bin to _bindir in BuildRequires lines
1483 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1485 + Reorganized file manifest lists
1487 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1489 + fontconfig.spec.in: Improvements from Red Hat spec file.
1491 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1493 + docs/*.sgml: SGML fixes.
1495 Sat Mar 1 17:28:53 PST 2003 keithp
1496 + Ok, so the ChangeLog is a bit out of date
1498 + Lots of bugs fixed; most are in bugzilla, the
1499 biggest problems were in cache management where
1500 Owen discovered the library would lose badly when
1501 combining fonts-cache and ~/.fonts-cache data
1503 + Converted from autoconf to automake. This after
1504 getting patches accepted into libtool to allow
1505 the '-version-number' argument which lets
1506 packages set version numbers explicitly rather
1507 than the roundabout libtool way
1509 + Converted documentation to SGML using the docbook
1510 DTD. Now .txt and .html documents are installed
1511 in /usr/share/doc/fontconfig and there's no
1512 man page. Perhaps a man version can be written
1515 Sat Aug 31 15:21:22 PDT 2002 keithp
1516 + Xrender and Xft had several bugs related to
1517 rendering manually placed or poly-face text
1519 + Added more complete memory tracing in fontconfig
1520 Checked with (patched) mozilla and found no leaks
1522 + Updated Latin orthographies by comparing those from
1523 evertype.com with those from eki.ee. Tried to make
1524 sensible choices, including chars that occured in both
1525 and leaving some optional chars out that occured only
1528 Mon Aug 26 16:33:04 PDT 2002 keithp
1529 + Owen discovered that FcLangSetHasLang wasn't actually
1530 checking the language set.
1532 Mon Aug 26 13:37:23 PDT 2002 keithp
1533 + Append a version number to cache filenames
1535 Thu Aug 22 11:36:18 PDT 2002 keithp
1537 + Add "contains" and "not_contains" operators and elements to
1540 + Changed semantics of eq operator for LangSets to check for
1541 FcLangEqual so that any match will do
1543 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1544 of FcValueEqual to check for identical values when inserting into
1545 the results. This broke when the above semantic change was made,
1546 now it uses FcValueEqual which is "more correct" in any case.
1548 Thu Aug 22 00:32:29 PDT 2002 keithp
1550 + Reimplement FC_LANG as new datatype. Lists of strings
1551 was consuming over a megabyte of memory for 401 fonts.
1553 + Freeze patterns loaded from cache files. This shares
1554 common value lists and common patterns which saves
1555 considerable memory.
1557 + Change the denotation of 'constant' charsets to use special
1558 ref value instead of separate boolean.
1560 + Clean up leak tracing stuff, found several unannoted alloc/free
1563 Tue Aug 20 16:17:37 PDT 2002 keithp
1565 + Fix memory leak when parsing matrices from XML
1567 Mon Aug 19 11:57:27 PDT 2002 keithp
1569 + Fix autoconf files to pass FONTCONFIG_PATH on
1570 compile line so that ${prefix} gets substituted
1573 + Use getc_unlocked/putc_unlocked on systems that
1574 provide them to avoid damage done to stdio by posix
1576 + Eliminate FC_PATTERN and FcTypePattern in favor of
1577 an extended api for FcConfigSubstitute which takes
1578 both the font and the pattern.
1580 + Add 'sans serif' alias for 'sans-serif' as some apps
1581 can't handle hyphens in family names
1583 + Eliminate pretense of support for libxml2
1585 + Comment origins of Han orthographies
1587 Tue Jul 30 18:37:09 PDT 2002 keithp
1589 + Add binding property to edit element so that strong
1590 binding values may be inserted by the config file.
1591 The default remains weak.
1593 Sun 28 Jul 04:16:55 PDT 2002 keithp
1595 + Tagged release candidate 1 in the CVS tree and
1596 placed fcpackage.rc1.tar.gz for distribution
1598 Thu Aug 1 08:55:08 PDT 2002 keithp
1600 + Fixed autoconf builds to always specify install
1601 target files (for BSD). Also fixed to
1602 define FONTCONFIG_PATH in config.h so that
1603 nonstandard installs will actually work.