# # spec file for package fontconfig (Version 2.4.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: fontconfig %define build_docs 0 BuildRequires: expat freetype2-devel pkgconfig %if %{build_docs} BuildRequires: docbook-dsssl-stylesheets docbook-utils docbook_3 docbook_4 iso_ent jadetex libpng libxml2 libxml2-devel lynx openjade opensp perl-SGMLS sgml-skel tetex %endif License: Public Domain, Freeware, X11/MIT Provides: XFree86:/etc/fonts/fonts.dtd Group: System/Libraries URL: http://fontconfig.org/ Autoreqprov: on Requires: bash Version: 2.4.1 Release: 26 Summary: Library for Font Configuration # CVS can be found here: (CVS is gone, fontconfig uses git now). # $ cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/fontconfig login # CVS password: # $ cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/fontconfig co fontconfig # Source0: http://fontconfig.org/release/%name-%version.tar.bz2 # oldneededforbuild expat freetype2 freetype2-devel pkgconfig # # After building with "build_docs" defined to "1" generate the doc tarball with: # tar jcf fontconfig-doc.tar.bz2 fc-*/*.[0-9] doc/*.[0-9] doc/*.html doc/*/*.html doc/*.txt Source1: %name-doc.tar.bz2 Source2: iso639-1 Source3: iso639-2 Source10: suse-generic-names.conf Source11: suse-pre-user.conf Source12: suse-post-user.conf Source13: suse-hinting.conf Source14: suse-bitmaps.conf Source15: suse-font-dirs.conf Source20: local.conf.instsys Patch1: improve-monospace-detection.patch Patch4: fc-match.patch # http://www.kde.gr.jp/~akito/patch/ # http://www.kde.gr.jp/~akito/patch/fontconfig/fontconfig-2.2.1/fontconfig-2.2.1-AppleRoman-DynaFont.patch Patch5: AppleRoman-DynaFont.patch Patch6: fontconfig-minmaxabs.patch Patch10: conf.patch Patch12: bugzilla-128937-turn-off-embedded-bitmaps-by-default.patch Patch13: bugzilla-160226-multiarch-cache-file-problem.patch Patch15: fc-cache.patch Patch16: make-check.patch Patch17: change-magic.patch Patch18: fc-validatecache-option.diff Patch22: fc-verbose.diff Patch27: fc-app-dir-fix-new-new.diff Patch28: bugzilla-158573-turn-off-hinting-when-embolden.patch Patch29: fix-build-for-10.0.patch Patch30: bugzilla-179457-fix-font-file-names-for-wine.patch Patch31: do-not-clean-cache-files-for-different-architectures.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The intention of this library is to be the central configuration interface for all applications and libraries in the system. Authors: -------- Keith Packard %package devel Requires: fontconfig = %version Requires: freetype2-devel glibc-devel expat Provides: XFree86-devel:%_libdir/pkgconfig/fontconfig.pc Group: Development/Libraries/C and C++ Summary: Include Files and Libraries mandatory for Development. %description devel The intention is for this to be the central configuration interface for all applications and libraries on the system. Authors: -------- Keith Packard %prep %setup -q %if %{build_docs} < 1 tar xvf $RPM_SOURCE_DIR/%name-doc.tar.bz2 %endif %patch1 -p1 -b .improve-monospace-detection #%patch4 -p0 -b .fc-match %patch5 -p0 -b .dynafont %patch6 -p0 -b .minmaxabs %patch10 -p1 -b .fonts.conf #%patch12 -p1 #%patch13 -p1 #%patch15 -p1 %patch16 -p1 %patch17 -p1 #%patch18 -p0 #%patch22 -p1 #%patch27 -p1 %patch28 -p1 #%patch29 -p1 #%patch30 -p1 %patch31 -p1 %build %define myprefix /usr export CFLAGS="$RPM_OPT_FLAGS" #./autogen.sh \ ./configure \ --prefix=%{myprefix} \ --libdir=%{myprefix}/%{_lib} \ --with-freetype-lib=%_libdir \ --with-x \ --with-pic \ --enable-libxml2=no \ --mandir=%{_mandir} \ --localstatedir=/var \ --with-confdir=/etc/fonts \ --with-docdir=%{_defaultdocdir}/%{name} \ --with-add-fonts=/usr/X11R6/lib/X11/fonts,/opt/kde3/share/fonts,/usr/local/share/fonts \ %if %{build_docs} < 1 --disable-docs %else # %endif make %{?jobs:-j %jobs} make check %install make DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig install mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig-devel install -m 644 AUTHORS COPYING ChangeLog README $RPM_SOURCE_DIR/iso639-? \ $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name} #install -m 644 fc-lang/iso639-{1,2} $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name} install -m 644 doc/*.html $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig install -m 644 doc/fontconfig-user.txt $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig install -m 644 doc/fontconfig-devel/* $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig-devel install -m 644 doc/fontconfig-devel.txt $RPM_BUILD_ROOT/%{_defaultdocdir}/fontconfig-devel for i in 1 3 5 do mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man${i}/ for j in fc-*/*.${i} doc/*.${i} doc/*/*.${i} do test -f ${j} && install -m 644 ${j} $RPM_BUILD_ROOT/%{_mandir}/man${i}/ done gzip --best $RPM_BUILD_ROOT/%{_mandir}/man${i}/*.${i} done # install the conf.d README as well, I think it's helpful: install -m 644 conf.d/README $RPM_BUILD_ROOT/etc/fonts/conf.d install -m 644 $RPM_SOURCE_DIR/suse*.conf $RPM_BUILD_ROOT/etc/fonts/ install -m 644 $RPM_SOURCE_DIR/local.conf.instsys $RPM_BUILD_ROOT/etc/fonts/ # tune links in conf.d: pushd $RPM_BUILD_ROOT/etc/fonts/conf.d ln -s ../suse-font-dirs.conf 05-suse-font-dirs.conf rm -f 50-user.conf rm -f 51-local.conf ln -s ../suse-pre-user.conf 50-suse-pre-user.conf ln -s ../conf.avail/51-local.conf 55-local.conf ln -s ../conf.avail/50-user.conf 56-user.conf ln -s ../suse-post-user.conf 58-suse-post-user.conf popd # don't package any files in the cache directory, only the directory itself: rm -f $RPM_BUILD_ROOT/var/cache/fontconfig/* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc %{_defaultdocdir}/%{name} %{myprefix}/bin/fc-list %{myprefix}/bin/fc-cache %{myprefix}/bin/fc-match %{myprefix}/bin/fc-cat %dir /etc/fonts %config /etc/fonts/fonts.dtd %config /etc/fonts/fonts.conf %config /etc/fonts/suse-generic-names.conf %config /etc/fonts/suse-font-dirs.conf %config /etc/fonts/suse-pre-user.conf %config /etc/fonts/suse-post-user.conf %config %verify(not md5 size mtime) /etc/fonts/suse-hinting.conf %config %verify(not md5 size mtime) /etc/fonts/suse-bitmaps.conf %dir /etc/fonts/conf.avail/ /etc/fonts/conf.avail/* %dir /etc/fonts/conf.d/ /etc/fonts/conf.d/README %config(noreplace) /etc/fonts/conf.d/*.conf %config /etc/fonts/local.conf.instsys %{myprefix}/%{_lib}/libfontconfig.so.* %doc %{_mandir}/man5/fonts-conf.5.gz %doc %{_mandir}/man1/* %dir /var/cache/fontconfig/ %files devel %defattr(-,root,root) %doc %{_defaultdocdir}/%{name}-devel %{_libdir}/pkgconfig/fontconfig.pc %{myprefix}/%{_lib}/libfontconfig.*a %{myprefix}/%{_lib}/libfontconfig.so %doc %{_mandir}/man3/Fc* %{myprefix}/include/fontconfig/ %changelog -n fontconfig * Tue Feb 06 2007 - mfabian@suse.de - fix order of changelog entries. * Wed Jan 24 2007 - mfabian@suse.de - Bugzilla #237347: make Pothana2000 the default font for Telugu. * Mon Nov 20 2006 - mfabian@suse.de - Meiryo is not good for monospace. * Wed Nov 15 2006 - mfabian@suse.de - sync hinting and bitmap setup with fonts-config: • Bugzilla #215602: don't use the embedded bitmaps in the IPA fonts because they are only available in 12, 14, and 16 pixels. • Bugzilla #215602: Don't use the autohinter for fonts where it it distorts the metrics so badly that even the digits which should be monospaced are not monospaced at all anymore. • Don't use the autohinter for good quality TrueType fonts. - add some new fonts to the prefer lists. * Fri Nov 10 2006 - mfabian@suse.de - choose nicer default fonts for sans-serif, serif, and monospace. It is not necessary anymore to choose fonts which are metric compatible to the Adobe fonts as the default, the bug in kpdf is apparently fixed (see Bugzilla #129081). The default fonts for all three styles are now Déjà Vu on openSUSE. * Fri Oct 27 2006 - mfabian@suse.de - make last patch a little bit nicer to get it included upstream. * Tue Oct 24 2006 - mfabian@suse.de - do not delete cache files for different architectures. * Fri Oct 20 2006 - mfabian@suse.de - Bugzilla #213616: make suse-font-dirs.conf work again by symlinking it into /etc/fonts/conf.d. * Wed Oct 18 2006 - mfabian@suse.de - Bugzilla #213190, Fate #300430: "Use CMEXSong font as the default font for zh_TW locale" * Mon Oct 16 2006 - mfabian@suse.de - update to 2.4.1. • cache files for different architectures are in different files now • the user specific cache has been split from a single file in to seperate files for each font directory which are now stored in ~/.fontconfig/. * Thu Jun 22 2006 - mfabian@suse.de - Bugzilla #185864: add "Requires: bash" to make the postun and preun scripts of the SLES9 fontconfig package work. * Fri Jun 02 2006 - mfabian@suse.de - Bugzilla #179457: fix font handling for wine (from upstream CVS): wine uses FcPatternGet instead of FcPatternGetString to find the full path name of a font file. This used to work but has been broken recently in the fontconfig 2.4 branch. * Fri Apr 28 2006 - mfabian@suse.de - Bugzilla #104365: match on "pattern" instead on "font" to edit the default hinting settings to make it easier to override the defaults with applications using FcPatternDel() and FcPatternAdd...(). * Wed Apr 19 2006 - mfabian@suse.de - Bugzilla #166260 and bugzilla #162064: add "Khmer OS System" to the prefer lists of fontconfig. * Tue Apr 11 2006 - mfabian@suse.de - Bugzilla #59409: don't set a default value for rgba at all, rely on the auto-detection instead. Previously it was impossible to switch subpixelhinting off in the KDE control centre if it had been switched on by the auto-detection. But in the meantime this has been fixed in KDE, therefore we don't have a reason anymore to override the auto-detection. * Tue Apr 04 2006 - mfabian@suse.de - use "OpenSymbol" as another fallback for "Symbol" in addition to "Standard Symbols L". * Mon Apr 03 2006 - mfabian@suse.de - Bugzilla #158573: CID keyed fonts should be blacklisted in the fontconfig setup because they don't (yet) work with freetype2. * Fri Mar 31 2006 - zsu@suse.de - Bugzilla #158573: Hinting will be done before Embolden in freetype2, but in such case, Embolden will get wrong result on some glyph contours after applying hinting. Actually, hinting should be done after embolden, but we can't fix it in current freetype2. So as a workaround, just turn off hinting if we want to do embolden. * Fri Mar 24 2006 - mfabian@suse.de - Bugzilla #160226: When alternately starting a 32 bit and 64 bit application on a 64 bit system, ~/.fonts.cache-2 was always deleted and generated again, which caused a big performance issue. ~/.fonts.cache-2 is intended to be multi-arch, but this didn't work right. * Thu Mar 16 2006 - mfabian@suse.de - Bugzilla #130350: I forgot to add the agfa-fonts "Andale Sans", "Andy MT", "Bell MT", and "Monotype Sorts" to the list of fonts which should always use the byte code interpreter if anti-aliasing is off. * Fri Mar 10 2006 - mfabian@suse.de - update to 2.3.94 (no significant changes, just a nicer version number). - don't apply fc-verbose.diff anymore, the warnings cause too much confusion (see for example bug #156405). * Fri Feb 24 2006 - mfabian@suse.de - update to 2.3.93.20060224: fix for Bugzilla #153402 included upstream. * Fri Feb 24 2006 - mfabian@suse.de - fix Bugzilla #153402: "fc-cache crashes on some .ttc fonts". * Wed Feb 22 2006 - mfabian@suse.de - update to 2.3.93.20060222: + Strip \r and whitespace from input; fixes bug 3454. + make fontconfig not crash on pango badness. + Remove one more archaic character in ka.orth + Freeze patterns created by configuration file for tiny memory savings (every little bit helps). - fix for bugzilla #152453 now included upstream. * Tue Feb 21 2006 - mfabian@suse.de - Bugzilla #152453: fix crash in fc-cat, see also: http://lists.freedesktop.org/archives/fontconfig/2006-February/002130.html * Mon Feb 20 2006 - mfabian@suse.de - add Korean fonts "UnBatang" and "UnDotum" to the prefer lists above the Baekmuk fonts. * Fri Feb 17 2006 - mfabian@suse.de - update to 2.3.93.20060220: + Don't bail if fontconfig can't remove a dir cache file. + Skip the ID of a cache file when copying. + Eliminate 'source file too small' bug in FcDirCacheWrite. + Add -r --really-force option which blows away cache files and then regenerates them. + Deal correctly with changing FC_CACHE_MAGIC. + Enable fc-cat to print out old-style cache info when given a directory name. + Bump up magic version; we changed the binary format. + Fix triggering of segfault caused by misreading cache files (reported by fcrozat). + Fix the underlying cause of the below segfault (must usually call FcDirCacheHasCurrentArch after FcDirCacheValid). - Dirk Mueller's make_fccache_f_work.diff is obsolete because of the --really-force option. * Tue Feb 14 2006 - mfabian@suse.de - update to 2.3.93.20060214: - patch to ignore broken bitmap fonts included upstream. - memory leaks in error conditon code fixed. * Mon Feb 13 2006 - mfabian@suse.de - Bugzilla #150552: ignore broken bitmap fonts which don't even have a BDF property FAMILY_NAME. * Mon Feb 13 2006 - mfabian@suse.de - Bugzilla #132577: add the DejaVu fonts to the prefer lists. - add suse-font-dirs.conf to make sure a basic list of font dirs exists even if "SuSEconfig --module fonts" didn't run yet. * Mon Feb 13 2006 - mfabian@suse.de - update to 2.3.93.20060213. - Takashi IWAI's fc-prefer-var-cache.diff, and fc-fcmatch-pattern-fix.diff included upstream. * Fri Feb 10 2006 - mfabian@suse.de - update to 2.3.93.20060210: - Dirk Mueller's value_hash_speedup.diff included upstream. - Dirk Mueller's fc-verbose.diff slightly adapted to current CVS. - Takashi IWAI's fc-lang-idx-fixes.diff included upstream. - Takashi IWAI's fc-app-dir-fix.diff only partly included upstream, the missing parts are still necessary to make it work. - add fc-prefer-var-cache.diff (by Takashi IWAI to prefer cache files in /var/cache/fontconfig over cache files in the font directories. - Bugzilla #148361, comment #20: add fc-validatecache-option.diff to improve performance if a validate option is set to false in ~/.fonts.conf. - Bugzilla #132577: add rules to /etc/fonts to use the DejaVu fonts if the user requests the SUSE fonts and these are not available anymore. - fix by Takashi for segfault in fc-cache with non-existing directory as argument. - add fc-fcmatch-pattern-fix.diff (by Takashi IWAI to fix the problem reported in: http://lists.freedesktop.org/archives/fontconfig/2006-February/002072.html * Tue Feb 07 2006 - mfabian@suse.de - add value_hash_speedup.diff by Dirk Mueller see also http://lists.freedesktop.org/archives/fontconfig/2006-February/002045.html * Tue Feb 07 2006 - mfabian@suse.de - Bugzilla #148693: add fc-app-dir-fix-new.diff (by Takashi IWAI ). - update to 2.3.93.20060207: - euro.patch included upstream. - Takashi IWAI's patches fontconfig-fontsubdir-parse-fix.diff, fccache-update-check.diff, fc-loop-scan-fix.diff, fc-cache-loop-fix.diff included upstream. - Takashi IWAI's fc-lang-idx-fixes.diff partly included upstream. * Tue Feb 07 2006 - mfabian@suse.de - Bugzilla #148361: avoid stat () on all files in all sub-directories of font-directories by including a list of all font-directores including the sub-directories generated by SuSEconfig.fonts (/usr/sbin/fonts-config). * Mon Feb 06 2006 - mfabian@suse.de - update to 2.3.93.20060206.16: improved version of seife-crash.diff now included upstream. * Mon Feb 06 2006 - mfabian@suse.de - fc-loop-scan-fix.diff (by Takashi IWAI ): the endless loop in fc-cache if a subdirectory was a symlink pointing to a directory higher up was already fixed but there was still an endless loop when using fontconfig (e.g. when using "fc-match"). * Mon Feb 06 2006 - mfabian@suse.de - update to 2.3.93.20060206. - fontconfig-misc-warning-fixes.diff, fontconfig-memleak-fix.diff included upstream. - Dirk Mueller's seife-crash.diff partly included upstream. * Sun Feb 05 2006 - aj@suse.de - Fix typo in suse-post-user.conf [#148268]. * Fri Feb 03 2006 - mfabian@suse.de - fc-cache-loop-fix.diff (by Takashi IWAI ): fc-cache did loop endless if a subdirectory was a symlink pointing to a directory higher up, e.g. ln -s /usr/share/fonts /usr/share/fonts/ttt * Fri Feb 03 2006 - mfabian@suse.de - bugzilla #147994: include IPAGothic as a fallback for IPAPGothic in the prefer list for sans (and some more fixes in the same spirit). * Thu Feb 02 2006 - tiwai@suse.de - Fixed language detections. Now :lang=xxx should work. * Thu Feb 02 2006 - dmueller@suse.de - add patch to never open or validate font caches when fc-cache -f is used. * Wed Feb 01 2006 - tiwai@suse.de - Fixes by Dirk Mueller : fc-verbose.diff, seife-crash.diff - print out a warning if the global cache expired - fix crashes on malformed fonts.cache * Tue Jan 31 2006 - mfabian@suse.de - two more patches by Takashi Iwai : fontconfig-memleak-fix.diff, fccache-update-check.diff * Tue Jan 31 2006 - mfabian@suse.de - Patches by Takashi Iwai : - fontconfig-misc-warning-fixes.diff (mainly to check return values of read (), write (), and seek ()). - fontconfig-fontsubdir-parse-fix.diff: if FcConfigNormalizeFontDir () was called with a directory which is not a subdirectory of a directory from a .conf file, the list of all subdirectories was added to the list of known directories. When doing this again, the list of subdirectories was added again. Takashi's patch fixes this. * Tue Jan 31 2006 - mfabian@suse.de - update to 2.3.93.20060131. - fc-cache-should-not-stop-at-the-first-non-existing-directory.patch, destroy-completely-broken-cache-files-in-home-directory.patch included upstream - add "make check" to .spec file and fix expected output. * Mon Jan 30 2006 - mfabian@suse.de - fc-cache-should-not-stop-at-the-first-non-existing-directory.patch * Mon Jan 30 2006 - mfabian@suse.de - destroy-completely-broken-cache-files-in-home-directory.patch: when no string at all can be read from a ~/.fonts.cache-2 file or if such a file does not start with FC_GLOBAL_MAGIC_COOKIE, something is badly wrong and the file should be destroyed. * Mon Jan 30 2006 - mfabian@suse.de - update to 2.3.93.20060130. - full-path-problem.patch included upstream now. - check return values of read(), write(), and lseek() and give error message if something goes wrong. - endless-loop.patch included upstream * Fri Jan 27 2006 - mfabian@suse.de - check return values of FcCacheReadString () to fix endless loop. See: http://lists.freedesktop.org/archives/fontconfig/2006-January/001959.html * Fri Jan 27 2006 - mfabian@suse.de - update to 2.3.93.20060127. - blacklist the Hershey-fonts, the *.fon fonts from the "wine" package and all *.bdf fonts because these do not work with fontconfig/Xft2 (at least not now). * Fri Jan 27 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Thu Jan 26 2006 - mfabian@suse.de - update to 2.3.93.20060126. do-not-crash-if-non-existing-directories-are-referenced-from-local-cache-file.patch is now included upstream. * Thu Jan 26 2006 - mfabian@suse.de - do-not-crash-if-non-existing-directories-are-referenced-from-local-cache-file.patch to fix the problem reported in: http://lists.freedesktop.org/archives/fontconfig/2006-January/001948.html * Wed Jan 25 2006 - mfabian@suse.de - update to 2.3.93.20060125. (memory leaks fixed, zhe-su-fix-zh-hk-support.patch included upstream). - don't package /var/cache/fontconfig/stamp, only package the directory. - improve-normalization-of-font-path-add-subdirs.patch: add an cheap method to add subdirectories to the list of font directories to avoid having to call the expensive FcInitLoadConfigAndFonts () function. * Fri Jan 20 2006 - mfabian@suse.de - add improve-normalization-of-font-path.patch. * Fri Jan 20 2006 - mfabian@suse.de - update to 2.3.93.20060120. - bugzilla #142215: unaligned-access.patch by Andreas Schwab now included upstream. * Thu Jan 19 2006 - schwab@suse.de - Fix stupid misaligned accesses. * Thu Jan 19 2006 - mfabian@suse.de - update to 2.3.93.20060119. - add-dir-early-in-FcDirScanConfig.patch now included upstream. - fix-inode-compare.diff (by Dirk Mueller ) is also included upstream. * Wed Jan 18 2006 - mfabian@suse.de - add add-dir-early-in-FcDirScanConfig.patch to fix the problem reported in http://lists.freedesktop.org/archives/fontconfig/2006-January/001904.html * Mon Jan 16 2006 - mfabian@suse.de - update to 2.3.93.20060116. - remove fc-cat-crash.patch (included upstream). * Thu Jan 12 2006 - mfabian@suse.de - add zhe-su-fix-zh-hk-support.patch (by Zhe Su , see also: http://lists.freedesktop.org/archives/fontconfig/2006-January/001861.html http://lists.freedesktop.org/archives/fontconfig/2006-January/001864.html * Thu Jan 12 2006 - mfabian@suse.de - add normalize-path-in-fc-cache.patch to fix the problem reported here: http://lists.freedesktop.org/archives/fontconfig/2006-January/001878.html Although http://lists.freedesktop.org/archives/fontconfig/2006-January/001875.html claims that this problem was fixed, part of the problem still remained. "fc-cache /foo/bar" and "fc-cache /foo/bar/" generate files with the same name (md5sum) now, the command using the final '/' always rewrote the cache even if it was already up-to-date. * Wed Jan 11 2006 - mfabian@suse.de - update to 2.3.93.20060110. - add full-path-problem.patch to fix the problem that all full path names reported by "fc-match -v" and "fc-list : file" omit the last directory component which caused all applications using fontconfig to crash. * Mon Jan 09 2006 - mfabian@suse.de - update to 2.3.93.20060109. - remove Zhe Su's patch fcmatch-2.3.93-take2.patch (has been included upstream). - remove my dummy-crash.patch (included upstream). - add fc-cat-crash.patch to fix the problem reported in http://lists.freedesktop.org/archives/fontconfig/2006-January/001879.html - sync /etc/fonts/suse-hinting.conf with the template in the fonts-config package. * Thu Jan 05 2006 - mfabian@suse.de - update to 2.3.93.20060105 (fixes the problem reported in http://lists.freedesktop.org/archives/fontconfig/2006-January/001854.html ) - add new java-1_4_2 font directory. Being able to use wildcards in directories would be helpful ... * Wed Jan 04 2006 - mfabian@suse.de - add dummy-crash.patch o avoid the crash when calling 'fc-match "foo:\\_\\_DUMMY\\_\\_=1"'. - sync /etc/fonts/suse-hinting.conf with the template in the fonts-config package. * Tue Jan 03 2006 - mfabian@suse.de - update to 2.3.93.20060103 (fixes Bugzilla #141217). * Fri Dec 30 2005 - mfabian@suse.de - apply fcmatch-2.3.93-take2.patch (by Zhe Su ) to fix the problem that fonts sometimes could not be matched by their localized names anymore. See also http://lists.freedesktop.org/archives/fontconfig/2005-December/001843.html and the other mails in that thread. * Wed Dec 21 2005 - mfabian@suse.de - update to 2.3.93.20051222. * Tue Dec 13 2005 - mfabian@suse.de - Bugzilla #118720: add Hebrew fonts from the culmus package to the prefer lists: "Frank Ruehl CLM" (serif), "Nachlieli CLM" (sans-serif), "Miriam Mono CLM" (monospace). * Thu Dec 08 2005 - mfabian@suse.de - bitmap-encoding-problem.patch: PCF fonts that have no encoded characters must be skipped, they are usually just Unicode fonts transcoded to some legacy encoding. Only Unicode and Latin1 are supported by fontconfig, if such fonts are not skipped they can be accidentally matched by fontconfig and used by applications. But they don't work, most applications only display replacement characters when such fonts are used, some even crash (urxvt). Probably fonts that have no encoded characters in other formats than PCF are also useless and can be skipped as well. * Wed Dec 07 2005 - mfabian@suse.de - update to 2.3.92.20051206. * Wed Nov 30 2005 - coolo@suse.de - update once more to CVS as more patches of us went in * Thu Nov 24 2005 - coolo@suse.de - update to CVS to include even more performance patches * Tue Nov 22 2005 - coolo@suse.de - update to CVS to include performance patches by Dirk Mueller and some crash fixes by others * Thu Nov 17 2005 - coolo@suse.de - update to CVS to include several fixes by Andreas Schwab, Michael Matz and me (generic architecture support) * Thu Nov 03 2005 - coolo@suse.de - update to 2.3.91.20051103 with an extra patch to avoid creating invalid cashes (#128080 seems fixed) * Thu Oct 27 2005 - mfabian@suse.de - Bugzilla #128937: use FcFalse as the default value for FC_EMBEDDED_BITMAP (requested by Zhe Su). - Bugzilla #130350: add agfa-fonts "Andale Sans", "Andy MT", "Bell MT", and "Monotype Sorts" to the list of fonts which are rendered with the byte code interpreter and without anti-aliasing up to the pixellimit specified in /etc/sysconfig/fonts-config. * Wed Oct 26 2005 - mfabian@suse.de - update to 2.3.91.20051026. * Mon Oct 24 2005 - mfabian@suse.de - update to 2.3.91.20051024. + remove bugzilla-102328.patch (included upstream). + remove fontconfig-sentinel.patch (included upstream). + remove Zhe Su's bugzilla-128930-support-localized-family-and-style-names.patch (included upstream) * Thu Oct 20 2005 - mfabian@suse.de - Bugzilla #129081: move fonts which are metric compatible to Helvetica to the top of the prefer list for sans-serif, fonts which are metric compatible to Times to the top of the prefer list for serif, and fonts which are metric compatible to courier to the top of the prefer list for monospace. This is needed for example to display pdf documents better in kpdf. - Bugzilla #128930: use newer version of Zhe Su's patch to solve the problem mentioned in comment #8. * Wed Oct 19 2005 - mfabian@suse.de - update to 2.3.91.20051019. + remove fix-return-code.patch (included upstream). - Bugzilla #128930: add patch by Zhe Su to improve support of localized font family and style names by sorting them according to the current locale settings. With this change, applications which use fontconfig will automatically get the localized font family and style names. * Fri Oct 14 2005 - mfabian@suse.de - the return value of fc-cache in directories where fonts.cache-2 doesn't exist was 1. Fix this. * Thu Oct 13 2005 - mfabian@suse.de - update to 2.3.91.20051013 current head of fontconfig 2.4 branch). Fixes problem that fc-cache returns 1 (failed) when updating an already existing fonts.cache-2 file. * Wed Oct 12 2005 - mfabian@suse.de - update to 2.3.91.20051012 (current head of fontconfig 2.4 branch). Solves the performance regression problem that fc-cache did take a lot of time even when nothing was changed in the font directories. * Fri Oct 07 2005 - mfabian@suse.de - update to 2.3.91.20051007 (current head of fontconfig 2.4 branch). * Tue Sep 27 2005 - mfabian@suse.de - Bugzilla #118727: fix artificial bold for applications using cairo. Thanks to Zhe Su . * Fri Sep 09 2005 - mfabian@suse.de - Bugzilla #114949 comment #20 - #21: add a rule to suse-post-user.conf to switch off the autohinter for the webfonts and the agfa-fonts if anti-aliasing is already off. This nice idea came from Sven Burmeister. * Thu Sep 08 2005 - mfabian@suse.de - Bugzilla #114949: remove stuff from /etc/fonts/*.conf which has become obsolete. Rules to replace outline fonts with bitmap fonts are not necessary anymore if fonts are available which can achieve rendering quality equal to hand tuned bitmaps when the byte code interpreter is used. * Fri Sep 02 2005 - mfabian@suse.de - Bugzilla #114949: move the rules to setup the hinting and anti-aliasing and the rules to enable embedded bitmaps from suse-pre-user.conf into seperate files and include these from suse-pre-user.conf. This makes it easier to edit or replace these rules with SuSEconfig.fonts according to values of variables in /etc/sysconfig. * Sat Aug 20 2005 - mfabian@suse.de - Bugzilla #105990: switch on embedded bitmaps again during the installation. * Fri Aug 19 2005 - mfabian@suse.de - Bugzilla #105626: work around the loss of rendering quality for the IPA fonts caused by the update to freetype 2.1.10 by switching off the hinting for the IPA fonts. * Tue Aug 16 2005 - mfabian@suse.de - Bugzilla #102328: use Keith Packard's fix for the problem in the last changelog. * Tue Aug 16 2005 - mfabian@suse.de - Bugzilla #102328: fall back to POSIX if the effective value of LC_CTYPE is the empty string "". By falling back to POSIX here we make sure that even in this case fontconfig matches something readable. Without that it apparently matches completely random and might match a font which doesn't even have ASCII glyphs. As a result, nothing at all may be displayed. * Fri Jul 29 2005 - mfabian@suse.de - Revert the defaults in /etc/fonts/suse-pre-user.conf to use the autohinter and anti-aliasing by default always. Most users apparently do not like the bitmap look and feel caused by the last change. As this seems to be a matter of taste, I leave the rule to achieve that bitmap look and feel in /etc/fonts/suse-pre-user.conf as an example but disable it by default. Users who want a bitmap look and feel have to copy that rule to their personal ~/.fonts.conf file and enable it by choosing a non-zero pixelsize limit as explained in the comments in /etc/fonts/suse-pre-user.conf. * Fri Jul 22 2005 - mfabian@suse.de - Bugzilla #64424: "Bytecodeinterpreter in freetype2 - wieso ausgeschaltet?" The byte code interpreter is enabled now at build time in our freetype2 package. Setup the defaults in /etc/fonts to use black and white rendering (antialias=false) and the byte code interpreter (autohint=false) for a few fonts which are known to have high quality byte code instructions. Set antialias=true and autohint=true as the default for all other fonts. * Thu Jul 21 2005 - mfabian@suse.de - update to 2.3.2.20050721. - Bugzilla #52167: "fc-list reports inconsistent spacing values for some fonts": add a patch to improve the detection of monospaced fonts: ignore glyphs with advance=0 when detecting monospaced fonts and add a special exception for "Luxi Mono" and "Nimbus Mono L". * Wed Jul 20 2005 - mfabian@suse.de - Bugzilla #94110: add more directories to the default font path. * Tue Jul 12 2005 - mfabian@suse.de - update to 2.3.2.20050712 + remove ka.orth.patch, now included. * Wed Jun 29 2005 - sbrabec@suse.cz - Added expat to fontconfig-devel to make the .la checker easier. * Fri May 20 2005 - mfabian@suse.de - Fix ka.orth (Georgian), it apparently requires too many characters which are not really used for Georgian. - Add BPG fonts (for Georgian) to the preference lists. * Thu Mar 17 2005 - mfabian@suse.de - add Sazanami and IPA fonts to suse-generic-names.conf. * Fri Mar 11 2005 - mfabian@suse.de - Bugzilla #66498 again: the last change wasn't a good idea after all. The design of the embedded bitmaps is quite bad in some sizes, especially the Japanese katakana look extremely ugly. Therefore it is better not to use the embedded bitmaps during the installation. I added a special /etc/fonts/local.conf.instsys file which should be copied to /etc/fonts/local.conf only for the installation and which is not used in the installed system. * Thu Mar 03 2005 - mfabian@suse.de - Bugzilla #66498: use embedded bitmaps for Korean and Japanese as well, not only for Chinese as before to get readable Japanese and Chinese during the installation. The Latin fonts we currently use during the installation are smaller as before. With the Gnu Unifont currently used for CJK, this leads to clipping problems because this bitmap font cannot scale to a smaller size. When using TrueType fonts like FZSongTi for CJK, the clipping problems disappear because the font can scale down. But in such a tiny size, Japanese or Chinese is almost unreadable with Anti-Aliasing. It's better readable with the embedded bitmaps. * Mon Feb 21 2005 - mfabian@suse.de - re-enable bitmap fonts. * Fri Feb 18 2005 - mfabian@suse.de - update to 2.2.99.20050218. * Tue Feb 01 2005 - meissner@suse.de - package now adds -fno-strict-aliasing by itself. - added sentinel valist markup for 2 functions. * Thu Jan 13 2005 - mfabian@suse.de - add entries for preferred fonts for Farsi (Persian): Terafik -> sans-serif, monospaced, Nazil -> serif. * Wed Oct 06 2004 - mfabian@suse.de - Bugzilla #46852: add /usr/lib/ooo-1.1/share/fonts to the default directories searched for fonts. * Fri Sep 17 2004 - mfabian@suse.de - add "Georgia", "Trebuchet", "Segoe", "Bell MT", and "Andale Sans" to the generic lists. * Tue Sep 14 2004 - mfabian@suse.de - add FZMingTiB to the "monospace" prefer list (thanks to Zhe Su for noticing). Remove all "Kai" fonts from the "sans-serif" prefer list. * Tue Sep 14 2004 - mfabian@suse.de - Bugzilla #45160, Comment #6: prefer FZSongTi and FZMingTiB also for sans-serif instead of the "Kai" fonts. * Tue Sep 14 2004 - mfabian@suse.de - Bugzilla #44409: set the default value for rgba to "unknown" instead of "none". * Mon Sep 06 2004 - mfabian@suse.de - add Japanese IPA fonts to prefer lists. - add FZMingTiB to prefer list for "serif" below "FZSongTi" (if we don't install the Arphic fonts by default, there is no traditional Chinese font left in the list otherwise). * Wed Aug 25 2004 - kukuk@suse.de - Avoid /bin/sh in PreRequires * Tue Aug 10 2004 - mfabian@suse.de - for some Bengali fonts (e.g. "Mukti Narrow"), the autohinter works well with the patch from http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7 applied. But for "Likhan" it still doesn't work that well (look how the "matra" lines at the top line up). Therefore, switch off the autohinter for the "Likhan" font. * Mon Aug 09 2004 - mfabian@suse.de - add Bengali fonts "Likhan" (serif) and "Mukti Narrow" (sans-serif) to the prefer lists. * Wed Aug 04 2004 - mfabian@suse.de - add sazanami fonts to the prefer lists. * Wed Jul 28 2004 - mfabian@suse.de - update to 2.2.96.20040728. remove fontconfig.patch, this is included upstream now. This update also includes a patch by Lubos Lunak which helps to improve the performance of fontconfig with KDE. * Fri Jun 04 2004 - mfabian@suse.de - prefer the proportinal "HGPMinchoL" instead of the monospaced "HGMinchoL" for serif. Same with "HGPGothicB" instead of "HGGothicB" for sans-serif. - add all Mincho and Gothic faces of the commercial Ricoh fonts to the list of generic names in suse-generic-names.conf to get reasonable fallbacks if those fonts are not installed. * Fri May 28 2004 - mfabian@suse.de - add the Japanese fonts "HGMinchoL" and "HGGothicB" made by Ricoh to the prefer lists and generics lists. These are the fonts which Novell Japan has licensed, they should be preferred if they are installed. * Wed May 26 2004 - ro@suse.de - fix build by defining MIN,MAX and ABS where needed * Fri Apr 23 2004 - mfabian@suse.de - Bugzilla #38243: fix the characters set handling for the Japanese Dynafonts. * Tue Apr 20 2004 - mfabian@suse.de - Bugzilla #38244: remove rules to force use of embedded bitmaps by switching off anti-aliasing. This is not needed anymore because libXft in our XFree86 package is patched to make use of the embedded bitmaps anyway if the embeddedbitmap=true parameter is set. * Fri Apr 16 2004 - mfabian@suse.de - Bugzilla #38244: use embedded bitmaps by default for Chinese (requested by Zhe Su). * Fri Apr 16 2004 - mfabian@suse.de - Bugzilla #38205: make hintstyle=hintfull the default again for CJK fonts. Our freetype package now has a patch applied to improve the hinting for CJK fonts, with that patch the results are much better with hintstyle=hintfull than with hintstyle=hintnone. - fix from upstream CVS: (src/fcfreetype.c): * Fixed bug in using available_sizes[i].height which is in pixels, not 64ths of a pixel. * Sat Apr 03 2004 - mfabian@suse.de - Bugzilla #38204 comment #5: "Fix some issue in the default alias list": SimSun is a serif font, it should not ge in the generics sans-serif list. - Bugzilla #38204 comment #9: add rule to get artificial bold for fonts without a bold version. Until Bugzilla #38202 is fixed, this rule does nothing, but it does no harm either. - also specify the foundry when trying to prefer bitmap fonts, without that the prefer_bitmap rules won't work with Qt applications. * Fri Apr 02 2004 - mfabian@suse.de - Bugzilla #37540: rework rules for use of bitmap fonts to make it easier to get at clearly readable results for CJK if by using embedded bitmaps are used: * improve rules for the case "prefer_bitmap=true" (not default) for Latin fonts: replace all "Helvetica" clones with the bitmap font "Adobe Helvetica", all "Times" clones with "Adobe Times", and all "Courier" clones with "Adobe Courier". For hardcore bitmap addicts. * use embedded bitmaps only for complete ranges, i.e. never use bitmaps from size a-b, scalable fonts from b-c, and bitmaps again from size c-d. * don't match pixelsizes with compare="eq" when trying to use embedded bitmaps. This won't work if non-integer pixelsizes are requested. Use compare="more_eq" and compare="less_eq" to check for a range instead. Then the embedded bitmaps will be used for the whole range, even if non-integer pixelsizes are requested. * use embedded bitmaps for "FZSongTi" only up to 18 pixel. - change prefer lists for Chinese: * make "FZSongTi" the highest priority "serif" and "monospace" font for Chinese * make "FZKaiTi" the highest priority "sans-serif" font for Chinese. * remove "SimSun", "FZSongTi", "HanyiSong", and "ZYSong18030" from the prefer list for "sans-serif" because these are really serif fonts. * remove "AR PL KaitiM GB" and "AR PL KaitiM Big5" from the prefer list for monospace. All other Chinese fonts in this list are "ming" or "song" style, it is weird to have fonts of the completely different "kai" style in the same list. * Thu Apr 01 2004 - mfabian@suse.de - Bugzilla #37114 and 37540: use hintstyle=hintnone for CJK fonts to improve rendering. - Bugzilla #37820: handle dual-width fonts as proportional fonts to avoid extra wide spacing. - Bugzilla #34400: CID-keyed fonts work for SuSE 9.1 remove the directory /usr/share/ghostscript/Resource/CIDFont/ from the default font directory list again. * Mon Mar 29 2004 - mfabian@suse.de - Bugzilla #37310: fix location of fontconfig-user.html in man-pages. * Wed Mar 24 2004 - mfabian@suse.de - Bugzilla #36879: don't match fonts without foundries if a specific foundry is requested (fix from upstream CVS). - remove bitmap-spacing.patch (included upstream). - install iso639-{1,2} as documentation * Fri Mar 19 2004 - mfabian@suse.de - Bugzilla 36561#: require the Euro sign for languages fr,nl,de,el,es,it,pt,fi, and en. * Thu Mar 11 2004 - bg@suse.de - use -fPIC for static libraries too. * Tue Mar 02 2004 - mfabian@suse.de - update to 2.2.92.20040221. - add bitmap-spacing.patch to fix Bugzilla #34677 * Mon Mar 01 2004 - mfabian@suse.de - add entries for Adrian's new "SUSE Sans", "SUSE Serif", "SUSE Sans Mono" fonts. Prefer over Nimbus and Luxi. * Mon Feb 09 2004 - mfabian@suse.de - update to 2.2.92.20040206. - remove fontconfig-ta.orth-cvs.patch and freetype-2.1.7.patch (included now). - add /usr/local/share/fonts/ as a default directory (see http://mail.fontconfig.org/pipermail/fontconfig/2003-October/000671.html - add /usr/share/ghostscript/Resource/CIDFont/ as a default font directory. - add rule to use the URW font "Standard Symbols L" as a replacement if the original Adobe "Symbol" font is not available. (see Bugzilla #34324) - move SuSE specific fontconfig rules into included files. * Sat Jan 10 2004 - adrian@suse.de - build as user * Tue Dec 23 2003 - mfabian@suse.de - make it build with freetype 2.1.7 again. - Bugzilla Bug 32080: turn off subpixel hinting by default. * Thu Oct 02 2003 - mfabian@suse.de - remove "ed" from "# neededforbuild". * Thu Aug 28 2003 - mfabian@suse.de - add "FreeSans", "FreeSerif", "FreeMono" to fonts.conf (priority below Nimbus, Bitstream and Luxi). - move priority of "Bitstream Vera" fonts below Nimbus. - move fontconfig-devel documentation to /usr/share/doc/packages/fontconfig-devel. * Sun Aug 24 2003 - adrian@suse.de - add freetype2-devel and glibc-devel to the -devel Requires * Sat Aug 23 2003 - adrian@suse.de - udpate to version 2.2.1 - add %%run_ldconfig * Tue Jul 15 2003 - mfabian@suse.de - add rules to use embedded bitmaps in FZSongTi if desired. - use binding="same" instead of binding="strong" when adding bitmap fonts to the pattern. This is necessary to keep the generic aliases "sans-serif" etc. working as usual even if "prefer_bitmap" is set to "true". With binding="strong", "sans-serif" always expands to "Adobe Helvetica" if "prefer_bitmap" is set to "true" which is not useful for many languages. * Wed Jul 09 2003 - sndirsch@suse.de - added FZSongTi to serif, sans-serif and monospace family aliases * Wed May 28 2003 - mfabian@suse.de - install fc-list and fc-cache man pages. * Sun May 18 2003 - mfabian@suse.de - fontconfig-ta.orth-cvs.patch: Remove 0b82 and Tamil numbers from tamil orthography (from upstream cvs) - add Tamil fonts to "prefer" aliases - remove duplicate entries of the Bitstream fonts from fonts.conf - set globaladvance=false for Y.OzFont because it is a dual-width font. - change .spec file to make it possible to build with /usr/X11R6 prefix (to make updates for SuSE Linux 8.2 easy). * Wed Apr 23 2003 - sndirsch@suse.de - created package