Closed Bug 2445 Opened 26 years ago Closed 26 years ago

Underline is not displayed correctly

Categories

(Core Graveyard :: GFX, defect, P3)

PowerPC
All
defect

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: pierre, Assigned: peterl-retired)

Details

In TextFrame::PaintTextDecorations(), we draw the underline as a simple rectangle. This is not correct, at least on the Mac, where the underline is a broken line under letters with a downstroke (pgjQq...). We should use NS_FONT_DECORATION_UNDERLINE and let the rendering context do the right thing.
OS: All
Priority: P2 → P3
I forgot to reduce the default priority... Feel free to reduce it even more.
Assignee: kipp → peterl
either reject this or... I get to say I told you so :-)
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
Closed as WontFix. We can't let the OS draw the underline: the text decorations are drawn by Layout to support HTML 4.0 (the underline can be of a different color from the text, for instance)
Status: RESOLVED → VERIFIED
Marking Verified/Won't Fix.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.