1 2005-12-07 Patrick Lam <plam@mit.edu>
2 * src/fcpat.c (FcPatternAddString):
4 Because we've changed FcPatternAddString to use FcStrStaticName
5 and not FcValueSave, explicitly handle the case of a null string.
7 2005-12-06 Patrick Lam <plam@mit.edu>
8 * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
12 2005-12-05 Patrick Lam <plam@mit.edu>
13 * src/fcname.c (FcNameGetObjectType):
15 Don't assign types to user object names.
17 2005-12-05 Patrick Lam <plam@mit.edu>
18 * src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):
20 Don't free strings that have been returned from FcStrStaticName.
22 2005-12-01 Patrick Lam <plam@mit.edu>
23 * fc-cat/fc-cat.c (FcCacheGlobalFileReadAndPrint, main):
25 Add codepath for reading global cache files as well.
27 2005-12-01 Behdad Esfahbod <behdad@cs.toronto.edu>
30 * conf.d/10-fonts.persian.conf:
33 Add config file for Persian fonts from Sharif FarsiWeb, Inc.
35 2005-11-30 Behdad Esfahbod <behdad@cs.toronto.edu>
38 * src/fcxml.c (FcConfigParseAndLoad):
40 Only add a config file to the set of config files once.
42 2005-11-29 Patrick Lam <plam@mit.edu>
43 * src/fcint.h (FcCacheBankToIndex);
45 Fix segfault by guarding array dereference.
47 2005-11-29 Dirk Mueller <dmueller@suse.de>
51 * src/fccache.c (FcDirCacheConsume, FcCacheHaveBank,
52 FcCacheBankToIndex, FcCacheBankToIndexMTF,
56 Refactor FcCacheBankToIndex into an inlineable part
57 (in fcint.h) which checks the front of the list and a
58 non-inlineable part which finds and moves the appropriate element
59 to the front of the list.
61 2005-11-29 Patrick Lam <plam@mit.edu>
62 * src/fccfg.c (FcConfigBuildFonts):
63 * src/fccache.c (FcCacheReadDirs):
65 Make the perf guys hate me a bit less: hoist the directory-name
66 FcConfigAcceptFont check for cached fonts up to directory cache
67 read time, rather than running it for each font.
69 2005-11-29 Patrick Lam <plam@mit.edu>
70 * src/fccfg.c (FcConfigBuildFonts):
72 * src/fcpat.c (FcPatternFindFullFname):
74 Don't make FcPatternFindFullFname available to fccfg, it's not
75 really safe. Instead go through FcPatternGetString (sorry,
76 perf guys.) Also, use globs for dirs as well.
78 2005-11-28 Patrick Lam <plam@mit.edu>
79 * src/fccfg.c (FcConfigBuildFonts):
83 2005-11-28 Patrick Lam <plam@mit.edu>
85 * src/fcpat.c (FcPatternFindFullFname):
86 * src/fccfg.c (FcConfigBuildFonts):
88 Fix problem dating back at least to 2.3.2 where globs weren't
89 being applied to patterns loaded from a cache.
91 2005-11-28 Patrick Lam <plam@mit.edu>
92 * doc/fontconfig-user.sgml:
94 Fix some obvious spelling mistakes.
96 2005-11-28 Dirk Mueller <dmueller@suse.com>
97 Stephan Kulow <coolo@suse.de>
100 * src/fcmatch.c (FcFontSetMatch):
102 Don't kill all fonts during match (oops!)
105 2005-11-25 Dirk Mueller <dmueller@suse.com>
106 Stephan Kulow <coolo@suse.de>
107 Michael Matz <matz@suse.de>
110 * src/fcmatch.c (FcObjectPtrToMatcher, FcCompareValueList,
113 Rewrite FcFontSetMatch to a path-finding based algorithm, i.e.
114 inline FcCompare into FcFontSetMatch and reorder the
115 loops, adding a boolean array which blocks patterns from future
116 consideration if they're known to not be best on some past
119 2005-11-26 Dirk Mueller <dmueller@suse.com>
122 * src/fcmatch.c (FcCompareValueList):
126 2005-11-25 Patrick Lam <plam@mit.edu>
127 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
129 Don't do random matching when bad objects are passed into
132 2005-11-25 Patrick Lam <plam@mit.edu>
134 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
135 FcPatternSerialize, FcPatternUnserialize,
136 FcValueListEnsureBank, FcValueListDistributeBytes,
137 FcValueListUnserialize):
139 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
140 _fcPatternElts, _fcValueLists for consistency.
142 2005-11-25 Dirk Mueller <dmueller@suse.com>
147 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
149 2005-11-25 Patrick Lam <plam@mit.edu>
151 * src/fccache.c (FcDirCacheConsume):
152 * src/fccharset.c (FcCharSetUnserialize):
153 * src/fcfs.c (FcFontSetUnserialize):
154 * src/fclang.c (FcLangSetUnserialize):
155 * src/fcname.c (FcObjectUnserialize):
156 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
157 FcPatternUnserialize):
159 Pass around FcCache *s to the Unserialize functions for extra
160 consistency (and less overhead, for what that's worth).
162 2005-11-24 Dirk Mueller <dmueller@suse.com>
166 * src/fcmatch.c (FcCompare*, FcFontSetSort):
167 * src/fcname.c (FcNameUnparseValue):
169 Inline the *PtrU functions to gain perf.
170 Remove unneeded params for the FcCompare* functions.
172 2005-11-24 Dirk Mueller <dmueller@suse.com>
175 * src/fcint.h, fontconfig/fontconfig.h:
177 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
179 * src/fcpat.c, src/fcint.h, src/fcname.c:
181 Check for type validity during FcPatternAddWithBinding, don't
182 verify type in FcFontMatch, don't call FcCanonicalize here
183 (which always does a deep copy).
185 2005-11-24 Dirk Mueller <dmueller@suse.com>
188 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
189 * src/fcpat.c (FcPatternAddWithBinding):
191 Make FcCompareString and FcCompareFamily less expensive.
192 Only add a value for FC_FAMILY if the proposed value is a string.
194 2005-11-24 Dirk Mueller <dmueller@suse.com>
197 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
198 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
199 * src/fcint.h (FcDebug):
201 Inline FcDebug invocations and only initialize once, in FcInit*.
202 Improve debug msg in FcPatternPrint.
204 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
207 * fontconfig/fontconfig.h:
210 Minor code warning cleanups.
212 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
215 * fc-match/fc-match.c (main):
217 Make getopt_long accept -s parameter to fc-match as well.
219 2005-11-21 Dirk Mueller <dmueller@suse.com>
222 * src/fcmatch.c (FcCompareValueList):
224 Manually perform inlining & partial redundancy elimination to
225 reduce calls to FcValueListPtrU.
227 2005-11-21 Dirk Mueller <dmueller@suse.com>
230 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
231 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
233 Only invoke strlen() when really necessary.
235 2005-11-19 Matthias Clasen <mclasen@redhat.com>
239 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
244 Get rid of the use of freetype internal headers in fcfreetype.c,
245 since those headers will go away with freetype 2.2. Replace with
246 public domain ftglue code from pango. Note that the patch removes
247 some extra error checking in FT_Get_BDF_Property() and comments
248 out the skipping of empty pcf fonts.
250 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
253 * fc-lang/fc-lang.c (main):
255 Further fix of patch from 2005-11-04: miscounted numbers count
256 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
257 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
259 Removed leafidx_count and numbers_count since they are the same
260 and replaced them with offset_count.
262 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
265 * fc-cat/fc-cat.c (main):
267 Don't crash when fc-cat invoked with no arguments.
269 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
272 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
274 Fix invalid read access caused by premature free and
275 GCC4 warnings in libxml2 codepath.
277 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
280 * src/fccfg.c (FcConfigValues):
282 List iteration not needed in FcConfigValues, since it's building
283 up the list itself; we can just strip FcVoid elements during
286 2005-11-17 Patrick Lam <plam@mit.edu>
287 * src/fccfg.c (FcConfigValues):
289 Fix crash on invalid constants in config files (forgot to update
290 a pointer upon list iteration.)
292 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
295 * src/fcxml.c (FcTypecheckExpr):
297 Complain about invalid constants in config files.
299 2005-11-17 Andreas Schwab <schwab@suse.de>
302 * src/fccache.c (FcGlobalCacheSave):
304 Don't add current_arch_start more than once.
306 2005-11-16 Patrick Lam <plam@mit.edu>
307 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
308 * src/fcfs.c (FcFontSetUnserialize):
309 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
310 * src/fcpat.c (FcStrUnserialize):
312 Fix ordering of ALIGN with respect to saving block_ptr; add
313 another ALIGN to fcfs.c.
315 2005-11-16 Patrick Lam <plam@mit.edu>
316 * src/fccache.c (FcDirCacheProduce)
318 Fix case where alignment bytes bumped up metadata->count
319 causing unwarranted failures to write cache files.
320 (Reported by Stephan Kulow).
322 2005-11-16 Patrick Lam <plam@mit.edu>
323 * src/fccache.c (FcDirCacheProduce):
324 * src/fccharset.c (FcCharSetDistributeBytes):
325 * src/fcfs.c (FcFontSetDistributeBytes):
327 * src/fclang.c (FcLangSetDistributeBytes):
328 * src/fcname.c (FcObjectDistributeBytes):
329 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
332 Add *NeededBytesAlign(), which overestimates the padding which is
333 later added by the new ALIGN macro. Fix alignment problems on
334 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
335 version by Andreas Schwab).
337 2005-11-16 Stephan Kulow <coolo@kde.org>
342 Use sysconf to determine proper PAGESIZE value; this
343 appears to be POSIX-compliant. (reported by Andreas Schwab)
345 2005-11-04 Patrick Lam <plam@mit.edu>
351 Fix bug 2878 (excessive relocations at startup for charsets,
352 reported by Ross Burton): fc-lang/fc-lang now creates the
353 static form of the langset, not the dynamic form, so that
354 the charsets should now be in .rodata.
356 2005-11-04 Patrick Lam <plam@mit.edu>
357 * src/fcdir.c (FcDirScanConfig):
359 Add test for validity of directory caches that
360 somehow got lost (reported by make distcheck).
362 2005-11-04 Patrick Lam <plam@mit.edu>
366 * fontconfig/fontconfig.h:
368 Bump version to 2.3.92.
370 2005-11-02 Patrick Lam <plam@mit.edu>
371 * src/fcpat.c (FcPatternDuplicate):
373 Fix argument ordering problem in call to FcPatternTransferFullFname.
375 2005-11-02 Patrick Lam <plam@mit.edu>
376 * src/fcfreetype.c (FcFreetypeQuery):
377 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
378 FcPatternTransferFullFname):
380 Fix warnings and embarrassing double-free error.
382 2005-11-02 Zhe Su <zsu@novell.com>
387 Change the rule for artificial emboldening in fonts.conf.in. This
388 enables the support for artificial emboldening included in cairo.
390 2005-11-02 Patrick Lam <plam@mit.edu>
391 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
393 Don't zero out full names for FC_REF_CONSTANT fonts;
394 also, duplicate full names when transferring, and free
395 full names when freeing the associated font.
396 Reported by Jinghua Luo.
398 2005-11-02 Patrick Lam <plam@mit.edu>
399 * fc-cache/fc-cache.c (scanDirs):
400 * src/fcpat.c (FcValueListSerialize):
402 Revert the previous patch and commit the correct patch:
403 I forgot a canonicalization in FcValueListSerialize, so
404 that it would choke on already-serialized input files. Duh!
406 2005-11-02 Patrick Lam <plam@mit.edu>
407 * fc-cache/fc-cache.c (scanDirs):
409 Forcibly rescan a directory before writing a fresh local
410 cache file for that directory, fixing the losing-fonts
411 problem reported by Mike Fabian and also apparently the
412 font cache file corruption.
414 2005-11-02 Patrick Lam <plam@mit.edu>
415 * src/fccache.c (FcGlobalCacheLoad):
417 Fix thinko: actually, the whole global cache is stale
418 if the global cache is older than the (newest) config file.
420 2005-11-02 Patrick Lam <plam@mit.edu>
421 * src/fccache.c (FcGlobalCacheLoad):
422 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
425 Declare the global cache of a directory's contents to be stale if
426 the directory is newer than the (newest) configuration file.
428 2005-10-31 Patrick Lam <plam@mit.edu>
430 * src/fclist.c (FcListAppend):
431 * src/fcmatch.c (FcFontRenderPrepare):
432 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
433 FcPatternFreeze, FcPatternBaseFreeze):
435 Copy the full pathname whenever duplicating an FcPattern; otherwise,
436 applications continue breaking.
438 2005-10-31 Patrick Lam <plam@mit.edu>
439 * fc-cat/fc-cat.c (FcCacheFileRead, main):
440 * src/fcfreetype.c (FcFreeTypeQuery):
442 Fix small memory error (tried to free argv); use basename and
443 dirname correctly (they can modify their arguments).
445 2005-10-31 Patrick Lam <plam@mit.edu>
453 Reinstate basename patch, but keep a hash table linking FcPatterns
454 to their fully-qualified font names for clients' benefit. Clients
455 only pay for the font names once they request the FC_FILE property
456 from an FcPattern, but the font name is malloc'd at that point (i.e.
457 not mmapped: that's impossible, since it may vary between machines.)
458 Clients do have to pay for a copy of the path name per cache file.
460 Note that FcPatternGetString now does some rewriting if you ask
461 for an FC_FILE, appending the pathname as appropriate.
463 2005-10-31 Patrick Lam <plam@mit.edu>
464 * src/fcfreetype.c (FcFreeTypeQuery):
466 Revert basename patch, which breaks fontconfig clients on my system.
468 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
471 * fontconfig/fonts.conf.in:
472 * fontconfig/fontconfig.h:
476 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
477 to load embedded bitmaps or not.
479 2005-10-25 Patrick Lam <plam@mit.edu>
480 * src/fcfreetype.c (FcFreeTypeQuery):
482 Only add basename to patterns' FC_FILE element, not any part of
485 2005-10-22 Patrick Lam <plam@mit.edu>
488 Add some more consts, fixing more GCC4 warnings.
490 2005-10-22 Zhe Su <zsu@novell.com>
493 Support localized font family and style names.
494 This has been reported to break old apps like xfd, but modern
495 (gtk+/qt/mozilla) apps work fine.
497 2005-10-21 Patrick Lam <plam@mit.edu>
498 * src/fccache.c (FcGlobalCacheLoad):
500 Destroy the global cache file if it's terminally broken. (reported by
503 2005-10-21 Patrick Lam <plam@mit.edu>
504 * fc-list/fc-list.c (main):
505 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
506 * fontconfig/fontconfig.h:
508 Prevent fc-list from escaping strings when printing them (reported by
511 2005-10-20 Marcus Meissner <meissner@suse.de>
514 * fontconfig/fontconfig.h:
516 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
518 2005-10-14 Ross Burton <ross@burtonini.com>
521 * fc-glyphname/fc-glyphname.c:
524 Add consts to variables so as to move arrays into .rodata.
526 2005-10-14 Mike Fabian <mfabian@suse.de>
529 * src/fccache.c (FcDirCacheUnlink):
531 Check existence of directory cache file before attempting to unlink.
533 2005-10-13 Patrick Lam <plam@mit.edu>
534 * src/fccache.c (FcDirCacheUnlink):
536 Fix flipped return value on unlink. (Reported by Mike Fabian)
538 2005-10-12 Patrick Lam <plam@mit.edu>
541 * src/fcdir.c (FcDirScanConfig):
544 When fc-cache is run without --force, use directory cache files
545 to speed up fc-cache run time. (Reported by Mike Fabian)
547 2005-10-06 Patrick Lam <plam@mit.edu>
549 * src/fcname.c (FcObjectToPtr):
550 * src/fcpat.c (FcStrStaticName):
552 Add padding to make valgrind and glibc not hate each other
553 when calling strlen().
555 2005-10-05 Simos Xenitellis <simos74@gmx.net>
556 reviewed by: plam & keithp
560 Modify config file to use Greek fonts before Asian fonts with
563 2005-10-05 Christian Biesinger <cbiesinger@web.de>
564 reviewed by: plam & keithp
568 Use libtool -no-undefined flag on all platforms.
570 2005-10-05 Patrick Lam <plam@mit.edu>
571 * src/fccache.c (FcCacheHaveBank):
573 Implement move-to-front array for banks (perf regression
574 reported by Ronny V. Vindenes).
576 2005-10-04 Patrick Lam <plam@mit.edu>
577 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
578 FcDirCacheHasCurrentArch):
579 * fc-cache/fc-cache.c (scanDirs):
580 * fontconfig/fontconfig.h:
582 Add new API which unlinks directory caches and checks dir caches
583 for existence of appropriate sections. Fix fc-cache to unlink
584 stale cache files and save directory caches that lack relevant
587 2005-10-03 Patrick Lam <plam@mit.edu>
588 * src/fccache.c (FcDirCacheValid):
590 Ensure that a directory cache has the appropriate section
591 before reporting that it is valid (reported by Matthias Clasen).
593 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
601 Use libxml2 if requested (with --enable-libxml2) or if
602 expat is not available.
604 2005-09-29 Patrick Lam <plam@mit.edu>
605 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
607 Fix multi-arch cache files: compute the position for the
608 block to be added using info from OrigFile, not NewFile.
610 2005-09-28 Patrick Lam <plam@mit.edu>
611 * src/fccache.c (FcCacheMachineSignature):
613 Cast results of sizeof() to unsigned int to get rid of
614 warnings on x86_64 (thanks Matthias Clasen).
616 2005-09-27 Patrick Lam <plam@mit.edu>
617 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
620 Use FcAtomic to rewrite cache files.
622 2005-09-27 Patrick Lam <plam@mit.edu>
624 * src/fccache.c (FcDirCacheWrite):
626 Don't unlink the fonts.cache-2 file even if there's no data
627 to write; just write an empty cache file. (thanks Lubos Lunak)
629 2005-09-27 Patrick Lam <plam@mit.edu>
631 * src/fccache.c (FcDirCacheWrite):
633 Allocate room for the subdirectory names in each
634 directory cache. Thanks to James Cloos for finding
635 and diagnosing this bug!
637 2005-09-22 Patrick Lam <plam@mit.edu>
639 * fc-cache/fc-cache.sgml:
640 * src/fccache.c (FcDirCacheWrite):
641 * src/fccache.h (struct FcCache):
643 Update documentation -- fc-cache's man page now says that you
644 need to run fc-cache once per cached architecture; add some
645 documentation to the FcCache structure.
647 Make fc-cache write out fonts.cache-2 files for directories with
648 no fonts (i.e. only subdirectories).
650 2005-09-22 Patrick Lam <plam@mit.edu>
652 * fc-cache/fc-cache.sgml:
654 * fc-glyphname/fc-glyphname.c:
660 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
665 * fontconfig/fcprivate.h:
666 * fontconfig/fontconfig.h:
680 Implement new mmaped cache for font information.
681 Bump so revision to 2.3.90.
683 2005-07-25 Keith Packard <keithp@keithp.com>
685 * doc/fontconfig-user.sgml:
686 * fc-glyphname/fc-glyphname.c: (scan), (main):
687 * fc-lang/fc-lang.c: (FcConfigHome):
688 * fc-match/fc-match.c: (main):
689 * src/fccfg.c: (FcConfigHome):
690 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
691 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
692 (addtag), (FcFontCapabilities):
693 * src/fcpat.c: (FcValueListEntCreate):
694 * src/fcstr.c: (FcStrCaseWalkerInit):
695 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
697 Various GCC 4 cleanups for signed vs unsigned char
699 Match only [0-9]*.conf files in <include>{directory}</include>
700 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
702 2005-07-15 Carl Worth <cworth@cworth.org>
705 * src/fcinit.c: (FcFini):
706 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
709 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
710 Pull the FcObjectStateName hash table out to file scope, and add
711 FcObjectStaticNameFini so that FcFini will cleanup this hash table
714 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
717 2005-06-16 Patrick Lam <plam@MIT.EDU>
721 * src/fccfg.c: (FcConfigCompareValue):
722 Make FcOpNotContains use FcStrStr for strings so that
723 it matches semantics for !FcOpContains.
725 2005-05-20 Keith Packard <keithp@keithp.com>
729 Move fontconfig source package to libs as per override
731 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
733 reviewed by: Mike Fabian
736 The ka.orth file requires several characters which are not
737 used anymore in modern Georgian and which are missing in the free
738 Georgian TrueType fonts downloadable at:
740 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
742 2005-04-27 Keith Packard <keithp@keithp.com>
746 Update date to real 2.3.2 release date.
747 Fix change attributions
749 2005-04-27 Keith Packard <keithp@keithp.com>
752 Bump so revision for 2.3.2
753 * fc-cache/fc-cache.c: (scanDirs):
754 Fix a few minor leaks in error cases.
756 2005-04-23 Keith Packard <keithp@keithp.com>
761 * fontconfig/fontconfig.h:
762 Update for version 2.3.2
764 2005-04-21 Keith Packard <keithp@keithp.com>
766 * debian/fontconfig.postinst:
767 Don't force bitmap font enable in default
768 configuration; allows users to override this in
778 * debian/po/pt_BR.po:
779 * debian/po/templates.pot:
781 * debian/po/zh_CN.po:
784 * fc-cache/fc-cache.c: (main):
785 Destroy font configuration on exit to help valgrind
788 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
789 (FcFreeTypeCheckGlyph):
790 Use own transcoding routines in preference to iconv
791 which appears to have leaks in some translators.
792 Call iconv_close after using iconv (oops).
794 Prefer unicode encoding of Euro char as some
795 fonts mis-encode Euro in other ones.
797 Must fetch bitmap glyphs to get width values
798 to check for monospace/dual-width fonts.
800 2005-04-13 Ross Burton <ross@burtonini.com>
803 Check that a pattern isn't already frozen in FcPatternFreeze.
805 2005-03-31 Ross Burton <ross@burtonini.com>
810 Run all FcPattern objects through FcObjectStaticName, so that
811 compares can be done on pointers instead of strings (#2659)
813 2005-03-17 Tor Lillqvist <tml@novell.com>
815 * src/fontconfig.def.in: Add the .dll to the dll name.
817 2005-03-10 Keith Packard <keithp@keithp.com>
819 * debian/README.Debian:
820 Update to reflect configuration changes
822 * debian/fontconfig.postinst:
823 Fix Autohint vs Autohinter mistake
824 * debian/fontconfig.templates:
825 Adopt changes from Josselin Mouette for configuration descriptions
826 Update debian to version 2.3.1-2
828 2005-03-08 Keith Packard <keithp@keithp.com>
832 Update debian for 2.3.1
834 2005-03-09 Tor Lillqvist <tml@novell.com>
836 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
839 * src/fccfg.c (FcConfigFileExists): Check also drive letter
842 2005-03-08 Keith Packard <keithp@keithp.com>
846 * fontconfig/fontconfig.h:
849 2005-03-05 Keith Packard <keithp@keithp.com>
851 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
852 Include space and remove numbers from valid script tags.
853 This ensures that tags like 'lao ' work while rejecting
854 those which have any digits.
855 Eliminate a spurious debugging variable (len)
857 2005-03-05 Keith Packard <keithp@keithp.com>
859 * src/fcfreetype.c: (addtag), (GetScriptTags),
860 (FcFontCapabilities):
861 Rework GSUB/GPOS script parsing to survive broken fonts.
862 Thanks for the broken font go to Manish Singh
864 2005-03-05 Keith Packard <keithp@keithp.com>
869 * debian/fontconfig.config:
870 * debian/fontconfig.templates:
872 Include 2.3 release information in changelog
873 Add Josselin Mouette as an Uploader
874 Set hinting_type to low priority configuration option
877 * debian/fontconfig.postinst:
878 yes_bitmaps.conf -> yes-bitmaps.conf
884 2005-03-02 Keith Packard <keithp@keithp.com>
887 * conf.d/Makefile.am:
888 * conf.d/autohint.conf:
889 * conf.d/no-sub-pixel.conf:
890 * conf.d/sub-pixel.conf:
891 * conf.d/unhinted.conf:
892 * debian/autohint.conf:
893 * debian/fontconfig.install:
894 * debian/fontconfig.postinst:
895 * debian/fontconfig.templates:
896 * debian/no-sub-pixel.conf:
897 * debian/unhinted.conf:
898 Move debian-specific conf file examples upstream.
900 Sub-pixel configuration examples must smash subpixel value
901 as Xft always sets it from X.
903 Change sub-pixel rendering debconf descriptions from
904 Enable/Disable to Always/Never.
906 2005-03-02 Keith Packard <keithp@keithp.com>
911 Ignore more build detritus
914 Add debian package construction stuff.
916 * config/config.guess:
918 Update to newer versions of these tools
921 Get library manuals to build again (we love automake).
923 * debian/README.Debian:
924 * debian/autohint.conf:
929 * debian/fontconfig-udeb.install:
930 * debian/fontconfig.config:
931 * debian/fontconfig.defoma:
932 * debian/fontconfig.dirs:
933 * debian/fontconfig.install:
934 * debian/fontconfig.postinst:
935 * debian/fontconfig.postrm:
936 * debian/fontconfig.templates:
937 * debian/libfontconfig1-dev.install:
938 * debian/libfontconfig1.install:
939 * debian/local.conf.md5sum:
940 * debian/no-sub-pixel.conf:
941 * debian/po/POTFILES.in:
950 * debian/po/pt_BR.po:
951 * debian/po/templates.pot:
953 * debian/po/zh_CN.po:
955 * debian/unhinted.conf:
956 Update debian build system to switch maintainers and
957 deal with 2.3 functionality
959 2005-03-01 Keith Packard <keithp@keithp.com>
963 * fontconfig/fontconfig.h:
966 2005-03-01 Keith Packard <keithp@keithp.com>
969 Generate and install PDF versions of the manuals
971 * doc/fcpattern.fncs:
975 Add missing exported functions, fix data types
977 * doc/fontconfig-devel.sgml:
978 Add missing pattern elements.
980 * doc/fontconfig-user.sgml:
981 Add missing pattern elements. Document conf.d usage,
982 clarify available orthography list. Fix some config file
983 attributes. Complete list of constants.
985 * fontconfig/fontconfig.h:
986 Mark FC_SOURCE deprecated.
988 * src/fcfreetype.c: (FcFreeTypeQuery):
989 Don't set FC_SOURCE any longer.
991 2005-02-28 Keith Packard <keithp@keithp.com>
994 * conf.d/Makefile.am:
996 * conf.d/no-bitmaps.conf:
997 * conf.d/sub-pixel.conf:
998 * conf.d/yes-bitmaps.conf:
1000 Create prototype /etc/fonts/conf.d directory with a few
1001 sample configuration files.
1002 Deprecate use of local.conf for local customizations in favor of
1003 this directory based scheme which is more easily integrated into
1004 installation systems.
1007 Tag FC_EMBOLDEN as a boolean variable
1009 2005-02-10 Keith Packard <keithp@keithp.com>
1011 reviewed by: pborelli@katamail.com
1013 * src/fcdir.c: (FcFileScanConfig):
1014 Free patterns from fonts which are rejected by configuration
1017 2005-01-28 Keith Packard <keithp@keithp.com>
1021 * fontconfig/fontconfig.h:
1022 Update for version 2.2.99
1024 2005-01-28 Keith Packard <keithp@keithp.com>
1027 Add a few pointers (#2284, #2285)
1029 2005-01-28 Keith Packard <keithp@keithp.com>
1032 * src/fcname.c: (FcNameBool):
1033 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
1034 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
1035 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
1036 Polite typechecking for test and edit expressions. Helps
1037 catch errors in the font configuration. (bug 229)
1039 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
1041 reviewed by: Keith Packard <keithp@keithp.com>
1044 Have --with-expat set EXPAT_CFLAGS (bug 2278)
1046 2005-01-13 Keith Packard <keithp@keithp.com>
1048 * doc/fontconfig-user.sgml:
1049 Add SEE ALSO section (bug 2085)
1051 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
1053 reviewed by: Keith Packard <keithp@keithp.com>
1058 * fc-case/Makefile.am:
1059 * fc-glyphname/Makefile.am:
1060 * fc-lang/Makefile.am:
1061 * src/fontconfig.def.in:
1062 Cross compiling fixes (bug 280)
1064 2005-01-13 Keith Packard <keithp@keithp.com>
1067 Update blanks list (Closes bug 86)
1069 2005-01-04 Keith Packard <keithp@keithp.com>
1071 * src/fccache.c: (FcCacheFontSetAdd):
1072 Verify that every font pattern loaded from cache has
1073 both FC_FILE and FC_FAMILY entries.
1074 Attempt to fix bug #2219.
1076 2004-12-29 Keith Packard <keithp@keithp.com>
1080 * fontconfig/fontconfig.h:
1081 Update for version 2.2.98
1083 2004-12-29 Keith Packard <keithp@keithp.com>
1085 * fontconfig/fontconfig.h:
1086 Document ASCII limitations of Fc character conversion macros
1087 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
1088 Fix off-by-one error in utf-8 case walking code.
1089 Add FcStrDowncase (useful for testing case conversion functions)
1091 2004-12-29 Keith Packard <keithp@keithp.com>
1094 * fc-case/.cvsignore:
1095 clean up CVS ignore lists
1096 * fc-lang/iso-3166.txt:
1097 Add territory database
1099 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
1101 Reviewed by: Keith Packard
1104 Remove Han characters from Korean orthography
1106 2004-12-29 Keith Packard <keithp@keithp.com>
1109 Reorder utility programs to make sure fc-case is run before fc-lang
1110 as fc-lang uses fcstr.c which uses fccase.h
1114 2004-12-29 Keith Packard <keithp@keithp.com>
1117 Adopt some RedHat suggestions for standard font configuration.
1121 * fc-case/CaseFolding.txt:
1122 * fc-case/Makefile.am:
1123 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
1124 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1125 (dump), (parseRaw), (caseFoldReadRaw), (main):
1126 * fc-case/fccase.tmpl.h:
1127 Add new helper program 'fc-case' to construct case folding
1128 tables from standard Unicode CaseFolding.txt file
1131 * src/fclist.c: (FcListValueHash):
1132 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1133 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1134 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1135 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1136 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1137 Re-implement case insensitive functions with Unicode
1138 aware versions (including full case folding mappings)
1140 2004-12-13 Keith Packard <keithp@keithp.com>
1142 reviewed by: Owen Taylor <otaylor@redhat.com>
1144 * src/fcmatch.c: (FcFontSetSort):
1145 I changed FcFontSetSort to respect the generic aliases better
1146 in the face of language matching.
1148 What I did was to ammend the strict sort order used by FcFontSort so
1149 that it 'satisfies' the language specified in the pattern by locating
1150 the best matching font supporting each pattern language and then
1151 ignores language in the remaining fonts for purposes of matching.
1153 So, when asking for 'sans:lang=en', you'll get an English font first,
1154 and then the remaining fonts sorted with respect to the 'sans' alias
1155 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1157 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1159 reviewed by: Keith Packard <keithp@keithp.com>
1161 * fontconfig/fontconfig.h:
1164 Configuration changes to request synthetic emboldening of
1165 fonts. The actual emboldening code will live in Xft.
1167 2004-12-09 John Thacker <thacker@math.cornell.edu>
1169 reviewed by: Keith Packard <keithp@keithp.com>
1173 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1174 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1175 и), and don't even appear in KOI8-R. (The hypothesis that they
1176 don't appear in KOI8-R due to their similarity with Latin I and i is
1177 eliminated by their presence in KOI8-U.) I have a couple of fonts
1178 with Russian support that don't have the letter.
1180 Therefore, 0406 and 0456 should be removed from or commented out of
1183 2004-12-06 michael meeks <mmeeks@novell.com>
1185 Reviewed by: Keith Packard <keithp@keithp.com>
1187 * src/fcinit.c: (FcMemReport):
1189 * src/fclist.c: (FcObjectSetAdd):
1190 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1191 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1192 * src/fcxml.c: (FcParsePatelt):
1193 memoize strings and share a single copy for all uses. Note that
1194 this could be improved further by using statically allocated blocks
1195 and gluing multiple strings together, but I'm basically lazy.
1196 In my environment with 800 font files, I get a savings of about 90KB.
1198 2004-12-06 Keith Packard <keithp@keithp.com>
1202 * config/Makedefs.in:
1205 * doc/fcatomic.fncs:
1206 * doc/fcblanks.fncs:
1207 * doc/fccharset.fncs:
1208 * doc/fcconfig.fncs:
1209 * doc/fcconstant.fncs:
1211 * doc/fcfontset.fncs:
1212 * doc/fcfreetype.fncs:
1214 * doc/fcmatrix.fncs:
1215 * doc/fcobjectset.fncs:
1216 * doc/fcobjecttype.fncs:
1217 * doc/fcpattern.fncs:
1218 * doc/fcstring.fncs:
1219 * doc/fcstrset.fncs:
1221 * doc/fontconfig-devel.sgml:
1222 * doc/fontconfig-user.sgml:
1224 * doc/version.sgml.in:
1225 * fc-cache/Makefile.am:
1226 * fc-cache/fc-cache.c:
1227 * fc-glyphname/Makefile.am:
1228 * fc-glyphname/fc-glyphname.c:
1229 * fc-glyphname/fcglyphname.tmpl.h:
1230 * fc-lang/Makefile.am:
1240 * fc-lang/az_ir.orth:
1274 * fc-lang/fc-lang.c:
1275 * fc-lang/fc-lang.man:
1276 * fc-lang/fclang.tmpl.h:
1321 * fc-lang/ku_ir.orth:
1354 * fc-lang/ps_af.orth:
1355 * fc-lang/ps_pk.orth:
1384 * fc-lang/ti_er.orth:
1385 * fc-lang/ti_et.orth:
1411 * fc-lang/zh_cn.orth:
1412 * fc-lang/zh_hk.orth:
1413 * fc-lang/zh_mo.orth:
1414 * fc-lang/zh_sg.orth:
1415 * fc-lang/zh_tw.orth:
1417 * fc-list/Makefile.am:
1418 * fc-list/fc-list.c:
1419 * fc-match/Makefile.am:
1420 * fc-match/fc-match.1:
1421 * fc-match/fc-match.c:
1422 * fontconfig/fcfreetype.h:
1423 * fontconfig/fcprivate.h:
1424 * fontconfig/fontconfig.h:
1445 Change files from ISO-Latin-1 to UTF-8
1447 2004-12-04 Keith Packard <keithp@keithp.com>
1450 Update links to new freedesktop.org locations
1452 Add uninstall-local to get rid of fonts.conf and local.conf if they
1453 match the distributed versions. Fixes 'make distcheck'
1455 2004-12-04 Keith Packard <keithp@keithp.com>
1459 * fontconfig/fontconfig.h:
1460 Updates for version 2.2.97
1462 2004-12-04 Owen Taylor <otaylor@redhat.com>
1464 reviewed by: Keith Packard <keithp@keithp.com>
1466 * fc-cache/fc-cache.c: (main):
1467 Sleep for two seconds before exiting to make sure timestamps
1468 for future changes have distinct mod times in the file system.
1471 Add Punjabi orthography. Bug #1671.
1473 2004-12-04 Keith Packard <keithp@keithp.com>
1476 Just remove the FC_FONTDATE -- it has locale issues and
1477 annoys redhat multi-arch installs. Now that all X fonts are
1478 included without prejudice, the chances of the date being at
1479 all interesting are rather limited. Bug #505.
1481 Add copyright and license
1483 2004-12-04 Keith Packard <keithp@keithp.com>
1486 Change default set of fonts to include all of
1487 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1488 * doc/fontconfig-user.sgml:
1489 Document new <include>directory-name</include> semantics
1491 add <include ignore_missing="yes">conf.d</include>
1493 Add selectfont to ignore bitmap fonts, add comment for
1494 selectfont which accepts bitmap fonts.
1497 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1498 Allow <include> configuration elements to reference directories.
1499 Parse and load all files of the form [0-9]* in sorted order.
1501 2004-12-04 Keith Packard <keithp@keithp.com>
1504 Report command line for $srcdir/configure accurately.
1507 2004-12-04 Keith Packard <keithp@keithp.com>
1509 * src/fcfreetype.c: (FcFreeTypeQuery):
1510 Check for non-empty face->family_name and face->style_name
1511 before using those for the font. Empty names match everything.
1514 2004-12-04 Keith Packard <keithp@keithp.com>
1517 * fontconfig/fontconfig.h:
1518 * src/fcfreetype.c: (FcFreeTypeQuery):
1520 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1521 available. This provides font file format information (BDF, Type 1,
1522 PCF, TrueType) for each font. Closes #109.
1524 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1526 reviewed by: Keith Packard <keithp@keithp.com>
1528 * doc/fontconfig-user.sgml:
1531 * fontconfig/fontconfig.h:
1532 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1533 (GetScriptTags), (FcFontCapabilities):
1535 Add detection for font capabilities (bug #105)
1537 2004-12-04 Keith Packard <keithp@keithp.com>
1540 Move existing fonts.conf to fonts.conf.bak
1543 Add detection of iconv
1545 * doc/fcpattern.fncs:
1546 * doc/fontconfig-devel.sgml:
1547 * doc/fontconfig-user.sgml:
1549 Document new selectfont elements
1552 Switch to UTF-8 in comment
1554 * fontconfig/fontconfig.h:
1556 Add fullname, and family/style/fullname language entries
1558 * src/fccache.c: (FcCacheFontSetAdd):
1559 * src/fcdir.c: (FcFileScanConfig):
1560 Respect selectfont/*/glob
1563 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1564 (FcConfigCompareValue), (FcConfigPatternsAdd),
1565 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1566 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1567 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1568 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1569 Add support for selectfont
1571 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1572 (FcStringInPatternElement), (FcFreeTypeQuery):
1573 Add multi-lingual family/style/fullname support
1575 * src/fclist.c: (FcListPatternMatchAny):
1576 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1578 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1579 (FcObjectStaticName):
1580 Add new FcPatternRemove/FcPatternAppend.
1581 FcObjectStaticName stores computed pattern element names which
1582 are required to be static.
1584 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1589 Remove spurious / after $(DESTDIR)
1591 2004-06-30 Keith Packard <keithp@keithp.com>
1595 * fontconfig/fontconfig.h:
1598 2004-06-30 Keith Packard <keithp@keithp.com>
1600 Provided by: Lubos Lunak <l.lunak@suse.cz>
1602 * src/fccfg.c: (FcConfigUptoDate):
1603 However FcConfigUptoDate() doesn't seem to work. See the attached
1604 patch. First there's an obvious misplaced parenthesis making it
1605 return always false, and second, even this call fails to detect font
1606 changes (e.g. adding a new font to
1607 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1608 well. The problem seems to be triggered by my fonts.conf specifying
1609 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1610 doesn't include subdirs, unlike config->fontDirs.
1612 2004-06-03 Keith Packard <keithp@keithp.com>
1614 * fontconfig/fontconfig.h:
1615 Remove comma at end of FcResult enum definition.
1617 2004-05-29 Keith Packard <keithp@keithp.com>
1620 Add steps to md5sum release
1622 2004-05-29 Keith Packard <keithp@keithp.com>
1626 * fontconfig/fontconfig.h:
1629 2004-05-29 Keith Packard <keithp@keithp.com>
1631 * fontconfig/fontconfig.h:
1632 * src/fcmatch.c: (FcFontSetMatch):
1633 Add FcResultOutOfMemory to provide an accurate error when
1634 FcFontSetMatch fails in this way
1637 Make #warning about lacking various FreeType features indicate
1638 which version those features appeared so users know how to
1639 fix the problem (Thanks to Anton Tropashko)
1641 2004-05-05 Keith Packard <keithp@keithp.com>
1643 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1644 Replace MIN/MAX/ABS macros which happen to have come
1645 from FreeType with fontconfig-specific ones (FC_*)
1647 2004-04-23 Keith Packard <keithp@keithp.com>
1650 Extend release preparation instructions to include
1651 notification and distribution steps
1653 2004-04-23 Keith Packard <keithp@keithp.com>
1657 * fontconfig/fontconfig.h:
1658 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1660 2004-04-23 Keith Packard <keithp@keithp.com>
1663 Ignore a few more autotool files
1665 2004-04-14 Keith Packard <keithp@keithp.com>
1668 Add instructions for doing a release
1670 * fontconfig.spec.in:
1671 clean up .spec file; perhaps this will be useful to somebody...
1675 * fontconfig/fontconfig.h:
1678 * fc-lang/fc-lang.c:
1679 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1681 * fc-glyphname/Makefile.am:
1682 * fc-lang/Makefile.am:
1683 * fc-list/Makefile.am:
1684 * fc-match/Makefile.am:
1686 Add WARN_CFLAGS to pass -W flags for GCC systems
1688 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1689 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1690 Change various char types around to match across
1692 Fixed bug in using available_sizes[i].height which
1693 is in pixels, not 64ths of a pixel.
1695 2004-03-06 Keith Packard <keithp@keithp.com>
1697 * src/fcfreetype.c: (FcFreeTypeQuery):
1698 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1699 matches looking for explicit values prefer exact matches
1701 2004-03-02 Keith Packard <keithp@keithp.com>
1703 Supplied by: mfabian@suse.de (Mike FABIAN)
1705 * src/fcfreetype.c: (FcFreeTypeQuery):
1706 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1707 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1709 2004-02-21 Manish Singh <yosh@gimp.org>
1711 * fc-glyphname/fc-glyphname.c: (main):
1712 Cast strlen to int for printf, so we're 64-bit clean.
1714 2004-02-11 Keith Packard <keithp@keithp.com>
1717 * src/fcfreetype.c: (FcGetPixelSize):
1718 Ok, so I messed up the test for y_ppem. Let's see if I
1719 got it right this time.
1721 2004-02-10 Keith Packard <keithp@keithp.com>
1724 * src/fcfreetype.c: (FcGetPixelSize):
1725 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1726 FT_Bitmap_Size record. Add a configure.in test for this
1727 and change the code accordingly (using height instead).
1729 2004-02-06 Keith Packard <keithp@keithp.com>
1732 Add Low Saxon orthography
1733 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1735 * src/fccfg.c: (FcConfigNewestFile):
1736 Oops. Left 'newest.set' unset, which would miscompute
1739 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1740 (FcFreeTypeCheckGlyph):
1741 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1742 font properties (which report the wrong value in current FreeType)
1744 Don't attempt to check for empty glyphs in non-scalable fonts; they
1747 2004-02-01 Tor Lillqvist <tml@iki.fi>
1749 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1750 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1751 cache if config->cache is NULL, which happens if FcConfigHome() is
1752 NULL. Guard against that by using the temp folder in that case.
1754 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1756 * fc-lang/az_ir.orth:
1757 * fc-lang/ku_ir.orth:
1758 * fc-lang/ps_af.orth:
1759 * fc-lang/ps_pk.orth:
1760 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1761 (Afghan and Pakistani).
1763 Updated Urdu orthography with real data.
1765 2003-12-11 Carl Worth <cworth@east.isi.edu>
1767 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1770 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1772 (all-local): Remove excessive whitespace.
1774 * autogen.sh: Add 'set -e' to abort when any program fails,
1775 (avoids printing of 'now type make' after configure aborts).
1777 2003-11-17 Eric Christopherson <rakko@charter.net>
1779 reviewed by: Keith Packard <keithp@keithp.com>
1782 * fontconfig/fcfreetype.h:
1784 Switch to FreeType 2.1.7 style includes. Bug #150.
1786 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1788 * fc-list/fc-list.sgml: Add some example usages.
1790 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1793 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1796 2003-10-27 Keith Packard <keith@keithp.com>
1799 * fontconfig/fontconfig.h:
1800 Update to version 2.2.92
1802 2003-10-27 Keith Packard <keithp@keithp.com>
1807 * fc-cache/Makefile.am:
1808 * fc-glyphname/Makefile.am:
1809 * fc-lang/Makefile.am:
1810 * fc-list/Makefile.am:
1811 * fc-match/Makefile.am:
1814 Yet more cleanups to finish getting 'make distcheck' working
1815 This has been tested to ensure that it even works from a _build
1818 2003-10-26 Keith Packard <keithp@keithp.com>
1822 * fc-cache/Makefile.am:
1823 * fc-glyphname/Makefile.am:
1824 * fc-lang/Makefile.am:
1825 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1826 * fc-list/Makefile.am:
1827 * fc-match/Makefile.am:
1828 Attempts to fix 'make distcheck' work. Things are
1829 progressing pretty well, but there are still failures
1830 long into the process dealing with docs (as always).
1832 The big changes here are mostly to make $(srcdir) != "."
1833 work correctly, fixing the docbook related sections and
1834 fc-lang were particularily tricky. Docbook refuses to load
1835 system entities from anywhere other than where the original .sgml
1836 file was located, so no luck looking in "." for the
1837 configure-generated version.sgml and confdir.sgml files.
1839 fc-lang needed help finding .orth files; added a -d option
1840 to set the directory as the least evil of many options.
1842 Now to go use a faster machine and try and wring out the last
1845 2003-10-26 Keith Packard <keithp@keithp.com>
1849 2003-10-26 Keith Packard <keithp@keithp.com>
1852 Include confdir.sgml.in in EXTRA_DIST
1854 2003-10-09 Josselin Mouette <joss@debian.org>
1856 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1857 * fc-list/fc-list.sgml fc-list/Makefile.am:
1858 Replace fc-cache and fc-list manpages with more detailed, SGML
1861 2003-09-23 Owen Taylor <otaylor@redhat.com>
1863 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1864 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1865 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1868 2003-09-23 Owen Taylor <otaylor@redhat.com>
1870 * fc-lang/ka.orth: Remove Georgian capitals, they
1871 aren't used for normal writing. (Bug #116)
1873 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1875 * doc/fontconfig-devel.sgml:
1876 * doc/fontconfig-user.sgml:
1877 * fontconfig/fontconfig.h:
1879 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1880 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1882 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1883 monospace and dual-width fonts, allow roughly a 3% variance in the
1886 2003-08-31 Manish Singh <yosh@gimp.org>
1888 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1891 2003-08-15 Carl Worth <cworth@isi.edu>
1893 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1894 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1896 * src/fcpat.c (FcValueListEntDestroy): New function to support
1897 FcFini memory cleanup. Some statistics are not kept in
1899 (FcValueListFreeze): Move hashTable outside this function so it
1900 can be accessed by FcValueListThawAll.
1901 (FcValueListThawAll): New function complements FcValueListFreeze.
1902 (FcPatternBaseFreeze): Move hashTable outside this function so it
1903 can be accessed by FcPatternBaseThawAll.
1904 (FcPatternBaseThawAll): New function complements
1905 FcPatternBaseFreeze.
1906 (FcPatternThawAll): New function complements FcPatternFreeze.
1908 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1910 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1911 allocated FcCharLeafEnt "blocks" so they can be freed later.
1912 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1913 can be accessed by FcCharSetThawAllLeaf.
1914 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1915 (FcCharSetFreezeBase): Move hashTable outside this function so it
1916 can be accessed by FcCharSetThawAll.
1917 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1919 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1920 (FcConfigDestroy): Fic leak of FcBlanks.
1922 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1923 (main): Add call to FcFini when finished.
1925 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1926 static. Add prototypes.
1928 * doc/fcinit.fncs: Add documentation for FcFini function.
1930 * doc/edit-sgml.c: Mark several local functions as static. Add
1933 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1935 2003-06-15 Tor Lillqvist <tml@iki.fi>
1937 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1938 before comparing (needed on Windows).
1940 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1942 2003-06-13 Tor Lillqvist <tml@iki.fi>
1944 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1947 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1948 WINDOWSFONTDIR token.
1950 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1951 end, not to confuse libtool, which expects the EXPORTS line to be
1952 the first. Add FcConfigEnableHome.
1954 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1955 built as a DLL on Win32.
1957 2003-06-09 Keith Packard <keithp@keithp.com>
1959 * Tag version 2.2.90
1961 2003-06-09 Keith Packard <keithp@keithp.com>
1963 * Optimization in FcLangSetIndex was broken, occasionally
1964 returning a pointer to the wrong location on miss
1966 * Add fc-match to test font matching from the command line.
1968 2003-05-31 Keith Packard <keithp@keithp.com>
1970 * (Bug 85) add support for culmus fonts
1971 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1972 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1974 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1976 * Fix "contains" op for strings and langsets.
1978 2003-05-17 Keith Packard <keithp@keithp.com>
1980 * Fix build error with BDF prop local. Free langset after query
1982 2003-05-14 Keith Packard <keithp@keithp.com>
1984 * Extract spacing from XLFD atom
1986 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1988 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1989 disappeared in 1.30.
1991 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1993 2003-05-12 Keith Packard <keithp@keithp.com>
1995 * Use FcIsWidth to share code
1997 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1998 misclassifying some Han fonts as monospaced.
2000 2003-05-07 Keith Packard <keithp@keithp.com>
2002 * Add filename-based accept/reject to ammend available fonts.
2004 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
2005 older FreeType releases.
2007 2003-05-06 Keith Packard <keithp@keithp.com>
2009 * Remove 0b82 and Tamil numbers from tamil
2010 orthography (Jungshik Shin <jshin@mailaps.org>)
2012 2003-05-04 Keith Packard <keithp@keithp.com>
2014 + Map glyph names in fonts with adobe custom encoding to unicode
2016 2003-05-02 Keith Packard <keithp@keithp.com>
2018 * Add FC_WEIGHT_BOOK as weight 75
2020 2003-04-30 Keith Packard <keithp@keithp.com>
2022 * Typo in bitstream foundry name
2024 2003-04-24 Keith Packard <keithp@keithp.com>
2026 * Eliminate italic_angle check for PS fonts
2028 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
2030 * Getting closer to fixing /etc/fonts hard-coding.
2032 2003-04-22 Keith Packard <keithp@keithp.com>
2034 * Update autogen.sh to work with newer automake versions
2035 * Handle pattern elements moving during multiple edits
2037 2003-04-23 James Henstridge <james@daa.com.au>
2039 * doc/fontconfig-devel.sgml: close the <para> element.
2041 * doc/fcpattern.fncs: close the <para> element.
2043 * doc/func.sgml: close the <refsynopsisdiv> element.
2045 2003-04-22 Keith Packard <keithp@keithp.com
2047 * Update autogen.sh to work with newer automake versions
2048 * Handle pattern elements moving during multiple edits
2050 2003-04-17 Colin Walters <walters@debian.org>
2052 + Remove some unused variables, and initialize some other ones so
2053 gcc doesn't warn us.
2055 2003-04-16 Keith Packard <keithp@keithp.com>
2057 + tag version 2.1.94
2059 2003-04-16 Keith Packard <keithp@keithp.com>
2061 + add BDF property fetching support for foundry
2062 (from Juliusz Chroboczek)
2063 + add BDF property fetching support for width
2065 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
2067 + Implemented foundry generation for Type 1 and TrueType
2069 2003-04-11 Gerard Escalante <g2@magestudios.net>
2071 + Retrieve information from Type1 FontInfo dictionaries
2073 2003-04-07 Colin Walters <walters@verbum.org>
2075 + src/Makefile.am: Fix dummy makefile target names when
2076 MS_LIB_AVAILABLE isn't set.
2078 2003-03-22 Tor Lillqvist <tml@iki.fi>
2080 Changes for Windows:
2082 + On Windows with gcc (a.k.a. mingw) build as a DLL.
2084 + We don't want to hardcode the fonts.conf file location in the
2085 DLL, so we look up the DLL location at run-time in a DllMain()
2086 function. The fonts.conf location is deduced from that.
2088 + The colon can't be used as path separator on Windows,
2089 semicolon is used instead. File path components can be separated
2090 with either slash or backslash. Absolute paths can also begin
2091 with a drive letter.
2093 + Add internal function FcStrLastSlash that strrchr's the last
2094 slash, or backslash on Windows.
2096 + There is no link() on Windows. For atomicity checks, mkdir a
2097 lock directory instead.
2099 + In addition to HOME, also look for USERPROFILE.
2101 + Recognize the special font directory token WINDOWSFONTDIR, to
2102 use the system's font directory.
2104 + Remove the fontconfig-def.cpp that was obsolete. Add
2105 fontconfig.def(.in), without internal functions.
2107 + Add a fontconfig-zip(.in) script, used to build a binary
2110 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2111 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
2112 to main package and man3/* to devel package
2114 + Added missing defattr(-, root, root) to main RPM package
2116 + Added HTML and text development documentation to -devel subpackage
2118 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
2119 + Added back the configure macro options --disable-docs, otherwise
2120 fontconfig installs docs into /usr/share/doc/fontconfig (with no
2121 version number) unconditionally, causing RPM to fail the build due
2122 to _unpackaged_files_terminate_build. We pick up the pregenerated
2123 docs with %doc already.
2125 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2126 + Removed commented out rpm macro define at top of spec file,
2127 replacing it with a simple explanation, since rpm macros are
2128 expanded by rpm even in comments.
2130 + Changed /usr/bin to _bindir in BuildRequires lines
2132 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2134 + Reorganized file manifest lists
2136 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2138 + fontconfig.spec.in: Improvements from Red Hat spec file.
2140 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2142 + docs/*.sgml: SGML fixes.
2144 Sat Mar 1 17:28:53 PST 2003 keithp
2145 + Ok, so the ChangeLog is a bit out of date
2147 + Lots of bugs fixed; most are in bugzilla, the
2148 biggest problems were in cache management where
2149 Owen discovered the library would lose badly when
2150 combining fonts-cache and ~/.fonts-cache data
2152 + Converted from autoconf to automake. This after
2153 getting patches accepted into libtool to allow
2154 the '-version-number' argument which lets
2155 packages set version numbers explicitly rather
2156 than the roundabout libtool way
2158 + Converted documentation to SGML using the docbook
2159 DTD. Now .txt and .html documents are installed
2160 in /usr/share/doc/fontconfig and there's no
2161 man page. Perhaps a man version can be written
2164 Sat Aug 31 15:21:22 PDT 2002 keithp
2165 + Xrender and Xft had several bugs related to
2166 rendering manually placed or poly-face text
2168 + Added more complete memory tracing in fontconfig
2169 Checked with (patched) mozilla and found no leaks
2171 + Updated Latin orthographies by comparing those from
2172 evertype.com with those from eki.ee. Tried to make
2173 sensible choices, including chars that occured in both
2174 and leaving some optional chars out that occured only
2177 Mon Aug 26 16:33:04 PDT 2002 keithp
2178 + Owen discovered that FcLangSetHasLang wasn't actually
2179 checking the language set.
2181 Mon Aug 26 13:37:23 PDT 2002 keithp
2182 + Append a version number to cache filenames
2184 Thu Aug 22 11:36:18 PDT 2002 keithp
2186 + Add "contains" and "not_contains" operators and elements to
2189 + Changed semantics of eq operator for LangSets to check for
2190 FcLangEqual so that any match will do
2192 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2193 of FcValueEqual to check for identical values when inserting into
2194 the results. This broke when the above semantic change was made,
2195 now it uses FcValueEqual which is "more correct" in any case.
2197 Thu Aug 22 00:32:29 PDT 2002 keithp
2199 + Reimplement FC_LANG as new datatype. Lists of strings
2200 was consuming over a megabyte of memory for 401 fonts.
2202 + Freeze patterns loaded from cache files. This shares
2203 common value lists and common patterns which saves
2204 considerable memory.
2206 + Change the denotation of 'constant' charsets to use special
2207 ref value instead of separate boolean.
2209 + Clean up leak tracing stuff, found several unannoted alloc/free
2212 Tue Aug 20 16:17:37 PDT 2002 keithp
2214 + Fix memory leak when parsing matrices from XML
2216 Mon Aug 19 11:57:27 PDT 2002 keithp
2218 + Fix autoconf files to pass FONTCONFIG_PATH on
2219 compile line so that ${prefix} gets substituted
2222 + Use getc_unlocked/putc_unlocked on systems that
2223 provide them to avoid damage done to stdio by posix
2225 + Eliminate FC_PATTERN and FcTypePattern in favor of
2226 an extended api for FcConfigSubstitute which takes
2227 both the font and the pattern.
2229 + Add 'sans serif' alias for 'sans-serif' as some apps
2230 can't handle hyphens in family names
2232 + Eliminate pretense of support for libxml2
2234 + Comment origins of Han orthographies
2236 Tue Jul 30 18:37:09 PDT 2002 keithp
2238 + Add binding property to edit element so that strong
2239 binding values may be inserted by the config file.
2240 The default remains weak.
2242 Sun 28 Jul 04:16:55 PDT 2002 keithp
2244 + Tagged release candidate 1 in the CVS tree and
2245 placed fcpackage.rc1.tar.gz for distribution
2247 Thu Aug 1 08:55:08 PDT 2002 keithp
2249 + Fixed autoconf builds to always specify install
2250 target files (for BSD). Also fixed to
2251 define FONTCONFIG_PATH in config.h so that
2252 nonstandard installs will actually work.