Work around a Cocoa font parsing bug
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Mar 2015 19:58:37 +0000 (19:58 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Mar 2015 19:58:37 +0000 (19:58 +0000)
commite56669f76686d69817a895a1d64dcf8b942217fe
tree56c8cf3a734a9fbfb479457d1b41293149557d17
parentb443fea6db98e288b5d3aeb78c4a79abf7a2e224
Work around a Cocoa font parsing bug
https://bugs.webkit.org/show_bug.cgi?id=142446
Source/WebCore:

<rdar://problem/20086223>

Reviewed by Simon Fraser.

Work around a bug in Cocoa regarding font parsing.

* svg/SVGToOTFFontConversion.cpp:

LayoutTests:

Reviewed by Simon Fraser.

Adding a few extra tests for bits of SVG fonts that could use some more tests.

* svg/fonts/resources/svg-font-general.svg: Updated and moved from svg-font-horiz-origin-font.svg
* svg/fonts/svg-font-general.html: Updated and moved from svg-font-horiz-origin.html
* svg/fonts/svg-font-general-expected.html: Updated and moved from svg-font-horiz-origin-expected.html

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