Luxi sans looks perfect with freetype-2.1.4-r1 with the bytecode interpretor. Upgrading to freetype-2.1.5-r1 make it look terrible. The 'B' in particular looks really bad. All characters seem to be stretched vertically. Luxi sans is the best font for gnome/kde and it really needs to be restored to its former glory. I will attach screenshots showing the problem. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) ================================================================= System uname: 2.6.3 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" 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.2/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/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 avi berkdb cdr crypt cups directfb doc encode evo faad fbcon flac foomaticdb foreign-package foreign-sysvinit gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imlib java jbig jpeg kde lcms libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls offensive oggvorbis opengl pam pdflib perl pic png pnp ppds python qt quicktime readline samba sdk sdl slang speex spell sse ssl tcltk tetex tiff truetype trusted usb wmf x86 xine xml xml2 xmms xv zlib"
*** Bug 43628 has been marked as a duplicate of this bug. ***
Created attachment 26785 [details] luxi sans rendering correctly with freetype-2.1.4-r1
Created attachment 26786 [details] luxi sans rendering incorrectly with freetype-2.1.5-r1
The ttf version of the luxi fonts should not be in our default fonts configuration (or i'm very mistaken) and should not be used at all. The type1 versions should always look reasonable. So in short this shouldn't happen with our default config. I suggest you use ttf-bitstream-vera anyway as desktop font.
It seems the ttf versions of luxi come from xfree. I have xfree-4.3.0-r5 installed. Where can I get type1 versions of luxi fonts? jonny@akalabeth jonny $ qpkg -l xfree|grep luxi /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf /usr/X11R6/lib/X11/fonts/TTF/luximri.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirbi.ttf /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirb.ttf /usr/X11R6/lib/X11/fonts/TTF/luxisb.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirr.ttf /usr/X11R6/lib/X11/fonts/TTF/luxisr.ttf /usr/X11R6/lib/X11/fonts/TTF/luxisbi.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirri.ttf /usr/X11R6/lib/X11/fonts/TTF/luximbi.ttf
yeah they come with xfree, but fontconfig by default doesn't provide them, so you shouldn't see them. The type 1 luxis are in the type 1 dir and those are available via fontconfig. Can you make sure you don't have your own config stuff interfering so we can rule that out as a cause ?
I just have the standard font config with fontconfig-2.2.1. I haven't changed it in any way. The Luxi fonts just show up in gnome font selection. I can't find any type 1 luxi fonts on my system: jonny@akalabeth jonny $ ls /usr/X11R6/lib/X11/fonts/Type1/ UTBI____.afm c0583bt_.pfb courb.afm l047016t.afm l048036t.pfa UTBI____.pfa c0611bt_.afm courb.pfa l047016t.pfa l049013t.afm UTB_____.afm c0611bt_.pfb courbi.afm l047033t.afm l049013t.pfa UTB_____.pfa c0632bt_.afm courbi.pfa l047033t.pfa l049016t.afm UTI_____.afm c0632bt_.pfb couri.afm l047036t.afm l049016t.pfa UTI_____.pfa c0633bt_.afm couri.pfa l047036t.pfa l049033t.afm UTRG____.afm c0633bt_.pfb cursor.pfa l048013t.afm l049033t.pfa UTRG____.pfa c0648bt_.afm encodings.dir l048013t.pfa l049036t.afm c0419bt_.afm c0648bt_.pfb fonts.cache-1 l048016t.afm l049036t.pfa c0419bt_.pfb c0649bt_.afm fonts.dir l048016t.pfa c0582bt_.afm c0649bt_.pfb fonts.scale l048033t.afm c0582bt_.pfb cour.afm l047013t.afm l048033t.pfa c0583bt_.afm cour.pfa l047013t.pfa l048036t.afm akalabeth root # locate luxi /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf /usr/X11R6/lib/X11/fonts/TTF/luximri.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirbi.ttf /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirb.ttf /usr/X11R6/lib/X11/fonts/TTF/luxisb.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirr.ttf /usr/X11R6/lib/X11/fonts/TTF/luxisr.ttf /usr/X11R6/lib/X11/fonts/TTF/luxisbi.ttf /usr/X11R6/lib/X11/fonts/TTF/luxirri.ttf /usr/X11R6/lib/X11/fonts/TTF/luximbi.ttf
can you attach your /etc/fonts/{fonts,local}.conf and your desktop user's ~/.fonts.conf if it exists ? @comment #7 : The l* are the luxis, but that is all pretty much irrelevant here.
Created attachment 26800 [details] /home/jonny/.fonts.conf
Created attachment 26801 [details] /etc/fonts/fonts.conf
Created attachment 26802 [details] /etc/fonts/local.conf
Well the configs suggest that you do not use the truetype luxi's, but I can't reproduce the problems with the Type1's. You could try to remove the ttf luxis and see if it has any effect, but I strongly suggest you emerge ttf-bitstream-vera and use those as your desktop font anyway.
Yeah it seems I am using the Type 1 fonts. I tried compiling freetype 2.1.5-r1 with less aggressive optimizations and it made no difference. I will see if the problem occurs on another gentoo installation. The ttf luxis don't look quite as good. I find ttf-bitstream-vera looks nowhere as good as type1 luxi sans.