Bug 154919

Summary: Konqueror wrong font rendering
Product: [Applications] konqueror Reporter: Luca Gambetta <l.gambetta>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andrey, christophe, gabriel_ambuehl, maksim, ms, shentey, sniffy
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The fonts are wrong
The html layout that's wrong rendered
Image of KDE 4.0.3 font bug in Konqueror.
Image of a KDE 4.0.3 font bug in System Monitor app.

Description Luca Gambetta 2008-01-01 10:11:20 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          GCC 4.2.2 
OS:                Linux

As you can see in the attached image, there are problems in font rendering.
Comment 1 Luca Gambetta 2008-01-01 10:12:21 UTC
Created attachment 22787 [details]
The fonts are wrong
Comment 2 Luca Gambetta 2008-01-01 10:15:17 UTC
Created attachment 22788 [details]
The html layout that's wrong rendered
Comment 3 Maksim Orlovich 2008-01-16 17:22:21 UTC
*** Bug 155916 has been marked as a duplicate of this bug. ***
Comment 4 Maksim Orlovich 2008-01-16 17:22:52 UTC
Can confirm after installing Tahoma... 
Comment 5 Luca Gambetta 2008-01-16 20:53:39 UTC
Interesting is that if I shrink the font size with ctrl+-, the fonts gets rendered correctly. But if I enlarge the font it isn't rendered the right way. 
Comment 6 Tommi Tervo 2008-01-17 13:22:42 UTC
*** Bug 155981 has been marked as a duplicate of this bug. ***
Comment 7 Andrey 2008-02-06 16:11:20 UTC
I have the same behavior with Lucida Grande font. When I set medium font size in Konqueror preferences to 11 I can reproduce the bug. When I set it to 10, the bug disappears.

Here's a screenshot of bugs.kde.org with 10th font: http://img137.imageshack.us/img137/9500/42568679id7.png

Here's the one with 11th font: http://img209.imageshack.us/img209/1340/15455107nk3.png

I've never seen such font rendering issues in other applications except Konqueror.
Comment 8 Tommi Tervo 2008-04-30 08:34:34 UTC
*** Bug 161446 has been marked as a duplicate of this bug. ***
Comment 9 klaatu 2008-05-06 03:32:01 UTC
Can't duplicate this in 4.0.3 with any variety of font settings.
Comment 10 Martin Sondergaard 2008-05-07 03:30:14 UTC
In Kubuntu 8.04, the live CD with KDE 4.0.3, there is a font rendering problem.
The default font used by Konqueror, DejaVu Sans, is shown incorrectly.  This makes it illegible.

I have seen the same problem on two different PCs.  These used different graphics cards, but both PCs used the same type of monitor, a big CRT monitor.  This font rendering problem may not happen on LCD monitors.

I think that other distros use different default fonts, and Konqueror uses this default font, StandardFont.  So other distros won't show this bug unless they use DejaVu Sans as the default.

Kubuntu 8.04 KDE4 Live displays this bug in a very prominent place, so I think this bug may be seen by many people.  (If other people see what I see.)
Comment 11 Martin Sondergaard 2008-05-07 03:33:38 UTC
Created attachment 24655 [details]
Image of KDE 4.0.3 font bug in Konqueror.
Comment 12 Martin Sondergaard 2008-05-07 03:38:44 UTC
Created attachment 24656 [details]
Image of a KDE 4.0.3 font bug in System Monitor app.

As well as the font rendering problem in Konqueror, the System Monitor also has
a font rendering problem.  It looks less dramatic in this app, but it may be
caused by the same code.  Look at the bottom of this image to see it.
Comment 13 Christophe Marin 2008-06-01 15:52:45 UTC
Can't reproduce in trunk (svn rev. 815196)

Tested with testcase in comment #2 and bugs.kde.org w/ different font sizes as suggested in comment #7.
Comment 14 Luca Gambetta 2008-06-01 19:07:31 UTC
For me this bug is closed. I tried the site with KDE 4.1 beta 1, Qt 4.4 on the same machine which previously I ran KDE 4.0 (qt 4.3).
Comment 15 Christophe Marin 2008-06-01 19:22:27 UTC
Fine, Closing then. Thank you for your feedback.