Skip to content
  • krit@webkit.org's avatar
    2010-03-12 Dirk Schulze <krit@webkit.org> · 65316421
    krit@webkit.org authored
            Reviewed by Nikolas Zimmermann.
    
            SVG Glyphs - transform path not context
            https://bugs.webkit.org/show_bug.cgi?id=36070
    
            SVGFont should transform the path of a glyph, not the context. Modifying
            the context causes wrong gradient transformations. This bug doesn't
            influence CG because we generally fill or stroke texts with a mask image.
            All other platforms provide a direct way to make the drawings.
    
            * svg/SVGFont.cpp:
            (WebCore::Font::drawTextUsingSVGFont):
    2010-03-12  Dirk Schulze  <krit@webkit.org>
    
            Reviewed by Nikolas Zimmermann.
    
            SVG Glyphs - transform path not context
            https://bugs.webkit.org/show_bug.cgi?id=36070
    
            Some tests don't look pixel perfect after the SVGFont changes (difference of 0.1%).
            They just need an update.
            Tests for the changes on other platforms than CG are
                * svg/batik/text/textEffect.svg
                * svg/batik/text/textEffect3.svg
                * svg/W3C-SVG-1.1/pservers-grad-08-b.svg
    
            * platform/mac-leopard/svg/custom/svg-fonts-in-html-expected.checksum:
            * platform/mac-leopard/svg/custom/svg-fonts-in-html-expected.png:
            * platform/mac/svg/W3C-SVG-1.1/animate-elem-03-t-expected.checksum:
            * platform/mac/svg/W3C-SVG-1.1/animate-elem-03-t-expected.png:
            * platform/mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.checksum:
            * platform/mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png:
            * platform/mac/svg/W3C-SVG-1.1/animate-elem-40-t-expected.checksum:
            * platform/mac/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png:
            * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum:
            * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
            * platform/mac/svg/batik/text/textEffect-expected.checksum:
            * platform/mac/svg/batik/text/textEffect-expected.png:
            * platform/mac/svg/batik/text/textEffect3-expected.checksum:
            * platform/mac/svg/batik/text/textEffect3-expected.png:
            * platform/mac/svg/text/selection-doubleclick-expected.png:
            * platform/mac/svg/text/selection-tripleclick-expected.png:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    65316421