1 2005-11-02 Patrick Lam <plam@mit.edu>
2 * src/fcpat.c (FcPatternDuplicate):
4 Fix argument ordering problem in call to FcPatternTransferFullFname.
6 2005-11-02 Patrick Lam <plam@mit.edu>
7 * src/fcfreetype.c (FcFreetypeQuery):
8 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
9 FcPatternTransferFullFname):
11 Fix warnings and embarrassing double-free error.
13 2005-11-02 Zhe Su <zsu@novell.com>
18 Change the rule for artificial emboldening in fonts.conf.in. This
19 enables the support for artificial emboldening included in cairo.
21 2005-11-02 Patrick Lam <plam@mit.edu>
22 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
24 Don't zero out full names for FC_REF_CONSTANT fonts;
25 also, duplicate full names when transferring, and free
26 full names when freeing the associated font.
27 Reported by Jinghua Luo.
29 2005-11-02 Patrick Lam <plam@mit.edu>
30 * fc-cache/fc-cache.c (scanDirs):
31 * src/fcpat.c (FcValueListSerialize):
33 Revert the previous patch and commit the correct patch:
34 I forgot a canonicalization in FcValueListSerialize, so
35 that it would choke on already-serialized input files. Duh!
37 2005-11-02 Patrick Lam <plam@mit.edu>
38 * fc-cache/fc-cache.c (scanDirs):
40 Forcibly rescan a directory before writing a fresh local
41 cache file for that directory, fixing the losing-fonts
42 problem reported by Mike Fabian and also apparently the
43 font cache file corruption.
45 2005-11-02 Patrick Lam <plam@mit.edu>
46 * src/fccache.c (FcGlobalCacheLoad):
48 Fix thinko: actually, the whole global cache is stale
49 if the global cache is older than the (newest) config file.
51 2005-11-02 Patrick Lam <plam@mit.edu>
52 * src/fccache.c (FcGlobalCacheLoad):
53 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
56 Declare the global cache of a directory's contents to be stale if
57 the directory is newer than the (newest) configuration file.
59 2005-10-31 Patrick Lam <plam@mit.edu>
61 * src/fclist.c (FcListAppend):
62 * src/fcmatch.c (FcFontRenderPrepare):
63 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
64 FcPatternFreeze, FcPatternBaseFreeze):
66 Copy the full pathname whenever duplicating an FcPattern; otherwise,
67 applications continue breaking.
69 2005-10-31 Patrick Lam <plam@mit.edu>
70 * fc-cat/fc-cat.c (FcCacheFileRead, main):
71 * src/fcfreetype.c (FcFreeTypeQuery):
73 Fix small memory error (tried to free argv); use basename and
74 dirname correctly (they can modify their arguments).
76 2005-10-31 Patrick Lam <plam@mit.edu>
84 Reinstate basename patch, but keep a hash table linking FcPatterns
85 to their fully-qualified font names for clients' benefit. Clients
86 only pay for the font names once they request the FC_FILE property
87 from an FcPattern, but the font name is malloc'd at that point (i.e.
88 not mmapped: that's impossible, since it may vary between machines.)
89 Clients do have to pay for a copy of the path name per cache file.
91 Note that FcPatternGetString now does some rewriting if you ask
92 for an FC_FILE, appending the pathname as appropriate.
94 2005-10-31 Patrick Lam <plam@mit.edu>
95 * src/fcfreetype.c (FcFreeTypeQuery):
97 Revert basename patch, which breaks fontconfig clients on my system.
99 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
102 * fontconfig/fonts.conf.in:
103 * fontconfig/fontconfig.h:
107 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
108 to load embedded bitmaps or not.
110 2005-10-25 Patrick Lam <plam@mit.edu>
111 * src/fcfreetype.c (FcFreeTypeQuery):
113 Only add basename to patterns' FC_FILE element, not any part of
116 2005-10-22 Patrick Lam <plam@mit.edu>
119 Add some more consts, fixing more GCC4 warnings.
121 2005-10-22 Zhe Su <zsu@novell.com>
124 Support localized font family and style names.
125 This has been reported to break old apps like xfd, but modern
126 (gtk+/qt/mozilla) apps work fine.
128 2005-10-21 Patrick Lam <plam@mit.edu>
129 * src/fccache.c (FcGlobalCacheLoad):
131 Destroy the global cache file if it's terminally broken. (reported by
134 2005-10-21 Patrick Lam <plam@mit.edu>
135 * fc-list/fc-list.c (main):
136 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
137 * fontconfig/fontconfig.h:
139 Prevent fc-list from escaping strings when printing them (reported by
142 2005-10-20 Marcus Meissner <meissner@suse.de>
145 * fontconfig/fontconfig.h:
147 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
149 2005-10-14 Ross Burton <ross@burtonini.com>
152 * fc-glyphname/fc-glyphname.c:
155 Add consts to variables so as to move arrays into .rodata.
157 2005-10-14 Mike Fabian <mfabian@suse.de>
160 * src/fccache.c (FcDirCacheUnlink):
162 Check existence of directory cache file before attempting to unlink.
164 2005-10-13 Patrick Lam <plam@mit.edu>
165 * src/fccache.c (FcDirCacheUnlink):
167 Fix flipped return value on unlink. (Reported by Mike Fabian)
169 2005-10-12 Patrick Lam <plam@mit.edu>
172 * src/fcdir.c (FcDirScanConfig):
175 When fc-cache is run without --force, use directory cache files
176 to speed up fc-cache run time. (Reported by Mike Fabian)
178 2005-10-06 Patrick Lam <plam@mit.edu>
180 * src/fcname.c (FcObjectToPtr):
181 * src/fcpat.c (FcStrStaticName):
183 Add padding to make valgrind and glibc not hate each other
184 when calling strlen().
186 2005-10-05 Simos Xenitellis <simos74@gmx.net>
187 reviewed by: plam & keithp
191 Modify config file to use Greek fonts before Asian fonts with
194 2005-10-05 Christian Biesinger <cbiesinger@web.de>
195 reviewed by: plam & keithp
199 Use libtool -no-undefined flag on all platforms.
201 2005-10-05 Patrick Lam <plam@mit.edu>
202 * src/fccache.c (FcCacheHaveBank):
204 Implement move-to-front array for banks (perf regression
205 reported by Ronny V. Vindenes).
207 2005-10-04 Patrick Lam <plam@mit.edu>
208 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
209 FcDirCacheHasCurrentArch):
210 * fc-cache/fc-cache.c (scanDirs):
211 * fontconfig/fontconfig.h:
213 Add new API which unlinks directory caches and checks dir caches
214 for existence of appropriate sections. Fix fc-cache to unlink
215 stale cache files and save directory caches that lack relevant
218 2005-10-03 Patrick Lam <plam@mit.edu>
219 * src/fccache.c (FcDirCacheValid):
221 Ensure that a directory cache has the appropriate section
222 before reporting that it is valid (reported by Matthias Clasen).
224 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
232 Use libxml2 if requested (with --enable-libxml2) or if
233 expat is not available.
235 2005-09-29 Patrick Lam <plam@mit.edu>
236 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
238 Fix multi-arch cache files: compute the position for the
239 block to be added using info from OrigFile, not NewFile.
241 2005-09-28 Patrick Lam <plam@mit.edu>
242 * src/fccache.c (FcCacheMachineSignature):
244 Cast results of sizeof() to unsigned int to get rid of
245 warnings on x86_64 (thanks Matthias Clasen).
247 2005-09-27 Patrick Lam <plam@mit.edu>
248 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
251 Use FcAtomic to rewrite cache files.
253 2005-09-27 Patrick Lam <plam@mit.edu>
255 * src/fccache.c (FcDirCacheWrite):
257 Don't unlink the fonts.cache-2 file even if there's no data
258 to write; just write an empty cache file. (thanks Lubos Lunak)
260 2005-09-27 Patrick Lam <plam@mit.edu>
262 * src/fccache.c (FcDirCacheWrite):
264 Allocate room for the subdirectory names in each
265 directory cache. Thanks to James Cloos for finding
266 and diagnosing this bug!
268 2005-09-22 Patrick Lam <plam@mit.edu>
270 * fc-cache/fc-cache.sgml:
271 * src/fccache.c (FcDirCacheWrite):
272 * src/fccache.h (struct FcCache):
274 Update documentation -- fc-cache's man page now says that you
275 need to run fc-cache once per cached architecture; add some
276 documentation to the FcCache structure.
278 Make fc-cache write out fonts.cache-2 files for directories with
279 no fonts (i.e. only subdirectories).
281 2005-09-22 Patrick Lam <plam@mit.edu>
283 * fc-cache/fc-cache.sgml:
285 * fc-glyphname/fc-glyphname.c:
291 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
296 * fontconfig/fcprivate.h:
297 * fontconfig/fontconfig.h:
311 Implement new mmaped cache for font information.
312 Bump so revision to 2.3.90.
314 2005-07-25 Keith Packard <keithp@keithp.com>
316 * doc/fontconfig-user.sgml:
317 * fc-glyphname/fc-glyphname.c: (scan), (main):
318 * fc-lang/fc-lang.c: (FcConfigHome):
319 * fc-match/fc-match.c: (main):
320 * src/fccfg.c: (FcConfigHome):
321 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
322 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
323 (addtag), (FcFontCapabilities):
324 * src/fcpat.c: (FcValueListEntCreate):
325 * src/fcstr.c: (FcStrCaseWalkerInit):
326 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
328 Various GCC 4 cleanups for signed vs unsigned char
330 Match only [0-9]*.conf files in <include>{directory}</include>
331 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
333 2005-07-15 Carl Worth <cworth@cworth.org>
336 * src/fcinit.c: (FcFini):
337 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
340 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
341 Pull the FcObjectStateName hash table out to file scope, and add
342 FcObjectStaticNameFini so that FcFini will cleanup this hash table
345 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
348 2005-06-16 Patrick Lam <plam@MIT.EDU>
352 * src/fccfg.c: (FcConfigCompareValue):
353 Make FcOpNotContains use FcStrStr for strings so that
354 it matches semantics for !FcOpContains.
356 2005-05-20 Keith Packard <keithp@keithp.com>
360 Move fontconfig source package to libs as per override
362 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
364 reviewed by: Mike Fabian
367 The ka.orth file requires several characters which are not
368 used anymore in modern Georgian and which are missing in the free
369 Georgian TrueType fonts downloadable at:
371 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
373 2005-04-27 Keith Packard <keithp@keithp.com>
377 Update date to real 2.3.2 release date.
378 Fix change attributions
380 2005-04-27 Keith Packard <keithp@keithp.com>
383 Bump so revision for 2.3.2
384 * fc-cache/fc-cache.c: (scanDirs):
385 Fix a few minor leaks in error cases.
387 2005-04-23 Keith Packard <keithp@keithp.com>
392 * fontconfig/fontconfig.h:
393 Update for version 2.3.2
395 2005-04-21 Keith Packard <keithp@keithp.com>
397 * debian/fontconfig.postinst:
398 Don't force bitmap font enable in default
399 configuration; allows users to override this in
409 * debian/po/pt_BR.po:
410 * debian/po/templates.pot:
412 * debian/po/zh_CN.po:
415 * fc-cache/fc-cache.c: (main):
416 Destroy font configuration on exit to help valgrind
419 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
420 (FcFreeTypeCheckGlyph):
421 Use own transcoding routines in preference to iconv
422 which appears to have leaks in some translators.
423 Call iconv_close after using iconv (oops).
425 Prefer unicode encoding of Euro char as some
426 fonts mis-encode Euro in other ones.
428 Must fetch bitmap glyphs to get width values
429 to check for monospace/dual-width fonts.
431 2005-04-13 Ross Burton <ross@burtonini.com>
434 Check that a pattern isn't already frozen in FcPatternFreeze.
436 2005-03-31 Ross Burton <ross@burtonini.com>
441 Run all FcPattern objects through FcObjectStaticName, so that
442 compares can be done on pointers instead of strings (#2659)
444 2005-03-17 Tor Lillqvist <tml@novell.com>
446 * src/fontconfig.def.in: Add the .dll to the dll name.
448 2005-03-10 Keith Packard <keithp@keithp.com>
450 * debian/README.Debian:
451 Update to reflect configuration changes
453 * debian/fontconfig.postinst:
454 Fix Autohint vs Autohinter mistake
455 * debian/fontconfig.templates:
456 Adopt changes from Josselin Mouette for configuration descriptions
457 Update debian to version 2.3.1-2
459 2005-03-08 Keith Packard <keithp@keithp.com>
463 Update debian for 2.3.1
465 2005-03-09 Tor Lillqvist <tml@novell.com>
467 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
470 * src/fccfg.c (FcConfigFileExists): Check also drive letter
473 2005-03-08 Keith Packard <keithp@keithp.com>
477 * fontconfig/fontconfig.h:
480 2005-03-05 Keith Packard <keithp@keithp.com>
482 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
483 Include space and remove numbers from valid script tags.
484 This ensures that tags like 'lao ' work while rejecting
485 those which have any digits.
486 Eliminate a spurious debugging variable (len)
488 2005-03-05 Keith Packard <keithp@keithp.com>
490 * src/fcfreetype.c: (addtag), (GetScriptTags),
491 (FcFontCapabilities):
492 Rework GSUB/GPOS script parsing to survive broken fonts.
493 Thanks for the broken font go to Manish Singh
495 2005-03-05 Keith Packard <keithp@keithp.com>
500 * debian/fontconfig.config:
501 * debian/fontconfig.templates:
503 Include 2.3 release information in changelog
504 Add Josselin Mouette as an Uploader
505 Set hinting_type to low priority configuration option
508 * debian/fontconfig.postinst:
509 yes_bitmaps.conf -> yes-bitmaps.conf
515 2005-03-02 Keith Packard <keithp@keithp.com>
518 * conf.d/Makefile.am:
519 * conf.d/autohint.conf:
520 * conf.d/no-sub-pixel.conf:
521 * conf.d/sub-pixel.conf:
522 * conf.d/unhinted.conf:
523 * debian/autohint.conf:
524 * debian/fontconfig.install:
525 * debian/fontconfig.postinst:
526 * debian/fontconfig.templates:
527 * debian/no-sub-pixel.conf:
528 * debian/unhinted.conf:
529 Move debian-specific conf file examples upstream.
531 Sub-pixel configuration examples must smash subpixel value
532 as Xft always sets it from X.
534 Change sub-pixel rendering debconf descriptions from
535 Enable/Disable to Always/Never.
537 2005-03-02 Keith Packard <keithp@keithp.com>
542 Ignore more build detritus
545 Add debian package construction stuff.
547 * config/config.guess:
549 Update to newer versions of these tools
552 Get library manuals to build again (we love automake).
554 * debian/README.Debian:
555 * debian/autohint.conf:
560 * debian/fontconfig-udeb.install:
561 * debian/fontconfig.config:
562 * debian/fontconfig.defoma:
563 * debian/fontconfig.dirs:
564 * debian/fontconfig.install:
565 * debian/fontconfig.postinst:
566 * debian/fontconfig.postrm:
567 * debian/fontconfig.templates:
568 * debian/libfontconfig1-dev.install:
569 * debian/libfontconfig1.install:
570 * debian/local.conf.md5sum:
571 * debian/no-sub-pixel.conf:
572 * debian/po/POTFILES.in:
581 * debian/po/pt_BR.po:
582 * debian/po/templates.pot:
584 * debian/po/zh_CN.po:
586 * debian/unhinted.conf:
587 Update debian build system to switch maintainers and
588 deal with 2.3 functionality
590 2005-03-01 Keith Packard <keithp@keithp.com>
594 * fontconfig/fontconfig.h:
597 2005-03-01 Keith Packard <keithp@keithp.com>
600 Generate and install PDF versions of the manuals
602 * doc/fcpattern.fncs:
606 Add missing exported functions, fix data types
608 * doc/fontconfig-devel.sgml:
609 Add missing pattern elements.
611 * doc/fontconfig-user.sgml:
612 Add missing pattern elements. Document conf.d usage,
613 clarify available orthography list. Fix some config file
614 attributes. Complete list of constants.
616 * fontconfig/fontconfig.h:
617 Mark FC_SOURCE deprecated.
619 * src/fcfreetype.c: (FcFreeTypeQuery):
620 Don't set FC_SOURCE any longer.
622 2005-02-28 Keith Packard <keithp@keithp.com>
625 * conf.d/Makefile.am:
627 * conf.d/no-bitmaps.conf:
628 * conf.d/sub-pixel.conf:
629 * conf.d/yes-bitmaps.conf:
631 Create prototype /etc/fonts/conf.d directory with a few
632 sample configuration files.
633 Deprecate use of local.conf for local customizations in favor of
634 this directory based scheme which is more easily integrated into
635 installation systems.
638 Tag FC_EMBOLDEN as a boolean variable
640 2005-02-10 Keith Packard <keithp@keithp.com>
642 reviewed by: pborelli@katamail.com
644 * src/fcdir.c: (FcFileScanConfig):
645 Free patterns from fonts which are rejected by configuration
648 2005-01-28 Keith Packard <keithp@keithp.com>
652 * fontconfig/fontconfig.h:
653 Update for version 2.2.99
655 2005-01-28 Keith Packard <keithp@keithp.com>
658 Add a few pointers (#2284, #2285)
660 2005-01-28 Keith Packard <keithp@keithp.com>
663 * src/fcname.c: (FcNameBool):
664 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
665 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
666 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
667 Polite typechecking for test and edit expressions. Helps
668 catch errors in the font configuration. (bug 229)
670 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
672 reviewed by: Keith Packard <keithp@keithp.com>
675 Have --with-expat set EXPAT_CFLAGS (bug 2278)
677 2005-01-13 Keith Packard <keithp@keithp.com>
679 * doc/fontconfig-user.sgml:
680 Add SEE ALSO section (bug 2085)
682 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
684 reviewed by: Keith Packard <keithp@keithp.com>
689 * fc-case/Makefile.am:
690 * fc-glyphname/Makefile.am:
691 * fc-lang/Makefile.am:
692 * src/fontconfig.def.in:
693 Cross compiling fixes (bug 280)
695 2005-01-13 Keith Packard <keithp@keithp.com>
698 Update blanks list (Closes bug 86)
700 2005-01-04 Keith Packard <keithp@keithp.com>
702 * src/fccache.c: (FcCacheFontSetAdd):
703 Verify that every font pattern loaded from cache has
704 both FC_FILE and FC_FAMILY entries.
705 Attempt to fix bug #2219.
707 2004-12-29 Keith Packard <keithp@keithp.com>
711 * fontconfig/fontconfig.h:
712 Update for version 2.2.98
714 2004-12-29 Keith Packard <keithp@keithp.com>
716 * fontconfig/fontconfig.h:
717 Document ASCII limitations of Fc character conversion macros
718 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
719 Fix off-by-one error in utf-8 case walking code.
720 Add FcStrDowncase (useful for testing case conversion functions)
722 2004-12-29 Keith Packard <keithp@keithp.com>
725 * fc-case/.cvsignore:
726 clean up CVS ignore lists
727 * fc-lang/iso-3166.txt:
728 Add territory database
730 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
732 Reviewed by: Keith Packard
735 Remove Han characters from Korean orthography
737 2004-12-29 Keith Packard <keithp@keithp.com>
740 Reorder utility programs to make sure fc-case is run before fc-lang
741 as fc-lang uses fcstr.c which uses fccase.h
745 2004-12-29 Keith Packard <keithp@keithp.com>
748 Adopt some RedHat suggestions for standard font configuration.
752 * fc-case/CaseFolding.txt:
753 * fc-case/Makefile.am:
754 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
755 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
756 (dump), (parseRaw), (caseFoldReadRaw), (main):
757 * fc-case/fccase.tmpl.h:
758 Add new helper program 'fc-case' to construct case folding
759 tables from standard Unicode CaseFolding.txt file
762 * src/fclist.c: (FcListValueHash):
763 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
764 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
765 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
766 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
767 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
768 Re-implement case insensitive functions with Unicode
769 aware versions (including full case folding mappings)
771 2004-12-13 Keith Packard <keithp@keithp.com>
773 reviewed by: Owen Taylor <otaylor@redhat.com>
775 * src/fcmatch.c: (FcFontSetSort):
776 I changed FcFontSetSort to respect the generic aliases better
777 in the face of language matching.
779 What I did was to ammend the strict sort order used by FcFontSort so
780 that it 'satisfies' the language specified in the pattern by locating
781 the best matching font supporting each pattern language and then
782 ignores language in the remaining fonts for purposes of matching.
784 So, when asking for 'sans:lang=en', you'll get an English font first,
785 and then the remaining fonts sorted with respect to the 'sans' alias
786 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
788 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
790 reviewed by: Keith Packard <keithp@keithp.com>
792 * fontconfig/fontconfig.h:
795 Configuration changes to request synthetic emboldening of
796 fonts. The actual emboldening code will live in Xft.
798 2004-12-09 John Thacker <thacker@math.cornell.edu>
800 reviewed by: Keith Packard <keithp@keithp.com>
804 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
805 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
806 и), and don't even appear in KOI8-R. (The hypothesis that they
807 don't appear in KOI8-R due to their similarity with Latin I and i is
808 eliminated by their presence in KOI8-U.) I have a couple of fonts
809 with Russian support that don't have the letter.
811 Therefore, 0406 and 0456 should be removed from or commented out of
814 2004-12-06 michael meeks <mmeeks@novell.com>
816 Reviewed by: Keith Packard <keithp@keithp.com>
818 * src/fcinit.c: (FcMemReport):
820 * src/fclist.c: (FcObjectSetAdd):
821 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
822 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
823 * src/fcxml.c: (FcParsePatelt):
824 memoize strings and share a single copy for all uses. Note that
825 this could be improved further by using statically allocated blocks
826 and gluing multiple strings together, but I'm basically lazy.
827 In my environment with 800 font files, I get a savings of about 90KB.
829 2004-12-06 Keith Packard <keithp@keithp.com>
833 * config/Makedefs.in:
838 * doc/fccharset.fncs:
840 * doc/fcconstant.fncs:
842 * doc/fcfontset.fncs:
843 * doc/fcfreetype.fncs:
846 * doc/fcobjectset.fncs:
847 * doc/fcobjecttype.fncs:
848 * doc/fcpattern.fncs:
852 * doc/fontconfig-devel.sgml:
853 * doc/fontconfig-user.sgml:
855 * doc/version.sgml.in:
856 * fc-cache/Makefile.am:
857 * fc-cache/fc-cache.c:
858 * fc-glyphname/Makefile.am:
859 * fc-glyphname/fc-glyphname.c:
860 * fc-glyphname/fcglyphname.tmpl.h:
861 * fc-lang/Makefile.am:
871 * fc-lang/az_ir.orth:
906 * fc-lang/fc-lang.man:
907 * fc-lang/fclang.tmpl.h:
952 * fc-lang/ku_ir.orth:
985 * fc-lang/ps_af.orth:
986 * fc-lang/ps_pk.orth:
1015 * fc-lang/ti_er.orth:
1016 * fc-lang/ti_et.orth:
1042 * fc-lang/zh_cn.orth:
1043 * fc-lang/zh_hk.orth:
1044 * fc-lang/zh_mo.orth:
1045 * fc-lang/zh_sg.orth:
1046 * fc-lang/zh_tw.orth:
1048 * fc-list/Makefile.am:
1049 * fc-list/fc-list.c:
1050 * fc-match/Makefile.am:
1051 * fc-match/fc-match.1:
1052 * fc-match/fc-match.c:
1053 * fontconfig/fcfreetype.h:
1054 * fontconfig/fcprivate.h:
1055 * fontconfig/fontconfig.h:
1076 Change files from ISO-Latin-1 to UTF-8
1078 2004-12-04 Keith Packard <keithp@keithp.com>
1081 Update links to new freedesktop.org locations
1083 Add uninstall-local to get rid of fonts.conf and local.conf if they
1084 match the distributed versions. Fixes 'make distcheck'
1086 2004-12-04 Keith Packard <keithp@keithp.com>
1090 * fontconfig/fontconfig.h:
1091 Updates for version 2.2.97
1093 2004-12-04 Owen Taylor <otaylor@redhat.com>
1095 reviewed by: Keith Packard <keithp@keithp.com>
1097 * fc-cache/fc-cache.c: (main):
1098 Sleep for two seconds before exiting to make sure timestamps
1099 for future changes have distinct mod times in the file system.
1102 Add Punjabi orthography. Bug #1671.
1104 2004-12-04 Keith Packard <keithp@keithp.com>
1107 Just remove the FC_FONTDATE -- it has locale issues and
1108 annoys redhat multi-arch installs. Now that all X fonts are
1109 included without prejudice, the chances of the date being at
1110 all interesting are rather limited. Bug #505.
1112 Add copyright and license
1114 2004-12-04 Keith Packard <keithp@keithp.com>
1117 Change default set of fonts to include all of
1118 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1119 * doc/fontconfig-user.sgml:
1120 Document new <include>directory-name</include> semantics
1122 add <include ignore_missing="yes">conf.d</include>
1124 Add selectfont to ignore bitmap fonts, add comment for
1125 selectfont which accepts bitmap fonts.
1128 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1129 Allow <include> configuration elements to reference directories.
1130 Parse and load all files of the form [0-9]* in sorted order.
1132 2004-12-04 Keith Packard <keithp@keithp.com>
1135 Report command line for $srcdir/configure accurately.
1138 2004-12-04 Keith Packard <keithp@keithp.com>
1140 * src/fcfreetype.c: (FcFreeTypeQuery):
1141 Check for non-empty face->family_name and face->style_name
1142 before using those for the font. Empty names match everything.
1145 2004-12-04 Keith Packard <keithp@keithp.com>
1148 * fontconfig/fontconfig.h:
1149 * src/fcfreetype.c: (FcFreeTypeQuery):
1151 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1152 available. This provides font file format information (BDF, Type 1,
1153 PCF, TrueType) for each font. Closes #109.
1155 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1157 reviewed by: Keith Packard <keithp@keithp.com>
1159 * doc/fontconfig-user.sgml:
1162 * fontconfig/fontconfig.h:
1163 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1164 (GetScriptTags), (FcFontCapabilities):
1166 Add detection for font capabilities (bug #105)
1168 2004-12-04 Keith Packard <keithp@keithp.com>
1171 Move existing fonts.conf to fonts.conf.bak
1174 Add detection of iconv
1176 * doc/fcpattern.fncs:
1177 * doc/fontconfig-devel.sgml:
1178 * doc/fontconfig-user.sgml:
1180 Document new selectfont elements
1183 Switch to UTF-8 in comment
1185 * fontconfig/fontconfig.h:
1187 Add fullname, and family/style/fullname language entries
1189 * src/fccache.c: (FcCacheFontSetAdd):
1190 * src/fcdir.c: (FcFileScanConfig):
1191 Respect selectfont/*/glob
1194 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1195 (FcConfigCompareValue), (FcConfigPatternsAdd),
1196 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1197 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1198 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1199 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1200 Add support for selectfont
1202 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1203 (FcStringInPatternElement), (FcFreeTypeQuery):
1204 Add multi-lingual family/style/fullname support
1206 * src/fclist.c: (FcListPatternMatchAny):
1207 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1209 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1210 (FcObjectStaticName):
1211 Add new FcPatternRemove/FcPatternAppend.
1212 FcObjectStaticName stores computed pattern element names which
1213 are required to be static.
1215 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1220 Remove spurious / after $(DESTDIR)
1222 2004-06-30 Keith Packard <keithp@keithp.com>
1226 * fontconfig/fontconfig.h:
1229 2004-06-30 Keith Packard <keithp@keithp.com>
1231 Provided by: Lubos Lunak <l.lunak@suse.cz>
1233 * src/fccfg.c: (FcConfigUptoDate):
1234 However FcConfigUptoDate() doesn't seem to work. See the attached
1235 patch. First there's an obvious misplaced parenthesis making it
1236 return always false, and second, even this call fails to detect font
1237 changes (e.g. adding a new font to
1238 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1239 well. The problem seems to be triggered by my fonts.conf specifying
1240 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1241 doesn't include subdirs, unlike config->fontDirs.
1243 2004-06-03 Keith Packard <keithp@keithp.com>
1245 * fontconfig/fontconfig.h:
1246 Remove comma at end of FcResult enum definition.
1248 2004-05-29 Keith Packard <keithp@keithp.com>
1251 Add steps to md5sum release
1253 2004-05-29 Keith Packard <keithp@keithp.com>
1257 * fontconfig/fontconfig.h:
1260 2004-05-29 Keith Packard <keithp@keithp.com>
1262 * fontconfig/fontconfig.h:
1263 * src/fcmatch.c: (FcFontSetMatch):
1264 Add FcResultOutOfMemory to provide an accurate error when
1265 FcFontSetMatch fails in this way
1268 Make #warning about lacking various FreeType features indicate
1269 which version those features appeared so users know how to
1270 fix the problem (Thanks to Anton Tropashko)
1272 2004-05-05 Keith Packard <keithp@keithp.com>
1274 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1275 Replace MIN/MAX/ABS macros which happen to have come
1276 from FreeType with fontconfig-specific ones (FC_*)
1278 2004-04-23 Keith Packard <keithp@keithp.com>
1281 Extend release preparation instructions to include
1282 notification and distribution steps
1284 2004-04-23 Keith Packard <keithp@keithp.com>
1288 * fontconfig/fontconfig.h:
1289 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1291 2004-04-23 Keith Packard <keithp@keithp.com>
1294 Ignore a few more autotool files
1296 2004-04-14 Keith Packard <keithp@keithp.com>
1299 Add instructions for doing a release
1301 * fontconfig.spec.in:
1302 clean up .spec file; perhaps this will be useful to somebody...
1306 * fontconfig/fontconfig.h:
1309 * fc-lang/fc-lang.c:
1310 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1312 * fc-glyphname/Makefile.am:
1313 * fc-lang/Makefile.am:
1314 * fc-list/Makefile.am:
1315 * fc-match/Makefile.am:
1317 Add WARN_CFLAGS to pass -W flags for GCC systems
1319 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1320 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1321 Change various char types around to match across
1323 Fixed bug in using available_sizes[i].height which
1324 is in pixels, not 64ths of a pixel.
1326 2004-03-06 Keith Packard <keithp@keithp.com>
1328 * src/fcfreetype.c: (FcFreeTypeQuery):
1329 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1330 matches looking for explicit values prefer exact matches
1332 2004-03-02 Keith Packard <keithp@keithp.com>
1334 Supplied by: mfabian@suse.de (Mike FABIAN)
1336 * src/fcfreetype.c: (FcFreeTypeQuery):
1337 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1338 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1340 2004-02-21 Manish Singh <yosh@gimp.org>
1342 * fc-glyphname/fc-glyphname.c: (main):
1343 Cast strlen to int for printf, so we're 64-bit clean.
1345 2004-02-11 Keith Packard <keithp@keithp.com>
1348 * src/fcfreetype.c: (FcGetPixelSize):
1349 Ok, so I messed up the test for y_ppem. Let's see if I
1350 got it right this time.
1352 2004-02-10 Keith Packard <keithp@keithp.com>
1355 * src/fcfreetype.c: (FcGetPixelSize):
1356 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1357 FT_Bitmap_Size record. Add a configure.in test for this
1358 and change the code accordingly (using height instead).
1360 2004-02-06 Keith Packard <keithp@keithp.com>
1363 Add Low Saxon orthography
1364 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1366 * src/fccfg.c: (FcConfigNewestFile):
1367 Oops. Left 'newest.set' unset, which would miscompute
1370 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1371 (FcFreeTypeCheckGlyph):
1372 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1373 font properties (which report the wrong value in current FreeType)
1375 Don't attempt to check for empty glyphs in non-scalable fonts; they
1378 2004-02-01 Tor Lillqvist <tml@iki.fi>
1380 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1381 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1382 cache if config->cache is NULL, which happens if FcConfigHome() is
1383 NULL. Guard against that by using the temp folder in that case.
1385 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1387 * fc-lang/az_ir.orth:
1388 * fc-lang/ku_ir.orth:
1389 * fc-lang/ps_af.orth:
1390 * fc-lang/ps_pk.orth:
1391 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1392 (Afghan and Pakistani).
1394 Updated Urdu orthography with real data.
1396 2003-12-11 Carl Worth <cworth@east.isi.edu>
1398 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1401 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1403 (all-local): Remove excessive whitespace.
1405 * autogen.sh: Add 'set -e' to abort when any program fails,
1406 (avoids printing of 'now type make' after configure aborts).
1408 2003-11-17 Eric Christopherson <rakko@charter.net>
1410 reviewed by: Keith Packard <keithp@keithp.com>
1413 * fontconfig/fcfreetype.h:
1415 Switch to FreeType 2.1.7 style includes. Bug #150.
1417 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1419 * fc-list/fc-list.sgml: Add some example usages.
1421 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1424 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1427 2003-10-27 Keith Packard <keith@keithp.com>
1430 * fontconfig/fontconfig.h:
1431 Update to version 2.2.92
1433 2003-10-27 Keith Packard <keithp@keithp.com>
1438 * fc-cache/Makefile.am:
1439 * fc-glyphname/Makefile.am:
1440 * fc-lang/Makefile.am:
1441 * fc-list/Makefile.am:
1442 * fc-match/Makefile.am:
1445 Yet more cleanups to finish getting 'make distcheck' working
1446 This has been tested to ensure that it even works from a _build
1449 2003-10-26 Keith Packard <keithp@keithp.com>
1453 * fc-cache/Makefile.am:
1454 * fc-glyphname/Makefile.am:
1455 * fc-lang/Makefile.am:
1456 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1457 * fc-list/Makefile.am:
1458 * fc-match/Makefile.am:
1459 Attempts to fix 'make distcheck' work. Things are
1460 progressing pretty well, but there are still failures
1461 long into the process dealing with docs (as always).
1463 The big changes here are mostly to make $(srcdir) != "."
1464 work correctly, fixing the docbook related sections and
1465 fc-lang were particularily tricky. Docbook refuses to load
1466 system entities from anywhere other than where the original .sgml
1467 file was located, so no luck looking in "." for the
1468 configure-generated version.sgml and confdir.sgml files.
1470 fc-lang needed help finding .orth files; added a -d option
1471 to set the directory as the least evil of many options.
1473 Now to go use a faster machine and try and wring out the last
1476 2003-10-26 Keith Packard <keithp@keithp.com>
1480 2003-10-26 Keith Packard <keithp@keithp.com>
1483 Include confdir.sgml.in in EXTRA_DIST
1485 2003-10-09 Josselin Mouette <joss@debian.org>
1487 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1488 * fc-list/fc-list.sgml fc-list/Makefile.am:
1489 Replace fc-cache and fc-list manpages with more detailed, SGML
1492 2003-09-23 Owen Taylor <otaylor@redhat.com>
1494 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1495 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1496 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1499 2003-09-23 Owen Taylor <otaylor@redhat.com>
1501 * fc-lang/ka.orth: Remove Georgian capitals, they
1502 aren't used for normal writing. (Bug #116)
1504 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1506 * doc/fontconfig-devel.sgml:
1507 * doc/fontconfig-user.sgml:
1508 * fontconfig/fontconfig.h:
1510 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1511 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1513 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1514 monospace and dual-width fonts, allow roughly a 3% variance in the
1517 2003-08-31 Manish Singh <yosh@gimp.org>
1519 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1522 2003-08-15 Carl Worth <cworth@isi.edu>
1524 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1525 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1527 * src/fcpat.c (FcValueListEntDestroy): New function to support
1528 FcFini memory cleanup. Some statistics are not kept in
1530 (FcValueListFreeze): Move hashTable outside this function so it
1531 can be accessed by FcValueListThawAll.
1532 (FcValueListThawAll): New function complements FcValueListFreeze.
1533 (FcPatternBaseFreeze): Move hashTable outside this function so it
1534 can be accessed by FcPatternBaseThawAll.
1535 (FcPatternBaseThawAll): New function complements
1536 FcPatternBaseFreeze.
1537 (FcPatternThawAll): New function complements FcPatternFreeze.
1539 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1541 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1542 allocated FcCharLeafEnt "blocks" so they can be freed later.
1543 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1544 can be accessed by FcCharSetThawAllLeaf.
1545 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1546 (FcCharSetFreezeBase): Move hashTable outside this function so it
1547 can be accessed by FcCharSetThawAll.
1548 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1550 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1551 (FcConfigDestroy): Fic leak of FcBlanks.
1553 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1554 (main): Add call to FcFini when finished.
1556 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1557 static. Add prototypes.
1559 * doc/fcinit.fncs: Add documentation for FcFini function.
1561 * doc/edit-sgml.c: Mark several local functions as static. Add
1564 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1566 2003-06-15 Tor Lillqvist <tml@iki.fi>
1568 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1569 before comparing (needed on Windows).
1571 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1573 2003-06-13 Tor Lillqvist <tml@iki.fi>
1575 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1578 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1579 WINDOWSFONTDIR token.
1581 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1582 end, not to confuse libtool, which expects the EXPORTS line to be
1583 the first. Add FcConfigEnableHome.
1585 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1586 built as a DLL on Win32.
1588 2003-06-09 Keith Packard <keithp@keithp.com>
1590 * Tag version 2.2.90
1592 2003-06-09 Keith Packard <keithp@keithp.com>
1594 * Optimization in FcLangSetIndex was broken, occasionally
1595 returning a pointer to the wrong location on miss
1597 * Add fc-match to test font matching from the command line.
1599 2003-05-31 Keith Packard <keithp@keithp.com>
1601 * (Bug 85) add support for culmus fonts
1602 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1603 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1605 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1607 * Fix "contains" op for strings and langsets.
1609 2003-05-17 Keith Packard <keithp@keithp.com>
1611 * Fix build error with BDF prop local. Free langset after query
1613 2003-05-14 Keith Packard <keithp@keithp.com>
1615 * Extract spacing from XLFD atom
1617 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1619 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1620 disappeared in 1.30.
1622 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1624 2003-05-12 Keith Packard <keithp@keithp.com>
1626 * Use FcIsWidth to share code
1628 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1629 misclassifying some Han fonts as monospaced.
1631 2003-05-07 Keith Packard <keithp@keithp.com>
1633 * Add filename-based accept/reject to ammend available fonts.
1635 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1636 older FreeType releases.
1638 2003-05-06 Keith Packard <keithp@keithp.com>
1640 * Remove 0b82 and Tamil numbers from tamil
1641 orthography (Jungshik Shin <jshin@mailaps.org>)
1643 2003-05-04 Keith Packard <keithp@keithp.com>
1645 + Map glyph names in fonts with adobe custom encoding to unicode
1647 2003-05-02 Keith Packard <keithp@keithp.com>
1649 * Add FC_WEIGHT_BOOK as weight 75
1651 2003-04-30 Keith Packard <keithp@keithp.com>
1653 * Typo in bitstream foundry name
1655 2003-04-24 Keith Packard <keithp@keithp.com>
1657 * Eliminate italic_angle check for PS fonts
1659 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1661 * Getting closer to fixing /etc/fonts hard-coding.
1663 2003-04-22 Keith Packard <keithp@keithp.com>
1665 * Update autogen.sh to work with newer automake versions
1666 * Handle pattern elements moving during multiple edits
1668 2003-04-23 James Henstridge <james@daa.com.au>
1670 * doc/fontconfig-devel.sgml: close the <para> element.
1672 * doc/fcpattern.fncs: close the <para> element.
1674 * doc/func.sgml: close the <refsynopsisdiv> element.
1676 2003-04-22 Keith Packard <keithp@keithp.com
1678 * Update autogen.sh to work with newer automake versions
1679 * Handle pattern elements moving during multiple edits
1681 2003-04-17 Colin Walters <walters@debian.org>
1683 + Remove some unused variables, and initialize some other ones so
1684 gcc doesn't warn us.
1686 2003-04-16 Keith Packard <keithp@keithp.com>
1688 + tag version 2.1.94
1690 2003-04-16 Keith Packard <keithp@keithp.com>
1692 + add BDF property fetching support for foundry
1693 (from Juliusz Chroboczek)
1694 + add BDF property fetching support for width
1696 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1698 + Implemented foundry generation for Type 1 and TrueType
1700 2003-04-11 Gerard Escalante <g2@magestudios.net>
1702 + Retrieve information from Type1 FontInfo dictionaries
1704 2003-04-07 Colin Walters <walters@verbum.org>
1706 + src/Makefile.am: Fix dummy makefile target names when
1707 MS_LIB_AVAILABLE isn't set.
1709 2003-03-22 Tor Lillqvist <tml@iki.fi>
1711 Changes for Windows:
1713 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1715 + We don't want to hardcode the fonts.conf file location in the
1716 DLL, so we look up the DLL location at run-time in a DllMain()
1717 function. The fonts.conf location is deduced from that.
1719 + The colon can't be used as path separator on Windows,
1720 semicolon is used instead. File path components can be separated
1721 with either slash or backslash. Absolute paths can also begin
1722 with a drive letter.
1724 + Add internal function FcStrLastSlash that strrchr's the last
1725 slash, or backslash on Windows.
1727 + There is no link() on Windows. For atomicity checks, mkdir a
1728 lock directory instead.
1730 + In addition to HOME, also look for USERPROFILE.
1732 + Recognize the special font directory token WINDOWSFONTDIR, to
1733 use the system's font directory.
1735 + Remove the fontconfig-def.cpp that was obsolete. Add
1736 fontconfig.def(.in), without internal functions.
1738 + Add a fontconfig-zip(.in) script, used to build a binary
1741 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1742 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1743 to main package and man3/* to devel package
1745 + Added missing defattr(-, root, root) to main RPM package
1747 + Added HTML and text development documentation to -devel subpackage
1749 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1750 + Added back the configure macro options --disable-docs, otherwise
1751 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1752 version number) unconditionally, causing RPM to fail the build due
1753 to _unpackaged_files_terminate_build. We pick up the pregenerated
1754 docs with %doc already.
1756 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1757 + Removed commented out rpm macro define at top of spec file,
1758 replacing it with a simple explanation, since rpm macros are
1759 expanded by rpm even in comments.
1761 + Changed /usr/bin to _bindir in BuildRequires lines
1763 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1765 + Reorganized file manifest lists
1767 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1769 + fontconfig.spec.in: Improvements from Red Hat spec file.
1771 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1773 + docs/*.sgml: SGML fixes.
1775 Sat Mar 1 17:28:53 PST 2003 keithp
1776 + Ok, so the ChangeLog is a bit out of date
1778 + Lots of bugs fixed; most are in bugzilla, the
1779 biggest problems were in cache management where
1780 Owen discovered the library would lose badly when
1781 combining fonts-cache and ~/.fonts-cache data
1783 + Converted from autoconf to automake. This after
1784 getting patches accepted into libtool to allow
1785 the '-version-number' argument which lets
1786 packages set version numbers explicitly rather
1787 than the roundabout libtool way
1789 + Converted documentation to SGML using the docbook
1790 DTD. Now .txt and .html documents are installed
1791 in /usr/share/doc/fontconfig and there's no
1792 man page. Perhaps a man version can be written
1795 Sat Aug 31 15:21:22 PDT 2002 keithp
1796 + Xrender and Xft had several bugs related to
1797 rendering manually placed or poly-face text
1799 + Added more complete memory tracing in fontconfig
1800 Checked with (patched) mozilla and found no leaks
1802 + Updated Latin orthographies by comparing those from
1803 evertype.com with those from eki.ee. Tried to make
1804 sensible choices, including chars that occured in both
1805 and leaving some optional chars out that occured only
1808 Mon Aug 26 16:33:04 PDT 2002 keithp
1809 + Owen discovered that FcLangSetHasLang wasn't actually
1810 checking the language set.
1812 Mon Aug 26 13:37:23 PDT 2002 keithp
1813 + Append a version number to cache filenames
1815 Thu Aug 22 11:36:18 PDT 2002 keithp
1817 + Add "contains" and "not_contains" operators and elements to
1820 + Changed semantics of eq operator for LangSets to check for
1821 FcLangEqual so that any match will do
1823 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1824 of FcValueEqual to check for identical values when inserting into
1825 the results. This broke when the above semantic change was made,
1826 now it uses FcValueEqual which is "more correct" in any case.
1828 Thu Aug 22 00:32:29 PDT 2002 keithp
1830 + Reimplement FC_LANG as new datatype. Lists of strings
1831 was consuming over a megabyte of memory for 401 fonts.
1833 + Freeze patterns loaded from cache files. This shares
1834 common value lists and common patterns which saves
1835 considerable memory.
1837 + Change the denotation of 'constant' charsets to use special
1838 ref value instead of separate boolean.
1840 + Clean up leak tracing stuff, found several unannoted alloc/free
1843 Tue Aug 20 16:17:37 PDT 2002 keithp
1845 + Fix memory leak when parsing matrices from XML
1847 Mon Aug 19 11:57:27 PDT 2002 keithp
1849 + Fix autoconf files to pass FONTCONFIG_PATH on
1850 compile line so that ${prefix} gets substituted
1853 + Use getc_unlocked/putc_unlocked on systems that
1854 provide them to avoid damage done to stdio by posix
1856 + Eliminate FC_PATTERN and FcTypePattern in favor of
1857 an extended api for FcConfigSubstitute which takes
1858 both the font and the pattern.
1860 + Add 'sans serif' alias for 'sans-serif' as some apps
1861 can't handle hyphens in family names
1863 + Eliminate pretense of support for libxml2
1865 + Comment origins of Han orthographies
1867 Tue Jul 30 18:37:09 PDT 2002 keithp
1869 + Add binding property to edit element so that strong
1870 binding values may be inserted by the config file.
1871 The default remains weak.
1873 Sun 28 Jul 04:16:55 PDT 2002 keithp
1875 + Tagged release candidate 1 in the CVS tree and
1876 placed fcpackage.rc1.tar.gz for distribution
1878 Thu Aug 1 08:55:08 PDT 2002 keithp
1880 + Fixed autoconf builds to always specify install
1881 target files (for BSD). Also fixed to
1882 define FONTCONFIG_PATH in config.h so that
1883 nonstandard installs will actually work.