Bug 44393 - Rendering of non-proportional characters is not honored.
Summary: Rendering of non-proportional characters is not honored.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://www.cl.cam.ac.uk/~mgk25/ucs/ex...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 02:31 PDT by Fotis Georgatos
Modified: 2010-08-23 12:15 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fotis Georgatos 2010-08-22 02:31:45 PDT
Hi,

That URL is just one of many, containing many examples whereby the display problem exists.
Namely, characters that should be aligned vertically in the following test page, they are not:
http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt

This has been verified to happen with both these webkit versions: 
533.16 (Safari default macosx 10.6) AND 534.6+ (latest webkit)


A related bug may be that rendering of the following page on mobile devices (IPHONE, ANDROID)
does not appear correctly on the line containing "node state" (and only that line):
http://ganglia.lcg.cscs.ch/qtop_eco.html
I think this suggests that the problem can be isolated to the rendering of the horizontal dash: -
Interestingly, this bug DOES NOT manifest itself on  macbook' Safari etc.

cheers,
Fotis
Comment 1 Alexey Proskuryakov 2010-08-23 12:15:37 PDT
There is no fixed width font that contains all these characters. So, the browser uses multiple fonts, which naturally have differing metrics.

I think that there is no bug here, there is no reason to expect vertical alignment. I'm seeing the same behavior with Firefox on Mac OS X, and with IE on Windows.

A solution is to use HTML for formatted content, not plain text.