1 2005-11-02 Patrick Lam <plam@mit.edu>
2 * src/fcfreetype.c (FcFreetypeQuery):
3 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
4 FcPatternTransferFullFname):
6 Fix warnings and embarrassing double-free error.
8 2005-11-02 Zhe Su <zsu@novell.com>
13 Change the rule for artificial emboldening in fonts.conf.in. This
14 enables the support for artificial emboldening included in cairo.
16 2005-11-02 Patrick Lam <plam@mit.edu>
17 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
19 Don't zero out full names for FC_REF_CONSTANT fonts;
20 also, duplicate full names when transferring, and free
21 full names when freeing the associated font.
22 Reported by Jinghua Luo.
24 2005-11-02 Patrick Lam <plam@mit.edu>
25 * fc-cache/fc-cache.c (scanDirs):
26 * src/fcpat.c (FcValueListSerialize):
28 Revert the previous patch and commit the correct patch:
29 I forgot a canonicalization in FcValueListSerialize, so
30 that it would choke on already-serialized input files. Duh!
32 2005-11-02 Patrick Lam <plam@mit.edu>
33 * fc-cache/fc-cache.c (scanDirs):
35 Forcibly rescan a directory before writing a fresh local
36 cache file for that directory, fixing the losing-fonts
37 problem reported by Mike Fabian and also apparently the
38 font cache file corruption.
40 2005-11-02 Patrick Lam <plam@mit.edu>
41 * src/fccache.c (FcGlobalCacheLoad):
43 Fix thinko: actually, the whole global cache is stale
44 if the global cache is older than the (newest) config file.
46 2005-11-02 Patrick Lam <plam@mit.edu>
47 * src/fccache.c (FcGlobalCacheLoad):
48 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
51 Declare the global cache of a directory's contents to be stale if
52 the directory is newer than the (newest) configuration file.
54 2005-10-31 Patrick Lam <plam@mit.edu>
56 * src/fclist.c (FcListAppend):
57 * src/fcmatch.c (FcFontRenderPrepare):
58 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
59 FcPatternFreeze, FcPatternBaseFreeze):
61 Copy the full pathname whenever duplicating an FcPattern; otherwise,
62 applications continue breaking.
64 2005-10-31 Patrick Lam <plam@mit.edu>
65 * fc-cat/fc-cat.c (FcCacheFileRead, main):
66 * src/fcfreetype.c (FcFreeTypeQuery):
68 Fix small memory error (tried to free argv); use basename and
69 dirname correctly (they can modify their arguments).
71 2005-10-31 Patrick Lam <plam@mit.edu>
79 Reinstate basename patch, but keep a hash table linking FcPatterns
80 to their fully-qualified font names for clients' benefit. Clients
81 only pay for the font names once they request the FC_FILE property
82 from an FcPattern, but the font name is malloc'd at that point (i.e.
83 not mmapped: that's impossible, since it may vary between machines.)
84 Clients do have to pay for a copy of the path name per cache file.
86 Note that FcPatternGetString now does some rewriting if you ask
87 for an FC_FILE, appending the pathname as appropriate.
89 2005-10-31 Patrick Lam <plam@mit.edu>
90 * src/fcfreetype.c (FcFreeTypeQuery):
92 Revert basename patch, which breaks fontconfig clients on my system.
94 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
97 * fontconfig/fonts.conf.in:
98 * fontconfig/fontconfig.h:
102 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
103 to load embedded bitmaps or not.
105 2005-10-25 Patrick Lam <plam@mit.edu>
106 * src/fcfreetype.c (FcFreeTypeQuery):
108 Only add basename to patterns' FC_FILE element, not any part of
111 2005-10-22 Patrick Lam <plam@mit.edu>
114 Add some more consts, fixing more GCC4 warnings.
116 2005-10-22 Zhe Su <zsu@novell.com>
119 Support localized font family and style names.
120 This has been reported to break old apps like xfd, but modern
121 (gtk+/qt/mozilla) apps work fine.
123 2005-10-21 Patrick Lam <plam@mit.edu>
124 * src/fccache.c (FcGlobalCacheLoad):
126 Destroy the global cache file if it's terminally broken. (reported by
129 2005-10-21 Patrick Lam <plam@mit.edu>
130 * fc-list/fc-list.c (main):
131 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
132 * fontconfig/fontconfig.h:
134 Prevent fc-list from escaping strings when printing them (reported by
137 2005-10-20 Marcus Meissner <meissner@suse.de>
140 * fontconfig/fontconfig.h:
142 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
144 2005-10-14 Ross Burton <ross@burtonini.com>
147 * fc-glyphname/fc-glyphname.c:
150 Add consts to variables so as to move arrays into .rodata.
152 2005-10-14 Mike Fabian <mfabian@suse.de>
155 * src/fccache.c (FcDirCacheUnlink):
157 Check existence of directory cache file before attempting to unlink.
159 2005-10-13 Patrick Lam <plam@mit.edu>
160 * src/fccache.c (FcDirCacheUnlink):
162 Fix flipped return value on unlink. (Reported by Mike Fabian)
164 2005-10-12 Patrick Lam <plam@mit.edu>
167 * src/fcdir.c (FcDirScanConfig):
170 When fc-cache is run without --force, use directory cache files
171 to speed up fc-cache run time. (Reported by Mike Fabian)
173 2005-10-06 Patrick Lam <plam@mit.edu>
175 * src/fcname.c (FcObjectToPtr):
176 * src/fcpat.c (FcStrStaticName):
178 Add padding to make valgrind and glibc not hate each other
179 when calling strlen().
181 2005-10-05 Simos Xenitellis <simos74@gmx.net>
182 reviewed by: plam & keithp
186 Modify config file to use Greek fonts before Asian fonts with
189 2005-10-05 Christian Biesinger <cbiesinger@web.de>
190 reviewed by: plam & keithp
194 Use libtool -no-undefined flag on all platforms.
196 2005-10-05 Patrick Lam <plam@mit.edu>
197 * src/fccache.c (FcCacheHaveBank):
199 Implement move-to-front array for banks (perf regression
200 reported by Ronny V. Vindenes).
202 2005-10-04 Patrick Lam <plam@mit.edu>
203 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
204 FcDirCacheHasCurrentArch):
205 * fc-cache/fc-cache.c (scanDirs):
206 * fontconfig/fontconfig.h:
208 Add new API which unlinks directory caches and checks dir caches
209 for existence of appropriate sections. Fix fc-cache to unlink
210 stale cache files and save directory caches that lack relevant
213 2005-10-03 Patrick Lam <plam@mit.edu>
214 * src/fccache.c (FcDirCacheValid):
216 Ensure that a directory cache has the appropriate section
217 before reporting that it is valid (reported by Matthias Clasen).
219 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
227 Use libxml2 if requested (with --enable-libxml2) or if
228 expat is not available.
230 2005-09-29 Patrick Lam <plam@mit.edu>
231 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
233 Fix multi-arch cache files: compute the position for the
234 block to be added using info from OrigFile, not NewFile.
236 2005-09-28 Patrick Lam <plam@mit.edu>
237 * src/fccache.c (FcCacheMachineSignature):
239 Cast results of sizeof() to unsigned int to get rid of
240 warnings on x86_64 (thanks Matthias Clasen).
242 2005-09-27 Patrick Lam <plam@mit.edu>
243 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
246 Use FcAtomic to rewrite cache files.
248 2005-09-27 Patrick Lam <plam@mit.edu>
250 * src/fccache.c (FcDirCacheWrite):
252 Don't unlink the fonts.cache-2 file even if there's no data
253 to write; just write an empty cache file. (thanks Lubos Lunak)
255 2005-09-27 Patrick Lam <plam@mit.edu>
257 * src/fccache.c (FcDirCacheWrite):
259 Allocate room for the subdirectory names in each
260 directory cache. Thanks to James Cloos for finding
261 and diagnosing this bug!
263 2005-09-22 Patrick Lam <plam@mit.edu>
265 * fc-cache/fc-cache.sgml:
266 * src/fccache.c (FcDirCacheWrite):
267 * src/fccache.h (struct FcCache):
269 Update documentation -- fc-cache's man page now says that you
270 need to run fc-cache once per cached architecture; add some
271 documentation to the FcCache structure.
273 Make fc-cache write out fonts.cache-2 files for directories with
274 no fonts (i.e. only subdirectories).
276 2005-09-22 Patrick Lam <plam@mit.edu>
278 * fc-cache/fc-cache.sgml:
280 * fc-glyphname/fc-glyphname.c:
286 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
291 * fontconfig/fcprivate.h:
292 * fontconfig/fontconfig.h:
306 Implement new mmaped cache for font information.
307 Bump so revision to 2.3.90.
309 2005-07-25 Keith Packard <keithp@keithp.com>
311 * doc/fontconfig-user.sgml:
312 * fc-glyphname/fc-glyphname.c: (scan), (main):
313 * fc-lang/fc-lang.c: (FcConfigHome):
314 * fc-match/fc-match.c: (main):
315 * src/fccfg.c: (FcConfigHome):
316 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
317 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
318 (addtag), (FcFontCapabilities):
319 * src/fcpat.c: (FcValueListEntCreate):
320 * src/fcstr.c: (FcStrCaseWalkerInit):
321 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
323 Various GCC 4 cleanups for signed vs unsigned char
325 Match only [0-9]*.conf files in <include>{directory}</include>
326 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
328 2005-07-15 Carl Worth <cworth@cworth.org>
331 * src/fcinit.c: (FcFini):
332 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
335 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
336 Pull the FcObjectStateName hash table out to file scope, and add
337 FcObjectStaticNameFini so that FcFini will cleanup this hash table
340 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
343 2005-06-16 Patrick Lam <plam@MIT.EDU>
347 * src/fccfg.c: (FcConfigCompareValue):
348 Make FcOpNotContains use FcStrStr for strings so that
349 it matches semantics for !FcOpContains.
351 2005-05-20 Keith Packard <keithp@keithp.com>
355 Move fontconfig source package to libs as per override
357 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
359 reviewed by: Mike Fabian
362 The ka.orth file requires several characters which are not
363 used anymore in modern Georgian and which are missing in the free
364 Georgian TrueType fonts downloadable at:
366 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
368 2005-04-27 Keith Packard <keithp@keithp.com>
372 Update date to real 2.3.2 release date.
373 Fix change attributions
375 2005-04-27 Keith Packard <keithp@keithp.com>
378 Bump so revision for 2.3.2
379 * fc-cache/fc-cache.c: (scanDirs):
380 Fix a few minor leaks in error cases.
382 2005-04-23 Keith Packard <keithp@keithp.com>
387 * fontconfig/fontconfig.h:
388 Update for version 2.3.2
390 2005-04-21 Keith Packard <keithp@keithp.com>
392 * debian/fontconfig.postinst:
393 Don't force bitmap font enable in default
394 configuration; allows users to override this in
404 * debian/po/pt_BR.po:
405 * debian/po/templates.pot:
407 * debian/po/zh_CN.po:
410 * fc-cache/fc-cache.c: (main):
411 Destroy font configuration on exit to help valgrind
414 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
415 (FcFreeTypeCheckGlyph):
416 Use own transcoding routines in preference to iconv
417 which appears to have leaks in some translators.
418 Call iconv_close after using iconv (oops).
420 Prefer unicode encoding of Euro char as some
421 fonts mis-encode Euro in other ones.
423 Must fetch bitmap glyphs to get width values
424 to check for monospace/dual-width fonts.
426 2005-04-13 Ross Burton <ross@burtonini.com>
429 Check that a pattern isn't already frozen in FcPatternFreeze.
431 2005-03-31 Ross Burton <ross@burtonini.com>
436 Run all FcPattern objects through FcObjectStaticName, so that
437 compares can be done on pointers instead of strings (#2659)
439 2005-03-17 Tor Lillqvist <tml@novell.com>
441 * src/fontconfig.def.in: Add the .dll to the dll name.
443 2005-03-10 Keith Packard <keithp@keithp.com>
445 * debian/README.Debian:
446 Update to reflect configuration changes
448 * debian/fontconfig.postinst:
449 Fix Autohint vs Autohinter mistake
450 * debian/fontconfig.templates:
451 Adopt changes from Josselin Mouette for configuration descriptions
452 Update debian to version 2.3.1-2
454 2005-03-08 Keith Packard <keithp@keithp.com>
458 Update debian for 2.3.1
460 2005-03-09 Tor Lillqvist <tml@novell.com>
462 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
465 * src/fccfg.c (FcConfigFileExists): Check also drive letter
468 2005-03-08 Keith Packard <keithp@keithp.com>
472 * fontconfig/fontconfig.h:
475 2005-03-05 Keith Packard <keithp@keithp.com>
477 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
478 Include space and remove numbers from valid script tags.
479 This ensures that tags like 'lao ' work while rejecting
480 those which have any digits.
481 Eliminate a spurious debugging variable (len)
483 2005-03-05 Keith Packard <keithp@keithp.com>
485 * src/fcfreetype.c: (addtag), (GetScriptTags),
486 (FcFontCapabilities):
487 Rework GSUB/GPOS script parsing to survive broken fonts.
488 Thanks for the broken font go to Manish Singh
490 2005-03-05 Keith Packard <keithp@keithp.com>
495 * debian/fontconfig.config:
496 * debian/fontconfig.templates:
498 Include 2.3 release information in changelog
499 Add Josselin Mouette as an Uploader
500 Set hinting_type to low priority configuration option
503 * debian/fontconfig.postinst:
504 yes_bitmaps.conf -> yes-bitmaps.conf
510 2005-03-02 Keith Packard <keithp@keithp.com>
513 * conf.d/Makefile.am:
514 * conf.d/autohint.conf:
515 * conf.d/no-sub-pixel.conf:
516 * conf.d/sub-pixel.conf:
517 * conf.d/unhinted.conf:
518 * debian/autohint.conf:
519 * debian/fontconfig.install:
520 * debian/fontconfig.postinst:
521 * debian/fontconfig.templates:
522 * debian/no-sub-pixel.conf:
523 * debian/unhinted.conf:
524 Move debian-specific conf file examples upstream.
526 Sub-pixel configuration examples must smash subpixel value
527 as Xft always sets it from X.
529 Change sub-pixel rendering debconf descriptions from
530 Enable/Disable to Always/Never.
532 2005-03-02 Keith Packard <keithp@keithp.com>
537 Ignore more build detritus
540 Add debian package construction stuff.
542 * config/config.guess:
544 Update to newer versions of these tools
547 Get library manuals to build again (we love automake).
549 * debian/README.Debian:
550 * debian/autohint.conf:
555 * debian/fontconfig-udeb.install:
556 * debian/fontconfig.config:
557 * debian/fontconfig.defoma:
558 * debian/fontconfig.dirs:
559 * debian/fontconfig.install:
560 * debian/fontconfig.postinst:
561 * debian/fontconfig.postrm:
562 * debian/fontconfig.templates:
563 * debian/libfontconfig1-dev.install:
564 * debian/libfontconfig1.install:
565 * debian/local.conf.md5sum:
566 * debian/no-sub-pixel.conf:
567 * debian/po/POTFILES.in:
576 * debian/po/pt_BR.po:
577 * debian/po/templates.pot:
579 * debian/po/zh_CN.po:
581 * debian/unhinted.conf:
582 Update debian build system to switch maintainers and
583 deal with 2.3 functionality
585 2005-03-01 Keith Packard <keithp@keithp.com>
589 * fontconfig/fontconfig.h:
592 2005-03-01 Keith Packard <keithp@keithp.com>
595 Generate and install PDF versions of the manuals
597 * doc/fcpattern.fncs:
601 Add missing exported functions, fix data types
603 * doc/fontconfig-devel.sgml:
604 Add missing pattern elements.
606 * doc/fontconfig-user.sgml:
607 Add missing pattern elements. Document conf.d usage,
608 clarify available orthography list. Fix some config file
609 attributes. Complete list of constants.
611 * fontconfig/fontconfig.h:
612 Mark FC_SOURCE deprecated.
614 * src/fcfreetype.c: (FcFreeTypeQuery):
615 Don't set FC_SOURCE any longer.
617 2005-02-28 Keith Packard <keithp@keithp.com>
620 * conf.d/Makefile.am:
622 * conf.d/no-bitmaps.conf:
623 * conf.d/sub-pixel.conf:
624 * conf.d/yes-bitmaps.conf:
626 Create prototype /etc/fonts/conf.d directory with a few
627 sample configuration files.
628 Deprecate use of local.conf for local customizations in favor of
629 this directory based scheme which is more easily integrated into
630 installation systems.
633 Tag FC_EMBOLDEN as a boolean variable
635 2005-02-10 Keith Packard <keithp@keithp.com>
637 reviewed by: pborelli@katamail.com
639 * src/fcdir.c: (FcFileScanConfig):
640 Free patterns from fonts which are rejected by configuration
643 2005-01-28 Keith Packard <keithp@keithp.com>
647 * fontconfig/fontconfig.h:
648 Update for version 2.2.99
650 2005-01-28 Keith Packard <keithp@keithp.com>
653 Add a few pointers (#2284, #2285)
655 2005-01-28 Keith Packard <keithp@keithp.com>
658 * src/fcname.c: (FcNameBool):
659 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
660 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
661 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
662 Polite typechecking for test and edit expressions. Helps
663 catch errors in the font configuration. (bug 229)
665 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
667 reviewed by: Keith Packard <keithp@keithp.com>
670 Have --with-expat set EXPAT_CFLAGS (bug 2278)
672 2005-01-13 Keith Packard <keithp@keithp.com>
674 * doc/fontconfig-user.sgml:
675 Add SEE ALSO section (bug 2085)
677 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
679 reviewed by: Keith Packard <keithp@keithp.com>
684 * fc-case/Makefile.am:
685 * fc-glyphname/Makefile.am:
686 * fc-lang/Makefile.am:
687 * src/fontconfig.def.in:
688 Cross compiling fixes (bug 280)
690 2005-01-13 Keith Packard <keithp@keithp.com>
693 Update blanks list (Closes bug 86)
695 2005-01-04 Keith Packard <keithp@keithp.com>
697 * src/fccache.c: (FcCacheFontSetAdd):
698 Verify that every font pattern loaded from cache has
699 both FC_FILE and FC_FAMILY entries.
700 Attempt to fix bug #2219.
702 2004-12-29 Keith Packard <keithp@keithp.com>
706 * fontconfig/fontconfig.h:
707 Update for version 2.2.98
709 2004-12-29 Keith Packard <keithp@keithp.com>
711 * fontconfig/fontconfig.h:
712 Document ASCII limitations of Fc character conversion macros
713 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
714 Fix off-by-one error in utf-8 case walking code.
715 Add FcStrDowncase (useful for testing case conversion functions)
717 2004-12-29 Keith Packard <keithp@keithp.com>
720 * fc-case/.cvsignore:
721 clean up CVS ignore lists
722 * fc-lang/iso-3166.txt:
723 Add territory database
725 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
727 Reviewed by: Keith Packard
730 Remove Han characters from Korean orthography
732 2004-12-29 Keith Packard <keithp@keithp.com>
735 Reorder utility programs to make sure fc-case is run before fc-lang
736 as fc-lang uses fcstr.c which uses fccase.h
740 2004-12-29 Keith Packard <keithp@keithp.com>
743 Adopt some RedHat suggestions for standard font configuration.
747 * fc-case/CaseFolding.txt:
748 * fc-case/Makefile.am:
749 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
750 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
751 (dump), (parseRaw), (caseFoldReadRaw), (main):
752 * fc-case/fccase.tmpl.h:
753 Add new helper program 'fc-case' to construct case folding
754 tables from standard Unicode CaseFolding.txt file
757 * src/fclist.c: (FcListValueHash):
758 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
759 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
760 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
761 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
762 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
763 Re-implement case insensitive functions with Unicode
764 aware versions (including full case folding mappings)
766 2004-12-13 Keith Packard <keithp@keithp.com>
768 reviewed by: Owen Taylor <otaylor@redhat.com>
770 * src/fcmatch.c: (FcFontSetSort):
771 I changed FcFontSetSort to respect the generic aliases better
772 in the face of language matching.
774 What I did was to ammend the strict sort order used by FcFontSort so
775 that it 'satisfies' the language specified in the pattern by locating
776 the best matching font supporting each pattern language and then
777 ignores language in the remaining fonts for purposes of matching.
779 So, when asking for 'sans:lang=en', you'll get an English font first,
780 and then the remaining fonts sorted with respect to the 'sans' alias
781 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
783 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
785 reviewed by: Keith Packard <keithp@keithp.com>
787 * fontconfig/fontconfig.h:
790 Configuration changes to request synthetic emboldening of
791 fonts. The actual emboldening code will live in Xft.
793 2004-12-09 John Thacker <thacker@math.cornell.edu>
795 reviewed by: Keith Packard <keithp@keithp.com>
799 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
800 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
801 и), and don't even appear in KOI8-R. (The hypothesis that they
802 don't appear in KOI8-R due to their similarity with Latin I and i is
803 eliminated by their presence in KOI8-U.) I have a couple of fonts
804 with Russian support that don't have the letter.
806 Therefore, 0406 and 0456 should be removed from or commented out of
809 2004-12-06 michael meeks <mmeeks@novell.com>
811 Reviewed by: Keith Packard <keithp@keithp.com>
813 * src/fcinit.c: (FcMemReport):
815 * src/fclist.c: (FcObjectSetAdd):
816 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
817 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
818 * src/fcxml.c: (FcParsePatelt):
819 memoize strings and share a single copy for all uses. Note that
820 this could be improved further by using statically allocated blocks
821 and gluing multiple strings together, but I'm basically lazy.
822 In my environment with 800 font files, I get a savings of about 90KB.
824 2004-12-06 Keith Packard <keithp@keithp.com>
828 * config/Makedefs.in:
833 * doc/fccharset.fncs:
835 * doc/fcconstant.fncs:
837 * doc/fcfontset.fncs:
838 * doc/fcfreetype.fncs:
841 * doc/fcobjectset.fncs:
842 * doc/fcobjecttype.fncs:
843 * doc/fcpattern.fncs:
847 * doc/fontconfig-devel.sgml:
848 * doc/fontconfig-user.sgml:
850 * doc/version.sgml.in:
851 * fc-cache/Makefile.am:
852 * fc-cache/fc-cache.c:
853 * fc-glyphname/Makefile.am:
854 * fc-glyphname/fc-glyphname.c:
855 * fc-glyphname/fcglyphname.tmpl.h:
856 * fc-lang/Makefile.am:
866 * fc-lang/az_ir.orth:
901 * fc-lang/fc-lang.man:
902 * fc-lang/fclang.tmpl.h:
947 * fc-lang/ku_ir.orth:
980 * fc-lang/ps_af.orth:
981 * fc-lang/ps_pk.orth:
1010 * fc-lang/ti_er.orth:
1011 * fc-lang/ti_et.orth:
1037 * fc-lang/zh_cn.orth:
1038 * fc-lang/zh_hk.orth:
1039 * fc-lang/zh_mo.orth:
1040 * fc-lang/zh_sg.orth:
1041 * fc-lang/zh_tw.orth:
1043 * fc-list/Makefile.am:
1044 * fc-list/fc-list.c:
1045 * fc-match/Makefile.am:
1046 * fc-match/fc-match.1:
1047 * fc-match/fc-match.c:
1048 * fontconfig/fcfreetype.h:
1049 * fontconfig/fcprivate.h:
1050 * fontconfig/fontconfig.h:
1071 Change files from ISO-Latin-1 to UTF-8
1073 2004-12-04 Keith Packard <keithp@keithp.com>
1076 Update links to new freedesktop.org locations
1078 Add uninstall-local to get rid of fonts.conf and local.conf if they
1079 match the distributed versions. Fixes 'make distcheck'
1081 2004-12-04 Keith Packard <keithp@keithp.com>
1085 * fontconfig/fontconfig.h:
1086 Updates for version 2.2.97
1088 2004-12-04 Owen Taylor <otaylor@redhat.com>
1090 reviewed by: Keith Packard <keithp@keithp.com>
1092 * fc-cache/fc-cache.c: (main):
1093 Sleep for two seconds before exiting to make sure timestamps
1094 for future changes have distinct mod times in the file system.
1097 Add Punjabi orthography. Bug #1671.
1099 2004-12-04 Keith Packard <keithp@keithp.com>
1102 Just remove the FC_FONTDATE -- it has locale issues and
1103 annoys redhat multi-arch installs. Now that all X fonts are
1104 included without prejudice, the chances of the date being at
1105 all interesting are rather limited. Bug #505.
1107 Add copyright and license
1109 2004-12-04 Keith Packard <keithp@keithp.com>
1112 Change default set of fonts to include all of
1113 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1114 * doc/fontconfig-user.sgml:
1115 Document new <include>directory-name</include> semantics
1117 add <include ignore_missing="yes">conf.d</include>
1119 Add selectfont to ignore bitmap fonts, add comment for
1120 selectfont which accepts bitmap fonts.
1123 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1124 Allow <include> configuration elements to reference directories.
1125 Parse and load all files of the form [0-9]* in sorted order.
1127 2004-12-04 Keith Packard <keithp@keithp.com>
1130 Report command line for $srcdir/configure accurately.
1133 2004-12-04 Keith Packard <keithp@keithp.com>
1135 * src/fcfreetype.c: (FcFreeTypeQuery):
1136 Check for non-empty face->family_name and face->style_name
1137 before using those for the font. Empty names match everything.
1140 2004-12-04 Keith Packard <keithp@keithp.com>
1143 * fontconfig/fontconfig.h:
1144 * src/fcfreetype.c: (FcFreeTypeQuery):
1146 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1147 available. This provides font file format information (BDF, Type 1,
1148 PCF, TrueType) for each font. Closes #109.
1150 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1152 reviewed by: Keith Packard <keithp@keithp.com>
1154 * doc/fontconfig-user.sgml:
1157 * fontconfig/fontconfig.h:
1158 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1159 (GetScriptTags), (FcFontCapabilities):
1161 Add detection for font capabilities (bug #105)
1163 2004-12-04 Keith Packard <keithp@keithp.com>
1166 Move existing fonts.conf to fonts.conf.bak
1169 Add detection of iconv
1171 * doc/fcpattern.fncs:
1172 * doc/fontconfig-devel.sgml:
1173 * doc/fontconfig-user.sgml:
1175 Document new selectfont elements
1178 Switch to UTF-8 in comment
1180 * fontconfig/fontconfig.h:
1182 Add fullname, and family/style/fullname language entries
1184 * src/fccache.c: (FcCacheFontSetAdd):
1185 * src/fcdir.c: (FcFileScanConfig):
1186 Respect selectfont/*/glob
1189 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1190 (FcConfigCompareValue), (FcConfigPatternsAdd),
1191 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1192 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1193 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1194 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1195 Add support for selectfont
1197 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1198 (FcStringInPatternElement), (FcFreeTypeQuery):
1199 Add multi-lingual family/style/fullname support
1201 * src/fclist.c: (FcListPatternMatchAny):
1202 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1204 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1205 (FcObjectStaticName):
1206 Add new FcPatternRemove/FcPatternAppend.
1207 FcObjectStaticName stores computed pattern element names which
1208 are required to be static.
1210 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1215 Remove spurious / after $(DESTDIR)
1217 2004-06-30 Keith Packard <keithp@keithp.com>
1221 * fontconfig/fontconfig.h:
1224 2004-06-30 Keith Packard <keithp@keithp.com>
1226 Provided by: Lubos Lunak <l.lunak@suse.cz>
1228 * src/fccfg.c: (FcConfigUptoDate):
1229 However FcConfigUptoDate() doesn't seem to work. See the attached
1230 patch. First there's an obvious misplaced parenthesis making it
1231 return always false, and second, even this call fails to detect font
1232 changes (e.g. adding a new font to
1233 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1234 well. The problem seems to be triggered by my fonts.conf specifying
1235 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1236 doesn't include subdirs, unlike config->fontDirs.
1238 2004-06-03 Keith Packard <keithp@keithp.com>
1240 * fontconfig/fontconfig.h:
1241 Remove comma at end of FcResult enum definition.
1243 2004-05-29 Keith Packard <keithp@keithp.com>
1246 Add steps to md5sum release
1248 2004-05-29 Keith Packard <keithp@keithp.com>
1252 * fontconfig/fontconfig.h:
1255 2004-05-29 Keith Packard <keithp@keithp.com>
1257 * fontconfig/fontconfig.h:
1258 * src/fcmatch.c: (FcFontSetMatch):
1259 Add FcResultOutOfMemory to provide an accurate error when
1260 FcFontSetMatch fails in this way
1263 Make #warning about lacking various FreeType features indicate
1264 which version those features appeared so users know how to
1265 fix the problem (Thanks to Anton Tropashko)
1267 2004-05-05 Keith Packard <keithp@keithp.com>
1269 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1270 Replace MIN/MAX/ABS macros which happen to have come
1271 from FreeType with fontconfig-specific ones (FC_*)
1273 2004-04-23 Keith Packard <keithp@keithp.com>
1276 Extend release preparation instructions to include
1277 notification and distribution steps
1279 2004-04-23 Keith Packard <keithp@keithp.com>
1283 * fontconfig/fontconfig.h:
1284 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1286 2004-04-23 Keith Packard <keithp@keithp.com>
1289 Ignore a few more autotool files
1291 2004-04-14 Keith Packard <keithp@keithp.com>
1294 Add instructions for doing a release
1296 * fontconfig.spec.in:
1297 clean up .spec file; perhaps this will be useful to somebody...
1301 * fontconfig/fontconfig.h:
1304 * fc-lang/fc-lang.c:
1305 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1307 * fc-glyphname/Makefile.am:
1308 * fc-lang/Makefile.am:
1309 * fc-list/Makefile.am:
1310 * fc-match/Makefile.am:
1312 Add WARN_CFLAGS to pass -W flags for GCC systems
1314 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1315 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1316 Change various char types around to match across
1318 Fixed bug in using available_sizes[i].height which
1319 is in pixels, not 64ths of a pixel.
1321 2004-03-06 Keith Packard <keithp@keithp.com>
1323 * src/fcfreetype.c: (FcFreeTypeQuery):
1324 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1325 matches looking for explicit values prefer exact matches
1327 2004-03-02 Keith Packard <keithp@keithp.com>
1329 Supplied by: mfabian@suse.de (Mike FABIAN)
1331 * src/fcfreetype.c: (FcFreeTypeQuery):
1332 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1333 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1335 2004-02-21 Manish Singh <yosh@gimp.org>
1337 * fc-glyphname/fc-glyphname.c: (main):
1338 Cast strlen to int for printf, so we're 64-bit clean.
1340 2004-02-11 Keith Packard <keithp@keithp.com>
1343 * src/fcfreetype.c: (FcGetPixelSize):
1344 Ok, so I messed up the test for y_ppem. Let's see if I
1345 got it right this time.
1347 2004-02-10 Keith Packard <keithp@keithp.com>
1350 * src/fcfreetype.c: (FcGetPixelSize):
1351 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1352 FT_Bitmap_Size record. Add a configure.in test for this
1353 and change the code accordingly (using height instead).
1355 2004-02-06 Keith Packard <keithp@keithp.com>
1358 Add Low Saxon orthography
1359 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1361 * src/fccfg.c: (FcConfigNewestFile):
1362 Oops. Left 'newest.set' unset, which would miscompute
1365 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1366 (FcFreeTypeCheckGlyph):
1367 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1368 font properties (which report the wrong value in current FreeType)
1370 Don't attempt to check for empty glyphs in non-scalable fonts; they
1373 2004-02-01 Tor Lillqvist <tml@iki.fi>
1375 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1376 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1377 cache if config->cache is NULL, which happens if FcConfigHome() is
1378 NULL. Guard against that by using the temp folder in that case.
1380 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1382 * fc-lang/az_ir.orth:
1383 * fc-lang/ku_ir.orth:
1384 * fc-lang/ps_af.orth:
1385 * fc-lang/ps_pk.orth:
1386 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1387 (Afghan and Pakistani).
1389 Updated Urdu orthography with real data.
1391 2003-12-11 Carl Worth <cworth@east.isi.edu>
1393 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1396 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1398 (all-local): Remove excessive whitespace.
1400 * autogen.sh: Add 'set -e' to abort when any program fails,
1401 (avoids printing of 'now type make' after configure aborts).
1403 2003-11-17 Eric Christopherson <rakko@charter.net>
1405 reviewed by: Keith Packard <keithp@keithp.com>
1408 * fontconfig/fcfreetype.h:
1410 Switch to FreeType 2.1.7 style includes. Bug #150.
1412 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1414 * fc-list/fc-list.sgml: Add some example usages.
1416 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1419 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1422 2003-10-27 Keith Packard <keith@keithp.com>
1425 * fontconfig/fontconfig.h:
1426 Update to version 2.2.92
1428 2003-10-27 Keith Packard <keithp@keithp.com>
1433 * fc-cache/Makefile.am:
1434 * fc-glyphname/Makefile.am:
1435 * fc-lang/Makefile.am:
1436 * fc-list/Makefile.am:
1437 * fc-match/Makefile.am:
1440 Yet more cleanups to finish getting 'make distcheck' working
1441 This has been tested to ensure that it even works from a _build
1444 2003-10-26 Keith Packard <keithp@keithp.com>
1448 * fc-cache/Makefile.am:
1449 * fc-glyphname/Makefile.am:
1450 * fc-lang/Makefile.am:
1451 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1452 * fc-list/Makefile.am:
1453 * fc-match/Makefile.am:
1454 Attempts to fix 'make distcheck' work. Things are
1455 progressing pretty well, but there are still failures
1456 long into the process dealing with docs (as always).
1458 The big changes here are mostly to make $(srcdir) != "."
1459 work correctly, fixing the docbook related sections and
1460 fc-lang were particularily tricky. Docbook refuses to load
1461 system entities from anywhere other than where the original .sgml
1462 file was located, so no luck looking in "." for the
1463 configure-generated version.sgml and confdir.sgml files.
1465 fc-lang needed help finding .orth files; added a -d option
1466 to set the directory as the least evil of many options.
1468 Now to go use a faster machine and try and wring out the last
1471 2003-10-26 Keith Packard <keithp@keithp.com>
1475 2003-10-26 Keith Packard <keithp@keithp.com>
1478 Include confdir.sgml.in in EXTRA_DIST
1480 2003-10-09 Josselin Mouette <joss@debian.org>
1482 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1483 * fc-list/fc-list.sgml fc-list/Makefile.am:
1484 Replace fc-cache and fc-list manpages with more detailed, SGML
1487 2003-09-23 Owen Taylor <otaylor@redhat.com>
1489 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1490 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1491 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1494 2003-09-23 Owen Taylor <otaylor@redhat.com>
1496 * fc-lang/ka.orth: Remove Georgian capitals, they
1497 aren't used for normal writing. (Bug #116)
1499 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1501 * doc/fontconfig-devel.sgml:
1502 * doc/fontconfig-user.sgml:
1503 * fontconfig/fontconfig.h:
1505 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1506 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1508 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1509 monospace and dual-width fonts, allow roughly a 3% variance in the
1512 2003-08-31 Manish Singh <yosh@gimp.org>
1514 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1517 2003-08-15 Carl Worth <cworth@isi.edu>
1519 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1520 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1522 * src/fcpat.c (FcValueListEntDestroy): New function to support
1523 FcFini memory cleanup. Some statistics are not kept in
1525 (FcValueListFreeze): Move hashTable outside this function so it
1526 can be accessed by FcValueListThawAll.
1527 (FcValueListThawAll): New function complements FcValueListFreeze.
1528 (FcPatternBaseFreeze): Move hashTable outside this function so it
1529 can be accessed by FcPatternBaseThawAll.
1530 (FcPatternBaseThawAll): New function complements
1531 FcPatternBaseFreeze.
1532 (FcPatternThawAll): New function complements FcPatternFreeze.
1534 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1536 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1537 allocated FcCharLeafEnt "blocks" so they can be freed later.
1538 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1539 can be accessed by FcCharSetThawAllLeaf.
1540 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1541 (FcCharSetFreezeBase): Move hashTable outside this function so it
1542 can be accessed by FcCharSetThawAll.
1543 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1545 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1546 (FcConfigDestroy): Fic leak of FcBlanks.
1548 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1549 (main): Add call to FcFini when finished.
1551 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1552 static. Add prototypes.
1554 * doc/fcinit.fncs: Add documentation for FcFini function.
1556 * doc/edit-sgml.c: Mark several local functions as static. Add
1559 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1561 2003-06-15 Tor Lillqvist <tml@iki.fi>
1563 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1564 before comparing (needed on Windows).
1566 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1568 2003-06-13 Tor Lillqvist <tml@iki.fi>
1570 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1573 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1574 WINDOWSFONTDIR token.
1576 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1577 end, not to confuse libtool, which expects the EXPORTS line to be
1578 the first. Add FcConfigEnableHome.
1580 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1581 built as a DLL on Win32.
1583 2003-06-09 Keith Packard <keithp@keithp.com>
1585 * Tag version 2.2.90
1587 2003-06-09 Keith Packard <keithp@keithp.com>
1589 * Optimization in FcLangSetIndex was broken, occasionally
1590 returning a pointer to the wrong location on miss
1592 * Add fc-match to test font matching from the command line.
1594 2003-05-31 Keith Packard <keithp@keithp.com>
1596 * (Bug 85) add support for culmus fonts
1597 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1598 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1600 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1602 * Fix "contains" op for strings and langsets.
1604 2003-05-17 Keith Packard <keithp@keithp.com>
1606 * Fix build error with BDF prop local. Free langset after query
1608 2003-05-14 Keith Packard <keithp@keithp.com>
1610 * Extract spacing from XLFD atom
1612 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1614 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1615 disappeared in 1.30.
1617 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1619 2003-05-12 Keith Packard <keithp@keithp.com>
1621 * Use FcIsWidth to share code
1623 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1624 misclassifying some Han fonts as monospaced.
1626 2003-05-07 Keith Packard <keithp@keithp.com>
1628 * Add filename-based accept/reject to ammend available fonts.
1630 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1631 older FreeType releases.
1633 2003-05-06 Keith Packard <keithp@keithp.com>
1635 * Remove 0b82 and Tamil numbers from tamil
1636 orthography (Jungshik Shin <jshin@mailaps.org>)
1638 2003-05-04 Keith Packard <keithp@keithp.com>
1640 + Map glyph names in fonts with adobe custom encoding to unicode
1642 2003-05-02 Keith Packard <keithp@keithp.com>
1644 * Add FC_WEIGHT_BOOK as weight 75
1646 2003-04-30 Keith Packard <keithp@keithp.com>
1648 * Typo in bitstream foundry name
1650 2003-04-24 Keith Packard <keithp@keithp.com>
1652 * Eliminate italic_angle check for PS fonts
1654 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1656 * Getting closer to fixing /etc/fonts hard-coding.
1658 2003-04-22 Keith Packard <keithp@keithp.com>
1660 * Update autogen.sh to work with newer automake versions
1661 * Handle pattern elements moving during multiple edits
1663 2003-04-23 James Henstridge <james@daa.com.au>
1665 * doc/fontconfig-devel.sgml: close the <para> element.
1667 * doc/fcpattern.fncs: close the <para> element.
1669 * doc/func.sgml: close the <refsynopsisdiv> element.
1671 2003-04-22 Keith Packard <keithp@keithp.com
1673 * Update autogen.sh to work with newer automake versions
1674 * Handle pattern elements moving during multiple edits
1676 2003-04-17 Colin Walters <walters@debian.org>
1678 + Remove some unused variables, and initialize some other ones so
1679 gcc doesn't warn us.
1681 2003-04-16 Keith Packard <keithp@keithp.com>
1683 + tag version 2.1.94
1685 2003-04-16 Keith Packard <keithp@keithp.com>
1687 + add BDF property fetching support for foundry
1688 (from Juliusz Chroboczek)
1689 + add BDF property fetching support for width
1691 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1693 + Implemented foundry generation for Type 1 and TrueType
1695 2003-04-11 Gerard Escalante <g2@magestudios.net>
1697 + Retrieve information from Type1 FontInfo dictionaries
1699 2003-04-07 Colin Walters <walters@verbum.org>
1701 + src/Makefile.am: Fix dummy makefile target names when
1702 MS_LIB_AVAILABLE isn't set.
1704 2003-03-22 Tor Lillqvist <tml@iki.fi>
1706 Changes for Windows:
1708 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1710 + We don't want to hardcode the fonts.conf file location in the
1711 DLL, so we look up the DLL location at run-time in a DllMain()
1712 function. The fonts.conf location is deduced from that.
1714 + The colon can't be used as path separator on Windows,
1715 semicolon is used instead. File path components can be separated
1716 with either slash or backslash. Absolute paths can also begin
1717 with a drive letter.
1719 + Add internal function FcStrLastSlash that strrchr's the last
1720 slash, or backslash on Windows.
1722 + There is no link() on Windows. For atomicity checks, mkdir a
1723 lock directory instead.
1725 + In addition to HOME, also look for USERPROFILE.
1727 + Recognize the special font directory token WINDOWSFONTDIR, to
1728 use the system's font directory.
1730 + Remove the fontconfig-def.cpp that was obsolete. Add
1731 fontconfig.def(.in), without internal functions.
1733 + Add a fontconfig-zip(.in) script, used to build a binary
1736 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1737 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1738 to main package and man3/* to devel package
1740 + Added missing defattr(-, root, root) to main RPM package
1742 + Added HTML and text development documentation to -devel subpackage
1744 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1745 + Added back the configure macro options --disable-docs, otherwise
1746 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1747 version number) unconditionally, causing RPM to fail the build due
1748 to _unpackaged_files_terminate_build. We pick up the pregenerated
1749 docs with %doc already.
1751 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1752 + Removed commented out rpm macro define at top of spec file,
1753 replacing it with a simple explanation, since rpm macros are
1754 expanded by rpm even in comments.
1756 + Changed /usr/bin to _bindir in BuildRequires lines
1758 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1760 + Reorganized file manifest lists
1762 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1764 + fontconfig.spec.in: Improvements from Red Hat spec file.
1766 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1768 + docs/*.sgml: SGML fixes.
1770 Sat Mar 1 17:28:53 PST 2003 keithp
1771 + Ok, so the ChangeLog is a bit out of date
1773 + Lots of bugs fixed; most are in bugzilla, the
1774 biggest problems were in cache management where
1775 Owen discovered the library would lose badly when
1776 combining fonts-cache and ~/.fonts-cache data
1778 + Converted from autoconf to automake. This after
1779 getting patches accepted into libtool to allow
1780 the '-version-number' argument which lets
1781 packages set version numbers explicitly rather
1782 than the roundabout libtool way
1784 + Converted documentation to SGML using the docbook
1785 DTD. Now .txt and .html documents are installed
1786 in /usr/share/doc/fontconfig and there's no
1787 man page. Perhaps a man version can be written
1790 Sat Aug 31 15:21:22 PDT 2002 keithp
1791 + Xrender and Xft had several bugs related to
1792 rendering manually placed or poly-face text
1794 + Added more complete memory tracing in fontconfig
1795 Checked with (patched) mozilla and found no leaks
1797 + Updated Latin orthographies by comparing those from
1798 evertype.com with those from eki.ee. Tried to make
1799 sensible choices, including chars that occured in both
1800 and leaving some optional chars out that occured only
1803 Mon Aug 26 16:33:04 PDT 2002 keithp
1804 + Owen discovered that FcLangSetHasLang wasn't actually
1805 checking the language set.
1807 Mon Aug 26 13:37:23 PDT 2002 keithp
1808 + Append a version number to cache filenames
1810 Thu Aug 22 11:36:18 PDT 2002 keithp
1812 + Add "contains" and "not_contains" operators and elements to
1815 + Changed semantics of eq operator for LangSets to check for
1816 FcLangEqual so that any match will do
1818 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1819 of FcValueEqual to check for identical values when inserting into
1820 the results. This broke when the above semantic change was made,
1821 now it uses FcValueEqual which is "more correct" in any case.
1823 Thu Aug 22 00:32:29 PDT 2002 keithp
1825 + Reimplement FC_LANG as new datatype. Lists of strings
1826 was consuming over a megabyte of memory for 401 fonts.
1828 + Freeze patterns loaded from cache files. This shares
1829 common value lists and common patterns which saves
1830 considerable memory.
1832 + Change the denotation of 'constant' charsets to use special
1833 ref value instead of separate boolean.
1835 + Clean up leak tracing stuff, found several unannoted alloc/free
1838 Tue Aug 20 16:17:37 PDT 2002 keithp
1840 + Fix memory leak when parsing matrices from XML
1842 Mon Aug 19 11:57:27 PDT 2002 keithp
1844 + Fix autoconf files to pass FONTCONFIG_PATH on
1845 compile line so that ${prefix} gets substituted
1848 + Use getc_unlocked/putc_unlocked on systems that
1849 provide them to avoid damage done to stdio by posix
1851 + Eliminate FC_PATTERN and FcTypePattern in favor of
1852 an extended api for FcConfigSubstitute which takes
1853 both the font and the pattern.
1855 + Add 'sans serif' alias for 'sans-serif' as some apps
1856 can't handle hyphens in family names
1858 + Eliminate pretense of support for libxml2
1860 + Comment origins of Han orthographies
1862 Tue Jul 30 18:37:09 PDT 2002 keithp
1864 + Add binding property to edit element so that strong
1865 binding values may be inserted by the config file.
1866 The default remains weak.
1868 Sun 28 Jul 04:16:55 PDT 2002 keithp
1870 + Tagged release candidate 1 in the CVS tree and
1871 placed fcpackage.rc1.tar.gz for distribution
1873 Thu Aug 1 08:55:08 PDT 2002 keithp
1875 + Fixed autoconf builds to always specify install
1876 target files (for BSD). Also fixed to
1877 define FONTCONFIG_PATH in config.h so that
1878 nonstandard installs will actually work.