1 2005-11-29 Patrick Lam <plam@mit.edu>
2 * src/fcint.h (FcCacheBankToIndex);
4 Fix segfault by guarding array dereference.
6 2005-11-29 Dirk Mueller <dmueller@suse.de>
10 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
11 FcCacheBankToIndex, FcCacheBankToIndexMTF,
15 Refactor FcCacheBankToIndex into an inlineable part
16 (in fcint.h) which checks the front of the list and a
17 non-inlineable part which finds and moves the appropriate element
18 to the front of the list.
20 2005-11-29 Patrick Lam <plam@mit.edu>
21 * src/fccfg.c (FcConfigBuildFonts):
22 * src/fccache.c (FcCacheReadDirs):
24 Make the perf guys hate me a bit less: hoist the directory-name
25 FcConfigAcceptFont check for cached fonts up to directory cache
26 read time, rather than running it for each font.
28 2005-11-29 Patrick Lam <plam@mit.edu>
29 * src/fccfg.c (FcConfigBuildFonts):
31 * src/fcpat.c (FcPatternFindFullFname):
33 Don't make FcPatternFindFullFname available to fccfg, it's not
34 really safe. Instead go through FcPatternGetString (sorry,
35 perf guys.) Also, use globs for dirs as well.
37 2005-11-28 Patrick Lam <plam@mit.edu>
38 * src/fccfg.c (FcConfigBuildFonts):
42 2005-11-28 Patrick Lam <plam@mit.edu>
44 * src/fcpat.c (FcPatternFindFullFname):
45 * src/fccfg.c (FcConfigBuildFonts):
47 Fix problem dating back at least to 2.3.2 where globs weren't
48 being applied to patterns loaded from a cache.
50 2005-11-28 Patrick Lam <plam@mit.edu>
51 * doc/fontconfig-user.sgml:
53 Fix some obvious spelling mistakes.
55 2005-11-28 Dirk Mueller <dmueller@suse.com>
56 Stephan Kulow <coolo@suse.de>
59 * src/fcmatch.c (FcFontSetMatch):
61 Don't kill all fonts during match (oops!)
64 2005-11-25 Dirk Mueller <dmueller@suse.com>
65 Stephan Kulow <coolo@suse.de>
66 Michael Matz <matz@suse.de>
69 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
72 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
73 inline FcCompare into FcFontSetMatch and reorder the
74 loops, adding a boolean array which blocks patterns from future
75 consideration if they're known to not be best on some past
78 2005-11-26 Dirk Mueller <dmueller@suse.com>
81 * src/fcmatch.c (FcCompareValueList):
85 2005-11-25 Patrick Lam <plam@mit.edu>
86 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
88 Don't do random matching when bad objects are passed into
91 2005-11-25 Patrick Lam <plam@mit.edu>
93 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
94 FcPatternSerialize, FcPatternUnserialize,
95 FcValueListEnsureBank, FcValueListDistributeBytes,
96 FcValueListUnserialize):
98 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
99 _fcPatternElts, _fcValueLists for consistency.
101 2005-11-25 Dirk Mueller <dmueller@suse.com>
106 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
108 2005-11-25 Patrick Lam <plam@mit.edu>
110 * src/fccache.c (FcDirCacheConsume):
111 * src/fccharset.c (FcCharSetUnserialize):
112 * src/fcfs.c (FcFontSetUnserialize):
113 * src/fclang.c (FcLangSetUnserialize):
114 * src/fcname.c (FcObjectUnserialize):
115 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
116 FcPatternUnserialize):
118 Pass around FcCache *s to the Unserialize functions for extra
119 consistency (and less overhead, for what that's worth).
121 2005-11-24 Dirk Mueller <dmueller@suse.com>
125 * src/fcmatch.c (FcCompare*, FcFontSetSort):
126 * src/fcname.c (FcNameUnparseValue):
128 Inline the *PtrU functions to gain perf.
129 Remove unneeded params for the FcCompare* functions.
131 2005-11-24 Dirk Mueller <dmueller@suse.com>
134 * src/fcint.h, fontconfig/fontconfig.h:
136 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
138 * src/fcpat.c, src/fcint.h, src/fcname.c:
140 Check for type validity during FcPatternAddWithBinding, don't
141 verify type in FcFontMatch, don't call FcCanonicalize here
142 (which always does a deep copy).
144 2005-11-24 Dirk Mueller <dmueller@suse.com>
147 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
148 * src/fcpat.c (FcPatternAddWithBinding):
150 Make FcCompareString and FcCompareFamily less expensive.
151 Only add a value for FC_FAMILY if the proposed value is a string.
153 2005-11-24 Dirk Mueller <dmueller@suse.com>
156 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
157 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
158 * src/fcint.h (FcDebug):
160 Inline FcDebug invocations and only initialize once, in FcInit*.
161 Improve debug msg in FcPatternPrint.
163 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
166 * fontconfig/fontconfig.h:
169 Minor code warning cleanups.
171 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
174 * fc-match/fc-match.c (main):
176 Make getopt_long accept -s parameter to fc-match as well.
178 2005-11-21 Dirk Mueller <dmueller@suse.com>
181 * src/fcmatch.c (FcCompareValueList):
183 Manually perform inlining & partial redundancy elimination to
184 reduce calls to FcValueListPtrU.
186 2005-11-21 Dirk Mueller <dmueller@suse.com>
189 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
190 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
192 Only invoke strlen() when really necessary.
194 2005-11-19 Matthias Clasen <mclasen@redhat.com>
198 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
203 Get rid of the use of freetype internal headers in fcfreetype.c,
204 since those headers will go away with freetype 2.2. Replace with
205 public domain ftglue code from pango. Note that the patch removes
206 some extra error checking in FT_Get_BDF_Property() and comments
207 out the skipping of empty pcf fonts.
209 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
212 * fc-lang/fc-lang.c (main):
214 Further fix of patch from 2005-11-04: miscounted numbers count
215 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
216 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
218 Removed leafidx_count and numbers_count since they are the same
219 and replaced them with offset_count.
221 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
224 * fc-cat/fc-cat.c (main):
226 Don't crash when fc-cat invoked with no arguments.
228 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
231 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
233 Fix invalid read access caused by premature free and
234 GCC4 warnings in libxml2 codepath.
236 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
239 * src/fccfg.c (FcConfigValues):
241 List iteration not needed in FcConfigValues, since it's building
242 up the list itself; we can just strip FcVoid elements during
245 2005-11-17 Patrick Lam <plam@mit.edu>
246 * src/fccfg.c (FcConfigValues):
248 Fix crash on invalid constants in config files (forgot to update
249 a pointer upon list iteration.)
251 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
254 * src/fcxml.c (FcTypecheckExpr):
256 Complain about invalid constants in config files.
258 2005-11-17 Andreas Schwab <schwab@suse.de>
261 * src/fccache.c (FcGlobalCacheSave):
263 Don't add current_arch_start more than once.
265 2005-11-16 Patrick Lam <plam@mit.edu>
266 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
267 * src/fcfs.c (FcFontSetUnserialize):
268 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
269 * src/fcpat.c (FcStrUnserialize):
271 Fix ordering of ALIGN with respect to saving block_ptr; add
272 another ALIGN to fcfs.c.
274 2005-11-16 Patrick Lam <plam@mit.edu>
275 * src/fccache.c (FcDirCacheProduce)
277 Fix case where alignment bytes bumped up metadata->count
278 causing unwarranted failures to write cache files.
279 (Reported by Stephan Kulow).
281 2005-11-16 Patrick Lam <plam@mit.edu>
282 * src/fccache.c (FcDirCacheProduce):
283 * src/fccharset.c (FcCharSetDistributeBytes):
284 * src/fcfs.c (FcFontSetDistributeBytes):
286 * src/fclang.c (FcLangSetDistributeBytes):
287 * src/fcname.c (FcObjectDistributeBytes):
288 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
291 Add *NeededBytesAlign(), which overestimates the padding which is
292 later added by the new ALIGN macro. Fix alignment problems on
293 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
294 version by Andreas Schwab).
296 2005-11-16 Stephan Kulow <coolo@kde.org>
301 Use sysconf to determine proper PAGESIZE value; this
302 appears to be POSIX-compliant. (reported by Andreas Schwab)
304 2005-11-04 Patrick Lam <plam@mit.edu>
310 Fix bug 2878 (excessive relocations at startup for charsets,
311 reported by Ross Burton): fc-lang/fc-lang now creates the
312 static form of the langset, not the dynamic form, so that
313 the charsets should now be in .rodata.
315 2005-11-04 Patrick Lam <plam@mit.edu>
316 * src/fcdir.c (FcDirScanConfig):
318 Add test for validity of directory caches that
319 somehow got lost (reported by make distcheck).
321 2005-11-04 Patrick Lam <plam@mit.edu>
325 * fontconfig/fontconfig.h:
327 Bump version to 2.3.92.
329 2005-11-02 Patrick Lam <plam@mit.edu>
330 * src/fcpat.c (FcPatternDuplicate):
332 Fix argument ordering problem in call to FcPatternTransferFullFname.
334 2005-11-02 Patrick Lam <plam@mit.edu>
335 * src/fcfreetype.c (FcFreetypeQuery):
336 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
337 FcPatternTransferFullFname):
339 Fix warnings and embarrassing double-free error.
341 2005-11-02 Zhe Su <zsu@novell.com>
346 Change the rule for artificial emboldening in fonts.conf.in. This
347 enables the support for artificial emboldening included in cairo.
349 2005-11-02 Patrick Lam <plam@mit.edu>
350 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
352 Don't zero out full names for FC_REF_CONSTANT fonts;
353 also, duplicate full names when transferring, and free
354 full names when freeing the associated font.
355 Reported by Jinghua Luo.
357 2005-11-02 Patrick Lam <plam@mit.edu>
358 * fc-cache/fc-cache.c (scanDirs):
359 * src/fcpat.c (FcValueListSerialize):
361 Revert the previous patch and commit the correct patch:
362 I forgot a canonicalization in FcValueListSerialize, so
363 that it would choke on already-serialized input files. Duh!
365 2005-11-02 Patrick Lam <plam@mit.edu>
366 * fc-cache/fc-cache.c (scanDirs):
368 Forcibly rescan a directory before writing a fresh local
369 cache file for that directory, fixing the losing-fonts
370 problem reported by Mike Fabian and also apparently the
371 font cache file corruption.
373 2005-11-02 Patrick Lam <plam@mit.edu>
374 * src/fccache.c (FcGlobalCacheLoad):
376 Fix thinko: actually, the whole global cache is stale
377 if the global cache is older than the (newest) config file.
379 2005-11-02 Patrick Lam <plam@mit.edu>
380 * src/fccache.c (FcGlobalCacheLoad):
381 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
384 Declare the global cache of a directory's contents to be stale if
385 the directory is newer than the (newest) configuration file.
387 2005-10-31 Patrick Lam <plam@mit.edu>
389 * src/fclist.c (FcListAppend):
390 * src/fcmatch.c (FcFontRenderPrepare):
391 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
392 FcPatternFreeze, FcPatternBaseFreeze):
394 Copy the full pathname whenever duplicating an FcPattern; otherwise,
395 applications continue breaking.
397 2005-10-31 Patrick Lam <plam@mit.edu>
398 * fc-cat/fc-cat.c (FcCacheFileRead, main):
399 * src/fcfreetype.c (FcFreeTypeQuery):
401 Fix small memory error (tried to free argv); use basename and
402 dirname correctly (they can modify their arguments).
404 2005-10-31 Patrick Lam <plam@mit.edu>
412 Reinstate basename patch, but keep a hash table linking FcPatterns
413 to their fully-qualified font names for clients' benefit. Clients
414 only pay for the font names once they request the FC_FILE property
415 from an FcPattern, but the font name is malloc'd at that point (i.e.
416 not mmapped: that's impossible, since it may vary between machines.)
417 Clients do have to pay for a copy of the path name per cache file.
419 Note that FcPatternGetString now does some rewriting if you ask
420 for an FC_FILE, appending the pathname as appropriate.
422 2005-10-31 Patrick Lam <plam@mit.edu>
423 * src/fcfreetype.c (FcFreeTypeQuery):
425 Revert basename patch, which breaks fontconfig clients on my system.
427 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
430 * fontconfig/fonts.conf.in:
431 * fontconfig/fontconfig.h:
435 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
436 to load embedded bitmaps or not.
438 2005-10-25 Patrick Lam <plam@mit.edu>
439 * src/fcfreetype.c (FcFreeTypeQuery):
441 Only add basename to patterns' FC_FILE element, not any part of
444 2005-10-22 Patrick Lam <plam@mit.edu>
447 Add some more consts, fixing more GCC4 warnings.
449 2005-10-22 Zhe Su <zsu@novell.com>
452 Support localized font family and style names.
453 This has been reported to break old apps like xfd, but modern
454 (gtk+/qt/mozilla) apps work fine.
456 2005-10-21 Patrick Lam <plam@mit.edu>
457 * src/fccache.c (FcGlobalCacheLoad):
459 Destroy the global cache file if it's terminally broken. (reported by
462 2005-10-21 Patrick Lam <plam@mit.edu>
463 * fc-list/fc-list.c (main):
464 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
465 * fontconfig/fontconfig.h:
467 Prevent fc-list from escaping strings when printing them (reported by
470 2005-10-20 Marcus Meissner <meissner@suse.de>
473 * fontconfig/fontconfig.h:
475 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
477 2005-10-14 Ross Burton <ross@burtonini.com>
480 * fc-glyphname/fc-glyphname.c:
483 Add consts to variables so as to move arrays into .rodata.
485 2005-10-14 Mike Fabian <mfabian@suse.de>
488 * src/fccache.c (FcDirCacheUnlink):
490 Check existence of directory cache file before attempting to unlink.
492 2005-10-13 Patrick Lam <plam@mit.edu>
493 * src/fccache.c (FcDirCacheUnlink):
495 Fix flipped return value on unlink. (Reported by Mike Fabian)
497 2005-10-12 Patrick Lam <plam@mit.edu>
500 * src/fcdir.c (FcDirScanConfig):
503 When fc-cache is run without --force, use directory cache files
504 to speed up fc-cache run time. (Reported by Mike Fabian)
506 2005-10-06 Patrick Lam <plam@mit.edu>
508 * src/fcname.c (FcObjectToPtr):
509 * src/fcpat.c (FcStrStaticName):
511 Add padding to make valgrind and glibc not hate each other
512 when calling strlen().
514 2005-10-05 Simos Xenitellis <simos74@gmx.net>
515 reviewed by: plam & keithp
519 Modify config file to use Greek fonts before Asian fonts with
522 2005-10-05 Christian Biesinger <cbiesinger@web.de>
523 reviewed by: plam & keithp
527 Use libtool -no-undefined flag on all platforms.
529 2005-10-05 Patrick Lam <plam@mit.edu>
530 * src/fccache.c (FcCacheHaveBank):
532 Implement move-to-front array for banks (perf regression
533 reported by Ronny V. Vindenes).
535 2005-10-04 Patrick Lam <plam@mit.edu>
536 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
537 FcDirCacheHasCurrentArch):
538 * fc-cache/fc-cache.c (scanDirs):
539 * fontconfig/fontconfig.h:
541 Add new API which unlinks directory caches and checks dir caches
542 for existence of appropriate sections. Fix fc-cache to unlink
543 stale cache files and save directory caches that lack relevant
546 2005-10-03 Patrick Lam <plam@mit.edu>
547 * src/fccache.c (FcDirCacheValid):
549 Ensure that a directory cache has the appropriate section
550 before reporting that it is valid (reported by Matthias Clasen).
552 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
560 Use libxml2 if requested (with --enable-libxml2) or if
561 expat is not available.
563 2005-09-29 Patrick Lam <plam@mit.edu>
564 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
566 Fix multi-arch cache files: compute the position for the
567 block to be added using info from OrigFile, not NewFile.
569 2005-09-28 Patrick Lam <plam@mit.edu>
570 * src/fccache.c (FcCacheMachineSignature):
572 Cast results of sizeof() to unsigned int to get rid of
573 warnings on x86_64 (thanks Matthias Clasen).
575 2005-09-27 Patrick Lam <plam@mit.edu>
576 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
579 Use FcAtomic to rewrite cache files.
581 2005-09-27 Patrick Lam <plam@mit.edu>
583 * src/fccache.c (FcDirCacheWrite):
585 Don't unlink the fonts.cache-2 file even if there's no data
586 to write; just write an empty cache file. (thanks Lubos Lunak)
588 2005-09-27 Patrick Lam <plam@mit.edu>
590 * src/fccache.c (FcDirCacheWrite):
592 Allocate room for the subdirectory names in each
593 directory cache. Thanks to James Cloos for finding
594 and diagnosing this bug!
596 2005-09-22 Patrick Lam <plam@mit.edu>
598 * fc-cache/fc-cache.sgml:
599 * src/fccache.c (FcDirCacheWrite):
600 * src/fccache.h (struct FcCache):
602 Update documentation -- fc-cache's man page now says that you
603 need to run fc-cache once per cached architecture; add some
604 documentation to the FcCache structure.
606 Make fc-cache write out fonts.cache-2 files for directories with
607 no fonts (i.e. only subdirectories).
609 2005-09-22 Patrick Lam <plam@mit.edu>
611 * fc-cache/fc-cache.sgml:
613 * fc-glyphname/fc-glyphname.c:
619 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
624 * fontconfig/fcprivate.h:
625 * fontconfig/fontconfig.h:
639 Implement new mmaped cache for font information.
640 Bump so revision to 2.3.90.
642 2005-07-25 Keith Packard <keithp@keithp.com>
644 * doc/fontconfig-user.sgml:
645 * fc-glyphname/fc-glyphname.c: (scan), (main):
646 * fc-lang/fc-lang.c: (FcConfigHome):
647 * fc-match/fc-match.c: (main):
648 * src/fccfg.c: (FcConfigHome):
649 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
650 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
651 (addtag), (FcFontCapabilities):
652 * src/fcpat.c: (FcValueListEntCreate):
653 * src/fcstr.c: (FcStrCaseWalkerInit):
654 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
656 Various GCC 4 cleanups for signed vs unsigned char
658 Match only [0-9]*.conf files in <include>{directory}</include>
659 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
661 2005-07-15 Carl Worth <cworth@cworth.org>
664 * src/fcinit.c: (FcFini):
665 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
668 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
669 Pull the FcObjectStateName hash table out to file scope, and add
670 FcObjectStaticNameFini so that FcFini will cleanup this hash table
673 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
676 2005-06-16 Patrick Lam <plam@MIT.EDU>
680 * src/fccfg.c: (FcConfigCompareValue):
681 Make FcOpNotContains use FcStrStr for strings so that
682 it matches semantics for !FcOpContains.
684 2005-05-20 Keith Packard <keithp@keithp.com>
688 Move fontconfig source package to libs as per override
690 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
692 reviewed by: Mike Fabian
695 The ka.orth file requires several characters which are not
696 used anymore in modern Georgian and which are missing in the free
697 Georgian TrueType fonts downloadable at:
699 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
701 2005-04-27 Keith Packard <keithp@keithp.com>
705 Update date to real 2.3.2 release date.
706 Fix change attributions
708 2005-04-27 Keith Packard <keithp@keithp.com>
711 Bump so revision for 2.3.2
712 * fc-cache/fc-cache.c: (scanDirs):
713 Fix a few minor leaks in error cases.
715 2005-04-23 Keith Packard <keithp@keithp.com>
720 * fontconfig/fontconfig.h:
721 Update for version 2.3.2
723 2005-04-21 Keith Packard <keithp@keithp.com>
725 * debian/fontconfig.postinst:
726 Don't force bitmap font enable in default
727 configuration; allows users to override this in
737 * debian/po/pt_BR.po:
738 * debian/po/templates.pot:
740 * debian/po/zh_CN.po:
743 * fc-cache/fc-cache.c: (main):
744 Destroy font configuration on exit to help valgrind
747 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
748 (FcFreeTypeCheckGlyph):
749 Use own transcoding routines in preference to iconv
750 which appears to have leaks in some translators.
751 Call iconv_close after using iconv (oops).
753 Prefer unicode encoding of Euro char as some
754 fonts mis-encode Euro in other ones.
756 Must fetch bitmap glyphs to get width values
757 to check for monospace/dual-width fonts.
759 2005-04-13 Ross Burton <ross@burtonini.com>
762 Check that a pattern isn't already frozen in FcPatternFreeze.
764 2005-03-31 Ross Burton <ross@burtonini.com>
769 Run all FcPattern objects through FcObjectStaticName, so that
770 compares can be done on pointers instead of strings (#2659)
772 2005-03-17 Tor Lillqvist <tml@novell.com>
774 * src/fontconfig.def.in: Add the .dll to the dll name.
776 2005-03-10 Keith Packard <keithp@keithp.com>
778 * debian/README.Debian:
779 Update to reflect configuration changes
781 * debian/fontconfig.postinst:
782 Fix Autohint vs Autohinter mistake
783 * debian/fontconfig.templates:
784 Adopt changes from Josselin Mouette for configuration descriptions
785 Update debian to version 2.3.1-2
787 2005-03-08 Keith Packard <keithp@keithp.com>
791 Update debian for 2.3.1
793 2005-03-09 Tor Lillqvist <tml@novell.com>
795 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
798 * src/fccfg.c (FcConfigFileExists): Check also drive letter
801 2005-03-08 Keith Packard <keithp@keithp.com>
805 * fontconfig/fontconfig.h:
808 2005-03-05 Keith Packard <keithp@keithp.com>
810 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
811 Include space and remove numbers from valid script tags.
812 This ensures that tags like 'lao ' work while rejecting
813 those which have any digits.
814 Eliminate a spurious debugging variable (len)
816 2005-03-05 Keith Packard <keithp@keithp.com>
818 * src/fcfreetype.c: (addtag), (GetScriptTags),
819 (FcFontCapabilities):
820 Rework GSUB/GPOS script parsing to survive broken fonts.
821 Thanks for the broken font go to Manish Singh
823 2005-03-05 Keith Packard <keithp@keithp.com>
828 * debian/fontconfig.config:
829 * debian/fontconfig.templates:
831 Include 2.3 release information in changelog
832 Add Josselin Mouette as an Uploader
833 Set hinting_type to low priority configuration option
836 * debian/fontconfig.postinst:
837 yes_bitmaps.conf -> yes-bitmaps.conf
843 2005-03-02 Keith Packard <keithp@keithp.com>
846 * conf.d/Makefile.am:
847 * conf.d/autohint.conf:
848 * conf.d/no-sub-pixel.conf:
849 * conf.d/sub-pixel.conf:
850 * conf.d/unhinted.conf:
851 * debian/autohint.conf:
852 * debian/fontconfig.install:
853 * debian/fontconfig.postinst:
854 * debian/fontconfig.templates:
855 * debian/no-sub-pixel.conf:
856 * debian/unhinted.conf:
857 Move debian-specific conf file examples upstream.
859 Sub-pixel configuration examples must smash subpixel value
860 as Xft always sets it from X.
862 Change sub-pixel rendering debconf descriptions from
863 Enable/Disable to Always/Never.
865 2005-03-02 Keith Packard <keithp@keithp.com>
870 Ignore more build detritus
873 Add debian package construction stuff.
875 * config/config.guess:
877 Update to newer versions of these tools
880 Get library manuals to build again (we love automake).
882 * debian/README.Debian:
883 * debian/autohint.conf:
888 * debian/fontconfig-udeb.install:
889 * debian/fontconfig.config:
890 * debian/fontconfig.defoma:
891 * debian/fontconfig.dirs:
892 * debian/fontconfig.install:
893 * debian/fontconfig.postinst:
894 * debian/fontconfig.postrm:
895 * debian/fontconfig.templates:
896 * debian/libfontconfig1-dev.install:
897 * debian/libfontconfig1.install:
898 * debian/local.conf.md5sum:
899 * debian/no-sub-pixel.conf:
900 * debian/po/POTFILES.in:
909 * debian/po/pt_BR.po:
910 * debian/po/templates.pot:
912 * debian/po/zh_CN.po:
914 * debian/unhinted.conf:
915 Update debian build system to switch maintainers and
916 deal with 2.3 functionality
918 2005-03-01 Keith Packard <keithp@keithp.com>
922 * fontconfig/fontconfig.h:
925 2005-03-01 Keith Packard <keithp@keithp.com>
928 Generate and install PDF versions of the manuals
930 * doc/fcpattern.fncs:
934 Add missing exported functions, fix data types
936 * doc/fontconfig-devel.sgml:
937 Add missing pattern elements.
939 * doc/fontconfig-user.sgml:
940 Add missing pattern elements. Document conf.d usage,
941 clarify available orthography list. Fix some config file
942 attributes. Complete list of constants.
944 * fontconfig/fontconfig.h:
945 Mark FC_SOURCE deprecated.
947 * src/fcfreetype.c: (FcFreeTypeQuery):
948 Don't set FC_SOURCE any longer.
950 2005-02-28 Keith Packard <keithp@keithp.com>
953 * conf.d/Makefile.am:
955 * conf.d/no-bitmaps.conf:
956 * conf.d/sub-pixel.conf:
957 * conf.d/yes-bitmaps.conf:
959 Create prototype /etc/fonts/conf.d directory with a few
960 sample configuration files.
961 Deprecate use of local.conf for local customizations in favor of
962 this directory based scheme which is more easily integrated into
963 installation systems.
966 Tag FC_EMBOLDEN as a boolean variable
968 2005-02-10 Keith Packard <keithp@keithp.com>
970 reviewed by: pborelli@katamail.com
972 * src/fcdir.c: (FcFileScanConfig):
973 Free patterns from fonts which are rejected by configuration
976 2005-01-28 Keith Packard <keithp@keithp.com>
980 * fontconfig/fontconfig.h:
981 Update for version 2.2.99
983 2005-01-28 Keith Packard <keithp@keithp.com>
986 Add a few pointers (#2284, #2285)
988 2005-01-28 Keith Packard <keithp@keithp.com>
991 * src/fcname.c: (FcNameBool):
992 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
993 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
994 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
995 Polite typechecking for test and edit expressions. Helps
996 catch errors in the font configuration. (bug 229)
998 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1000 reviewed by: Keith Packard <keithp@keithp.com>
1003 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1005 2005-01-13 Keith Packard <keithp@keithp.com>
1007 * doc/fontconfig-user.sgml:
1008 Add SEE ALSO section (bug 2085)
1010 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1012 reviewed by: Keith Packard <keithp@keithp.com>
1017 * fc-case/Makefile.am:
1018 * fc-glyphname/Makefile.am:
1019 * fc-lang/Makefile.am:
1020 * src/fontconfig.def.in:
1021 Cross compiling fixes (bug 280)
1023 2005-01-13 Keith Packard <keithp@keithp.com>
1026 Update blanks list (Closes bug 86)
1028 2005-01-04 Keith Packard <keithp@keithp.com>
1030 * src/fccache.c: (FcCacheFontSetAdd):
1031 Verify that every font pattern loaded from cache has
1032 both FC_FILE and FC_FAMILY entries.
1033 Attempt to fix bug #2219.
1035 2004-12-29 Keith Packard <keithp@keithp.com>
1039 * fontconfig/fontconfig.h:
1040 Update for version 2.2.98
1042 2004-12-29 Keith Packard <keithp@keithp.com>
1044 * fontconfig/fontconfig.h:
1045 Document ASCII limitations of Fc character conversion macros
1046 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1047 Fix off-by-one error in utf-8 case walking code.
1048 Add FcStrDowncase (useful for testing case conversion functions)
1050 2004-12-29 Keith Packard <keithp@keithp.com>
1053 * fc-case/.cvsignore:
1054 clean up CVS ignore lists
1055 * fc-lang/iso-3166.txt:
1056 Add territory database
1058 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1060 Reviewed by: Keith Packard
1063 Remove Han characters from Korean orthography
1065 2004-12-29 Keith Packard <keithp@keithp.com>
1068 Reorder utility programs to make sure fc-case is run before fc-lang
1069 as fc-lang uses fcstr.c which uses fccase.h
1073 2004-12-29 Keith Packard <keithp@keithp.com>
1076 Adopt some RedHat suggestions for standard font configuration.
1080 * fc-case/CaseFolding.txt:
1081 * fc-case/Makefile.am:
1082 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1083 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1084 (dump), (parseRaw), (caseFoldReadRaw), (main):
1085 * fc-case/fccase.tmpl.h:
1086 Add new helper program 'fc-case' to construct case folding
1087 tables from standard Unicode CaseFolding.txt file
1090 * src/fclist.c: (FcListValueHash):
1091 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1092 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1093 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1094 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1095 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1096 Re-implement case insensitive functions with Unicode
1097 aware versions (including full case folding mappings)
1099 2004-12-13 Keith Packard <keithp@keithp.com>
1101 reviewed by: Owen Taylor <otaylor@redhat.com>
1103 * src/fcmatch.c: (FcFontSetSort):
1104 I changed FcFontSetSort to respect the generic aliases better
1105 in the face of language matching.
1107 What I did was to ammend the strict sort order used by FcFontSort so
1108 that it 'satisfies' the language specified in the pattern by locating
1109 the best matching font supporting each pattern language and then
1110 ignores language in the remaining fonts for purposes of matching.
1112 So, when asking for 'sans:lang=en', you'll get an English font first,
1113 and then the remaining fonts sorted with respect to the 'sans' alias
1114 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1116 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1118 reviewed by: Keith Packard <keithp@keithp.com>
1120 * fontconfig/fontconfig.h:
1123 Configuration changes to request synthetic emboldening of
1124 fonts. The actual emboldening code will live in Xft.
1126 2004-12-09 John Thacker <thacker@math.cornell.edu>
1128 reviewed by: Keith Packard <keithp@keithp.com>
1132 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1133 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1134 и), and don't even appear in KOI8-R. (The hypothesis that they
1135 don't appear in KOI8-R due to their similarity with Latin I and i is
1136 eliminated by their presence in KOI8-U.) I have a couple of fonts
1137 with Russian support that don't have the letter.
1139 Therefore, 0406 and 0456 should be removed from or commented out of
1142 2004-12-06 michael meeks <mmeeks@novell.com>
1144 Reviewed by: Keith Packard <keithp@keithp.com>
1146 * src/fcinit.c: (FcMemReport):
1148 * src/fclist.c: (FcObjectSetAdd):
1149 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1150 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1151 * src/fcxml.c: (FcParsePatelt):
1152 memoize strings and share a single copy for all uses. Note that
1153 this could be improved further by using statically allocated blocks
1154 and gluing multiple strings together, but I'm basically lazy.
1155 In my environment with 800 font files, I get a savings of about 90KB.
1157 2004-12-06 Keith Packard <keithp@keithp.com>
1161 * config/Makedefs.in:
1164 * doc/fcatomic.fncs:
1165 * doc/fcblanks.fncs:
1166 * doc/fccharset.fncs:
1167 * doc/fcconfig.fncs:
1168 * doc/fcconstant.fncs:
1170 * doc/fcfontset.fncs:
1171 * doc/fcfreetype.fncs:
1173 * doc/fcmatrix.fncs:
1174 * doc/fcobjectset.fncs:
1175 * doc/fcobjecttype.fncs:
1176 * doc/fcpattern.fncs:
1177 * doc/fcstring.fncs:
1178 * doc/fcstrset.fncs:
1180 * doc/fontconfig-devel.sgml:
1181 * doc/fontconfig-user.sgml:
1183 * doc/version.sgml.in:
1184 * fc-cache/Makefile.am:
1185 * fc-cache/fc-cache.c:
1186 * fc-glyphname/Makefile.am:
1187 * fc-glyphname/fc-glyphname.c:
1188 * fc-glyphname/fcglyphname.tmpl.h:
1189 * fc-lang/Makefile.am:
1199 * fc-lang/az_ir.orth:
1233 * fc-lang/fc-lang.c:
1234 * fc-lang/fc-lang.man:
1235 * fc-lang/fclang.tmpl.h:
1280 * fc-lang/ku_ir.orth:
1313 * fc-lang/ps_af.orth:
1314 * fc-lang/ps_pk.orth:
1343 * fc-lang/ti_er.orth:
1344 * fc-lang/ti_et.orth:
1370 * fc-lang/zh_cn.orth:
1371 * fc-lang/zh_hk.orth:
1372 * fc-lang/zh_mo.orth:
1373 * fc-lang/zh_sg.orth:
1374 * fc-lang/zh_tw.orth:
1376 * fc-list/Makefile.am:
1377 * fc-list/fc-list.c:
1378 * fc-match/Makefile.am:
1379 * fc-match/fc-match.1:
1380 * fc-match/fc-match.c:
1381 * fontconfig/fcfreetype.h:
1382 * fontconfig/fcprivate.h:
1383 * fontconfig/fontconfig.h:
1404 Change files from ISO-Latin-1 to UTF-8
1406 2004-12-04 Keith Packard <keithp@keithp.com>
1409 Update links to new freedesktop.org locations
1411 Add uninstall-local to get rid of fonts.conf and local.conf if they
1412 match the distributed versions. Fixes 'make distcheck'
1414 2004-12-04 Keith Packard <keithp@keithp.com>
1418 * fontconfig/fontconfig.h:
1419 Updates for version 2.2.97
1421 2004-12-04 Owen Taylor <otaylor@redhat.com>
1423 reviewed by: Keith Packard <keithp@keithp.com>
1425 * fc-cache/fc-cache.c: (main):
1426 Sleep for two seconds before exiting to make sure timestamps
1427 for future changes have distinct mod times in the file system.
1430 Add Punjabi orthography. Bug #1671.
1432 2004-12-04 Keith Packard <keithp@keithp.com>
1435 Just remove the FC_FONTDATE -- it has locale issues and
1436 annoys redhat multi-arch installs. Now that all X fonts are
1437 included without prejudice, the chances of the date being at
1438 all interesting are rather limited. Bug #505.
1440 Add copyright and license
1442 2004-12-04 Keith Packard <keithp@keithp.com>
1445 Change default set of fonts to include all of
1446 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1447 * doc/fontconfig-user.sgml:
1448 Document new <include>directory-name</include> semantics
1450 add <include ignore_missing="yes">conf.d</include>
1452 Add selectfont to ignore bitmap fonts, add comment for
1453 selectfont which accepts bitmap fonts.
1456 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1457 Allow <include> configuration elements to reference directories.
1458 Parse and load all files of the form [0-9]* in sorted order.
1460 2004-12-04 Keith Packard <keithp@keithp.com>
1463 Report command line for $srcdir/configure accurately.
1466 2004-12-04 Keith Packard <keithp@keithp.com>
1468 * src/fcfreetype.c: (FcFreeTypeQuery):
1469 Check for non-empty face->family_name and face->style_name
1470 before using those for the font. Empty names match everything.
1473 2004-12-04 Keith Packard <keithp@keithp.com>
1476 * fontconfig/fontconfig.h:
1477 * src/fcfreetype.c: (FcFreeTypeQuery):
1479 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1480 available. This provides font file format information (BDF, Type 1,
1481 PCF, TrueType) for each font. Closes #109.
1483 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1485 reviewed by: Keith Packard <keithp@keithp.com>
1487 * doc/fontconfig-user.sgml:
1490 * fontconfig/fontconfig.h:
1491 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1492 (GetScriptTags), (FcFontCapabilities):
1494 Add detection for font capabilities (bug #105)
1496 2004-12-04 Keith Packard <keithp@keithp.com>
1499 Move existing fonts.conf to fonts.conf.bak
1502 Add detection of iconv
1504 * doc/fcpattern.fncs:
1505 * doc/fontconfig-devel.sgml:
1506 * doc/fontconfig-user.sgml:
1508 Document new selectfont elements
1511 Switch to UTF-8 in comment
1513 * fontconfig/fontconfig.h:
1515 Add fullname, and family/style/fullname language entries
1517 * src/fccache.c: (FcCacheFontSetAdd):
1518 * src/fcdir.c: (FcFileScanConfig):
1519 Respect selectfont/*/glob
1522 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1523 (FcConfigCompareValue), (FcConfigPatternsAdd),
1524 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1525 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1526 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1527 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1528 Add support for selectfont
1530 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1531 (FcStringInPatternElement), (FcFreeTypeQuery):
1532 Add multi-lingual family/style/fullname support
1534 * src/fclist.c: (FcListPatternMatchAny):
1535 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1537 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1538 (FcObjectStaticName):
1539 Add new FcPatternRemove/FcPatternAppend.
1540 FcObjectStaticName stores computed pattern element names which
1541 are required to be static.
1543 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1548 Remove spurious / after $(DESTDIR)
1550 2004-06-30 Keith Packard <keithp@keithp.com>
1554 * fontconfig/fontconfig.h:
1557 2004-06-30 Keith Packard <keithp@keithp.com>
1559 Provided by: Lubos Lunak <l.lunak@suse.cz>
1561 * src/fccfg.c: (FcConfigUptoDate):
1562 However FcConfigUptoDate() doesn't seem to work. See the attached
1563 patch. First there's an obvious misplaced parenthesis making it
1564 return always false, and second, even this call fails to detect font
1565 changes (e.g. adding a new font to
1566 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1567 well. The problem seems to be triggered by my fonts.conf specifying
1568 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1569 doesn't include subdirs, unlike config->fontDirs.
1571 2004-06-03 Keith Packard <keithp@keithp.com>
1573 * fontconfig/fontconfig.h:
1574 Remove comma at end of FcResult enum definition.
1576 2004-05-29 Keith Packard <keithp@keithp.com>
1579 Add steps to md5sum release
1581 2004-05-29 Keith Packard <keithp@keithp.com>
1585 * fontconfig/fontconfig.h:
1588 2004-05-29 Keith Packard <keithp@keithp.com>
1590 * fontconfig/fontconfig.h:
1591 * src/fcmatch.c: (FcFontSetMatch):
1592 Add FcResultOutOfMemory to provide an accurate error when
1593 FcFontSetMatch fails in this way
1596 Make #warning about lacking various FreeType features indicate
1597 which version those features appeared so users know how to
1598 fix the problem (Thanks to Anton Tropashko)
1600 2004-05-05 Keith Packard <keithp@keithp.com>
1602 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1603 Replace MIN/MAX/ABS macros which happen to have come
1604 from FreeType with fontconfig-specific ones (FC_*)
1606 2004-04-23 Keith Packard <keithp@keithp.com>
1609 Extend release preparation instructions to include
1610 notification and distribution steps
1612 2004-04-23 Keith Packard <keithp@keithp.com>
1616 * fontconfig/fontconfig.h:
1617 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1619 2004-04-23 Keith Packard <keithp@keithp.com>
1622 Ignore a few more autotool files
1624 2004-04-14 Keith Packard <keithp@keithp.com>
1627 Add instructions for doing a release
1629 * fontconfig.spec.in:
1630 clean up .spec file; perhaps this will be useful to somebody...
1634 * fontconfig/fontconfig.h:
1637 * fc-lang/fc-lang.c:
1638 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1640 * fc-glyphname/Makefile.am:
1641 * fc-lang/Makefile.am:
1642 * fc-list/Makefile.am:
1643 * fc-match/Makefile.am:
1645 Add WARN_CFLAGS to pass -W flags for GCC systems
1647 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1648 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1649 Change various char types around to match across
1651 Fixed bug in using available_sizes[i].height which
1652 is in pixels, not 64ths of a pixel.
1654 2004-03-06 Keith Packard <keithp@keithp.com>
1656 * src/fcfreetype.c: (FcFreeTypeQuery):
1657 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1658 matches looking for explicit values prefer exact matches
1660 2004-03-02 Keith Packard <keithp@keithp.com>
1662 Supplied by: mfabian@suse.de (Mike FABIAN)
1664 * src/fcfreetype.c: (FcFreeTypeQuery):
1665 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1666 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1668 2004-02-21 Manish Singh <yosh@gimp.org>
1670 * fc-glyphname/fc-glyphname.c: (main):
1671 Cast strlen to int for printf, so we're 64-bit clean.
1673 2004-02-11 Keith Packard <keithp@keithp.com>
1676 * src/fcfreetype.c: (FcGetPixelSize):
1677 Ok, so I messed up the test for y_ppem. Let's see if I
1678 got it right this time.
1680 2004-02-10 Keith Packard <keithp@keithp.com>
1683 * src/fcfreetype.c: (FcGetPixelSize):
1684 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1685 FT_Bitmap_Size record. Add a configure.in test for this
1686 and change the code accordingly (using height instead).
1688 2004-02-06 Keith Packard <keithp@keithp.com>
1691 Add Low Saxon orthography
1692 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1694 * src/fccfg.c: (FcConfigNewestFile):
1695 Oops. Left 'newest.set' unset, which would miscompute
1698 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1699 (FcFreeTypeCheckGlyph):
1700 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1701 font properties (which report the wrong value in current FreeType)
1703 Don't attempt to check for empty glyphs in non-scalable fonts; they
1706 2004-02-01 Tor Lillqvist <tml@iki.fi>
1708 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1709 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1710 cache if config->cache is NULL, which happens if FcConfigHome() is
1711 NULL. Guard against that by using the temp folder in that case.
1713 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1715 * fc-lang/az_ir.orth:
1716 * fc-lang/ku_ir.orth:
1717 * fc-lang/ps_af.orth:
1718 * fc-lang/ps_pk.orth:
1719 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1720 (Afghan and Pakistani).
1722 Updated Urdu orthography with real data.
1724 2003-12-11 Carl Worth <cworth@east.isi.edu>
1726 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1729 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1731 (all-local): Remove excessive whitespace.
1733 * autogen.sh: Add 'set -e' to abort when any program fails,
1734 (avoids printing of 'now type make' after configure aborts).
1736 2003-11-17 Eric Christopherson <rakko@charter.net>
1738 reviewed by: Keith Packard <keithp@keithp.com>
1741 * fontconfig/fcfreetype.h:
1743 Switch to FreeType 2.1.7 style includes. Bug #150.
1745 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1747 * fc-list/fc-list.sgml: Add some example usages.
1749 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1752 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1755 2003-10-27 Keith Packard <keith@keithp.com>
1758 * fontconfig/fontconfig.h:
1759 Update to version 2.2.92
1761 2003-10-27 Keith Packard <keithp@keithp.com>
1766 * fc-cache/Makefile.am:
1767 * fc-glyphname/Makefile.am:
1768 * fc-lang/Makefile.am:
1769 * fc-list/Makefile.am:
1770 * fc-match/Makefile.am:
1773 Yet more cleanups to finish getting 'make distcheck' working
1774 This has been tested to ensure that it even works from a _build
1777 2003-10-26 Keith Packard <keithp@keithp.com>
1781 * fc-cache/Makefile.am:
1782 * fc-glyphname/Makefile.am:
1783 * fc-lang/Makefile.am:
1784 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1785 * fc-list/Makefile.am:
1786 * fc-match/Makefile.am:
1787 Attempts to fix 'make distcheck' work. Things are
1788 progressing pretty well, but there are still failures
1789 long into the process dealing with docs (as always).
1791 The big changes here are mostly to make $(srcdir) != "."
1792 work correctly, fixing the docbook related sections and
1793 fc-lang were particularily tricky. Docbook refuses to load
1794 system entities from anywhere other than where the original .sgml
1795 file was located, so no luck looking in "." for the
1796 configure-generated version.sgml and confdir.sgml files.
1798 fc-lang needed help finding .orth files; added a -d option
1799 to set the directory as the least evil of many options.
1801 Now to go use a faster machine and try and wring out the last
1804 2003-10-26 Keith Packard <keithp@keithp.com>
1808 2003-10-26 Keith Packard <keithp@keithp.com>
1811 Include confdir.sgml.in in EXTRA_DIST
1813 2003-10-09 Josselin Mouette <joss@debian.org>
1815 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1816 * fc-list/fc-list.sgml fc-list/Makefile.am:
1817 Replace fc-cache and fc-list manpages with more detailed, SGML
1820 2003-09-23 Owen Taylor <otaylor@redhat.com>
1822 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1823 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1824 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1827 2003-09-23 Owen Taylor <otaylor@redhat.com>
1829 * fc-lang/ka.orth: Remove Georgian capitals, they
1830 aren't used for normal writing. (Bug #116)
1832 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1834 * doc/fontconfig-devel.sgml:
1835 * doc/fontconfig-user.sgml:
1836 * fontconfig/fontconfig.h:
1838 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1839 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1841 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1842 monospace and dual-width fonts, allow roughly a 3% variance in the
1845 2003-08-31 Manish Singh <yosh@gimp.org>
1847 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1850 2003-08-15 Carl Worth <cworth@isi.edu>
1852 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1853 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1855 * src/fcpat.c (FcValueListEntDestroy): New function to support
1856 FcFini memory cleanup. Some statistics are not kept in
1858 (FcValueListFreeze): Move hashTable outside this function so it
1859 can be accessed by FcValueListThawAll.
1860 (FcValueListThawAll): New function complements FcValueListFreeze.
1861 (FcPatternBaseFreeze): Move hashTable outside this function so it
1862 can be accessed by FcPatternBaseThawAll.
1863 (FcPatternBaseThawAll): New function complements
1864 FcPatternBaseFreeze.
1865 (FcPatternThawAll): New function complements FcPatternFreeze.
1867 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1869 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1870 allocated FcCharLeafEnt "blocks" so they can be freed later.
1871 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1872 can be accessed by FcCharSetThawAllLeaf.
1873 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1874 (FcCharSetFreezeBase): Move hashTable outside this function so it
1875 can be accessed by FcCharSetThawAll.
1876 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1878 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1879 (FcConfigDestroy): Fic leak of FcBlanks.
1881 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1882 (main): Add call to FcFini when finished.
1884 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1885 static. Add prototypes.
1887 * doc/fcinit.fncs: Add documentation for FcFini function.
1889 * doc/edit-sgml.c: Mark several local functions as static. Add
1892 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1894 2003-06-15 Tor Lillqvist <tml@iki.fi>
1896 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1897 before comparing (needed on Windows).
1899 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1901 2003-06-13 Tor Lillqvist <tml@iki.fi>
1903 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1906 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1907 WINDOWSFONTDIR token.
1909 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1910 end, not to confuse libtool, which expects the EXPORTS line to be
1911 the first. Add FcConfigEnableHome.
1913 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1914 built as a DLL on Win32.
1916 2003-06-09 Keith Packard <keithp@keithp.com>
1918 * Tag version 2.2.90
1920 2003-06-09 Keith Packard <keithp@keithp.com>
1922 * Optimization in FcLangSetIndex was broken, occasionally
1923 returning a pointer to the wrong location on miss
1925 * Add fc-match to test font matching from the command line.
1927 2003-05-31 Keith Packard <keithp@keithp.com>
1929 * (Bug 85) add support for culmus fonts
1930 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1931 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1933 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1935 * Fix "contains" op for strings and langsets.
1937 2003-05-17 Keith Packard <keithp@keithp.com>
1939 * Fix build error with BDF prop local. Free langset after query
1941 2003-05-14 Keith Packard <keithp@keithp.com>
1943 * Extract spacing from XLFD atom
1945 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1947 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1948 disappeared in 1.30.
1950 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1952 2003-05-12 Keith Packard <keithp@keithp.com>
1954 * Use FcIsWidth to share code
1956 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1957 misclassifying some Han fonts as monospaced.
1959 2003-05-07 Keith Packard <keithp@keithp.com>
1961 * Add filename-based accept/reject to ammend available fonts.
1963 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1964 older FreeType releases.
1966 2003-05-06 Keith Packard <keithp@keithp.com>
1968 * Remove 0b82 and Tamil numbers from tamil
1969 orthography (Jungshik Shin <jshin@mailaps.org>)
1971 2003-05-04 Keith Packard <keithp@keithp.com>
1973 + Map glyph names in fonts with adobe custom encoding to unicode
1975 2003-05-02 Keith Packard <keithp@keithp.com>
1977 * Add FC_WEIGHT_BOOK as weight 75
1979 2003-04-30 Keith Packard <keithp@keithp.com>
1981 * Typo in bitstream foundry name
1983 2003-04-24 Keith Packard <keithp@keithp.com>
1985 * Eliminate italic_angle check for PS fonts
1987 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1989 * Getting closer to fixing /etc/fonts hard-coding.
1991 2003-04-22 Keith Packard <keithp@keithp.com>
1993 * Update autogen.sh to work with newer automake versions
1994 * Handle pattern elements moving during multiple edits
1996 2003-04-23 James Henstridge <james@daa.com.au>
1998 * doc/fontconfig-devel.sgml: close the <para> element.
2000 * doc/fcpattern.fncs: close the <para> element.
2002 * doc/func.sgml: close the <refsynopsisdiv> element.
2004 2003-04-22 Keith Packard <keithp@keithp.com
2006 * Update autogen.sh to work with newer automake versions
2007 * Handle pattern elements moving during multiple edits
2009 2003-04-17 Colin Walters <walters@debian.org>
2011 + Remove some unused variables, and initialize some other ones so
2012 gcc doesn't warn us.
2014 2003-04-16 Keith Packard <keithp@keithp.com>
2016 + tag version 2.1.94
2018 2003-04-16 Keith Packard <keithp@keithp.com>
2020 + add BDF property fetching support for foundry
2021 (from Juliusz Chroboczek)
2022 + add BDF property fetching support for width
2024 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2026 + Implemented foundry generation for Type 1 and TrueType
2028 2003-04-11 Gerard Escalante <g2@magestudios.net>
2030 + Retrieve information from Type1 FontInfo dictionaries
2032 2003-04-07 Colin Walters <walters@verbum.org>
2034 + src/Makefile.am: Fix dummy makefile target names when
2035 MS_LIB_AVAILABLE isn't set.
2037 2003-03-22 Tor Lillqvist <tml@iki.fi>
2039 Changes for Windows:
2041 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2043 + We don't want to hardcode the fonts.conf file location in the
2044 DLL, so we look up the DLL location at run-time in a DllMain()
2045 function. The fonts.conf location is deduced from that.
2047 + The colon can't be used as path separator on Windows,
2048 semicolon is used instead. File path components can be separated
2049 with either slash or backslash. Absolute paths can also begin
2050 with a drive letter.
2052 + Add internal function FcStrLastSlash that strrchr's the last
2053 slash, or backslash on Windows.
2055 + There is no link() on Windows. For atomicity checks, mkdir a
2056 lock directory instead.
2058 + In addition to HOME, also look for USERPROFILE.
2060 + Recognize the special font directory token WINDOWSFONTDIR, to
2061 use the system's font directory.
2063 + Remove the fontconfig-def.cpp that was obsolete. Add
2064 fontconfig.def(.in), without internal functions.
2066 + Add a fontconfig-zip(.in) script, used to build a binary
2069 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2070 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2071 to main package and man3/* to devel package
2073 + Added missing defattr(-, root, root) to main RPM package
2075 + Added HTML and text development documentation to -devel subpackage
2077 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2078 + Added back the configure macro options --disable-docs, otherwise
2079 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2080 version number) unconditionally, causing RPM to fail the build due
2081 to _unpackaged_files_terminate_build. We pick up the pregenerated
2082 docs with %doc already.
2084 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2085 + Removed commented out rpm macro define at top of spec file,
2086 replacing it with a simple explanation, since rpm macros are
2087 expanded by rpm even in comments.
2089 + Changed /usr/bin to _bindir in BuildRequires lines
2091 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2093 + Reorganized file manifest lists
2095 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2097 + fontconfig.spec.in: Improvements from Red Hat spec file.
2099 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2101 + docs/*.sgml: SGML fixes.
2103 Sat Mar 1 17:28:53 PST 2003 keithp
2104 + Ok, so the ChangeLog is a bit out of date
2106 + Lots of bugs fixed; most are in bugzilla, the
2107 biggest problems were in cache management where
2108 Owen discovered the library would lose badly when
2109 combining fonts-cache and ~/.fonts-cache data
2111 + Converted from autoconf to automake. This after
2112 getting patches accepted into libtool to allow
2113 the '-version-number' argument which lets
2114 packages set version numbers explicitly rather
2115 than the roundabout libtool way
2117 + Converted documentation to SGML using the docbook
2118 DTD. Now .txt and .html documents are installed
2119 in /usr/share/doc/fontconfig and there's no
2120 man page. Perhaps a man version can be written
2123 Sat Aug 31 15:21:22 PDT 2002 keithp
2124 + Xrender and Xft had several bugs related to
2125 rendering manually placed or poly-face text
2127 + Added more complete memory tracing in fontconfig
2128 Checked with (patched) mozilla and found no leaks
2130 + Updated Latin orthographies by comparing those from
2131 evertype.com with those from eki.ee. Tried to make
2132 sensible choices, including chars that occured in both
2133 and leaving some optional chars out that occured only
2136 Mon Aug 26 16:33:04 PDT 2002 keithp
2137 + Owen discovered that FcLangSetHasLang wasn't actually
2138 checking the language set.
2140 Mon Aug 26 13:37:23 PDT 2002 keithp
2141 + Append a version number to cache filenames
2143 Thu Aug 22 11:36:18 PDT 2002 keithp
2145 + Add "contains" and "not_contains" operators and elements to
2148 + Changed semantics of eq operator for LangSets to check for
2149 FcLangEqual so that any match will do
2151 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2152 of FcValueEqual to check for identical values when inserting into
2153 the results. This broke when the above semantic change was made,
2154 now it uses FcValueEqual which is "more correct" in any case.
2156 Thu Aug 22 00:32:29 PDT 2002 keithp
2158 + Reimplement FC_LANG as new datatype. Lists of strings
2159 was consuming over a megabyte of memory for 401 fonts.
2161 + Freeze patterns loaded from cache files. This shares
2162 common value lists and common patterns which saves
2163 considerable memory.
2165 + Change the denotation of 'constant' charsets to use special
2166 ref value instead of separate boolean.
2168 + Clean up leak tracing stuff, found several unannoted alloc/free
2171 Tue Aug 20 16:17:37 PDT 2002 keithp
2173 + Fix memory leak when parsing matrices from XML
2175 Mon Aug 19 11:57:27 PDT 2002 keithp
2177 + Fix autoconf files to pass FONTCONFIG_PATH on
2178 compile line so that ${prefix} gets substituted
2181 + Use getc_unlocked/putc_unlocked on systems that
2182 provide them to avoid damage done to stdio by posix
2184 + Eliminate FC_PATTERN and FcTypePattern in favor of
2185 an extended api for FcConfigSubstitute which takes
2186 both the font and the pattern.
2188 + Add 'sans serif' alias for 'sans-serif' as some apps
2189 can't handle hyphens in family names
2191 + Eliminate pretense of support for libxml2
2193 + Comment origins of Han orthographies
2195 Tue Jul 30 18:37:09 PDT 2002 keithp
2197 + Add binding property to edit element so that strong
2198 binding values may be inserted by the config file.
2199 The default remains weak.
2201 Sun 28 Jul 04:16:55 PDT 2002 keithp
2203 + Tagged release candidate 1 in the CVS tree and
2204 placed fcpackage.rc1.tar.gz for distribution
2206 Thu Aug 1 08:55:08 PDT 2002 keithp
2208 + Fixed autoconf builds to always specify install
2209 target files (for BSD). Also fixed to
2210 define FONTCONFIG_PATH in config.h so that
2211 nonstandard installs will actually work.