1 2005-11-25 Patrick Lam <plam@mit.edu>
2 * src/fcmatch.c (FcMatchObjectPtrsInit, FcCompareValueList):
4 Don't do random matching when bad objects are passed into
7 2005-11-25 Patrick Lam <plam@mit.edu>
9 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
10 FcPatternSerialize, FcPatternUnserialize,
11 FcValueListEnsureBank, FcValueListDistributeBytes,
12 FcValueListUnserialize):
14 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
15 _fcPatternElts, _fcValueLists for consistency.
17 2005-11-25 Dirk Mueller <dmueller@suse.com>
22 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
24 2005-11-25 Patrick Lam <plam@mit.edu>
26 * src/fccache.c (FcDirCacheConsume):
27 * src/fccharset.c (FcCharSetUnserialize):
28 * src/fcfs.c (FcFontSetUnserialize):
29 * src/fclang.c (FcLangSetUnserialize):
30 * src/fcname.c (FcObjectUnserialize):
31 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
32 FcPatternUnserialize):
34 Pass around FcCache *s to the Unserialize functions for extra
35 consistency (and less overhead, for what that's worth).
37 2005-11-24 Dirk Mueller <dmueller@suse.com>
41 * src/fcmatch.c (FcCompare*, FcFontSetSort):
42 * src/fcname.c (FcNameUnparseValue):
44 Inline the *PtrU functions to gain perf.
45 Remove unneeded params for the FcCompare* functions.
47 2005-11-24 Dirk Mueller <dmueller@suse.com>
50 * src/fcint.h, fontconfig/fontconfig.h:
52 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
54 * src/fcpat.c, src/fcint.h, src/fcname.c:
56 Check for type validity during FcPatternAddWithBinding, don't
57 verify type in FcFontMatch, don't call FcCanonicalize here
58 (which always does a deep copy).
60 2005-11-24 Dirk Mueller <dmueller@suse.com>
63 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
64 * src/fcpat.c (FcPatternAddWithBinding):
66 Make FcCompareString and FcCompareFamily less expensive.
67 Only add a value for FC_FAMILY if the proposed value is a string.
69 2005-11-24 Dirk Mueller <dmueller@suse.com>
72 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
73 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
74 * src/fcint.h (FcDebug):
76 Inline FcDebug invocations and only initialize once, in FcInit*.
77 Improve debug msg in FcPatternPrint.
79 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
82 * fontconfig/fontconfig.h:
85 Minor code warning cleanups.
87 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
90 * fc-match/fc-match.c (main):
92 Make getopt_long accept -s parameter to fc-match as well.
94 2005-11-21 Dirk Mueller <dmueller@suse.com>
97 * src/fcmatch.c (FcCompareValueList):
99 Manually perform inlining & partial redundancy elimination to
100 reduce calls to FcValueListPtrU.
102 2005-11-21 Dirk Mueller <dmueller@suse.com>
105 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
106 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
108 Only invoke strlen() when really necessary.
110 2005-11-19 Matthias Clasen <mclasen@redhat.com>
114 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
119 Get rid of the use of freetype internal headers in fcfreetype.c,
120 since those headers will go away with freetype 2.2. Replace with
121 public domain ftglue code from pango. Note that the patch removes
122 some extra error checking in FT_Get_BDF_Property() and comments
123 out the skipping of empty pcf fonts.
125 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
128 * fc-lang/fc-lang.c (main):
130 Further fix of patch from 2005-11-04: miscounted numbers count
131 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
132 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
134 Removed leafidx_count and numbers_count since they are the same
135 and replaced them with offset_count.
137 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
140 * fc-cat/fc-cat.c (main):
142 Don't crash when fc-cat invoked with no arguments.
144 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
147 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
149 Fix invalid read access caused by premature free and
150 GCC4 warnings in libxml2 codepath.
152 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
155 * src/fccfg.c (FcConfigValues):
157 List iteration not needed in FcConfigValues, since it's building
158 up the list itself; we can just strip FcVoid elements during
161 2005-11-17 Patrick Lam <plam@mit.edu>
162 * src/fccfg.c (FcConfigValues):
164 Fix crash on invalid constants in config files (forgot to update
165 a pointer upon list iteration.)
167 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
170 * src/fcxml.c (FcTypecheckExpr):
172 Complain about invalid constants in config files.
174 2005-11-17 Andreas Schwab <schwab@suse.de>
177 * src/fccache.c (FcGlobalCacheSave):
179 Don't add current_arch_start more than once.
181 2005-11-16 Patrick Lam <plam@mit.edu>
182 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
183 * src/fcfs.c (FcFontSetUnserialize):
184 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
185 * src/fcpat.c (FcStrUnserialize):
187 Fix ordering of ALIGN with respect to saving block_ptr; add
188 another ALIGN to fcfs.c.
190 2005-11-16 Patrick Lam <plam@mit.edu>
191 * src/fccache.c (FcDirCacheProduce)
193 Fix case where alignment bytes bumped up metadata->count
194 causing unwarranted failures to write cache files.
195 (Reported by Stephan Kulow).
197 2005-11-16 Patrick Lam <plam@mit.edu>
198 * src/fccache.c (FcDirCacheProduce):
199 * src/fccharset.c (FcCharSetDistributeBytes):
200 * src/fcfs.c (FcFontSetDistributeBytes):
202 * src/fclang.c (FcLangSetDistributeBytes):
203 * src/fcname.c (FcObjectDistributeBytes):
204 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
207 Add *NeededBytesAlign(), which overestimates the padding which is
208 later added by the new ALIGN macro. Fix alignment problems on
209 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
210 version by Andreas Schwab).
212 2005-11-16 Stephan Kulow <coolo@kde.org>
217 Use sysconf to determine proper PAGESIZE value; this
218 appears to be POSIX-compliant. (reported by Andreas Schwab)
220 2005-11-04 Patrick Lam <plam@mit.edu>
226 Fix bug 2878 (excessive relocations at startup for charsets,
227 reported by Ross Burton): fc-lang/fc-lang now creates the
228 static form of the langset, not the dynamic form, so that
229 the charsets should now be in .rodata.
231 2005-11-04 Patrick Lam <plam@mit.edu>
232 * src/fcdir.c (FcDirScanConfig):
234 Add test for validity of directory caches that
235 somehow got lost (reported by make distcheck).
237 2005-11-04 Patrick Lam <plam@mit.edu>
241 * fontconfig/fontconfig.h:
243 Bump version to 2.3.92.
245 2005-11-02 Patrick Lam <plam@mit.edu>
246 * src/fcpat.c (FcPatternDuplicate):
248 Fix argument ordering problem in call to FcPatternTransferFullFname.
250 2005-11-02 Patrick Lam <plam@mit.edu>
251 * src/fcfreetype.c (FcFreetypeQuery):
252 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
253 FcPatternTransferFullFname):
255 Fix warnings and embarrassing double-free error.
257 2005-11-02 Zhe Su <zsu@novell.com>
262 Change the rule for artificial emboldening in fonts.conf.in. This
263 enables the support for artificial emboldening included in cairo.
265 2005-11-02 Patrick Lam <plam@mit.edu>
266 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
268 Don't zero out full names for FC_REF_CONSTANT fonts;
269 also, duplicate full names when transferring, and free
270 full names when freeing the associated font.
271 Reported by Jinghua Luo.
273 2005-11-02 Patrick Lam <plam@mit.edu>
274 * fc-cache/fc-cache.c (scanDirs):
275 * src/fcpat.c (FcValueListSerialize):
277 Revert the previous patch and commit the correct patch:
278 I forgot a canonicalization in FcValueListSerialize, so
279 that it would choke on already-serialized input files. Duh!
281 2005-11-02 Patrick Lam <plam@mit.edu>
282 * fc-cache/fc-cache.c (scanDirs):
284 Forcibly rescan a directory before writing a fresh local
285 cache file for that directory, fixing the losing-fonts
286 problem reported by Mike Fabian and also apparently the
287 font cache file corruption.
289 2005-11-02 Patrick Lam <plam@mit.edu>
290 * src/fccache.c (FcGlobalCacheLoad):
292 Fix thinko: actually, the whole global cache is stale
293 if the global cache is older than the (newest) config file.
295 2005-11-02 Patrick Lam <plam@mit.edu>
296 * src/fccache.c (FcGlobalCacheLoad):
297 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
300 Declare the global cache of a directory's contents to be stale if
301 the directory is newer than the (newest) configuration file.
303 2005-10-31 Patrick Lam <plam@mit.edu>
305 * src/fclist.c (FcListAppend):
306 * src/fcmatch.c (FcFontRenderPrepare):
307 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
308 FcPatternFreeze, FcPatternBaseFreeze):
310 Copy the full pathname whenever duplicating an FcPattern; otherwise,
311 applications continue breaking.
313 2005-10-31 Patrick Lam <plam@mit.edu>
314 * fc-cat/fc-cat.c (FcCacheFileRead, main):
315 * src/fcfreetype.c (FcFreeTypeQuery):
317 Fix small memory error (tried to free argv); use basename and
318 dirname correctly (they can modify their arguments).
320 2005-10-31 Patrick Lam <plam@mit.edu>
328 Reinstate basename patch, but keep a hash table linking FcPatterns
329 to their fully-qualified font names for clients' benefit. Clients
330 only pay for the font names once they request the FC_FILE property
331 from an FcPattern, but the font name is malloc'd at that point (i.e.
332 not mmapped: that's impossible, since it may vary between machines.)
333 Clients do have to pay for a copy of the path name per cache file.
335 Note that FcPatternGetString now does some rewriting if you ask
336 for an FC_FILE, appending the pathname as appropriate.
338 2005-10-31 Patrick Lam <plam@mit.edu>
339 * src/fcfreetype.c (FcFreeTypeQuery):
341 Revert basename patch, which breaks fontconfig clients on my system.
343 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
346 * fontconfig/fonts.conf.in:
347 * fontconfig/fontconfig.h:
351 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
352 to load embedded bitmaps or not.
354 2005-10-25 Patrick Lam <plam@mit.edu>
355 * src/fcfreetype.c (FcFreeTypeQuery):
357 Only add basename to patterns' FC_FILE element, not any part of
360 2005-10-22 Patrick Lam <plam@mit.edu>
363 Add some more consts, fixing more GCC4 warnings.
365 2005-10-22 Zhe Su <zsu@novell.com>
368 Support localized font family and style names.
369 This has been reported to break old apps like xfd, but modern
370 (gtk+/qt/mozilla) apps work fine.
372 2005-10-21 Patrick Lam <plam@mit.edu>
373 * src/fccache.c (FcGlobalCacheLoad):
375 Destroy the global cache file if it's terminally broken. (reported by
378 2005-10-21 Patrick Lam <plam@mit.edu>
379 * fc-list/fc-list.c (main):
380 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
381 * fontconfig/fontconfig.h:
383 Prevent fc-list from escaping strings when printing them (reported by
386 2005-10-20 Marcus Meissner <meissner@suse.de>
389 * fontconfig/fontconfig.h:
391 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
393 2005-10-14 Ross Burton <ross@burtonini.com>
396 * fc-glyphname/fc-glyphname.c:
399 Add consts to variables so as to move arrays into .rodata.
401 2005-10-14 Mike Fabian <mfabian@suse.de>
404 * src/fccache.c (FcDirCacheUnlink):
406 Check existence of directory cache file before attempting to unlink.
408 2005-10-13 Patrick Lam <plam@mit.edu>
409 * src/fccache.c (FcDirCacheUnlink):
411 Fix flipped return value on unlink. (Reported by Mike Fabian)
413 2005-10-12 Patrick Lam <plam@mit.edu>
416 * src/fcdir.c (FcDirScanConfig):
419 When fc-cache is run without --force, use directory cache files
420 to speed up fc-cache run time. (Reported by Mike Fabian)
422 2005-10-06 Patrick Lam <plam@mit.edu>
424 * src/fcname.c (FcObjectToPtr):
425 * src/fcpat.c (FcStrStaticName):
427 Add padding to make valgrind and glibc not hate each other
428 when calling strlen().
430 2005-10-05 Simos Xenitellis <simos74@gmx.net>
431 reviewed by: plam & keithp
435 Modify config file to use Greek fonts before Asian fonts with
438 2005-10-05 Christian Biesinger <cbiesinger@web.de>
439 reviewed by: plam & keithp
443 Use libtool -no-undefined flag on all platforms.
445 2005-10-05 Patrick Lam <plam@mit.edu>
446 * src/fccache.c (FcCacheHaveBank):
448 Implement move-to-front array for banks (perf regression
449 reported by Ronny V. Vindenes).
451 2005-10-04 Patrick Lam <plam@mit.edu>
452 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
453 FcDirCacheHasCurrentArch):
454 * fc-cache/fc-cache.c (scanDirs):
455 * fontconfig/fontconfig.h:
457 Add new API which unlinks directory caches and checks dir caches
458 for existence of appropriate sections. Fix fc-cache to unlink
459 stale cache files and save directory caches that lack relevant
462 2005-10-03 Patrick Lam <plam@mit.edu>
463 * src/fccache.c (FcDirCacheValid):
465 Ensure that a directory cache has the appropriate section
466 before reporting that it is valid (reported by Matthias Clasen).
468 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
476 Use libxml2 if requested (with --enable-libxml2) or if
477 expat is not available.
479 2005-09-29 Patrick Lam <plam@mit.edu>
480 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
482 Fix multi-arch cache files: compute the position for the
483 block to be added using info from OrigFile, not NewFile.
485 2005-09-28 Patrick Lam <plam@mit.edu>
486 * src/fccache.c (FcCacheMachineSignature):
488 Cast results of sizeof() to unsigned int to get rid of
489 warnings on x86_64 (thanks Matthias Clasen).
491 2005-09-27 Patrick Lam <plam@mit.edu>
492 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
495 Use FcAtomic to rewrite cache files.
497 2005-09-27 Patrick Lam <plam@mit.edu>
499 * src/fccache.c (FcDirCacheWrite):
501 Don't unlink the fonts.cache-2 file even if there's no data
502 to write; just write an empty cache file. (thanks Lubos Lunak)
504 2005-09-27 Patrick Lam <plam@mit.edu>
506 * src/fccache.c (FcDirCacheWrite):
508 Allocate room for the subdirectory names in each
509 directory cache. Thanks to James Cloos for finding
510 and diagnosing this bug!
512 2005-09-22 Patrick Lam <plam@mit.edu>
514 * fc-cache/fc-cache.sgml:
515 * src/fccache.c (FcDirCacheWrite):
516 * src/fccache.h (struct FcCache):
518 Update documentation -- fc-cache's man page now says that you
519 need to run fc-cache once per cached architecture; add some
520 documentation to the FcCache structure.
522 Make fc-cache write out fonts.cache-2 files for directories with
523 no fonts (i.e. only subdirectories).
525 2005-09-22 Patrick Lam <plam@mit.edu>
527 * fc-cache/fc-cache.sgml:
529 * fc-glyphname/fc-glyphname.c:
535 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
540 * fontconfig/fcprivate.h:
541 * fontconfig/fontconfig.h:
555 Implement new mmaped cache for font information.
556 Bump so revision to 2.3.90.
558 2005-07-25 Keith Packard <keithp@keithp.com>
560 * doc/fontconfig-user.sgml:
561 * fc-glyphname/fc-glyphname.c: (scan), (main):
562 * fc-lang/fc-lang.c: (FcConfigHome):
563 * fc-match/fc-match.c: (main):
564 * src/fccfg.c: (FcConfigHome):
565 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
566 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
567 (addtag), (FcFontCapabilities):
568 * src/fcpat.c: (FcValueListEntCreate):
569 * src/fcstr.c: (FcStrCaseWalkerInit):
570 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
572 Various GCC 4 cleanups for signed vs unsigned char
574 Match only [0-9]*.conf files in <include>{directory}</include>
575 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
577 2005-07-15 Carl Worth <cworth@cworth.org>
580 * src/fcinit.c: (FcFini):
581 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
584 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
585 Pull the FcObjectStateName hash table out to file scope, and add
586 FcObjectStaticNameFini so that FcFini will cleanup this hash table
589 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
592 2005-06-16 Patrick Lam <plam@MIT.EDU>
596 * src/fccfg.c: (FcConfigCompareValue):
597 Make FcOpNotContains use FcStrStr for strings so that
598 it matches semantics for !FcOpContains.
600 2005-05-20 Keith Packard <keithp@keithp.com>
604 Move fontconfig source package to libs as per override
606 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
608 reviewed by: Mike Fabian
611 The ka.orth file requires several characters which are not
612 used anymore in modern Georgian and which are missing in the free
613 Georgian TrueType fonts downloadable at:
615 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
617 2005-04-27 Keith Packard <keithp@keithp.com>
621 Update date to real 2.3.2 release date.
622 Fix change attributions
624 2005-04-27 Keith Packard <keithp@keithp.com>
627 Bump so revision for 2.3.2
628 * fc-cache/fc-cache.c: (scanDirs):
629 Fix a few minor leaks in error cases.
631 2005-04-23 Keith Packard <keithp@keithp.com>
636 * fontconfig/fontconfig.h:
637 Update for version 2.3.2
639 2005-04-21 Keith Packard <keithp@keithp.com>
641 * debian/fontconfig.postinst:
642 Don't force bitmap font enable in default
643 configuration; allows users to override this in
653 * debian/po/pt_BR.po:
654 * debian/po/templates.pot:
656 * debian/po/zh_CN.po:
659 * fc-cache/fc-cache.c: (main):
660 Destroy font configuration on exit to help valgrind
663 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
664 (FcFreeTypeCheckGlyph):
665 Use own transcoding routines in preference to iconv
666 which appears to have leaks in some translators.
667 Call iconv_close after using iconv (oops).
669 Prefer unicode encoding of Euro char as some
670 fonts mis-encode Euro in other ones.
672 Must fetch bitmap glyphs to get width values
673 to check for monospace/dual-width fonts.
675 2005-04-13 Ross Burton <ross@burtonini.com>
678 Check that a pattern isn't already frozen in FcPatternFreeze.
680 2005-03-31 Ross Burton <ross@burtonini.com>
685 Run all FcPattern objects through FcObjectStaticName, so that
686 compares can be done on pointers instead of strings (#2659)
688 2005-03-17 Tor Lillqvist <tml@novell.com>
690 * src/fontconfig.def.in: Add the .dll to the dll name.
692 2005-03-10 Keith Packard <keithp@keithp.com>
694 * debian/README.Debian:
695 Update to reflect configuration changes
697 * debian/fontconfig.postinst:
698 Fix Autohint vs Autohinter mistake
699 * debian/fontconfig.templates:
700 Adopt changes from Josselin Mouette for configuration descriptions
701 Update debian to version 2.3.1-2
703 2005-03-08 Keith Packard <keithp@keithp.com>
707 Update debian for 2.3.1
709 2005-03-09 Tor Lillqvist <tml@novell.com>
711 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
714 * src/fccfg.c (FcConfigFileExists): Check also drive letter
717 2005-03-08 Keith Packard <keithp@keithp.com>
721 * fontconfig/fontconfig.h:
724 2005-03-05 Keith Packard <keithp@keithp.com>
726 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
727 Include space and remove numbers from valid script tags.
728 This ensures that tags like 'lao ' work while rejecting
729 those which have any digits.
730 Eliminate a spurious debugging variable (len)
732 2005-03-05 Keith Packard <keithp@keithp.com>
734 * src/fcfreetype.c: (addtag), (GetScriptTags),
735 (FcFontCapabilities):
736 Rework GSUB/GPOS script parsing to survive broken fonts.
737 Thanks for the broken font go to Manish Singh
739 2005-03-05 Keith Packard <keithp@keithp.com>
744 * debian/fontconfig.config:
745 * debian/fontconfig.templates:
747 Include 2.3 release information in changelog
748 Add Josselin Mouette as an Uploader
749 Set hinting_type to low priority configuration option
752 * debian/fontconfig.postinst:
753 yes_bitmaps.conf -> yes-bitmaps.conf
759 2005-03-02 Keith Packard <keithp@keithp.com>
762 * conf.d/Makefile.am:
763 * conf.d/autohint.conf:
764 * conf.d/no-sub-pixel.conf:
765 * conf.d/sub-pixel.conf:
766 * conf.d/unhinted.conf:
767 * debian/autohint.conf:
768 * debian/fontconfig.install:
769 * debian/fontconfig.postinst:
770 * debian/fontconfig.templates:
771 * debian/no-sub-pixel.conf:
772 * debian/unhinted.conf:
773 Move debian-specific conf file examples upstream.
775 Sub-pixel configuration examples must smash subpixel value
776 as Xft always sets it from X.
778 Change sub-pixel rendering debconf descriptions from
779 Enable/Disable to Always/Never.
781 2005-03-02 Keith Packard <keithp@keithp.com>
786 Ignore more build detritus
789 Add debian package construction stuff.
791 * config/config.guess:
793 Update to newer versions of these tools
796 Get library manuals to build again (we love automake).
798 * debian/README.Debian:
799 * debian/autohint.conf:
804 * debian/fontconfig-udeb.install:
805 * debian/fontconfig.config:
806 * debian/fontconfig.defoma:
807 * debian/fontconfig.dirs:
808 * debian/fontconfig.install:
809 * debian/fontconfig.postinst:
810 * debian/fontconfig.postrm:
811 * debian/fontconfig.templates:
812 * debian/libfontconfig1-dev.install:
813 * debian/libfontconfig1.install:
814 * debian/local.conf.md5sum:
815 * debian/no-sub-pixel.conf:
816 * debian/po/POTFILES.in:
825 * debian/po/pt_BR.po:
826 * debian/po/templates.pot:
828 * debian/po/zh_CN.po:
830 * debian/unhinted.conf:
831 Update debian build system to switch maintainers and
832 deal with 2.3 functionality
834 2005-03-01 Keith Packard <keithp@keithp.com>
838 * fontconfig/fontconfig.h:
841 2005-03-01 Keith Packard <keithp@keithp.com>
844 Generate and install PDF versions of the manuals
846 * doc/fcpattern.fncs:
850 Add missing exported functions, fix data types
852 * doc/fontconfig-devel.sgml:
853 Add missing pattern elements.
855 * doc/fontconfig-user.sgml:
856 Add missing pattern elements. Document conf.d usage,
857 clarify available orthography list. Fix some config file
858 attributes. Complete list of constants.
860 * fontconfig/fontconfig.h:
861 Mark FC_SOURCE deprecated.
863 * src/fcfreetype.c: (FcFreeTypeQuery):
864 Don't set FC_SOURCE any longer.
866 2005-02-28 Keith Packard <keithp@keithp.com>
869 * conf.d/Makefile.am:
871 * conf.d/no-bitmaps.conf:
872 * conf.d/sub-pixel.conf:
873 * conf.d/yes-bitmaps.conf:
875 Create prototype /etc/fonts/conf.d directory with a few
876 sample configuration files.
877 Deprecate use of local.conf for local customizations in favor of
878 this directory based scheme which is more easily integrated into
879 installation systems.
882 Tag FC_EMBOLDEN as a boolean variable
884 2005-02-10 Keith Packard <keithp@keithp.com>
886 reviewed by: pborelli@katamail.com
888 * src/fcdir.c: (FcFileScanConfig):
889 Free patterns from fonts which are rejected by configuration
892 2005-01-28 Keith Packard <keithp@keithp.com>
896 * fontconfig/fontconfig.h:
897 Update for version 2.2.99
899 2005-01-28 Keith Packard <keithp@keithp.com>
902 Add a few pointers (#2284, #2285)
904 2005-01-28 Keith Packard <keithp@keithp.com>
907 * src/fcname.c: (FcNameBool):
908 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
909 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
910 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
911 Polite typechecking for test and edit expressions. Helps
912 catch errors in the font configuration. (bug 229)
914 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
916 reviewed by: Keith Packard <keithp@keithp.com>
919 Have --with-expat set EXPAT_CFLAGS (bug 2278)
921 2005-01-13 Keith Packard <keithp@keithp.com>
923 * doc/fontconfig-user.sgml:
924 Add SEE ALSO section (bug 2085)
926 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
928 reviewed by: Keith Packard <keithp@keithp.com>
933 * fc-case/Makefile.am:
934 * fc-glyphname/Makefile.am:
935 * fc-lang/Makefile.am:
936 * src/fontconfig.def.in:
937 Cross compiling fixes (bug 280)
939 2005-01-13 Keith Packard <keithp@keithp.com>
942 Update blanks list (Closes bug 86)
944 2005-01-04 Keith Packard <keithp@keithp.com>
946 * src/fccache.c: (FcCacheFontSetAdd):
947 Verify that every font pattern loaded from cache has
948 both FC_FILE and FC_FAMILY entries.
949 Attempt to fix bug #2219.
951 2004-12-29 Keith Packard <keithp@keithp.com>
955 * fontconfig/fontconfig.h:
956 Update for version 2.2.98
958 2004-12-29 Keith Packard <keithp@keithp.com>
960 * fontconfig/fontconfig.h:
961 Document ASCII limitations of Fc character conversion macros
962 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
963 Fix off-by-one error in utf-8 case walking code.
964 Add FcStrDowncase (useful for testing case conversion functions)
966 2004-12-29 Keith Packard <keithp@keithp.com>
969 * fc-case/.cvsignore:
970 clean up CVS ignore lists
971 * fc-lang/iso-3166.txt:
972 Add territory database
974 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
976 Reviewed by: Keith Packard
979 Remove Han characters from Korean orthography
981 2004-12-29 Keith Packard <keithp@keithp.com>
984 Reorder utility programs to make sure fc-case is run before fc-lang
985 as fc-lang uses fcstr.c which uses fccase.h
989 2004-12-29 Keith Packard <keithp@keithp.com>
992 Adopt some RedHat suggestions for standard font configuration.
996 * fc-case/CaseFolding.txt:
997 * fc-case/Makefile.am:
998 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
999 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
1000 (dump), (parseRaw), (caseFoldReadRaw), (main):
1001 * fc-case/fccase.tmpl.h:
1002 Add new helper program 'fc-case' to construct case folding
1003 tables from standard Unicode CaseFolding.txt file
1006 * src/fclist.c: (FcListValueHash):
1007 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1008 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1009 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1010 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1011 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1012 Re-implement case insensitive functions with Unicode
1013 aware versions (including full case folding mappings)
1015 2004-12-13 Keith Packard <keithp@keithp.com>
1017 reviewed by: Owen Taylor <otaylor@redhat.com>
1019 * src/fcmatch.c: (FcFontSetSort):
1020 I changed FcFontSetSort to respect the generic aliases better
1021 in the face of language matching.
1023 What I did was to ammend the strict sort order used by FcFontSort so
1024 that it 'satisfies' the language specified in the pattern by locating
1025 the best matching font supporting each pattern language and then
1026 ignores language in the remaining fonts for purposes of matching.
1028 So, when asking for 'sans:lang=en', you'll get an English font first,
1029 and then the remaining fonts sorted with respect to the 'sans' alias
1030 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1032 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1034 reviewed by: Keith Packard <keithp@keithp.com>
1036 * fontconfig/fontconfig.h:
1039 Configuration changes to request synthetic emboldening of
1040 fonts. The actual emboldening code will live in Xft.
1042 2004-12-09 John Thacker <thacker@math.cornell.edu>
1044 reviewed by: Keith Packard <keithp@keithp.com>
1048 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1049 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1050 и), and don't even appear in KOI8-R. (The hypothesis that they
1051 don't appear in KOI8-R due to their similarity with Latin I and i is
1052 eliminated by their presence in KOI8-U.) I have a couple of fonts
1053 with Russian support that don't have the letter.
1055 Therefore, 0406 and 0456 should be removed from or commented out of
1058 2004-12-06 michael meeks <mmeeks@novell.com>
1060 Reviewed by: Keith Packard <keithp@keithp.com>
1062 * src/fcinit.c: (FcMemReport):
1064 * src/fclist.c: (FcObjectSetAdd):
1065 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1066 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1067 * src/fcxml.c: (FcParsePatelt):
1068 memoize strings and share a single copy for all uses. Note that
1069 this could be improved further by using statically allocated blocks
1070 and gluing multiple strings together, but I'm basically lazy.
1071 In my environment with 800 font files, I get a savings of about 90KB.
1073 2004-12-06 Keith Packard <keithp@keithp.com>
1077 * config/Makedefs.in:
1080 * doc/fcatomic.fncs:
1081 * doc/fcblanks.fncs:
1082 * doc/fccharset.fncs:
1083 * doc/fcconfig.fncs:
1084 * doc/fcconstant.fncs:
1086 * doc/fcfontset.fncs:
1087 * doc/fcfreetype.fncs:
1089 * doc/fcmatrix.fncs:
1090 * doc/fcobjectset.fncs:
1091 * doc/fcobjecttype.fncs:
1092 * doc/fcpattern.fncs:
1093 * doc/fcstring.fncs:
1094 * doc/fcstrset.fncs:
1096 * doc/fontconfig-devel.sgml:
1097 * doc/fontconfig-user.sgml:
1099 * doc/version.sgml.in:
1100 * fc-cache/Makefile.am:
1101 * fc-cache/fc-cache.c:
1102 * fc-glyphname/Makefile.am:
1103 * fc-glyphname/fc-glyphname.c:
1104 * fc-glyphname/fcglyphname.tmpl.h:
1105 * fc-lang/Makefile.am:
1115 * fc-lang/az_ir.orth:
1149 * fc-lang/fc-lang.c:
1150 * fc-lang/fc-lang.man:
1151 * fc-lang/fclang.tmpl.h:
1196 * fc-lang/ku_ir.orth:
1229 * fc-lang/ps_af.orth:
1230 * fc-lang/ps_pk.orth:
1259 * fc-lang/ti_er.orth:
1260 * fc-lang/ti_et.orth:
1286 * fc-lang/zh_cn.orth:
1287 * fc-lang/zh_hk.orth:
1288 * fc-lang/zh_mo.orth:
1289 * fc-lang/zh_sg.orth:
1290 * fc-lang/zh_tw.orth:
1292 * fc-list/Makefile.am:
1293 * fc-list/fc-list.c:
1294 * fc-match/Makefile.am:
1295 * fc-match/fc-match.1:
1296 * fc-match/fc-match.c:
1297 * fontconfig/fcfreetype.h:
1298 * fontconfig/fcprivate.h:
1299 * fontconfig/fontconfig.h:
1320 Change files from ISO-Latin-1 to UTF-8
1322 2004-12-04 Keith Packard <keithp@keithp.com>
1325 Update links to new freedesktop.org locations
1327 Add uninstall-local to get rid of fonts.conf and local.conf if they
1328 match the distributed versions. Fixes 'make distcheck'
1330 2004-12-04 Keith Packard <keithp@keithp.com>
1334 * fontconfig/fontconfig.h:
1335 Updates for version 2.2.97
1337 2004-12-04 Owen Taylor <otaylor@redhat.com>
1339 reviewed by: Keith Packard <keithp@keithp.com>
1341 * fc-cache/fc-cache.c: (main):
1342 Sleep for two seconds before exiting to make sure timestamps
1343 for future changes have distinct mod times in the file system.
1346 Add Punjabi orthography. Bug #1671.
1348 2004-12-04 Keith Packard <keithp@keithp.com>
1351 Just remove the FC_FONTDATE -- it has locale issues and
1352 annoys redhat multi-arch installs. Now that all X fonts are
1353 included without prejudice, the chances of the date being at
1354 all interesting are rather limited. Bug #505.
1356 Add copyright and license
1358 2004-12-04 Keith Packard <keithp@keithp.com>
1361 Change default set of fonts to include all of
1362 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1363 * doc/fontconfig-user.sgml:
1364 Document new <include>directory-name</include> semantics
1366 add <include ignore_missing="yes">conf.d</include>
1368 Add selectfont to ignore bitmap fonts, add comment for
1369 selectfont which accepts bitmap fonts.
1372 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1373 Allow <include> configuration elements to reference directories.
1374 Parse and load all files of the form [0-9]* in sorted order.
1376 2004-12-04 Keith Packard <keithp@keithp.com>
1379 Report command line for $srcdir/configure accurately.
1382 2004-12-04 Keith Packard <keithp@keithp.com>
1384 * src/fcfreetype.c: (FcFreeTypeQuery):
1385 Check for non-empty face->family_name and face->style_name
1386 before using those for the font. Empty names match everything.
1389 2004-12-04 Keith Packard <keithp@keithp.com>
1392 * fontconfig/fontconfig.h:
1393 * src/fcfreetype.c: (FcFreeTypeQuery):
1395 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1396 available. This provides font file format information (BDF, Type 1,
1397 PCF, TrueType) for each font. Closes #109.
1399 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1401 reviewed by: Keith Packard <keithp@keithp.com>
1403 * doc/fontconfig-user.sgml:
1406 * fontconfig/fontconfig.h:
1407 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1408 (GetScriptTags), (FcFontCapabilities):
1410 Add detection for font capabilities (bug #105)
1412 2004-12-04 Keith Packard <keithp@keithp.com>
1415 Move existing fonts.conf to fonts.conf.bak
1418 Add detection of iconv
1420 * doc/fcpattern.fncs:
1421 * doc/fontconfig-devel.sgml:
1422 * doc/fontconfig-user.sgml:
1424 Document new selectfont elements
1427 Switch to UTF-8 in comment
1429 * fontconfig/fontconfig.h:
1431 Add fullname, and family/style/fullname language entries
1433 * src/fccache.c: (FcCacheFontSetAdd):
1434 * src/fcdir.c: (FcFileScanConfig):
1435 Respect selectfont/*/glob
1438 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1439 (FcConfigCompareValue), (FcConfigPatternsAdd),
1440 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1441 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1442 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1443 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1444 Add support for selectfont
1446 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1447 (FcStringInPatternElement), (FcFreeTypeQuery):
1448 Add multi-lingual family/style/fullname support
1450 * src/fclist.c: (FcListPatternMatchAny):
1451 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1453 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1454 (FcObjectStaticName):
1455 Add new FcPatternRemove/FcPatternAppend.
1456 FcObjectStaticName stores computed pattern element names which
1457 are required to be static.
1459 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1464 Remove spurious / after $(DESTDIR)
1466 2004-06-30 Keith Packard <keithp@keithp.com>
1470 * fontconfig/fontconfig.h:
1473 2004-06-30 Keith Packard <keithp@keithp.com>
1475 Provided by: Lubos Lunak <l.lunak@suse.cz>
1477 * src/fccfg.c: (FcConfigUptoDate):
1478 However FcConfigUptoDate() doesn't seem to work. See the attached
1479 patch. First there's an obvious misplaced parenthesis making it
1480 return always false, and second, even this call fails to detect font
1481 changes (e.g. adding a new font to
1482 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1483 well. The problem seems to be triggered by my fonts.conf specifying
1484 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1485 doesn't include subdirs, unlike config->fontDirs.
1487 2004-06-03 Keith Packard <keithp@keithp.com>
1489 * fontconfig/fontconfig.h:
1490 Remove comma at end of FcResult enum definition.
1492 2004-05-29 Keith Packard <keithp@keithp.com>
1495 Add steps to md5sum release
1497 2004-05-29 Keith Packard <keithp@keithp.com>
1501 * fontconfig/fontconfig.h:
1504 2004-05-29 Keith Packard <keithp@keithp.com>
1506 * fontconfig/fontconfig.h:
1507 * src/fcmatch.c: (FcFontSetMatch):
1508 Add FcResultOutOfMemory to provide an accurate error when
1509 FcFontSetMatch fails in this way
1512 Make #warning about lacking various FreeType features indicate
1513 which version those features appeared so users know how to
1514 fix the problem (Thanks to Anton Tropashko)
1516 2004-05-05 Keith Packard <keithp@keithp.com>
1518 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1519 Replace MIN/MAX/ABS macros which happen to have come
1520 from FreeType with fontconfig-specific ones (FC_*)
1522 2004-04-23 Keith Packard <keithp@keithp.com>
1525 Extend release preparation instructions to include
1526 notification and distribution steps
1528 2004-04-23 Keith Packard <keithp@keithp.com>
1532 * fontconfig/fontconfig.h:
1533 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1535 2004-04-23 Keith Packard <keithp@keithp.com>
1538 Ignore a few more autotool files
1540 2004-04-14 Keith Packard <keithp@keithp.com>
1543 Add instructions for doing a release
1545 * fontconfig.spec.in:
1546 clean up .spec file; perhaps this will be useful to somebody...
1550 * fontconfig/fontconfig.h:
1553 * fc-lang/fc-lang.c:
1554 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1556 * fc-glyphname/Makefile.am:
1557 * fc-lang/Makefile.am:
1558 * fc-list/Makefile.am:
1559 * fc-match/Makefile.am:
1561 Add WARN_CFLAGS to pass -W flags for GCC systems
1563 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1564 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1565 Change various char types around to match across
1567 Fixed bug in using available_sizes[i].height which
1568 is in pixels, not 64ths of a pixel.
1570 2004-03-06 Keith Packard <keithp@keithp.com>
1572 * src/fcfreetype.c: (FcFreeTypeQuery):
1573 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1574 matches looking for explicit values prefer exact matches
1576 2004-03-02 Keith Packard <keithp@keithp.com>
1578 Supplied by: mfabian@suse.de (Mike FABIAN)
1580 * src/fcfreetype.c: (FcFreeTypeQuery):
1581 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1582 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1584 2004-02-21 Manish Singh <yosh@gimp.org>
1586 * fc-glyphname/fc-glyphname.c: (main):
1587 Cast strlen to int for printf, so we're 64-bit clean.
1589 2004-02-11 Keith Packard <keithp@keithp.com>
1592 * src/fcfreetype.c: (FcGetPixelSize):
1593 Ok, so I messed up the test for y_ppem. Let's see if I
1594 got it right this time.
1596 2004-02-10 Keith Packard <keithp@keithp.com>
1599 * src/fcfreetype.c: (FcGetPixelSize):
1600 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1601 FT_Bitmap_Size record. Add a configure.in test for this
1602 and change the code accordingly (using height instead).
1604 2004-02-06 Keith Packard <keithp@keithp.com>
1607 Add Low Saxon orthography
1608 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1610 * src/fccfg.c: (FcConfigNewestFile):
1611 Oops. Left 'newest.set' unset, which would miscompute
1614 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1615 (FcFreeTypeCheckGlyph):
1616 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1617 font properties (which report the wrong value in current FreeType)
1619 Don't attempt to check for empty glyphs in non-scalable fonts; they
1622 2004-02-01 Tor Lillqvist <tml@iki.fi>
1624 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1625 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1626 cache if config->cache is NULL, which happens if FcConfigHome() is
1627 NULL. Guard against that by using the temp folder in that case.
1629 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1631 * fc-lang/az_ir.orth:
1632 * fc-lang/ku_ir.orth:
1633 * fc-lang/ps_af.orth:
1634 * fc-lang/ps_pk.orth:
1635 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1636 (Afghan and Pakistani).
1638 Updated Urdu orthography with real data.
1640 2003-12-11 Carl Worth <cworth@east.isi.edu>
1642 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1645 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1647 (all-local): Remove excessive whitespace.
1649 * autogen.sh: Add 'set -e' to abort when any program fails,
1650 (avoids printing of 'now type make' after configure aborts).
1652 2003-11-17 Eric Christopherson <rakko@charter.net>
1654 reviewed by: Keith Packard <keithp@keithp.com>
1657 * fontconfig/fcfreetype.h:
1659 Switch to FreeType 2.1.7 style includes. Bug #150.
1661 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1663 * fc-list/fc-list.sgml: Add some example usages.
1665 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1668 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1671 2003-10-27 Keith Packard <keith@keithp.com>
1674 * fontconfig/fontconfig.h:
1675 Update to version 2.2.92
1677 2003-10-27 Keith Packard <keithp@keithp.com>
1682 * fc-cache/Makefile.am:
1683 * fc-glyphname/Makefile.am:
1684 * fc-lang/Makefile.am:
1685 * fc-list/Makefile.am:
1686 * fc-match/Makefile.am:
1689 Yet more cleanups to finish getting 'make distcheck' working
1690 This has been tested to ensure that it even works from a _build
1693 2003-10-26 Keith Packard <keithp@keithp.com>
1697 * fc-cache/Makefile.am:
1698 * fc-glyphname/Makefile.am:
1699 * fc-lang/Makefile.am:
1700 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1701 * fc-list/Makefile.am:
1702 * fc-match/Makefile.am:
1703 Attempts to fix 'make distcheck' work. Things are
1704 progressing pretty well, but there are still failures
1705 long into the process dealing with docs (as always).
1707 The big changes here are mostly to make $(srcdir) != "."
1708 work correctly, fixing the docbook related sections and
1709 fc-lang were particularily tricky. Docbook refuses to load
1710 system entities from anywhere other than where the original .sgml
1711 file was located, so no luck looking in "." for the
1712 configure-generated version.sgml and confdir.sgml files.
1714 fc-lang needed help finding .orth files; added a -d option
1715 to set the directory as the least evil of many options.
1717 Now to go use a faster machine and try and wring out the last
1720 2003-10-26 Keith Packard <keithp@keithp.com>
1724 2003-10-26 Keith Packard <keithp@keithp.com>
1727 Include confdir.sgml.in in EXTRA_DIST
1729 2003-10-09 Josselin Mouette <joss@debian.org>
1731 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1732 * fc-list/fc-list.sgml fc-list/Makefile.am:
1733 Replace fc-cache and fc-list manpages with more detailed, SGML
1736 2003-09-23 Owen Taylor <otaylor@redhat.com>
1738 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1739 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1740 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1743 2003-09-23 Owen Taylor <otaylor@redhat.com>
1745 * fc-lang/ka.orth: Remove Georgian capitals, they
1746 aren't used for normal writing. (Bug #116)
1748 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1750 * doc/fontconfig-devel.sgml:
1751 * doc/fontconfig-user.sgml:
1752 * fontconfig/fontconfig.h:
1754 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1755 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1757 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1758 monospace and dual-width fonts, allow roughly a 3% variance in the
1761 2003-08-31 Manish Singh <yosh@gimp.org>
1763 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1766 2003-08-15 Carl Worth <cworth@isi.edu>
1768 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1769 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1771 * src/fcpat.c (FcValueListEntDestroy): New function to support
1772 FcFini memory cleanup. Some statistics are not kept in
1774 (FcValueListFreeze): Move hashTable outside this function so it
1775 can be accessed by FcValueListThawAll.
1776 (FcValueListThawAll): New function complements FcValueListFreeze.
1777 (FcPatternBaseFreeze): Move hashTable outside this function so it
1778 can be accessed by FcPatternBaseThawAll.
1779 (FcPatternBaseThawAll): New function complements
1780 FcPatternBaseFreeze.
1781 (FcPatternThawAll): New function complements FcPatternFreeze.
1783 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1785 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1786 allocated FcCharLeafEnt "blocks" so they can be freed later.
1787 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1788 can be accessed by FcCharSetThawAllLeaf.
1789 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1790 (FcCharSetFreezeBase): Move hashTable outside this function so it
1791 can be accessed by FcCharSetThawAll.
1792 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1794 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1795 (FcConfigDestroy): Fic leak of FcBlanks.
1797 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1798 (main): Add call to FcFini when finished.
1800 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1801 static. Add prototypes.
1803 * doc/fcinit.fncs: Add documentation for FcFini function.
1805 * doc/edit-sgml.c: Mark several local functions as static. Add
1808 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1810 2003-06-15 Tor Lillqvist <tml@iki.fi>
1812 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1813 before comparing (needed on Windows).
1815 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1817 2003-06-13 Tor Lillqvist <tml@iki.fi>
1819 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1822 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1823 WINDOWSFONTDIR token.
1825 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1826 end, not to confuse libtool, which expects the EXPORTS line to be
1827 the first. Add FcConfigEnableHome.
1829 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1830 built as a DLL on Win32.
1832 2003-06-09 Keith Packard <keithp@keithp.com>
1834 * Tag version 2.2.90
1836 2003-06-09 Keith Packard <keithp@keithp.com>
1838 * Optimization in FcLangSetIndex was broken, occasionally
1839 returning a pointer to the wrong location on miss
1841 * Add fc-match to test font matching from the command line.
1843 2003-05-31 Keith Packard <keithp@keithp.com>
1845 * (Bug 85) add support for culmus fonts
1846 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1847 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1849 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1851 * Fix "contains" op for strings and langsets.
1853 2003-05-17 Keith Packard <keithp@keithp.com>
1855 * Fix build error with BDF prop local. Free langset after query
1857 2003-05-14 Keith Packard <keithp@keithp.com>
1859 * Extract spacing from XLFD atom
1861 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1863 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1864 disappeared in 1.30.
1866 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1868 2003-05-12 Keith Packard <keithp@keithp.com>
1870 * Use FcIsWidth to share code
1872 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1873 misclassifying some Han fonts as monospaced.
1875 2003-05-07 Keith Packard <keithp@keithp.com>
1877 * Add filename-based accept/reject to ammend available fonts.
1879 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1880 older FreeType releases.
1882 2003-05-06 Keith Packard <keithp@keithp.com>
1884 * Remove 0b82 and Tamil numbers from tamil
1885 orthography (Jungshik Shin <jshin@mailaps.org>)
1887 2003-05-04 Keith Packard <keithp@keithp.com>
1889 + Map glyph names in fonts with adobe custom encoding to unicode
1891 2003-05-02 Keith Packard <keithp@keithp.com>
1893 * Add FC_WEIGHT_BOOK as weight 75
1895 2003-04-30 Keith Packard <keithp@keithp.com>
1897 * Typo in bitstream foundry name
1899 2003-04-24 Keith Packard <keithp@keithp.com>
1901 * Eliminate italic_angle check for PS fonts
1903 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1905 * Getting closer to fixing /etc/fonts hard-coding.
1907 2003-04-22 Keith Packard <keithp@keithp.com>
1909 * Update autogen.sh to work with newer automake versions
1910 * Handle pattern elements moving during multiple edits
1912 2003-04-23 James Henstridge <james@daa.com.au>
1914 * doc/fontconfig-devel.sgml: close the <para> element.
1916 * doc/fcpattern.fncs: close the <para> element.
1918 * doc/func.sgml: close the <refsynopsisdiv> element.
1920 2003-04-22 Keith Packard <keithp@keithp.com
1922 * Update autogen.sh to work with newer automake versions
1923 * Handle pattern elements moving during multiple edits
1925 2003-04-17 Colin Walters <walters@debian.org>
1927 + Remove some unused variables, and initialize some other ones so
1928 gcc doesn't warn us.
1930 2003-04-16 Keith Packard <keithp@keithp.com>
1932 + tag version 2.1.94
1934 2003-04-16 Keith Packard <keithp@keithp.com>
1936 + add BDF property fetching support for foundry
1937 (from Juliusz Chroboczek)
1938 + add BDF property fetching support for width
1940 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1942 + Implemented foundry generation for Type 1 and TrueType
1944 2003-04-11 Gerard Escalante <g2@magestudios.net>
1946 + Retrieve information from Type1 FontInfo dictionaries
1948 2003-04-07 Colin Walters <walters@verbum.org>
1950 + src/Makefile.am: Fix dummy makefile target names when
1951 MS_LIB_AVAILABLE isn't set.
1953 2003-03-22 Tor Lillqvist <tml@iki.fi>
1955 Changes for Windows:
1957 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1959 + We don't want to hardcode the fonts.conf file location in the
1960 DLL, so we look up the DLL location at run-time in a DllMain()
1961 function. The fonts.conf location is deduced from that.
1963 + The colon can't be used as path separator on Windows,
1964 semicolon is used instead. File path components can be separated
1965 with either slash or backslash. Absolute paths can also begin
1966 with a drive letter.
1968 + Add internal function FcStrLastSlash that strrchr's the last
1969 slash, or backslash on Windows.
1971 + There is no link() on Windows. For atomicity checks, mkdir a
1972 lock directory instead.
1974 + In addition to HOME, also look for USERPROFILE.
1976 + Recognize the special font directory token WINDOWSFONTDIR, to
1977 use the system's font directory.
1979 + Remove the fontconfig-def.cpp that was obsolete. Add
1980 fontconfig.def(.in), without internal functions.
1982 + Add a fontconfig-zip(.in) script, used to build a binary
1985 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1986 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1987 to main package and man3/* to devel package
1989 + Added missing defattr(-, root, root) to main RPM package
1991 + Added HTML and text development documentation to -devel subpackage
1993 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1994 + Added back the configure macro options --disable-docs, otherwise
1995 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1996 version number) unconditionally, causing RPM to fail the build due
1997 to _unpackaged_files_terminate_build. We pick up the pregenerated
1998 docs with %doc already.
2000 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
2001 + Removed commented out rpm macro define at top of spec file,
2002 replacing it with a simple explanation, since rpm macros are
2003 expanded by rpm even in comments.
2005 + Changed /usr/bin to _bindir in BuildRequires lines
2007 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2009 + Reorganized file manifest lists
2011 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2013 + fontconfig.spec.in: Improvements from Red Hat spec file.
2015 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2017 + docs/*.sgml: SGML fixes.
2019 Sat Mar 1 17:28:53 PST 2003 keithp
2020 + Ok, so the ChangeLog is a bit out of date
2022 + Lots of bugs fixed; most are in bugzilla, the
2023 biggest problems were in cache management where
2024 Owen discovered the library would lose badly when
2025 combining fonts-cache and ~/.fonts-cache data
2027 + Converted from autoconf to automake. This after
2028 getting patches accepted into libtool to allow
2029 the '-version-number' argument which lets
2030 packages set version numbers explicitly rather
2031 than the roundabout libtool way
2033 + Converted documentation to SGML using the docbook
2034 DTD. Now .txt and .html documents are installed
2035 in /usr/share/doc/fontconfig and there's no
2036 man page. Perhaps a man version can be written
2039 Sat Aug 31 15:21:22 PDT 2002 keithp
2040 + Xrender and Xft had several bugs related to
2041 rendering manually placed or poly-face text
2043 + Added more complete memory tracing in fontconfig
2044 Checked with (patched) mozilla and found no leaks
2046 + Updated Latin orthographies by comparing those from
2047 evertype.com with those from eki.ee. Tried to make
2048 sensible choices, including chars that occured in both
2049 and leaving some optional chars out that occured only
2052 Mon Aug 26 16:33:04 PDT 2002 keithp
2053 + Owen discovered that FcLangSetHasLang wasn't actually
2054 checking the language set.
2056 Mon Aug 26 13:37:23 PDT 2002 keithp
2057 + Append a version number to cache filenames
2059 Thu Aug 22 11:36:18 PDT 2002 keithp
2061 + Add "contains" and "not_contains" operators and elements to
2064 + Changed semantics of eq operator for LangSets to check for
2065 FcLangEqual so that any match will do
2067 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2068 of FcValueEqual to check for identical values when inserting into
2069 the results. This broke when the above semantic change was made,
2070 now it uses FcValueEqual which is "more correct" in any case.
2072 Thu Aug 22 00:32:29 PDT 2002 keithp
2074 + Reimplement FC_LANG as new datatype. Lists of strings
2075 was consuming over a megabyte of memory for 401 fonts.
2077 + Freeze patterns loaded from cache files. This shares
2078 common value lists and common patterns which saves
2079 considerable memory.
2081 + Change the denotation of 'constant' charsets to use special
2082 ref value instead of separate boolean.
2084 + Clean up leak tracing stuff, found several unannoted alloc/free
2087 Tue Aug 20 16:17:37 PDT 2002 keithp
2089 + Fix memory leak when parsing matrices from XML
2091 Mon Aug 19 11:57:27 PDT 2002 keithp
2093 + Fix autoconf files to pass FONTCONFIG_PATH on
2094 compile line so that ${prefix} gets substituted
2097 + Use getc_unlocked/putc_unlocked on systems that
2098 provide them to avoid damage done to stdio by posix
2100 + Eliminate FC_PATTERN and FcTypePattern in favor of
2101 an extended api for FcConfigSubstitute which takes
2102 both the font and the pattern.
2104 + Add 'sans serif' alias for 'sans-serif' as some apps
2105 can't handle hyphens in family names
2107 + Eliminate pretense of support for libxml2
2109 + Comment origins of Han orthographies
2111 Tue Jul 30 18:37:09 PDT 2002 keithp
2113 + Add binding property to edit element so that strong
2114 binding values may be inserted by the config file.
2115 The default remains weak.
2117 Sun 28 Jul 04:16:55 PDT 2002 keithp
2119 + Tagged release candidate 1 in the CVS tree and
2120 placed fcpackage.rc1.tar.gz for distribution
2122 Thu Aug 1 08:55:08 PDT 2002 keithp
2124 + Fixed autoconf builds to always specify install
2125 target files (for BSD). Also fixed to
2126 define FONTCONFIG_PATH in config.h so that
2127 nonstandard installs will actually work.