edburns%acm.org 687ec8a292 First import of the SVG pluglet. Compiles and works on win32.
git-svn-id: svn://10.0.0.236/trunk@96799 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 01:46:41 +00:00

51 lines
2.3 KiB
XML

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
"http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
<!-- ========================================================================= -->
<!-- Copyright (C) The Apache Software Foundation. All rights reserved. -->
<!-- -->
<!-- This software is published under the terms of the Apache Software License -->
<!-- version 1.1, a copy of which has been included with this distribution in -->
<!-- the LICENSE file. -->
<!-- ========================================================================= -->
<!-- ========================================================================= -->
<!-- Render some <text> using a font referenced in an external -->
<!-- file. -->
<!-- -->
<!-- @author bella.robinson@cmis.csiro.au -->
<!-- @version $Id: fontExternalFont.svg,v 1.1.1.1 2001-06-10 01:46:39 edburns%acm.org Exp $ -->
<!-- ========================================================================= -->
<?xml-stylesheet type="text/css" href="test.css" ?>
<svg id="body" width="450" height="500" viewBox="0 0 450 500">
<title>SVGFont - external font test</title>
<style type="text/css"><![CDATA[
]]></style>
<g id="content">
<text class="title" x="50%" y="40">External SVG Font Test</text>
<defs>
<font-face font-family="Batik SVGFont">
<font-face-src>
<font-face-uri xlink:href="batikFont.svg#Batik"/>
</font-face-src>
</font-face>
</defs>
<text x="80" y="250" font-family="'Batik SVGFont'" font-size="250">Batik Batik</text>
</g>
<!-- ============================================================= -->
<!-- Batik sample mark -->
<!-- ============================================================= -->
<use xlink:href="../batikLogo.svg#Batik_Tag_Box" />
</svg>