layout/reftests/text-svgglyphs/svg-glyph-basic.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-svgglyphs/svg-glyph-basic.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg">
     1.5 +  <style type="text/css">
     1.6 +    <![CDATA[
     1.7 +      @font-face {
     1.8 +        font-family: "Liberation";
     1.9 +        src:url(resources/svg.woff);
    1.10 +      }
    1.11 +      text
    1.12 +      {
    1.13 +        font-family: Liberation;
    1.14 +        font-size: 200px;
    1.15 +        stroke: black;
    1.16 +      }
    1.17 +    ]]>
    1.18 +  </style>
    1.19 +  <!--
    1.20 +      Test that SVG glyphs are being drawn instead of TrueType glyphs
    1.21 +      Also testing that this does not happen if the
    1.22 +      gfx.font_rendering.opentype_svg.enabled preference is set to true.
    1.23 +  -->
    1.24 +  <!-- glyphid -->
    1.25 +  <text x="0" y="200">
    1.26 +  L
    1.27 +  </text>
    1.28 +</svg>

mercurial