summaryrefslogtreecommitdiff
path: root/rsvg/tests/fixtures/text/bug804-tspan-direction-change.svg
diff options
context:
space:
mode:
Diffstat (limited to 'rsvg/tests/fixtures/text/bug804-tspan-direction-change.svg')
-rw-r--r--rsvg/tests/fixtures/text/bug804-tspan-direction-change.svg16
1 files changed, 16 insertions, 0 deletions
diff --git a/rsvg/tests/fixtures/text/bug804-tspan-direction-change.svg b/rsvg/tests/fixtures/text/bug804-tspan-direction-change.svg
new file mode 100644
index 00000000..1620bd7d
--- /dev/null
+++ b/rsvg/tests/fixtures/text/bug804-tspan-direction-change.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg xmlns="http://www.w3.org/2000/svg"
+ width="600" height="72" viewBox="0 0 600 72"
+ direction="rtl" xml:lang="he">
+
+ <title direction="ltr" xml:lang="en">Right-to-left Text</title>
+ <desc direction="ltr" xml:lang="en">
+ An example for using the 'direction' and 'unicode-bidi' properties
+ in documents that predominantly use right-to-left languages.
+ </desc>
+
+ <text x="100" y="50" text-anchor="end" font-size="20"> כתובת MAC:&#x200F;
+ <tspan direction="ltr" unicode-bidi="embed">00-24-AF-2A-55-FC</tspan>
+ </text>
+
+</svg>