Closed
Bug 1122020
Opened 11 years ago
Closed 11 years ago
textRun bounding box does not take account of glyph positioning (x/y offsets in detailedGlyph records)
Categories
(Core :: Graphics: Text, defect)
Core
Graphics: Text
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: jfkthame, Assigned: jfkthame)
Details
Attachments
(1 file)
|
1.25 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
When handling detailedGlyph records, the code in gfxFont::Measure carefully sets up glyphPt for the adjusted position of a glyph, but then fails to apply it to the glyph's bounding box. :(
Example:
data:text/html,<div style="font:100px/2 Gentium Basic">
x&%23x301;&%23x301;&%23x301;&%23x301;
should display an "x" with 4 acute accents stacked above, but only the first two (and a fragment) are visible because of the unadjusted bounding box.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8549660 -
Flags: review?(roc)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #8549660 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
Target Milestone: --- → mozilla38
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•