1 2005-11-25 Patrick Lam <plam@mit.edu>
3 * src/fcpat.c (FcPatternEnsureBank, FcPatternDistributeBytes,
4 FcPatternSerialize, FcPatternUnserialize,
5 FcValueListEnsureBank, FcValueListDistributeBytes,
6 FcValueListUnserialize):
8 Rename fcpatterns, fcpatternelts, fcvaluelists to _fcPatterns,
9 _fcPatternElts, _fcValueLists for consistency.
11 2005-11-25 Dirk Mueller <dmueller@suse.com>
16 Pass the FcObjectPtr to FcCompareValueList, not the char * (perf).
18 2005-11-25 Patrick Lam <plam@mit.edu>
20 * src/fccache.c (FcDirCacheConsume):
21 * src/fccharset.c (FcCharSetUnserialize):
22 * src/fcfs.c (FcFontSetUnserialize):
23 * src/fclang.c (FcLangSetUnserialize):
24 * src/fcname.c (FcObjectUnserialize):
25 * src/fcpat.c (FcStrUnserialize, FcValueListUnserialize,
26 FcPatternUnserialize):
28 Pass around FcCache *s to the Unserialize functions for extra
29 consistency (and less overhead, for what that's worth).
31 2005-11-24 Dirk Mueller <dmueller@suse.com>
35 * src/fcmatch.c (FcCompare*, FcFontSetSort):
36 * src/fcname.c (FcNameUnparseValue):
38 Inline the *PtrU functions to gain perf.
39 Remove unneeded params for the FcCompare* functions.
41 2005-11-24 Dirk Mueller <dmueller@suse.com>
44 * src/fcint.h, fontconfig/fontconfig.h:
46 Move FC_BANK_DYNAMIC, FC_BANK_FIRST to internal header.
48 * src/fcpat.c, src/fcint.h, src/fcname.c:
50 Check for type validity during FcPatternAddWithBinding, don't
51 verify type in FcFontMatch, don't call FcCanonicalize here
52 (which always does a deep copy).
54 2005-11-24 Dirk Mueller <dmueller@suse.com>
57 * src/fcmatch.c (FcCompareNumber, FcCompareString, FcCompareFamily):
58 * src/fcpat.c (FcPatternAddWithBinding):
60 Make FcCompareString and FcCompareFamily less expensive.
61 Only add a value for FC_FAMILY if the proposed value is a string.
63 2005-11-24 Dirk Mueller <dmueller@suse.com>
66 * src/fcdbg.c (FcDebug, FcDebugInit, FcPatternPrint):
67 * src/fcinit.c (FcInitLoadConfig, FcInitLoadConfigAndFonts):
68 * src/fcint.h (FcDebug):
70 Inline FcDebug invocations and only initialize once, in FcInit*.
71 Improve debug msg in FcPatternPrint.
73 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
76 * fontconfig/fontconfig.h:
79 Minor code warning cleanups.
81 2005-11-23 Frederic Crozat <fcrozat@mandriva.com>:
84 * fc-match/fc-match.c (main):
86 Make getopt_long accept -s parameter to fc-match as well.
88 2005-11-21 Dirk Mueller <dmueller@suse.com>
91 * src/fcmatch.c (FcCompareValueList):
93 Manually perform inlining & partial redundancy elimination to
94 reduce calls to FcValueListPtrU.
96 2005-11-21 Dirk Mueller <dmueller@suse.com>
99 * src/fcstr.c (FcStrFree, FcStrCaseWalkerInit, FcStrCaseWalkerLong,
100 FcStrCaseWalkerNext, FcStrCaseWalkerNextIgnoreBlanks):
102 Only invoke strlen() when really necessary.
104 2005-11-19 Matthias Clasen <mclasen@redhat.com>
108 * src/fcfreetype.c (FcGetPixelSize, FcFreeTypeQuery, GetScriptTags,
113 Get rid of the use of freetype internal headers in fcfreetype.c,
114 since those headers will go away with freetype 2.2. Replace with
115 public domain ftglue code from pango. Note that the patch removes
116 some extra error checking in FT_Get_BDF_Property() and comments
117 out the skipping of empty pcf fonts.
119 2005-11-19 Jinghua Luo <sunmoon1997@gmail.com>
122 * fc-lang/fc-lang.c (main):
124 Further fix of patch from 2005-11-04: miscounted numbers count
125 (numbers_count); didn't strip duplicate numbers (langBankNumbers);
126 and leafidx_offset and numbers_offset in fcLangCharSets are wrong.
128 Removed leafidx_count and numbers_count since they are the same
129 and replaced them with offset_count.
131 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
134 * fc-cat/fc-cat.c (main):
136 Don't crash when fc-cat invoked with no arguments.
138 2005-11-18 Frederic Crozat <fcrozat@mandriva.com>
141 * src/fcxml.c (FcConfigSaveAttr, FcConfigParseAndLoad):
143 Fix invalid read access caused by premature free and
144 GCC4 warnings in libxml2 codepath.
146 2005-11-17 Jinghua Luo <sunmoon1997@gmail.com>
149 * src/fccfg.c (FcConfigValues):
151 List iteration not needed in FcConfigValues, since it's building
152 up the list itself; we can just strip FcVoid elements during
155 2005-11-17 Patrick Lam <plam@mit.edu>
156 * src/fccfg.c (FcConfigValues):
158 Fix crash on invalid constants in config files (forgot to update
159 a pointer upon list iteration.)
161 2005-11-17 Frederic Crozat <fcrozat@mandriva.com>
164 * src/fcxml.c (FcTypecheckExpr):
166 Complain about invalid constants in config files.
168 2005-11-17 Andreas Schwab <schwab@suse.de>
171 * src/fccache.c (FcGlobalCacheSave):
173 Don't add current_arch_start more than once.
175 2005-11-16 Patrick Lam <plam@mit.edu>
176 * src/fccharset.c (FcCharSetDistributeBytes, FcCharSetUnserialize):
177 * src/fcfs.c (FcFontSetUnserialize):
178 * src/fcname.c (FcObjectDistributeBytes, FcObjectUnserialize):
179 * src/fcpat.c (FcStrUnserialize):
181 Fix ordering of ALIGN with respect to saving block_ptr; add
182 another ALIGN to fcfs.c.
184 2005-11-16 Patrick Lam <plam@mit.edu>
185 * src/fccache.c (FcDirCacheProduce)
187 Fix case where alignment bytes bumped up metadata->count
188 causing unwarranted failures to write cache files.
189 (Reported by Stephan Kulow).
191 2005-11-16 Patrick Lam <plam@mit.edu>
192 * src/fccache.c (FcDirCacheProduce):
193 * src/fccharset.c (FcCharSetDistributeBytes):
194 * src/fcfs.c (FcFontSetDistributeBytes):
196 * src/fclang.c (FcLangSetDistributeBytes):
197 * src/fcname.c (FcObjectDistributeBytes):
198 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
201 Add *NeededBytesAlign(), which overestimates the padding which is
202 later added by the new ALIGN macro. Fix alignment problems on
203 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
204 version by Andreas Schwab).
206 2005-11-16 Stephan Kulow <coolo@kde.org>
211 Use sysconf to determine proper PAGESIZE value; this
212 appears to be POSIX-compliant. (reported by Andreas Schwab)
214 2005-11-04 Patrick Lam <plam@mit.edu>
220 Fix bug 2878 (excessive relocations at startup for charsets,
221 reported by Ross Burton): fc-lang/fc-lang now creates the
222 static form of the langset, not the dynamic form, so that
223 the charsets should now be in .rodata.
225 2005-11-04 Patrick Lam <plam@mit.edu>
226 * src/fcdir.c (FcDirScanConfig):
228 Add test for validity of directory caches that
229 somehow got lost (reported by make distcheck).
231 2005-11-04 Patrick Lam <plam@mit.edu>
235 * fontconfig/fontconfig.h:
237 Bump version to 2.3.92.
239 2005-11-02 Patrick Lam <plam@mit.edu>
240 * src/fcpat.c (FcPatternDuplicate):
242 Fix argument ordering problem in call to FcPatternTransferFullFname.
244 2005-11-02 Patrick Lam <plam@mit.edu>
245 * src/fcfreetype.c (FcFreetypeQuery):
246 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
247 FcPatternTransferFullFname):
249 Fix warnings and embarrassing double-free error.
251 2005-11-02 Zhe Su <zsu@novell.com>
256 Change the rule for artificial emboldening in fonts.conf.in. This
257 enables the support for artificial emboldening included in cairo.
259 2005-11-02 Patrick Lam <plam@mit.edu>
260 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
262 Don't zero out full names for FC_REF_CONSTANT fonts;
263 also, duplicate full names when transferring, and free
264 full names when freeing the associated font.
265 Reported by Jinghua Luo.
267 2005-11-02 Patrick Lam <plam@mit.edu>
268 * fc-cache/fc-cache.c (scanDirs):
269 * src/fcpat.c (FcValueListSerialize):
271 Revert the previous patch and commit the correct patch:
272 I forgot a canonicalization in FcValueListSerialize, so
273 that it would choke on already-serialized input files. Duh!
275 2005-11-02 Patrick Lam <plam@mit.edu>
276 * fc-cache/fc-cache.c (scanDirs):
278 Forcibly rescan a directory before writing a fresh local
279 cache file for that directory, fixing the losing-fonts
280 problem reported by Mike Fabian and also apparently the
281 font cache file corruption.
283 2005-11-02 Patrick Lam <plam@mit.edu>
284 * src/fccache.c (FcGlobalCacheLoad):
286 Fix thinko: actually, the whole global cache is stale
287 if the global cache is older than the (newest) config file.
289 2005-11-02 Patrick Lam <plam@mit.edu>
290 * src/fccache.c (FcGlobalCacheLoad):
291 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
294 Declare the global cache of a directory's contents to be stale if
295 the directory is newer than the (newest) configuration file.
297 2005-10-31 Patrick Lam <plam@mit.edu>
299 * src/fclist.c (FcListAppend):
300 * src/fcmatch.c (FcFontRenderPrepare):
301 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
302 FcPatternFreeze, FcPatternBaseFreeze):
304 Copy the full pathname whenever duplicating an FcPattern; otherwise,
305 applications continue breaking.
307 2005-10-31 Patrick Lam <plam@mit.edu>
308 * fc-cat/fc-cat.c (FcCacheFileRead, main):
309 * src/fcfreetype.c (FcFreeTypeQuery):
311 Fix small memory error (tried to free argv); use basename and
312 dirname correctly (they can modify their arguments).
314 2005-10-31 Patrick Lam <plam@mit.edu>
322 Reinstate basename patch, but keep a hash table linking FcPatterns
323 to their fully-qualified font names for clients' benefit. Clients
324 only pay for the font names once they request the FC_FILE property
325 from an FcPattern, but the font name is malloc'd at that point (i.e.
326 not mmapped: that's impossible, since it may vary between machines.)
327 Clients do have to pay for a copy of the path name per cache file.
329 Note that FcPatternGetString now does some rewriting if you ask
330 for an FC_FILE, appending the pathname as appropriate.
332 2005-10-31 Patrick Lam <plam@mit.edu>
333 * src/fcfreetype.c (FcFreeTypeQuery):
335 Revert basename patch, which breaks fontconfig clients on my system.
337 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
340 * fontconfig/fonts.conf.in:
341 * fontconfig/fontconfig.h:
345 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
346 to load embedded bitmaps or not.
348 2005-10-25 Patrick Lam <plam@mit.edu>
349 * src/fcfreetype.c (FcFreeTypeQuery):
351 Only add basename to patterns' FC_FILE element, not any part of
354 2005-10-22 Patrick Lam <plam@mit.edu>
357 Add some more consts, fixing more GCC4 warnings.
359 2005-10-22 Zhe Su <zsu@novell.com>
362 Support localized font family and style names.
363 This has been reported to break old apps like xfd, but modern
364 (gtk+/qt/mozilla) apps work fine.
366 2005-10-21 Patrick Lam <plam@mit.edu>
367 * src/fccache.c (FcGlobalCacheLoad):
369 Destroy the global cache file if it's terminally broken. (reported by
372 2005-10-21 Patrick Lam <plam@mit.edu>
373 * fc-list/fc-list.c (main):
374 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
375 * fontconfig/fontconfig.h:
377 Prevent fc-list from escaping strings when printing them (reported by
380 2005-10-20 Marcus Meissner <meissner@suse.de>
383 * fontconfig/fontconfig.h:
385 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
387 2005-10-14 Ross Burton <ross@burtonini.com>
390 * fc-glyphname/fc-glyphname.c:
393 Add consts to variables so as to move arrays into .rodata.
395 2005-10-14 Mike Fabian <mfabian@suse.de>
398 * src/fccache.c (FcDirCacheUnlink):
400 Check existence of directory cache file before attempting to unlink.
402 2005-10-13 Patrick Lam <plam@mit.edu>
403 * src/fccache.c (FcDirCacheUnlink):
405 Fix flipped return value on unlink. (Reported by Mike Fabian)
407 2005-10-12 Patrick Lam <plam@mit.edu>
410 * src/fcdir.c (FcDirScanConfig):
413 When fc-cache is run without --force, use directory cache files
414 to speed up fc-cache run time. (Reported by Mike Fabian)
416 2005-10-06 Patrick Lam <plam@mit.edu>
418 * src/fcname.c (FcObjectToPtr):
419 * src/fcpat.c (FcStrStaticName):
421 Add padding to make valgrind and glibc not hate each other
422 when calling strlen().
424 2005-10-05 Simos Xenitellis <simos74@gmx.net>
425 reviewed by: plam & keithp
429 Modify config file to use Greek fonts before Asian fonts with
432 2005-10-05 Christian Biesinger <cbiesinger@web.de>
433 reviewed by: plam & keithp
437 Use libtool -no-undefined flag on all platforms.
439 2005-10-05 Patrick Lam <plam@mit.edu>
440 * src/fccache.c (FcCacheHaveBank):
442 Implement move-to-front array for banks (perf regression
443 reported by Ronny V. Vindenes).
445 2005-10-04 Patrick Lam <plam@mit.edu>
446 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
447 FcDirCacheHasCurrentArch):
448 * fc-cache/fc-cache.c (scanDirs):
449 * fontconfig/fontconfig.h:
451 Add new API which unlinks directory caches and checks dir caches
452 for existence of appropriate sections. Fix fc-cache to unlink
453 stale cache files and save directory caches that lack relevant
456 2005-10-03 Patrick Lam <plam@mit.edu>
457 * src/fccache.c (FcDirCacheValid):
459 Ensure that a directory cache has the appropriate section
460 before reporting that it is valid (reported by Matthias Clasen).
462 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
470 Use libxml2 if requested (with --enable-libxml2) or if
471 expat is not available.
473 2005-09-29 Patrick Lam <plam@mit.edu>
474 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
476 Fix multi-arch cache files: compute the position for the
477 block to be added using info from OrigFile, not NewFile.
479 2005-09-28 Patrick Lam <plam@mit.edu>
480 * src/fccache.c (FcCacheMachineSignature):
482 Cast results of sizeof() to unsigned int to get rid of
483 warnings on x86_64 (thanks Matthias Clasen).
485 2005-09-27 Patrick Lam <plam@mit.edu>
486 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
489 Use FcAtomic to rewrite cache files.
491 2005-09-27 Patrick Lam <plam@mit.edu>
493 * src/fccache.c (FcDirCacheWrite):
495 Don't unlink the fonts.cache-2 file even if there's no data
496 to write; just write an empty cache file. (thanks Lubos Lunak)
498 2005-09-27 Patrick Lam <plam@mit.edu>
500 * src/fccache.c (FcDirCacheWrite):
502 Allocate room for the subdirectory names in each
503 directory cache. Thanks to James Cloos for finding
504 and diagnosing this bug!
506 2005-09-22 Patrick Lam <plam@mit.edu>
508 * fc-cache/fc-cache.sgml:
509 * src/fccache.c (FcDirCacheWrite):
510 * src/fccache.h (struct FcCache):
512 Update documentation -- fc-cache's man page now says that you
513 need to run fc-cache once per cached architecture; add some
514 documentation to the FcCache structure.
516 Make fc-cache write out fonts.cache-2 files for directories with
517 no fonts (i.e. only subdirectories).
519 2005-09-22 Patrick Lam <plam@mit.edu>
521 * fc-cache/fc-cache.sgml:
523 * fc-glyphname/fc-glyphname.c:
529 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
534 * fontconfig/fcprivate.h:
535 * fontconfig/fontconfig.h:
549 Implement new mmaped cache for font information.
550 Bump so revision to 2.3.90.
552 2005-07-25 Keith Packard <keithp@keithp.com>
554 * doc/fontconfig-user.sgml:
555 * fc-glyphname/fc-glyphname.c: (scan), (main):
556 * fc-lang/fc-lang.c: (FcConfigHome):
557 * fc-match/fc-match.c: (main):
558 * src/fccfg.c: (FcConfigHome):
559 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
560 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
561 (addtag), (FcFontCapabilities):
562 * src/fcpat.c: (FcValueListEntCreate):
563 * src/fcstr.c: (FcStrCaseWalkerInit):
564 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
566 Various GCC 4 cleanups for signed vs unsigned char
568 Match only [0-9]*.conf files in <include>{directory}</include>
569 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
571 2005-07-15 Carl Worth <cworth@cworth.org>
574 * src/fcinit.c: (FcFini):
575 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
578 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
579 Pull the FcObjectStateName hash table out to file scope, and add
580 FcObjectStaticNameFini so that FcFini will cleanup this hash table
583 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
586 2005-06-16 Patrick Lam <plam@MIT.EDU>
590 * src/fccfg.c: (FcConfigCompareValue):
591 Make FcOpNotContains use FcStrStr for strings so that
592 it matches semantics for !FcOpContains.
594 2005-05-20 Keith Packard <keithp@keithp.com>
598 Move fontconfig source package to libs as per override
600 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
602 reviewed by: Mike Fabian
605 The ka.orth file requires several characters which are not
606 used anymore in modern Georgian and which are missing in the free
607 Georgian TrueType fonts downloadable at:
609 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
611 2005-04-27 Keith Packard <keithp@keithp.com>
615 Update date to real 2.3.2 release date.
616 Fix change attributions
618 2005-04-27 Keith Packard <keithp@keithp.com>
621 Bump so revision for 2.3.2
622 * fc-cache/fc-cache.c: (scanDirs):
623 Fix a few minor leaks in error cases.
625 2005-04-23 Keith Packard <keithp@keithp.com>
630 * fontconfig/fontconfig.h:
631 Update for version 2.3.2
633 2005-04-21 Keith Packard <keithp@keithp.com>
635 * debian/fontconfig.postinst:
636 Don't force bitmap font enable in default
637 configuration; allows users to override this in
647 * debian/po/pt_BR.po:
648 * debian/po/templates.pot:
650 * debian/po/zh_CN.po:
653 * fc-cache/fc-cache.c: (main):
654 Destroy font configuration on exit to help valgrind
657 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
658 (FcFreeTypeCheckGlyph):
659 Use own transcoding routines in preference to iconv
660 which appears to have leaks in some translators.
661 Call iconv_close after using iconv (oops).
663 Prefer unicode encoding of Euro char as some
664 fonts mis-encode Euro in other ones.
666 Must fetch bitmap glyphs to get width values
667 to check for monospace/dual-width fonts.
669 2005-04-13 Ross Burton <ross@burtonini.com>
672 Check that a pattern isn't already frozen in FcPatternFreeze.
674 2005-03-31 Ross Burton <ross@burtonini.com>
679 Run all FcPattern objects through FcObjectStaticName, so that
680 compares can be done on pointers instead of strings (#2659)
682 2005-03-17 Tor Lillqvist <tml@novell.com>
684 * src/fontconfig.def.in: Add the .dll to the dll name.
686 2005-03-10 Keith Packard <keithp@keithp.com>
688 * debian/README.Debian:
689 Update to reflect configuration changes
691 * debian/fontconfig.postinst:
692 Fix Autohint vs Autohinter mistake
693 * debian/fontconfig.templates:
694 Adopt changes from Josselin Mouette for configuration descriptions
695 Update debian to version 2.3.1-2
697 2005-03-08 Keith Packard <keithp@keithp.com>
701 Update debian for 2.3.1
703 2005-03-09 Tor Lillqvist <tml@novell.com>
705 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
708 * src/fccfg.c (FcConfigFileExists): Check also drive letter
711 2005-03-08 Keith Packard <keithp@keithp.com>
715 * fontconfig/fontconfig.h:
718 2005-03-05 Keith Packard <keithp@keithp.com>
720 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
721 Include space and remove numbers from valid script tags.
722 This ensures that tags like 'lao ' work while rejecting
723 those which have any digits.
724 Eliminate a spurious debugging variable (len)
726 2005-03-05 Keith Packard <keithp@keithp.com>
728 * src/fcfreetype.c: (addtag), (GetScriptTags),
729 (FcFontCapabilities):
730 Rework GSUB/GPOS script parsing to survive broken fonts.
731 Thanks for the broken font go to Manish Singh
733 2005-03-05 Keith Packard <keithp@keithp.com>
738 * debian/fontconfig.config:
739 * debian/fontconfig.templates:
741 Include 2.3 release information in changelog
742 Add Josselin Mouette as an Uploader
743 Set hinting_type to low priority configuration option
746 * debian/fontconfig.postinst:
747 yes_bitmaps.conf -> yes-bitmaps.conf
753 2005-03-02 Keith Packard <keithp@keithp.com>
756 * conf.d/Makefile.am:
757 * conf.d/autohint.conf:
758 * conf.d/no-sub-pixel.conf:
759 * conf.d/sub-pixel.conf:
760 * conf.d/unhinted.conf:
761 * debian/autohint.conf:
762 * debian/fontconfig.install:
763 * debian/fontconfig.postinst:
764 * debian/fontconfig.templates:
765 * debian/no-sub-pixel.conf:
766 * debian/unhinted.conf:
767 Move debian-specific conf file examples upstream.
769 Sub-pixel configuration examples must smash subpixel value
770 as Xft always sets it from X.
772 Change sub-pixel rendering debconf descriptions from
773 Enable/Disable to Always/Never.
775 2005-03-02 Keith Packard <keithp@keithp.com>
780 Ignore more build detritus
783 Add debian package construction stuff.
785 * config/config.guess:
787 Update to newer versions of these tools
790 Get library manuals to build again (we love automake).
792 * debian/README.Debian:
793 * debian/autohint.conf:
798 * debian/fontconfig-udeb.install:
799 * debian/fontconfig.config:
800 * debian/fontconfig.defoma:
801 * debian/fontconfig.dirs:
802 * debian/fontconfig.install:
803 * debian/fontconfig.postinst:
804 * debian/fontconfig.postrm:
805 * debian/fontconfig.templates:
806 * debian/libfontconfig1-dev.install:
807 * debian/libfontconfig1.install:
808 * debian/local.conf.md5sum:
809 * debian/no-sub-pixel.conf:
810 * debian/po/POTFILES.in:
819 * debian/po/pt_BR.po:
820 * debian/po/templates.pot:
822 * debian/po/zh_CN.po:
824 * debian/unhinted.conf:
825 Update debian build system to switch maintainers and
826 deal with 2.3 functionality
828 2005-03-01 Keith Packard <keithp@keithp.com>
832 * fontconfig/fontconfig.h:
835 2005-03-01 Keith Packard <keithp@keithp.com>
838 Generate and install PDF versions of the manuals
840 * doc/fcpattern.fncs:
844 Add missing exported functions, fix data types
846 * doc/fontconfig-devel.sgml:
847 Add missing pattern elements.
849 * doc/fontconfig-user.sgml:
850 Add missing pattern elements. Document conf.d usage,
851 clarify available orthography list. Fix some config file
852 attributes. Complete list of constants.
854 * fontconfig/fontconfig.h:
855 Mark FC_SOURCE deprecated.
857 * src/fcfreetype.c: (FcFreeTypeQuery):
858 Don't set FC_SOURCE any longer.
860 2005-02-28 Keith Packard <keithp@keithp.com>
863 * conf.d/Makefile.am:
865 * conf.d/no-bitmaps.conf:
866 * conf.d/sub-pixel.conf:
867 * conf.d/yes-bitmaps.conf:
869 Create prototype /etc/fonts/conf.d directory with a few
870 sample configuration files.
871 Deprecate use of local.conf for local customizations in favor of
872 this directory based scheme which is more easily integrated into
873 installation systems.
876 Tag FC_EMBOLDEN as a boolean variable
878 2005-02-10 Keith Packard <keithp@keithp.com>
880 reviewed by: pborelli@katamail.com
882 * src/fcdir.c: (FcFileScanConfig):
883 Free patterns from fonts which are rejected by configuration
886 2005-01-28 Keith Packard <keithp@keithp.com>
890 * fontconfig/fontconfig.h:
891 Update for version 2.2.99
893 2005-01-28 Keith Packard <keithp@keithp.com>
896 Add a few pointers (#2284, #2285)
898 2005-01-28 Keith Packard <keithp@keithp.com>
901 * src/fcname.c: (FcNameBool):
902 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
903 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
904 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
905 Polite typechecking for test and edit expressions. Helps
906 catch errors in the font configuration. (bug 229)
908 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
910 reviewed by: Keith Packard <keithp@keithp.com>
913 Have --with-expat set EXPAT_CFLAGS (bug 2278)
915 2005-01-13 Keith Packard <keithp@keithp.com>
917 * doc/fontconfig-user.sgml:
918 Add SEE ALSO section (bug 2085)
920 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
922 reviewed by: Keith Packard <keithp@keithp.com>
927 * fc-case/Makefile.am:
928 * fc-glyphname/Makefile.am:
929 * fc-lang/Makefile.am:
930 * src/fontconfig.def.in:
931 Cross compiling fixes (bug 280)
933 2005-01-13 Keith Packard <keithp@keithp.com>
936 Update blanks list (Closes bug 86)
938 2005-01-04 Keith Packard <keithp@keithp.com>
940 * src/fccache.c: (FcCacheFontSetAdd):
941 Verify that every font pattern loaded from cache has
942 both FC_FILE and FC_FAMILY entries.
943 Attempt to fix bug #2219.
945 2004-12-29 Keith Packard <keithp@keithp.com>
949 * fontconfig/fontconfig.h:
950 Update for version 2.2.98
952 2004-12-29 Keith Packard <keithp@keithp.com>
954 * fontconfig/fontconfig.h:
955 Document ASCII limitations of Fc character conversion macros
956 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
957 Fix off-by-one error in utf-8 case walking code.
958 Add FcStrDowncase (useful for testing case conversion functions)
960 2004-12-29 Keith Packard <keithp@keithp.com>
963 * fc-case/.cvsignore:
964 clean up CVS ignore lists
965 * fc-lang/iso-3166.txt:
966 Add territory database
968 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
970 Reviewed by: Keith Packard
973 Remove Han characters from Korean orthography
975 2004-12-29 Keith Packard <keithp@keithp.com>
978 Reorder utility programs to make sure fc-case is run before fc-lang
979 as fc-lang uses fcstr.c which uses fccase.h
983 2004-12-29 Keith Packard <keithp@keithp.com>
986 Adopt some RedHat suggestions for standard font configuration.
990 * fc-case/CaseFolding.txt:
991 * fc-case/Makefile.am:
992 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
993 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
994 (dump), (parseRaw), (caseFoldReadRaw), (main):
995 * fc-case/fccase.tmpl.h:
996 Add new helper program 'fc-case' to construct case folding
997 tables from standard Unicode CaseFolding.txt file
1000 * src/fclist.c: (FcListValueHash):
1001 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
1002 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
1003 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
1004 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
1005 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
1006 Re-implement case insensitive functions with Unicode
1007 aware versions (including full case folding mappings)
1009 2004-12-13 Keith Packard <keithp@keithp.com>
1011 reviewed by: Owen Taylor <otaylor@redhat.com>
1013 * src/fcmatch.c: (FcFontSetSort):
1014 I changed FcFontSetSort to respect the generic aliases better
1015 in the face of language matching.
1017 What I did was to ammend the strict sort order used by FcFontSort so
1018 that it 'satisfies' the language specified in the pattern by locating
1019 the best matching font supporting each pattern language and then
1020 ignores language in the remaining fonts for purposes of matching.
1022 So, when asking for 'sans:lang=en', you'll get an English font first,
1023 and then the remaining fonts sorted with respect to the 'sans' alias
1024 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
1026 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
1028 reviewed by: Keith Packard <keithp@keithp.com>
1030 * fontconfig/fontconfig.h:
1033 Configuration changes to request synthetic emboldening of
1034 fonts. The actual emboldening code will live in Xft.
1036 2004-12-09 John Thacker <thacker@math.cornell.edu>
1038 reviewed by: Keith Packard <keithp@keithp.com>
1042 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
1043 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
1044 и), and don't even appear in KOI8-R. (The hypothesis that they
1045 don't appear in KOI8-R due to their similarity with Latin I and i is
1046 eliminated by their presence in KOI8-U.) I have a couple of fonts
1047 with Russian support that don't have the letter.
1049 Therefore, 0406 and 0456 should be removed from or commented out of
1052 2004-12-06 michael meeks <mmeeks@novell.com>
1054 Reviewed by: Keith Packard <keithp@keithp.com>
1056 * src/fcinit.c: (FcMemReport):
1058 * src/fclist.c: (FcObjectSetAdd):
1059 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
1060 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
1061 * src/fcxml.c: (FcParsePatelt):
1062 memoize strings and share a single copy for all uses. Note that
1063 this could be improved further by using statically allocated blocks
1064 and gluing multiple strings together, but I'm basically lazy.
1065 In my environment with 800 font files, I get a savings of about 90KB.
1067 2004-12-06 Keith Packard <keithp@keithp.com>
1071 * config/Makedefs.in:
1074 * doc/fcatomic.fncs:
1075 * doc/fcblanks.fncs:
1076 * doc/fccharset.fncs:
1077 * doc/fcconfig.fncs:
1078 * doc/fcconstant.fncs:
1080 * doc/fcfontset.fncs:
1081 * doc/fcfreetype.fncs:
1083 * doc/fcmatrix.fncs:
1084 * doc/fcobjectset.fncs:
1085 * doc/fcobjecttype.fncs:
1086 * doc/fcpattern.fncs:
1087 * doc/fcstring.fncs:
1088 * doc/fcstrset.fncs:
1090 * doc/fontconfig-devel.sgml:
1091 * doc/fontconfig-user.sgml:
1093 * doc/version.sgml.in:
1094 * fc-cache/Makefile.am:
1095 * fc-cache/fc-cache.c:
1096 * fc-glyphname/Makefile.am:
1097 * fc-glyphname/fc-glyphname.c:
1098 * fc-glyphname/fcglyphname.tmpl.h:
1099 * fc-lang/Makefile.am:
1109 * fc-lang/az_ir.orth:
1143 * fc-lang/fc-lang.c:
1144 * fc-lang/fc-lang.man:
1145 * fc-lang/fclang.tmpl.h:
1190 * fc-lang/ku_ir.orth:
1223 * fc-lang/ps_af.orth:
1224 * fc-lang/ps_pk.orth:
1253 * fc-lang/ti_er.orth:
1254 * fc-lang/ti_et.orth:
1280 * fc-lang/zh_cn.orth:
1281 * fc-lang/zh_hk.orth:
1282 * fc-lang/zh_mo.orth:
1283 * fc-lang/zh_sg.orth:
1284 * fc-lang/zh_tw.orth:
1286 * fc-list/Makefile.am:
1287 * fc-list/fc-list.c:
1288 * fc-match/Makefile.am:
1289 * fc-match/fc-match.1:
1290 * fc-match/fc-match.c:
1291 * fontconfig/fcfreetype.h:
1292 * fontconfig/fcprivate.h:
1293 * fontconfig/fontconfig.h:
1314 Change files from ISO-Latin-1 to UTF-8
1316 2004-12-04 Keith Packard <keithp@keithp.com>
1319 Update links to new freedesktop.org locations
1321 Add uninstall-local to get rid of fonts.conf and local.conf if they
1322 match the distributed versions. Fixes 'make distcheck'
1324 2004-12-04 Keith Packard <keithp@keithp.com>
1328 * fontconfig/fontconfig.h:
1329 Updates for version 2.2.97
1331 2004-12-04 Owen Taylor <otaylor@redhat.com>
1333 reviewed by: Keith Packard <keithp@keithp.com>
1335 * fc-cache/fc-cache.c: (main):
1336 Sleep for two seconds before exiting to make sure timestamps
1337 for future changes have distinct mod times in the file system.
1340 Add Punjabi orthography. Bug #1671.
1342 2004-12-04 Keith Packard <keithp@keithp.com>
1345 Just remove the FC_FONTDATE -- it has locale issues and
1346 annoys redhat multi-arch installs. Now that all X fonts are
1347 included without prejudice, the chances of the date being at
1348 all interesting are rather limited. Bug #505.
1350 Add copyright and license
1352 2004-12-04 Keith Packard <keithp@keithp.com>
1355 Change default set of fonts to include all of
1356 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1357 * doc/fontconfig-user.sgml:
1358 Document new <include>directory-name</include> semantics
1360 add <include ignore_missing="yes">conf.d</include>
1362 Add selectfont to ignore bitmap fonts, add comment for
1363 selectfont which accepts bitmap fonts.
1366 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1367 Allow <include> configuration elements to reference directories.
1368 Parse and load all files of the form [0-9]* in sorted order.
1370 2004-12-04 Keith Packard <keithp@keithp.com>
1373 Report command line for $srcdir/configure accurately.
1376 2004-12-04 Keith Packard <keithp@keithp.com>
1378 * src/fcfreetype.c: (FcFreeTypeQuery):
1379 Check for non-empty face->family_name and face->style_name
1380 before using those for the font. Empty names match everything.
1383 2004-12-04 Keith Packard <keithp@keithp.com>
1386 * fontconfig/fontconfig.h:
1387 * src/fcfreetype.c: (FcFreeTypeQuery):
1389 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1390 available. This provides font file format information (BDF, Type 1,
1391 PCF, TrueType) for each font. Closes #109.
1393 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1395 reviewed by: Keith Packard <keithp@keithp.com>
1397 * doc/fontconfig-user.sgml:
1400 * fontconfig/fontconfig.h:
1401 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1402 (GetScriptTags), (FcFontCapabilities):
1404 Add detection for font capabilities (bug #105)
1406 2004-12-04 Keith Packard <keithp@keithp.com>
1409 Move existing fonts.conf to fonts.conf.bak
1412 Add detection of iconv
1414 * doc/fcpattern.fncs:
1415 * doc/fontconfig-devel.sgml:
1416 * doc/fontconfig-user.sgml:
1418 Document new selectfont elements
1421 Switch to UTF-8 in comment
1423 * fontconfig/fontconfig.h:
1425 Add fullname, and family/style/fullname language entries
1427 * src/fccache.c: (FcCacheFontSetAdd):
1428 * src/fcdir.c: (FcFileScanConfig):
1429 Respect selectfont/*/glob
1432 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1433 (FcConfigCompareValue), (FcConfigPatternsAdd),
1434 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1435 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1436 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1437 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1438 Add support for selectfont
1440 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1441 (FcStringInPatternElement), (FcFreeTypeQuery):
1442 Add multi-lingual family/style/fullname support
1444 * src/fclist.c: (FcListPatternMatchAny):
1445 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1447 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1448 (FcObjectStaticName):
1449 Add new FcPatternRemove/FcPatternAppend.
1450 FcObjectStaticName stores computed pattern element names which
1451 are required to be static.
1453 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1458 Remove spurious / after $(DESTDIR)
1460 2004-06-30 Keith Packard <keithp@keithp.com>
1464 * fontconfig/fontconfig.h:
1467 2004-06-30 Keith Packard <keithp@keithp.com>
1469 Provided by: Lubos Lunak <l.lunak@suse.cz>
1471 * src/fccfg.c: (FcConfigUptoDate):
1472 However FcConfigUptoDate() doesn't seem to work. See the attached
1473 patch. First there's an obvious misplaced parenthesis making it
1474 return always false, and second, even this call fails to detect font
1475 changes (e.g. adding a new font to
1476 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1477 well. The problem seems to be triggered by my fonts.conf specifying
1478 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1479 doesn't include subdirs, unlike config->fontDirs.
1481 2004-06-03 Keith Packard <keithp@keithp.com>
1483 * fontconfig/fontconfig.h:
1484 Remove comma at end of FcResult enum definition.
1486 2004-05-29 Keith Packard <keithp@keithp.com>
1489 Add steps to md5sum release
1491 2004-05-29 Keith Packard <keithp@keithp.com>
1495 * fontconfig/fontconfig.h:
1498 2004-05-29 Keith Packard <keithp@keithp.com>
1500 * fontconfig/fontconfig.h:
1501 * src/fcmatch.c: (FcFontSetMatch):
1502 Add FcResultOutOfMemory to provide an accurate error when
1503 FcFontSetMatch fails in this way
1506 Make #warning about lacking various FreeType features indicate
1507 which version those features appeared so users know how to
1508 fix the problem (Thanks to Anton Tropashko)
1510 2004-05-05 Keith Packard <keithp@keithp.com>
1512 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1513 Replace MIN/MAX/ABS macros which happen to have come
1514 from FreeType with fontconfig-specific ones (FC_*)
1516 2004-04-23 Keith Packard <keithp@keithp.com>
1519 Extend release preparation instructions to include
1520 notification and distribution steps
1522 2004-04-23 Keith Packard <keithp@keithp.com>
1526 * fontconfig/fontconfig.h:
1527 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1529 2004-04-23 Keith Packard <keithp@keithp.com>
1532 Ignore a few more autotool files
1534 2004-04-14 Keith Packard <keithp@keithp.com>
1537 Add instructions for doing a release
1539 * fontconfig.spec.in:
1540 clean up .spec file; perhaps this will be useful to somebody...
1544 * fontconfig/fontconfig.h:
1547 * fc-lang/fc-lang.c:
1548 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1550 * fc-glyphname/Makefile.am:
1551 * fc-lang/Makefile.am:
1552 * fc-list/Makefile.am:
1553 * fc-match/Makefile.am:
1555 Add WARN_CFLAGS to pass -W flags for GCC systems
1557 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1558 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1559 Change various char types around to match across
1561 Fixed bug in using available_sizes[i].height which
1562 is in pixels, not 64ths of a pixel.
1564 2004-03-06 Keith Packard <keithp@keithp.com>
1566 * src/fcfreetype.c: (FcFreeTypeQuery):
1567 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1568 matches looking for explicit values prefer exact matches
1570 2004-03-02 Keith Packard <keithp@keithp.com>
1572 Supplied by: mfabian@suse.de (Mike FABIAN)
1574 * src/fcfreetype.c: (FcFreeTypeQuery):
1575 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1576 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1578 2004-02-21 Manish Singh <yosh@gimp.org>
1580 * fc-glyphname/fc-glyphname.c: (main):
1581 Cast strlen to int for printf, so we're 64-bit clean.
1583 2004-02-11 Keith Packard <keithp@keithp.com>
1586 * src/fcfreetype.c: (FcGetPixelSize):
1587 Ok, so I messed up the test for y_ppem. Let's see if I
1588 got it right this time.
1590 2004-02-10 Keith Packard <keithp@keithp.com>
1593 * src/fcfreetype.c: (FcGetPixelSize):
1594 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1595 FT_Bitmap_Size record. Add a configure.in test for this
1596 and change the code accordingly (using height instead).
1598 2004-02-06 Keith Packard <keithp@keithp.com>
1601 Add Low Saxon orthography
1602 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1604 * src/fccfg.c: (FcConfigNewestFile):
1605 Oops. Left 'newest.set' unset, which would miscompute
1608 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1609 (FcFreeTypeCheckGlyph):
1610 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1611 font properties (which report the wrong value in current FreeType)
1613 Don't attempt to check for empty glyphs in non-scalable fonts; they
1616 2004-02-01 Tor Lillqvist <tml@iki.fi>
1618 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1619 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1620 cache if config->cache is NULL, which happens if FcConfigHome() is
1621 NULL. Guard against that by using the temp folder in that case.
1623 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1625 * fc-lang/az_ir.orth:
1626 * fc-lang/ku_ir.orth:
1627 * fc-lang/ps_af.orth:
1628 * fc-lang/ps_pk.orth:
1629 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1630 (Afghan and Pakistani).
1632 Updated Urdu orthography with real data.
1634 2003-12-11 Carl Worth <cworth@east.isi.edu>
1636 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1639 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1641 (all-local): Remove excessive whitespace.
1643 * autogen.sh: Add 'set -e' to abort when any program fails,
1644 (avoids printing of 'now type make' after configure aborts).
1646 2003-11-17 Eric Christopherson <rakko@charter.net>
1648 reviewed by: Keith Packard <keithp@keithp.com>
1651 * fontconfig/fcfreetype.h:
1653 Switch to FreeType 2.1.7 style includes. Bug #150.
1655 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1657 * fc-list/fc-list.sgml: Add some example usages.
1659 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1662 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1665 2003-10-27 Keith Packard <keith@keithp.com>
1668 * fontconfig/fontconfig.h:
1669 Update to version 2.2.92
1671 2003-10-27 Keith Packard <keithp@keithp.com>
1676 * fc-cache/Makefile.am:
1677 * fc-glyphname/Makefile.am:
1678 * fc-lang/Makefile.am:
1679 * fc-list/Makefile.am:
1680 * fc-match/Makefile.am:
1683 Yet more cleanups to finish getting 'make distcheck' working
1684 This has been tested to ensure that it even works from a _build
1687 2003-10-26 Keith Packard <keithp@keithp.com>
1691 * fc-cache/Makefile.am:
1692 * fc-glyphname/Makefile.am:
1693 * fc-lang/Makefile.am:
1694 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1695 * fc-list/Makefile.am:
1696 * fc-match/Makefile.am:
1697 Attempts to fix 'make distcheck' work. Things are
1698 progressing pretty well, but there are still failures
1699 long into the process dealing with docs (as always).
1701 The big changes here are mostly to make $(srcdir) != "."
1702 work correctly, fixing the docbook related sections and
1703 fc-lang were particularily tricky. Docbook refuses to load
1704 system entities from anywhere other than where the original .sgml
1705 file was located, so no luck looking in "." for the
1706 configure-generated version.sgml and confdir.sgml files.
1708 fc-lang needed help finding .orth files; added a -d option
1709 to set the directory as the least evil of many options.
1711 Now to go use a faster machine and try and wring out the last
1714 2003-10-26 Keith Packard <keithp@keithp.com>
1718 2003-10-26 Keith Packard <keithp@keithp.com>
1721 Include confdir.sgml.in in EXTRA_DIST
1723 2003-10-09 Josselin Mouette <joss@debian.org>
1725 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1726 * fc-list/fc-list.sgml fc-list/Makefile.am:
1727 Replace fc-cache and fc-list manpages with more detailed, SGML
1730 2003-09-23 Owen Taylor <otaylor@redhat.com>
1732 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1733 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1734 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1737 2003-09-23 Owen Taylor <otaylor@redhat.com>
1739 * fc-lang/ka.orth: Remove Georgian capitals, they
1740 aren't used for normal writing. (Bug #116)
1742 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1744 * doc/fontconfig-devel.sgml:
1745 * doc/fontconfig-user.sgml:
1746 * fontconfig/fontconfig.h:
1748 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1749 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1751 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1752 monospace and dual-width fonts, allow roughly a 3% variance in the
1755 2003-08-31 Manish Singh <yosh@gimp.org>
1757 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1760 2003-08-15 Carl Worth <cworth@isi.edu>
1762 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1763 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1765 * src/fcpat.c (FcValueListEntDestroy): New function to support
1766 FcFini memory cleanup. Some statistics are not kept in
1768 (FcValueListFreeze): Move hashTable outside this function so it
1769 can be accessed by FcValueListThawAll.
1770 (FcValueListThawAll): New function complements FcValueListFreeze.
1771 (FcPatternBaseFreeze): Move hashTable outside this function so it
1772 can be accessed by FcPatternBaseThawAll.
1773 (FcPatternBaseThawAll): New function complements
1774 FcPatternBaseFreeze.
1775 (FcPatternThawAll): New function complements FcPatternFreeze.
1777 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1779 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1780 allocated FcCharLeafEnt "blocks" so they can be freed later.
1781 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1782 can be accessed by FcCharSetThawAllLeaf.
1783 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1784 (FcCharSetFreezeBase): Move hashTable outside this function so it
1785 can be accessed by FcCharSetThawAll.
1786 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1788 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1789 (FcConfigDestroy): Fic leak of FcBlanks.
1791 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1792 (main): Add call to FcFini when finished.
1794 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1795 static. Add prototypes.
1797 * doc/fcinit.fncs: Add documentation for FcFini function.
1799 * doc/edit-sgml.c: Mark several local functions as static. Add
1802 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1804 2003-06-15 Tor Lillqvist <tml@iki.fi>
1806 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1807 before comparing (needed on Windows).
1809 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1811 2003-06-13 Tor Lillqvist <tml@iki.fi>
1813 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1816 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1817 WINDOWSFONTDIR token.
1819 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1820 end, not to confuse libtool, which expects the EXPORTS line to be
1821 the first. Add FcConfigEnableHome.
1823 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1824 built as a DLL on Win32.
1826 2003-06-09 Keith Packard <keithp@keithp.com>
1828 * Tag version 2.2.90
1830 2003-06-09 Keith Packard <keithp@keithp.com>
1832 * Optimization in FcLangSetIndex was broken, occasionally
1833 returning a pointer to the wrong location on miss
1835 * Add fc-match to test font matching from the command line.
1837 2003-05-31 Keith Packard <keithp@keithp.com>
1839 * (Bug 85) add support for culmus fonts
1840 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1841 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1843 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1845 * Fix "contains" op for strings and langsets.
1847 2003-05-17 Keith Packard <keithp@keithp.com>
1849 * Fix build error with BDF prop local. Free langset after query
1851 2003-05-14 Keith Packard <keithp@keithp.com>
1853 * Extract spacing from XLFD atom
1855 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1857 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1858 disappeared in 1.30.
1860 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1862 2003-05-12 Keith Packard <keithp@keithp.com>
1864 * Use FcIsWidth to share code
1866 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1867 misclassifying some Han fonts as monospaced.
1869 2003-05-07 Keith Packard <keithp@keithp.com>
1871 * Add filename-based accept/reject to ammend available fonts.
1873 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1874 older FreeType releases.
1876 2003-05-06 Keith Packard <keithp@keithp.com>
1878 * Remove 0b82 and Tamil numbers from tamil
1879 orthography (Jungshik Shin <jshin@mailaps.org>)
1881 2003-05-04 Keith Packard <keithp@keithp.com>
1883 + Map glyph names in fonts with adobe custom encoding to unicode
1885 2003-05-02 Keith Packard <keithp@keithp.com>
1887 * Add FC_WEIGHT_BOOK as weight 75
1889 2003-04-30 Keith Packard <keithp@keithp.com>
1891 * Typo in bitstream foundry name
1893 2003-04-24 Keith Packard <keithp@keithp.com>
1895 * Eliminate italic_angle check for PS fonts
1897 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1899 * Getting closer to fixing /etc/fonts hard-coding.
1901 2003-04-22 Keith Packard <keithp@keithp.com>
1903 * Update autogen.sh to work with newer automake versions
1904 * Handle pattern elements moving during multiple edits
1906 2003-04-23 James Henstridge <james@daa.com.au>
1908 * doc/fontconfig-devel.sgml: close the <para> element.
1910 * doc/fcpattern.fncs: close the <para> element.
1912 * doc/func.sgml: close the <refsynopsisdiv> element.
1914 2003-04-22 Keith Packard <keithp@keithp.com
1916 * Update autogen.sh to work with newer automake versions
1917 * Handle pattern elements moving during multiple edits
1919 2003-04-17 Colin Walters <walters@debian.org>
1921 + Remove some unused variables, and initialize some other ones so
1922 gcc doesn't warn us.
1924 2003-04-16 Keith Packard <keithp@keithp.com>
1926 + tag version 2.1.94
1928 2003-04-16 Keith Packard <keithp@keithp.com>
1930 + add BDF property fetching support for foundry
1931 (from Juliusz Chroboczek)
1932 + add BDF property fetching support for width
1934 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1936 + Implemented foundry generation for Type 1 and TrueType
1938 2003-04-11 Gerard Escalante <g2@magestudios.net>
1940 + Retrieve information from Type1 FontInfo dictionaries
1942 2003-04-07 Colin Walters <walters@verbum.org>
1944 + src/Makefile.am: Fix dummy makefile target names when
1945 MS_LIB_AVAILABLE isn't set.
1947 2003-03-22 Tor Lillqvist <tml@iki.fi>
1949 Changes for Windows:
1951 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1953 + We don't want to hardcode the fonts.conf file location in the
1954 DLL, so we look up the DLL location at run-time in a DllMain()
1955 function. The fonts.conf location is deduced from that.
1957 + The colon can't be used as path separator on Windows,
1958 semicolon is used instead. File path components can be separated
1959 with either slash or backslash. Absolute paths can also begin
1960 with a drive letter.
1962 + Add internal function FcStrLastSlash that strrchr's the last
1963 slash, or backslash on Windows.
1965 + There is no link() on Windows. For atomicity checks, mkdir a
1966 lock directory instead.
1968 + In addition to HOME, also look for USERPROFILE.
1970 + Recognize the special font directory token WINDOWSFONTDIR, to
1971 use the system's font directory.
1973 + Remove the fontconfig-def.cpp that was obsolete. Add
1974 fontconfig.def(.in), without internal functions.
1976 + Add a fontconfig-zip(.in) script, used to build a binary
1979 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1980 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1981 to main package and man3/* to devel package
1983 + Added missing defattr(-, root, root) to main RPM package
1985 + Added HTML and text development documentation to -devel subpackage
1987 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1988 + Added back the configure macro options --disable-docs, otherwise
1989 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1990 version number) unconditionally, causing RPM to fail the build due
1991 to _unpackaged_files_terminate_build. We pick up the pregenerated
1992 docs with %doc already.
1994 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1995 + Removed commented out rpm macro define at top of spec file,
1996 replacing it with a simple explanation, since rpm macros are
1997 expanded by rpm even in comments.
1999 + Changed /usr/bin to _bindir in BuildRequires lines
2001 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
2003 + Reorganized file manifest lists
2005 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
2007 + fontconfig.spec.in: Improvements from Red Hat spec file.
2009 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
2011 + docs/*.sgml: SGML fixes.
2013 Sat Mar 1 17:28:53 PST 2003 keithp
2014 + Ok, so the ChangeLog is a bit out of date
2016 + Lots of bugs fixed; most are in bugzilla, the
2017 biggest problems were in cache management where
2018 Owen discovered the library would lose badly when
2019 combining fonts-cache and ~/.fonts-cache data
2021 + Converted from autoconf to automake. This after
2022 getting patches accepted into libtool to allow
2023 the '-version-number' argument which lets
2024 packages set version numbers explicitly rather
2025 than the roundabout libtool way
2027 + Converted documentation to SGML using the docbook
2028 DTD. Now .txt and .html documents are installed
2029 in /usr/share/doc/fontconfig and there's no
2030 man page. Perhaps a man version can be written
2033 Sat Aug 31 15:21:22 PDT 2002 keithp
2034 + Xrender and Xft had several bugs related to
2035 rendering manually placed or poly-face text
2037 + Added more complete memory tracing in fontconfig
2038 Checked with (patched) mozilla and found no leaks
2040 + Updated Latin orthographies by comparing those from
2041 evertype.com with those from eki.ee. Tried to make
2042 sensible choices, including chars that occured in both
2043 and leaving some optional chars out that occured only
2046 Mon Aug 26 16:33:04 PDT 2002 keithp
2047 + Owen discovered that FcLangSetHasLang wasn't actually
2048 checking the language set.
2050 Mon Aug 26 13:37:23 PDT 2002 keithp
2051 + Append a version number to cache filenames
2053 Thu Aug 22 11:36:18 PDT 2002 keithp
2055 + Add "contains" and "not_contains" operators and elements to
2058 + Changed semantics of eq operator for LangSets to check for
2059 FcLangEqual so that any match will do
2061 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
2062 of FcValueEqual to check for identical values when inserting into
2063 the results. This broke when the above semantic change was made,
2064 now it uses FcValueEqual which is "more correct" in any case.
2066 Thu Aug 22 00:32:29 PDT 2002 keithp
2068 + Reimplement FC_LANG as new datatype. Lists of strings
2069 was consuming over a megabyte of memory for 401 fonts.
2071 + Freeze patterns loaded from cache files. This shares
2072 common value lists and common patterns which saves
2073 considerable memory.
2075 + Change the denotation of 'constant' charsets to use special
2076 ref value instead of separate boolean.
2078 + Clean up leak tracing stuff, found several unannoted alloc/free
2081 Tue Aug 20 16:17:37 PDT 2002 keithp
2083 + Fix memory leak when parsing matrices from XML
2085 Mon Aug 19 11:57:27 PDT 2002 keithp
2087 + Fix autoconf files to pass FONTCONFIG_PATH on
2088 compile line so that ${prefix} gets substituted
2091 + Use getc_unlocked/putc_unlocked on systems that
2092 provide them to avoid damage done to stdio by posix
2094 + Eliminate FC_PATTERN and FcTypePattern in favor of
2095 an extended api for FcConfigSubstitute which takes
2096 both the font and the pattern.
2098 + Add 'sans serif' alias for 'sans-serif' as some apps
2099 can't handle hyphens in family names
2101 + Eliminate pretense of support for libxml2
2103 + Comment origins of Han orthographies
2105 Tue Jul 30 18:37:09 PDT 2002 keithp
2107 + Add binding property to edit element so that strong
2108 binding values may be inserted by the config file.
2109 The default remains weak.
2111 Sun 28 Jul 04:16:55 PDT 2002 keithp
2113 + Tagged release candidate 1 in the CVS tree and
2114 placed fcpackage.rc1.tar.gz for distribution
2116 Thu Aug 1 08:55:08 PDT 2002 keithp
2118 + Fixed autoconf builds to always specify install
2119 target files (for BSD). Also fixed to
2120 define FONTCONFIG_PATH in config.h so that
2121 nonstandard installs will actually work.