[Webkit-unassigned] [Bug 16768] Position and thickness of underline as text size changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 6 17:20:39 PDT 2009


--- Comment #32 from mitz at webkit.org  2009-10-06 17:20:38 PDT ---
> I am curious how you arrived at the formulas for m_underlinePosition and
> m_underlineThickness. Do they match what AppKit does on Mac OS X? In particular
> I don’t think AppKit derives the underline position from the font’s
> -underlinePosition.

For example, looking at the expected image for
fast/text/international/rtl-white-space-pre-wrap.html in attachment 40714, the
underline is 1px thick, but when I type the same text in TextEdit in the same
font and size, I get a 2px-thick underline.

Should this apply to other text decorations? AppKit scales up strikethrough
lines as well.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list