OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" standalone="no"?> |
| 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" |
| 3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> |
| 4 |
| 5 <!-- |
| 6 |
| 7 Copyright 2001 The Apache Software Foundation |
| 8 |
| 9 Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 you may not use this file except in compliance with the License. |
| 11 You may obtain a copy of the License at |
| 12 |
| 13 http://www.apache.org/licenses/LICENSE-2.0 |
| 14 |
| 15 Unless required by applicable law or agreed to in writing, software |
| 16 distributed under the License is distributed on an "AS IS" BASIS, |
| 17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 See the License for the specific language governing permissions and |
| 19 limitations under the License. |
| 20 |
| 21 --> |
| 22 <!-- ========================================================================= -
-> |
| 23 <!-- Tests small font sizes (<1) with various text features. -
-> |
| 24 <!-- This is basically a copy of the textFeatures test file with a small -
-> |
| 25 <!-- viewbox set. -
-> |
| 26 <!-- -
-> |
| 27 <!-- @author bella.robinson@cmis.csiro.au -
-> |
| 28 <!-- @version $Id: smallFonts.svg,v 1.4 2004/08/18 07:12:21 vhardy Exp -
-> |
| 29 <!-- ========================================================================= -
-> |
| 30 |
| 31 <?xml-stylesheet type="text/css" href="../resources/test.css" ?> |
| 32 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" width="450" height="500" viewBox="0 0 9 10"> |
| 33 <!-- ============================================================= --> |
| 34 <!-- Test content --> |
| 35 <!-- ============================================================= --> |
| 36 |
| 37 <g id="testContent" stroke-width="0.01"> |
| 38 |
| 39 <g font-family="dialog" font-size="0.3" |
| 40 text-anchor="start" fill="MidnightBlue"> |
| 41 |
| 42 <text x="10%" y="10%"> |
| 43 <tspan dx="0.1" baseline-shift="super" font-size="0.2">superscript</tspa
n> and |
| 44 <tspan baseline-shift="sub" font-size="0.2">subscript</tspan> |
| 45 </text> |
| 46 |
| 47 </g> |
| 48 </g> |
| 49 </svg> |
OLD | NEW |