Closed Bug 3549 Opened 26 years ago Closed 26 years ago

Need a TextWidth() call that take word/letter spacing into account

Categories

(Core :: Layout, defect, P3)

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: mjudge)

Details

In a number of places in layout, we need to be able to measure text width for text as it is rendered (e.g. selection, caret), including word or letter spacing, small caps etc. There is currently no method, either in nsTextFrame, or GFX, that does the kind of stuff that TextFrame::PaintTextSlowly does for measuring text width, e.g. measuring the width of text that has word or letter spacing or small caps. This is the reason why selecting over text with letter spacing does bad stuff now.
Assignee: kipp → kostello
Assignee: kostello → sfraser
Target Milestone: M4
Based on your conversation with Kipp, I'm assigning this one to you
Assignee: sfraser → mjudge
Hardware: Macintosh → All
Mike, you've done this, right?
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Marking this fixed for Mike.
Status: RESOLVED → VERIFIED
Fixed in April 13th Build.
You need to log in before you can comment on or make changes to this bug.