1 2005-11-16 Patrick Lam <plam@mit.edu>
2 * src/fccache.c (FcDirCacheProduce)
4 Fix case where alignment bytes bumped up metadata->count
5 causing unwarranted failures to write cache files.
6 (Reported by Stephan Kulow).
8 2005-11-16 Patrick Lam <plam@mit.edu>
9 * src/fccache.c (FcDirCacheProduce):
10 * src/fccharset.c (FcCharSetDistributeBytes):
11 * src/fcfs.c (FcFontSetDistributeBytes):
13 * src/fclang.c (FcLangSetDistributeBytes):
14 * src/fcname.c (FcObjectDistributeBytes):
15 * src/fcpat.c (FcPatternNeededBytes, FcValueListNeededBytes,
18 Add *NeededBytesAlign(), which overestimates the padding which is
19 later added by the new ALIGN macro. Fix alignment problems on
20 ia64 and s390 by bumping up block_ptr appropriately. (Earlier
21 version by Andreas Schwab).
23 2005-11-16 Stephan Kulow <coolo@kde.org>
28 Use sysconf to determine proper PAGESIZE value; this
29 appears to be POSIX-compliant. (reported by Andreas Schwab)
31 2005-11-04 Patrick Lam <plam@mit.edu>
37 Fix bug 2878 (excessive relocations at startup for charsets,
38 reported by Ross Burton): fc-lang/fc-lang now creates the
39 static form of the langset, not the dynamic form, so that
40 the charsets should now be in .rodata.
42 2005-11-04 Patrick Lam <plam@mit.edu>
43 * src/fcdir.c (FcDirScanConfig):
45 Add test for validity of directory caches that
46 somehow got lost (reported by make distcheck).
48 2005-11-04 Patrick Lam <plam@mit.edu>
52 * fontconfig/fontconfig.h:
54 Bump version to 2.3.92.
56 2005-11-02 Patrick Lam <plam@mit.edu>
57 * src/fcpat.c (FcPatternDuplicate):
59 Fix argument ordering problem in call to FcPatternTransferFullFname.
61 2005-11-02 Patrick Lam <plam@mit.edu>
62 * src/fcfreetype.c (FcFreetypeQuery):
63 * src/fcpat.c (FcPatternDestroy, FcPatternDuplicate,
64 FcPatternTransferFullFname):
66 Fix warnings and embarrassing double-free error.
68 2005-11-02 Zhe Su <zsu@novell.com>
73 Change the rule for artificial emboldening in fonts.conf.in. This
74 enables the support for artificial emboldening included in cairo.
76 2005-11-02 Patrick Lam <plam@mit.edu>
77 * src/fcpat.c (FcPatternDestroy, FcPatternTransferFullName):
79 Don't zero out full names for FC_REF_CONSTANT fonts;
80 also, duplicate full names when transferring, and free
81 full names when freeing the associated font.
82 Reported by Jinghua Luo.
84 2005-11-02 Patrick Lam <plam@mit.edu>
85 * fc-cache/fc-cache.c (scanDirs):
86 * src/fcpat.c (FcValueListSerialize):
88 Revert the previous patch and commit the correct patch:
89 I forgot a canonicalization in FcValueListSerialize, so
90 that it would choke on already-serialized input files. Duh!
92 2005-11-02 Patrick Lam <plam@mit.edu>
93 * fc-cache/fc-cache.c (scanDirs):
95 Forcibly rescan a directory before writing a fresh local
96 cache file for that directory, fixing the losing-fonts
97 problem reported by Mike Fabian and also apparently the
98 font cache file corruption.
100 2005-11-02 Patrick Lam <plam@mit.edu>
101 * src/fccache.c (FcGlobalCacheLoad):
103 Fix thinko: actually, the whole global cache is stale
104 if the global cache is older than the (newest) config file.
106 2005-11-02 Patrick Lam <plam@mit.edu>
107 * src/fccache.c (FcGlobalCacheLoad):
108 * src/fccfg.c (FcConfigModifiedTime, FcConfigBuildFonts):
111 Declare the global cache of a directory's contents to be stale if
112 the directory is newer than the (newest) configuration file.
114 2005-10-31 Patrick Lam <plam@mit.edu>
116 * src/fclist.c (FcListAppend):
117 * src/fcmatch.c (FcFontRenderPrepare):
118 * src/fcpat.c (FcPatternTransferFullFname, FcPatternDuplicate,
119 FcPatternFreeze, FcPatternBaseFreeze):
121 Copy the full pathname whenever duplicating an FcPattern; otherwise,
122 applications continue breaking.
124 2005-10-31 Patrick Lam <plam@mit.edu>
125 * fc-cat/fc-cat.c (FcCacheFileRead, main):
126 * src/fcfreetype.c (FcFreeTypeQuery):
128 Fix small memory error (tried to free argv); use basename and
129 dirname correctly (they can modify their arguments).
131 2005-10-31 Patrick Lam <plam@mit.edu>
139 Reinstate basename patch, but keep a hash table linking FcPatterns
140 to their fully-qualified font names for clients' benefit. Clients
141 only pay for the font names once they request the FC_FILE property
142 from an FcPattern, but the font name is malloc'd at that point (i.e.
143 not mmapped: that's impossible, since it may vary between machines.)
144 Clients do have to pay for a copy of the path name per cache file.
146 Note that FcPatternGetString now does some rewriting if you ask
147 for an FC_FILE, appending the pathname as appropriate.
149 2005-10-31 Patrick Lam <plam@mit.edu>
150 * src/fcfreetype.c (FcFreeTypeQuery):
152 Revert basename patch, which breaks fontconfig clients on my system.
154 2005-10-25 Jinghua Luo <sunmoon1997@gmail.com>
157 * fontconfig/fonts.conf.in:
158 * fontconfig/fontconfig.h:
162 Add FC_EMBEDDED_BITMAP object type to tell Xft/Cairo whether
163 to load embedded bitmaps or not.
165 2005-10-25 Patrick Lam <plam@mit.edu>
166 * src/fcfreetype.c (FcFreeTypeQuery):
168 Only add basename to patterns' FC_FILE element, not any part of
171 2005-10-22 Patrick Lam <plam@mit.edu>
174 Add some more consts, fixing more GCC4 warnings.
176 2005-10-22 Zhe Su <zsu@novell.com>
179 Support localized font family and style names.
180 This has been reported to break old apps like xfd, but modern
181 (gtk+/qt/mozilla) apps work fine.
183 2005-10-21 Patrick Lam <plam@mit.edu>
184 * src/fccache.c (FcGlobalCacheLoad):
186 Destroy the global cache file if it's terminally broken. (reported by
189 2005-10-21 Patrick Lam <plam@mit.edu>
190 * fc-list/fc-list.c (main):
191 * src/fcname.c (FcNameUnparse, FcNameUnparseEscaped):
192 * fontconfig/fontconfig.h:
194 Prevent fc-list from escaping strings when printing them (reported by
197 2005-10-20 Marcus Meissner <meissner@suse.de>
200 * fontconfig/fontconfig.h:
202 Add valist sentinel markup for FcObjectSetBuild and FcPatternBuild.
204 2005-10-14 Ross Burton <ross@burtonini.com>
207 * fc-glyphname/fc-glyphname.c:
210 Add consts to variables so as to move arrays into .rodata.
212 2005-10-14 Mike Fabian <mfabian@suse.de>
215 * src/fccache.c (FcDirCacheUnlink):
217 Check existence of directory cache file before attempting to unlink.
219 2005-10-13 Patrick Lam <plam@mit.edu>
220 * src/fccache.c (FcDirCacheUnlink):
222 Fix flipped return value on unlink. (Reported by Mike Fabian)
224 2005-10-12 Patrick Lam <plam@mit.edu>
227 * src/fcdir.c (FcDirScanConfig):
230 When fc-cache is run without --force, use directory cache files
231 to speed up fc-cache run time. (Reported by Mike Fabian)
233 2005-10-06 Patrick Lam <plam@mit.edu>
235 * src/fcname.c (FcObjectToPtr):
236 * src/fcpat.c (FcStrStaticName):
238 Add padding to make valgrind and glibc not hate each other
239 when calling strlen().
241 2005-10-05 Simos Xenitellis <simos74@gmx.net>
242 reviewed by: plam & keithp
246 Modify config file to use Greek fonts before Asian fonts with
249 2005-10-05 Christian Biesinger <cbiesinger@web.de>
250 reviewed by: plam & keithp
254 Use libtool -no-undefined flag on all platforms.
256 2005-10-05 Patrick Lam <plam@mit.edu>
257 * src/fccache.c (FcCacheHaveBank):
259 Implement move-to-front array for banks (perf regression
260 reported by Ronny V. Vindenes).
262 2005-10-04 Patrick Lam <plam@mit.edu>
263 * src/fccache.c (FcDirCacheValid, FcDirCacheUnlink,
264 FcDirCacheHasCurrentArch):
265 * fc-cache/fc-cache.c (scanDirs):
266 * fontconfig/fontconfig.h:
268 Add new API which unlinks directory caches and checks dir caches
269 for existence of appropriate sections. Fix fc-cache to unlink
270 stale cache files and save directory caches that lack relevant
273 2005-10-03 Patrick Lam <plam@mit.edu>
274 * src/fccache.c (FcDirCacheValid):
276 Ensure that a directory cache has the appropriate section
277 before reporting that it is valid (reported by Matthias Clasen).
279 2005-09-29 Mathias Hasselmann <mathias.hasselmann@gmx.de>
287 Use libxml2 if requested (with --enable-libxml2) or if
288 expat is not available.
290 2005-09-29 Patrick Lam <plam@mit.edu>
291 * src/fccache.c (FcGlobalCacheSave, FcDirCacheWrite):
293 Fix multi-arch cache files: compute the position for the
294 block to be added using info from OrigFile, not NewFile.
296 2005-09-28 Patrick Lam <plam@mit.edu>
297 * src/fccache.c (FcCacheMachineSignature):
299 Cast results of sizeof() to unsigned int to get rid of
300 warnings on x86_64 (thanks Matthias Clasen).
302 2005-09-27 Patrick Lam <plam@mit.edu>
303 * src/fccache.c (FcGlobalCacheSave, FcCacheCopyOld,
306 Use FcAtomic to rewrite cache files.
308 2005-09-27 Patrick Lam <plam@mit.edu>
310 * src/fccache.c (FcDirCacheWrite):
312 Don't unlink the fonts.cache-2 file even if there's no data
313 to write; just write an empty cache file. (thanks Lubos Lunak)
315 2005-09-27 Patrick Lam <plam@mit.edu>
317 * src/fccache.c (FcDirCacheWrite):
319 Allocate room for the subdirectory names in each
320 directory cache. Thanks to James Cloos for finding
321 and diagnosing this bug!
323 2005-09-22 Patrick Lam <plam@mit.edu>
325 * fc-cache/fc-cache.sgml:
326 * src/fccache.c (FcDirCacheWrite):
327 * src/fccache.h (struct FcCache):
329 Update documentation -- fc-cache's man page now says that you
330 need to run fc-cache once per cached architecture; add some
331 documentation to the FcCache structure.
333 Make fc-cache write out fonts.cache-2 files for directories with
334 no fonts (i.e. only subdirectories).
336 2005-09-22 Patrick Lam <plam@mit.edu>
338 * fc-cache/fc-cache.sgml:
340 * fc-glyphname/fc-glyphname.c:
346 More GCC 4 cleanups, due to Behhad Esfahbod <behdad@beddad.org>.
351 * fontconfig/fcprivate.h:
352 * fontconfig/fontconfig.h:
366 Implement new mmaped cache for font information.
367 Bump so revision to 2.3.90.
369 2005-07-25 Keith Packard <keithp@keithp.com>
371 * doc/fontconfig-user.sgml:
372 * fc-glyphname/fc-glyphname.c: (scan), (main):
373 * fc-lang/fc-lang.c: (FcConfigHome):
374 * fc-match/fc-match.c: (main):
375 * src/fccfg.c: (FcConfigHome):
376 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
377 (FcVendorMatch), (FcFreeTypeQuery), (FcFreeTypeCharSetAndSpacing),
378 (addtag), (FcFontCapabilities):
379 * src/fcpat.c: (FcValueListEntCreate):
380 * src/fcstr.c: (FcStrCaseWalkerInit):
381 * src/fcxml.c: (FcParsePatelt), (FcConfigParseAndLoadDir):
383 Various GCC 4 cleanups for signed vs unsigned char
385 Match only [0-9]*.conf files in <include>{directory}</include>
386 elements to avoid loading *.rpmsave or .dpkg-old files. (otaylor)
388 2005-07-15 Carl Worth <cworth@cworth.org>
391 * src/fcinit.c: (FcFini):
392 * src/fcpat.c: (FcPatternFini): Rename FcPatternThawAll to
395 * src/fcpat.c: (FcObjectStaticName), (FcObjectStaticNameFini):
396 Pull the FcObjectStateName hash table out to file scope, and add
397 FcObjectStaticNameFini so that FcFini will cleanup this hash table
400 * src/fcxml.c: (FcConfigParseAndLoad): Clear FILE* to NULL after
403 2005-06-16 Patrick Lam <plam@MIT.EDU>
407 * src/fccfg.c: (FcConfigCompareValue):
408 Make FcOpNotContains use FcStrStr for strings so that
409 it matches semantics for !FcOpContains.
411 2005-05-20 Keith Packard <keithp@keithp.com>
415 Move fontconfig source package to libs as per override
417 2005-05-20 Aiet Kolkhi <aietkolkhi@gmail.com>
419 reviewed by: Mike Fabian
422 The ka.orth file requires several characters which are not
423 used anymore in modern Georgian and which are missing in the free
424 Georgian TrueType fonts downloadable at:
426 http://aiet.qartuli.net/docs/georgian_on_linux_en.php
428 2005-04-27 Keith Packard <keithp@keithp.com>
432 Update date to real 2.3.2 release date.
433 Fix change attributions
435 2005-04-27 Keith Packard <keithp@keithp.com>
438 Bump so revision for 2.3.2
439 * fc-cache/fc-cache.c: (scanDirs):
440 Fix a few minor leaks in error cases.
442 2005-04-23 Keith Packard <keithp@keithp.com>
447 * fontconfig/fontconfig.h:
448 Update for version 2.3.2
450 2005-04-21 Keith Packard <keithp@keithp.com>
452 * debian/fontconfig.postinst:
453 Don't force bitmap font enable in default
454 configuration; allows users to override this in
464 * debian/po/pt_BR.po:
465 * debian/po/templates.pot:
467 * debian/po/zh_CN.po:
470 * fc-cache/fc-cache.c: (main):
471 Destroy font configuration on exit to help valgrind
474 * src/fcfreetype.c: (FcSfntNameTranscode), (FcFreeTypeCharIndex),
475 (FcFreeTypeCheckGlyph):
476 Use own transcoding routines in preference to iconv
477 which appears to have leaks in some translators.
478 Call iconv_close after using iconv (oops).
480 Prefer unicode encoding of Euro char as some
481 fonts mis-encode Euro in other ones.
483 Must fetch bitmap glyphs to get width values
484 to check for monospace/dual-width fonts.
486 2005-04-13 Ross Burton <ross@burtonini.com>
489 Check that a pattern isn't already frozen in FcPatternFreeze.
491 2005-03-31 Ross Burton <ross@burtonini.com>
496 Run all FcPattern objects through FcObjectStaticName, so that
497 compares can be done on pointers instead of strings (#2659)
499 2005-03-17 Tor Lillqvist <tml@novell.com>
501 * src/fontconfig.def.in: Add the .dll to the dll name.
503 2005-03-10 Keith Packard <keithp@keithp.com>
505 * debian/README.Debian:
506 Update to reflect configuration changes
508 * debian/fontconfig.postinst:
509 Fix Autohint vs Autohinter mistake
510 * debian/fontconfig.templates:
511 Adopt changes from Josselin Mouette for configuration descriptions
512 Update debian to version 2.3.1-2
514 2005-03-08 Keith Packard <keithp@keithp.com>
518 Update debian for 2.3.1
520 2005-03-09 Tor Lillqvist <tml@novell.com>
522 * fontconfig-zip.in: Get the DLL from "bin" where modern libtools
525 * src/fccfg.c (FcConfigFileExists): Check also drive letter
528 2005-03-08 Keith Packard <keithp@keithp.com>
532 * fontconfig/fontconfig.h:
535 2005-03-05 Keith Packard <keithp@keithp.com>
537 * src/fcfreetype.c: (addtag), (FcFontCapabilities):
538 Include space and remove numbers from valid script tags.
539 This ensures that tags like 'lao ' work while rejecting
540 those which have any digits.
541 Eliminate a spurious debugging variable (len)
543 2005-03-05 Keith Packard <keithp@keithp.com>
545 * src/fcfreetype.c: (addtag), (GetScriptTags),
546 (FcFontCapabilities):
547 Rework GSUB/GPOS script parsing to survive broken fonts.
548 Thanks for the broken font go to Manish Singh
550 2005-03-05 Keith Packard <keithp@keithp.com>
555 * debian/fontconfig.config:
556 * debian/fontconfig.templates:
558 Include 2.3 release information in changelog
559 Add Josselin Mouette as an Uploader
560 Set hinting_type to low priority configuration option
563 * debian/fontconfig.postinst:
564 yes_bitmaps.conf -> yes-bitmaps.conf
570 2005-03-02 Keith Packard <keithp@keithp.com>
573 * conf.d/Makefile.am:
574 * conf.d/autohint.conf:
575 * conf.d/no-sub-pixel.conf:
576 * conf.d/sub-pixel.conf:
577 * conf.d/unhinted.conf:
578 * debian/autohint.conf:
579 * debian/fontconfig.install:
580 * debian/fontconfig.postinst:
581 * debian/fontconfig.templates:
582 * debian/no-sub-pixel.conf:
583 * debian/unhinted.conf:
584 Move debian-specific conf file examples upstream.
586 Sub-pixel configuration examples must smash subpixel value
587 as Xft always sets it from X.
589 Change sub-pixel rendering debconf descriptions from
590 Enable/Disable to Always/Never.
592 2005-03-02 Keith Packard <keithp@keithp.com>
597 Ignore more build detritus
600 Add debian package construction stuff.
602 * config/config.guess:
604 Update to newer versions of these tools
607 Get library manuals to build again (we love automake).
609 * debian/README.Debian:
610 * debian/autohint.conf:
615 * debian/fontconfig-udeb.install:
616 * debian/fontconfig.config:
617 * debian/fontconfig.defoma:
618 * debian/fontconfig.dirs:
619 * debian/fontconfig.install:
620 * debian/fontconfig.postinst:
621 * debian/fontconfig.postrm:
622 * debian/fontconfig.templates:
623 * debian/libfontconfig1-dev.install:
624 * debian/libfontconfig1.install:
625 * debian/local.conf.md5sum:
626 * debian/no-sub-pixel.conf:
627 * debian/po/POTFILES.in:
636 * debian/po/pt_BR.po:
637 * debian/po/templates.pot:
639 * debian/po/zh_CN.po:
641 * debian/unhinted.conf:
642 Update debian build system to switch maintainers and
643 deal with 2.3 functionality
645 2005-03-01 Keith Packard <keithp@keithp.com>
649 * fontconfig/fontconfig.h:
652 2005-03-01 Keith Packard <keithp@keithp.com>
655 Generate and install PDF versions of the manuals
657 * doc/fcpattern.fncs:
661 Add missing exported functions, fix data types
663 * doc/fontconfig-devel.sgml:
664 Add missing pattern elements.
666 * doc/fontconfig-user.sgml:
667 Add missing pattern elements. Document conf.d usage,
668 clarify available orthography list. Fix some config file
669 attributes. Complete list of constants.
671 * fontconfig/fontconfig.h:
672 Mark FC_SOURCE deprecated.
674 * src/fcfreetype.c: (FcFreeTypeQuery):
675 Don't set FC_SOURCE any longer.
677 2005-02-28 Keith Packard <keithp@keithp.com>
680 * conf.d/Makefile.am:
682 * conf.d/no-bitmaps.conf:
683 * conf.d/sub-pixel.conf:
684 * conf.d/yes-bitmaps.conf:
686 Create prototype /etc/fonts/conf.d directory with a few
687 sample configuration files.
688 Deprecate use of local.conf for local customizations in favor of
689 this directory based scheme which is more easily integrated into
690 installation systems.
693 Tag FC_EMBOLDEN as a boolean variable
695 2005-02-10 Keith Packard <keithp@keithp.com>
697 reviewed by: pborelli@katamail.com
699 * src/fcdir.c: (FcFileScanConfig):
700 Free patterns from fonts which are rejected by configuration
703 2005-01-28 Keith Packard <keithp@keithp.com>
707 * fontconfig/fontconfig.h:
708 Update for version 2.2.99
710 2005-01-28 Keith Packard <keithp@keithp.com>
713 Add a few pointers (#2284, #2285)
715 2005-01-28 Keith Packard <keithp@keithp.com>
718 * src/fcname.c: (FcNameBool):
719 * src/fcxml.c: (FcTypeName), (FcTypecheckValue), (FcTypecheckExpr),
720 (FcTestCreate), (FcEditCreate), (FcConfigLexBool), (FcParseBool),
721 (FcParseAlias), (FcParseInclude), (FcParseTest), (FcParseEdit):
722 Polite typechecking for test and edit expressions. Helps
723 catch errors in the font configuration. (bug 229)
725 2005-01-15 Alan Coopersmith <alan.coopersmith@sun.com>
727 reviewed by: Keith Packard <keithp@keithp.com>
730 Have --with-expat set EXPAT_CFLAGS (bug 2278)
732 2005-01-13 Keith Packard <keithp@keithp.com>
734 * doc/fontconfig-user.sgml:
735 Add SEE ALSO section (bug 2085)
737 2005-01-13 J. Ali Harlow <ali@juiblex.co.uk>
739 reviewed by: Keith Packard <keithp@keithp.com>
744 * fc-case/Makefile.am:
745 * fc-glyphname/Makefile.am:
746 * fc-lang/Makefile.am:
747 * src/fontconfig.def.in:
748 Cross compiling fixes (bug 280)
750 2005-01-13 Keith Packard <keithp@keithp.com>
753 Update blanks list (Closes bug 86)
755 2005-01-04 Keith Packard <keithp@keithp.com>
757 * src/fccache.c: (FcCacheFontSetAdd):
758 Verify that every font pattern loaded from cache has
759 both FC_FILE and FC_FAMILY entries.
760 Attempt to fix bug #2219.
762 2004-12-29 Keith Packard <keithp@keithp.com>
766 * fontconfig/fontconfig.h:
767 Update for version 2.2.98
769 2004-12-29 Keith Packard <keithp@keithp.com>
771 * fontconfig/fontconfig.h:
772 Document ASCII limitations of Fc character conversion macros
773 * src/fcstr.c: (FcStrCaseWalkerLong), (FcStrDowncase):
774 Fix off-by-one error in utf-8 case walking code.
775 Add FcStrDowncase (useful for testing case conversion functions)
777 2004-12-29 Keith Packard <keithp@keithp.com>
780 * fc-case/.cvsignore:
781 clean up CVS ignore lists
782 * fc-lang/iso-3166.txt:
783 Add territory database
785 2004-12-29 Tor Andersson <tor.andersson@gmail.com>
787 Reviewed by: Keith Packard
790 Remove Han characters from Korean orthography
792 2004-12-29 Keith Packard <keithp@keithp.com>
795 Reorder utility programs to make sure fc-case is run before fc-lang
796 as fc-lang uses fcstr.c which uses fccase.h
800 2004-12-29 Keith Packard <keithp@keithp.com>
803 Adopt some RedHat suggestions for standard font configuration.
807 * fc-case/CaseFolding.txt:
808 * fc-case/Makefile.am:
809 * fc-case/fc-case.c: (panic), (addFold), (ucs4_to_utf8),
810 (utf8_size), (addChar), (foldExtends), (case_fold_method_name),
811 (dump), (parseRaw), (caseFoldReadRaw), (main):
812 * fc-case/fccase.tmpl.h:
813 Add new helper program 'fc-case' to construct case folding
814 tables from standard Unicode CaseFolding.txt file
817 * src/fclist.c: (FcListValueHash):
818 * src/fcstr.c: (FcStrCaseWalkerInit), (FcStrCaseWalkerLong),
819 (FcStrCaseWalkerNext), (FcStrCaseWalkerNextIgnoreBlanks),
820 (FcStrCmpIgnoreCase), (FcStrCmpIgnoreBlanksAndCase),
821 (FcStrHashIgnoreCase), (FcStrIsAtIgnoreBlanksAndCase),
822 (FcStrIsAtIgnoreCase), (FcStrStrIgnoreCase):
823 Re-implement case insensitive functions with Unicode
824 aware versions (including full case folding mappings)
826 2004-12-13 Keith Packard <keithp@keithp.com>
828 reviewed by: Owen Taylor <otaylor@redhat.com>
830 * src/fcmatch.c: (FcFontSetSort):
831 I changed FcFontSetSort to respect the generic aliases better
832 in the face of language matching.
834 What I did was to ammend the strict sort order used by FcFontSort so
835 that it 'satisfies' the language specified in the pattern by locating
836 the best matching font supporting each pattern language and then
837 ignores language in the remaining fonts for purposes of matching.
839 So, when asking for 'sans:lang=en', you'll get an English font first,
840 and then the remaining fonts sorted with respect to the 'sans' alias
841 alone -- pushing Kochi fonts ahead of other English-supporting Han fonts.
843 2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
845 reviewed by: Keith Packard <keithp@keithp.com>
847 * fontconfig/fontconfig.h:
850 Configuration changes to request synthetic emboldening of
851 fonts. The actual emboldening code will live in Xft.
853 2004-12-09 John Thacker <thacker@math.cornell.edu>
855 reviewed by: Keith Packard <keithp@keithp.com>
859 Currently Russian (ru) requires 0406 and 0456 (І and і), but these
860 were eliminated in Russian in 1918 in favor of 0418 and 0438 (И and
861 и), and don't even appear in KOI8-R. (The hypothesis that they
862 don't appear in KOI8-R due to their similarity with Latin I and i is
863 eliminated by their presence in KOI8-U.) I have a couple of fonts
864 with Russian support that don't have the letter.
866 Therefore, 0406 and 0456 should be removed from or commented out of
869 2004-12-06 michael meeks <mmeeks@novell.com>
871 Reviewed by: Keith Packard <keithp@keithp.com>
873 * src/fcinit.c: (FcMemReport):
875 * src/fclist.c: (FcObjectSetAdd):
876 * src/fcpat.c: (FcValueListEntCreate), (FcPatternBaseFreeze),
877 (FcPatternInsertElt), (FcPatternEqual), (FcObjectStaticName):
878 * src/fcxml.c: (FcParsePatelt):
879 memoize strings and share a single copy for all uses. Note that
880 this could be improved further by using statically allocated blocks
881 and gluing multiple strings together, but I'm basically lazy.
882 In my environment with 800 font files, I get a savings of about 90KB.
884 2004-12-06 Keith Packard <keithp@keithp.com>
888 * config/Makedefs.in:
893 * doc/fccharset.fncs:
895 * doc/fcconstant.fncs:
897 * doc/fcfontset.fncs:
898 * doc/fcfreetype.fncs:
901 * doc/fcobjectset.fncs:
902 * doc/fcobjecttype.fncs:
903 * doc/fcpattern.fncs:
907 * doc/fontconfig-devel.sgml:
908 * doc/fontconfig-user.sgml:
910 * doc/version.sgml.in:
911 * fc-cache/Makefile.am:
912 * fc-cache/fc-cache.c:
913 * fc-glyphname/Makefile.am:
914 * fc-glyphname/fc-glyphname.c:
915 * fc-glyphname/fcglyphname.tmpl.h:
916 * fc-lang/Makefile.am:
926 * fc-lang/az_ir.orth:
961 * fc-lang/fc-lang.man:
962 * fc-lang/fclang.tmpl.h:
1007 * fc-lang/ku_ir.orth:
1040 * fc-lang/ps_af.orth:
1041 * fc-lang/ps_pk.orth:
1070 * fc-lang/ti_er.orth:
1071 * fc-lang/ti_et.orth:
1097 * fc-lang/zh_cn.orth:
1098 * fc-lang/zh_hk.orth:
1099 * fc-lang/zh_mo.orth:
1100 * fc-lang/zh_sg.orth:
1101 * fc-lang/zh_tw.orth:
1103 * fc-list/Makefile.am:
1104 * fc-list/fc-list.c:
1105 * fc-match/Makefile.am:
1106 * fc-match/fc-match.1:
1107 * fc-match/fc-match.c:
1108 * fontconfig/fcfreetype.h:
1109 * fontconfig/fcprivate.h:
1110 * fontconfig/fontconfig.h:
1131 Change files from ISO-Latin-1 to UTF-8
1133 2004-12-04 Keith Packard <keithp@keithp.com>
1136 Update links to new freedesktop.org locations
1138 Add uninstall-local to get rid of fonts.conf and local.conf if they
1139 match the distributed versions. Fixes 'make distcheck'
1141 2004-12-04 Keith Packard <keithp@keithp.com>
1145 * fontconfig/fontconfig.h:
1146 Updates for version 2.2.97
1148 2004-12-04 Owen Taylor <otaylor@redhat.com>
1150 reviewed by: Keith Packard <keithp@keithp.com>
1152 * fc-cache/fc-cache.c: (main):
1153 Sleep for two seconds before exiting to make sure timestamps
1154 for future changes have distinct mod times in the file system.
1157 Add Punjabi orthography. Bug #1671.
1159 2004-12-04 Keith Packard <keithp@keithp.com>
1162 Just remove the FC_FONTDATE -- it has locale issues and
1163 annoys redhat multi-arch installs. Now that all X fonts are
1164 included without prejudice, the chances of the date being at
1165 all interesting are rather limited. Bug #505.
1167 Add copyright and license
1169 2004-12-04 Keith Packard <keithp@keithp.com>
1172 Change default set of fonts to include all of
1173 /usr/X11R6/lib/X11/fonts (or wherever the X fonts are located).
1174 * doc/fontconfig-user.sgml:
1175 Document new <include>directory-name</include> semantics
1177 add <include ignore_missing="yes">conf.d</include>
1179 Add selectfont to ignore bitmap fonts, add comment for
1180 selectfont which accepts bitmap fonts.
1183 * src/fcxml.c: (FcConfigParseAndLoadDir), (FcConfigParseAndLoad):
1184 Allow <include> configuration elements to reference directories.
1185 Parse and load all files of the form [0-9]* in sorted order.
1187 2004-12-04 Keith Packard <keithp@keithp.com>
1190 Report command line for $srcdir/configure accurately.
1193 2004-12-04 Keith Packard <keithp@keithp.com>
1195 * src/fcfreetype.c: (FcFreeTypeQuery):
1196 Check for non-empty face->family_name and face->style_name
1197 before using those for the font. Empty names match everything.
1200 2004-12-04 Keith Packard <keithp@keithp.com>
1203 * fontconfig/fontconfig.h:
1204 * src/fcfreetype.c: (FcFreeTypeQuery):
1206 Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where
1207 available. This provides font file format information (BDF, Type 1,
1208 PCF, TrueType) for each font. Closes #109.
1210 2004-12-04 Daniel Glassey <danglassey@ntlworld.com>
1212 reviewed by: Keith Packard <keithp@keithp.com>
1214 * doc/fontconfig-user.sgml:
1217 * fontconfig/fontconfig.h:
1218 * src/fcfreetype.c: (FcFreeTypeQuery), (addtag), (compareulong),
1219 (GetScriptTags), (FcFontCapabilities):
1221 Add detection for font capabilities (bug #105)
1223 2004-12-04 Keith Packard <keithp@keithp.com>
1226 Move existing fonts.conf to fonts.conf.bak
1229 Add detection of iconv
1231 * doc/fcpattern.fncs:
1232 * doc/fontconfig-devel.sgml:
1233 * doc/fontconfig-user.sgml:
1235 Document new selectfont elements
1238 Switch to UTF-8 in comment
1240 * fontconfig/fontconfig.h:
1242 Add fullname, and family/style/fullname language entries
1244 * src/fccache.c: (FcCacheFontSetAdd):
1245 * src/fcdir.c: (FcFileScanConfig):
1246 Respect selectfont/*/glob
1249 * src/fccfg.c: (FcConfigCreate), (FcConfigDestroy),
1250 (FcConfigCompareValue), (FcConfigPatternsAdd),
1251 (FcConfigPatternsMatch), (FcConfigAcceptFont):
1252 * src/fcxml.c: (FcElementMap), (FcVStackDestroy),
1253 (FcVStackPushPattern), (FcPopExpr), (FcParseAcceptRejectFont),
1254 (FcPopValue), (FcParsePatelt), (FcParsePattern), (FcEndElement):
1255 Add support for selectfont
1257 * src/fcfreetype.c: (FcSfntNameTranscode), (FcSfntNameLanguage),
1258 (FcStringInPatternElement), (FcFreeTypeQuery):
1259 Add multi-lingual family/style/fullname support
1261 * src/fclist.c: (FcListPatternMatchAny):
1262 Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
1264 * src/fcpat.c: (FcPatternRemove), (FcPatternAppend),
1265 (FcObjectStaticName):
1266 Add new FcPatternRemove/FcPatternAppend.
1267 FcObjectStaticName stores computed pattern element names which
1268 are required to be static.
1270 2004-09-09 "NAKAMURA Ken'ichi" <nakamura@sbp.fp.a.u-tokyo.ac.jp>
1275 Remove spurious / after $(DESTDIR)
1277 2004-06-30 Keith Packard <keithp@keithp.com>
1281 * fontconfig/fontconfig.h:
1284 2004-06-30 Keith Packard <keithp@keithp.com>
1286 Provided by: Lubos Lunak <l.lunak@suse.cz>
1288 * src/fccfg.c: (FcConfigUptoDate):
1289 However FcConfigUptoDate() doesn't seem to work. See the attached
1290 patch. First there's an obvious misplaced parenthesis making it
1291 return always false, and second, even this call fails to detect font
1292 changes (e.g. adding a new font to
1293 /usr/X11R6/lib/X11/fonts/truetype). The patch should fix that as
1294 well. The problem seems to be triggered by my fonts.conf specifying
1295 only /usr/X11R6/lib/X11/fonts , and therefore config->configDirs
1296 doesn't include subdirs, unlike config->fontDirs.
1298 2004-06-03 Keith Packard <keithp@keithp.com>
1300 * fontconfig/fontconfig.h:
1301 Remove comma at end of FcResult enum definition.
1303 2004-05-29 Keith Packard <keithp@keithp.com>
1306 Add steps to md5sum release
1308 2004-05-29 Keith Packard <keithp@keithp.com>
1312 * fontconfig/fontconfig.h:
1315 2004-05-29 Keith Packard <keithp@keithp.com>
1317 * fontconfig/fontconfig.h:
1318 * src/fcmatch.c: (FcFontSetMatch):
1319 Add FcResultOutOfMemory to provide an accurate error when
1320 FcFontSetMatch fails in this way
1323 Make #warning about lacking various FreeType features indicate
1324 which version those features appeared so users know how to
1325 fix the problem (Thanks to Anton Tropashko)
1327 2004-05-05 Keith Packard <keithp@keithp.com>
1329 * src/fcfreetype.c: (FcFreeTypeCharSetAndSpacing):
1330 Replace MIN/MAX/ABS macros which happen to have come
1331 from FreeType with fontconfig-specific ones (FC_*)
1333 2004-04-23 Keith Packard <keithp@keithp.com>
1336 Extend release preparation instructions to include
1337 notification and distribution steps
1339 2004-04-23 Keith Packard <keithp@keithp.com>
1343 * fontconfig/fontconfig.h:
1344 Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
1346 2004-04-23 Keith Packard <keithp@keithp.com>
1349 Ignore a few more autotool files
1351 2004-04-14 Keith Packard <keithp@keithp.com>
1354 Add instructions for doing a release
1356 * fontconfig.spec.in:
1357 clean up .spec file; perhaps this will be useful to somebody...
1361 * fontconfig/fontconfig.h:
1364 * fc-lang/fc-lang.c:
1365 Make 'scanopen' static so GCC doesn't whine about lacking prototype
1367 * fc-glyphname/Makefile.am:
1368 * fc-lang/Makefile.am:
1369 * fc-list/Makefile.am:
1370 * fc-match/Makefile.am:
1372 Add WARN_CFLAGS to pass -W flags for GCC systems
1374 * src/fcfreetype.c: (FcNoticeFoundry), (FcVendorMatch),
1375 (FcVendorFoundry), (FcGetPixelSize), (FcFreeTypeQuery):
1376 Change various char types around to match across
1378 Fixed bug in using available_sizes[i].height which
1379 is in pixels, not 64ths of a pixel.
1381 2004-03-06 Keith Packard <keithp@keithp.com>
1383 * src/fcfreetype.c: (FcFreeTypeQuery):
1384 Force FC_FOUNDRY and FC_WIDTH to always be set so that
1385 matches looking for explicit values prefer exact matches
1387 2004-03-02 Keith Packard <keithp@keithp.com>
1389 Supplied by: mfabian@suse.de (Mike FABIAN)
1391 * src/fcfreetype.c: (FcFreeTypeQuery):
1392 Bug #260 fc-cache generates wrong spacing values for bitmap fonts
1393 Was using (strcmp (a,b)) instead of (!strcmp(a,b)).
1395 2004-02-21 Manish Singh <yosh@gimp.org>
1397 * fc-glyphname/fc-glyphname.c: (main):
1398 Cast strlen to int for printf, so we're 64-bit clean.
1400 2004-02-11 Keith Packard <keithp@keithp.com>
1403 * src/fcfreetype.c: (FcGetPixelSize):
1404 Ok, so I messed up the test for y_ppem. Let's see if I
1405 got it right this time.
1407 2004-02-10 Keith Packard <keithp@keithp.com>
1410 * src/fcfreetype.c: (FcGetPixelSize):
1411 Pre-2.1.5 versions of FreeType didn't include y_ppem in the
1412 FT_Bitmap_Size record. Add a configure.in test for this
1413 and change the code accordingly (using height instead).
1415 2004-02-06 Keith Packard <keithp@keithp.com>
1418 Add Low Saxon orthography
1419 (Kenneth Rohde Christiansen <kenneth@gnu.org>)
1421 * src/fccfg.c: (FcConfigNewestFile):
1422 Oops. Left 'newest.set' unset, which would miscompute
1425 * src/fcfreetype.c: (FcGetPixelSize), (FcFreeTypeQuery),
1426 (FcFreeTypeCheckGlyph):
1427 Add FcGetPixelSize to extract correct pixel size from bdf/pcf
1428 font properties (which report the wrong value in current FreeType)
1430 Don't attempt to check for empty glyphs in non-scalable fonts; they
1433 2004-02-01 Tor Lillqvist <tml@iki.fi>
1435 * src/fccfg.c (FcConfigCreate): fontconfig, at least as used by
1436 GIMP and/or PangoFT2 on Windows, crashes when trying to save the
1437 cache if config->cache is NULL, which happens if FcConfigHome() is
1438 NULL. Guard against that by using the temp folder in that case.
1440 2004-01-03 Roozbeh Pournader <roozbeh@sharif.edu>
1442 * fc-lang/az_ir.orth:
1443 * fc-lang/ku_ir.orth:
1444 * fc-lang/ps_af.orth:
1445 * fc-lang/ps_pk.orth:
1446 Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto
1447 (Afghan and Pakistani).
1449 Updated Urdu orthography with real data.
1451 2003-12-11 Carl Worth <cworth@east.isi.edu>
1453 * fc-list/Makefile.am (man_MANS): Move man_MANS into the 'if
1456 * fc-cache/Makefile.am (man_MANS): Move man_MANS into the 'if
1458 (all-local): Remove excessive whitespace.
1460 * autogen.sh: Add 'set -e' to abort when any program fails,
1461 (avoids printing of 'now type make' after configure aborts).
1463 2003-11-17 Eric Christopherson <rakko@charter.net>
1465 reviewed by: Keith Packard <keithp@keithp.com>
1468 * fontconfig/fcfreetype.h:
1470 Switch to FreeType 2.1.7 style includes. Bug #150.
1472 2003-11-16 Noah Levitt <nlevitt@columbia.edu>
1474 * fc-list/fc-list.sgml: Add some example usages.
1476 2003-11-10 Roozbeh Pournader <roozbeh@sharif.edu>
1479 Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
1482 2003-10-27 Keith Packard <keith@keithp.com>
1485 * fontconfig/fontconfig.h:
1486 Update to version 2.2.92
1488 2003-10-27 Keith Packard <keithp@keithp.com>
1493 * fc-cache/Makefile.am:
1494 * fc-glyphname/Makefile.am:
1495 * fc-lang/Makefile.am:
1496 * fc-list/Makefile.am:
1497 * fc-match/Makefile.am:
1500 Yet more cleanups to finish getting 'make distcheck' working
1501 This has been tested to ensure that it even works from a _build
1504 2003-10-26 Keith Packard <keithp@keithp.com>
1508 * fc-cache/Makefile.am:
1509 * fc-glyphname/Makefile.am:
1510 * fc-lang/Makefile.am:
1511 * fc-lang/fc-lang.c: (scanopen), (scan), (main):
1512 * fc-list/Makefile.am:
1513 * fc-match/Makefile.am:
1514 Attempts to fix 'make distcheck' work. Things are
1515 progressing pretty well, but there are still failures
1516 long into the process dealing with docs (as always).
1518 The big changes here are mostly to make $(srcdir) != "."
1519 work correctly, fixing the docbook related sections and
1520 fc-lang were particularily tricky. Docbook refuses to load
1521 system entities from anywhere other than where the original .sgml
1522 file was located, so no luck looking in "." for the
1523 configure-generated version.sgml and confdir.sgml files.
1525 fc-lang needed help finding .orth files; added a -d option
1526 to set the directory as the least evil of many options.
1528 Now to go use a faster machine and try and wring out the last
1531 2003-10-26 Keith Packard <keithp@keithp.com>
1535 2003-10-26 Keith Packard <keithp@keithp.com>
1538 Include confdir.sgml.in in EXTRA_DIST
1540 2003-10-09 Josselin Mouette <joss@debian.org>
1542 * fc-cache/fc-cache.sgml fc-cache/Makefile.am:
1543 * fc-list/fc-list.sgml fc-list/Makefile.am:
1544 Replace fc-cache and fc-list manpages with more detailed, SGML
1547 2003-09-23 Owen Taylor <otaylor@redhat.com>
1549 * fontconfig/fontconfig.h src/fcdefault.c (FcDefaultSubstitute)
1550 src/fcname.c: Add a FC_HINT_STYLE key for patterns, with
1551 possible values HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL.
1554 2003-09-23 Owen Taylor <otaylor@redhat.com>
1556 * fc-lang/ka.orth: Remove Georgian capitals, they
1557 aren't used for normal writing. (Bug #116)
1559 2003-09-06 Noah Levitt <nlevitt@columbia.edu>
1561 * doc/fontconfig-devel.sgml:
1562 * doc/fontconfig-user.sgml:
1563 * fontconfig/fontconfig.h:
1565 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): Add new spacing
1566 value FC_DUAL (dual-width, as some CJK fonts). (bug #111)
1568 * src/fcfreetype.c (FcFreeTypeCharSetAndSpacing): When checking for
1569 monospace and dual-width fonts, allow roughly a 3% variance in the
1572 2003-08-31 Manish Singh <yosh@gimp.org>
1574 * src/fccfg.c (FcConfigAppFontClear): Support passing NULL to
1577 2003-08-15 Carl Worth <cworth@isi.edu>
1579 * src/fcxml.c (FcEditDestroy): Fix leak of FcEdit.
1580 (FcPopExpr): Add comment about unhandled FcVStackGlob case.
1582 * src/fcpat.c (FcValueListEntDestroy): New function to support
1583 FcFini memory cleanup. Some statistics are not kept in
1585 (FcValueListFreeze): Move hashTable outside this function so it
1586 can be accessed by FcValueListThawAll.
1587 (FcValueListThawAll): New function complements FcValueListFreeze.
1588 (FcPatternBaseFreeze): Move hashTable outside this function so it
1589 can be accessed by FcPatternBaseThawAll.
1590 (FcPatternBaseThawAll): New function complements
1591 FcPatternBaseFreeze.
1592 (FcPatternThawAll): New function complements FcPatternFreeze.
1594 * src/fcinit.c (FcFini): Add new FcFini to cleanup everything.
1596 * src/fccharset.c (FcCharLeafEntCreate): Save pointers to all
1597 allocated FcCharLeafEnt "blocks" so they can be freed later.
1598 (FcCharSetFreezeLeaf): Move hashTable outside this function so it
1599 can be accessed by FcCharSetThawAllLeaf.
1600 (FcCharSetThawAllLeaf): New function complements FcCharSetFreezeLeaf.
1601 (FcCharSetFreezeBase): Move hashTable outside this function so it
1602 can be accessed by FcCharSetThawAll.
1603 (FcCharSetThawAll): New function complements FcCharSetFreeze.
1605 * src/fccfg.c (FcSubstDestroy): Fix leak of outer FcSubst.
1606 (FcConfigDestroy): Fic leak of FcBlanks.
1608 * fc-list/fc-list.c (main): Fix leak of FcObjectSet.
1609 (main): Add call to FcFini when finished.
1611 * fc-glyphname/fc-glyphname.c: Mark several local functions as
1612 static. Add prototypes.
1614 * doc/fcinit.fncs: Add documentation for FcFini function.
1616 * doc/edit-sgml.c: Mark several local functions as static. Add
1619 * doc/Makefile.am (DOC_MODULE): Fix "suspicious" lines.
1621 2003-06-15 Tor Lillqvist <tml@iki.fi>
1623 * test/run-test.sh (FONTCONFIG_FILE): Remove CRs from the out file
1624 before comparing (needed on Windows).
1626 * src/Makefile.am (install-libtool-import-lib): Fix cut&paste error.
1628 2003-06-13 Tor Lillqvist <tml@iki.fi>
1630 * fontconfig-zip.in (DEVZIP): Add share/doc directory. Add Fc*.3
1633 * configure.in: Set FC_DEFAULT_FONTS on Win32 to the
1634 WINDOWSFONTDIR token.
1636 * src/fontconfig.def.in: Move the LIBRARY and VERSION lines to the
1637 end, not to confuse libtool, which expects the EXPORTS line to be
1638 the first. Add FcConfigEnableHome.
1640 * src/fccfg.c: Check also for DLL_EXPORT as indication of being
1641 built as a DLL on Win32.
1643 2003-06-09 Keith Packard <keithp@keithp.com>
1645 * Tag version 2.2.90
1647 2003-06-09 Keith Packard <keithp@keithp.com>
1649 * Optimization in FcLangSetIndex was broken, occasionally
1650 returning a pointer to the wrong location on miss
1652 * Add fc-match to test font matching from the command line.
1654 2003-05-31 Keith Packard <keithp@keithp.com>
1656 * (Bug 85) add support for culmus fonts
1657 * (Bug 87) Automake 1.4 doesn't do man_MAN1 correctly
1658 * (Bug 88) Fix usage info on non-long option systems (Tim Mooney)
1660 2003-05-28 James Su <suzhe@turbolinux.com.cn>
1662 * Fix "contains" op for strings and langsets.
1664 2003-05-17 Keith Packard <keithp@keithp.com>
1666 * Fix build error with BDF prop local. Free langset after query
1668 2003-05-14 Keith Packard <keithp@keithp.com>
1670 * Extract spacing from XLFD atom
1672 2003-05-12 Juliusz Chroboczek <jch@pps.jussieu.fr>
1674 * Reinstate SETWIDTH_NAME parsing for legacy fonts,
1675 disappeared in 1.30.
1677 * Generate FC_SIZE and FC_DPI for legacy bitmap fonts
1679 2003-05-12 Keith Packard <keithp@keithp.com>
1681 * Use FcIsWidth to share code
1683 * Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
1684 misclassifying some Han fonts as monospaced.
1686 2003-05-07 Keith Packard <keithp@keithp.com>
1688 * Add filename-based accept/reject to ammend available fonts.
1690 * Change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for
1691 older FreeType releases.
1693 2003-05-06 Keith Packard <keithp@keithp.com>
1695 * Remove 0b82 and Tamil numbers from tamil
1696 orthography (Jungshik Shin <jshin@mailaps.org>)
1698 2003-05-04 Keith Packard <keithp@keithp.com>
1700 + Map glyph names in fonts with adobe custom encoding to unicode
1702 2003-05-02 Keith Packard <keithp@keithp.com>
1704 * Add FC_WEIGHT_BOOK as weight 75
1706 2003-04-30 Keith Packard <keithp@keithp.com>
1708 * Typo in bitstream foundry name
1710 2003-04-24 Keith Packard <keithp@keithp.com>
1712 * Eliminate italic_angle check for PS fonts
1714 2003-04-23 Noah Levitt <nlevitt@columbia.edu>
1716 * Getting closer to fixing /etc/fonts hard-coding.
1718 2003-04-22 Keith Packard <keithp@keithp.com>
1720 * Update autogen.sh to work with newer automake versions
1721 * Handle pattern elements moving during multiple edits
1723 2003-04-23 James Henstridge <james@daa.com.au>
1725 * doc/fontconfig-devel.sgml: close the <para> element.
1727 * doc/fcpattern.fncs: close the <para> element.
1729 * doc/func.sgml: close the <refsynopsisdiv> element.
1731 2003-04-22 Keith Packard <keithp@keithp.com
1733 * Update autogen.sh to work with newer automake versions
1734 * Handle pattern elements moving during multiple edits
1736 2003-04-17 Colin Walters <walters@debian.org>
1738 + Remove some unused variables, and initialize some other ones so
1739 gcc doesn't warn us.
1741 2003-04-16 Keith Packard <keithp@keithp.com>
1743 + tag version 2.1.94
1745 2003-04-16 Keith Packard <keithp@keithp.com>
1747 + add BDF property fetching support for foundry
1748 (from Juliusz Chroboczek)
1749 + add BDF property fetching support for width
1751 2003-04-11 Juliusz Chroboczek <jch@pps.jussieu.fr>
1753 + Implemented foundry generation for Type 1 and TrueType
1755 2003-04-11 Gerard Escalante <g2@magestudios.net>
1757 + Retrieve information from Type1 FontInfo dictionaries
1759 2003-04-07 Colin Walters <walters@verbum.org>
1761 + src/Makefile.am: Fix dummy makefile target names when
1762 MS_LIB_AVAILABLE isn't set.
1764 2003-03-22 Tor Lillqvist <tml@iki.fi>
1766 Changes for Windows:
1768 + On Windows with gcc (a.k.a. mingw) build as a DLL.
1770 + We don't want to hardcode the fonts.conf file location in the
1771 DLL, so we look up the DLL location at run-time in a DllMain()
1772 function. The fonts.conf location is deduced from that.
1774 + The colon can't be used as path separator on Windows,
1775 semicolon is used instead. File path components can be separated
1776 with either slash or backslash. Absolute paths can also begin
1777 with a drive letter.
1779 + Add internal function FcStrLastSlash that strrchr's the last
1780 slash, or backslash on Windows.
1782 + There is no link() on Windows. For atomicity checks, mkdir a
1783 lock directory instead.
1785 + In addition to HOME, also look for USERPROFILE.
1787 + Recognize the special font directory token WINDOWSFONTDIR, to
1788 use the system's font directory.
1790 + Remove the fontconfig-def.cpp that was obsolete. Add
1791 fontconfig.def(.in), without internal functions.
1793 + Add a fontconfig-zip(.in) script, used to build a binary
1796 Fri Mar 7 07:55:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1797 + RPM specfile cleanups for 2.1.92: Removed man1/* and added man5/*
1798 to main package and man3/* to devel package
1800 + Added missing defattr(-, root, root) to main RPM package
1802 + Added HTML and text development documentation to -devel subpackage
1804 Wed Mar 5 05:08:00 EST 2003 Mike A. Harris <mharris@redhat.com>
1805 + Added back the configure macro options --disable-docs, otherwise
1806 fontconfig installs docs into /usr/share/doc/fontconfig (with no
1807 version number) unconditionally, causing RPM to fail the build due
1808 to _unpackaged_files_terminate_build. We pick up the pregenerated
1809 docs with %doc already.
1811 Wed Mar 5 04:26:20 EST 2003 Mike A. Harris <mharris@redhat.com>
1812 + Removed commented out rpm macro define at top of spec file,
1813 replacing it with a simple explanation, since rpm macros are
1814 expanded by rpm even in comments.
1816 + Changed /usr/bin to _bindir in BuildRequires lines
1818 + Cleaned up rpm postinstall script, and made fc-cache use _bindir
1820 + Reorganized file manifest lists
1822 Sun Mar 2 14:16:17 EST 2003 Owen Taylor <otaylor@redhat.com>
1824 + fontconfig.spec.in: Improvements from Red Hat spec file.
1826 + {fc-lang,fc-cache,fc-list}/Makefile.am: Add man pages.
1828 + docs/*.sgml: SGML fixes.
1830 Sat Mar 1 17:28:53 PST 2003 keithp
1831 + Ok, so the ChangeLog is a bit out of date
1833 + Lots of bugs fixed; most are in bugzilla, the
1834 biggest problems were in cache management where
1835 Owen discovered the library would lose badly when
1836 combining fonts-cache and ~/.fonts-cache data
1838 + Converted from autoconf to automake. This after
1839 getting patches accepted into libtool to allow
1840 the '-version-number' argument which lets
1841 packages set version numbers explicitly rather
1842 than the roundabout libtool way
1844 + Converted documentation to SGML using the docbook
1845 DTD. Now .txt and .html documents are installed
1846 in /usr/share/doc/fontconfig and there's no
1847 man page. Perhaps a man version can be written
1850 Sat Aug 31 15:21:22 PDT 2002 keithp
1851 + Xrender and Xft had several bugs related to
1852 rendering manually placed or poly-face text
1854 + Added more complete memory tracing in fontconfig
1855 Checked with (patched) mozilla and found no leaks
1857 + Updated Latin orthographies by comparing those from
1858 evertype.com with those from eki.ee. Tried to make
1859 sensible choices, including chars that occured in both
1860 and leaving some optional chars out that occured only
1863 Mon Aug 26 16:33:04 PDT 2002 keithp
1864 + Owen discovered that FcLangSetHasLang wasn't actually
1865 checking the language set.
1867 Mon Aug 26 13:37:23 PDT 2002 keithp
1868 + Append a version number to cache filenames
1870 Thu Aug 22 11:36:18 PDT 2002 keithp
1872 + Add "contains" and "not_contains" operators and elements to
1875 + Changed semantics of eq operator for LangSets to check for
1876 FcLangEqual so that any match will do
1878 + FcFontList was using FcConfigCompareValue (...FcOpEqual) instead
1879 of FcValueEqual to check for identical values when inserting into
1880 the results. This broke when the above semantic change was made,
1881 now it uses FcValueEqual which is "more correct" in any case.
1883 Thu Aug 22 00:32:29 PDT 2002 keithp
1885 + Reimplement FC_LANG as new datatype. Lists of strings
1886 was consuming over a megabyte of memory for 401 fonts.
1888 + Freeze patterns loaded from cache files. This shares
1889 common value lists and common patterns which saves
1890 considerable memory.
1892 + Change the denotation of 'constant' charsets to use special
1893 ref value instead of separate boolean.
1895 + Clean up leak tracing stuff, found several unannoted alloc/free
1898 Tue Aug 20 16:17:37 PDT 2002 keithp
1900 + Fix memory leak when parsing matrices from XML
1902 Mon Aug 19 11:57:27 PDT 2002 keithp
1904 + Fix autoconf files to pass FONTCONFIG_PATH on
1905 compile line so that ${prefix} gets substituted
1908 + Use getc_unlocked/putc_unlocked on systems that
1909 provide them to avoid damage done to stdio by posix
1911 + Eliminate FC_PATTERN and FcTypePattern in favor of
1912 an extended api for FcConfigSubstitute which takes
1913 both the font and the pattern.
1915 + Add 'sans serif' alias for 'sans-serif' as some apps
1916 can't handle hyphens in family names
1918 + Eliminate pretense of support for libxml2
1920 + Comment origins of Han orthographies
1922 Tue Jul 30 18:37:09 PDT 2002 keithp
1924 + Add binding property to edit element so that strong
1925 binding values may be inserted by the config file.
1926 The default remains weak.
1928 Sun 28 Jul 04:16:55 PDT 2002 keithp
1930 + Tagged release candidate 1 in the CVS tree and
1931 placed fcpackage.rc1.tar.gz for distribution
1933 Thu Aug 1 08:55:08 PDT 2002 keithp
1935 + Fixed autoconf builds to always specify install
1936 target files (for BSD). Also fixed to
1937 define FONTCONFIG_PATH in config.h so that
1938 nonstandard installs will actually work.