Bug 209122

Summary: bad rendering of "View Patch" on kernel.org
Product: [Applications] konqueror Reporter: kt <konquerortest>
Component: khtmlAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: maksim
Priority: NOR    
Version First Reported In: 4.3.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
Screenshot from trunk

Description kt 2009-10-01 18:23:41 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

On kernel.org clicking on any of "View Patch" link (for example http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v2.6/patch-2.6.30.8.bz2 ) shows a list of files and on the right side of the page three columns with numbers.
On konqueror the numbers are not lined-up. See the attachment ...

thanks!
Comment 1 kt 2009-10-01 18:26:20 UTC
Created attachment 37299 [details]
screenshot

screenshot
Comment 2 Maksim Orlovich 2009-10-01 19:19:36 UTC
Thanks for the report. Pretty odd that this fails.
Comment 3 FiNeX 2009-10-01 23:30:41 UTC
Created attachment 37306 [details]
Screenshot from trunk

This screenshot is from trunk
Comment 4 Maksim Orlovich 2009-10-02 00:03:03 UTC
It may be up to the Qt version, or event FontConfig settings or such. It fails on my office machine (but not on my laptop!) and on that machine it's clear the font isn't spaced right/isn't fixed with --- the characters don't align right.
Comment 5 kt 2009-10-02 11:12:41 UTC
Ok, found the problem.
The stylesheet's page says "font-family: monospace" but Sans Serif font is used because this is the default configuration for Fixed Font on Debian (precisely "DejaVu Sans"). Then the bug is in Debian, konqueror "Fixed Font" must default to Monospace or DejaVu Sans Mono.
Tested FF and the same thing happens.

Thus I think this bug can be resolved as invalid :-)

Thanks for your feedbacks!