Test horiz-origin-x and horiz-origin-y in SVG fonts
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2015 18:21:36 +0000 (18:21 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2015 18:21:36 +0000 (18:21 +0000)
commit9b86a426aa53edc4e92437c28cabff87ded1ad26
treee7a879b50b0c278d7ecc8f02bbed8bb44228bfa1
parent4a347b377abf85bf7494c84f2964907686b92057
Test horiz-origin-x and horiz-origin-y in SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=142403

Source/WebCore:

Reviewed by Simon Fraser.

Remove incorrect comment.

Test: svg/fonts/svg-font-horiz-origin.html

* svg/SVGToOTFFontConversion.cpp:
(WebCore::CFFBuilder::CFFBuilder):

LayoutTests:

Simply moving to the origin in glyph-space at the beginning
of path parsing won't work if subsequent coordinates are absolute.

Reviewed by Simon Fraser.

* svg/fonts/resources/svg-font-horiz-origin-font.svg: Added.
* svg/fonts/svg-font-horiz-origin-expected.html: Added.
* svg/fonts/svg-font-horiz-origin.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/fonts/resources/svg-font-horiz-origin-font.svg [new file with mode: 0644]
LayoutTests/svg/fonts/svg-font-horiz-origin-expected.html [new file with mode: 0644]
LayoutTests/svg/fonts/svg-font-horiz-origin.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGToOTFFontConversion.cpp