diff options
| author | Khaled Hosny <khaledhosny@eglug.org> | 2017-08-15 20:41:53 +0000 |
|---|---|---|
| committer | Khaled Hosny <khaledhosny@eglug.org> | 2017-08-19 15:38:53 +0000 |
| commit | f7e6b3725686becd2b8d034cc572417e5a272cba (patch) | |
| tree | 3847f638d00c86f6d2d3776dc2e02533d092ad23 /testfiles/rendering_tests/test-rtl-vertical.svg | |
| parent | Fix inverted y sign for glyph positioning (diff) | |
| download | inkscape-f7e6b3725686becd2b8d034cc572417e5a272cba.tar.gz inkscape-f7e6b3725686becd2b8d034cc572417e5a272cba.zip | |
Fix RTL glyph widths in vertical orientation
The vertical branch seems to be broken, removing it makes RTL text in
vertical orientation work again.
Diffstat (limited to 'testfiles/rendering_tests/test-rtl-vertical.svg')
| -rw-r--r-- | testfiles/rendering_tests/test-rtl-vertical.svg | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testfiles/rendering_tests/test-rtl-vertical.svg b/testfiles/rendering_tests/test-rtl-vertical.svg new file mode 100644 index 000000000..feb454ed6 --- /dev/null +++ b/testfiles/rendering_tests/test-rtl-vertical.svg @@ -0,0 +1,25 @@ +<?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"> + text { + font-family: DejaVu Sans; + font-size: 36px; + } + .title { + text-anchor: middle; + } + </style> + + <g> + <text x="50" y="200">أبجد</text> + <text x="300" y="200" style="writing-mode:vertical-lr;">أبجد</text> + </g> + + <text class="title" x="50%" y="120">RTL text in vertical mode</text> + +</svg> |
