Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10998 - qt-3.1.0 font weirdness
Summary: qt-3.1.0 font weirdness
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-20 08:10 UTC by Peter Ruskin
Modified: 2003-02-21 11:31 UTC (History)
2 users (show)

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


Attachments
qtconfig with anialiasing disabled (snapshot-noxft.png,39.79 KB, image/png)
2002-12-01 14:42 UTC, Peter Ruskin
Details
qtconfig with antialising enabled (snapshot-xft.png,59.89 KB, image/png)
2002-12-01 14:43 UTC, Peter Ruskin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2002-11-20 08:10:03 UTC
With qt-3.1.0 installed, fonts in KDE-3.0.4 and KDE-3.1.0_rc3 are weird.  Nearly
all sans faces are shown as quasi-mono with extra spaces.  Apps affected are 
konsole, kwrite, kate and kedit.  Non-KDE apps OpenOffice are unaffected, as are
koffice apps
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-11-23 05:50:42 UTC
is xft merged? 
Comment 2 Peter Ruskin 2002-11-23 05:57:23 UTC
No, I don't use xft
Comment 3 Peter Ruskin 2002-11-23 19:27:28 UTC
Emerged qt-3.1.0-r1 and freetype-2.1.2-r2 today and font problems are still the
same.

Fonts affected (stretched horizontally unless otherwise stated) are:
Arial, Arial Black (just squares), Banjoman Open Bold, Bermuda Solid, Broadway
[Bitstream] and [Urw], Comic Sans Ms, Cooper Black (just squares), Diamond,
Dixieland [2rebels], Emboss, Falstaff Festival Mt, Garamond [Digital Typeface
Corp] and [Monotype], Georgia, Jazz Let, Jokerman, Keystrokes Mt, Lucida
Handwriting, Lucida Sans, Lucida Sans Unicode, Luxi Sans, Luxi Serif, Monotype
Corsiva, Old English Text Mt, Optimum (just squares), Poster Bodoni Bt, Signet
Roundhand Att, Signs Mt, Tahoma, Times New Roman, Trebuchet Ms, Usablack
[2rebels], Usalight [2rebels], Verdana, Webdings, Wingdings, Zapfchan Mdit Bt,
Zapfdingbats Bt.
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-11-29 12:47:49 UTC
Don't use xft-2 i.e. the x11-libs/xft package, or don't use xft1 either (i.e. no 
antialiasing)? 
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-11-29 12:50:32 UTC
Clarification: xft-1 comes with xfree. 
 
Run qtconfig and look at the font selection dialog there, is it affected? With the xft 
setting there on, and off? 
 
Maybe try fiddling with your fonts.conf? :-) 
Comment 6 Dan Armak (RETIRED) gentoo-dev 2002-11-29 12:51:17 UTC
Oh and how about non-kde/qt apps, are any of those affected? If you have some that 
use gtk2/xft it'll be a good test (gnome2, mozilla...) 
Comment 7 Peter Ruskin 2002-11-29 14:38:20 UTC
What a mess!  I didn't know about qtconfig - thanks.
As I already said, non-KDE apps like Mozilla and OpenOffice are unaffected, as
are koffice apps.

I have used antialiasing by default for ages and before qt-3.1.0 I thought it
was wonderful.  So I turned it off in qtconfig (had to exit and reopen to see
the effect) and then went to Control Centre -> Appearance & Themes -> Fonts.  I
turned off antialiasing but clicking the Apply button crashed kwin.  I tried to
save the backtrace but nothing would receive keyboard focus except kicker.  On
logging out and in, any changes to Control Centre -> Appearance & Themes ->
Fonts gave the "Anti-Aliasing Settings Changed" warning, even when I only
changed one font selection and hadn't touched the antialiasing checkbox - and
kwin crashed.

Anyway there was something in the backtrace about a liquid lib.  I use Mosfet
Liquid style so I changed that to Keramic.  That got rid of the antialiasing
warnings so I proceeded.  I now went to login manager config and cleared the
antialiasing setting.  After I logged out it was difficult to log in - the login
dialog was about three times wider than the screen!  That was using Verdana 9 as
standard and fail font; no antialiasing.  I had to use helvetica to get a decent
sized login box.

