summaryrefslogtreecommitdiffstats
path: root/testfiles/rendering_tests/test-glyph-y-pos.svg
blob: 6f44ef851ecfd404eda4e0b888bee910f74ae36f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<svg width="600" height="600"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   version="1.1"
   viewBox="0 0 600 600">
  <style type="text/css">
    @font-face {
      font-family: "Noto Sans";
      src: url("fonts/NotoSans-Regular.ttf");
    }

    text {
      font-family: Noto Sans;
      font-size: 36px;
    }
    .title {
      text-anchor: middle;
    }
  </style>

  <rect x="0" y="0" width="600" height="600" style="fill:white"/>
  <g>
    <text x="50"  y="200">G̃g̃X̃x̃</text>
    <text x="300" y="200" style="writing-mode:vertical-lr;">G̃g̃X̃x̃</text>
    <text x="500" y="200" style="writing-mode:vertical-lr;text-orientation:upright">G̃g̃X̃x̃</text>
  </g>

  <text class="title" x="50%" y="120">Composed Glyphs</text>

</svg>