1 2005-11-25 Patrick Lam <plam@mit.edu>
3 * src/fccache.c (FcDirCacheConsume):
4 * src/fccharset.c (FcCharSetUnserialize):
5 * src/fcfs.c (FcFontSetUnserialize):
6 * src/fclang.c (FcLangSetUnserialize):
7 * src/fcname.c (FcObjectUnserialize):
8 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
11 Pass around FcCache *s to the Unserialize functions for extra
12 consistency (and less overhead, for what that's worth).
14 2005-11-24 Dirk Mueller <dmueller@suse.com>
18 * src/fcmatch.c (FcCompare*, FcFontSetSort):
19 * src/fcname.c (FcNameUnparseValue):
21 Inline the *PtrU functions to gain perf.
22 Remove unneeded params for the FcCompare* functions.
24 2005-11-24 Dirk Mueller <dmueller@suse.com>
27 * src/fcint.h, fontconfig/fontconfig.h:
29 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
31 * src/fcpat.c, src/fcint.h, src/fcname.c:
33 Check for type validity during FcPatternAddWithBinding, don't
34 verify type in FcFontMatch, don't call FcCanonicalize here
35 (which always does a deep copy).
37 2005-11-24 Dirk Mueller <dmueller@suse.com>
40 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
41 * src/fcpat.c (FcPatternAddWithBinding):
43 Make FcCompareString and FcCompareFamily less expensive.
44 Only add a value for FC_FAMILY if the proposed value is a string.
46 2005-11-24 Dirk Mueller <dmueller@suse.com>
49 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
50 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
51 * src/fcint.h (FcDebug):
53 Inline FcDebug invocations and only initialize once, in FcInit*.
54 Improve debug msg in FcPatternPrint.
56 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
59 * fontconfig/fontconfig.h:
62 Minor code warning cleanups.
64 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
67 * fc-match/fc-match.c (main):
69 Make getopt_long accept -s parameter to fc-match as well.
71 2005-11-21 Dirk Mueller <dmueller@suse.com>
74 * src/fcmatch.c (FcCompareValueList):
76 Manually perform inlining & partial redundancy elimination to
77 reduce calls to FcValueListPtrU.
79 2005-11-21 Dirk Mueller <dmueller@suse.com>
82 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
83 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
85 Only invoke strlen() when really necessary.
87 2005-11-19 Matthias Clasen <mclasen@redhat.com>
91 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
96 Get rid of the use of freetype internal headers in fcfreetype.c,
97 since those headers will go away with freetype 2.2. Replace with
98 public domain ftglue code from pango. Note that the patch removes
99 some extra error checking in FT_Get_BDF_Property() and comments
100 out the skipping of empty pcf fonts.
102 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
105 * fc-lang/fc-lang.c (main):
107 Further fix of patch from 2005-11-04: miscounted numbers count
108 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
109 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
111 Removed leafidx_count and numbers_count since they are the same
112 and replaced them with offset_count.
114 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
117 * fc-cat/fc-cat.c (main):
119 Don't crash when fc-cat invoked with no arguments.
121 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
124 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
126 Fix invalid read access caused by premature free and
127 GCC4 warnings in libxml2 codepath.
129 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
132 * src/fccfg.c (FcConfigValues):
134 List iteration not needed in FcConfigValues, since it's building
135 up the list itself; we can just strip FcVoid elements during
138 2005-11-17 Patrick Lam <plam@mit.edu>
139 * src/fccfg.c (FcConfigValues):
141 Fix crash on invalid constants in config files (forgot to update
142 a pointer upon list iteration.)
144 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
147 * src/fcxml.c (FcTypecheckExpr):
149 Complain about invalid constants in config files.
151 2005-11-17 Andreas Schwab <schwab@suse.de>
154 * src/fccache.c (FcGlobalCacheSave):
156 Don't add current_arch_start more than once.
158 2005-11-16 Patrick Lam <plam@mit.edu>
159 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
160 * src/fcfs.c (FcFontSetUnserialize):
161 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
162 * src/fcpat.c (FcStrUnserialize):
164 Fix ordering of ALIGN with respect to saving block_ptr; add
165 another ALIGN to fcfs.c.
167 2005-11-16 Patrick Lam <plam@mit.edu>
168 * src/fccache.c (FcDirCacheProduce)
170 Fix case where alignment bytes bumped up metadata->count
171 causing unwarranted failures to write cache files.
172 (Reported by Stephan Kulow).
174 2005-11-16 Patrick Lam <plam@mit.edu>
175 * src/fccache.c (FcDirCacheProduce):
176 * src/fccharset.c (FcCharSetDistributeBytes):
177 * src/fcfs.c (FcFontSetDistributeBytes):
179 * src/fclang.c (FcLangSetDistributeBytes):
180 * src/fcname.c (FcObjectDistributeBytes):
181 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
184 Add *NeededBytesAlign(), which overestimates the padding which is
185 later added by the new ALIGN macro. Fix alignment problems on
186 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
187 version by Andreas Schwab).
189 2005-11-16 Stephan Kulow <coolo@kde.org>
194 Use sysconf to determine proper PAGESIZE value; this
195 appears to be POSIX-compliant. (reported by Andreas Schwab)
197 2005-11-04 Patrick Lam <plam@mit.edu>
203 Fix bug 2878 (excessive relocations at startup for charsets,
204 reported by Ross Burton): fc-lang/fc-lang now creates the
205 static form of the langset, not the dynamic form, so that
206 the charsets should now be in .rodata.
208 2005-11-04 Patrick Lam <plam@mit.edu>
209 * src/fcdir.c (FcDirScanConfig):
211 Add test for validity of directory caches that
212 somehow got lost (reported by make distcheck).
214 2005-11-04 Patrick Lam <plam@mit.edu>
218 * fontconfig/fontconfig.h:
220 Bump version to 2.3.92.
222 2005-11-02 Patrick Lam <plam@mit.edu>
223 * src/fcpat.c (FcPatternDuplicate):
225 Fix argument ordering problem in call to FcPatternTransferFullFname.
227 2005-11-02 Patrick Lam <plam@mit.edu>
228 * src/fcfreetype.c (FcFreetypeQuery):
229 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
230 FcPatternTransferFullFname):
232 Fix warnings and embarrassing double-free error.
234 2005-11-02 Zhe Su <zsu@novell.com>
239 Change the rule for artificial emboldening in fonts.conf.in. This
240 enables the support for artificial emboldening included in cairo.
242 2005-11-02 Patrick Lam <plam@mit.edu>
243 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
245 Don't zero out full names for FC_REF_CONSTANT fonts;
246 also, duplicate full names when transferring, and free
247 full names when freeing the associated font.
248 Reported by Jinghua Luo.
250 2005-11-02 Patrick Lam <plam@mit.edu>
251 * fc-cache/fc-cache.c (scanDirs):
252 * src/fcpat.c (FcValueListSerialize):
254 Revert the previous patch and commit the correct patch:
255 I forgot a canonicalization in FcValueListSerialize, so
256 that it would choke on already-serialized input files. Duh!
258 2005-11-02 Patrick Lam <plam@mit.edu>
259 * fc-cache/fc-cache.c (scanDirs):
261 Forcibly rescan a directory before writing a fresh local
262 cache file for that directory, fixing the losing-fonts
263 problem reported by Mike Fabian and also apparently the
264 font cache file corruption.
266 2005-11-02 Patrick Lam <plam@mit.edu>
267 * src/fccache.c (FcGlobalCacheLoad):
269 Fix thinko: actually, the whole global cache is stale
270 if the global cache is older than the (newest) config file.
272 2005-11-02 Patrick Lam <plam@mit.edu>
273 * src/fccache.c (FcGlobalCacheLoad):
274 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
277 Declare the global cache of a directory's contents to be stale if
278 the directory is newer than the (newest) configuration file.
280 2005-10-31 Patrick Lam <plam@mit.edu>
282 * src/fclist.c (FcListAppend):
283 * src/fcmatch.c (FcFontRenderPrepare):
284 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
285 FcPatternFreeze, FcPatternBaseFreeze):
287 Copy the full pathname whenever duplicating an FcPattern; otherwise,
288 applications continue breaking.
290 2005-10-31 Patrick Lam <plam@mit.edu>
291 * fc-cat/fc-cat.c (FcCacheFileRead, main):
292 * src/fcfreetype.c (FcFreeTypeQuery):
294 Fix small memory error (tried to free argv); use basename and
295 dirname correctly (they can modify their arguments).
297 2005-10-31 Patrick Lam <plam@mit.edu>
305 Reinstate basename patch, but keep a hash table linking FcPatterns
306 to their fully-qualified font names for clients' benefit. Clients
307 only pay for the font names once they request the FC_FILE property
308 from an FcPattern, but the font name is malloc'd at that point (i.e.
309 not mmapped: that's impossible, since it may vary between machines.)
310 Clients do have to pay for a copy of the path name per cache file.
312 Note that FcPatternGetString now does some rewriting if you ask
313 for an FC_FILE, appending the pathname as appropriate.
315 2005-10-31 Patrick Lam <plam@mit.edu>
316 * src/fcfreetype.c (FcFreeTypeQuery):
318 Revert basename patch, which breaks fontconfig clients on my system.
320 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
323 * fontconfig/fonts.conf.in:
324 * fontconfig/fontconfig.h:
328 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
329 to load embedded bitmaps or not.
331 2005-10-25 Patrick Lam <plam@mit.edu>
332 * src/fcfreetype.c (FcFreeTypeQuery):
334 Only add basename to patterns' FC_FILE element, not any part of
337 2005-10-22 Patrick Lam <plam@mit.edu>
340 Add some more consts, fixing more GCC4 warnings.
342 2005-10-22 Zhe Su <zsu@novell.com>
345 Support localized font family and style names.
346 This has been reported to break old apps like xfd, but modern
347 (gtk+/qt/mozilla) apps work fine.
349 2005-10-21 Patrick Lam <plam@mit.edu>
350 * src/fccache.c (FcGlobalCacheLoad):
352 Destroy the global cache file if it's terminally broken. (reported by
355 2005-10-21 Patrick Lam <plam@mit.edu>
356 * fc-list/fc-list.c (main):
357 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
358 * fontconfig/fontconfig.h:
360 Prevent fc-list from escaping strings when printing them (reported by
363 2005-10-20 Marcus Meissner <meissner@suse.de>
366 * fontconfig/fontconfig.h:
368 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
370 2005-10-14 Ross Burton <ross@burtonini.com>
373 * fc-glyphname/fc-glyphname.c:
376 Add consts to variables so as to move arrays into .rodata.
378 2005-10-14 Mike Fabian <mfabian@suse.de>
381 * src/fccache.c (FcDirCacheUnlink):
383 Check existence of directory cache file before attempting to unlink.
385 2005-10-13 Patrick Lam <plam@mit.edu>
386 * src/fccache.c (FcDirCacheUnlink):
388 Fix flipped return value on unlink. (Reported by Mike Fabian)
390 2005-10-12 Patrick Lam <plam@mit.edu>
393 * src/fcdir.c (FcDirScanConfig):
396 When fc-cache is run without --force, use directory cache files
397 to speed up fc-cache run time. (Reported by Mike Fabian)
399 2005-10-06 Patrick Lam <plam@mit.edu>
401 * src/fcname.c (FcObjectToPtr):
402 * src/fcpat.c (FcStrStaticName):
404 Add padding to make valgrind and glibc not hate each other
405 when calling strlen().
407 2005-10-05 Simos Xenitellis <simos74@gmx.net>
408 reviewed by: plam & keithp
412 Modify config file to use Greek fonts before Asian fonts with
415 2005-10-05 Christian Biesinger <cbiesinger@web.de>
416 reviewed by: plam & keithp
420 Use libtool -no-undefined flag on all platforms.
422 2005-10-05 Patrick Lam <plam@mit.edu>
423 * src/fccache.c (FcCacheHaveBank):
425 Implement move-to-front array for banks (perf regression
426 reported by Ronny V. Vindenes).
428 2005-10-04 Patrick Lam <plam@mit.edu>
429 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
430 FcDirCacheHasCurrentArch):
431 * fc-cache/fc-cache.c (scanDirs):
432 * fontconfig/fontconfig.h:
434 Add new API which unlinks directory caches and checks dir caches
435 for existence of appropriate sections. Fix fc-cache to unlink
436 stale cache files and save directory caches that lack relevant
439 2005-10-03 Patrick Lam <plam@mit.edu>
440 * src/fccache.c (FcDirCacheValid):
442 Ensure that a directory cache has the appropriate section
443 before reporting that it is valid (reported by Matthias Clasen).
445 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
453 Use libxml2 if requested (with --enable-libxml2) or if
454 expat is not available.
456 2005-09-29 Patrick Lam <plam@mit.edu>
457 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
459 Fix multi-arch cache files: compute the position for the
460 block to be added using info from OrigFile, not NewFile.
462 2005-09-28 Patrick Lam <plam@mit.edu>
463 * src/fccache.c (FcCacheMachineSignature):
465 Cast results of sizeof() to unsigned int to get rid of
466 warnings on x86_64 (thanks Matthias Clasen).
468 2005-09-27 Patrick Lam <plam@mit.edu>
469 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
472 Use FcAtomic to rewrite cache files.
474 2005-09-27 Patrick Lam <plam@mit.edu>
476 * src/fccache.c (FcDirCacheWrite):
478 Don't unlink the fonts.cache-2 file even if there's no data
479 to write; just write an empty cache file. (thanks Lubos Lunak)
481 2005-09-27 Patrick Lam <plam@mit.edu>
483 * src/fccache.c (FcDirCacheWrite):
485 Allocate room for the subdirectory names in each
486 directory cache. Thanks to James Cloos for finding
487 and diagnosing this bug!
489 2005-09-22 Patrick Lam <plam@mit.edu>
491 * fc-cache/fc-cache.sgml:
492 * src/fccache.c (FcDirCacheWrite):
493 * src/fccache.h (struct FcCache):
495 Update documentation -- fc-cache's man page now says that you
496 need to run fc-cache once per cached architecture; add some
497 documentation to the FcCache structure.
499 Make fc-cache write out fonts.cache-2 files for directories with
500 no fonts (i.e. only subdirectories).
502 2005-09-22 Patrick Lam <plam@mit.edu>
504 * fc-cache/fc-cache.sgml:
506 * fc-glyphname/fc-glyphname.c:
512 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
517 * fontconfig/fcprivate.h:
518 * fontconfig/fontconfig.h:
532 Implement new mmaped cache for font information.
533 Bump so revision to 2.3.90.
535 2005-07-25 Keith Packard <keithp@keithp.com>
537 * doc/fontconfig-user.sgml:
538 * fc-glyphname/fc-glyphname.c: (scan), (main):
539 * fc-lang/fc-lang.c: (FcConfigHome):
540 * fc-match/fc-match.c: (main):
541 * src/fccfg.c: (FcConfigHome):
542 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
543 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
544 (addtag), (FcFontCapabilities):
545 * src/fcpat.c: (FcValueListEntCreate):
546 * src/fcstr.c: (FcStrCaseWalkerInit):
547 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
549 Various GCC 4 cleanups for signed vs unsigned char
551 Match only [0-9]*.conf files in <include>{directory}</include>
552 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
554 2005-07-15 Carl Worth <cworth@cworth.org>
557 * src/fcinit.c: (FcFini):
558 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
561 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
562 Pull the FcObjectStateName hash table out to file scope, and add
563 FcObjectStaticNameFini so that FcFini will cleanup this hash table
566 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
569 2005-06-16 Patrick Lam <plam@MIT.EDU>
573 * src/fccfg.c: (FcConfigCompareValue):
574 Make FcOpNotContains use FcStrStr for strings so that
575 it matches semantics for !FcOpContains.
577 2005-05-20 Keith Packard <keithp@keithp.com>
581 Move fontconfig source package to libs as per override
583 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
585 reviewed by: Mike Fabian
588 The ka.orth file requires several characters which are not
589 used anymore in modern Georgian and which are missing in the free
590 Georgian TrueType fonts downloadable at:
592 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
594 2005-04-27 Keith Packard <keithp@keithp.com>
598 Update date to real 2.3.2 release date.
599 Fix change attributions
601 2005-04-27 Keith Packard <keithp@keithp.com>
604 Bump so revision for 2.3.2
605 * fc-cache/fc-cache.c: (scanDirs):
606 Fix a few minor leaks in error cases.
608 2005-04-23 Keith Packard <keithp@keithp.com>
613 * fontconfig/fontconfig.h:
614 Update for version 2.3.2
616 2005-04-21 Keith Packard <keithp@keithp.com>
618 * debian/fontconfig.postinst:
619 Don't force bitmap font enable in default
620 configuration; allows users to override this in
630 * debian/po/pt_BR.po:
631 * debian/po/templates.pot:
633 * debian/po/zh_CN.po:
636 * fc-cache/fc-cache.c: (main):
637 Destroy font configuration on exit to help valgrind
640 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
641 (FcFreeTypeCheckGlyph):
642 Use own transcoding routines in preference to iconv
643 which appears to have leaks in some translators.
644 Call iconv_close after using iconv (oops).
646 Prefer unicode encoding of Euro char as some
647 fonts mis-encode Euro in other ones.
649 Must fetch bitmap glyphs to get width values
650 to check for monospace/dual-width fonts.
652 2005-04-13 Ross Burton <ross@burtonini.com>
655 Check that a pattern isn't already frozen in FcPatternFreeze.
657 2005-03-31 Ross Burton <ross@burtonini.com>
662 Run all FcPattern objects through FcObjectStaticName, so that
663 compares can be done on pointers instead of strings (#2659)
665 2005-03-17 Tor Lillqvist <tml@novell.com>
667 * src/fontconfig.def.in: Add the .dll to the dll name.
669 2005-03-10 Keith Packard <keithp@keithp.com>
671 * debian/README.Debian:
672 Update to reflect configuration changes
674 * debian/fontconfig.postinst:
675 Fix Autohint vs Autohinter mistake
676 * debian/fontconfig.templates:
677 Adopt changes from Josselin Mouette for configuration descriptions
678 Update debian to version 2.3.1-2
680 2005-03-08 Keith Packard <keithp@keithp.com>
684 Update debian for 2.3.1
686 2005-03-09 Tor Lillqvist <tml@novell.com>
688 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
691 * src/fccfg.c (FcConfigFileExists): Check also drive letter
694 2005-03-08 Keith Packard <keithp@keithp.com>
698 * fontconfig/fontconfig.h:
701 2005-03-05 Keith Packard <keithp@keithp.com>
703 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
704 Include space and remove numbers from valid script tags.
705 This ensures that tags like 'lao ' work while rejecting
706 those which have any digits.
707 Eliminate a spurious debugging variable (len)
709 2005-03-05 Keith Packard <keithp@keithp.com>
711 * src/fcfreetype.c: (addtag), (GetScriptTags),
712 (FcFontCapabilities):
713 Rework GSUB/GPOS script parsing to survive broken fonts.
714 Thanks for the broken font go to Manish Singh
716 2005-03-05 Keith Packard <keithp@keithp.com>
721 * debian/fontconfig.config:
722 * debian/fontconfig.templates:
724 Include 2.3 release information in changelog
725 Add Josselin Mouette as an Uploader
726 Set hinting_type to low priority configuration option
729 * debian/fontconfig.postinst:
730 yes_bitmaps.conf -> yes-bitmaps.conf
736 2005-03-02 Keith Packard <keithp@keithp.com>
739 * conf.d/Makefile.am:
740 * conf.d/autohint.conf:
741 * conf.d/no-sub-pixel.conf:
742 * conf.d/sub-pixel.conf:
743 * conf.d/unhinted.conf:
744 * debian/autohint.conf:
745 * debian/fontconfig.install:
746 * debian/fontconfig.postinst:
747 * debian/fontconfig.templates:
748 * debian/no-sub-pixel.conf:
749 * debian/unhinted.conf:
750 Move debian-specific conf file examples upstream.
752 Sub-pixel configuration examples must smash subpixel value
753 as Xft always sets it from X.
755 Change sub-pixel rendering debconf descriptions from
756 Enable/Disable to Always/Never.
758 2005-03-02 Keith Packard <keithp@keithp.com>
763 Ignore more build detritus
766 Add debian package construction stuff.
768 * config/config.guess:
770 Update to newer versions of these tools
773 Get library manuals to build again (we love automake).
775 * debian/README.Debian:
776 * debian/autohint.conf:
781 * debian/fontconfig-udeb.install:
782 * debian/fontconfig.config:
783 * debian/fontconfig.defoma:
784 * debian/fontconfig.dirs:
785 * debian/fontconfig.install:
786 * debian/fontconfig.postinst:
787 * debian/fontconfig.postrm:
788 * debian/fontconfig.templates:
789 * debian/libfontconfig1-dev.install:
790 * debian/libfontconfig1.install:
791 * debian/local.conf.md5sum:
792 * debian/no-sub-pixel.conf:
793 * debian/po/POTFILES.in:
802 * debian/po/pt_BR.po:
803 * debian/po/templates.pot:
805 * debian/po/zh_CN.po:
807 * debian/unhinted.conf:
808 Update debian build system to switch maintainers and
809 deal with 2.3 functionality
811 2005-03-01 Keith Packard <keithp@keithp.com>
815 * fontconfig/fontconfig.h:
818 2005-03-01 Keith Packard <keithp@keithp.com>
821 Generate and install PDF versions of the manuals
823 * doc/fcpattern.fncs:
827 Add missing exported functions, fix data types
829 * doc/fontconfig-devel.sgml:
830 Add missing pattern elements.
832 * doc/fontconfig-user.sgml:
833 Add missing pattern elements. Document conf.d usage,
834 clarify available orthography list. Fix some config file
835 attributes. Complete list of constants.
837 * fontconfig/fontconfig.h:
838 Mark FC_SOURCE deprecated.
840 * src/fcfreetype.c: (FcFreeTypeQuery):
841 Don't set FC_SOURCE any longer.
843 2005-02-28 Keith Packard <keithp@keithp.com>
846 * conf.d/Makefile.am:
848 * conf.d/no-bitmaps.conf:
849 * conf.d/sub-pixel.conf:
850 * conf.d/yes-bitmaps.conf:
852 Create prototype /etc/fonts/conf.d directory with a few
853 sample configuration files.
854 Deprecate use of local.conf for local customizations in favor of
855 this directory based scheme which is more easily integrated into
856 installation systems.
859 Tag FC_EMBOLDEN as a boolean variable
861 2005-02-10 Keith Packard <keithp@keithp.com>
863 reviewed by: pborelli@katamail.com
865 * src/fcdir.c: (FcFileScanConfig):
866 Free patterns from fonts which are rejected by configuration
869 2005-01-28 Keith Packard <keithp@keithp.com>
873 * fontconfig/fontconfig.h:
874 Update for version 2.2.99
876 2005-01-28 Keith Packard <keithp@keithp.com>
879 Add a few pointers (#2284, #2285)
881 2005-01-28 Keith Packard <keithp@keithp.com>
884 * src/fcname.c: (FcNameBool):
885 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
886 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
887 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
888 Polite typechecking for test and edit expressions. Helps
889 catch errors in the font configuration. (bug 229)
891 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
893 reviewed by: Keith Packard <keithp@keithp.com>
896 Have --with-expat set EXPAT_CFLAGS (bug 2278)
898 2005-01-13 Keith Packard <keithp@keithp.com>
900 * doc/fontconfig-user.sgml:
901 Add SEE ALSO section (bug 2085)
903 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
905 reviewed by: Keith Packard <keithp@keithp.com>
910 * fc-case/Makefile.am:
911 * fc-glyphname/Makefile.am:
912 * fc-lang/Makefile.am:
913 * src/fontconfig.def.in:
914 Cross compiling fixes (bug 280)
916 2005-01-13 Keith Packard <keithp@keithp.com>
919 Update blanks list (Closes bug 86)
921 2005-01-04 Keith Packard <keithp@keithp.com>
923 * src/fccache.c: (FcCacheFontSetAdd):
924 Verify that every font pattern loaded from cache has
925 both FC_FILE and FC_FAMILY entries.
926 Attempt to fix bug #2219.
928 2004-12-29 Keith Packard <keithp@keithp.com>
932 * fontconfig/fontconfig.h:
933 Update for version 2.2.98
935 2004-12-29 Keith Packard <keithp@keithp.com>
937 * fontconfig/fontconfig.h:
938 Document ASCII limitations of Fc character conversion macros
939 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
940 Fix off-by-one error in utf-8 case walking code.
941 Add FcStrDowncase (useful for testing case conversion functions)
943 2004-12-29 Keith Packard <keithp@keithp.com>
946 * fc-case/.cvsignore:
947 clean up CVS ignore lists
948 * fc-lang/iso-3166.txt:
949 Add territory database
951 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
953 Reviewed by: Keith Packard
956 Remove Han characters from Korean orthography
958 2004-12-29 Keith Packard <keithp@keithp.com>
961 Reorder utility programs to make sure fc-case is run before fc-lang
962 as fc-lang uses fcstr.c which uses fccase.h
966 2004-12-29 Keith Packard <keithp@keithp.com>
969 Adopt some RedHat suggestions for standard font configuration.
973 * fc-case/CaseFolding.txt:
974 * fc-case/Makefile.am:
975 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
976 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
977 (dump), (parseRaw), (caseFoldReadRaw), (main):
978 * fc-case/fccase.tmpl.h:
979 Add new helper program 'fc-case' to construct case folding
980 tables from standard Unicode CaseFolding.txt file
983 * src/fclist.c: (FcListValueHash):
984 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
985 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
986 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
987 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
988 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
989 Re-implement case insensitive functions with Unicode
990 aware versions (including full case folding mappings)
992 2004-12-13 Keith Packard <keithp@keithp.com>
994 reviewed by: Owen Taylor <otaylor@redhat.com>
996 * src/fcmatch.c: (FcFontSetSort):
997 I changed FcFontSetSort to respect the generic aliases better
998 in the face of language matching.
1000 What I did was to ammend the strict sort order used by FcFontSort so
1001 that it 'satisfies' the language specified in the pattern by locating
1002 the best matching font supporting each pattern language and then
1003 ignores language in the remaining fonts for purposes of matching.
1005 So, when asking for 'sans:lang=en', you'll get an English font first,
1006 and then the remaining fonts sorted with respect to the 'sans' alias
1007 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1009 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1011 reviewed by: Keith Packard <keithp@keithp.com>
1013 * fontconfig/fontconfig.h:
1016 Configuration changes to request synthetic emboldening of
1017 fonts. The actual emboldening code will live in Xft.
1019 2004-12-09 John Thacker <thacker@math.cornell.edu>
1021 reviewed by: Keith Packard <keithp@keithp.com>
1025 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1026 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1027 и), and don't even appear in KOI8-R. (The hypothesis that they
1028 don't appear in KOI8-R due to their similarity with Latin I and i is
1029 eliminated by their presence in KOI8-U.) I have a couple of fonts
1030 with Russian support that don't have the letter.
1032 Therefore, 0406 and 0456 should be removed from or commented out of
1035 2004-12-06 michael meeks <mmeeks@novell.com>
1037 Reviewed by: Keith Packard <keithp@keithp.com>
1039 * src/fcinit.c: (FcMemReport):
1041 * src/fclist.c: (FcObjectSetAdd):
1042 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1043 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1044 * src/fcxml.c: (FcParsePatelt):
1045 memoize strings and share a single copy for all uses. Note that
1046 this could be improved further by using statically allocated blocks
1047 and gluing multiple strings together, but I'm basically lazy.
1048 In my environment with 800 font files, I get a savings of about 90KB.
1050 2004-12-06 Keith Packard <keithp@keithp.com>
1054 * config/Makedefs.in:
1057 * doc/fcatomic.fncs:
1058 * doc/fcblanks.fncs:
1059 * doc/fccharset.fncs:
1060 * doc/fcconfig.fncs:
1061 * doc/fcconstant.fncs:
1063 * doc/fcfontset.fncs:
1064 * doc/fcfreetype.fncs:
1066 * doc/fcmatrix.fncs:
1067 * doc/fcobjectset.fncs:
1068 * doc/fcobjecttype.fncs:
1069 * doc/fcpattern.fncs:
1070 * doc/fcstring.fncs:
1071 * doc/fcstrset.fncs:
1073 * doc/fontconfig-devel.sgml:
1074 * doc/fontconfig-user.sgml:
1076 * doc/version.sgml.in:
1077 * fc-cache/Makefile.am:
1078 * fc-cache/fc-cache.c:
1079 * fc-glyphname/Makefile.am:
1080 * fc-glyphname/fc-glyphname.c:
1081 * fc-glyphname/fcglyphname.tmpl.h:
1082 * fc-lang/Makefile.am:
1092 * fc-lang/az_ir.orth:
1126 * fc-lang/fc-lang.c:
1127 * fc-lang/fc-lang.man:
1128 * fc-lang/fclang.tmpl.h:
1173 * fc-lang/ku_ir.orth:
1206 * fc-lang/ps_af.orth:
1207 * fc-lang/ps_pk.orth:
1236 * fc-lang/ti_er.orth:
1237 * fc-lang/ti_et.orth:
1263 * fc-lang/zh_cn.orth:
1264 * fc-lang/zh_hk.orth:
1265 * fc-lang/zh_mo.orth:
1266 * fc-lang/zh_sg.orth:
1267 * fc-lang/zh_tw.orth:
1269 * fc-list/Makefile.am:
1270 * fc-list/fc-list.c:
1271 * fc-match/Makefile.am:
1272 * fc-match/fc-match.1:
1273 * fc-match/fc-match.c:
1274 * fontconfig/fcfreetype.h:
1275 * fontconfig/fcprivate.h:
1276 * fontconfig/fontconfig.h:
1297 Change files from ISO-Latin-1 to UTF-8
1299 2004-12-04 Keith Packard <keithp@keithp.com>
1302 Update links to new freedesktop.org locations
1304 Add uninstall-local to get rid of fonts.conf and local.conf if they
1305 match the distributed versions. Fixes 'make distcheck'
1307 2004-12-04 Keith Packard <keithp@keithp.com>
1311 * fontconfig/fontconfig.h:
1312 Updates for version 2.2.97
1314 2004-12-04 Owen Taylor <otaylor@redhat.com>
1316 reviewed by: Keith Packard <keithp@keithp.com>
1318 * fc-cache/fc-cache.c: (main):
1319 Sleep for two seconds before exiting to make sure timestamps
1320 for future changes have distinct mod times in the file system.
1323 Add Punjabi orthography. Bug #1671.
1325 2004-12-04 Keith Packard <keithp@keithp.com>
1328 Just remove the FC_FONTDATE -- it has locale issues and
1329 annoys redhat multi-arch installs. Now that all X fonts are
1330 included without prejudice, the chances of the date being at
1331 all interesting are rather limited. Bug #505.
1333 Add copyright and license
1335 2004-12-04 Keith Packard <keithp@keithp.com>
1338 Change default set of fonts to include all of
1339 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1340 * doc/fontconfig-user.sgml:
1341 Document new <include>directory-name</include> semantics
1343 add <include ignore_missing="yes">conf.d</include>
1345 Add selectfont to ignore bitmap fonts, add comment for
1346 selectfont which accepts bitmap fonts.
1349 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1350 Allow <include> configuration elements to reference directories.
1351 Parse and load all files of the form [0-9]* in sorted order.
1353 2004-12-04 Keith Packard <keithp@keithp.com>
1356 Report command line for $srcdir/configure accurately.
1359 2004-12-04 Keith Packard <keithp@keithp.com>
1361 * src/fcfreetype.c: (FcFreeTypeQuery):
1362 Check for non-empty face->family_name and face->style_name
1363 before using those for the font. Empty names match everything.
1366 2004-12-04 Keith Packard <keithp@keithp.com>
1369 * fontconfig/fontconfig.h:
1370 * src/fcfreetype.c: (FcFreeTypeQuery):
1372 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1373 available. This provides font file format information (BDF, Type 1,
1374 PCF, TrueType) for each font. Closes #109.
1376 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1378 reviewed by: Keith Packard <keithp@keithp.com>
1380 * doc/fontconfig-user.sgml:
1383 * fontconfig/fontconfig.h:
1384 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1385 (GetScriptTags), (FcFontCapabilities):
1387 Add detection for font capabilities (bug #105)
1389 2004-12-04 Keith Packard <keithp@keithp.com>
1392 Move existing fonts.conf to fonts.conf.bak
1395 Add detection of iconv
1397 * doc/fcpattern.fncs:
1398 * doc/fontconfig-devel.sgml:
1399 * doc/fontconfig-user.sgml:
1401 Document new selectfont elements
1404 Switch to UTF-8 in comment
1406 * fontconfig/fontconfig.h:
1408 Add fullname, and family/style/fullname language entries
1410 * src/fccache.c: (FcCacheFontSetAdd):
1411 * src/fcdir.c: (FcFileScanConfig):
1412 Respect selectfont/*/glob
1415 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1416 (FcConfigCompareValue), (FcConfigPatternsAdd),
1417 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1418 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1419 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1420 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1421 Add support for selectfont
1423 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1424 (FcStringInPatternElement), (FcFreeTypeQuery):
1425 Add multi-lingual family/style/fullname support
1427 * src/fclist.c: (FcListPatternMatchAny):
1428 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1430 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1431 (FcObjectStaticName):
1432 Add new FcPatternRemove/FcPatternAppend.
1433 FcObjectStaticName stores computed pattern element names which
1434 are required to be static.
1436 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1441 Remove spurious / after $(DESTDIR)
1443 2004-06-30 Keith Packard <keithp@keithp.com>
1447 * fontconfig/fontconfig.h:
1450 2004-06-30 Keith Packard <keithp@keithp.com>
1452 Provided by: Lubos Lunak <l.lunak@suse.cz>
1454 * src/fccfg.c: (FcConfigUptoDate):
1455 However FcConfigUptoDate() doesn't seem to work. See the attached
1456 patch. First there's an obvious misplaced parenthesis making it
1457 return always false, and second, even this call fails to detect font
1458 changes (e.g. adding a new font to
1459 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1460 well. The problem seems to be triggered by my fonts.conf specifying
1461 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1462 doesn't include subdirs, unlike config->fontDirs.
1464 2004-06-03 Keith Packard <keithp@keithp.com>
1466 * fontconfig/fontconfig.h:
1467 Remove comma at end of FcResult enum definition.
1469 2004-05-29 Keith Packard <keithp@keithp.com>
1472 Add steps to md5sum release
1474 2004-05-29 Keith Packard <keithp@keithp.com>
1478 * fontconfig/fontconfig.h:
1481 2004-05-29 Keith Packard <keithp@keithp.com>
1483 * fontconfig/fontconfig.h:
1484 * src/fcmatch.c: (FcFontSetMatch):
1485 Add FcResultOutOfMemory to provide an accurate error when
1486 FcFontSetMatch fails in this way
1489 Make #warning about lacking various FreeType features indicate
1490 which version those features appeared so users know how to
1491 fix the problem (Thanks to Anton Tropashko)
1493 2004-05-05 Keith Packard <keithp@keithp.com>
1495 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1496 Replace MIN/MAX/ABS macros which happen to have come
1497 from FreeType with fontconfig-specific ones (FC_*)
1499 2004-04-23 Keith Packard <keithp@keithp.com>
1502 Extend release preparation instructions to include
1503 notification and distribution steps
1505 2004-04-23 Keith Packard <keithp@keithp.com>
1509 * fontconfig/fontconfig.h:
1510 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1512 2004-04-23 Keith Packard <keithp@keithp.com>
1515 Ignore a few more autotool files
1517 2004-04-14 Keith Packard <keithp@keithp.com>
1520 Add instructions for doing a release
1522 * fontconfig.spec.in:
1523 clean up .spec file; perhaps this will be useful to somebody...
1527 * fontconfig/fontconfig.h:
1530 * fc-lang/fc-lang.c:
1531 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1533 * fc-glyphname/Makefile.am:
1534 * fc-lang/Makefile.am:
1535 * fc-list/Makefile.am:
1536 * fc-match/Makefile.am:
1538 Add WARN_CFLAGS to pass -W flags for GCC systems
1540 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1541 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1542 Change various char types around to match across
1544 Fixed bug in using available_sizes[i].height which
1545 is in pixels, not 64ths of a pixel.
1547 2004-03-06 Keith Packard <keithp@keithp.com>
1549 * src/fcfreetype.c: (FcFreeTypeQuery):
1550 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1551 matches looking for explicit values prefer exact matches
1553 2004-03-02 Keith Packard <keithp@keithp.com>
1555 Supplied by: mfabian@suse.de (Mike FABIAN)
1557 * src/fcfreetype.c: (FcFreeTypeQuery):
1558 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1559 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1561 2004-02-21 Manish Singh <yosh@gimp.org>
1563 * fc-glyphname/fc-glyphname.c: (main):
1564 Cast strlen to int for printf, so we're 64-bit clean.
1566 2004-02-11 Keith Packard <keithp@keithp.com>
1569 * src/fcfreetype.c: (FcGetPixelSize):
1570 Ok, so I messed up the test for y_ppem. Let's see if I
1571 got it right this time.
1573 2004-02-10 Keith Packard <keithp@keithp.com>
1576 * src/fcfreetype.c: (FcGetPixelSize):
1577 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1578 FT_Bitmap_Size record. Add a configure.in test for this
1579 and change the code accordingly (using height instead).
1581 2004-02-06 Keith Packard <keithp@keithp.com>
1584 Add Low Saxon orthography
1585 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1587 * src/fccfg.c: (FcConfigNewestFile):
1588 Oops. Left 'newest.set' unset, which would miscompute
1591 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1592 (FcFreeTypeCheckGlyph):
1593 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1594 font properties (which report the wrong value in current FreeType)
1596 Don't attempt to check for empty glyphs in non-scalable fonts; they
1599 2004-02-01 Tor Lillqvist <tml@iki.fi>
1601 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1602 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1603 cache if config->cache is NULL, which happens if FcConfigHome() is
1604 NULL. Guard against that by using the temp folder in that case.
1606 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1608 * fc-lang/az_ir.orth:
1609 * fc-lang/ku_ir.orth:
1610 * fc-lang/ps_af.orth:
1611 * fc-lang/ps_pk.orth:
1612 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1613 (Afghan and Pakistani).
1615 Updated Urdu orthography with real data.
1617 2003-12-11 Carl Worth <cworth@east.isi.edu>
1619 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1622 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1624 (all-local): Remove excessive whitespace.
1626 * autogen.sh: Add 'set -e' to abort when any program fails,
1627 (avoids printing of 'now type make' after configure aborts).
1629 2003-11-17 Eric Christopherson <rakko@charter.net>
1631 reviewed by: Keith Packard <keithp@keithp.com>
1634 * fontconfig/fcfreetype.h:
1636 Switch to FreeType 2.1.7 style includes. Bug #150.
1638 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1640 * fc-list/fc-list.sgml: Add some example usages.
1642 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1645 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1648 2003-10-27 Keith Packard <keith@keithp.com>
1651 * fontconfig/fontconfig.h:
1652 Update to version 2.2.92
1654 2003-10-27 Keith Packard <keithp@keithp.com>
1659 * fc-cache/Makefile.am:
1660 * fc-glyphname/Makefile.am:
1661 * fc-lang/Makefile.am:
1662 * fc-list/Makefile.am:
1663 * fc-match/Makefile.am:
1666 Yet more cleanups to finish getting 'make distcheck' working
1667 This has been tested to ensure that it even works from a _build
1670 2003-10-26 Keith Packard <keithp@keithp.com>
1674 * fc-cache/Makefile.am:
1675 * fc-glyphname/Makefile.am:
1676 * fc-lang/Makefile.am:
1677 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1678 * fc-list/Makefile.am:
1679 * fc-match/Makefile.am:
1680 Attempts to fix 'make distcheck' work. Things are
1681 progressing pretty well, but there are still failures
1682 long into the process dealing with docs (as always).
1684 The big changes here are mostly to make $(srcdir) != "."
1685 work correctly, fixing the docbook related sections and
1686 fc-lang were particularily tricky. Docbook refuses to load
1687 system entities from anywhere other than where the original .sgml
1688 file was located, so no luck looking in "." for the
1689 configure-generated version.sgml and confdir.sgml files.
1691 fc-lang needed help finding .orth files; added a -d option
1692 to set the directory as the least evil of many options.
1694 Now to go use a faster machine and try and wring out the last
1697 2003-10-26 Keith Packard <keithp@keithp.com>
1701 2003-10-26 Keith Packard <keithp@keithp.com>
1704 Include confdir.sgml.in in EXTRA_DIST
1706 2003-10-09 Josselin Mouette <joss@debian.org>
1708 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1709 * fc-list/fc-list.sgml fc-list/Makefile.am:
1710 Replace fc-cache and fc-list manpages with more detailed, SGML
1713 2003-09-23 Owen Taylor <otaylor@redhat.com>
1715 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1716 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1717 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1720 2003-09-23 Owen Taylor <otaylor@redhat.com>
1722 * fc-lang/ka.orth: Remove Georgian capitals, they
1723 aren't used for normal writing. (Bug #116)
1725 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1727 * doc/fontconfig-devel.sgml:
1728 * doc/fontconfig-user.sgml:
1729 * fontconfig/fontconfig.h:
1731 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1732 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1734 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1735 monospace and dual-width fonts, allow roughly a 3% variance in the
1738 2003-08-31 Manish Singh <yosh@gimp.org>
1740 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1743 2003-08-15 Carl Worth <cworth@isi.edu>
1745 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1746 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1748 * src/fcpat.c (FcValueListEntDestroy): New function to support
1749 FcFini memory cleanup. Some statistics are not kept in
1751 (FcValueListFreeze): Move hashTable outside this function so it
1752 can be accessed by FcValueListThawAll.
1753 (FcValueListThawAll): New function complements FcValueListFreeze.
1754 (FcPatternBaseFreeze): Move hashTable outside this function so it
1755 can be accessed by FcPatternBaseThawAll.
1756 (FcPatternBaseThawAll): New function complements
1757 FcPatternBaseFreeze.
1758 (FcPatternThawAll): New function complements FcPatternFreeze.
1760 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1762 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1763 allocated FcCharLeafEnt "blocks" so they can be freed later.
1764 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1765 can be accessed by FcCharSetThawAllLeaf.
1766 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1767 (FcCharSetFreezeBase): Move hashTable outside this function so it
1768 can be accessed by FcCharSetThawAll.
1769 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1771 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1772 (FcConfigDestroy): Fic leak of FcBlanks.
1774 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1775 (main): Add call to FcFini when finished.
1777 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1778 static. Add prototypes.
1780 * doc/fcinit.fncs: Add documentation for FcFini function.
1782 * doc/edit-sgml.c: Mark several local functions as static. Add
1785 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1787 2003-06-15 Tor Lillqvist <tml@iki.fi>
1789 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1790 before comparing (needed on Windows).
1792 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1794 2003-06-13 Tor Lillqvist <tml@iki.fi>
1796 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1799 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1800 WINDOWSFONTDIR token.
1802 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1803 end, not to confuse libtool, which expects the EXPORTS line to be
1804 the first. Add FcConfigEnableHome.
1806 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1807 built as a DLL on Win32.
1809 2003-06-09 Keith Packard <keithp@keithp.com>
1811 * Tag version 2.2.90
1813 2003-06-09 Keith Packard <keithp@keithp.com>
1815 * Optimization in FcLangSetIndex was broken, occasionally
1816 returning a pointer to the wrong location on miss
1818 * Add fc-match to test font matching from the command line.
1820 2003-05-31 Keith Packard <keithp@keithp.com>
1822 * (Bug 85) add support for culmus fonts
1823 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1824 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1826 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1828 * Fix "contains" op for strings and langsets.
1830 2003-05-17 Keith Packard <keithp@keithp.com>
1832 * Fix build error with BDF prop local. Free langset after query
1834 2003-05-14 Keith Packard <keithp@keithp.com>
1836 * Extract spacing from XLFD atom
1838 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1840 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1841 disappeared in 1.30.
1843 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1845 2003-05-12 Keith Packard <keithp@keithp.com>
1847 * Use FcIsWidth to share code
1849 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1850 misclassifying some Han fonts as monospaced.
1852 2003-05-07 Keith Packard <keithp@keithp.com>
1854 * Add filename-based accept/reject to ammend available fonts.
1856 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1857 older FreeType releases.
1859 2003-05-06 Keith Packard <keithp@keithp.com>
1861 * Remove 0b82 and Tamil numbers from tamil
1862 orthography (Jungshik Shin <jshin@mailaps.org>)
1864 2003-05-04 Keith Packard <keithp@keithp.com>
1866 + Map glyph names in fonts with adobe custom encoding to unicode
1868 2003-05-02 Keith Packard <keithp@keithp.com>
1870 * Add FC_WEIGHT_BOOK as weight 75
1872 2003-04-30 Keith Packard <keithp@keithp.com>
1874 * Typo in bitstream foundry name
1876 2003-04-24 Keith Packard <keithp@keithp.com>
1878 * Eliminate italic_angle check for PS fonts
1880 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1882 * Getting closer to fixing /etc/fonts hard-coding.
1884 2003-04-22 Keith Packard <keithp@keithp.com>
1886 * Update autogen.sh to work with newer automake versions
1887 * Handle pattern elements moving during multiple edits
1889 2003-04-23 James Henstridge <james@daa.com.au>
1891 * doc/fontconfig-devel.sgml: close the <para> element.
1893 * doc/fcpattern.fncs: close the <para> element.
1895 * doc/func.sgml: close the <refsynopsisdiv> element.
1897 2003-04-22 Keith Packard <keithp@keithp.com
1899 * Update autogen.sh to work with newer automake versions
1900 * Handle pattern elements moving during multiple edits
1902 2003-04-17 Colin Walters <walters@debian.org>
1904 + Remove some unused variables, and initialize some other ones so
1905 gcc doesn't warn us.
1907 2003-04-16 Keith Packard <keithp@keithp.com>
1909 + tag version 2.1.94
1911 2003-04-16 Keith Packard <keithp@keithp.com>
1913 + add BDF property fetching support for foundry
1914 (from Juliusz Chroboczek)
1915 + add BDF property fetching support for width
1917 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1919 + Implemented foundry generation for Type 1 and TrueType
1921 2003-04-11 Gerard Escalante <g2@magestudios.net>
1923 + Retrieve information from Type1 FontInfo dictionaries
1925 2003-04-07 Colin Walters <walters@verbum.org>
1927 + src/Makefile.am: Fix dummy makefile target names when
1928 MS_LIB_AVAILABLE isn't set.
1930 2003-03-22 Tor Lillqvist <tml@iki.fi>
1932 Changes for Windows:
1934 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1936 + We don't want to hardcode the fonts.conf file location in the
1937 DLL, so we look up the DLL location at run-time in a DllMain()
1938 function. The fonts.conf location is deduced from that.
1940 + The colon can't be used as path separator on Windows,
1941 semicolon is used instead. File path components can be separated
1942 with either slash or backslash. Absolute paths can also begin
1943 with a drive letter.
1945 + Add internal function FcStrLastSlash that strrchr's the last
1946 slash, or backslash on Windows.
1948 + There is no link() on Windows. For atomicity checks, mkdir a
1949 lock directory instead.
1951 + In addition to HOME, also look for USERPROFILE.
1953 + Recognize the special font directory token WINDOWSFONTDIR, to
1954 use the system's font directory.
1956 + Remove the fontconfig-def.cpp that was obsolete. Add
1957 fontconfig.def(.in), without internal functions.
1959 + Add a fontconfig-zip(.in) script, used to build a binary
1962 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1963 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1964 to main package and man3/* to devel package
1966 + Added missing defattr(-, root, root) to main RPM package
1968 + Added HTML and text development documentation to -devel subpackage
1970 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1971 + Added back the configure macro options --disable-docs, otherwise
1972 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1973 version number) unconditionally, causing RPM to fail the build due
1974 to _unpackaged_files_terminate_build. We pick up the pregenerated
1975 docs with %doc already.
1977 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1978 + Removed commented out rpm macro define at top of spec file,
1979 replacing it with a simple explanation, since rpm macros are
1980 expanded by rpm even in comments.
1982 + Changed /usr/bin to _bindir in BuildRequires lines
1984 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1986 + Reorganized file manifest lists
1988 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1990 + fontconfig.spec.in: Improvements from Red Hat spec file.
1992 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1994 + docs/*.sgml: SGML fixes.
1996 Sat Mar 1 17:28:53 PST 2003 keithp
1997 + Ok, so the ChangeLog is a bit out of date
1999 + Lots of bugs fixed; most are in bugzilla, the
2000 biggest problems were in cache management where
2001 Owen discovered the library would lose badly when
2002 combining fonts-cache and ~/.fonts-cache data
2004 + Converted from autoconf to automake. This after
2005 getting patches accepted into libtool to allow
2006 the '-version-number' argument which lets
2007 packages set version numbers explicitly rather
2008 than the roundabout libtool way
2010 + Converted documentation to SGML using the docbook
2011 DTD. Now .txt and .html documents are installed
2012 in /usr/share/doc/fontconfig and there's no
2013 man page. Perhaps a man version can be written
2016 Sat Aug 31 15:21:22 PDT 2002 keithp
2017 + Xrender and Xft had several bugs related to
2018 rendering manually placed or poly-face text
2020 + Added more complete memory tracing in fontconfig
2021 Checked with (patched) mozilla and found no leaks
2023 + Updated Latin orthographies by comparing those from
2024 evertype.com with those from eki.ee. Tried to make
2025 sensible choices, including chars that occured in both
2026 and leaving some optional chars out that occured only
2029 Mon Aug 26 16:33:04 PDT 2002 keithp
2030 + Owen discovered that FcLangSetHasLang wasn't actually
2031 checking the language set.
2033 Mon Aug 26 13:37:23 PDT 2002 keithp
2034 + Append a version number to cache filenames
2036 Thu Aug 22 11:36:18 PDT 2002 keithp
2038 + Add "contains" and "not_contains" operators and elements to
2041 + Changed semantics of eq operator for LangSets to check for
2042 FcLangEqual so that any match will do
2044 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2045 of FcValueEqual to check for identical values when inserting into
2046 the results. This broke when the above semantic change was made,
2047 now it uses FcValueEqual which is "more correct" in any case.
2049 Thu Aug 22 00:32:29 PDT 2002 keithp
2051 + Reimplement FC_LANG as new datatype. Lists of strings
2052 was consuming over a megabyte of memory for 401 fonts.
2054 + Freeze patterns loaded from cache files. This shares
2055 common value lists and common patterns which saves
2056 considerable memory.
2058 + Change the denotation of 'constant' charsets to use special
2059 ref value instead of separate boolean.
2061 + Clean up leak tracing stuff, found several unannoted alloc/free
2064 Tue Aug 20 16:17:37 PDT 2002 keithp
2066 + Fix memory leak when parsing matrices from XML
2068 Mon Aug 19 11:57:27 PDT 2002 keithp
2070 + Fix autoconf files to pass FONTCONFIG_PATH on
2071 compile line so that ${prefix} gets substituted
2074 + Use getc_unlocked/putc_unlocked on systems that
2075 provide them to avoid damage done to stdio by posix
2077 + Eliminate FC_PATTERN and FcTypePattern in favor of
2078 an extended api for FcConfigSubstitute which takes
2079 both the font and the pattern.
2081 + Add 'sans serif' alias for 'sans-serif' as some apps
2082 can't handle hyphens in family names
2084 + Eliminate pretense of support for libxml2
2086 + Comment origins of Han orthographies
2088 Tue Jul 30 18:37:09 PDT 2002 keithp
2090 + Add binding property to edit element so that strong
2091 binding values may be inserted by the config file.
2092 The default remains weak.
2094 Sun 28 Jul 04:16:55 PDT 2002 keithp
2096 + Tagged release candidate 1 in the CVS tree and
2097 placed fcpackage.rc1.tar.gz for distribution
2099 Thu Aug 1 08:55:08 PDT 2002 keithp
2101 + Fixed autoconf builds to always specify install
2102 target files (for BSD). Also fixed to
2103 define FONTCONFIG_PATH in config.h so that
2104 nonstandard installs will actually work.