1 2005-11-29 Patrick Lam <plam@mit.edu>
2 * src/fccfg.c (FcConfigBuildFonts):
4 * src/fcpat.c (FcPatternFindFullFname):
6 Don't make FcPatternFindFullFname available to fccfg, it's not
7 really safe. Instead go through FcPatternGetString (sorry,
8 perf guys.) Also, use globs for dirs as well.
10 2005-11-28 Patrick Lam <plam@mit.edu>
11 * src/fccfg.c (FcConfigBuildFonts):
15 2005-11-28 Patrick Lam <plam@mit.edu>
17 * src/fcpat.c (FcPatternFindFullFname):
18 * src/fccfg.c (FcConfigBuildFonts):
20 Fix problem dating back at least to 2.3.2 where globs weren't
21 being applied to patterns loaded from a cache.
23 2005-11-28 Patrick Lam <plam@mit.edu>
24 * doc/fontconfig-user.sgml:
26 Fix some obvious spelling mistakes.
28 2005-11-28 Dirk Mueller <dmueller@suse.com>
29 Stephan Kulow <coolo@suse.de>
32 * src/fcmatch.c (FcFontSetMatch):
34 Don't kill all fonts during match (oops!)
37 2005-11-25 Dirk Mueller <dmueller@suse.com>
38 Stephan Kulow <coolo@suse.de>
39 Michael Matz <matz@suse.de>
42 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
45 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
46 inline FcCompare into FcFontSetMatch and reorder the
47 loops, adding a boolean array which blocks patterns from future
48 consideration if they're known to not be best on some past
51 2005-11-26 Dirk Mueller <dmueller@suse.com>
54 * src/fcmatch.c (FcCompareValueList):
58 2005-11-25 Patrick Lam <plam@mit.edu>
59 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
61 Don't do random matching when bad objects are passed into
64 2005-11-25 Patrick Lam <plam@mit.edu>
66 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
67 FcPatternSerialize, FcPatternUnserialize,
68 FcValueListEnsureBank, FcValueListDistributeBytes,
69 FcValueListUnserialize):
71 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
72 _fcPatternElts, _fcValueLists for consistency.
74 2005-11-25 Dirk Mueller <dmueller@suse.com>
79 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
81 2005-11-25 Patrick Lam <plam@mit.edu>
83 * src/fccache.c (FcDirCacheConsume):
84 * src/fccharset.c (FcCharSetUnserialize):
85 * src/fcfs.c (FcFontSetUnserialize):
86 * src/fclang.c (FcLangSetUnserialize):
87 * src/fcname.c (FcObjectUnserialize):
88 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
89 FcPatternUnserialize):
91 Pass around FcCache *s to the Unserialize functions for extra
92 consistency (and less overhead, for what that's worth).
94 2005-11-24 Dirk Mueller <dmueller@suse.com>
98 * src/fcmatch.c (FcCompare*, FcFontSetSort):
99 * src/fcname.c (FcNameUnparseValue):
101 Inline the *PtrU functions to gain perf.
102 Remove unneeded params for the FcCompare* functions.
104 2005-11-24 Dirk Mueller <dmueller@suse.com>
107 * src/fcint.h, fontconfig/fontconfig.h:
109 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
111 * src/fcpat.c, src/fcint.h, src/fcname.c:
113 Check for type validity during FcPatternAddWithBinding, don't
114 verify type in FcFontMatch, don't call FcCanonicalize here
115 (which always does a deep copy).
117 2005-11-24 Dirk Mueller <dmueller@suse.com>
120 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
121 * src/fcpat.c (FcPatternAddWithBinding):
123 Make FcCompareString and FcCompareFamily less expensive.
124 Only add a value for FC_FAMILY if the proposed value is a string.
126 2005-11-24 Dirk Mueller <dmueller@suse.com>
129 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
130 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
131 * src/fcint.h (FcDebug):
133 Inline FcDebug invocations and only initialize once, in FcInit*.
134 Improve debug msg in FcPatternPrint.
136 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
139 * fontconfig/fontconfig.h:
142 Minor code warning cleanups.
144 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
147 * fc-match/fc-match.c (main):
149 Make getopt_long accept -s parameter to fc-match as well.
151 2005-11-21 Dirk Mueller <dmueller@suse.com>
154 * src/fcmatch.c (FcCompareValueList):
156 Manually perform inlining & partial redundancy elimination to
157 reduce calls to FcValueListPtrU.
159 2005-11-21 Dirk Mueller <dmueller@suse.com>
162 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
163 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
165 Only invoke strlen() when really necessary.
167 2005-11-19 Matthias Clasen <mclasen@redhat.com>
171 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
176 Get rid of the use of freetype internal headers in fcfreetype.c,
177 since those headers will go away with freetype 2.2. Replace with
178 public domain ftglue code from pango. Note that the patch removes
179 some extra error checking in FT_Get_BDF_Property() and comments
180 out the skipping of empty pcf fonts.
182 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
185 * fc-lang/fc-lang.c (main):
187 Further fix of patch from 2005-11-04: miscounted numbers count
188 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
189 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
191 Removed leafidx_count and numbers_count since they are the same
192 and replaced them with offset_count.
194 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
197 * fc-cat/fc-cat.c (main):
199 Don't crash when fc-cat invoked with no arguments.
201 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
204 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
206 Fix invalid read access caused by premature free and
207 GCC4 warnings in libxml2 codepath.
209 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
212 * src/fccfg.c (FcConfigValues):
214 List iteration not needed in FcConfigValues, since it's building
215 up the list itself; we can just strip FcVoid elements during
218 2005-11-17 Patrick Lam <plam@mit.edu>
219 * src/fccfg.c (FcConfigValues):
221 Fix crash on invalid constants in config files (forgot to update
222 a pointer upon list iteration.)
224 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
227 * src/fcxml.c (FcTypecheckExpr):
229 Complain about invalid constants in config files.
231 2005-11-17 Andreas Schwab <schwab@suse.de>
234 * src/fccache.c (FcGlobalCacheSave):
236 Don't add current_arch_start more than once.
238 2005-11-16 Patrick Lam <plam@mit.edu>
239 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
240 * src/fcfs.c (FcFontSetUnserialize):
241 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
242 * src/fcpat.c (FcStrUnserialize):
244 Fix ordering of ALIGN with respect to saving block_ptr; add
245 another ALIGN to fcfs.c.
247 2005-11-16 Patrick Lam <plam@mit.edu>
248 * src/fccache.c (FcDirCacheProduce)
250 Fix case where alignment bytes bumped up metadata->count
251 causing unwarranted failures to write cache files.
252 (Reported by Stephan Kulow).
254 2005-11-16 Patrick Lam <plam@mit.edu>
255 * src/fccache.c (FcDirCacheProduce):
256 * src/fccharset.c (FcCharSetDistributeBytes):
257 * src/fcfs.c (FcFontSetDistributeBytes):
259 * src/fclang.c (FcLangSetDistributeBytes):
260 * src/fcname.c (FcObjectDistributeBytes):
261 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
264 Add *NeededBytesAlign(), which overestimates the padding which is
265 later added by the new ALIGN macro. Fix alignment problems on
266 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
267 version by Andreas Schwab).
269 2005-11-16 Stephan Kulow <coolo@kde.org>
274 Use sysconf to determine proper PAGESIZE value; this
275 appears to be POSIX-compliant. (reported by Andreas Schwab)
277 2005-11-04 Patrick Lam <plam@mit.edu>
283 Fix bug 2878 (excessive relocations at startup for charsets,
284 reported by Ross Burton): fc-lang/fc-lang now creates the
285 static form of the langset, not the dynamic form, so that
286 the charsets should now be in .rodata.
288 2005-11-04 Patrick Lam <plam@mit.edu>
289 * src/fcdir.c (FcDirScanConfig):
291 Add test for validity of directory caches that
292 somehow got lost (reported by make distcheck).
294 2005-11-04 Patrick Lam <plam@mit.edu>
298 * fontconfig/fontconfig.h:
300 Bump version to 2.3.92.
302 2005-11-02 Patrick Lam <plam@mit.edu>
303 * src/fcpat.c (FcPatternDuplicate):
305 Fix argument ordering problem in call to FcPatternTransferFullFname.
307 2005-11-02 Patrick Lam <plam@mit.edu>
308 * src/fcfreetype.c (FcFreetypeQuery):
309 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
310 FcPatternTransferFullFname):
312 Fix warnings and embarrassing double-free error.
314 2005-11-02 Zhe Su <zsu@novell.com>
319 Change the rule for artificial emboldening in fonts.conf.in. This
320 enables the support for artificial emboldening included in cairo.
322 2005-11-02 Patrick Lam <plam@mit.edu>
323 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
325 Don't zero out full names for FC_REF_CONSTANT fonts;
326 also, duplicate full names when transferring, and free
327 full names when freeing the associated font.
328 Reported by Jinghua Luo.
330 2005-11-02 Patrick Lam <plam@mit.edu>
331 * fc-cache/fc-cache.c (scanDirs):
332 * src/fcpat.c (FcValueListSerialize):
334 Revert the previous patch and commit the correct patch:
335 I forgot a canonicalization in FcValueListSerialize, so
336 that it would choke on already-serialized input files. Duh!
338 2005-11-02 Patrick Lam <plam@mit.edu>
339 * fc-cache/fc-cache.c (scanDirs):
341 Forcibly rescan a directory before writing a fresh local
342 cache file for that directory, fixing the losing-fonts
343 problem reported by Mike Fabian and also apparently the
344 font cache file corruption.
346 2005-11-02 Patrick Lam <plam@mit.edu>
347 * src/fccache.c (FcGlobalCacheLoad):
349 Fix thinko: actually, the whole global cache is stale
350 if the global cache is older than the (newest) config file.
352 2005-11-02 Patrick Lam <plam@mit.edu>
353 * src/fccache.c (FcGlobalCacheLoad):
354 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
357 Declare the global cache of a directory's contents to be stale if
358 the directory is newer than the (newest) configuration file.
360 2005-10-31 Patrick Lam <plam@mit.edu>
362 * src/fclist.c (FcListAppend):
363 * src/fcmatch.c (FcFontRenderPrepare):
364 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
365 FcPatternFreeze, FcPatternBaseFreeze):
367 Copy the full pathname whenever duplicating an FcPattern; otherwise,
368 applications continue breaking.
370 2005-10-31 Patrick Lam <plam@mit.edu>
371 * fc-cat/fc-cat.c (FcCacheFileRead, main):
372 * src/fcfreetype.c (FcFreeTypeQuery):
374 Fix small memory error (tried to free argv); use basename and
375 dirname correctly (they can modify their arguments).
377 2005-10-31 Patrick Lam <plam@mit.edu>
385 Reinstate basename patch, but keep a hash table linking FcPatterns
386 to their fully-qualified font names for clients' benefit. Clients
387 only pay for the font names once they request the FC_FILE property
388 from an FcPattern, but the font name is malloc'd at that point (i.e.
389 not mmapped: that's impossible, since it may vary between machines.)
390 Clients do have to pay for a copy of the path name per cache file.
392 Note that FcPatternGetString now does some rewriting if you ask
393 for an FC_FILE, appending the pathname as appropriate.
395 2005-10-31 Patrick Lam <plam@mit.edu>
396 * src/fcfreetype.c (FcFreeTypeQuery):
398 Revert basename patch, which breaks fontconfig clients on my system.
400 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
403 * fontconfig/fonts.conf.in:
404 * fontconfig/fontconfig.h:
408 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
409 to load embedded bitmaps or not.
411 2005-10-25 Patrick Lam <plam@mit.edu>
412 * src/fcfreetype.c (FcFreeTypeQuery):
414 Only add basename to patterns' FC_FILE element, not any part of
417 2005-10-22 Patrick Lam <plam@mit.edu>
420 Add some more consts, fixing more GCC4 warnings.
422 2005-10-22 Zhe Su <zsu@novell.com>
425 Support localized font family and style names.
426 This has been reported to break old apps like xfd, but modern
427 (gtk+/qt/mozilla) apps work fine.
429 2005-10-21 Patrick Lam <plam@mit.edu>
430 * src/fccache.c (FcGlobalCacheLoad):
432 Destroy the global cache file if it's terminally broken. (reported by
435 2005-10-21 Patrick Lam <plam@mit.edu>
436 * fc-list/fc-list.c (main):
437 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
438 * fontconfig/fontconfig.h:
440 Prevent fc-list from escaping strings when printing them (reported by
443 2005-10-20 Marcus Meissner <meissner@suse.de>
446 * fontconfig/fontconfig.h:
448 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
450 2005-10-14 Ross Burton <ross@burtonini.com>
453 * fc-glyphname/fc-glyphname.c:
456 Add consts to variables so as to move arrays into .rodata.
458 2005-10-14 Mike Fabian <mfabian@suse.de>
461 * src/fccache.c (FcDirCacheUnlink):
463 Check existence of directory cache file before attempting to unlink.
465 2005-10-13 Patrick Lam <plam@mit.edu>
466 * src/fccache.c (FcDirCacheUnlink):
468 Fix flipped return value on unlink. (Reported by Mike Fabian)
470 2005-10-12 Patrick Lam <plam@mit.edu>
473 * src/fcdir.c (FcDirScanConfig):
476 When fc-cache is run without --force, use directory cache files
477 to speed up fc-cache run time. (Reported by Mike Fabian)
479 2005-10-06 Patrick Lam <plam@mit.edu>
481 * src/fcname.c (FcObjectToPtr):
482 * src/fcpat.c (FcStrStaticName):
484 Add padding to make valgrind and glibc not hate each other
485 when calling strlen().
487 2005-10-05 Simos Xenitellis <simos74@gmx.net>
488 reviewed by: plam & keithp
492 Modify config file to use Greek fonts before Asian fonts with
495 2005-10-05 Christian Biesinger <cbiesinger@web.de>
496 reviewed by: plam & keithp
500 Use libtool -no-undefined flag on all platforms.
502 2005-10-05 Patrick Lam <plam@mit.edu>
503 * src/fccache.c (FcCacheHaveBank):
505 Implement move-to-front array for banks (perf regression
506 reported by Ronny V. Vindenes).
508 2005-10-04 Patrick Lam <plam@mit.edu>
509 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
510 FcDirCacheHasCurrentArch):
511 * fc-cache/fc-cache.c (scanDirs):
512 * fontconfig/fontconfig.h:
514 Add new API which unlinks directory caches and checks dir caches
515 for existence of appropriate sections. Fix fc-cache to unlink
516 stale cache files and save directory caches that lack relevant
519 2005-10-03 Patrick Lam <plam@mit.edu>
520 * src/fccache.c (FcDirCacheValid):
522 Ensure that a directory cache has the appropriate section
523 before reporting that it is valid (reported by Matthias Clasen).
525 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
533 Use libxml2 if requested (with --enable-libxml2) or if
534 expat is not available.
536 2005-09-29 Patrick Lam <plam@mit.edu>
537 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
539 Fix multi-arch cache files: compute the position for the
540 block to be added using info from OrigFile, not NewFile.
542 2005-09-28 Patrick Lam <plam@mit.edu>
543 * src/fccache.c (FcCacheMachineSignature):
545 Cast results of sizeof() to unsigned int to get rid of
546 warnings on x86_64 (thanks Matthias Clasen).
548 2005-09-27 Patrick Lam <plam@mit.edu>
549 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
552 Use FcAtomic to rewrite cache files.
554 2005-09-27 Patrick Lam <plam@mit.edu>
556 * src/fccache.c (FcDirCacheWrite):
558 Don't unlink the fonts.cache-2 file even if there's no data
559 to write; just write an empty cache file. (thanks Lubos Lunak)
561 2005-09-27 Patrick Lam <plam@mit.edu>
563 * src/fccache.c (FcDirCacheWrite):
565 Allocate room for the subdirectory names in each
566 directory cache. Thanks to James Cloos for finding
567 and diagnosing this bug!
569 2005-09-22 Patrick Lam <plam@mit.edu>
571 * fc-cache/fc-cache.sgml:
572 * src/fccache.c (FcDirCacheWrite):
573 * src/fccache.h (struct FcCache):
575 Update documentation -- fc-cache's man page now says that you
576 need to run fc-cache once per cached architecture; add some
577 documentation to the FcCache structure.
579 Make fc-cache write out fonts.cache-2 files for directories with
580 no fonts (i.e. only subdirectories).
582 2005-09-22 Patrick Lam <plam@mit.edu>
584 * fc-cache/fc-cache.sgml:
586 * fc-glyphname/fc-glyphname.c:
592 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
597 * fontconfig/fcprivate.h:
598 * fontconfig/fontconfig.h:
612 Implement new mmaped cache for font information.
613 Bump so revision to 2.3.90.
615 2005-07-25 Keith Packard <keithp@keithp.com>
617 * doc/fontconfig-user.sgml:
618 * fc-glyphname/fc-glyphname.c: (scan), (main):
619 * fc-lang/fc-lang.c: (FcConfigHome):
620 * fc-match/fc-match.c: (main):
621 * src/fccfg.c: (FcConfigHome):
622 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
623 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
624 (addtag), (FcFontCapabilities):
625 * src/fcpat.c: (FcValueListEntCreate):
626 * src/fcstr.c: (FcStrCaseWalkerInit):
627 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
629 Various GCC 4 cleanups for signed vs unsigned char
631 Match only [0-9]*.conf files in <include>{directory}</include>
632 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
634 2005-07-15 Carl Worth <cworth@cworth.org>
637 * src/fcinit.c: (FcFini):
638 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
641 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
642 Pull the FcObjectStateName hash table out to file scope, and add
643 FcObjectStaticNameFini so that FcFini will cleanup this hash table
646 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
649 2005-06-16 Patrick Lam <plam@MIT.EDU>
653 * src/fccfg.c: (FcConfigCompareValue):
654 Make FcOpNotContains use FcStrStr for strings so that
655 it matches semantics for !FcOpContains.
657 2005-05-20 Keith Packard <keithp@keithp.com>
661 Move fontconfig source package to libs as per override
663 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
665 reviewed by: Mike Fabian
668 The ka.orth file requires several characters which are not
669 used anymore in modern Georgian and which are missing in the free
670 Georgian TrueType fonts downloadable at:
672 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
674 2005-04-27 Keith Packard <keithp@keithp.com>
678 Update date to real 2.3.2 release date.
679 Fix change attributions
681 2005-04-27 Keith Packard <keithp@keithp.com>
684 Bump so revision for 2.3.2
685 * fc-cache/fc-cache.c: (scanDirs):
686 Fix a few minor leaks in error cases.
688 2005-04-23 Keith Packard <keithp@keithp.com>
693 * fontconfig/fontconfig.h:
694 Update for version 2.3.2
696 2005-04-21 Keith Packard <keithp@keithp.com>
698 * debian/fontconfig.postinst:
699 Don't force bitmap font enable in default
700 configuration; allows users to override this in
710 * debian/po/pt_BR.po:
711 * debian/po/templates.pot:
713 * debian/po/zh_CN.po:
716 * fc-cache/fc-cache.c: (main):
717 Destroy font configuration on exit to help valgrind
720 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
721 (FcFreeTypeCheckGlyph):
722 Use own transcoding routines in preference to iconv
723 which appears to have leaks in some translators.
724 Call iconv_close after using iconv (oops).
726 Prefer unicode encoding of Euro char as some
727 fonts mis-encode Euro in other ones.
729 Must fetch bitmap glyphs to get width values
730 to check for monospace/dual-width fonts.
732 2005-04-13 Ross Burton <ross@burtonini.com>
735 Check that a pattern isn't already frozen in FcPatternFreeze.
737 2005-03-31 Ross Burton <ross@burtonini.com>
742 Run all FcPattern objects through FcObjectStaticName, so that
743 compares can be done on pointers instead of strings (#2659)
745 2005-03-17 Tor Lillqvist <tml@novell.com>
747 * src/fontconfig.def.in: Add the .dll to the dll name.
749 2005-03-10 Keith Packard <keithp@keithp.com>
751 * debian/README.Debian:
752 Update to reflect configuration changes
754 * debian/fontconfig.postinst:
755 Fix Autohint vs Autohinter mistake
756 * debian/fontconfig.templates:
757 Adopt changes from Josselin Mouette for configuration descriptions
758 Update debian to version 2.3.1-2
760 2005-03-08 Keith Packard <keithp@keithp.com>
764 Update debian for 2.3.1
766 2005-03-09 Tor Lillqvist <tml@novell.com>
768 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
771 * src/fccfg.c (FcConfigFileExists): Check also drive letter
774 2005-03-08 Keith Packard <keithp@keithp.com>
778 * fontconfig/fontconfig.h:
781 2005-03-05 Keith Packard <keithp@keithp.com>
783 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
784 Include space and remove numbers from valid script tags.
785 This ensures that tags like 'lao ' work while rejecting
786 those which have any digits.
787 Eliminate a spurious debugging variable (len)
789 2005-03-05 Keith Packard <keithp@keithp.com>
791 * src/fcfreetype.c: (addtag), (GetScriptTags),
792 (FcFontCapabilities):
793 Rework GSUB/GPOS script parsing to survive broken fonts.
794 Thanks for the broken font go to Manish Singh
796 2005-03-05 Keith Packard <keithp@keithp.com>
801 * debian/fontconfig.config:
802 * debian/fontconfig.templates:
804 Include 2.3 release information in changelog
805 Add Josselin Mouette as an Uploader
806 Set hinting_type to low priority configuration option
809 * debian/fontconfig.postinst:
810 yes_bitmaps.conf -> yes-bitmaps.conf
816 2005-03-02 Keith Packard <keithp@keithp.com>
819 * conf.d/Makefile.am:
820 * conf.d/autohint.conf:
821 * conf.d/no-sub-pixel.conf:
822 * conf.d/sub-pixel.conf:
823 * conf.d/unhinted.conf:
824 * debian/autohint.conf:
825 * debian/fontconfig.install:
826 * debian/fontconfig.postinst:
827 * debian/fontconfig.templates:
828 * debian/no-sub-pixel.conf:
829 * debian/unhinted.conf:
830 Move debian-specific conf file examples upstream.
832 Sub-pixel configuration examples must smash subpixel value
833 as Xft always sets it from X.
835 Change sub-pixel rendering debconf descriptions from
836 Enable/Disable to Always/Never.
838 2005-03-02 Keith Packard <keithp@keithp.com>
843 Ignore more build detritus
846 Add debian package construction stuff.
848 * config/config.guess:
850 Update to newer versions of these tools
853 Get library manuals to build again (we love automake).
855 * debian/README.Debian:
856 * debian/autohint.conf:
861 * debian/fontconfig-udeb.install:
862 * debian/fontconfig.config:
863 * debian/fontconfig.defoma:
864 * debian/fontconfig.dirs:
865 * debian/fontconfig.install:
866 * debian/fontconfig.postinst:
867 * debian/fontconfig.postrm:
868 * debian/fontconfig.templates:
869 * debian/libfontconfig1-dev.install:
870 * debian/libfontconfig1.install:
871 * debian/local.conf.md5sum:
872 * debian/no-sub-pixel.conf:
873 * debian/po/POTFILES.in:
882 * debian/po/pt_BR.po:
883 * debian/po/templates.pot:
885 * debian/po/zh_CN.po:
887 * debian/unhinted.conf:
888 Update debian build system to switch maintainers and
889 deal with 2.3 functionality
891 2005-03-01 Keith Packard <keithp@keithp.com>
895 * fontconfig/fontconfig.h:
898 2005-03-01 Keith Packard <keithp@keithp.com>
901 Generate and install PDF versions of the manuals
903 * doc/fcpattern.fncs:
907 Add missing exported functions, fix data types
909 * doc/fontconfig-devel.sgml:
910 Add missing pattern elements.
912 * doc/fontconfig-user.sgml:
913 Add missing pattern elements. Document conf.d usage,
914 clarify available orthography list. Fix some config file
915 attributes. Complete list of constants.
917 * fontconfig/fontconfig.h:
918 Mark FC_SOURCE deprecated.
920 * src/fcfreetype.c: (FcFreeTypeQuery):
921 Don't set FC_SOURCE any longer.
923 2005-02-28 Keith Packard <keithp@keithp.com>
926 * conf.d/Makefile.am:
928 * conf.d/no-bitmaps.conf:
929 * conf.d/sub-pixel.conf:
930 * conf.d/yes-bitmaps.conf:
932 Create prototype /etc/fonts/conf.d directory with a few
933 sample configuration files.
934 Deprecate use of local.conf for local customizations in favor of
935 this directory based scheme which is more easily integrated into
936 installation systems.
939 Tag FC_EMBOLDEN as a boolean variable
941 2005-02-10 Keith Packard <keithp@keithp.com>
943 reviewed by: pborelli@katamail.com
945 * src/fcdir.c: (FcFileScanConfig):
946 Free patterns from fonts which are rejected by configuration
949 2005-01-28 Keith Packard <keithp@keithp.com>
953 * fontconfig/fontconfig.h:
954 Update for version 2.2.99
956 2005-01-28 Keith Packard <keithp@keithp.com>
959 Add a few pointers (#2284, #2285)
961 2005-01-28 Keith Packard <keithp@keithp.com>
964 * src/fcname.c: (FcNameBool):
965 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
966 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
967 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
968 Polite typechecking for test and edit expressions. Helps
969 catch errors in the font configuration. (bug 229)
971 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
973 reviewed by: Keith Packard <keithp@keithp.com>
976 Have --with-expat set EXPAT_CFLAGS (bug 2278)
978 2005-01-13 Keith Packard <keithp@keithp.com>
980 * doc/fontconfig-user.sgml:
981 Add SEE ALSO section (bug 2085)
983 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
985 reviewed by: Keith Packard <keithp@keithp.com>
990 * fc-case/Makefile.am:
991 * fc-glyphname/Makefile.am:
992 * fc-lang/Makefile.am:
993 * src/fontconfig.def.in:
994 Cross compiling fixes (bug 280)
996 2005-01-13 Keith Packard <keithp@keithp.com>
999 Update blanks list (Closes bug 86)
1001 2005-01-04 Keith Packard <keithp@keithp.com>
1003 * src/fccache.c: (FcCacheFontSetAdd):
1004 Verify that every font pattern loaded from cache has
1005 both FC_FILE and FC_FAMILY entries.
1006 Attempt to fix bug #2219.
1008 2004-12-29 Keith Packard <keithp@keithp.com>
1012 * fontconfig/fontconfig.h:
1013 Update for version 2.2.98
1015 2004-12-29 Keith Packard <keithp@keithp.com>
1017 * fontconfig/fontconfig.h:
1018 Document ASCII limitations of Fc character conversion macros
1019 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1020 Fix off-by-one error in utf-8 case walking code.
1021 Add FcStrDowncase (useful for testing case conversion functions)
1023 2004-12-29 Keith Packard <keithp@keithp.com>
1026 * fc-case/.cvsignore:
1027 clean up CVS ignore lists
1028 * fc-lang/iso-3166.txt:
1029 Add territory database
1031 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1033 Reviewed by: Keith Packard
1036 Remove Han characters from Korean orthography
1038 2004-12-29 Keith Packard <keithp@keithp.com>
1041 Reorder utility programs to make sure fc-case is run before fc-lang
1042 as fc-lang uses fcstr.c which uses fccase.h
1046 2004-12-29 Keith Packard <keithp@keithp.com>
1049 Adopt some RedHat suggestions for standard font configuration.
1053 * fc-case/CaseFolding.txt:
1054 * fc-case/Makefile.am:
1055 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1056 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1057 (dump), (parseRaw), (caseFoldReadRaw), (main):
1058 * fc-case/fccase.tmpl.h:
1059 Add new helper program 'fc-case' to construct case folding
1060 tables from standard Unicode CaseFolding.txt file
1063 * src/fclist.c: (FcListValueHash):
1064 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1065 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1066 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1067 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1068 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1069 Re-implement case insensitive functions with Unicode
1070 aware versions (including full case folding mappings)
1072 2004-12-13 Keith Packard <keithp@keithp.com>
1074 reviewed by: Owen Taylor <otaylor@redhat.com>
1076 * src/fcmatch.c: (FcFontSetSort):
1077 I changed FcFontSetSort to respect the generic aliases better
1078 in the face of language matching.
1080 What I did was to ammend the strict sort order used by FcFontSort so
1081 that it 'satisfies' the language specified in the pattern by locating
1082 the best matching font supporting each pattern language and then
1083 ignores language in the remaining fonts for purposes of matching.
1085 So, when asking for 'sans:lang=en', you'll get an English font first,
1086 and then the remaining fonts sorted with respect to the 'sans' alias
1087 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1089 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1091 reviewed by: Keith Packard <keithp@keithp.com>
1093 * fontconfig/fontconfig.h:
1096 Configuration changes to request synthetic emboldening of
1097 fonts. The actual emboldening code will live in Xft.
1099 2004-12-09 John Thacker <thacker@math.cornell.edu>
1101 reviewed by: Keith Packard <keithp@keithp.com>
1105 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1106 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1107 и), and don't even appear in KOI8-R. (The hypothesis that they
1108 don't appear in KOI8-R due to their similarity with Latin I and i is
1109 eliminated by their presence in KOI8-U.) I have a couple of fonts
1110 with Russian support that don't have the letter.
1112 Therefore, 0406 and 0456 should be removed from or commented out of
1115 2004-12-06 michael meeks <mmeeks@novell.com>
1117 Reviewed by: Keith Packard <keithp@keithp.com>
1119 * src/fcinit.c: (FcMemReport):
1121 * src/fclist.c: (FcObjectSetAdd):
1122 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1123 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1124 * src/fcxml.c: (FcParsePatelt):
1125 memoize strings and share a single copy for all uses. Note that
1126 this could be improved further by using statically allocated blocks
1127 and gluing multiple strings together, but I'm basically lazy.
1128 In my environment with 800 font files, I get a savings of about 90KB.
1130 2004-12-06 Keith Packard <keithp@keithp.com>
1134 * config/Makedefs.in:
1137 * doc/fcatomic.fncs:
1138 * doc/fcblanks.fncs:
1139 * doc/fccharset.fncs:
1140 * doc/fcconfig.fncs:
1141 * doc/fcconstant.fncs:
1143 * doc/fcfontset.fncs:
1144 * doc/fcfreetype.fncs:
1146 * doc/fcmatrix.fncs:
1147 * doc/fcobjectset.fncs:
1148 * doc/fcobjecttype.fncs:
1149 * doc/fcpattern.fncs:
1150 * doc/fcstring.fncs:
1151 * doc/fcstrset.fncs:
1153 * doc/fontconfig-devel.sgml:
1154 * doc/fontconfig-user.sgml:
1156 * doc/version.sgml.in:
1157 * fc-cache/Makefile.am:
1158 * fc-cache/fc-cache.c:
1159 * fc-glyphname/Makefile.am:
1160 * fc-glyphname/fc-glyphname.c:
1161 * fc-glyphname/fcglyphname.tmpl.h:
1162 * fc-lang/Makefile.am:
1172 * fc-lang/az_ir.orth:
1206 * fc-lang/fc-lang.c:
1207 * fc-lang/fc-lang.man:
1208 * fc-lang/fclang.tmpl.h:
1253 * fc-lang/ku_ir.orth:
1286 * fc-lang/ps_af.orth:
1287 * fc-lang/ps_pk.orth:
1316 * fc-lang/ti_er.orth:
1317 * fc-lang/ti_et.orth:
1343 * fc-lang/zh_cn.orth:
1344 * fc-lang/zh_hk.orth:
1345 * fc-lang/zh_mo.orth:
1346 * fc-lang/zh_sg.orth:
1347 * fc-lang/zh_tw.orth:
1349 * fc-list/Makefile.am:
1350 * fc-list/fc-list.c:
1351 * fc-match/Makefile.am:
1352 * fc-match/fc-match.1:
1353 * fc-match/fc-match.c:
1354 * fontconfig/fcfreetype.h:
1355 * fontconfig/fcprivate.h:
1356 * fontconfig/fontconfig.h:
1377 Change files from ISO-Latin-1 to UTF-8
1379 2004-12-04 Keith Packard <keithp@keithp.com>
1382 Update links to new freedesktop.org locations
1384 Add uninstall-local to get rid of fonts.conf and local.conf if they
1385 match the distributed versions. Fixes 'make distcheck'
1387 2004-12-04 Keith Packard <keithp@keithp.com>
1391 * fontconfig/fontconfig.h:
1392 Updates for version 2.2.97
1394 2004-12-04 Owen Taylor <otaylor@redhat.com>
1396 reviewed by: Keith Packard <keithp@keithp.com>
1398 * fc-cache/fc-cache.c: (main):
1399 Sleep for two seconds before exiting to make sure timestamps
1400 for future changes have distinct mod times in the file system.
1403 Add Punjabi orthography. Bug #1671.
1405 2004-12-04 Keith Packard <keithp@keithp.com>
1408 Just remove the FC_FONTDATE -- it has locale issues and
1409 annoys redhat multi-arch installs. Now that all X fonts are
1410 included without prejudice, the chances of the date being at
1411 all interesting are rather limited. Bug #505.
1413 Add copyright and license
1415 2004-12-04 Keith Packard <keithp@keithp.com>
1418 Change default set of fonts to include all of
1419 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1420 * doc/fontconfig-user.sgml:
1421 Document new <include>directory-name</include> semantics
1423 add <include ignore_missing="yes">conf.d</include>
1425 Add selectfont to ignore bitmap fonts, add comment for
1426 selectfont which accepts bitmap fonts.
1429 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1430 Allow <include> configuration elements to reference directories.
1431 Parse and load all files of the form [0-9]* in sorted order.
1433 2004-12-04 Keith Packard <keithp@keithp.com>
1436 Report command line for $srcdir/configure accurately.
1439 2004-12-04 Keith Packard <keithp@keithp.com>
1441 * src/fcfreetype.c: (FcFreeTypeQuery):
1442 Check for non-empty face->family_name and face->style_name
1443 before using those for the font. Empty names match everything.
1446 2004-12-04 Keith Packard <keithp@keithp.com>
1449 * fontconfig/fontconfig.h:
1450 * src/fcfreetype.c: (FcFreeTypeQuery):
1452 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1453 available. This provides font file format information (BDF, Type 1,
1454 PCF, TrueType) for each font. Closes #109.
1456 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1458 reviewed by: Keith Packard <keithp@keithp.com>
1460 * doc/fontconfig-user.sgml:
1463 * fontconfig/fontconfig.h:
1464 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1465 (GetScriptTags), (FcFontCapabilities):
1467 Add detection for font capabilities (bug #105)
1469 2004-12-04 Keith Packard <keithp@keithp.com>
1472 Move existing fonts.conf to fonts.conf.bak
1475 Add detection of iconv
1477 * doc/fcpattern.fncs:
1478 * doc/fontconfig-devel.sgml:
1479 * doc/fontconfig-user.sgml:
1481 Document new selectfont elements
1484 Switch to UTF-8 in comment
1486 * fontconfig/fontconfig.h:
1488 Add fullname, and family/style/fullname language entries
1490 * src/fccache.c: (FcCacheFontSetAdd):
1491 * src/fcdir.c: (FcFileScanConfig):
1492 Respect selectfont/*/glob
1495 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1496 (FcConfigCompareValue), (FcConfigPatternsAdd),
1497 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1498 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1499 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1500 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1501 Add support for selectfont
1503 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1504 (FcStringInPatternElement), (FcFreeTypeQuery):
1505 Add multi-lingual family/style/fullname support
1507 * src/fclist.c: (FcListPatternMatchAny):
1508 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1510 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1511 (FcObjectStaticName):
1512 Add new FcPatternRemove/FcPatternAppend.
1513 FcObjectStaticName stores computed pattern element names which
1514 are required to be static.
1516 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1521 Remove spurious / after $(DESTDIR)
1523 2004-06-30 Keith Packard <keithp@keithp.com>
1527 * fontconfig/fontconfig.h:
1530 2004-06-30 Keith Packard <keithp@keithp.com>
1532 Provided by: Lubos Lunak <l.lunak@suse.cz>
1534 * src/fccfg.c: (FcConfigUptoDate):
1535 However FcConfigUptoDate() doesn't seem to work. See the attached
1536 patch. First there's an obvious misplaced parenthesis making it
1537 return always false, and second, even this call fails to detect font
1538 changes (e.g. adding a new font to
1539 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1540 well. The problem seems to be triggered by my fonts.conf specifying
1541 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1542 doesn't include subdirs, unlike config->fontDirs.
1544 2004-06-03 Keith Packard <keithp@keithp.com>
1546 * fontconfig/fontconfig.h:
1547 Remove comma at end of FcResult enum definition.
1549 2004-05-29 Keith Packard <keithp@keithp.com>
1552 Add steps to md5sum release
1554 2004-05-29 Keith Packard <keithp@keithp.com>
1558 * fontconfig/fontconfig.h:
1561 2004-05-29 Keith Packard <keithp@keithp.com>
1563 * fontconfig/fontconfig.h:
1564 * src/fcmatch.c: (FcFontSetMatch):
1565 Add FcResultOutOfMemory to provide an accurate error when
1566 FcFontSetMatch fails in this way
1569 Make #warning about lacking various FreeType features indicate
1570 which version those features appeared so users know how to
1571 fix the problem (Thanks to Anton Tropashko)
1573 2004-05-05 Keith Packard <keithp@keithp.com>
1575 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1576 Replace MIN/MAX/ABS macros which happen to have come
1577 from FreeType with fontconfig-specific ones (FC_*)
1579 2004-04-23 Keith Packard <keithp@keithp.com>
1582 Extend release preparation instructions to include
1583 notification and distribution steps
1585 2004-04-23 Keith Packard <keithp@keithp.com>
1589 * fontconfig/fontconfig.h:
1590 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1592 2004-04-23 Keith Packard <keithp@keithp.com>
1595 Ignore a few more autotool files
1597 2004-04-14 Keith Packard <keithp@keithp.com>
1600 Add instructions for doing a release
1602 * fontconfig.spec.in:
1603 clean up .spec file; perhaps this will be useful to somebody...
1607 * fontconfig/fontconfig.h:
1610 * fc-lang/fc-lang.c:
1611 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1613 * fc-glyphname/Makefile.am:
1614 * fc-lang/Makefile.am:
1615 * fc-list/Makefile.am:
1616 * fc-match/Makefile.am:
1618 Add WARN_CFLAGS to pass -W flags for GCC systems
1620 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1621 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1622 Change various char types around to match across
1624 Fixed bug in using available_sizes[i].height which
1625 is in pixels, not 64ths of a pixel.
1627 2004-03-06 Keith Packard <keithp@keithp.com>
1629 * src/fcfreetype.c: (FcFreeTypeQuery):
1630 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1631 matches looking for explicit values prefer exact matches
1633 2004-03-02 Keith Packard <keithp@keithp.com>
1635 Supplied by: mfabian@suse.de (Mike FABIAN)
1637 * src/fcfreetype.c: (FcFreeTypeQuery):
1638 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1639 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1641 2004-02-21 Manish Singh <yosh@gimp.org>
1643 * fc-glyphname/fc-glyphname.c: (main):
1644 Cast strlen to int for printf, so we're 64-bit clean.
1646 2004-02-11 Keith Packard <keithp@keithp.com>
1649 * src/fcfreetype.c: (FcGetPixelSize):
1650 Ok, so I messed up the test for y_ppem. Let's see if I
1651 got it right this time.
1653 2004-02-10 Keith Packard <keithp@keithp.com>
1656 * src/fcfreetype.c: (FcGetPixelSize):
1657 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1658 FT_Bitmap_Size record. Add a configure.in test for this
1659 and change the code accordingly (using height instead).
1661 2004-02-06 Keith Packard <keithp@keithp.com>
1664 Add Low Saxon orthography
1665 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1667 * src/fccfg.c: (FcConfigNewestFile):
1668 Oops. Left 'newest.set' unset, which would miscompute
1671 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1672 (FcFreeTypeCheckGlyph):
1673 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1674 font properties (which report the wrong value in current FreeType)
1676 Don't attempt to check for empty glyphs in non-scalable fonts; they
1679 2004-02-01 Tor Lillqvist <tml@iki.fi>
1681 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1682 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1683 cache if config->cache is NULL, which happens if FcConfigHome() is
1684 NULL. Guard against that by using the temp folder in that case.
1686 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1688 * fc-lang/az_ir.orth:
1689 * fc-lang/ku_ir.orth:
1690 * fc-lang/ps_af.orth:
1691 * fc-lang/ps_pk.orth:
1692 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1693 (Afghan and Pakistani).
1695 Updated Urdu orthography with real data.
1697 2003-12-11 Carl Worth <cworth@east.isi.edu>
1699 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1702 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1704 (all-local): Remove excessive whitespace.
1706 * autogen.sh: Add 'set -e' to abort when any program fails,
1707 (avoids printing of 'now type make' after configure aborts).
1709 2003-11-17 Eric Christopherson <rakko@charter.net>
1711 reviewed by: Keith Packard <keithp@keithp.com>
1714 * fontconfig/fcfreetype.h:
1716 Switch to FreeType 2.1.7 style includes. Bug #150.
1718 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1720 * fc-list/fc-list.sgml: Add some example usages.
1722 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1725 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1728 2003-10-27 Keith Packard <keith@keithp.com>
1731 * fontconfig/fontconfig.h:
1732 Update to version 2.2.92
1734 2003-10-27 Keith Packard <keithp@keithp.com>
1739 * fc-cache/Makefile.am:
1740 * fc-glyphname/Makefile.am:
1741 * fc-lang/Makefile.am:
1742 * fc-list/Makefile.am:
1743 * fc-match/Makefile.am:
1746 Yet more cleanups to finish getting 'make distcheck' working
1747 This has been tested to ensure that it even works from a _build
1750 2003-10-26 Keith Packard <keithp@keithp.com>
1754 * fc-cache/Makefile.am:
1755 * fc-glyphname/Makefile.am:
1756 * fc-lang/Makefile.am:
1757 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1758 * fc-list/Makefile.am:
1759 * fc-match/Makefile.am:
1760 Attempts to fix 'make distcheck' work. Things are
1761 progressing pretty well, but there are still failures
1762 long into the process dealing with docs (as always).
1764 The big changes here are mostly to make $(srcdir) != "."
1765 work correctly, fixing the docbook related sections and
1766 fc-lang were particularily tricky. Docbook refuses to load
1767 system entities from anywhere other than where the original .sgml
1768 file was located, so no luck looking in "." for the
1769 configure-generated version.sgml and confdir.sgml files.
1771 fc-lang needed help finding .orth files; added a -d option
1772 to set the directory as the least evil of many options.
1774 Now to go use a faster machine and try and wring out the last
1777 2003-10-26 Keith Packard <keithp@keithp.com>
1781 2003-10-26 Keith Packard <keithp@keithp.com>
1784 Include confdir.sgml.in in EXTRA_DIST
1786 2003-10-09 Josselin Mouette <joss@debian.org>
1788 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1789 * fc-list/fc-list.sgml fc-list/Makefile.am:
1790 Replace fc-cache and fc-list manpages with more detailed, SGML
1793 2003-09-23 Owen Taylor <otaylor@redhat.com>
1795 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1796 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1797 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1800 2003-09-23 Owen Taylor <otaylor@redhat.com>
1802 * fc-lang/ka.orth: Remove Georgian capitals, they
1803 aren't used for normal writing. (Bug #116)
1805 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1807 * doc/fontconfig-devel.sgml:
1808 * doc/fontconfig-user.sgml:
1809 * fontconfig/fontconfig.h:
1811 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1812 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1814 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1815 monospace and dual-width fonts, allow roughly a 3% variance in the
1818 2003-08-31 Manish Singh <yosh@gimp.org>
1820 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1823 2003-08-15 Carl Worth <cworth@isi.edu>
1825 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1826 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1828 * src/fcpat.c (FcValueListEntDestroy): New function to support
1829 FcFini memory cleanup. Some statistics are not kept in
1831 (FcValueListFreeze): Move hashTable outside this function so it
1832 can be accessed by FcValueListThawAll.
1833 (FcValueListThawAll): New function complements FcValueListFreeze.
1834 (FcPatternBaseFreeze): Move hashTable outside this function so it
1835 can be accessed by FcPatternBaseThawAll.
1836 (FcPatternBaseThawAll): New function complements
1837 FcPatternBaseFreeze.
1838 (FcPatternThawAll): New function complements FcPatternFreeze.
1840 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1842 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1843 allocated FcCharLeafEnt "blocks" so they can be freed later.
1844 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1845 can be accessed by FcCharSetThawAllLeaf.
1846 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1847 (FcCharSetFreezeBase): Move hashTable outside this function so it
1848 can be accessed by FcCharSetThawAll.
1849 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1851 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1852 (FcConfigDestroy): Fic leak of FcBlanks.
1854 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1855 (main): Add call to FcFini when finished.
1857 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1858 static. Add prototypes.
1860 * doc/fcinit.fncs: Add documentation for FcFini function.
1862 * doc/edit-sgml.c: Mark several local functions as static. Add
1865 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1867 2003-06-15 Tor Lillqvist <tml@iki.fi>
1869 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1870 before comparing (needed on Windows).
1872 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1874 2003-06-13 Tor Lillqvist <tml@iki.fi>
1876 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1879 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1880 WINDOWSFONTDIR token.
1882 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1883 end, not to confuse libtool, which expects the EXPORTS line to be
1884 the first. Add FcConfigEnableHome.
1886 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1887 built as a DLL on Win32.
1889 2003-06-09 Keith Packard <keithp@keithp.com>
1891 * Tag version 2.2.90
1893 2003-06-09 Keith Packard <keithp@keithp.com>
1895 * Optimization in FcLangSetIndex was broken, occasionally
1896 returning a pointer to the wrong location on miss
1898 * Add fc-match to test font matching from the command line.
1900 2003-05-31 Keith Packard <keithp@keithp.com>
1902 * (Bug 85) add support for culmus fonts
1903 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1904 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1906 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1908 * Fix "contains" op for strings and langsets.
1910 2003-05-17 Keith Packard <keithp@keithp.com>
1912 * Fix build error with BDF prop local. Free langset after query
1914 2003-05-14 Keith Packard <keithp@keithp.com>
1916 * Extract spacing from XLFD atom
1918 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1920 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1921 disappeared in 1.30.
1923 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1925 2003-05-12 Keith Packard <keithp@keithp.com>
1927 * Use FcIsWidth to share code
1929 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1930 misclassifying some Han fonts as monospaced.
1932 2003-05-07 Keith Packard <keithp@keithp.com>
1934 * Add filename-based accept/reject to ammend available fonts.
1936 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1937 older FreeType releases.
1939 2003-05-06 Keith Packard <keithp@keithp.com>
1941 * Remove 0b82 and Tamil numbers from tamil
1942 orthography (Jungshik Shin <jshin@mailaps.org>)
1944 2003-05-04 Keith Packard <keithp@keithp.com>
1946 + Map glyph names in fonts with adobe custom encoding to unicode
1948 2003-05-02 Keith Packard <keithp@keithp.com>
1950 * Add FC_WEIGHT_BOOK as weight 75
1952 2003-04-30 Keith Packard <keithp@keithp.com>
1954 * Typo in bitstream foundry name
1956 2003-04-24 Keith Packard <keithp@keithp.com>
1958 * Eliminate italic_angle check for PS fonts
1960 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1962 * Getting closer to fixing /etc/fonts hard-coding.
1964 2003-04-22 Keith Packard <keithp@keithp.com>
1966 * Update autogen.sh to work with newer automake versions
1967 * Handle pattern elements moving during multiple edits
1969 2003-04-23 James Henstridge <james@daa.com.au>
1971 * doc/fontconfig-devel.sgml: close the <para> element.
1973 * doc/fcpattern.fncs: close the <para> element.
1975 * doc/func.sgml: close the <refsynopsisdiv> element.
1977 2003-04-22 Keith Packard <keithp@keithp.com
1979 * Update autogen.sh to work with newer automake versions
1980 * Handle pattern elements moving during multiple edits
1982 2003-04-17 Colin Walters <walters@debian.org>
1984 + Remove some unused variables, and initialize some other ones so
1985 gcc doesn't warn us.
1987 2003-04-16 Keith Packard <keithp@keithp.com>
1989 + tag version 2.1.94
1991 2003-04-16 Keith Packard <keithp@keithp.com>
1993 + add BDF property fetching support for foundry
1994 (from Juliusz Chroboczek)
1995 + add BDF property fetching support for width
1997 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1999 + Implemented foundry generation for Type 1 and TrueType
2001 2003-04-11 Gerard Escalante <g2@magestudios.net>
2003 + Retrieve information from Type1 FontInfo dictionaries
2005 2003-04-07 Colin Walters <walters@verbum.org>
2007 + src/Makefile.am: Fix dummy makefile target names when
2008 MS_LIB_AVAILABLE isn't set.
2010 2003-03-22 Tor Lillqvist <tml@iki.fi>
2012 Changes for Windows:
2014 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2016 + We don't want to hardcode the fonts.conf file location in the
2017 DLL, so we look up the DLL location at run-time in a DllMain()
2018 function. The fonts.conf location is deduced from that.
2020 + The colon can't be used as path separator on Windows,
2021 semicolon is used instead. File path components can be separated
2022 with either slash or backslash. Absolute paths can also begin
2023 with a drive letter.
2025 + Add internal function FcStrLastSlash that strrchr's the last
2026 slash, or backslash on Windows.
2028 + There is no link() on Windows. For atomicity checks, mkdir a
2029 lock directory instead.
2031 + In addition to HOME, also look for USERPROFILE.
2033 + Recognize the special font directory token WINDOWSFONTDIR, to
2034 use the system's font directory.
2036 + Remove the fontconfig-def.cpp that was obsolete. Add
2037 fontconfig.def(.in), without internal functions.
2039 + Add a fontconfig-zip(.in) script, used to build a binary
2042 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2043 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2044 to main package and man3/* to devel package
2046 + Added missing defattr(-, root, root) to main RPM package
2048 + Added HTML and text development documentation to -devel subpackage
2050 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2051 + Added back the configure macro options --disable-docs, otherwise
2052 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2053 version number) unconditionally, causing RPM to fail the build due
2054 to _unpackaged_files_terminate_build. We pick up the pregenerated
2055 docs with %doc already.
2057 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2058 + Removed commented out rpm macro define at top of spec file,
2059 replacing it with a simple explanation, since rpm macros are
2060 expanded by rpm even in comments.
2062 + Changed /usr/bin to _bindir in BuildRequires lines
2064 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2066 + Reorganized file manifest lists
2068 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2070 + fontconfig.spec.in: Improvements from Red Hat spec file.
2072 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2074 + docs/*.sgml: SGML fixes.
2076 Sat Mar 1 17:28:53 PST 2003 keithp
2077 + Ok, so the ChangeLog is a bit out of date
2079 + Lots of bugs fixed; most are in bugzilla, the
2080 biggest problems were in cache management where
2081 Owen discovered the library would lose badly when
2082 combining fonts-cache and ~/.fonts-cache data
2084 + Converted from autoconf to automake. This after
2085 getting patches accepted into libtool to allow
2086 the '-version-number' argument which lets
2087 packages set version numbers explicitly rather
2088 than the roundabout libtool way
2090 + Converted documentation to SGML using the docbook
2091 DTD. Now .txt and .html documents are installed
2092 in /usr/share/doc/fontconfig and there's no
2093 man page. Perhaps a man version can be written
2096 Sat Aug 31 15:21:22 PDT 2002 keithp
2097 + Xrender and Xft had several bugs related to
2098 rendering manually placed or poly-face text
2100 + Added more complete memory tracing in fontconfig
2101 Checked with (patched) mozilla and found no leaks
2103 + Updated Latin orthographies by comparing those from
2104 evertype.com with those from eki.ee. Tried to make
2105 sensible choices, including chars that occured in both
2106 and leaving some optional chars out that occured only
2109 Mon Aug 26 16:33:04 PDT 2002 keithp
2110 + Owen discovered that FcLangSetHasLang wasn't actually
2111 checking the language set.
2113 Mon Aug 26 13:37:23 PDT 2002 keithp
2114 + Append a version number to cache filenames
2116 Thu Aug 22 11:36:18 PDT 2002 keithp
2118 + Add "contains" and "not_contains" operators and elements to
2121 + Changed semantics of eq operator for LangSets to check for
2122 FcLangEqual so that any match will do
2124 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2125 of FcValueEqual to check for identical values when inserting into
2126 the results. This broke when the above semantic change was made,
2127 now it uses FcValueEqual which is "more correct" in any case.
2129 Thu Aug 22 00:32:29 PDT 2002 keithp
2131 + Reimplement FC_LANG as new datatype. Lists of strings
2132 was consuming over a megabyte of memory for 401 fonts.
2134 + Freeze patterns loaded from cache files. This shares
2135 common value lists and common patterns which saves
2136 considerable memory.
2138 + Change the denotation of 'constant' charsets to use special
2139 ref value instead of separate boolean.
2141 + Clean up leak tracing stuff, found several unannoted alloc/free
2144 Tue Aug 20 16:17:37 PDT 2002 keithp
2146 + Fix memory leak when parsing matrices from XML
2148 Mon Aug 19 11:57:27 PDT 2002 keithp
2150 + Fix autoconf files to pass FONTCONFIG_PATH on
2151 compile line so that ${prefix} gets substituted
2154 + Use getc_unlocked/putc_unlocked on systems that
2155 provide them to avoid damage done to stdio by posix
2157 + Eliminate FC_PATTERN and FcTypePattern in favor of
2158 an extended api for FcConfigSubstitute which takes
2159 both the font and the pattern.
2161 + Add 'sans serif' alias for 'sans-serif' as some apps
2162 can't handle hyphens in family names
2164 + Eliminate pretense of support for libxml2
2166 + Comment origins of Han orthographies
2168 Tue Jul 30 18:37:09 PDT 2002 keithp
2170 + Add binding property to edit element so that strong
2171 binding values may be inserted by the config file.
2172 The default remains weak.
2174 Sun 28 Jul 04:16:55 PDT 2002 keithp
2176 + Tagged release candidate 1 in the CVS tree and
2177 placed fcpackage.rc1.tar.gz for distribution
2179 Thu Aug 1 08:55:08 PDT 2002 keithp
2181 + Fixed autoconf builds to always specify install
2182 target files (for BSD). Also fixed to
2183 define FONTCONFIG_PATH in config.h so that
2184 nonstandard installs will actually work.