Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63154 - Fluxbox 0.9.10 doesn't render fonts correctly
Summary: Fluxbox 0.9.10 doesn't render fonts correctly
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 11:44 UTC by doug whiteley
Modified: 2004-09-29 07:31 UTC (History)
0 users

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 doug whiteley 2004-09-07 11:44:52 UTC
After upgrading to 0.9.10, my fonts in menus and window titlebars weren't rendered correctly - specifically, I was using a non-xft font (artwiz anorexia) and I've heard other people using other fonts having the same issue. The font would be rendered as some large ugly font (I'm not sure what font it is exactly).

Here is a shot of what the fonts are supposed to look like (this is from 0.9.9): http://lila-theme.uni.cc/rezza/shots/fluxrails.png

and here's a shot of the exact same style in 0.9.10: http://lila-theme.uni.cc/rezza/shots/bugshot.png

After some help from ak|ra in #fluxbox, I managed to fix this in a CVS build by configuring with the --disable-xmb flag.

Reproducible: Always
Steps to Reproduce:
1. emerge fluxbox 0.9.10(-r1, -r2)
2. use a theme with artwiz fonts, for example
3. Watch in horror as the fonts get butchered

Actual Results:  
Fonts are rendered incorrectly.

Expected Results:  
Fonts look nice.

*** fluxbox -info ***

Fluxbox version: 0.9.10
Compiled: Sep  4 2004 12:12:58
Compiler: GCC
Compiler version: 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)

Defaults:
menu: /usr/share/fluxbox/menu
style: /usr/share/fluxbox/styles/Clean
keys: /usr/share/fluxbox/keys
init: /usr/share/fluxbox/init

Compiled options (- => disabled):
-DEBUG
SLIT
TOOLBAR
XPM
-GNOME
-KDE
EWMH
REMEMBER
SHAPE
XFT
XMB
-XINERAMA
RENDER


*** gcc --version ***

gcc (GCC) 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


*** emerge info ***

Gentoo Base System version 1.5.3
Portage 2.0.50-r10 (gcc34, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-love1)
=================================================================
System uname: 2.6.9-rc1-love1 i686 AMD Athlon(tm) XP 3200+
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://212.219.56.152/sites/www.ibiblio.org/gentoo/
http://194.83.57.11/sites/www.ibiblio.org/gentoo/
http://212.219.56.162/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/overlays/bmg-gnome-current
/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow S3TC X Xaw3d aac aalib acpi alsa apm avi berkdb bonobo cdr crypt dba
directfb divx4linux dvd dvdread encode faad fbcon fbdev flac freetype gdbm ggi
gif gpm gstreamer gtk gtk2 gtkhtml guile imlib java javascript jpeg libg++
libwww mad matroska mikmod mmx mmx2 monkey motif mozcalendar mozdomi mozilla
mozsvg mpeg mysql nas ncurses nls nptl offensive ogg oggvorbis openal opengl pam
pcre pdflib perl pic png python quicktime readline ruby samba sdl slang spell
sse ssl stencil-buffer svga tcltk tcpd theora tiff transcode truetype usb videos
wmf wxwin wxwindows x86 xchattext xine xml xml2 xmms xv xvid zlib"


*** theme.cfg ***

*.font:           -artwiz-anorexia-*-*-*-*-*-*-*-*-*-*-*-*
Comment 1 Ciaran McCreesh 2004-09-07 15:52:35 UTC
Try using media-fonts/artwiz-aleczapka-en instead of media-fonts/artwiz-fonts, upstream think that it's an encoding problem in the original artwiz package.
Comment 2 Ciaran McCreesh 2004-09-25 08:24:52 UTC
Need to know whether the alternate artwiz fonts fix this.
Comment 3 Joel Kaasinen 2004-09-27 08:25:58 UTC
didn't work for me with the aleczpaka fonts, and many people on irc are complaining the same
Comment 4 Joel Kaasinen 2004-09-28 11:56:38 UTC
oh, and here's a screenshot of how it should look like: http://koti.mbnet.fi/opqdonut/fluxdesktop2.png

and here's the newer, ugly screenshot (with wrong font):
http://koti.mbnet.fi/opqdonut/uglyflux.png

Someone said using "font: fontname-fontsize" style font definitions would help, but my limited experiments with it didn't help. could anyone else check this out?
Comment 5 doug whiteley 2004-09-29 07:31:35 UTC
Using unmerging artwiz fonts, and emerging artwiz-aleczapa worked fine for me.

I just use the font name in the theme config now, not the old xfontsel-style font definition. I.E. "drift" instead of "-artwiz-drift-*-*-*-*-*-*-*-*-*-*-*-*"