WebCore:
Reviewed by Adam Roben.
- fix svg/W3C-SVG-1.1/fonts-glyph-04-t.svg failure on Windows
The results differed between Mac OS X and Windows because the code was
using a 0-size font, which Mac OS X changes to 12pt.
* svg/SVGFont.cpp:
(WebCore::floatWidthMissingGlyphCallback): Use the font description of
the primary font to initialize the fallback font.
(WebCore::drawTextMissingGlyphCallback): Ditto.
LayoutTests:
Reviewed by Adam Roben.
- updated results for a test that was failing on Windows
* platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4 files changed