diff options
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/fonts/fontExternalFont.svg')
-rw-r--r-- | extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/fonts/fontExternalFont.svg | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/fonts/fontExternalFont.svg b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/fonts/fontExternalFont.svg new file mode 100644 index 00000000000..42605b33711 --- /dev/null +++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd.editor/batik-1.7/samples/tests/spec/fonts/fontExternalFont.svg @@ -0,0 +1,60 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" +"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> + +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +--> +<!-- ========================================================================= --> +<!-- Render some <text> using a font referenced in an external --> +<!-- file. --> +<!-- --> +<!-- @author bella.robinson@cmis.csiro.au --> +<!-- @version $Id: fontExternalFont.svg 475477 2006-11-15 22:44:28Z cam $ --> +<!-- ========================================================================= --> +<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> + +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 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="50">Batik Batik</text> + + </g> + + <!-- ============================================================= --> + <!-- Batik sample mark --> + <!-- ============================================================= --> + <use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> + +</svg> |