Reviewed by Oliver Hunt.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2008 03:38:11 +0000 (03:38 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2008 03:38:11 +0000 (03:38 +0000)
commit5e0f620c8541d371c2d7dec22f56e1dacd0f6bcc
tree8642de24b9dcf13b629b318d0ff9a5ecac570b76
parenteee49e86f921216840ac3872d2b3ecb27c67d110
    Reviewed by Oliver Hunt.

        - fix an assertion failure in svg/W3C-SVG-1.1/fonts-elem-03-b.svg on
          Tiger and multiple SVG layout test failures on Leopard.

        * css/CSSSegmentedFontFace.cpp:
        (WebCore::CSSSegmentedFontFace::getFontData): Avoid returning an
        empty SegmentedFontData.
        * platform/graphics/mac/FontCustomPlatformData.cpp:
        (WebCore::createFontCustomPlatformData): Avoid creating a font that
        contains no glyphs. On Leopard, ATS might create such a font given
        data in an unsupported format (such as SVG).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/css/CSSSegmentedFontFace.cpp
WebCore/platform/graphics/mac/FontCustomPlatformData.cpp