blob: aa6610bf18f97abfc2ace19958ec38155575c2b7 (
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
33
34
35
36
37
38
39
|
<?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: "Estedad";
src: url("fonts/Estedad-Medium.ttf");
}
@font-face {
font-family: "Noto Sans";
src: url("fonts/NotoSans-Regular.ttf");
}
text {
font-family: Estedad;
font-size: 36px;
}
.title {
font-family: "Noto Sans";
text-anchor: middle;
}
</style>
<rect x="0" y="0" width="600" height="600" style="fill:white"/>
<g>
<text x="50" y="200">أبجد</text>
<text x="300" y="200" style="writing-mode:vertical-lr;">أبجد</text>
<text x="500" y="200" style="writing-mode:vertical-lr;text-orientation:upright">أبجد</text>
</g>
<text class="title" x="50%" y="120">RTL text in vertical mode</text>
</svg>
|