Bug 302582

Summary: Justified wrap causes poor font rendering
Product: [Frameworks and Libraries] kwebkitpart Reporter: Luke-Jr <luke-jr+kdebugs>
Component: generalAssignee: webkit-devel
Status: RESOLVED WORKSFORME    
Severity: normal CC: adawit, cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
URL: http://luke.dashjr.org/tmp/screenshots/snapshot86.png
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: side-by-side screenshot chromium & konqueror+webkit

Description Luke-Jr 2012-06-26 17:49:13 UTC
Example website: http://bitcoinmagazine.net/bitcoin-introduction-pooled-mining/

Not sure what version this regressed in, as I was using Chromium until updating to KDE 4.8.

Reproducible: Always
Comment 1 Luke-Jr 2012-06-26 17:49:34 UTC
Also note KHTML renders it fine.
Comment 2 Christoph Feck 2012-06-26 21:14:39 UTC
Here, it is the other way around. WebKit renders justification just fine, while with KHTML the text appears unaligned at the right side.
Comment 3 Luke-Jr 2012-06-26 21:17:58 UTC
Observe (screenshot linked) that WebKit is justifying it fine; the font is just corrupted somehow. (KHTML also justifies fine)
Comment 4 Dawit Alemayehu 2012-07-16 14:15:30 UTC
Cannot reproduce. I get the same exact rendering as Chromium. What version of Qt are you using ?
Comment 5 Luke-Jr 2012-07-16 16:34:57 UTC
4.8.1
Comment 6 Dawit Alemayehu 2012-08-01 15:04:23 UTC
(In reply to comment #3)
> Observe (screenshot linked) that WebKit is justifying it fine; the font is
> just corrupted somehow. (KHTML also justifies fine)

Did you forget to attach the screenshot ? There is a known font justification issue[1] in QtWebKit 2.2.0 (which is what is included with Qt 4.8), but I cannot personally reproduce this particular problem with QtWebKit 2.2.0 either.

[1] https://bugs.kde.org/show_bug.cgi?id=291277
Comment 7 Dawit Alemayehu 2012-09-07 17:41:17 UTC
See comment# 6
Comment 8 Luke-Jr 2012-09-07 18:11:41 UTC
The screenshot has been linked since the first post: http://luke.dashjr.org/tmp/screenshots/snapshot86.png
Comment 9 Dawit Alemayehu 2012-09-07 18:22:02 UTC
(In reply to comment #8)
> The screenshot has been linked since the first post:
> http://luke.dashjr.org/tmp/screenshots/snapshot86.png

Hmm... I did not see or expect the screenshot to be there. Anyhow, I cannot reproduce this problem. See the attached screenshot that does a side by side comparison of Chromium vs Konquero + webkit engine.
Comment 10 Dawit Alemayehu 2012-09-07 18:24:06 UTC
Created attachment 73725 [details]
side-by-side screenshot chromium & konqueror+webkit