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+

Description mitz 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.
Comment 1 mitz 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).
Comment 2 mitz 2007-03-30 02:03:53 PDT
Created attachment 13885 [details]
Force ZWS glyph to have zero width
Comment 3 Dave Hyatt 2007-03-30 03:01:54 PDT
Comment on attachment 13885 [details]
Force ZWS glyph to have zero width

r=me
Comment 4 Alexey Proskuryakov 2007-03-31 01:15:58 PDT
Committed revision 20635.