Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353494 - kde 4.6 - problem with rendering of bitmap fonts
Summary: kde 4.6 - problem with rendering of bitmap fonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-02 09:13 UTC by vpiotr
Modified: 2011-04-03 19:00 UTC (History)
1 user (show)

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


Attachments
"Animation" showing the problem (font_problem.png,2.30 KB, image/png)
2011-02-02 09:14 UTC, vpiotr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vpiotr 2011-02-02 09:13:45 UTC
After upgrading KDE to 4.6 and QT to 4.7.1, something bad happened with how Terminus font is rendered on Konsole. Attached image shows an "animation" of what happenes when cursor is moved over a text - highlited character moves to the left and whole line of text moves with it.

Same thing happens with font "-schumacher-clean-*"

Software:

KDE 4.6
QT 4.7.1
xorg-server 1.9.2
x11-libs/libXfont 1.4.3
media-fonts/terminus-font 4.32 (tested with 4.30 too - same thing)
Comment 1 vpiotr 2011-02-02 09:14:10 UTC
Created attachment 261326 [details]
"Animation" showing the problem
Comment 2 vpiotr 2011-02-10 08:20:28 UTC
Few additional facts:
* It seems that this problem can be observed in Konsole only. KWrite works fine.
* It doesn't matter what the text size is. Anything between 9 and 16 points (including fractions) gives the same result.
* all tested on nvidia proprietary drivers
Comment 3 vpiotr 2011-02-10 09:08:07 UTC
Just found a workaround: set DPI in system settings (KDE) to 96, and it appears that following Terminus font sizes work well now: 9, 10.5, 12, 15, 16.5. Other sizes produce the same effect as before.
Comment 4 Matthias Maier gentoo-dev 2011-02-24 08:57:07 UTC
I can reproduce this bug with

kde-*/*-4.6.0
x11-libs/qt-*-4.7.1
x11-base/xorg-server-1.9.4
x11-libs/libXfont-1.4.3

and the proprietary nvidia-drivers-260.19.29.
The spacing between the cursor and neighboring glyphs and the position of the hilighted glyph in the cursor are wrong.
An additional effect seems to be very slow font rendering compared to prior qt/kde-versions.
Comment 5 vpiotr 2011-02-24 16:10:33 UTC
I saw that "additional effect" too. But after setting font size to one that renders well, everything started to work fast again.

Hint: On another machine I had to set "Force fonts DPI" to 96 to be able to choose a font size that renders well.

Those two machines had different GPUs, drivers used:
* x11-drivers/xf86-video-intel-2.14.0
* x11-drivers/nvidia-drivers-260.19.29
Comment 6 Matthias Maier gentoo-dev 2011-03-04 10:23:37 UTC
This issue is fixed for me with the latest update to x11-libs/qt*-4.7.2 
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-04-03 19:00:26 UTC
(In reply to comment #6)
> This issue is fixed for me with the latest update to x11-libs/qt*-4.7.2 

Ok, resolving then. Please reopen if you disagree.