| 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 |
Licensed to the Apache Software Foundation (ASF) under one or more |
| 8 |
contributor license agreements. See the NOTICE file distributed with |
| 9 |
this work for additional information regarding copyright ownership. |
| 10 |
The ASF licenses this file to You under the Apache License, Version 2.0 |
| 11 |
(the "License"); you may not use this file except in compliance with |
| 12 |
the License. You may obtain a copy of the License at |
| 13 |
|
| 14 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 15 |
|
| 16 |
Unless required by applicable law or agreed to in writing, software |
| 17 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 18 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 |
See the License for the specific language governing permissions and |
| 20 |
limitations under the License. |
| 21 |
|
| 22 |
--> |
| 23 |
<!-- ========================================================================= --> |
| 24 |
<!-- Test description here --> |
| 25 |
<!-- --> |
| 26 |
<!-- @author [email protected] --> |
| 27 |
<!-- @version $Id$ --> |
| 28 |
<!-- ========================================================================= --> |
| 29 |
<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> |
| 30 |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500"> |
| 31 |
<title>Text Font Faces and Styles</title> |
| 32 |
|
| 33 |
<!-- ============================================================= --> |
| 34 |
<!-- Test content --> |
| 35 |
<!-- ============================================================= --> |
| 36 |
|
| 37 |
<defs> |
| 38 |
<style type="text/css"><![CDATA[ |
| 39 |
.Caption { font-size: 8; font-family: dialog; font-weight: normal; |
| 40 |
font-style: normal; stroke: none; stroke-width: 0; |
| 41 |
fill: black } ]]> |
| 42 |
</style> |
| 43 |
|
| 44 |
<style type="text/css"><![CDATA[ |
| 45 |
.SansSerifPlain { font-family: SansSerif } ]]> |
| 46 |
</style> |
| 47 |
|
| 48 |
<style type="text/css"><![CDATA[ |
| 49 |
.SansSerifBold { font-family: SansSerif; font-weight: bold } ]]> |
| 50 |
</style> |
| 51 |
|
| 52 |
<style type="text/css"><![CDATA[ |
| 53 |
.SansSerifOblique { font-family: SansSerif; font-style: oblique } ]]> |
| 54 |
</style> |
| 55 |
|
| 56 |
<style type="text/css"><![CDATA[ |
| 57 |
.SerifPlain { font-family: Serif } ]]> |
| 58 |
</style> |
| 59 |
|
| 60 |
<style type="text/css"><![CDATA[ |
| 61 |
.SerifBold { font-family: Serif; font-weight: bold } ]]> |
| 62 |
</style> |
| 63 |
|
| 64 |
<style type="text/css"><![CDATA[ |
| 65 |
.SerifOblique { font-family: Serif; font-style: oblique } ]]> |
| 66 |
</style> |
| 67 |
|
| 68 |
<style type="text/css"><![CDATA[ |
| 69 |
.Monospaced { font-family: Monospaced } ]]> |
| 70 |
</style> |
| 71 |
|
| 72 |
<style type="text/css"><![CDATA[ |
| 73 |
.MonospacedBold { font-family: Monospaced; font-weight:bold } ]]> |
| 74 |
</style> |
| 75 |
|
| 76 |
<style type="text/css"><![CDATA[ |
| 77 |
.MonospacedOblique { font-family: Monospaced; font-style:oblique } ]]> |
| 78 |
</style> |
| 79 |
|
| 80 |
<style type="text/css"><![CDATA[ |
| 81 |
.Default { } ]]> |
| 82 |
</style> |
| 83 |
|
| 84 |
<style type="text/css"><![CDATA[ |
| 85 |
.DefaultBoldOblique { font-style: oblique; font-weight: bold } ]]> |
| 86 |
</style> |
| 87 |
|
| 88 |
<style type="text/css"><![CDATA[ |
| 89 |
.DefaultOutline { stroke-width: 1; stroke: black; fill: none } ]]> |
| 90 |
</style> |
| 91 |
|
| 92 |
<style type="text/css"><![CDATA[ |
| 93 |
.Times { font-family: Times } ]]> |
| 94 |
</style> |
| 95 |
|
| 96 |
<style type="text/css"><![CDATA[ |
| 97 |
.Arial { font-family: Arial } ]]> |
| 98 |
</style> |
| 99 |
|
| 100 |
<style type="text/css"><![CDATA[ |
| 101 |
.Verdana { font-family: Verdana } ]]> |
| 102 |
</style> |
| 103 |
|
| 104 |
<style type="text/css"><![CDATA[ |
| 105 |
.Helvetica { font-family: Helvetica } ]]> |
| 106 |
</style> |
| 107 |
|
| 108 |
<style type="text/css"><![CDATA[ |
| 109 |
.Impact { font-family: Impact } ]]> |
| 110 |
</style> |
| 111 |
|
| 112 |
<style type="text/css"><![CDATA[ |
| 113 |
.AvantGarde { font-family: AvantGarde } ]]> |
| 114 |
</style> |
| 115 |
|
| 116 |
<text x="0" y="0" text-anchor="middle" id="sample">sample</text> |
| 117 |
|
| 118 |
</defs> |
| 119 |
|
| 120 |
<g id="testContent" text-anchor="middle" font-size="30"> |
| 121 |
<text class="title" x="50%" y="10%" font-size="15" > |
| 122 |
Text Font Faces and Styles</text> |
| 123 |
|
| 124 |
<text x="50%" y="15%" font-size="10">Standard Font Faces</text> |
| 125 |
|
| 126 |
<g transform="translate(100, 110)" class="SansSerifPlain"> |
| 127 |
<use xlink:href="#sample"/> |
| 128 |
<text y="15" class="Caption">SansSerif, normal weight</text> |
| 129 |
</g> |
| 130 |
|
| 131 |
<g transform="translate(225, 110)" class="SansSerifBold"> |
| 132 |
<use xlink:href="#sample"/> |
| 133 |
<text y="15" class="Caption">SansSerif, bold</text> |
| 134 |
</g> |
| 135 |
|
| 136 |
<g transform="translate(350, 110)" class="SansSerifOblique"> |
| 137 |
<use xlink:href="#sample"/> |
| 138 |
<text y="15" class="Caption">SansSerif, oblique</text> |
| 139 |
</g> |
| 140 |
|
| 141 |
<g transform="translate(100, 160)" class="SerifPlain"> |
| 142 |
<use xlink:href="#sample"/> |
| 143 |
<text y="15" class="Caption">Serif, normal weight</text> |
| 144 |
</g> |
| 145 |
|
| 146 |
<g transform="translate(225, 160)" class="SerifBold"> |
| 147 |
<use xlink:href="#sample"/> |
| 148 |
<text y="15" class="Caption">Serif, bold</text> |
| 149 |
</g> |
| 150 |
|
| 151 |
<g transform="translate(350, 160)" class="SerifOblique"> |
| 152 |
<use xlink:href="#sample"/> |
| 153 |
<text y="15" class="Caption">Serif, oblique</text> |
| 154 |
</g> |
| 155 |
|
| 156 |
<g transform="translate(100, 210)" class="Monospaced"> |
| 157 |
<use xlink:href="#sample"/> |
| 158 |
<text y="15" class="Caption">Monospaced, normal weight</text> |
| 159 |
</g> |
| 160 |
|
| 161 |
<g transform="translate(225, 210)" class="MonospacedBold"> |
| 162 |
<use xlink:href="#sample"/> |
| 163 |
<text y="15" class="Caption">Monospaced, bold</text> |
| 164 |
</g> |
| 165 |
|
| 166 |
<g transform="translate(350, 210)" class="MonospacedOblique"> |
| 167 |
<use xlink:href="#sample"/> |
| 168 |
<text y="15" class="Caption">Monospaced, oblique</text> |
| 169 |
</g> |
| 170 |
|
| 171 |
<g transform="translate(100, 260)" class="Default"> |
| 172 |
<use xlink:href="#sample"/> |
| 173 |
<text y="15" class="Caption">(default)</text> |
| 174 |
</g> |
| 175 |
|
| 176 |
<g transform="translate(225, 260)" class="DefaultBoldOblique"> |
| 177 |
<use xlink:href="#sample"/> |
| 178 |
<text y="15" class="Caption">default, bold, oblique</text> |
| 179 |
</g> |
| 180 |
|
| 181 |
<g transform="translate(350, 260)" class="DefaultOutline"> |
| 182 |
<use xlink:href="#sample"/> |
| 183 |
<text y="15" class="Caption">stroke-width=1, fill=none</text> |
| 184 |
</g> |
| 185 |
|
| 186 |
<text x="50%" y="62%" font-size="10">Named Font Families</text> |
| 187 |
<text x="50%" y="65%" font-size="10" font-style="oblique"> |
| 188 |
(Not all typefaces are available on all systems.) |
| 189 |
</text> |
| 190 |
|
| 191 |
<g transform="translate(100, 360)" class="Times"> |
| 192 |
<use xlink:href="#sample"/> |
| 193 |
<text y="15" class="Caption">Times</text> |
| 194 |
</g> |
| 195 |
|
| 196 |
<g transform="translate(225, 360)" class="Verdana"> |
| 197 |
<use xlink:href="#sample"/> |
| 198 |
<text y="15" class="Caption">Verdana</text> |
| 199 |
</g> |
| 200 |
|
| 201 |
<g transform="translate(350, 360)" class="Helvetica"> |
| 202 |
<use xlink:href="#sample"/> |
| 203 |
<text y="15" class="Caption">Helvetica</text> |
| 204 |
</g> |
| 205 |
|
| 206 |
<g transform="translate(100, 410)" class="Arial"> |
| 207 |
<text><tref xlink:href="#sample" text-decoration="underline"/></text> |
| 208 |
<text y="15" class="Caption">Arial (underlined)</text> |
| 209 |
</g> |
| 210 |
|
| 211 |
<g transform="translate(225, 410)" class="Impact"> |
| 212 |
<use xlink:href="#sample"/> |
| 213 |
<text y="15" class="Caption">Impact</text> |
| 214 |
</g> |
| 215 |
|
| 216 |
<g transform="translate(350, 410)" class="AvantGarde"> |
| 217 |
<text><tref xlink:href="#sample" text-decoration="line-through"/></text> |
| 218 |
<text y="15" class="Caption">AvantGarde (line-through)</text> |
| 219 |
</g> |
| 220 |
|
| 221 |
</g> |
| 222 |
|
| 223 |
<!-- ============================================================= --> |
| 224 |
<!-- Batik sample mark --> |
| 225 |
<!-- ============================================================= --> |
| 226 |
<use xlink:href="../../../batikLogo.svg#Batik_Tag_Box" /> |
| 227 |
|
| 228 |
</svg> |