1 2005-11-26 Dirk Mueller <dmueller@suse.com>
4 * src/fcmatch.c (FcCompareValueList):
8 2005-11-25 Patrick Lam <plam@mit.edu>
9 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
11 Don't do random matching when bad objects are passed into
14 2005-11-25 Patrick Lam <plam@mit.edu>
16 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
17 FcPatternSerialize, FcPatternUnserialize,
18 FcValueListEnsureBank, FcValueListDistributeBytes,
19 FcValueListUnserialize):
21 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
22 _fcPatternElts, _fcValueLists for consistency.
24 2005-11-25 Dirk Mueller <dmueller@suse.com>
29 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
31 2005-11-25 Patrick Lam <plam@mit.edu>
33 * src/fccache.c (FcDirCacheConsume):
34 * src/fccharset.c (FcCharSetUnserialize):
35 * src/fcfs.c (FcFontSetUnserialize):
36 * src/fclang.c (FcLangSetUnserialize):
37 * src/fcname.c (FcObjectUnserialize):
38 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
39 FcPatternUnserialize):
41 Pass around FcCache *s to the Unserialize functions for extra
42 consistency (and less overhead, for what that's worth).
44 2005-11-24 Dirk Mueller <dmueller@suse.com>
48 * src/fcmatch.c (FcCompare*, FcFontSetSort):
49 * src/fcname.c (FcNameUnparseValue):
51 Inline the *PtrU functions to gain perf.
52 Remove unneeded params for the FcCompare* functions.
54 2005-11-24 Dirk Mueller <dmueller@suse.com>
57 * src/fcint.h, fontconfig/fontconfig.h:
59 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
61 * src/fcpat.c, src/fcint.h, src/fcname.c:
63 Check for type validity during FcPatternAddWithBinding, don't
64 verify type in FcFontMatch, don't call FcCanonicalize here
65 (which always does a deep copy).
67 2005-11-24 Dirk Mueller <dmueller@suse.com>
70 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
71 * src/fcpat.c (FcPatternAddWithBinding):
73 Make FcCompareString and FcCompareFamily less expensive.
74 Only add a value for FC_FAMILY if the proposed value is a string.
76 2005-11-24 Dirk Mueller <dmueller@suse.com>
79 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
80 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
81 * src/fcint.h (FcDebug):
83 Inline FcDebug invocations and only initialize once, in FcInit*.
84 Improve debug msg in FcPatternPrint.
86 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
89 * fontconfig/fontconfig.h:
92 Minor code warning cleanups.
94 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
97 * fc-match/fc-match.c (main):
99 Make getopt_long accept -s parameter to fc-match as well.
101 2005-11-21 Dirk Mueller <dmueller@suse.com>
104 * src/fcmatch.c (FcCompareValueList):
106 Manually perform inlining & partial redundancy elimination to
107 reduce calls to FcValueListPtrU.
109 2005-11-21 Dirk Mueller <dmueller@suse.com>
112 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
113 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
115 Only invoke strlen() when really necessary.
117 2005-11-19 Matthias Clasen <mclasen@redhat.com>
121 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
126 Get rid of the use of freetype internal headers in fcfreetype.c,
127 since those headers will go away with freetype 2.2. Replace with
128 public domain ftglue code from pango. Note that the patch removes
129 some extra error checking in FT_Get_BDF_Property() and comments
130 out the skipping of empty pcf fonts.
132 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
135 * fc-lang/fc-lang.c (main):
137 Further fix of patch from 2005-11-04: miscounted numbers count
138 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
139 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
141 Removed leafidx_count and numbers_count since they are the same
142 and replaced them with offset_count.
144 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
147 * fc-cat/fc-cat.c (main):
149 Don't crash when fc-cat invoked with no arguments.
151 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
154 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
156 Fix invalid read access caused by premature free and
157 GCC4 warnings in libxml2 codepath.
159 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
162 * src/fccfg.c (FcConfigValues):
164 List iteration not needed in FcConfigValues, since it's building
165 up the list itself; we can just strip FcVoid elements during
168 2005-11-17 Patrick Lam <plam@mit.edu>
169 * src/fccfg.c (FcConfigValues):
171 Fix crash on invalid constants in config files (forgot to update
172 a pointer upon list iteration.)
174 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
177 * src/fcxml.c (FcTypecheckExpr):
179 Complain about invalid constants in config files.
181 2005-11-17 Andreas Schwab <schwab@suse.de>
184 * src/fccache.c (FcGlobalCacheSave):
186 Don't add current_arch_start more than once.
188 2005-11-16 Patrick Lam <plam@mit.edu>
189 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
190 * src/fcfs.c (FcFontSetUnserialize):
191 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
192 * src/fcpat.c (FcStrUnserialize):
194 Fix ordering of ALIGN with respect to saving block_ptr; add
195 another ALIGN to fcfs.c.
197 2005-11-16 Patrick Lam <plam@mit.edu>
198 * src/fccache.c (FcDirCacheProduce)
200 Fix case where alignment bytes bumped up metadata->count
201 causing unwarranted failures to write cache files.
202 (Reported by Stephan Kulow).
204 2005-11-16 Patrick Lam <plam@mit.edu>
205 * src/fccache.c (FcDirCacheProduce):
206 * src/fccharset.c (FcCharSetDistributeBytes):
207 * src/fcfs.c (FcFontSetDistributeBytes):
209 * src/fclang.c (FcLangSetDistributeBytes):
210 * src/fcname.c (FcObjectDistributeBytes):
211 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
214 Add *NeededBytesAlign(), which overestimates the padding which is
215 later added by the new ALIGN macro. Fix alignment problems on
216 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
217 version by Andreas Schwab).
219 2005-11-16 Stephan Kulow <coolo@kde.org>
224 Use sysconf to determine proper PAGESIZE value; this
225 appears to be POSIX-compliant. (reported by Andreas Schwab)
227 2005-11-04 Patrick Lam <plam@mit.edu>
233 Fix bug 2878 (excessive relocations at startup for charsets,
234 reported by Ross Burton): fc-lang/fc-lang now creates the
235 static form of the langset, not the dynamic form, so that
236 the charsets should now be in .rodata.
238 2005-11-04 Patrick Lam <plam@mit.edu>
239 * src/fcdir.c (FcDirScanConfig):
241 Add test for validity of directory caches that
242 somehow got lost (reported by make distcheck).
244 2005-11-04 Patrick Lam <plam@mit.edu>
248 * fontconfig/fontconfig.h:
250 Bump version to 2.3.92.
252 2005-11-02 Patrick Lam <plam@mit.edu>
253 * src/fcpat.c (FcPatternDuplicate):
255 Fix argument ordering problem in call to FcPatternTransferFullFname.
257 2005-11-02 Patrick Lam <plam@mit.edu>
258 * src/fcfreetype.c (FcFreetypeQuery):
259 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
260 FcPatternTransferFullFname):
262 Fix warnings and embarrassing double-free error.
264 2005-11-02 Zhe Su <zsu@novell.com>
269 Change the rule for artificial emboldening in fonts.conf.in. This
270 enables the support for artificial emboldening included in cairo.
272 2005-11-02 Patrick Lam <plam@mit.edu>
273 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
275 Don't zero out full names for FC_REF_CONSTANT fonts;
276 also, duplicate full names when transferring, and free
277 full names when freeing the associated font.
278 Reported by Jinghua Luo.
280 2005-11-02 Patrick Lam <plam@mit.edu>
281 * fc-cache/fc-cache.c (scanDirs):
282 * src/fcpat.c (FcValueListSerialize):
284 Revert the previous patch and commit the correct patch:
285 I forgot a canonicalization in FcValueListSerialize, so
286 that it would choke on already-serialized input files. Duh!
288 2005-11-02 Patrick Lam <plam@mit.edu>
289 * fc-cache/fc-cache.c (scanDirs):
291 Forcibly rescan a directory before writing a fresh local
292 cache file for that directory, fixing the losing-fonts
293 problem reported by Mike Fabian and also apparently the
294 font cache file corruption.
296 2005-11-02 Patrick Lam <plam@mit.edu>
297 * src/fccache.c (FcGlobalCacheLoad):
299 Fix thinko: actually, the whole global cache is stale
300 if the global cache is older than the (newest) config file.
302 2005-11-02 Patrick Lam <plam@mit.edu>
303 * src/fccache.c (FcGlobalCacheLoad):
304 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
307 Declare the global cache of a directory's contents to be stale if
308 the directory is newer than the (newest) configuration file.
310 2005-10-31 Patrick Lam <plam@mit.edu>
312 * src/fclist.c (FcListAppend):
313 * src/fcmatch.c (FcFontRenderPrepare):
314 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
315 FcPatternFreeze, FcPatternBaseFreeze):
317 Copy the full pathname whenever duplicating an FcPattern; otherwise,
318 applications continue breaking.
320 2005-10-31 Patrick Lam <plam@mit.edu>
321 * fc-cat/fc-cat.c (FcCacheFileRead, main):
322 * src/fcfreetype.c (FcFreeTypeQuery):
324 Fix small memory error (tried to free argv); use basename and
325 dirname correctly (they can modify their arguments).
327 2005-10-31 Patrick Lam <plam@mit.edu>
335 Reinstate basename patch, but keep a hash table linking FcPatterns
336 to their fully-qualified font names for clients' benefit. Clients
337 only pay for the font names once they request the FC_FILE property
338 from an FcPattern, but the font name is malloc'd at that point (i.e.
339 not mmapped: that's impossible, since it may vary between machines.)
340 Clients do have to pay for a copy of the path name per cache file.
342 Note that FcPatternGetString now does some rewriting if you ask
343 for an FC_FILE, appending the pathname as appropriate.
345 2005-10-31 Patrick Lam <plam@mit.edu>
346 * src/fcfreetype.c (FcFreeTypeQuery):
348 Revert basename patch, which breaks fontconfig clients on my system.
350 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
353 * fontconfig/fonts.conf.in:
354 * fontconfig/fontconfig.h:
358 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
359 to load embedded bitmaps or not.
361 2005-10-25 Patrick Lam <plam@mit.edu>
362 * src/fcfreetype.c (FcFreeTypeQuery):
364 Only add basename to patterns' FC_FILE element, not any part of
367 2005-10-22 Patrick Lam <plam@mit.edu>
370 Add some more consts, fixing more GCC4 warnings.
372 2005-10-22 Zhe Su <zsu@novell.com>
375 Support localized font family and style names.
376 This has been reported to break old apps like xfd, but modern
377 (gtk+/qt/mozilla) apps work fine.
379 2005-10-21 Patrick Lam <plam@mit.edu>
380 * src/fccache.c (FcGlobalCacheLoad):
382 Destroy the global cache file if it's terminally broken. (reported by
385 2005-10-21 Patrick Lam <plam@mit.edu>
386 * fc-list/fc-list.c (main):
387 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
388 * fontconfig/fontconfig.h:
390 Prevent fc-list from escaping strings when printing them (reported by
393 2005-10-20 Marcus Meissner <meissner@suse.de>
396 * fontconfig/fontconfig.h:
398 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
400 2005-10-14 Ross Burton <ross@burtonini.com>
403 * fc-glyphname/fc-glyphname.c:
406 Add consts to variables so as to move arrays into .rodata.
408 2005-10-14 Mike Fabian <mfabian@suse.de>
411 * src/fccache.c (FcDirCacheUnlink):
413 Check existence of directory cache file before attempting to unlink.
415 2005-10-13 Patrick Lam <plam@mit.edu>
416 * src/fccache.c (FcDirCacheUnlink):
418 Fix flipped return value on unlink. (Reported by Mike Fabian)
420 2005-10-12 Patrick Lam <plam@mit.edu>
423 * src/fcdir.c (FcDirScanConfig):
426 When fc-cache is run without --force, use directory cache files
427 to speed up fc-cache run time. (Reported by Mike Fabian)
429 2005-10-06 Patrick Lam <plam@mit.edu>
431 * src/fcname.c (FcObjectToPtr):
432 * src/fcpat.c (FcStrStaticName):
434 Add padding to make valgrind and glibc not hate each other
435 when calling strlen().
437 2005-10-05 Simos Xenitellis <simos74@gmx.net>
438 reviewed by: plam & keithp
442 Modify config file to use Greek fonts before Asian fonts with
445 2005-10-05 Christian Biesinger <cbiesinger@web.de>
446 reviewed by: plam & keithp
450 Use libtool -no-undefined flag on all platforms.
452 2005-10-05 Patrick Lam <plam@mit.edu>
453 * src/fccache.c (FcCacheHaveBank):
455 Implement move-to-front array for banks (perf regression
456 reported by Ronny V. Vindenes).
458 2005-10-04 Patrick Lam <plam@mit.edu>
459 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
460 FcDirCacheHasCurrentArch):
461 * fc-cache/fc-cache.c (scanDirs):
462 * fontconfig/fontconfig.h:
464 Add new API which unlinks directory caches and checks dir caches
465 for existence of appropriate sections. Fix fc-cache to unlink
466 stale cache files and save directory caches that lack relevant
469 2005-10-03 Patrick Lam <plam@mit.edu>
470 * src/fccache.c (FcDirCacheValid):
472 Ensure that a directory cache has the appropriate section
473 before reporting that it is valid (reported by Matthias Clasen).
475 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
483 Use libxml2 if requested (with --enable-libxml2) or if
484 expat is not available.
486 2005-09-29 Patrick Lam <plam@mit.edu>
487 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
489 Fix multi-arch cache files: compute the position for the
490 block to be added using info from OrigFile, not NewFile.
492 2005-09-28 Patrick Lam <plam@mit.edu>
493 * src/fccache.c (FcCacheMachineSignature):
495 Cast results of sizeof() to unsigned int to get rid of
496 warnings on x86_64 (thanks Matthias Clasen).
498 2005-09-27 Patrick Lam <plam@mit.edu>
499 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
502 Use FcAtomic to rewrite cache files.
504 2005-09-27 Patrick Lam <plam@mit.edu>
506 * src/fccache.c (FcDirCacheWrite):
508 Don't unlink the fonts.cache-2 file even if there's no data
509 to write; just write an empty cache file. (thanks Lubos Lunak)
511 2005-09-27 Patrick Lam <plam@mit.edu>
513 * src/fccache.c (FcDirCacheWrite):
515 Allocate room for the subdirectory names in each
516 directory cache. Thanks to James Cloos for finding
517 and diagnosing this bug!
519 2005-09-22 Patrick Lam <plam@mit.edu>
521 * fc-cache/fc-cache.sgml:
522 * src/fccache.c (FcDirCacheWrite):
523 * src/fccache.h (struct FcCache):
525 Update documentation -- fc-cache's man page now says that you
526 need to run fc-cache once per cached architecture; add some
527 documentation to the FcCache structure.
529 Make fc-cache write out fonts.cache-2 files for directories with
530 no fonts (i.e. only subdirectories).
532 2005-09-22 Patrick Lam <plam@mit.edu>
534 * fc-cache/fc-cache.sgml:
536 * fc-glyphname/fc-glyphname.c:
542 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
547 * fontconfig/fcprivate.h:
548 * fontconfig/fontconfig.h:
562 Implement new mmaped cache for font information.
563 Bump so revision to 2.3.90.
565 2005-07-25 Keith Packard <keithp@keithp.com>
567 * doc/fontconfig-user.sgml:
568 * fc-glyphname/fc-glyphname.c: (scan), (main):
569 * fc-lang/fc-lang.c: (FcConfigHome):
570 * fc-match/fc-match.c: (main):
571 * src/fccfg.c: (FcConfigHome):
572 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
573 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
574 (addtag), (FcFontCapabilities):
575 * src/fcpat.c: (FcValueListEntCreate):
576 * src/fcstr.c: (FcStrCaseWalkerInit):
577 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
579 Various GCC 4 cleanups for signed vs unsigned char
581 Match only [0-9]*.conf files in <include>{directory}</include>
582 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
584 2005-07-15 Carl Worth <cworth@cworth.org>
587 * src/fcinit.c: (FcFini):
588 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
591 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
592 Pull the FcObjectStateName hash table out to file scope, and add
593 FcObjectStaticNameFini so that FcFini will cleanup this hash table
596 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
599 2005-06-16 Patrick Lam <plam@MIT.EDU>
603 * src/fccfg.c: (FcConfigCompareValue):
604 Make FcOpNotContains use FcStrStr for strings so that
605 it matches semantics for !FcOpContains.
607 2005-05-20 Keith Packard <keithp@keithp.com>
611 Move fontconfig source package to libs as per override
613 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
615 reviewed by: Mike Fabian
618 The ka.orth file requires several characters which are not
619 used anymore in modern Georgian and which are missing in the free
620 Georgian TrueType fonts downloadable at:
622 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
624 2005-04-27 Keith Packard <keithp@keithp.com>
628 Update date to real 2.3.2 release date.
629 Fix change attributions
631 2005-04-27 Keith Packard <keithp@keithp.com>
634 Bump so revision for 2.3.2
635 * fc-cache/fc-cache.c: (scanDirs):
636 Fix a few minor leaks in error cases.
638 2005-04-23 Keith Packard <keithp@keithp.com>
643 * fontconfig/fontconfig.h:
644 Update for version 2.3.2
646 2005-04-21 Keith Packard <keithp@keithp.com>
648 * debian/fontconfig.postinst:
649 Don't force bitmap font enable in default
650 configuration; allows users to override this in
660 * debian/po/pt_BR.po:
661 * debian/po/templates.pot:
663 * debian/po/zh_CN.po:
666 * fc-cache/fc-cache.c: (main):
667 Destroy font configuration on exit to help valgrind
670 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
671 (FcFreeTypeCheckGlyph):
672 Use own transcoding routines in preference to iconv
673 which appears to have leaks in some translators.
674 Call iconv_close after using iconv (oops).
676 Prefer unicode encoding of Euro char as some
677 fonts mis-encode Euro in other ones.
679 Must fetch bitmap glyphs to get width values
680 to check for monospace/dual-width fonts.
682 2005-04-13 Ross Burton <ross@burtonini.com>
685 Check that a pattern isn't already frozen in FcPatternFreeze.
687 2005-03-31 Ross Burton <ross@burtonini.com>
692 Run all FcPattern objects through FcObjectStaticName, so that
693 compares can be done on pointers instead of strings (#2659)
695 2005-03-17 Tor Lillqvist <tml@novell.com>
697 * src/fontconfig.def.in: Add the .dll to the dll name.
699 2005-03-10 Keith Packard <keithp@keithp.com>
701 * debian/README.Debian:
702 Update to reflect configuration changes
704 * debian/fontconfig.postinst:
705 Fix Autohint vs Autohinter mistake
706 * debian/fontconfig.templates:
707 Adopt changes from Josselin Mouette for configuration descriptions
708 Update debian to version 2.3.1-2
710 2005-03-08 Keith Packard <keithp@keithp.com>
714 Update debian for 2.3.1
716 2005-03-09 Tor Lillqvist <tml@novell.com>
718 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
721 * src/fccfg.c (FcConfigFileExists): Check also drive letter
724 2005-03-08 Keith Packard <keithp@keithp.com>
728 * fontconfig/fontconfig.h:
731 2005-03-05 Keith Packard <keithp@keithp.com>
733 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
734 Include space and remove numbers from valid script tags.
735 This ensures that tags like 'lao ' work while rejecting
736 those which have any digits.
737 Eliminate a spurious debugging variable (len)
739 2005-03-05 Keith Packard <keithp@keithp.com>
741 * src/fcfreetype.c: (addtag), (GetScriptTags),
742 (FcFontCapabilities):
743 Rework GSUB/GPOS script parsing to survive broken fonts.
744 Thanks for the broken font go to Manish Singh
746 2005-03-05 Keith Packard <keithp@keithp.com>
751 * debian/fontconfig.config:
752 * debian/fontconfig.templates:
754 Include 2.3 release information in changelog
755 Add Josselin Mouette as an Uploader
756 Set hinting_type to low priority configuration option
759 * debian/fontconfig.postinst:
760 yes_bitmaps.conf -> yes-bitmaps.conf
766 2005-03-02 Keith Packard <keithp@keithp.com>
769 * conf.d/Makefile.am:
770 * conf.d/autohint.conf:
771 * conf.d/no-sub-pixel.conf:
772 * conf.d/sub-pixel.conf:
773 * conf.d/unhinted.conf:
774 * debian/autohint.conf:
775 * debian/fontconfig.install:
776 * debian/fontconfig.postinst:
777 * debian/fontconfig.templates:
778 * debian/no-sub-pixel.conf:
779 * debian/unhinted.conf:
780 Move debian-specific conf file examples upstream.
782 Sub-pixel configuration examples must smash subpixel value
783 as Xft always sets it from X.
785 Change sub-pixel rendering debconf descriptions from
786 Enable/Disable to Always/Never.
788 2005-03-02 Keith Packard <keithp@keithp.com>
793 Ignore more build detritus
796 Add debian package construction stuff.
798 * config/config.guess:
800 Update to newer versions of these tools
803 Get library manuals to build again (we love automake).
805 * debian/README.Debian:
806 * debian/autohint.conf:
811 * debian/fontconfig-udeb.install:
812 * debian/fontconfig.config:
813 * debian/fontconfig.defoma:
814 * debian/fontconfig.dirs:
815 * debian/fontconfig.install:
816 * debian/fontconfig.postinst:
817 * debian/fontconfig.postrm:
818 * debian/fontconfig.templates:
819 * debian/libfontconfig1-dev.install:
820 * debian/libfontconfig1.install:
821 * debian/local.conf.md5sum:
822 * debian/no-sub-pixel.conf:
823 * debian/po/POTFILES.in:
832 * debian/po/pt_BR.po:
833 * debian/po/templates.pot:
835 * debian/po/zh_CN.po:
837 * debian/unhinted.conf:
838 Update debian build system to switch maintainers and
839 deal with 2.3 functionality
841 2005-03-01 Keith Packard <keithp@keithp.com>
845 * fontconfig/fontconfig.h:
848 2005-03-01 Keith Packard <keithp@keithp.com>
851 Generate and install PDF versions of the manuals
853 * doc/fcpattern.fncs:
857 Add missing exported functions, fix data types
859 * doc/fontconfig-devel.sgml:
860 Add missing pattern elements.
862 * doc/fontconfig-user.sgml:
863 Add missing pattern elements. Document conf.d usage,
864 clarify available orthography list. Fix some config file
865 attributes. Complete list of constants.
867 * fontconfig/fontconfig.h:
868 Mark FC_SOURCE deprecated.
870 * src/fcfreetype.c: (FcFreeTypeQuery):
871 Don't set FC_SOURCE any longer.
873 2005-02-28 Keith Packard <keithp@keithp.com>
876 * conf.d/Makefile.am:
878 * conf.d/no-bitmaps.conf:
879 * conf.d/sub-pixel.conf:
880 * conf.d/yes-bitmaps.conf:
882 Create prototype /etc/fonts/conf.d directory with a few
883 sample configuration files.
884 Deprecate use of local.conf for local customizations in favor of
885 this directory based scheme which is more easily integrated into
886 installation systems.
889 Tag FC_EMBOLDEN as a boolean variable
891 2005-02-10 Keith Packard <keithp@keithp.com>
893 reviewed by: pborelli@katamail.com
895 * src/fcdir.c: (FcFileScanConfig):
896 Free patterns from fonts which are rejected by configuration
899 2005-01-28 Keith Packard <keithp@keithp.com>
903 * fontconfig/fontconfig.h:
904 Update for version 2.2.99
906 2005-01-28 Keith Packard <keithp@keithp.com>
909 Add a few pointers (#2284, #2285)
911 2005-01-28 Keith Packard <keithp@keithp.com>
914 * src/fcname.c: (FcNameBool):
915 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
916 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
917 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
918 Polite typechecking for test and edit expressions. Helps
919 catch errors in the font configuration. (bug 229)
921 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
923 reviewed by: Keith Packard <keithp@keithp.com>
926 Have --with-expat set EXPAT_CFLAGS (bug 2278)
928 2005-01-13 Keith Packard <keithp@keithp.com>
930 * doc/fontconfig-user.sgml:
931 Add SEE ALSO section (bug 2085)
933 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
935 reviewed by: Keith Packard <keithp@keithp.com>
940 * fc-case/Makefile.am:
941 * fc-glyphname/Makefile.am:
942 * fc-lang/Makefile.am:
943 * src/fontconfig.def.in:
944 Cross compiling fixes (bug 280)
946 2005-01-13 Keith Packard <keithp@keithp.com>
949 Update blanks list (Closes bug 86)
951 2005-01-04 Keith Packard <keithp@keithp.com>
953 * src/fccache.c: (FcCacheFontSetAdd):
954 Verify that every font pattern loaded from cache has
955 both FC_FILE and FC_FAMILY entries.
956 Attempt to fix bug #2219.
958 2004-12-29 Keith Packard <keithp@keithp.com>
962 * fontconfig/fontconfig.h:
963 Update for version 2.2.98
965 2004-12-29 Keith Packard <keithp@keithp.com>
967 * fontconfig/fontconfig.h:
968 Document ASCII limitations of Fc character conversion macros
969 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
970 Fix off-by-one error in utf-8 case walking code.
971 Add FcStrDowncase (useful for testing case conversion functions)
973 2004-12-29 Keith Packard <keithp@keithp.com>
976 * fc-case/.cvsignore:
977 clean up CVS ignore lists
978 * fc-lang/iso-3166.txt:
979 Add territory database
981 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
983 Reviewed by: Keith Packard
986 Remove Han characters from Korean orthography
988 2004-12-29 Keith Packard <keithp@keithp.com>
991 Reorder utility programs to make sure fc-case is run before fc-lang
992 as fc-lang uses fcstr.c which uses fccase.h
996 2004-12-29 Keith Packard <keithp@keithp.com>
999 Adopt some RedHat suggestions for standard font configuration.
1003 * fc-case/CaseFolding.txt:
1004 * fc-case/Makefile.am:
1005 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1006 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1007 (dump), (parseRaw), (caseFoldReadRaw), (main):
1008 * fc-case/fccase.tmpl.h:
1009 Add new helper program 'fc-case' to construct case folding
1010 tables from standard Unicode CaseFolding.txt file
1013 * src/fclist.c: (FcListValueHash):
1014 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1015 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1016 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1017 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1018 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1019 Re-implement case insensitive functions with Unicode
1020 aware versions (including full case folding mappings)
1022 2004-12-13 Keith Packard <keithp@keithp.com>
1024 reviewed by: Owen Taylor <otaylor@redhat.com>
1026 * src/fcmatch.c: (FcFontSetSort):
1027 I changed FcFontSetSort to respect the generic aliases better
1028 in the face of language matching.
1030 What I did was to ammend the strict sort order used by FcFontSort so
1031 that it 'satisfies' the language specified in the pattern by locating
1032 the best matching font supporting each pattern language and then
1033 ignores language in the remaining fonts for purposes of matching.
1035 So, when asking for 'sans:lang=en', you'll get an English font first,
1036 and then the remaining fonts sorted with respect to the 'sans' alias
1037 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1039 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1041 reviewed by: Keith Packard <keithp@keithp.com>
1043 * fontconfig/fontconfig.h:
1046 Configuration changes to request synthetic emboldening of
1047 fonts. The actual emboldening code will live in Xft.
1049 2004-12-09 John Thacker <thacker@math.cornell.edu>
1051 reviewed by: Keith Packard <keithp@keithp.com>
1055 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1056 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1057 и), and don't even appear in KOI8-R. (The hypothesis that they
1058 don't appear in KOI8-R due to their similarity with Latin I and i is
1059 eliminated by their presence in KOI8-U.) I have a couple of fonts
1060 with Russian support that don't have the letter.
1062 Therefore, 0406 and 0456 should be removed from or commented out of
1065 2004-12-06 michael meeks <mmeeks@novell.com>
1067 Reviewed by: Keith Packard <keithp@keithp.com>
1069 * src/fcinit.c: (FcMemReport):
1071 * src/fclist.c: (FcObjectSetAdd):
1072 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1073 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1074 * src/fcxml.c: (FcParsePatelt):
1075 memoize strings and share a single copy for all uses. Note that
1076 this could be improved further by using statically allocated blocks
1077 and gluing multiple strings together, but I'm basically lazy.
1078 In my environment with 800 font files, I get a savings of about 90KB.
1080 2004-12-06 Keith Packard <keithp@keithp.com>
1084 * config/Makedefs.in:
1087 * doc/fcatomic.fncs:
1088 * doc/fcblanks.fncs:
1089 * doc/fccharset.fncs:
1090 * doc/fcconfig.fncs:
1091 * doc/fcconstant.fncs:
1093 * doc/fcfontset.fncs:
1094 * doc/fcfreetype.fncs:
1096 * doc/fcmatrix.fncs:
1097 * doc/fcobjectset.fncs:
1098 * doc/fcobjecttype.fncs:
1099 * doc/fcpattern.fncs:
1100 * doc/fcstring.fncs:
1101 * doc/fcstrset.fncs:
1103 * doc/fontconfig-devel.sgml:
1104 * doc/fontconfig-user.sgml:
1106 * doc/version.sgml.in:
1107 * fc-cache/Makefile.am:
1108 * fc-cache/fc-cache.c:
1109 * fc-glyphname/Makefile.am:
1110 * fc-glyphname/fc-glyphname.c:
1111 * fc-glyphname/fcglyphname.tmpl.h:
1112 * fc-lang/Makefile.am:
1122 * fc-lang/az_ir.orth:
1156 * fc-lang/fc-lang.c:
1157 * fc-lang/fc-lang.man:
1158 * fc-lang/fclang.tmpl.h:
1203 * fc-lang/ku_ir.orth:
1236 * fc-lang/ps_af.orth:
1237 * fc-lang/ps_pk.orth:
1266 * fc-lang/ti_er.orth:
1267 * fc-lang/ti_et.orth:
1293 * fc-lang/zh_cn.orth:
1294 * fc-lang/zh_hk.orth:
1295 * fc-lang/zh_mo.orth:
1296 * fc-lang/zh_sg.orth:
1297 * fc-lang/zh_tw.orth:
1299 * fc-list/Makefile.am:
1300 * fc-list/fc-list.c:
1301 * fc-match/Makefile.am:
1302 * fc-match/fc-match.1:
1303 * fc-match/fc-match.c:
1304 * fontconfig/fcfreetype.h:
1305 * fontconfig/fcprivate.h:
1306 * fontconfig/fontconfig.h:
1327 Change files from ISO-Latin-1 to UTF-8
1329 2004-12-04 Keith Packard <keithp@keithp.com>
1332 Update links to new freedesktop.org locations
1334 Add uninstall-local to get rid of fonts.conf and local.conf if they
1335 match the distributed versions. Fixes 'make distcheck'
1337 2004-12-04 Keith Packard <keithp@keithp.com>
1341 * fontconfig/fontconfig.h:
1342 Updates for version 2.2.97
1344 2004-12-04 Owen Taylor <otaylor@redhat.com>
1346 reviewed by: Keith Packard <keithp@keithp.com>
1348 * fc-cache/fc-cache.c: (main):
1349 Sleep for two seconds before exiting to make sure timestamps
1350 for future changes have distinct mod times in the file system.
1353 Add Punjabi orthography. Bug #1671.
1355 2004-12-04 Keith Packard <keithp@keithp.com>
1358 Just remove the FC_FONTDATE -- it has locale issues and
1359 annoys redhat multi-arch installs. Now that all X fonts are
1360 included without prejudice, the chances of the date being at
1361 all interesting are rather limited. Bug #505.
1363 Add copyright and license
1365 2004-12-04 Keith Packard <keithp@keithp.com>
1368 Change default set of fonts to include all of
1369 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1370 * doc/fontconfig-user.sgml:
1371 Document new <include>directory-name</include> semantics
1373 add <include ignore_missing="yes">conf.d</include>
1375 Add selectfont to ignore bitmap fonts, add comment for
1376 selectfont which accepts bitmap fonts.
1379 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1380 Allow <include> configuration elements to reference directories.
1381 Parse and load all files of the form [0-9]* in sorted order.
1383 2004-12-04 Keith Packard <keithp@keithp.com>
1386 Report command line for $srcdir/configure accurately.
1389 2004-12-04 Keith Packard <keithp@keithp.com>
1391 * src/fcfreetype.c: (FcFreeTypeQuery):
1392 Check for non-empty face->family_name and face->style_name
1393 before using those for the font. Empty names match everything.
1396 2004-12-04 Keith Packard <keithp@keithp.com>
1399 * fontconfig/fontconfig.h:
1400 * src/fcfreetype.c: (FcFreeTypeQuery):
1402 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1403 available. This provides font file format information (BDF, Type 1,
1404 PCF, TrueType) for each font. Closes #109.
1406 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1408 reviewed by: Keith Packard <keithp@keithp.com>
1410 * doc/fontconfig-user.sgml:
1413 * fontconfig/fontconfig.h:
1414 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1415 (GetScriptTags), (FcFontCapabilities):
1417 Add detection for font capabilities (bug #105)
1419 2004-12-04 Keith Packard <keithp@keithp.com>
1422 Move existing fonts.conf to fonts.conf.bak
1425 Add detection of iconv
1427 * doc/fcpattern.fncs:
1428 * doc/fontconfig-devel.sgml:
1429 * doc/fontconfig-user.sgml:
1431 Document new selectfont elements
1434 Switch to UTF-8 in comment
1436 * fontconfig/fontconfig.h:
1438 Add fullname, and family/style/fullname language entries
1440 * src/fccache.c: (FcCacheFontSetAdd):
1441 * src/fcdir.c: (FcFileScanConfig):
1442 Respect selectfont/*/glob
1445 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1446 (FcConfigCompareValue), (FcConfigPatternsAdd),
1447 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1448 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1449 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1450 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1451 Add support for selectfont
1453 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1454 (FcStringInPatternElement), (FcFreeTypeQuery):
1455 Add multi-lingual family/style/fullname support
1457 * src/fclist.c: (FcListPatternMatchAny):
1458 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1460 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1461 (FcObjectStaticName):
1462 Add new FcPatternRemove/FcPatternAppend.
1463 FcObjectStaticName stores computed pattern element names which
1464 are required to be static.
1466 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1471 Remove spurious / after $(DESTDIR)
1473 2004-06-30 Keith Packard <keithp@keithp.com>
1477 * fontconfig/fontconfig.h:
1480 2004-06-30 Keith Packard <keithp@keithp.com>
1482 Provided by: Lubos Lunak <l.lunak@suse.cz>
1484 * src/fccfg.c: (FcConfigUptoDate):
1485 However FcConfigUptoDate() doesn't seem to work. See the attached
1486 patch. First there's an obvious misplaced parenthesis making it
1487 return always false, and second, even this call fails to detect font
1488 changes (e.g. adding a new font to
1489 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1490 well. The problem seems to be triggered by my fonts.conf specifying
1491 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1492 doesn't include subdirs, unlike config->fontDirs.
1494 2004-06-03 Keith Packard <keithp@keithp.com>
1496 * fontconfig/fontconfig.h:
1497 Remove comma at end of FcResult enum definition.
1499 2004-05-29 Keith Packard <keithp@keithp.com>
1502 Add steps to md5sum release
1504 2004-05-29 Keith Packard <keithp@keithp.com>
1508 * fontconfig/fontconfig.h:
1511 2004-05-29 Keith Packard <keithp@keithp.com>
1513 * fontconfig/fontconfig.h:
1514 * src/fcmatch.c: (FcFontSetMatch):
1515 Add FcResultOutOfMemory to provide an accurate error when
1516 FcFontSetMatch fails in this way
1519 Make #warning about lacking various FreeType features indicate
1520 which version those features appeared so users know how to
1521 fix the problem (Thanks to Anton Tropashko)
1523 2004-05-05 Keith Packard <keithp@keithp.com>
1525 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1526 Replace MIN/MAX/ABS macros which happen to have come
1527 from FreeType with fontconfig-specific ones (FC_*)
1529 2004-04-23 Keith Packard <keithp@keithp.com>
1532 Extend release preparation instructions to include
1533 notification and distribution steps
1535 2004-04-23 Keith Packard <keithp@keithp.com>
1539 * fontconfig/fontconfig.h:
1540 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1542 2004-04-23 Keith Packard <keithp@keithp.com>
1545 Ignore a few more autotool files
1547 2004-04-14 Keith Packard <keithp@keithp.com>
1550 Add instructions for doing a release
1552 * fontconfig.spec.in:
1553 clean up .spec file; perhaps this will be useful to somebody...
1557 * fontconfig/fontconfig.h:
1560 * fc-lang/fc-lang.c:
1561 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1563 * fc-glyphname/Makefile.am:
1564 * fc-lang/Makefile.am:
1565 * fc-list/Makefile.am:
1566 * fc-match/Makefile.am:
1568 Add WARN_CFLAGS to pass -W flags for GCC systems
1570 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1571 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1572 Change various char types around to match across
1574 Fixed bug in using available_sizes[i].height which
1575 is in pixels, not 64ths of a pixel.
1577 2004-03-06 Keith Packard <keithp@keithp.com>
1579 * src/fcfreetype.c: (FcFreeTypeQuery):
1580 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1581 matches looking for explicit values prefer exact matches
1583 2004-03-02 Keith Packard <keithp@keithp.com>
1585 Supplied by: mfabian@suse.de (Mike FABIAN)
1587 * src/fcfreetype.c: (FcFreeTypeQuery):
1588 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1589 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1591 2004-02-21 Manish Singh <yosh@gimp.org>
1593 * fc-glyphname/fc-glyphname.c: (main):
1594 Cast strlen to int for printf, so we're 64-bit clean.
1596 2004-02-11 Keith Packard <keithp@keithp.com>
1599 * src/fcfreetype.c: (FcGetPixelSize):
1600 Ok, so I messed up the test for y_ppem. Let's see if I
1601 got it right this time.
1603 2004-02-10 Keith Packard <keithp@keithp.com>
1606 * src/fcfreetype.c: (FcGetPixelSize):
1607 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1608 FT_Bitmap_Size record. Add a configure.in test for this
1609 and change the code accordingly (using height instead).
1611 2004-02-06 Keith Packard <keithp@keithp.com>
1614 Add Low Saxon orthography
1615 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1617 * src/fccfg.c: (FcConfigNewestFile):
1618 Oops. Left 'newest.set' unset, which would miscompute
1621 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1622 (FcFreeTypeCheckGlyph):
1623 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1624 font properties (which report the wrong value in current FreeType)
1626 Don't attempt to check for empty glyphs in non-scalable fonts; they
1629 2004-02-01 Tor Lillqvist <tml@iki.fi>
1631 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1632 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1633 cache if config->cache is NULL, which happens if FcConfigHome() is
1634 NULL. Guard against that by using the temp folder in that case.
1636 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1638 * fc-lang/az_ir.orth:
1639 * fc-lang/ku_ir.orth:
1640 * fc-lang/ps_af.orth:
1641 * fc-lang/ps_pk.orth:
1642 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1643 (Afghan and Pakistani).
1645 Updated Urdu orthography with real data.
1647 2003-12-11 Carl Worth <cworth@east.isi.edu>
1649 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1652 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1654 (all-local): Remove excessive whitespace.
1656 * autogen.sh: Add 'set -e' to abort when any program fails,
1657 (avoids printing of 'now type make' after configure aborts).
1659 2003-11-17 Eric Christopherson <rakko@charter.net>
1661 reviewed by: Keith Packard <keithp@keithp.com>
1664 * fontconfig/fcfreetype.h:
1666 Switch to FreeType 2.1.7 style includes. Bug #150.
1668 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1670 * fc-list/fc-list.sgml: Add some example usages.
1672 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1675 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1678 2003-10-27 Keith Packard <keith@keithp.com>
1681 * fontconfig/fontconfig.h:
1682 Update to version 2.2.92
1684 2003-10-27 Keith Packard <keithp@keithp.com>
1689 * fc-cache/Makefile.am:
1690 * fc-glyphname/Makefile.am:
1691 * fc-lang/Makefile.am:
1692 * fc-list/Makefile.am:
1693 * fc-match/Makefile.am:
1696 Yet more cleanups to finish getting 'make distcheck' working
1697 This has been tested to ensure that it even works from a _build
1700 2003-10-26 Keith Packard <keithp@keithp.com>
1704 * fc-cache/Makefile.am:
1705 * fc-glyphname/Makefile.am:
1706 * fc-lang/Makefile.am:
1707 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1708 * fc-list/Makefile.am:
1709 * fc-match/Makefile.am:
1710 Attempts to fix 'make distcheck' work. Things are
1711 progressing pretty well, but there are still failures
1712 long into the process dealing with docs (as always).
1714 The big changes here are mostly to make $(srcdir) != "."
1715 work correctly, fixing the docbook related sections and
1716 fc-lang were particularily tricky. Docbook refuses to load
1717 system entities from anywhere other than where the original .sgml
1718 file was located, so no luck looking in "." for the
1719 configure-generated version.sgml and confdir.sgml files.
1721 fc-lang needed help finding .orth files; added a -d option
1722 to set the directory as the least evil of many options.
1724 Now to go use a faster machine and try and wring out the last
1727 2003-10-26 Keith Packard <keithp@keithp.com>
1731 2003-10-26 Keith Packard <keithp@keithp.com>
1734 Include confdir.sgml.in in EXTRA_DIST
1736 2003-10-09 Josselin Mouette <joss@debian.org>
1738 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1739 * fc-list/fc-list.sgml fc-list/Makefile.am:
1740 Replace fc-cache and fc-list manpages with more detailed, SGML
1743 2003-09-23 Owen Taylor <otaylor@redhat.com>
1745 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1746 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1747 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1750 2003-09-23 Owen Taylor <otaylor@redhat.com>
1752 * fc-lang/ka.orth: Remove Georgian capitals, they
1753 aren't used for normal writing. (Bug #116)
1755 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1757 * doc/fontconfig-devel.sgml:
1758 * doc/fontconfig-user.sgml:
1759 * fontconfig/fontconfig.h:
1761 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1762 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1764 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1765 monospace and dual-width fonts, allow roughly a 3% variance in the
1768 2003-08-31 Manish Singh <yosh@gimp.org>
1770 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1773 2003-08-15 Carl Worth <cworth@isi.edu>
1775 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1776 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1778 * src/fcpat.c (FcValueListEntDestroy): New function to support
1779 FcFini memory cleanup. Some statistics are not kept in
1781 (FcValueListFreeze): Move hashTable outside this function so it
1782 can be accessed by FcValueListThawAll.
1783 (FcValueListThawAll): New function complements FcValueListFreeze.
1784 (FcPatternBaseFreeze): Move hashTable outside this function so it
1785 can be accessed by FcPatternBaseThawAll.
1786 (FcPatternBaseThawAll): New function complements
1787 FcPatternBaseFreeze.
1788 (FcPatternThawAll): New function complements FcPatternFreeze.
1790 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1792 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1793 allocated FcCharLeafEnt "blocks" so they can be freed later.
1794 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1795 can be accessed by FcCharSetThawAllLeaf.
1796 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1797 (FcCharSetFreezeBase): Move hashTable outside this function so it
1798 can be accessed by FcCharSetThawAll.
1799 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1801 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1802 (FcConfigDestroy): Fic leak of FcBlanks.
1804 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1805 (main): Add call to FcFini when finished.
1807 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1808 static. Add prototypes.
1810 * doc/fcinit.fncs: Add documentation for FcFini function.
1812 * doc/edit-sgml.c: Mark several local functions as static. Add
1815 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1817 2003-06-15 Tor Lillqvist <tml@iki.fi>
1819 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1820 before comparing (needed on Windows).
1822 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1824 2003-06-13 Tor Lillqvist <tml@iki.fi>
1826 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1829 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1830 WINDOWSFONTDIR token.
1832 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1833 end, not to confuse libtool, which expects the EXPORTS line to be
1834 the first. Add FcConfigEnableHome.
1836 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1837 built as a DLL on Win32.
1839 2003-06-09 Keith Packard <keithp@keithp.com>
1841 * Tag version 2.2.90
1843 2003-06-09 Keith Packard <keithp@keithp.com>
1845 * Optimization in FcLangSetIndex was broken, occasionally
1846 returning a pointer to the wrong location on miss
1848 * Add fc-match to test font matching from the command line.
1850 2003-05-31 Keith Packard <keithp@keithp.com>
1852 * (Bug 85) add support for culmus fonts
1853 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1854 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1856 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1858 * Fix "contains" op for strings and langsets.
1860 2003-05-17 Keith Packard <keithp@keithp.com>
1862 * Fix build error with BDF prop local. Free langset after query
1864 2003-05-14 Keith Packard <keithp@keithp.com>
1866 * Extract spacing from XLFD atom
1868 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1870 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1871 disappeared in 1.30.
1873 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1875 2003-05-12 Keith Packard <keithp@keithp.com>
1877 * Use FcIsWidth to share code
1879 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1880 misclassifying some Han fonts as monospaced.
1882 2003-05-07 Keith Packard <keithp@keithp.com>
1884 * Add filename-based accept/reject to ammend available fonts.
1886 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1887 older FreeType releases.
1889 2003-05-06 Keith Packard <keithp@keithp.com>
1891 * Remove 0b82 and Tamil numbers from tamil
1892 orthography (Jungshik Shin <jshin@mailaps.org>)
1894 2003-05-04 Keith Packard <keithp@keithp.com>
1896 + Map glyph names in fonts with adobe custom encoding to unicode
1898 2003-05-02 Keith Packard <keithp@keithp.com>
1900 * Add FC_WEIGHT_BOOK as weight 75
1902 2003-04-30 Keith Packard <keithp@keithp.com>
1904 * Typo in bitstream foundry name
1906 2003-04-24 Keith Packard <keithp@keithp.com>
1908 * Eliminate italic_angle check for PS fonts
1910 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1912 * Getting closer to fixing /etc/fonts hard-coding.
1914 2003-04-22 Keith Packard <keithp@keithp.com>
1916 * Update autogen.sh to work with newer automake versions
1917 * Handle pattern elements moving during multiple edits
1919 2003-04-23 James Henstridge <james@daa.com.au>
1921 * doc/fontconfig-devel.sgml: close the <para> element.
1923 * doc/fcpattern.fncs: close the <para> element.
1925 * doc/func.sgml: close the <refsynopsisdiv> element.
1927 2003-04-22 Keith Packard <keithp@keithp.com
1929 * Update autogen.sh to work with newer automake versions
1930 * Handle pattern elements moving during multiple edits
1932 2003-04-17 Colin Walters <walters@debian.org>
1934 + Remove some unused variables, and initialize some other ones so
1935 gcc doesn't warn us.
1937 2003-04-16 Keith Packard <keithp@keithp.com>
1939 + tag version 2.1.94
1941 2003-04-16 Keith Packard <keithp@keithp.com>
1943 + add BDF property fetching support for foundry
1944 (from Juliusz Chroboczek)
1945 + add BDF property fetching support for width
1947 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1949 + Implemented foundry generation for Type 1 and TrueType
1951 2003-04-11 Gerard Escalante <g2@magestudios.net>
1953 + Retrieve information from Type1 FontInfo dictionaries
1955 2003-04-07 Colin Walters <walters@verbum.org>
1957 + src/Makefile.am: Fix dummy makefile target names when
1958 MS_LIB_AVAILABLE isn't set.
1960 2003-03-22 Tor Lillqvist <tml@iki.fi>
1962 Changes for Windows:
1964 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1966 + We don't want to hardcode the fonts.conf file location in the
1967 DLL, so we look up the DLL location at run-time in a DllMain()
1968 function. The fonts.conf location is deduced from that.
1970 + The colon can't be used as path separator on Windows,
1971 semicolon is used instead. File path components can be separated
1972 with either slash or backslash. Absolute paths can also begin
1973 with a drive letter.
1975 + Add internal function FcStrLastSlash that strrchr's the last
1976 slash, or backslash on Windows.
1978 + There is no link() on Windows. For atomicity checks, mkdir a
1979 lock directory instead.
1981 + In addition to HOME, also look for USERPROFILE.
1983 + Recognize the special font directory token WINDOWSFONTDIR, to
1984 use the system's font directory.
1986 + Remove the fontconfig-def.cpp that was obsolete. Add
1987 fontconfig.def(.in), without internal functions.
1989 + Add a fontconfig-zip(.in) script, used to build a binary
1992 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1993 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1994 to main package and man3/* to devel package
1996 + Added missing defattr(-, root, root) to main RPM package
1998 + Added HTML and text development documentation to -devel subpackage
2000 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2001 + Added back the configure macro options --disable-docs, otherwise
2002 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2003 version number) unconditionally, causing RPM to fail the build due
2004 to _unpackaged_files_terminate_build. We pick up the pregenerated
2005 docs with %doc already.
2007 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2008 + Removed commented out rpm macro define at top of spec file,
2009 replacing it with a simple explanation, since rpm macros are
2010 expanded by rpm even in comments.
2012 + Changed /usr/bin to _bindir in BuildRequires lines
2014 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2016 + Reorganized file manifest lists
2018 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2020 + fontconfig.spec.in: Improvements from Red Hat spec file.
2022 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2024 + docs/*.sgml: SGML fixes.
2026 Sat Mar 1 17:28:53 PST 2003 keithp
2027 + Ok, so the ChangeLog is a bit out of date
2029 + Lots of bugs fixed; most are in bugzilla, the
2030 biggest problems were in cache management where
2031 Owen discovered the library would lose badly when
2032 combining fonts-cache and ~/.fonts-cache data
2034 + Converted from autoconf to automake. This after
2035 getting patches accepted into libtool to allow
2036 the '-version-number' argument which lets
2037 packages set version numbers explicitly rather
2038 than the roundabout libtool way
2040 + Converted documentation to SGML using the docbook
2041 DTD. Now .txt and .html documents are installed
2042 in /usr/share/doc/fontconfig and there's no
2043 man page. Perhaps a man version can be written
2046 Sat Aug 31 15:21:22 PDT 2002 keithp
2047 + Xrender and Xft had several bugs related to
2048 rendering manually placed or poly-face text
2050 + Added more complete memory tracing in fontconfig
2051 Checked with (patched) mozilla and found no leaks
2053 + Updated Latin orthographies by comparing those from
2054 evertype.com with those from eki.ee. Tried to make
2055 sensible choices, including chars that occured in both
2056 and leaving some optional chars out that occured only
2059 Mon Aug 26 16:33:04 PDT 2002 keithp
2060 + Owen discovered that FcLangSetHasLang wasn't actually
2061 checking the language set.
2063 Mon Aug 26 13:37:23 PDT 2002 keithp
2064 + Append a version number to cache filenames
2066 Thu Aug 22 11:36:18 PDT 2002 keithp
2068 + Add "contains" and "not_contains" operators and elements to
2071 + Changed semantics of eq operator for LangSets to check for
2072 FcLangEqual so that any match will do
2074 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2075 of FcValueEqual to check for identical values when inserting into
2076 the results. This broke when the above semantic change was made,
2077 now it uses FcValueEqual which is "more correct" in any case.
2079 Thu Aug 22 00:32:29 PDT 2002 keithp
2081 + Reimplement FC_LANG as new datatype. Lists of strings
2082 was consuming over a megabyte of memory for 401 fonts.
2084 + Freeze patterns loaded from cache files. This shares
2085 common value lists and common patterns which saves
2086 considerable memory.
2088 + Change the denotation of 'constant' charsets to use special
2089 ref value instead of separate boolean.
2091 + Clean up leak tracing stuff, found several unannoted alloc/free
2094 Tue Aug 20 16:17:37 PDT 2002 keithp
2096 + Fix memory leak when parsing matrices from XML
2098 Mon Aug 19 11:57:27 PDT 2002 keithp
2100 + Fix autoconf files to pass FONTCONFIG_PATH on
2101 compile line so that ${prefix} gets substituted
2104 + Use getc_unlocked/putc_unlocked on systems that
2105 provide them to avoid damage done to stdio by posix
2107 + Eliminate FC_PATTERN and FcTypePattern in favor of
2108 an extended api for FcConfigSubstitute which takes
2109 both the font and the pattern.
2111 + Add 'sans serif' alias for 'sans-serif' as some apps
2112 can't handle hyphens in family names
2114 + Eliminate pretense of support for libxml2
2116 + Comment origins of Han orthographies
2118 Tue Jul 30 18:37:09 PDT 2002 keithp
2120 + Add binding property to edit element so that strong
2121 binding values may be inserted by the config file.
2122 The default remains weak.
2124 Sun 28 Jul 04:16:55 PDT 2002 keithp
2126 + Tagged release candidate 1 in the CVS tree and
2127 placed fcpackage.rc1.tar.gz for distribution
2129 Thu Aug 1 08:55:08 PDT 2002 keithp
2131 + Fixed autoconf builds to always specify install
2132 target files (for BSD). Also fixed to
2133 define FONTCONFIG_PATH in config.h so that
2134 nonstandard installs will actually work.