Code

modified the svg file used for testing of SVGFonts
authorJucaBlues <JucaBlues@users.sourceforge.net>
Tue, 13 May 2008 03:09:37 +0000 (03:09 +0000)
committerJucaBlues <JucaBlues@users.sourceforge.net>
Tue, 13 May 2008 03:09:37 +0000 (03:09 +0000)
share/examples/svgfont.svg

index 224d341f0cb5d28dee8dfef0902ee36b28eb689d..4e9a06eab2009bb0a74ac952f9f13e0266a8c4c6 100644 (file)
            <font-face-name name="Super Sans Bold"/>
          </font-face-src>
        </font-face>
-       <missing-glyph d="M0,0h200v200h-200z"/>
-       <glyph unicode="!" horiz-adv-x="300"><!-- Outline of exclam. pt. glyph --></glyph>
-       <glyph unicode="@"><!-- Outline of @ glyph --></glyph>
-       <hkern u1="@" u2="!" k="24" />
-       <vkern u2="asd%" g2="a!" k="224" />
-       <!-- more glyphs -->
+       <!--<missing-glyph d="M0,0h200v200h-200z"/>--><!--  uncomment this line in orther to test missing-glyph -->
+       <glyph unicode="!" d="M0,0h500v500h-500z"><circle r='500' cx='500' cy='500' style="fill:none;stroke:green;"/></glyph>
+       <glyph unicode="@" d="M500,500h500v500h-500z"><circle r='250' cx='500' cy='500' style="fill:blue;"/></glyph>
+       <!--<hkern u1="!" u2="@" k="1000" />--><!-- uncomment this line in orther to test horizontal kerning-->
+
     </font>
   </defs>
   <text x="100" y="100"
-            style="font-family: 'Super Sans', Helvetica, sans-serif;
-                    font-weight: bold; font-style: normal">Text
-    using embedded font</text>
+            style="font-family: 'Super Sans';font-weight: bold; font-style: normal;fill:red;">A!@A</text>
 </svg>