1 2005-11-19 Matthias Clasen <mclasen@redhat.com>
5 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
8 Get rid of the use of freetype internal headers in fcfreetype.c,
9 since those headers will go away with freetype 2.2. Replace with
10 public domain ftglue code from pango. Note that the patch removes
11 some extra error checking in FT_Get_BDF_Property() and comments
12 out the skipping of empty pcf fonts.
14 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
17 * fc-lang/fc-lang.c (main):
19 Further fix of patch from 2005-11-04: miscounted numbers count
20 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
21 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
23 Removed leafidx_count and numbers_count since they are the same
24 and replaced them with offset_count.
26 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
29 * fc-cat/fc-cat.c (main):
31 Don't crash when fc-cat invoked with no arguments.
33 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
36 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
38 Fix invalid read access caused by premature free and
39 GCC4 warnings in libxml2 codepath.
41 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
44 * src/fccfg.c (FcConfigValues):
46 List iteration not needed in FcConfigValues, since it's building
47 up the list itself; we can just strip FcVoid elements during
50 2005-11-17 Patrick Lam <plam@mit.edu>
51 * src/fccfg.c (FcConfigValues):
53 Fix crash on invalid constants in config files (forgot to update
54 a pointer upon list iteration.)
56 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
59 * src/fcxml.c (FcTypecheckExpr):
61 Complain about invalid constants in config files.
63 2005-11-17 Andreas Schwab <schwab@suse.de>
66 * src/fccache.c (FcGlobalCacheSave):
68 Don't add current_arch_start more than once.
70 2005-11-16 Patrick Lam <plam@mit.edu>
71 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
72 * src/fcfs.c (FcFontSetUnserialize):
73 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
74 * src/fcpat.c (FcStrUnserialize):
76 Fix ordering of ALIGN with respect to saving block_ptr; add
77 another ALIGN to fcfs.c.
79 2005-11-16 Patrick Lam <plam@mit.edu>
80 * src/fccache.c (FcDirCacheProduce)
82 Fix case where alignment bytes bumped up metadata->count
83 causing unwarranted failures to write cache files.
84 (Reported by Stephan Kulow).
86 2005-11-16 Patrick Lam <plam@mit.edu>
87 * src/fccache.c (FcDirCacheProduce):
88 * src/fccharset.c (FcCharSetDistributeBytes):
89 * src/fcfs.c (FcFontSetDistributeBytes):
91 * src/fclang.c (FcLangSetDistributeBytes):
92 * src/fcname.c (FcObjectDistributeBytes):
93 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
96 Add *NeededBytesAlign(), which overestimates the padding which is
97 later added by the new ALIGN macro. Fix alignment problems on
98 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
99 version by Andreas Schwab).
101 2005-11-16 Stephan Kulow <coolo@kde.org>
106 Use sysconf to determine proper PAGESIZE value; this
107 appears to be POSIX-compliant. (reported by Andreas Schwab)
109 2005-11-04 Patrick Lam <plam@mit.edu>
115 Fix bug 2878 (excessive relocations at startup for charsets,
116 reported by Ross Burton): fc-lang/fc-lang now creates the
117 static form of the langset, not the dynamic form, so that
118 the charsets should now be in .rodata.
120 2005-11-04 Patrick Lam <plam@mit.edu>
121 * src/fcdir.c (FcDirScanConfig):
123 Add test for validity of directory caches that
124 somehow got lost (reported by make distcheck).
126 2005-11-04 Patrick Lam <plam@mit.edu>
130 * fontconfig/fontconfig.h:
132 Bump version to 2.3.92.
134 2005-11-02 Patrick Lam <plam@mit.edu>
135 * src/fcpat.c (FcPatternDuplicate):
137 Fix argument ordering problem in call to FcPatternTransferFullFname.
139 2005-11-02 Patrick Lam <plam@mit.edu>
140 * src/fcfreetype.c (FcFreetypeQuery):
141 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
142 FcPatternTransferFullFname):
144 Fix warnings and embarrassing double-free error.
146 2005-11-02 Zhe Su <zsu@novell.com>
151 Change the rule for artificial emboldening in fonts.conf.in. This
152 enables the support for artificial emboldening included in cairo.
154 2005-11-02 Patrick Lam <plam@mit.edu>
155 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
157 Don't zero out full names for FC_REF_CONSTANT fonts;
158 also, duplicate full names when transferring, and free
159 full names when freeing the associated font.
160 Reported by Jinghua Luo.
162 2005-11-02 Patrick Lam <plam@mit.edu>
163 * fc-cache/fc-cache.c (scanDirs):
164 * src/fcpat.c (FcValueListSerialize):
166 Revert the previous patch and commit the correct patch:
167 I forgot a canonicalization in FcValueListSerialize, so
168 that it would choke on already-serialized input files. Duh!
170 2005-11-02 Patrick Lam <plam@mit.edu>
171 * fc-cache/fc-cache.c (scanDirs):
173 Forcibly rescan a directory before writing a fresh local
174 cache file for that directory, fixing the losing-fonts
175 problem reported by Mike Fabian and also apparently the
176 font cache file corruption.
178 2005-11-02 Patrick Lam <plam@mit.edu>
179 * src/fccache.c (FcGlobalCacheLoad):
181 Fix thinko: actually, the whole global cache is stale
182 if the global cache is older than the (newest) config file.
184 2005-11-02 Patrick Lam <plam@mit.edu>
185 * src/fccache.c (FcGlobalCacheLoad):
186 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
189 Declare the global cache of a directory's contents to be stale if
190 the directory is newer than the (newest) configuration file.
192 2005-10-31 Patrick Lam <plam@mit.edu>
194 * src/fclist.c (FcListAppend):
195 * src/fcmatch.c (FcFontRenderPrepare):
196 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
197 FcPatternFreeze, FcPatternBaseFreeze):
199 Copy the full pathname whenever duplicating an FcPattern; otherwise,
200 applications continue breaking.
202 2005-10-31 Patrick Lam <plam@mit.edu>
203 * fc-cat/fc-cat.c (FcCacheFileRead, main):
204 * src/fcfreetype.c (FcFreeTypeQuery):
206 Fix small memory error (tried to free argv); use basename and
207 dirname correctly (they can modify their arguments).
209 2005-10-31 Patrick Lam <plam@mit.edu>
217 Reinstate basename patch, but keep a hash table linking FcPatterns
218 to their fully-qualified font names for clients' benefit. Clients
219 only pay for the font names once they request the FC_FILE property
220 from an FcPattern, but the font name is malloc'd at that point (i.e.
221 not mmapped: that's impossible, since it may vary between machines.)
222 Clients do have to pay for a copy of the path name per cache file.
224 Note that FcPatternGetString now does some rewriting if you ask
225 for an FC_FILE, appending the pathname as appropriate.
227 2005-10-31 Patrick Lam <plam@mit.edu>
228 * src/fcfreetype.c (FcFreeTypeQuery):
230 Revert basename patch, which breaks fontconfig clients on my system.
232 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
235 * fontconfig/fonts.conf.in:
236 * fontconfig/fontconfig.h:
240 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
241 to load embedded bitmaps or not.
243 2005-10-25 Patrick Lam <plam@mit.edu>
244 * src/fcfreetype.c (FcFreeTypeQuery):
246 Only add basename to patterns' FC_FILE element, not any part of
249 2005-10-22 Patrick Lam <plam@mit.edu>
252 Add some more consts, fixing more GCC4 warnings.
254 2005-10-22 Zhe Su <zsu@novell.com>
257 Support localized font family and style names.
258 This has been reported to break old apps like xfd, but modern
259 (gtk+/qt/mozilla) apps work fine.
261 2005-10-21 Patrick Lam <plam@mit.edu>
262 * src/fccache.c (FcGlobalCacheLoad):
264 Destroy the global cache file if it's terminally broken. (reported by
267 2005-10-21 Patrick Lam <plam@mit.edu>
268 * fc-list/fc-list.c (main):
269 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
270 * fontconfig/fontconfig.h:
272 Prevent fc-list from escaping strings when printing them (reported by
275 2005-10-20 Marcus Meissner <meissner@suse.de>
278 * fontconfig/fontconfig.h:
280 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
282 2005-10-14 Ross Burton <ross@burtonini.com>
285 * fc-glyphname/fc-glyphname.c:
288 Add consts to variables so as to move arrays into .rodata.
290 2005-10-14 Mike Fabian <mfabian@suse.de>
293 * src/fccache.c (FcDirCacheUnlink):
295 Check existence of directory cache file before attempting to unlink.
297 2005-10-13 Patrick Lam <plam@mit.edu>
298 * src/fccache.c (FcDirCacheUnlink):
300 Fix flipped return value on unlink. (Reported by Mike Fabian)
302 2005-10-12 Patrick Lam <plam@mit.edu>
305 * src/fcdir.c (FcDirScanConfig):
308 When fc-cache is run without --force, use directory cache files
309 to speed up fc-cache run time. (Reported by Mike Fabian)
311 2005-10-06 Patrick Lam <plam@mit.edu>
313 * src/fcname.c (FcObjectToPtr):
314 * src/fcpat.c (FcStrStaticName):
316 Add padding to make valgrind and glibc not hate each other
317 when calling strlen().
319 2005-10-05 Simos Xenitellis <simos74@gmx.net>
320 reviewed by: plam & keithp
324 Modify config file to use Greek fonts before Asian fonts with
327 2005-10-05 Christian Biesinger <cbiesinger@web.de>
328 reviewed by: plam & keithp
332 Use libtool -no-undefined flag on all platforms.
334 2005-10-05 Patrick Lam <plam@mit.edu>
335 * src/fccache.c (FcCacheHaveBank):
337 Implement move-to-front array for banks (perf regression
338 reported by Ronny V. Vindenes).
340 2005-10-04 Patrick Lam <plam@mit.edu>
341 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
342 FcDirCacheHasCurrentArch):
343 * fc-cache/fc-cache.c (scanDirs):
344 * fontconfig/fontconfig.h:
346 Add new API which unlinks directory caches and checks dir caches
347 for existence of appropriate sections. Fix fc-cache to unlink
348 stale cache files and save directory caches that lack relevant
351 2005-10-03 Patrick Lam <plam@mit.edu>
352 * src/fccache.c (FcDirCacheValid):
354 Ensure that a directory cache has the appropriate section
355 before reporting that it is valid (reported by Matthias Clasen).
357 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
365 Use libxml2 if requested (with --enable-libxml2) or if
366 expat is not available.
368 2005-09-29 Patrick Lam <plam@mit.edu>
369 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
371 Fix multi-arch cache files: compute the position for the
372 block to be added using info from OrigFile, not NewFile.
374 2005-09-28 Patrick Lam <plam@mit.edu>
375 * src/fccache.c (FcCacheMachineSignature):
377 Cast results of sizeof() to unsigned int to get rid of
378 warnings on x86_64 (thanks Matthias Clasen).
380 2005-09-27 Patrick Lam <plam@mit.edu>
381 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
384 Use FcAtomic to rewrite cache files.
386 2005-09-27 Patrick Lam <plam@mit.edu>
388 * src/fccache.c (FcDirCacheWrite):
390 Don't unlink the fonts.cache-2 file even if there's no data
391 to write; just write an empty cache file. (thanks Lubos Lunak)
393 2005-09-27 Patrick Lam <plam@mit.edu>
395 * src/fccache.c (FcDirCacheWrite):
397 Allocate room for the subdirectory names in each
398 directory cache. Thanks to James Cloos for finding
399 and diagnosing this bug!
401 2005-09-22 Patrick Lam <plam@mit.edu>
403 * fc-cache/fc-cache.sgml:
404 * src/fccache.c (FcDirCacheWrite):
405 * src/fccache.h (struct FcCache):
407 Update documentation -- fc-cache's man page now says that you
408 need to run fc-cache once per cached architecture; add some
409 documentation to the FcCache structure.
411 Make fc-cache write out fonts.cache-2 files for directories with
412 no fonts (i.e. only subdirectories).
414 2005-09-22 Patrick Lam <plam@mit.edu>
416 * fc-cache/fc-cache.sgml:
418 * fc-glyphname/fc-glyphname.c:
424 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
429 * fontconfig/fcprivate.h:
430 * fontconfig/fontconfig.h:
444 Implement new mmaped cache for font information.
445 Bump so revision to 2.3.90.
447 2005-07-25 Keith Packard <keithp@keithp.com>
449 * doc/fontconfig-user.sgml:
450 * fc-glyphname/fc-glyphname.c: (scan), (main):
451 * fc-lang/fc-lang.c: (FcConfigHome):
452 * fc-match/fc-match.c: (main):
453 * src/fccfg.c: (FcConfigHome):
454 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
455 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
456 (addtag), (FcFontCapabilities):
457 * src/fcpat.c: (FcValueListEntCreate):
458 * src/fcstr.c: (FcStrCaseWalkerInit):
459 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
461 Various GCC 4 cleanups for signed vs unsigned char
463 Match only [0-9]*.conf files in <include>{directory}</include>
464 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
466 2005-07-15 Carl Worth <cworth@cworth.org>
469 * src/fcinit.c: (FcFini):
470 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
473 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
474 Pull the FcObjectStateName hash table out to file scope, and add
475 FcObjectStaticNameFini so that FcFini will cleanup this hash table
478 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
481 2005-06-16 Patrick Lam <plam@MIT.EDU>
485 * src/fccfg.c: (FcConfigCompareValue):
486 Make FcOpNotContains use FcStrStr for strings so that
487 it matches semantics for !FcOpContains.
489 2005-05-20 Keith Packard <keithp@keithp.com>
493 Move fontconfig source package to libs as per override
495 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
497 reviewed by: Mike Fabian
500 The ka.orth file requires several characters which are not
501 used anymore in modern Georgian and which are missing in the free
502 Georgian TrueType fonts downloadable at:
504 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
506 2005-04-27 Keith Packard <keithp@keithp.com>
510 Update date to real 2.3.2 release date.
511 Fix change attributions
513 2005-04-27 Keith Packard <keithp@keithp.com>
516 Bump so revision for 2.3.2
517 * fc-cache/fc-cache.c: (scanDirs):
518 Fix a few minor leaks in error cases.
520 2005-04-23 Keith Packard <keithp@keithp.com>
525 * fontconfig/fontconfig.h:
526 Update for version 2.3.2
528 2005-04-21 Keith Packard <keithp@keithp.com>
530 * debian/fontconfig.postinst:
531 Don't force bitmap font enable in default
532 configuration; allows users to override this in
542 * debian/po/pt_BR.po:
543 * debian/po/templates.pot:
545 * debian/po/zh_CN.po:
548 * fc-cache/fc-cache.c: (main):
549 Destroy font configuration on exit to help valgrind
552 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
553 (FcFreeTypeCheckGlyph):
554 Use own transcoding routines in preference to iconv
555 which appears to have leaks in some translators.
556 Call iconv_close after using iconv (oops).
558 Prefer unicode encoding of Euro char as some
559 fonts mis-encode Euro in other ones.
561 Must fetch bitmap glyphs to get width values
562 to check for monospace/dual-width fonts.
564 2005-04-13 Ross Burton <ross@burtonini.com>
567 Check that a pattern isn't already frozen in FcPatternFreeze.
569 2005-03-31 Ross Burton <ross@burtonini.com>
574 Run all FcPattern objects through FcObjectStaticName, so that
575 compares can be done on pointers instead of strings (#2659)
577 2005-03-17 Tor Lillqvist <tml@novell.com>
579 * src/fontconfig.def.in: Add the .dll to the dll name.
581 2005-03-10 Keith Packard <keithp@keithp.com>
583 * debian/README.Debian:
584 Update to reflect configuration changes
586 * debian/fontconfig.postinst:
587 Fix Autohint vs Autohinter mistake
588 * debian/fontconfig.templates:
589 Adopt changes from Josselin Mouette for configuration descriptions
590 Update debian to version 2.3.1-2
592 2005-03-08 Keith Packard <keithp@keithp.com>
596 Update debian for 2.3.1
598 2005-03-09 Tor Lillqvist <tml@novell.com>
600 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
603 * src/fccfg.c (FcConfigFileExists): Check also drive letter
606 2005-03-08 Keith Packard <keithp@keithp.com>
610 * fontconfig/fontconfig.h:
613 2005-03-05 Keith Packard <keithp@keithp.com>
615 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
616 Include space and remove numbers from valid script tags.
617 This ensures that tags like 'lao ' work while rejecting
618 those which have any digits.
619 Eliminate a spurious debugging variable (len)
621 2005-03-05 Keith Packard <keithp@keithp.com>
623 * src/fcfreetype.c: (addtag), (GetScriptTags),
624 (FcFontCapabilities):
625 Rework GSUB/GPOS script parsing to survive broken fonts.
626 Thanks for the broken font go to Manish Singh
628 2005-03-05 Keith Packard <keithp@keithp.com>
633 * debian/fontconfig.config:
634 * debian/fontconfig.templates:
636 Include 2.3 release information in changelog
637 Add Josselin Mouette as an Uploader
638 Set hinting_type to low priority configuration option
641 * debian/fontconfig.postinst:
642 yes_bitmaps.conf -> yes-bitmaps.conf
648 2005-03-02 Keith Packard <keithp@keithp.com>
651 * conf.d/Makefile.am:
652 * conf.d/autohint.conf:
653 * conf.d/no-sub-pixel.conf:
654 * conf.d/sub-pixel.conf:
655 * conf.d/unhinted.conf:
656 * debian/autohint.conf:
657 * debian/fontconfig.install:
658 * debian/fontconfig.postinst:
659 * debian/fontconfig.templates:
660 * debian/no-sub-pixel.conf:
661 * debian/unhinted.conf:
662 Move debian-specific conf file examples upstream.
664 Sub-pixel configuration examples must smash subpixel value
665 as Xft always sets it from X.
667 Change sub-pixel rendering debconf descriptions from
668 Enable/Disable to Always/Never.
670 2005-03-02 Keith Packard <keithp@keithp.com>
675 Ignore more build detritus
678 Add debian package construction stuff.
680 * config/config.guess:
682 Update to newer versions of these tools
685 Get library manuals to build again (we love automake).
687 * debian/README.Debian:
688 * debian/autohint.conf:
693 * debian/fontconfig-udeb.install:
694 * debian/fontconfig.config:
695 * debian/fontconfig.defoma:
696 * debian/fontconfig.dirs:
697 * debian/fontconfig.install:
698 * debian/fontconfig.postinst:
699 * debian/fontconfig.postrm:
700 * debian/fontconfig.templates:
701 * debian/libfontconfig1-dev.install:
702 * debian/libfontconfig1.install:
703 * debian/local.conf.md5sum:
704 * debian/no-sub-pixel.conf:
705 * debian/po/POTFILES.in:
714 * debian/po/pt_BR.po:
715 * debian/po/templates.pot:
717 * debian/po/zh_CN.po:
719 * debian/unhinted.conf:
720 Update debian build system to switch maintainers and
721 deal with 2.3 functionality
723 2005-03-01 Keith Packard <keithp@keithp.com>
727 * fontconfig/fontconfig.h:
730 2005-03-01 Keith Packard <keithp@keithp.com>
733 Generate and install PDF versions of the manuals
735 * doc/fcpattern.fncs:
739 Add missing exported functions, fix data types
741 * doc/fontconfig-devel.sgml:
742 Add missing pattern elements.
744 * doc/fontconfig-user.sgml:
745 Add missing pattern elements. Document conf.d usage,
746 clarify available orthography list. Fix some config file
747 attributes. Complete list of constants.
749 * fontconfig/fontconfig.h:
750 Mark FC_SOURCE deprecated.
752 * src/fcfreetype.c: (FcFreeTypeQuery):
753 Don't set FC_SOURCE any longer.
755 2005-02-28 Keith Packard <keithp@keithp.com>
758 * conf.d/Makefile.am:
760 * conf.d/no-bitmaps.conf:
761 * conf.d/sub-pixel.conf:
762 * conf.d/yes-bitmaps.conf:
764 Create prototype /etc/fonts/conf.d directory with a few
765 sample configuration files.
766 Deprecate use of local.conf for local customizations in favor of
767 this directory based scheme which is more easily integrated into
768 installation systems.
771 Tag FC_EMBOLDEN as a boolean variable
773 2005-02-10 Keith Packard <keithp@keithp.com>
775 reviewed by: pborelli@katamail.com
777 * src/fcdir.c: (FcFileScanConfig):
778 Free patterns from fonts which are rejected by configuration
781 2005-01-28 Keith Packard <keithp@keithp.com>
785 * fontconfig/fontconfig.h:
786 Update for version 2.2.99
788 2005-01-28 Keith Packard <keithp@keithp.com>
791 Add a few pointers (#2284, #2285)
793 2005-01-28 Keith Packard <keithp@keithp.com>
796 * src/fcname.c: (FcNameBool):
797 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
798 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
799 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
800 Polite typechecking for test and edit expressions. Helps
801 catch errors in the font configuration. (bug 229)
803 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
805 reviewed by: Keith Packard <keithp@keithp.com>
808 Have --with-expat set EXPAT_CFLAGS (bug 2278)
810 2005-01-13 Keith Packard <keithp@keithp.com>
812 * doc/fontconfig-user.sgml:
813 Add SEE ALSO section (bug 2085)
815 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
817 reviewed by: Keith Packard <keithp@keithp.com>
822 * fc-case/Makefile.am:
823 * fc-glyphname/Makefile.am:
824 * fc-lang/Makefile.am:
825 * src/fontconfig.def.in:
826 Cross compiling fixes (bug 280)
828 2005-01-13 Keith Packard <keithp@keithp.com>
831 Update blanks list (Closes bug 86)
833 2005-01-04 Keith Packard <keithp@keithp.com>
835 * src/fccache.c: (FcCacheFontSetAdd):
836 Verify that every font pattern loaded from cache has
837 both FC_FILE and FC_FAMILY entries.
838 Attempt to fix bug #2219.
840 2004-12-29 Keith Packard <keithp@keithp.com>
844 * fontconfig/fontconfig.h:
845 Update for version 2.2.98
847 2004-12-29 Keith Packard <keithp@keithp.com>
849 * fontconfig/fontconfig.h:
850 Document ASCII limitations of Fc character conversion macros
851 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
852 Fix off-by-one error in utf-8 case walking code.
853 Add FcStrDowncase (useful for testing case conversion functions)
855 2004-12-29 Keith Packard <keithp@keithp.com>
858 * fc-case/.cvsignore:
859 clean up CVS ignore lists
860 * fc-lang/iso-3166.txt:
861 Add territory database
863 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
865 Reviewed by: Keith Packard
868 Remove Han characters from Korean orthography
870 2004-12-29 Keith Packard <keithp@keithp.com>
873 Reorder utility programs to make sure fc-case is run before fc-lang
874 as fc-lang uses fcstr.c which uses fccase.h
878 2004-12-29 Keith Packard <keithp@keithp.com>
881 Adopt some RedHat suggestions for standard font configuration.
885 * fc-case/CaseFolding.txt:
886 * fc-case/Makefile.am:
887 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
888 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
889 (dump), (parseRaw), (caseFoldReadRaw), (main):
890 * fc-case/fccase.tmpl.h:
891 Add new helper program 'fc-case' to construct case folding
892 tables from standard Unicode CaseFolding.txt file
895 * src/fclist.c: (FcListValueHash):
896 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
897 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
898 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
899 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
900 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
901 Re-implement case insensitive functions with Unicode
902 aware versions (including full case folding mappings)
904 2004-12-13 Keith Packard <keithp@keithp.com>
906 reviewed by: Owen Taylor <otaylor@redhat.com>
908 * src/fcmatch.c: (FcFontSetSort):
909 I changed FcFontSetSort to respect the generic aliases better
910 in the face of language matching.
912 What I did was to ammend the strict sort order used by FcFontSort so
913 that it 'satisfies' the language specified in the pattern by locating
914 the best matching font supporting each pattern language and then
915 ignores language in the remaining fonts for purposes of matching.
917 So, when asking for 'sans:lang=en', you'll get an English font first,
918 and then the remaining fonts sorted with respect to the 'sans' alias
919 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
921 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
923 reviewed by: Keith Packard <keithp@keithp.com>
925 * fontconfig/fontconfig.h:
928 Configuration changes to request synthetic emboldening of
929 fonts. The actual emboldening code will live in Xft.
931 2004-12-09 John Thacker <thacker@math.cornell.edu>
933 reviewed by: Keith Packard <keithp@keithp.com>
937 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
938 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
939 и), and don't even appear in KOI8-R. (The hypothesis that they
940 don't appear in KOI8-R due to their similarity with Latin I and i is
941 eliminated by their presence in KOI8-U.) I have a couple of fonts
942 with Russian support that don't have the letter.
944 Therefore, 0406 and 0456 should be removed from or commented out of
947 2004-12-06 michael meeks <mmeeks@novell.com>
949 Reviewed by: Keith Packard <keithp@keithp.com>
951 * src/fcinit.c: (FcMemReport):
953 * src/fclist.c: (FcObjectSetAdd):
954 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
955 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
956 * src/fcxml.c: (FcParsePatelt):
957 memoize strings and share a single copy for all uses. Note that
958 this could be improved further by using statically allocated blocks
959 and gluing multiple strings together, but I'm basically lazy.
960 In my environment with 800 font files, I get a savings of about 90KB.
962 2004-12-06 Keith Packard <keithp@keithp.com>
966 * config/Makedefs.in:
971 * doc/fccharset.fncs:
973 * doc/fcconstant.fncs:
975 * doc/fcfontset.fncs:
976 * doc/fcfreetype.fncs:
979 * doc/fcobjectset.fncs:
980 * doc/fcobjecttype.fncs:
981 * doc/fcpattern.fncs:
985 * doc/fontconfig-devel.sgml:
986 * doc/fontconfig-user.sgml:
988 * doc/version.sgml.in:
989 * fc-cache/Makefile.am:
990 * fc-cache/fc-cache.c:
991 * fc-glyphname/Makefile.am:
992 * fc-glyphname/fc-glyphname.c:
993 * fc-glyphname/fcglyphname.tmpl.h:
994 * fc-lang/Makefile.am:
1004 * fc-lang/az_ir.orth:
1038 * fc-lang/fc-lang.c:
1039 * fc-lang/fc-lang.man:
1040 * fc-lang/fclang.tmpl.h:
1085 * fc-lang/ku_ir.orth:
1118 * fc-lang/ps_af.orth:
1119 * fc-lang/ps_pk.orth:
1148 * fc-lang/ti_er.orth:
1149 * fc-lang/ti_et.orth:
1175 * fc-lang/zh_cn.orth:
1176 * fc-lang/zh_hk.orth:
1177 * fc-lang/zh_mo.orth:
1178 * fc-lang/zh_sg.orth:
1179 * fc-lang/zh_tw.orth:
1181 * fc-list/Makefile.am:
1182 * fc-list/fc-list.c:
1183 * fc-match/Makefile.am:
1184 * fc-match/fc-match.1:
1185 * fc-match/fc-match.c:
1186 * fontconfig/fcfreetype.h:
1187 * fontconfig/fcprivate.h:
1188 * fontconfig/fontconfig.h:
1209 Change files from ISO-Latin-1 to UTF-8
1211 2004-12-04 Keith Packard <keithp@keithp.com>
1214 Update links to new freedesktop.org locations
1216 Add uninstall-local to get rid of fonts.conf and local.conf if they
1217 match the distributed versions. Fixes 'make distcheck'
1219 2004-12-04 Keith Packard <keithp@keithp.com>
1223 * fontconfig/fontconfig.h:
1224 Updates for version 2.2.97
1226 2004-12-04 Owen Taylor <otaylor@redhat.com>
1228 reviewed by: Keith Packard <keithp@keithp.com>
1230 * fc-cache/fc-cache.c: (main):
1231 Sleep for two seconds before exiting to make sure timestamps
1232 for future changes have distinct mod times in the file system.
1235 Add Punjabi orthography. Bug #1671.
1237 2004-12-04 Keith Packard <keithp@keithp.com>
1240 Just remove the FC_FONTDATE -- it has locale issues and
1241 annoys redhat multi-arch installs. Now that all X fonts are
1242 included without prejudice, the chances of the date being at
1243 all interesting are rather limited. Bug #505.
1245 Add copyright and license
1247 2004-12-04 Keith Packard <keithp@keithp.com>
1250 Change default set of fonts to include all of
1251 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1252 * doc/fontconfig-user.sgml:
1253 Document new <include>directory-name</include> semantics
1255 add <include ignore_missing="yes">conf.d</include>
1257 Add selectfont to ignore bitmap fonts, add comment for
1258 selectfont which accepts bitmap fonts.
1261 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1262 Allow <include> configuration elements to reference directories.
1263 Parse and load all files of the form [0-9]* in sorted order.
1265 2004-12-04 Keith Packard <keithp@keithp.com>
1268 Report command line for $srcdir/configure accurately.
1271 2004-12-04 Keith Packard <keithp@keithp.com>
1273 * src/fcfreetype.c: (FcFreeTypeQuery):
1274 Check for non-empty face->family_name and face->style_name
1275 before using those for the font. Empty names match everything.
1278 2004-12-04 Keith Packard <keithp@keithp.com>
1281 * fontconfig/fontconfig.h:
1282 * src/fcfreetype.c: (FcFreeTypeQuery):
1284 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1285 available. This provides font file format information (BDF, Type 1,
1286 PCF, TrueType) for each font. Closes #109.
1288 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1290 reviewed by: Keith Packard <keithp@keithp.com>
1292 * doc/fontconfig-user.sgml:
1295 * fontconfig/fontconfig.h:
1296 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1297 (GetScriptTags), (FcFontCapabilities):
1299 Add detection for font capabilities (bug #105)
1301 2004-12-04 Keith Packard <keithp@keithp.com>
1304 Move existing fonts.conf to fonts.conf.bak
1307 Add detection of iconv
1309 * doc/fcpattern.fncs:
1310 * doc/fontconfig-devel.sgml:
1311 * doc/fontconfig-user.sgml:
1313 Document new selectfont elements
1316 Switch to UTF-8 in comment
1318 * fontconfig/fontconfig.h:
1320 Add fullname, and family/style/fullname language entries
1322 * src/fccache.c: (FcCacheFontSetAdd):
1323 * src/fcdir.c: (FcFileScanConfig):
1324 Respect selectfont/*/glob
1327 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1328 (FcConfigCompareValue), (FcConfigPatternsAdd),
1329 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1330 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1331 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1332 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1333 Add support for selectfont
1335 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1336 (FcStringInPatternElement), (FcFreeTypeQuery):
1337 Add multi-lingual family/style/fullname support
1339 * src/fclist.c: (FcListPatternMatchAny):
1340 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1342 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1343 (FcObjectStaticName):
1344 Add new FcPatternRemove/FcPatternAppend.
1345 FcObjectStaticName stores computed pattern element names which
1346 are required to be static.
1348 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1353 Remove spurious / after $(DESTDIR)
1355 2004-06-30 Keith Packard <keithp@keithp.com>
1359 * fontconfig/fontconfig.h:
1362 2004-06-30 Keith Packard <keithp@keithp.com>
1364 Provided by: Lubos Lunak <l.lunak@suse.cz>
1366 * src/fccfg.c: (FcConfigUptoDate):
1367 However FcConfigUptoDate() doesn't seem to work. See the attached
1368 patch. First there's an obvious misplaced parenthesis making it
1369 return always false, and second, even this call fails to detect font
1370 changes (e.g. adding a new font to
1371 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1372 well. The problem seems to be triggered by my fonts.conf specifying
1373 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1374 doesn't include subdirs, unlike config->fontDirs.
1376 2004-06-03 Keith Packard <keithp@keithp.com>
1378 * fontconfig/fontconfig.h:
1379 Remove comma at end of FcResult enum definition.
1381 2004-05-29 Keith Packard <keithp@keithp.com>
1384 Add steps to md5sum release
1386 2004-05-29 Keith Packard <keithp@keithp.com>
1390 * fontconfig/fontconfig.h:
1393 2004-05-29 Keith Packard <keithp@keithp.com>
1395 * fontconfig/fontconfig.h:
1396 * src/fcmatch.c: (FcFontSetMatch):
1397 Add FcResultOutOfMemory to provide an accurate error when
1398 FcFontSetMatch fails in this way
1401 Make #warning about lacking various FreeType features indicate
1402 which version those features appeared so users know how to
1403 fix the problem (Thanks to Anton Tropashko)
1405 2004-05-05 Keith Packard <keithp@keithp.com>
1407 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1408 Replace MIN/MAX/ABS macros which happen to have come
1409 from FreeType with fontconfig-specific ones (FC_*)
1411 2004-04-23 Keith Packard <keithp@keithp.com>
1414 Extend release preparation instructions to include
1415 notification and distribution steps
1417 2004-04-23 Keith Packard <keithp@keithp.com>
1421 * fontconfig/fontconfig.h:
1422 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1424 2004-04-23 Keith Packard <keithp@keithp.com>
1427 Ignore a few more autotool files
1429 2004-04-14 Keith Packard <keithp@keithp.com>
1432 Add instructions for doing a release
1434 * fontconfig.spec.in:
1435 clean up .spec file; perhaps this will be useful to somebody...
1439 * fontconfig/fontconfig.h:
1442 * fc-lang/fc-lang.c:
1443 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1445 * fc-glyphname/Makefile.am:
1446 * fc-lang/Makefile.am:
1447 * fc-list/Makefile.am:
1448 * fc-match/Makefile.am:
1450 Add WARN_CFLAGS to pass -W flags for GCC systems
1452 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1453 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1454 Change various char types around to match across
1456 Fixed bug in using available_sizes[i].height which
1457 is in pixels, not 64ths of a pixel.
1459 2004-03-06 Keith Packard <keithp@keithp.com>
1461 * src/fcfreetype.c: (FcFreeTypeQuery):
1462 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1463 matches looking for explicit values prefer exact matches
1465 2004-03-02 Keith Packard <keithp@keithp.com>
1467 Supplied by: mfabian@suse.de (Mike FABIAN)
1469 * src/fcfreetype.c: (FcFreeTypeQuery):
1470 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1471 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1473 2004-02-21 Manish Singh <yosh@gimp.org>
1475 * fc-glyphname/fc-glyphname.c: (main):
1476 Cast strlen to int for printf, so we're 64-bit clean.
1478 2004-02-11 Keith Packard <keithp@keithp.com>
1481 * src/fcfreetype.c: (FcGetPixelSize):
1482 Ok, so I messed up the test for y_ppem. Let's see if I
1483 got it right this time.
1485 2004-02-10 Keith Packard <keithp@keithp.com>
1488 * src/fcfreetype.c: (FcGetPixelSize):
1489 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1490 FT_Bitmap_Size record. Add a configure.in test for this
1491 and change the code accordingly (using height instead).
1493 2004-02-06 Keith Packard <keithp@keithp.com>
1496 Add Low Saxon orthography
1497 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1499 * src/fccfg.c: (FcConfigNewestFile):
1500 Oops. Left 'newest.set' unset, which would miscompute
1503 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1504 (FcFreeTypeCheckGlyph):
1505 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1506 font properties (which report the wrong value in current FreeType)
1508 Don't attempt to check for empty glyphs in non-scalable fonts; they
1511 2004-02-01 Tor Lillqvist <tml@iki.fi>
1513 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1514 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1515 cache if config->cache is NULL, which happens if FcConfigHome() is
1516 NULL. Guard against that by using the temp folder in that case.
1518 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1520 * fc-lang/az_ir.orth:
1521 * fc-lang/ku_ir.orth:
1522 * fc-lang/ps_af.orth:
1523 * fc-lang/ps_pk.orth:
1524 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1525 (Afghan and Pakistani).
1527 Updated Urdu orthography with real data.
1529 2003-12-11 Carl Worth <cworth@east.isi.edu>
1531 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1534 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1536 (all-local): Remove excessive whitespace.
1538 * autogen.sh: Add 'set -e' to abort when any program fails,
1539 (avoids printing of 'now type make' after configure aborts).
1541 2003-11-17 Eric Christopherson <rakko@charter.net>
1543 reviewed by: Keith Packard <keithp@keithp.com>
1546 * fontconfig/fcfreetype.h:
1548 Switch to FreeType 2.1.7 style includes. Bug #150.
1550 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1552 * fc-list/fc-list.sgml: Add some example usages.
1554 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1557 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1560 2003-10-27 Keith Packard <keith@keithp.com>
1563 * fontconfig/fontconfig.h:
1564 Update to version 2.2.92
1566 2003-10-27 Keith Packard <keithp@keithp.com>
1571 * fc-cache/Makefile.am:
1572 * fc-glyphname/Makefile.am:
1573 * fc-lang/Makefile.am:
1574 * fc-list/Makefile.am:
1575 * fc-match/Makefile.am:
1578 Yet more cleanups to finish getting 'make distcheck' working
1579 This has been tested to ensure that it even works from a _build
1582 2003-10-26 Keith Packard <keithp@keithp.com>
1586 * fc-cache/Makefile.am:
1587 * fc-glyphname/Makefile.am:
1588 * fc-lang/Makefile.am:
1589 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1590 * fc-list/Makefile.am:
1591 * fc-match/Makefile.am:
1592 Attempts to fix 'make distcheck' work. Things are
1593 progressing pretty well, but there are still failures
1594 long into the process dealing with docs (as always).
1596 The big changes here are mostly to make $(srcdir) != "."
1597 work correctly, fixing the docbook related sections and
1598 fc-lang were particularily tricky. Docbook refuses to load
1599 system entities from anywhere other than where the original .sgml
1600 file was located, so no luck looking in "." for the
1601 configure-generated version.sgml and confdir.sgml files.
1603 fc-lang needed help finding .orth files; added a -d option
1604 to set the directory as the least evil of many options.
1606 Now to go use a faster machine and try and wring out the last
1609 2003-10-26 Keith Packard <keithp@keithp.com>
1613 2003-10-26 Keith Packard <keithp@keithp.com>
1616 Include confdir.sgml.in in EXTRA_DIST
1618 2003-10-09 Josselin Mouette <joss@debian.org>
1620 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1621 * fc-list/fc-list.sgml fc-list/Makefile.am:
1622 Replace fc-cache and fc-list manpages with more detailed, SGML
1625 2003-09-23 Owen Taylor <otaylor@redhat.com>
1627 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1628 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1629 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1632 2003-09-23 Owen Taylor <otaylor@redhat.com>
1634 * fc-lang/ka.orth: Remove Georgian capitals, they
1635 aren't used for normal writing. (Bug #116)
1637 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1639 * doc/fontconfig-devel.sgml:
1640 * doc/fontconfig-user.sgml:
1641 * fontconfig/fontconfig.h:
1643 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1644 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1646 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1647 monospace and dual-width fonts, allow roughly a 3% variance in the
1650 2003-08-31 Manish Singh <yosh@gimp.org>
1652 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1655 2003-08-15 Carl Worth <cworth@isi.edu>
1657 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1658 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1660 * src/fcpat.c (FcValueListEntDestroy): New function to support
1661 FcFini memory cleanup. Some statistics are not kept in
1663 (FcValueListFreeze): Move hashTable outside this function so it
1664 can be accessed by FcValueListThawAll.
1665 (FcValueListThawAll): New function complements FcValueListFreeze.
1666 (FcPatternBaseFreeze): Move hashTable outside this function so it
1667 can be accessed by FcPatternBaseThawAll.
1668 (FcPatternBaseThawAll): New function complements
1669 FcPatternBaseFreeze.
1670 (FcPatternThawAll): New function complements FcPatternFreeze.
1672 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1674 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1675 allocated FcCharLeafEnt "blocks" so they can be freed later.
1676 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1677 can be accessed by FcCharSetThawAllLeaf.
1678 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1679 (FcCharSetFreezeBase): Move hashTable outside this function so it
1680 can be accessed by FcCharSetThawAll.
1681 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1683 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1684 (FcConfigDestroy): Fic leak of FcBlanks.
1686 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1687 (main): Add call to FcFini when finished.
1689 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1690 static. Add prototypes.
1692 * doc/fcinit.fncs: Add documentation for FcFini function.
1694 * doc/edit-sgml.c: Mark several local functions as static. Add
1697 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1699 2003-06-15 Tor Lillqvist <tml@iki.fi>
1701 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1702 before comparing (needed on Windows).
1704 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1706 2003-06-13 Tor Lillqvist <tml@iki.fi>
1708 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1711 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1712 WINDOWSFONTDIR token.
1714 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1715 end, not to confuse libtool, which expects the EXPORTS line to be
1716 the first. Add FcConfigEnableHome.
1718 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1719 built as a DLL on Win32.
1721 2003-06-09 Keith Packard <keithp@keithp.com>
1723 * Tag version 2.2.90
1725 2003-06-09 Keith Packard <keithp@keithp.com>
1727 * Optimization in FcLangSetIndex was broken, occasionally
1728 returning a pointer to the wrong location on miss
1730 * Add fc-match to test font matching from the command line.
1732 2003-05-31 Keith Packard <keithp@keithp.com>
1734 * (Bug 85) add support for culmus fonts
1735 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1736 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1738 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1740 * Fix "contains" op for strings and langsets.
1742 2003-05-17 Keith Packard <keithp@keithp.com>
1744 * Fix build error with BDF prop local. Free langset after query
1746 2003-05-14 Keith Packard <keithp@keithp.com>
1748 * Extract spacing from XLFD atom
1750 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1752 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1753 disappeared in 1.30.
1755 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1757 2003-05-12 Keith Packard <keithp@keithp.com>
1759 * Use FcIsWidth to share code
1761 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1762 misclassifying some Han fonts as monospaced.
1764 2003-05-07 Keith Packard <keithp@keithp.com>
1766 * Add filename-based accept/reject to ammend available fonts.
1768 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1769 older FreeType releases.
1771 2003-05-06 Keith Packard <keithp@keithp.com>
1773 * Remove 0b82 and Tamil numbers from tamil
1774 orthography (Jungshik Shin <jshin@mailaps.org>)
1776 2003-05-04 Keith Packard <keithp@keithp.com>
1778 + Map glyph names in fonts with adobe custom encoding to unicode
1780 2003-05-02 Keith Packard <keithp@keithp.com>
1782 * Add FC_WEIGHT_BOOK as weight 75
1784 2003-04-30 Keith Packard <keithp@keithp.com>
1786 * Typo in bitstream foundry name
1788 2003-04-24 Keith Packard <keithp@keithp.com>
1790 * Eliminate italic_angle check for PS fonts
1792 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1794 * Getting closer to fixing /etc/fonts hard-coding.
1796 2003-04-22 Keith Packard <keithp@keithp.com>
1798 * Update autogen.sh to work with newer automake versions
1799 * Handle pattern elements moving during multiple edits
1801 2003-04-23 James Henstridge <james@daa.com.au>
1803 * doc/fontconfig-devel.sgml: close the <para> element.
1805 * doc/fcpattern.fncs: close the <para> element.
1807 * doc/func.sgml: close the <refsynopsisdiv> element.
1809 2003-04-22 Keith Packard <keithp@keithp.com
1811 * Update autogen.sh to work with newer automake versions
1812 * Handle pattern elements moving during multiple edits
1814 2003-04-17 Colin Walters <walters@debian.org>
1816 + Remove some unused variables, and initialize some other ones so
1817 gcc doesn't warn us.
1819 2003-04-16 Keith Packard <keithp@keithp.com>
1821 + tag version 2.1.94
1823 2003-04-16 Keith Packard <keithp@keithp.com>
1825 + add BDF property fetching support for foundry
1826 (from Juliusz Chroboczek)
1827 + add BDF property fetching support for width
1829 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1831 + Implemented foundry generation for Type 1 and TrueType
1833 2003-04-11 Gerard Escalante <g2@magestudios.net>
1835 + Retrieve information from Type1 FontInfo dictionaries
1837 2003-04-07 Colin Walters <walters@verbum.org>
1839 + src/Makefile.am: Fix dummy makefile target names when
1840 MS_LIB_AVAILABLE isn't set.
1842 2003-03-22 Tor Lillqvist <tml@iki.fi>
1844 Changes for Windows:
1846 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1848 + We don't want to hardcode the fonts.conf file location in the
1849 DLL, so we look up the DLL location at run-time in a DllMain()
1850 function. The fonts.conf location is deduced from that.
1852 + The colon can't be used as path separator on Windows,
1853 semicolon is used instead. File path components can be separated
1854 with either slash or backslash. Absolute paths can also begin
1855 with a drive letter.
1857 + Add internal function FcStrLastSlash that strrchr's the last
1858 slash, or backslash on Windows.
1860 + There is no link() on Windows. For atomicity checks, mkdir a
1861 lock directory instead.
1863 + In addition to HOME, also look for USERPROFILE.
1865 + Recognize the special font directory token WINDOWSFONTDIR, to
1866 use the system's font directory.
1868 + Remove the fontconfig-def.cpp that was obsolete. Add
1869 fontconfig.def(.in), without internal functions.
1871 + Add a fontconfig-zip(.in) script, used to build a binary
1874 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1875 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1876 to main package and man3/* to devel package
1878 + Added missing defattr(-, root, root) to main RPM package
1880 + Added HTML and text development documentation to -devel subpackage
1882 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1883 + Added back the configure macro options --disable-docs, otherwise
1884 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1885 version number) unconditionally, causing RPM to fail the build due
1886 to _unpackaged_files_terminate_build. We pick up the pregenerated
1887 docs with %doc already.
1889 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1890 + Removed commented out rpm macro define at top of spec file,
1891 replacing it with a simple explanation, since rpm macros are
1892 expanded by rpm even in comments.
1894 + Changed /usr/bin to _bindir in BuildRequires lines
1896 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1898 + Reorganized file manifest lists
1900 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1902 + fontconfig.spec.in: Improvements from Red Hat spec file.
1904 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1906 + docs/*.sgml: SGML fixes.
1908 Sat Mar 1 17:28:53 PST 2003 keithp
1909 + Ok, so the ChangeLog is a bit out of date
1911 + Lots of bugs fixed; most are in bugzilla, the
1912 biggest problems were in cache management where
1913 Owen discovered the library would lose badly when
1914 combining fonts-cache and ~/.fonts-cache data
1916 + Converted from autoconf to automake. This after
1917 getting patches accepted into libtool to allow
1918 the '-version-number' argument which lets
1919 packages set version numbers explicitly rather
1920 than the roundabout libtool way
1922 + Converted documentation to SGML using the docbook
1923 DTD. Now .txt and .html documents are installed
1924 in /usr/share/doc/fontconfig and there's no
1925 man page. Perhaps a man version can be written
1928 Sat Aug 31 15:21:22 PDT 2002 keithp
1929 + Xrender and Xft had several bugs related to
1930 rendering manually placed or poly-face text
1932 + Added more complete memory tracing in fontconfig
1933 Checked with (patched) mozilla and found no leaks
1935 + Updated Latin orthographies by comparing those from
1936 evertype.com with those from eki.ee. Tried to make
1937 sensible choices, including chars that occured in both
1938 and leaving some optional chars out that occured only
1941 Mon Aug 26 16:33:04 PDT 2002 keithp
1942 + Owen discovered that FcLangSetHasLang wasn't actually
1943 checking the language set.
1945 Mon Aug 26 13:37:23 PDT 2002 keithp
1946 + Append a version number to cache filenames
1948 Thu Aug 22 11:36:18 PDT 2002 keithp
1950 + Add "contains" and "not_contains" operators and elements to
1953 + Changed semantics of eq operator for LangSets to check for
1954 FcLangEqual so that any match will do
1956 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1957 of FcValueEqual to check for identical values when inserting into
1958 the results. This broke when the above semantic change was made,
1959 now it uses FcValueEqual which is "more correct" in any case.
1961 Thu Aug 22 00:32:29 PDT 2002 keithp
1963 + Reimplement FC_LANG as new datatype. Lists of strings
1964 was consuming over a megabyte of memory for 401 fonts.
1966 + Freeze patterns loaded from cache files. This shares
1967 common value lists and common patterns which saves
1968 considerable memory.
1970 + Change the denotation of 'constant' charsets to use special
1971 ref value instead of separate boolean.
1973 + Clean up leak tracing stuff, found several unannoted alloc/free
1976 Tue Aug 20 16:17:37 PDT 2002 keithp
1978 + Fix memory leak when parsing matrices from XML
1980 Mon Aug 19 11:57:27 PDT 2002 keithp
1982 + Fix autoconf files to pass FONTCONFIG_PATH on
1983 compile line so that ${prefix} gets substituted
1986 + Use getc_unlocked/putc_unlocked on systems that
1987 provide them to avoid damage done to stdio by posix
1989 + Eliminate FC_PATTERN and FcTypePattern in favor of
1990 an extended api for FcConfigSubstitute which takes
1991 both the font and the pattern.
1993 + Add 'sans serif' alias for 'sans-serif' as some apps
1994 can't handle hyphens in family names
1996 + Eliminate pretense of support for libxml2
1998 + Comment origins of Han orthographies
2000 Tue Jul 30 18:37:09 PDT 2002 keithp
2002 + Add binding property to edit element so that strong
2003 binding values may be inserted by the config file.
2004 The default remains weak.
2006 Sun 28 Jul 04:16:55 PDT 2002 keithp
2008 + Tagged release candidate 1 in the CVS tree and
2009 placed fcpackage.rc1.tar.gz for distribution
2011 Thu Aug 1 08:55:08 PDT 2002 keithp
2013 + Fixed autoconf builds to always specify install
2014 target files (for BSD). Also fixed to
2015 define FONTCONFIG_PATH in config.h so that
2016 nonstandard installs will actually work.