Bug 137095

Summary: [SVG -> OTF Converter] Glyphs get clipped weirdly
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: Layout and RenderingAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, jonlee, kling, koivisto, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 140592    
Attachments:
Description Flags
Patch
none
Patch none

Description Myles C. Maxfield 2014-09-24 17:26:55 PDT
The following test fails because of this (when the SVG -> OTF converter is turned on):

svg/W3C-SVG-1.1/fonts-kern-01-t.svg

Resizing the browser might be necessary.
Comment 1 Myles C. Maxfield 2014-09-24 17:29:40 PDT
svg/custom/svg-fonts-fallback.xhtml also fails when the converter is on, and might be related.
Comment 2 Myles C. Maxfield 2015-01-17 21:56:53 PST
*** Bug 140593 has been marked as a duplicate of this bug. ***
Comment 3 Myles C. Maxfield 2015-01-17 22:03:49 PST
See svg/text/kerning.svg and svg/text/multichar-glyph.svg in Safari (NOT MiniBrowser!)
Comment 4 Myles C. Maxfield 2015-01-18 16:37:32 PST
This is due to the bounding box values written in SVGToOTFFontConverter::appendCFFTable()
Comment 5 Myles C. Maxfield 2015-01-18 16:58:48 PST
Created attachment 244869 [details]
Patch
Comment 6 Myles C. Maxfield 2015-01-18 17:00:05 PST
Comment on attachment 244869 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=244869&action=review

> Source/WebCore/ChangeLog:12
> +        Test: svg/text/kerning.svg

Also svg/W3C-SVG-1.1/fonts-kern-01-t.svg
Comment 7 Myles C. Maxfield 2015-01-18 18:47:20 PST
Created attachment 244874 [details]
Patch
Comment 8 WebKit Commit Bot 2015-01-19 08:32:23 PST
Comment on attachment 244874 [details]
Patch

Clearing flags on attachment: 244874

Committed r178647: <http://trac.webkit.org/changeset/178647>
Comment 9 WebKit Commit Bot 2015-01-19 08:32:28 PST
All reviewed patches have been landed.  Closing bug.