Summary: | fontconfig 2.2.2 changed the appeareance of my fonts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miguel <mlastral> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Fonts Team <fonts> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mail, x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Miguel
2004-06-03 12:08:06 UTC
didn't i ask to add your X version ? Anyway, iirc kde just has courier or something as default font here and there and thats not a good choice imho. I've got the same problem without KDE. All fonts in GTK and QT apps are blushy/dirty. I'm using xfree 4.3.0-r5 and pekwm 0.1.3-r2. I'm running xfce4 4.05, upgraded fontconfig as part of my nightly emerge -uD system | world and not fonts in Firefox, xterms, everything are totally different from what they were. Something's broken badly. I'm running XFree86 Version 4.3.0.1 Release Date: 15 August 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.20-xfs-r4 i686 [ELF] Build Date: 14 February 2004 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. and Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-xfs-r4) ================================================================= System uname: 2.4.20-xfs-r4 i686 AMD Athlon(TM) MP 2000+ Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -Os -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 /share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm /config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /us r/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-mp -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn .purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirr or.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X aalib acl alsa apm avi berkdb caps cdr crypt cups doc dvd dvdr emacs emac s-w3 encode foomaticdb gdbm gif gimp gimpprint gpm gtk gtk2 imap imlib jack jack -caps jack-tmpfs java joystick jpeg libg++ libwww mad mbox mikmod motif mpeg nas ncurses nls oggvorbis opengl oss pam passfile pdflib perl png postgres python q uicktime readline rogue scanner sdl slang snmp spell ssl svga tcltk tcpd tetex t ruetype usb videos x86 xatrix xfs xinerama xml2 xmms xv zlib" I forgot to include some info in my original bug report. Here it goes: I am using xfree 4.3.0-r5 (the latest stable in the portage tree) . The main differences in the fonts appeareance are in Mozilla (I use helvetica in one computer and sans-serif in onother one). Even the font of the Mozilla menus have changed. As I mentioned ksonsole also changed its font appearence but I did not notice differences in the rest of the kde environmentt (using luxi sans). I only use courier for the fixed width font because (there are not many options). What I find strange is that going back to version 2.2.1 does not change anything. In following thread someone found a good hint about what is happening. http://forums.gentoo.org/viewtopic.php?p=1209905 What's happening is the following. The new version of fontconfig updates the config file (/etc/fonts/fonts.conf) to include a few new font directories that were not in the old config file (at least on my machine): $ diff -C 2 fonts.conf.new_and_sucky fonts.conf.old *** fonts.conf.new_and_sucky Sat Jun 5 21:50:48 2004 --- fonts.conf.old Thu Jun 3 09:07:16 2004 *************** *** 25,29 **** <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> ! <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> <dir>/usr/X11R6/lib/X11/fonts/sharefont</dir> <dir>/usr/X11R6/lib/X11/fonts/truetype</dir> <dir>/usr/share/fonts</dir> <dir>/usr/local/share/fonts</dir> --- 25,29 ---- <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> ! <dir>/usr/share/fonts</dir> <dir>/usr/local/share/fonts</dir> The Type1 directory is a dupe in the list, but the other two directories are new. The new font directories contain some fonts that are ahead in preference of the old default fonts (Luxi Serif, Luxi Sans, Luxi Mono, etc.) for the aliases of serif, sans-serif, mono, etc., so the fonts in the new directories get used in preference over the old fonts. The new fonts appear in GNOME apps, Mozilla Firefox, etc. I don't know the names of the new fonts, but they are wide and very ugly. This bug is therefore one of font ugliness, and not a problem with fontconfig. Also, I should mention that downgrading to fontconfig-2.2.1 does not fix the problem. The reason, presumably, is that when fontconfig updates fonts.conf when installed, it does not remove entries from the font directory list, but will only add them. It would be nice if someone could go through all the available fonts and order the alias preferences in fonts.conf according to how good they look on a Gentoo machine. the problem is that fonts got relocated to /usr/share/fonts i think, but that also means i cannot do the trick anymore that i used to not select the luxi fonts. The solution is a) do not install the luxi TTF fonts anymore with xorg/xfree or b) have xfree/xorg-x11 depend on ttf-bitstream-vera but that is really up for the xfree team. i suggest (b) as the easy solution, but (a) makes sense too in the long run. xorg-x11 has the bitstream vera fonts as part of its distribution. closing this, since it's not really valid any more (and we don't seem to be supporting xfree) |