summaryrefslogtreecommitdiffstats
path: root/svgio/qa/cppunit/data/em_units.svg
blob: 1ad4d3e3a7692cbf40320213d8f7b272fc4e520d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<svg xmlns="http://www.w3.org/2000/svg" width="10cm" height="10cm">

  <style>
    text {font-family: sans-serif; font-size: 36pt;}
    new {font-family: sans-serif; font-size: 1em;}
  </style>

  <line x1="5cm" y1="5cm" x2="8cm" y2="5cm" stroke="black" />
  <!-- 0.5in = 1.27cm = 36pt !-->
  <line x1="5cm" y1="6.27cm" x2="8cm" y2="6.27cm" stroke="black" />
  <text x="5cm" y="5cm" class="new">AWlll<tspan x="5cm" dy="1em">AWlll</tspan>
  </text>
</svg>