Bug 13178

Summary: Helvetica zero-width space has non-zero width
Product: WebKit Reporter: mitz
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: jshin
Priority: P1    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: data:text/html,<span style="font-family: Helvetica">Zero&#x200b;&#x200b;&#x200b;&#x200b;width</span>
Attachments:
Description Flags
Force ZWS glyph to have zero width hyatt: review+

mitz
Reported 2007-03-24 03:14:36 PDT
Summary: Helvetica's zero-width space glyph has non-zero width. WebKit should ignore this and render it as zero-width.
Attachments
Force ZWS glyph to have zero width (45.88 KB, patch)
2007-03-30 02:03 PDT, mitz
hyatt: review+
mitz
Comment 1 2007-03-24 13:20:17 PDT
Note that this is a valid issue (and cannot be dismissed as a bug in the font) because (1) the simple text rendering code path replaces certain non-printing characters with the zero-width space glyph and (2) the complex (ATSUI) code path actually does force ZWS to have zero width regardless of the font (so there is inconsistency between the code paths).
mitz
Comment 2 2007-03-30 02:03:53 PDT
Created attachment 13885 [details] Force ZWS glyph to have zero width
Dave Hyatt
Comment 3 2007-03-30 03:01:54 PDT
Comment on attachment 13885 [details] Force ZWS glyph to have zero width r=me
Alexey Proskuryakov
Comment 4 2007-03-31 01:15:58 PDT
Committed revision 20635.
Note You need to log in before you can comment on or make changes to this bug.