I did all the above stuff as root and normal user and now I don't have as many
fonts available but none of them are horizontally stretched.  And I don't have
antialising ... it's hideously ugly and spoils all the good things introduced in
kde-3.1.
Comment 8 Dan Armak (RETIRED) gentoo-dev 2002-12-01 14:28:05 UTC
So what happens if you try to enable AA now (and without liquid)? 
Comment 9 Peter Ruskin 2002-12-01 14:42:26 UTC
Created attachment 6104 [details]
qtconfig with anialiasing disabled
Comment 10 Peter Ruskin 2002-12-01 14:43:25 UTC
Created attachment 6105 [details]
qtconfig with antialising enabled
Comment 11 Peter Ruskin 2002-12-01 14:44:12 UTC
Added attachments: screenshots
Comment 12 Dick Marinus 2002-12-06 13:28:15 UTC
Same problems here, since I updated my Qt (latest: 3.1.0-r1) i *had* mosfet-liquid-widgets, xft-2.0-r1, fontconfig-2.0-r4, freetype-2.1.2-r2, xfree-4.2.1, kdebase-3.0.4-r3, kdelibs-3.0.4-r1. 
Comment 13 Peter Ruskin 2002-12-08 20:38:15 UTC
This problem seems to be resolved with kde-3.1_rc5 ... wonderful AA again, even
with mosfet's theme :-)
Comment 14 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-08 20:46:55 UTC
Peter: what have you merged between not working fonts and worling fonts? 
Please append full list (it should be in /var/log/emerge.log). 
 
Cause I also know people who still have the same problem with kde-3.1... 
Comment 15 Peter Ruskin 2002-12-08 21:17:54 UTC
from /var/log/emerge.log (very useful - didn't know it exists):
mozilla-1.2
nvidia-kernel-1.0.3123-r1  (post kernel rebuild)
nvidia-glx-1.0.3123        (post kernel rebuild)
alsa-driver-0.9.0_rc6      (post kernel rebuild)
lm_sensors-2.6.5           (post kernel rebuild)
app-games/xmahjongg/xmahjongg-3.6.1
app-text/aspell-0.50.3
media-sound/timidity-eawpatches-12-r1
net-mail/pine-4.50-r3
app-cdr/cdrtools-2.0_pre1
app-office/koffice-1.2.1
net-misc/dhcpcd-1.3.22_p3-r2
sys-apps/portage-2.0.45-r1
dev-libs/expat-1.95.5-r1
net-www/mozilla-1.2.1
app-games/bumprace-1.45
net-mail/pine-4.50-r4
x11-base/xfree-4.2.1-r2
media-sound/zinf-2.2.1
x11-libs/pango-1.1.3
app-admin/gentoolkit-0.1.17-r5
x11-wm/fluxbox-0.1.13-r6
dev-libs/atk-1.1.1
gnome-base/control-center-2.0.3-r1
dev-lang/ocaml-3.06
dev-perl/Common-1.0.4
x11-libs/xft-2.0
x11-wm/fluxbox-0.1.13-r8
x11-wm/openbox-2.2.1-r1
x11-libs/gtk+-2.1.2
gnome-base/control-center-2.0.3-r1
gnome-base/gnome-2.0.3-r1
kde-base/arts-1.1.0.5
x11-misc/shared-mime-info-0.9
app-misc/rox-1.3.5
kde-base/kdelibs-3.1_rc5
kde-base/kdemultimedia-3.1_rc5
kde-base/kdegames-3.1_rc5
media-sound/lame-3.93.0-r1
sys-kernel/ck-sources-2.4.20-r1
media-video/nvidia-kernel-1.0.3123-r2
media-libs/glut-3.7.1
media-libs/svgalib-1.9.16
kde-base/kdenetwork-3.1_rc5
x11-themes/mosfet-liquid-widgets-0.9.5-r1
kde-base/kdebindings-3.1_rc5
kde-base/arts-1.1.0_rc5
dev-java/blackdown-jdk-1.4.1_beta-r1
mozilla-1.2.1-r1
Comment 16 Dan Armak (RETIRED) gentoo-dev 2002-12-11 07:52:57 UTC
Hannes says rc5 has a new default font which doesn't suffer from this problem. I.e. 
the problem is still there for some fonts. 
Apparently freetype 2.1.3 has a fix for this matter. We'll work on getting it into portage. 
Comment 17 Guy 2002-12-14 21:27:00 UTC
FWIW - I am up to date on freetype-2.1.3 and I am not having any apparent font
problems in the applications I've checked. These include Kate, Konq and several
others. The version of KDE installed is 3.0.4.
Comment 18 Dan Armak (RETIRED) gentoo-dev 2003-01-31 06:46:15 UTC
OK, does anyone have any problems left? 
Comment 19 Peter Ruskin 2003-01-31 08:00:58 UTC
OK now...suggest you close bug
Comment 20 Guy 2003-01-31 19:04:40 UTC
Fine with me. :-)
Comment 21 Dan Armak (RETIRED) gentoo-dev 2003-02-21 11:31:33 UTC
OK :-)