[Webkit-unassigned] [Bug 144879] New: Text is misplaced when custom font does not have space glyph.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 11 11:34:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144879
Bug ID: 144879
Summary: Text is misplaced when custom font does not have space
glyph.
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zalan at apple.com
BreakingContext and RenderText::computePreferredLogicalWidths() pre-calculates space width and if the associated font does not have space glyph we initiate a fallback font even if the text does not need it. Since both the primary and the fallback fonts are used to figure out ascent/descent information for lines, if the fallback fonts' ascent/descent values are bigger, the line gets misplaced. (as opposed to where it would be placed, if the primary font had space glyph)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150511/64af7f1e/attachment.html>
More information about the webkit-unassigned
mailing list