WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
183547
Reproducible phantom spaces are rendered using custom font
https://bugs.webkit.org/show_bug.cgi?id=183547
Summary
Reproducible phantom spaces are rendered using custom font
Xiaodi Wu
Reported
2018-03-11 13:16:12 PDT
Created
attachment 335543
[details]
Screenshot of errant space highlighted The same rendering issue does not occur using Chrome on the same machine. When CSS is enabled (under the "Develop" menu), some confluence of events causes Safari to render what appears to be an extra space, which is not present in the markup. The space can be highlighted, but Safari appears to think that the highlighted text is in fact the following glyph. Every subsequent glyph in the remainder of the line appears to be offset in relation to its highlight. This issue disappears upon disabling CSS, but reliably reappears in the same spot after re-enabling CSS. Attached is a screenshot of the relevant behavior. The URL for the document is (at present):
https://numerics.diploid.ca/floating-point-part-1.html
The relevant custom fonts are Source Sans Pro and, for monospace not used in that line, Inconsolata; both are loaded from Google Fonts. Expected behavior: Correct rendering of the text, with glyphs not offset from the highlight.
Attachments
Screenshot of errant space highlighted
(629.94 KB, image/png)
2018-03-11 13:16 PDT
,
Xiaodi Wu
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-03-11 16:48:59 PDT
<
rdar://problem/38359762
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug