Bug 137095 - [SVG -> OTF Converter] Glyphs get clipped weirdly
Summary: [SVG -> OTF Converter] Glyphs get clipped weirdly
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
: 140593 (view as bug list)
Depends on:
Blocks: 140592
  Show dependency treegraph
Reported: 2014-09-24 17:26 PDT by Myles C. Maxfield
Modified: 2015-01-19 08:32 PST (History)
7 users (show)

See Also:

Patch (5.39 KB, patch)
2015-01-18 16:58 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (5.43 KB, patch)
2015-01-18 18:47 PST, Myles C. Maxfield
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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):


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]
Comment 6 Myles C. Maxfield 2015-01-18 17:00:05 PST
Comment on attachment 244869 [details]

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]
Comment 8 WebKit Commit Bot 2015-01-19 08:32:23 PST
Comment on attachment 244874 [details]

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.