Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52904 - fontconfig 2.2.2 changed the appeareance of my fonts
Summary: fontconfig 2.2.2 changed the appeareance of my fonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 12:08 UTC by Miguel
Modified: 2004-09-09 17:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel 2004-06-03 12:08:06 UTC
After upgrading fontconfig from 2.2.1 to 2.2.2 all my fonts have changed its appearence. The konsole (of KDE) fonts are ugly.

By inserting 

   <match target="font">
      <edit name="rgba" mode="assign"><const>rgb</const></edit>
      <edit name="autohint" mode="assign"><bool>true</bool></edit>
   </match>

in /etc/fonts/local.conf konsole is readable again but my fonts in mozilla still look very different than before upgrading.

I have not managed to get back to the previous situation by downgrading to 2.2.1. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 foser (RETIRED) gentoo-dev 2004-06-03 14:37:10 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.
Comment 2 Sebastian Stumpf 2004-06-03 15:39:15 UTC
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.
Comment 3 Brett I. Holcomb 2004-06-03 17:36:06 UTC
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"
Comment 4 Miguel 2004-06-04 00:27:43 UTC
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.
Comment 5 Miguel 2004-06-04 11:26:02 UTC
In following thread someone found a good hint about what is happening.

http://forums.gentoo.org/viewtopic.php?p=1209905
Comment 6 John Fregeau 2004-06-06 13:55:26 UTC
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.
Comment 7 foser (RETIRED) gentoo-dev 2004-07-12 13:47:28 UTC
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.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-12 15:19:24 UTC
xorg-x11 has the bitstream vera fonts as part of its distribution.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-09 17:59:57 UTC
closing this, since it's not really valid any more (and we don't seem to be supporting xfree)