1 2005-11-21 Dirk Mueller <dmueller@suse.com>
4 * src/fcmatch.c (FcCompareValueList):
6 Manually perform inlining & partial redundancy elimination to
7 reduce calls to FcValueListPtrU.
9 2005-11-21 Dirk Mueller <dmueller@suse.com>
12 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
13 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
15 Only invoke strlen() when really necessary.
17 2005-11-19 Matthias Clasen <mclasen@redhat.com>
21 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
26 Get rid of the use of freetype internal headers in fcfreetype.c,
27 since those headers will go away with freetype 2.2. Replace with
28 public domain ftglue code from pango. Note that the patch removes
29 some extra error checking in FT_Get_BDF_Property() and comments
30 out the skipping of empty pcf fonts.
32 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
35 * fc-lang/fc-lang.c (main):
37 Further fix of patch from 2005-11-04: miscounted numbers count
38 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
39 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
41 Removed leafidx_count and numbers_count since they are the same
42 and replaced them with offset_count.
44 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
47 * fc-cat/fc-cat.c (main):
49 Don't crash when fc-cat invoked with no arguments.
51 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
54 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
56 Fix invalid read access caused by premature free and
57 GCC4 warnings in libxml2 codepath.
59 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
62 * src/fccfg.c (FcConfigValues):
64 List iteration not needed in FcConfigValues, since it's building
65 up the list itself; we can just strip FcVoid elements during
68 2005-11-17 Patrick Lam <plam@mit.edu>
69 * src/fccfg.c (FcConfigValues):
71 Fix crash on invalid constants in config files (forgot to update
72 a pointer upon list iteration.)
74 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
77 * src/fcxml.c (FcTypecheckExpr):
79 Complain about invalid constants in config files.
81 2005-11-17 Andreas Schwab <schwab@suse.de>
84 * src/fccache.c (FcGlobalCacheSave):
86 Don't add current_arch_start more than once.
88 2005-11-16 Patrick Lam <plam@mit.edu>
89 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
90 * src/fcfs.c (FcFontSetUnserialize):
91 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
92 * src/fcpat.c (FcStrUnserialize):
94 Fix ordering of ALIGN with respect to saving block_ptr; add
95 another ALIGN to fcfs.c.
97 2005-11-16 Patrick Lam <plam@mit.edu>
98 * src/fccache.c (FcDirCacheProduce)
100 Fix case where alignment bytes bumped up metadata->count
101 causing unwarranted failures to write cache files.
102 (Reported by Stephan Kulow).
104 2005-11-16 Patrick Lam <plam@mit.edu>
105 * src/fccache.c (FcDirCacheProduce):
106 * src/fccharset.c (FcCharSetDistributeBytes):
107 * src/fcfs.c (FcFontSetDistributeBytes):
109 * src/fclang.c (FcLangSetDistributeBytes):
110 * src/fcname.c (FcObjectDistributeBytes):
111 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
114 Add *NeededBytesAlign(), which overestimates the padding which is
115 later added by the new ALIGN macro. Fix alignment problems on
116 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
117 version by Andreas Schwab).
119 2005-11-16 Stephan Kulow <coolo@kde.org>
124 Use sysconf to determine proper PAGESIZE value; this
125 appears to be POSIX-compliant. (reported by Andreas Schwab)
127 2005-11-04 Patrick Lam <plam@mit.edu>
133 Fix bug 2878 (excessive relocations at startup for charsets,
134 reported by Ross Burton): fc-lang/fc-lang now creates the
135 static form of the langset, not the dynamic form, so that
136 the charsets should now be in .rodata.
138 2005-11-04 Patrick Lam <plam@mit.edu>
139 * src/fcdir.c (FcDirScanConfig):
141 Add test for validity of directory caches that
142 somehow got lost (reported by make distcheck).
144 2005-11-04 Patrick Lam <plam@mit.edu>
148 * fontconfig/fontconfig.h:
150 Bump version to 2.3.92.
152 2005-11-02 Patrick Lam <plam@mit.edu>
153 * src/fcpat.c (FcPatternDuplicate):
155 Fix argument ordering problem in call to FcPatternTransferFullFname.
157 2005-11-02 Patrick Lam <plam@mit.edu>
158 * src/fcfreetype.c (FcFreetypeQuery):
159 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
160 FcPatternTransferFullFname):
162 Fix warnings and embarrassing double-free error.
164 2005-11-02 Zhe Su <zsu@novell.com>
169 Change the rule for artificial emboldening in fonts.conf.in. This
170 enables the support for artificial emboldening included in cairo.
172 2005-11-02 Patrick Lam <plam@mit.edu>
173 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
175 Don't zero out full names for FC_REF_CONSTANT fonts;
176 also, duplicate full names when transferring, and free
177 full names when freeing the associated font.
178 Reported by Jinghua Luo.
180 2005-11-02 Patrick Lam <plam@mit.edu>
181 * fc-cache/fc-cache.c (scanDirs):
182 * src/fcpat.c (FcValueListSerialize):
184 Revert the previous patch and commit the correct patch:
185 I forgot a canonicalization in FcValueListSerialize, so
186 that it would choke on already-serialized input files. Duh!
188 2005-11-02 Patrick Lam <plam@mit.edu>
189 * fc-cache/fc-cache.c (scanDirs):
191 Forcibly rescan a directory before writing a fresh local
192 cache file for that directory, fixing the losing-fonts
193 problem reported by Mike Fabian and also apparently the
194 font cache file corruption.
196 2005-11-02 Patrick Lam <plam@mit.edu>
197 * src/fccache.c (FcGlobalCacheLoad):
199 Fix thinko: actually, the whole global cache is stale
200 if the global cache is older than the (newest) config file.
202 2005-11-02 Patrick Lam <plam@mit.edu>
203 * src/fccache.c (FcGlobalCacheLoad):
204 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
207 Declare the global cache of a directory's contents to be stale if
208 the directory is newer than the (newest) configuration file.
210 2005-10-31 Patrick Lam <plam@mit.edu>
212 * src/fclist.c (FcListAppend):
213 * src/fcmatch.c (FcFontRenderPrepare):
214 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
215 FcPatternFreeze, FcPatternBaseFreeze):
217 Copy the full pathname whenever duplicating an FcPattern; otherwise,
218 applications continue breaking.
220 2005-10-31 Patrick Lam <plam@mit.edu>
221 * fc-cat/fc-cat.c (FcCacheFileRead, main):
222 * src/fcfreetype.c (FcFreeTypeQuery):
224 Fix small memory error (tried to free argv); use basename and
225 dirname correctly (they can modify their arguments).
227 2005-10-31 Patrick Lam <plam@mit.edu>
235 Reinstate basename patch, but keep a hash table linking FcPatterns
236 to their fully-qualified font names for clients' benefit. Clients
237 only pay for the font names once they request the FC_FILE property
238 from an FcPattern, but the font name is malloc'd at that point (i.e.
239 not mmapped: that's impossible, since it may vary between machines.)
240 Clients do have to pay for a copy of the path name per cache file.
242 Note that FcPatternGetString now does some rewriting if you ask
243 for an FC_FILE, appending the pathname as appropriate.
245 2005-10-31 Patrick Lam <plam@mit.edu>
246 * src/fcfreetype.c (FcFreeTypeQuery):
248 Revert basename patch, which breaks fontconfig clients on my system.
250 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
253 * fontconfig/fonts.conf.in:
254 * fontconfig/fontconfig.h:
258 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
259 to load embedded bitmaps or not.
261 2005-10-25 Patrick Lam <plam@mit.edu>
262 * src/fcfreetype.c (FcFreeTypeQuery):
264 Only add basename to patterns' FC_FILE element, not any part of
267 2005-10-22 Patrick Lam <plam@mit.edu>
270 Add some more consts, fixing more GCC4 warnings.
272 2005-10-22 Zhe Su <zsu@novell.com>
275 Support localized font family and style names.
276 This has been reported to break old apps like xfd, but modern
277 (gtk+/qt/mozilla) apps work fine.
279 2005-10-21 Patrick Lam <plam@mit.edu>
280 * src/fccache.c (FcGlobalCacheLoad):
282 Destroy the global cache file if it's terminally broken. (reported by
285 2005-10-21 Patrick Lam <plam@mit.edu>
286 * fc-list/fc-list.c (main):
287 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
288 * fontconfig/fontconfig.h:
290 Prevent fc-list from escaping strings when printing them (reported by
293 2005-10-20 Marcus Meissner <meissner@suse.de>
296 * fontconfig/fontconfig.h:
298 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
300 2005-10-14 Ross Burton <ross@burtonini.com>
303 * fc-glyphname/fc-glyphname.c:
306 Add consts to variables so as to move arrays into .rodata.
308 2005-10-14 Mike Fabian <mfabian@suse.de>
311 * src/fccache.c (FcDirCacheUnlink):
313 Check existence of directory cache file before attempting to unlink.
315 2005-10-13 Patrick Lam <plam@mit.edu>
316 * src/fccache.c (FcDirCacheUnlink):
318 Fix flipped return value on unlink. (Reported by Mike Fabian)
320 2005-10-12 Patrick Lam <plam@mit.edu>
323 * src/fcdir.c (FcDirScanConfig):
326 When fc-cache is run without --force, use directory cache files
327 to speed up fc-cache run time. (Reported by Mike Fabian)
329 2005-10-06 Patrick Lam <plam@mit.edu>
331 * src/fcname.c (FcObjectToPtr):
332 * src/fcpat.c (FcStrStaticName):
334 Add padding to make valgrind and glibc not hate each other
335 when calling strlen().
337 2005-10-05 Simos Xenitellis <simos74@gmx.net>
338 reviewed by: plam & keithp
342 Modify config file to use Greek fonts before Asian fonts with
345 2005-10-05 Christian Biesinger <cbiesinger@web.de>
346 reviewed by: plam & keithp
350 Use libtool -no-undefined flag on all platforms.
352 2005-10-05 Patrick Lam <plam@mit.edu>
353 * src/fccache.c (FcCacheHaveBank):
355 Implement move-to-front array for banks (perf regression
356 reported by Ronny V. Vindenes).
358 2005-10-04 Patrick Lam <plam@mit.edu>
359 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
360 FcDirCacheHasCurrentArch):
361 * fc-cache/fc-cache.c (scanDirs):
362 * fontconfig/fontconfig.h:
364 Add new API which unlinks directory caches and checks dir caches
365 for existence of appropriate sections. Fix fc-cache to unlink
366 stale cache files and save directory caches that lack relevant
369 2005-10-03 Patrick Lam <plam@mit.edu>
370 * src/fccache.c (FcDirCacheValid):
372 Ensure that a directory cache has the appropriate section
373 before reporting that it is valid (reported by Matthias Clasen).
375 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
383 Use libxml2 if requested (with --enable-libxml2) or if
384 expat is not available.
386 2005-09-29 Patrick Lam <plam@mit.edu>
387 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
389 Fix multi-arch cache files: compute the position for the
390 block to be added using info from OrigFile, not NewFile.
392 2005-09-28 Patrick Lam <plam@mit.edu>
393 * src/fccache.c (FcCacheMachineSignature):
395 Cast results of sizeof() to unsigned int to get rid of
396 warnings on x86_64 (thanks Matthias Clasen).
398 2005-09-27 Patrick Lam <plam@mit.edu>
399 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
402 Use FcAtomic to rewrite cache files.
404 2005-09-27 Patrick Lam <plam@mit.edu>
406 * src/fccache.c (FcDirCacheWrite):
408 Don't unlink the fonts.cache-2 file even if there's no data
409 to write; just write an empty cache file. (thanks Lubos Lunak)
411 2005-09-27 Patrick Lam <plam@mit.edu>
413 * src/fccache.c (FcDirCacheWrite):
415 Allocate room for the subdirectory names in each
416 directory cache. Thanks to James Cloos for finding
417 and diagnosing this bug!
419 2005-09-22 Patrick Lam <plam@mit.edu>
421 * fc-cache/fc-cache.sgml:
422 * src/fccache.c (FcDirCacheWrite):
423 * src/fccache.h (struct FcCache):
425 Update documentation -- fc-cache's man page now says that you
426 need to run fc-cache once per cached architecture; add some
427 documentation to the FcCache structure.
429 Make fc-cache write out fonts.cache-2 files for directories with
430 no fonts (i.e. only subdirectories).
432 2005-09-22 Patrick Lam <plam@mit.edu>
434 * fc-cache/fc-cache.sgml:
436 * fc-glyphname/fc-glyphname.c:
442 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
447 * fontconfig/fcprivate.h:
448 * fontconfig/fontconfig.h:
462 Implement new mmaped cache for font information.
463 Bump so revision to 2.3.90.
465 2005-07-25 Keith Packard <keithp@keithp.com>
467 * doc/fontconfig-user.sgml:
468 * fc-glyphname/fc-glyphname.c: (scan), (main):
469 * fc-lang/fc-lang.c: (FcConfigHome):
470 * fc-match/fc-match.c: (main):
471 * src/fccfg.c: (FcConfigHome):
472 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
473 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
474 (addtag), (FcFontCapabilities):
475 * src/fcpat.c: (FcValueListEntCreate):
476 * src/fcstr.c: (FcStrCaseWalkerInit):
477 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
479 Various GCC 4 cleanups for signed vs unsigned char
481 Match only [0-9]*.conf files in <include>{directory}</include>
482 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
484 2005-07-15 Carl Worth <cworth@cworth.org>
487 * src/fcinit.c: (FcFini):
488 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
491 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
492 Pull the FcObjectStateName hash table out to file scope, and add
493 FcObjectStaticNameFini so that FcFini will cleanup this hash table
496 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
499 2005-06-16 Patrick Lam <plam@MIT.EDU>
503 * src/fccfg.c: (FcConfigCompareValue):
504 Make FcOpNotContains use FcStrStr for strings so that
505 it matches semantics for !FcOpContains.
507 2005-05-20 Keith Packard <keithp@keithp.com>
511 Move fontconfig source package to libs as per override
513 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
515 reviewed by: Mike Fabian
518 The ka.orth file requires several characters which are not
519 used anymore in modern Georgian and which are missing in the free
520 Georgian TrueType fonts downloadable at:
522 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
524 2005-04-27 Keith Packard <keithp@keithp.com>
528 Update date to real 2.3.2 release date.
529 Fix change attributions
531 2005-04-27 Keith Packard <keithp@keithp.com>
534 Bump so revision for 2.3.2
535 * fc-cache/fc-cache.c: (scanDirs):
536 Fix a few minor leaks in error cases.
538 2005-04-23 Keith Packard <keithp@keithp.com>
543 * fontconfig/fontconfig.h:
544 Update for version 2.3.2
546 2005-04-21 Keith Packard <keithp@keithp.com>
548 * debian/fontconfig.postinst:
549 Don't force bitmap font enable in default
550 configuration; allows users to override this in
560 * debian/po/pt_BR.po:
561 * debian/po/templates.pot:
563 * debian/po/zh_CN.po:
566 * fc-cache/fc-cache.c: (main):
567 Destroy font configuration on exit to help valgrind
570 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
571 (FcFreeTypeCheckGlyph):
572 Use own transcoding routines in preference to iconv
573 which appears to have leaks in some translators.
574 Call iconv_close after using iconv (oops).
576 Prefer unicode encoding of Euro char as some
577 fonts mis-encode Euro in other ones.
579 Must fetch bitmap glyphs to get width values
580 to check for monospace/dual-width fonts.
582 2005-04-13 Ross Burton <ross@burtonini.com>
585 Check that a pattern isn't already frozen in FcPatternFreeze.
587 2005-03-31 Ross Burton <ross@burtonini.com>
592 Run all FcPattern objects through FcObjectStaticName, so that
593 compares can be done on pointers instead of strings (#2659)
595 2005-03-17 Tor Lillqvist <tml@novell.com>
597 * src/fontconfig.def.in: Add the .dll to the dll name.
599 2005-03-10 Keith Packard <keithp@keithp.com>
601 * debian/README.Debian:
602 Update to reflect configuration changes
604 * debian/fontconfig.postinst:
605 Fix Autohint vs Autohinter mistake
606 * debian/fontconfig.templates:
607 Adopt changes from Josselin Mouette for configuration descriptions
608 Update debian to version 2.3.1-2
610 2005-03-08 Keith Packard <keithp@keithp.com>
614 Update debian for 2.3.1
616 2005-03-09 Tor Lillqvist <tml@novell.com>
618 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
621 * src/fccfg.c (FcConfigFileExists): Check also drive letter
624 2005-03-08 Keith Packard <keithp@keithp.com>
628 * fontconfig/fontconfig.h:
631 2005-03-05 Keith Packard <keithp@keithp.com>
633 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
634 Include space and remove numbers from valid script tags.
635 This ensures that tags like 'lao ' work while rejecting
636 those which have any digits.
637 Eliminate a spurious debugging variable (len)
639 2005-03-05 Keith Packard <keithp@keithp.com>
641 * src/fcfreetype.c: (addtag), (GetScriptTags),
642 (FcFontCapabilities):
643 Rework GSUB/GPOS script parsing to survive broken fonts.
644 Thanks for the broken font go to Manish Singh
646 2005-03-05 Keith Packard <keithp@keithp.com>
651 * debian/fontconfig.config:
652 * debian/fontconfig.templates:
654 Include 2.3 release information in changelog
655 Add Josselin Mouette as an Uploader
656 Set hinting_type to low priority configuration option
659 * debian/fontconfig.postinst:
660 yes_bitmaps.conf -> yes-bitmaps.conf
666 2005-03-02 Keith Packard <keithp@keithp.com>
669 * conf.d/Makefile.am:
670 * conf.d/autohint.conf:
671 * conf.d/no-sub-pixel.conf:
672 * conf.d/sub-pixel.conf:
673 * conf.d/unhinted.conf:
674 * debian/autohint.conf:
675 * debian/fontconfig.install:
676 * debian/fontconfig.postinst:
677 * debian/fontconfig.templates:
678 * debian/no-sub-pixel.conf:
679 * debian/unhinted.conf:
680 Move debian-specific conf file examples upstream.
682 Sub-pixel configuration examples must smash subpixel value
683 as Xft always sets it from X.
685 Change sub-pixel rendering debconf descriptions from
686 Enable/Disable to Always/Never.
688 2005-03-02 Keith Packard <keithp@keithp.com>
693 Ignore more build detritus
696 Add debian package construction stuff.
698 * config/config.guess:
700 Update to newer versions of these tools
703 Get library manuals to build again (we love automake).
705 * debian/README.Debian:
706 * debian/autohint.conf:
711 * debian/fontconfig-udeb.install:
712 * debian/fontconfig.config:
713 * debian/fontconfig.defoma:
714 * debian/fontconfig.dirs:
715 * debian/fontconfig.install:
716 * debian/fontconfig.postinst:
717 * debian/fontconfig.postrm:
718 * debian/fontconfig.templates:
719 * debian/libfontconfig1-dev.install:
720 * debian/libfontconfig1.install:
721 * debian/local.conf.md5sum:
722 * debian/no-sub-pixel.conf:
723 * debian/po/POTFILES.in:
732 * debian/po/pt_BR.po:
733 * debian/po/templates.pot:
735 * debian/po/zh_CN.po:
737 * debian/unhinted.conf:
738 Update debian build system to switch maintainers and
739 deal with 2.3 functionality
741 2005-03-01 Keith Packard <keithp@keithp.com>
745 * fontconfig/fontconfig.h:
748 2005-03-01 Keith Packard <keithp@keithp.com>
751 Generate and install PDF versions of the manuals
753 * doc/fcpattern.fncs:
757 Add missing exported functions, fix data types
759 * doc/fontconfig-devel.sgml:
760 Add missing pattern elements.
762 * doc/fontconfig-user.sgml:
763 Add missing pattern elements. Document conf.d usage,
764 clarify available orthography list. Fix some config file
765 attributes. Complete list of constants.
767 * fontconfig/fontconfig.h:
768 Mark FC_SOURCE deprecated.
770 * src/fcfreetype.c: (FcFreeTypeQuery):
771 Don't set FC_SOURCE any longer.
773 2005-02-28 Keith Packard <keithp@keithp.com>
776 * conf.d/Makefile.am:
778 * conf.d/no-bitmaps.conf:
779 * conf.d/sub-pixel.conf:
780 * conf.d/yes-bitmaps.conf:
782 Create prototype /etc/fonts/conf.d directory with a few
783 sample configuration files.
784 Deprecate use of local.conf for local customizations in favor of
785 this directory based scheme which is more easily integrated into
786 installation systems.
789 Tag FC_EMBOLDEN as a boolean variable
791 2005-02-10 Keith Packard <keithp@keithp.com>
793 reviewed by: pborelli@katamail.com
795 * src/fcdir.c: (FcFileScanConfig):
796 Free patterns from fonts which are rejected by configuration
799 2005-01-28 Keith Packard <keithp@keithp.com>
803 * fontconfig/fontconfig.h:
804 Update for version 2.2.99
806 2005-01-28 Keith Packard <keithp@keithp.com>
809 Add a few pointers (#2284, #2285)
811 2005-01-28 Keith Packard <keithp@keithp.com>
814 * src/fcname.c: (FcNameBool):
815 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
816 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
817 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
818 Polite typechecking for test and edit expressions. Helps
819 catch errors in the font configuration. (bug 229)
821 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
823 reviewed by: Keith Packard <keithp@keithp.com>
826 Have --with-expat set EXPAT_CFLAGS (bug 2278)
828 2005-01-13 Keith Packard <keithp@keithp.com>
830 * doc/fontconfig-user.sgml:
831 Add SEE ALSO section (bug 2085)
833 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
835 reviewed by: Keith Packard <keithp@keithp.com>
840 * fc-case/Makefile.am:
841 * fc-glyphname/Makefile.am:
842 * fc-lang/Makefile.am:
843 * src/fontconfig.def.in:
844 Cross compiling fixes (bug 280)
846 2005-01-13 Keith Packard <keithp@keithp.com>
849 Update blanks list (Closes bug 86)
851 2005-01-04 Keith Packard <keithp@keithp.com>
853 * src/fccache.c: (FcCacheFontSetAdd):
854 Verify that every font pattern loaded from cache has
855 both FC_FILE and FC_FAMILY entries.
856 Attempt to fix bug #2219.
858 2004-12-29 Keith Packard <keithp@keithp.com>
862 * fontconfig/fontconfig.h:
863 Update for version 2.2.98
865 2004-12-29 Keith Packard <keithp@keithp.com>
867 * fontconfig/fontconfig.h:
868 Document ASCII limitations of Fc character conversion macros
869 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
870 Fix off-by-one error in utf-8 case walking code.
871 Add FcStrDowncase (useful for testing case conversion functions)
873 2004-12-29 Keith Packard <keithp@keithp.com>
876 * fc-case/.cvsignore:
877 clean up CVS ignore lists
878 * fc-lang/iso-3166.txt:
879 Add territory database
881 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
883 Reviewed by: Keith Packard
886 Remove Han characters from Korean orthography
888 2004-12-29 Keith Packard <keithp@keithp.com>
891 Reorder utility programs to make sure fc-case is run before fc-lang
892 as fc-lang uses fcstr.c which uses fccase.h
896 2004-12-29 Keith Packard <keithp@keithp.com>
899 Adopt some RedHat suggestions for standard font configuration.
903 * fc-case/CaseFolding.txt:
904 * fc-case/Makefile.am:
905 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
906 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
907 (dump), (parseRaw), (caseFoldReadRaw), (main):
908 * fc-case/fccase.tmpl.h:
909 Add new helper program 'fc-case' to construct case folding
910 tables from standard Unicode CaseFolding.txt file
913 * src/fclist.c: (FcListValueHash):
914 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
915 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
916 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
917 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
918 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
919 Re-implement case insensitive functions with Unicode
920 aware versions (including full case folding mappings)
922 2004-12-13 Keith Packard <keithp@keithp.com>
924 reviewed by: Owen Taylor <otaylor@redhat.com>
926 * src/fcmatch.c: (FcFontSetSort):
927 I changed FcFontSetSort to respect the generic aliases better
928 in the face of language matching.
930 What I did was to ammend the strict sort order used by FcFontSort so
931 that it 'satisfies' the language specified in the pattern by locating
932 the best matching font supporting each pattern language and then
933 ignores language in the remaining fonts for purposes of matching.
935 So, when asking for 'sans:lang=en', you'll get an English font first,
936 and then the remaining fonts sorted with respect to the 'sans' alias
937 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
939 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
941 reviewed by: Keith Packard <keithp@keithp.com>
943 * fontconfig/fontconfig.h:
946 Configuration changes to request synthetic emboldening of
947 fonts. The actual emboldening code will live in Xft.
949 2004-12-09 John Thacker <thacker@math.cornell.edu>
951 reviewed by: Keith Packard <keithp@keithp.com>
955 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
956 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
957 и), and don't even appear in KOI8-R. (The hypothesis that they
958 don't appear in KOI8-R due to their similarity with Latin I and i is
959 eliminated by their presence in KOI8-U.) I have a couple of fonts
960 with Russian support that don't have the letter.
962 Therefore, 0406 and 0456 should be removed from or commented out of
965 2004-12-06 michael meeks <mmeeks@novell.com>
967 Reviewed by: Keith Packard <keithp@keithp.com>
969 * src/fcinit.c: (FcMemReport):
971 * src/fclist.c: (FcObjectSetAdd):
972 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
973 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
974 * src/fcxml.c: (FcParsePatelt):
975 memoize strings and share a single copy for all uses. Note that
976 this could be improved further by using statically allocated blocks
977 and gluing multiple strings together, but I'm basically lazy.
978 In my environment with 800 font files, I get a savings of about 90KB.
980 2004-12-06 Keith Packard <keithp@keithp.com>
984 * config/Makedefs.in:
989 * doc/fccharset.fncs:
991 * doc/fcconstant.fncs:
993 * doc/fcfontset.fncs:
994 * doc/fcfreetype.fncs:
997 * doc/fcobjectset.fncs:
998 * doc/fcobjecttype.fncs:
999 * doc/fcpattern.fncs:
1000 * doc/fcstring.fncs:
1001 * doc/fcstrset.fncs:
1003 * doc/fontconfig-devel.sgml:
1004 * doc/fontconfig-user.sgml:
1006 * doc/version.sgml.in:
1007 * fc-cache/Makefile.am:
1008 * fc-cache/fc-cache.c:
1009 * fc-glyphname/Makefile.am:
1010 * fc-glyphname/fc-glyphname.c:
1011 * fc-glyphname/fcglyphname.tmpl.h:
1012 * fc-lang/Makefile.am:
1022 * fc-lang/az_ir.orth:
1056 * fc-lang/fc-lang.c:
1057 * fc-lang/fc-lang.man:
1058 * fc-lang/fclang.tmpl.h:
1103 * fc-lang/ku_ir.orth:
1136 * fc-lang/ps_af.orth:
1137 * fc-lang/ps_pk.orth:
1166 * fc-lang/ti_er.orth:
1167 * fc-lang/ti_et.orth:
1193 * fc-lang/zh_cn.orth:
1194 * fc-lang/zh_hk.orth:
1195 * fc-lang/zh_mo.orth:
1196 * fc-lang/zh_sg.orth:
1197 * fc-lang/zh_tw.orth:
1199 * fc-list/Makefile.am:
1200 * fc-list/fc-list.c:
1201 * fc-match/Makefile.am:
1202 * fc-match/fc-match.1:
1203 * fc-match/fc-match.c:
1204 * fontconfig/fcfreetype.h:
1205 * fontconfig/fcprivate.h:
1206 * fontconfig/fontconfig.h:
1227 Change files from ISO-Latin-1 to UTF-8
1229 2004-12-04 Keith Packard <keithp@keithp.com>
1232 Update links to new freedesktop.org locations
1234 Add uninstall-local to get rid of fonts.conf and local.conf if they
1235 match the distributed versions. Fixes 'make distcheck'
1237 2004-12-04 Keith Packard <keithp@keithp.com>
1241 * fontconfig/fontconfig.h:
1242 Updates for version 2.2.97
1244 2004-12-04 Owen Taylor <otaylor@redhat.com>
1246 reviewed by: Keith Packard <keithp@keithp.com>
1248 * fc-cache/fc-cache.c: (main):
1249 Sleep for two seconds before exiting to make sure timestamps
1250 for future changes have distinct mod times in the file system.
1253 Add Punjabi orthography. Bug #1671.
1255 2004-12-04 Keith Packard <keithp@keithp.com>
1258 Just remove the FC_FONTDATE -- it has locale issues and
1259 annoys redhat multi-arch installs. Now that all X fonts are
1260 included without prejudice, the chances of the date being at
1261 all interesting are rather limited. Bug #505.
1263 Add copyright and license
1265 2004-12-04 Keith Packard <keithp@keithp.com>
1268 Change default set of fonts to include all of
1269 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1270 * doc/fontconfig-user.sgml:
1271 Document new <include>directory-name</include> semantics
1273 add <include ignore_missing="yes">conf.d</include>
1275 Add selectfont to ignore bitmap fonts, add comment for
1276 selectfont which accepts bitmap fonts.
1279 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1280 Allow <include> configuration elements to reference directories.
1281 Parse and load all files of the form [0-9]* in sorted order.
1283 2004-12-04 Keith Packard <keithp@keithp.com>
1286 Report command line for $srcdir/configure accurately.
1289 2004-12-04 Keith Packard <keithp@keithp.com>
1291 * src/fcfreetype.c: (FcFreeTypeQuery):
1292 Check for non-empty face->family_name and face->style_name
1293 before using those for the font. Empty names match everything.
1296 2004-12-04 Keith Packard <keithp@keithp.com>
1299 * fontconfig/fontconfig.h:
1300 * src/fcfreetype.c: (FcFreeTypeQuery):
1302 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1303 available. This provides font file format information (BDF, Type 1,
1304 PCF, TrueType) for each font. Closes #109.
1306 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1308 reviewed by: Keith Packard <keithp@keithp.com>
1310 * doc/fontconfig-user.sgml:
1313 * fontconfig/fontconfig.h:
1314 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1315 (GetScriptTags), (FcFontCapabilities):
1317 Add detection for font capabilities (bug #105)
1319 2004-12-04 Keith Packard <keithp@keithp.com>
1322 Move existing fonts.conf to fonts.conf.bak
1325 Add detection of iconv
1327 * doc/fcpattern.fncs:
1328 * doc/fontconfig-devel.sgml:
1329 * doc/fontconfig-user.sgml:
1331 Document new selectfont elements
1334 Switch to UTF-8 in comment
1336 * fontconfig/fontconfig.h:
1338 Add fullname, and family/style/fullname language entries
1340 * src/fccache.c: (FcCacheFontSetAdd):
1341 * src/fcdir.c: (FcFileScanConfig):
1342 Respect selectfont/*/glob
1345 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1346 (FcConfigCompareValue), (FcConfigPatternsAdd),
1347 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1348 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1349 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1350 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1351 Add support for selectfont
1353 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1354 (FcStringInPatternElement), (FcFreeTypeQuery):
1355 Add multi-lingual family/style/fullname support
1357 * src/fclist.c: (FcListPatternMatchAny):
1358 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1360 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1361 (FcObjectStaticName):
1362 Add new FcPatternRemove/FcPatternAppend.
1363 FcObjectStaticName stores computed pattern element names which
1364 are required to be static.
1366 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1371 Remove spurious / after $(DESTDIR)
1373 2004-06-30 Keith Packard <keithp@keithp.com>
1377 * fontconfig/fontconfig.h:
1380 2004-06-30 Keith Packard <keithp@keithp.com>
1382 Provided by: Lubos Lunak <l.lunak@suse.cz>
1384 * src/fccfg.c: (FcConfigUptoDate):
1385 However FcConfigUptoDate() doesn't seem to work. See the attached
1386 patch. First there's an obvious misplaced parenthesis making it
1387 return always false, and second, even this call fails to detect font
1388 changes (e.g. adding a new font to
1389 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1390 well. The problem seems to be triggered by my fonts.conf specifying
1391 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1392 doesn't include subdirs, unlike config->fontDirs.
1394 2004-06-03 Keith Packard <keithp@keithp.com>
1396 * fontconfig/fontconfig.h:
1397 Remove comma at end of FcResult enum definition.
1399 2004-05-29 Keith Packard <keithp@keithp.com>
1402 Add steps to md5sum release
1404 2004-05-29 Keith Packard <keithp@keithp.com>
1408 * fontconfig/fontconfig.h:
1411 2004-05-29 Keith Packard <keithp@keithp.com>
1413 * fontconfig/fontconfig.h:
1414 * src/fcmatch.c: (FcFontSetMatch):
1415 Add FcResultOutOfMemory to provide an accurate error when
1416 FcFontSetMatch fails in this way
1419 Make #warning about lacking various FreeType features indicate
1420 which version those features appeared so users know how to
1421 fix the problem (Thanks to Anton Tropashko)
1423 2004-05-05 Keith Packard <keithp@keithp.com>
1425 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1426 Replace MIN/MAX/ABS macros which happen to have come
1427 from FreeType with fontconfig-specific ones (FC_*)
1429 2004-04-23 Keith Packard <keithp@keithp.com>
1432 Extend release preparation instructions to include
1433 notification and distribution steps
1435 2004-04-23 Keith Packard <keithp@keithp.com>
1439 * fontconfig/fontconfig.h:
1440 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1442 2004-04-23 Keith Packard <keithp@keithp.com>
1445 Ignore a few more autotool files
1447 2004-04-14 Keith Packard <keithp@keithp.com>
1450 Add instructions for doing a release
1452 * fontconfig.spec.in:
1453 clean up .spec file; perhaps this will be useful to somebody...
1457 * fontconfig/fontconfig.h:
1460 * fc-lang/fc-lang.c:
1461 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1463 * fc-glyphname/Makefile.am:
1464 * fc-lang/Makefile.am:
1465 * fc-list/Makefile.am:
1466 * fc-match/Makefile.am:
1468 Add WARN_CFLAGS to pass -W flags for GCC systems
1470 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1471 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1472 Change various char types around to match across
1474 Fixed bug in using available_sizes[i].height which
1475 is in pixels, not 64ths of a pixel.
1477 2004-03-06 Keith Packard <keithp@keithp.com>
1479 * src/fcfreetype.c: (FcFreeTypeQuery):
1480 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1481 matches looking for explicit values prefer exact matches
1483 2004-03-02 Keith Packard <keithp@keithp.com>
1485 Supplied by: mfabian@suse.de (Mike FABIAN)
1487 * src/fcfreetype.c: (FcFreeTypeQuery):
1488 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1489 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1491 2004-02-21 Manish Singh <yosh@gimp.org>
1493 * fc-glyphname/fc-glyphname.c: (main):
1494 Cast strlen to int for printf, so we're 64-bit clean.
1496 2004-02-11 Keith Packard <keithp@keithp.com>
1499 * src/fcfreetype.c: (FcGetPixelSize):
1500 Ok, so I messed up the test for y_ppem. Let's see if I
1501 got it right this time.
1503 2004-02-10 Keith Packard <keithp@keithp.com>
1506 * src/fcfreetype.c: (FcGetPixelSize):
1507 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1508 FT_Bitmap_Size record. Add a configure.in test for this
1509 and change the code accordingly (using height instead).
1511 2004-02-06 Keith Packard <keithp@keithp.com>
1514 Add Low Saxon orthography
1515 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1517 * src/fccfg.c: (FcConfigNewestFile):
1518 Oops. Left 'newest.set' unset, which would miscompute
1521 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1522 (FcFreeTypeCheckGlyph):
1523 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1524 font properties (which report the wrong value in current FreeType)
1526 Don't attempt to check for empty glyphs in non-scalable fonts; they
1529 2004-02-01 Tor Lillqvist <tml@iki.fi>
1531 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1532 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1533 cache if config->cache is NULL, which happens if FcConfigHome() is
1534 NULL. Guard against that by using the temp folder in that case.
1536 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1538 * fc-lang/az_ir.orth:
1539 * fc-lang/ku_ir.orth:
1540 * fc-lang/ps_af.orth:
1541 * fc-lang/ps_pk.orth:
1542 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1543 (Afghan and Pakistani).
1545 Updated Urdu orthography with real data.
1547 2003-12-11 Carl Worth <cworth@east.isi.edu>
1549 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1552 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1554 (all-local): Remove excessive whitespace.
1556 * autogen.sh: Add 'set -e' to abort when any program fails,
1557 (avoids printing of 'now type make' after configure aborts).
1559 2003-11-17 Eric Christopherson <rakko@charter.net>
1561 reviewed by: Keith Packard <keithp@keithp.com>
1564 * fontconfig/fcfreetype.h:
1566 Switch to FreeType 2.1.7 style includes. Bug #150.
1568 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1570 * fc-list/fc-list.sgml: Add some example usages.
1572 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1575 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1578 2003-10-27 Keith Packard <keith@keithp.com>
1581 * fontconfig/fontconfig.h:
1582 Update to version 2.2.92
1584 2003-10-27 Keith Packard <keithp@keithp.com>
1589 * fc-cache/Makefile.am:
1590 * fc-glyphname/Makefile.am:
1591 * fc-lang/Makefile.am:
1592 * fc-list/Makefile.am:
1593 * fc-match/Makefile.am:
1596 Yet more cleanups to finish getting 'make distcheck' working
1597 This has been tested to ensure that it even works from a _build
1600 2003-10-26 Keith Packard <keithp@keithp.com>
1604 * fc-cache/Makefile.am:
1605 * fc-glyphname/Makefile.am:
1606 * fc-lang/Makefile.am:
1607 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1608 * fc-list/Makefile.am:
1609 * fc-match/Makefile.am:
1610 Attempts to fix 'make distcheck' work. Things are
1611 progressing pretty well, but there are still failures
1612 long into the process dealing with docs (as always).
1614 The big changes here are mostly to make $(srcdir) != "."
1615 work correctly, fixing the docbook related sections and
1616 fc-lang were particularily tricky. Docbook refuses to load
1617 system entities from anywhere other than where the original .sgml
1618 file was located, so no luck looking in "." for the
1619 configure-generated version.sgml and confdir.sgml files.
1621 fc-lang needed help finding .orth files; added a -d option
1622 to set the directory as the least evil of many options.
1624 Now to go use a faster machine and try and wring out the last
1627 2003-10-26 Keith Packard <keithp@keithp.com>
1631 2003-10-26 Keith Packard <keithp@keithp.com>
1634 Include confdir.sgml.in in EXTRA_DIST
1636 2003-10-09 Josselin Mouette <joss@debian.org>
1638 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1639 * fc-list/fc-list.sgml fc-list/Makefile.am:
1640 Replace fc-cache and fc-list manpages with more detailed, SGML
1643 2003-09-23 Owen Taylor <otaylor@redhat.com>
1645 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1646 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1647 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1650 2003-09-23 Owen Taylor <otaylor@redhat.com>
1652 * fc-lang/ka.orth: Remove Georgian capitals, they
1653 aren't used for normal writing. (Bug #116)
1655 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1657 * doc/fontconfig-devel.sgml:
1658 * doc/fontconfig-user.sgml:
1659 * fontconfig/fontconfig.h:
1661 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1662 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1664 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1665 monospace and dual-width fonts, allow roughly a 3% variance in the
1668 2003-08-31 Manish Singh <yosh@gimp.org>
1670 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1673 2003-08-15 Carl Worth <cworth@isi.edu>
1675 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1676 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1678 * src/fcpat.c (FcValueListEntDestroy): New function to support
1679 FcFini memory cleanup. Some statistics are not kept in
1681 (FcValueListFreeze): Move hashTable outside this function so it
1682 can be accessed by FcValueListThawAll.
1683 (FcValueListThawAll): New function complements FcValueListFreeze.
1684 (FcPatternBaseFreeze): Move hashTable outside this function so it
1685 can be accessed by FcPatternBaseThawAll.
1686 (FcPatternBaseThawAll): New function complements
1687 FcPatternBaseFreeze.
1688 (FcPatternThawAll): New function complements FcPatternFreeze.
1690 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1692 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1693 allocated FcCharLeafEnt "blocks" so they can be freed later.
1694 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1695 can be accessed by FcCharSetThawAllLeaf.
1696 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1697 (FcCharSetFreezeBase): Move hashTable outside this function so it
1698 can be accessed by FcCharSetThawAll.
1699 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1701 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1702 (FcConfigDestroy): Fic leak of FcBlanks.
1704 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1705 (main): Add call to FcFini when finished.
1707 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1708 static. Add prototypes.
1710 * doc/fcinit.fncs: Add documentation for FcFini function.
1712 * doc/edit-sgml.c: Mark several local functions as static. Add
1715 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1717 2003-06-15 Tor Lillqvist <tml@iki.fi>
1719 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1720 before comparing (needed on Windows).
1722 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1724 2003-06-13 Tor Lillqvist <tml@iki.fi>
1726 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1729 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1730 WINDOWSFONTDIR token.
1732 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1733 end, not to confuse libtool, which expects the EXPORTS line to be
1734 the first. Add FcConfigEnableHome.
1736 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1737 built as a DLL on Win32.
1739 2003-06-09 Keith Packard <keithp@keithp.com>
1741 * Tag version 2.2.90
1743 2003-06-09 Keith Packard <keithp@keithp.com>
1745 * Optimization in FcLangSetIndex was broken, occasionally
1746 returning a pointer to the wrong location on miss
1748 * Add fc-match to test font matching from the command line.
1750 2003-05-31 Keith Packard <keithp@keithp.com>
1752 * (Bug 85) add support for culmus fonts
1753 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1754 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1756 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1758 * Fix "contains" op for strings and langsets.
1760 2003-05-17 Keith Packard <keithp@keithp.com>
1762 * Fix build error with BDF prop local. Free langset after query
1764 2003-05-14 Keith Packard <keithp@keithp.com>
1766 * Extract spacing from XLFD atom
1768 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1770 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1771 disappeared in 1.30.
1773 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1775 2003-05-12 Keith Packard <keithp@keithp.com>
1777 * Use FcIsWidth to share code
1779 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1780 misclassifying some Han fonts as monospaced.
1782 2003-05-07 Keith Packard <keithp@keithp.com>
1784 * Add filename-based accept/reject to ammend available fonts.
1786 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1787 older FreeType releases.
1789 2003-05-06 Keith Packard <keithp@keithp.com>
1791 * Remove 0b82 and Tamil numbers from tamil
1792 orthography (Jungshik Shin <jshin@mailaps.org>)
1794 2003-05-04 Keith Packard <keithp@keithp.com>
1796 + Map glyph names in fonts with adobe custom encoding to unicode
1798 2003-05-02 Keith Packard <keithp@keithp.com>
1800 * Add FC_WEIGHT_BOOK as weight 75
1802 2003-04-30 Keith Packard <keithp@keithp.com>
1804 * Typo in bitstream foundry name
1806 2003-04-24 Keith Packard <keithp@keithp.com>
1808 * Eliminate italic_angle check for PS fonts
1810 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1812 * Getting closer to fixing /etc/fonts hard-coding.
1814 2003-04-22 Keith Packard <keithp@keithp.com>
1816 * Update autogen.sh to work with newer automake versions
1817 * Handle pattern elements moving during multiple edits
1819 2003-04-23 James Henstridge <james@daa.com.au>
1821 * doc/fontconfig-devel.sgml: close the <para> element.
1823 * doc/fcpattern.fncs: close the <para> element.
1825 * doc/func.sgml: close the <refsynopsisdiv> element.
1827 2003-04-22 Keith Packard <keithp@keithp.com
1829 * Update autogen.sh to work with newer automake versions
1830 * Handle pattern elements moving during multiple edits
1832 2003-04-17 Colin Walters <walters@debian.org>
1834 + Remove some unused variables, and initialize some other ones so
1835 gcc doesn't warn us.
1837 2003-04-16 Keith Packard <keithp@keithp.com>
1839 + tag version 2.1.94
1841 2003-04-16 Keith Packard <keithp@keithp.com>
1843 + add BDF property fetching support for foundry
1844 (from Juliusz Chroboczek)
1845 + add BDF property fetching support for width
1847 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1849 + Implemented foundry generation for Type 1 and TrueType
1851 2003-04-11 Gerard Escalante <g2@magestudios.net>
1853 + Retrieve information from Type1 FontInfo dictionaries
1855 2003-04-07 Colin Walters <walters@verbum.org>
1857 + src/Makefile.am: Fix dummy makefile target names when
1858 MS_LIB_AVAILABLE isn't set.
1860 2003-03-22 Tor Lillqvist <tml@iki.fi>
1862 Changes for Windows:
1864 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1866 + We don't want to hardcode the fonts.conf file location in the
1867 DLL, so we look up the DLL location at run-time in a DllMain()
1868 function. The fonts.conf location is deduced from that.
1870 + The colon can't be used as path separator on Windows,
1871 semicolon is used instead. File path components can be separated
1872 with either slash or backslash. Absolute paths can also begin
1873 with a drive letter.
1875 + Add internal function FcStrLastSlash that strrchr's the last
1876 slash, or backslash on Windows.
1878 + There is no link() on Windows. For atomicity checks, mkdir a
1879 lock directory instead.
1881 + In addition to HOME, also look for USERPROFILE.
1883 + Recognize the special font directory token WINDOWSFONTDIR, to
1884 use the system's font directory.
1886 + Remove the fontconfig-def.cpp that was obsolete. Add
1887 fontconfig.def(.in), without internal functions.
1889 + Add a fontconfig-zip(.in) script, used to build a binary
1892 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1893 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1894 to main package and man3/* to devel package
1896 + Added missing defattr(-, root, root) to main RPM package
1898 + Added HTML and text development documentation to -devel subpackage
1900 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1901 + Added back the configure macro options --disable-docs, otherwise
1902 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1903 version number) unconditionally, causing RPM to fail the build due
1904 to _unpackaged_files_terminate_build. We pick up the pregenerated
1905 docs with %doc already.
1907 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1908 + Removed commented out rpm macro define at top of spec file,
1909 replacing it with a simple explanation, since rpm macros are
1910 expanded by rpm even in comments.
1912 + Changed /usr/bin to _bindir in BuildRequires lines
1914 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1916 + Reorganized file manifest lists
1918 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1920 + fontconfig.spec.in: Improvements from Red Hat spec file.
1922 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1924 + docs/*.sgml: SGML fixes.
1926 Sat Mar 1 17:28:53 PST 2003 keithp
1927 + Ok, so the ChangeLog is a bit out of date
1929 + Lots of bugs fixed; most are in bugzilla, the
1930 biggest problems were in cache management where
1931 Owen discovered the library would lose badly when
1932 combining fonts-cache and ~/.fonts-cache data
1934 + Converted from autoconf to automake. This after
1935 getting patches accepted into libtool to allow
1936 the '-version-number' argument which lets
1937 packages set version numbers explicitly rather
1938 than the roundabout libtool way
1940 + Converted documentation to SGML using the docbook
1941 DTD. Now .txt and .html documents are installed
1942 in /usr/share/doc/fontconfig and there's no
1943 man page. Perhaps a man version can be written
1946 Sat Aug 31 15:21:22 PDT 2002 keithp
1947 + Xrender and Xft had several bugs related to
1948 rendering manually placed or poly-face text
1950 + Added more complete memory tracing in fontconfig
1951 Checked with (patched) mozilla and found no leaks
1953 + Updated Latin orthographies by comparing those from
1954 evertype.com with those from eki.ee. Tried to make
1955 sensible choices, including chars that occured in both
1956 and leaving some optional chars out that occured only
1959 Mon Aug 26 16:33:04 PDT 2002 keithp
1960 + Owen discovered that FcLangSetHasLang wasn't actually
1961 checking the language set.
1963 Mon Aug 26 13:37:23 PDT 2002 keithp
1964 + Append a version number to cache filenames
1966 Thu Aug 22 11:36:18 PDT 2002 keithp
1968 + Add "contains" and "not_contains" operators and elements to
1971 + Changed semantics of eq operator for LangSets to check for
1972 FcLangEqual so that any match will do
1974 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1975 of FcValueEqual to check for identical values when inserting into
1976 the results. This broke when the above semantic change was made,
1977 now it uses FcValueEqual which is "more correct" in any case.
1979 Thu Aug 22 00:32:29 PDT 2002 keithp
1981 + Reimplement FC_LANG as new datatype. Lists of strings
1982 was consuming over a megabyte of memory for 401 fonts.
1984 + Freeze patterns loaded from cache files. This shares
1985 common value lists and common patterns which saves
1986 considerable memory.
1988 + Change the denotation of 'constant' charsets to use special
1989 ref value instead of separate boolean.
1991 + Clean up leak tracing stuff, found several unannoted alloc/free
1994 Tue Aug 20 16:17:37 PDT 2002 keithp
1996 + Fix memory leak when parsing matrices from XML
1998 Mon Aug 19 11:57:27 PDT 2002 keithp
2000 + Fix autoconf files to pass FONTCONFIG_PATH on
2001 compile line so that ${prefix} gets substituted
2004 + Use getc_unlocked/putc_unlocked on systems that
2005 provide them to avoid damage done to stdio by posix
2007 + Eliminate FC_PATTERN and FcTypePattern in favor of
2008 an extended api for FcConfigSubstitute which takes
2009 both the font and the pattern.
2011 + Add 'sans serif' alias for 'sans-serif' as some apps
2012 can't handle hyphens in family names
2014 + Eliminate pretense of support for libxml2
2016 + Comment origins of Han orthographies
2018 Tue Jul 30 18:37:09 PDT 2002 keithp
2020 + Add binding property to edit element so that strong
2021 binding values may be inserted by the config file.
2022 The default remains weak.
2024 Sun 28 Jul 04:16:55 PDT 2002 keithp
2026 + Tagged release candidate 1 in the CVS tree and
2027 placed fcpackage.rc1.tar.gz for distribution
2029 Thu Aug 1 08:55:08 PDT 2002 keithp
2031 + Fixed autoconf builds to always specify install
2032 target files (for BSD). Also fixed to
2033 define FONTCONFIG_PATH in config.h so that
2034 nonstandard installs will actually work.