A quick text dx attribute test.
authortbah <tavmjong@free.fr>
Tue, 24 Jul 2012 16:16:02 +0200
changeset 27 5001557a9546
parent 26 a4df8a2ecd18
child 28 ffe1f528f133
A quick text dx attribute test.
contributors/tavmjong/incoming/text-dx-001.svg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contributors/tavmjong/incoming/text-dx-001.svg	Tue Jul 24 16:16:02 2012 +0200
@@ -0,0 +1,53 @@
+<svg id="svg-root"
+  width="100%" height="100%" viewBox="0 0 480 360"
+  xmlns="http://www.w3.org/2000/svg" 
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <g id="testmeta">
+    <title>Text: Test of 'dx' with Ligatures and Diacritics</title>
+    <link rel="copyright"
+          href="@@link to copyright page to be [email protected]@"/>
+    <link rel="license"
+          href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html"/>
+    <link rel="author"
+          title="Tavmjong Bah"
+          href="[email protected]"/>
+    <link rel="reviewer"
+          title="NAME_OF_REVIEWER"
+          href="mailto:EMAIL OR http://CONTACT_PAGE" />
+          <!-- YYYY-MM-DD -->
+    <link rel="help"
+          href="RELEVANT_SPEC_SECTION"/>
+    <link rel="match"  href="RELATIVE_PATH_TO_REFERENCE_FILE" />
+    <link rel="mismatch" href="RELATIVE_PATH_TO_REFERENCE_FILE" />
+    <metadata class="flags">TOKENS</metadata>
+    <desc class="assert">TEST ASSERTION</desc>
+  </g>
+
+  <text id="title" x="240" y="50" style="fill:black; font-size:24px; text-anchor:middle;">Text: 'dx' with Ligatures and Diacritics</text>
+
+  <g id="test-body-content" style="font-family:DejaVu Sans; text-anchor:middle">
+    <text x="200" y="100">Ligature</text>
+    <text x="300" y="100">Combining</text>
+    <text x="400" y="100">Precomposed</text>
+
+    <text x="200" y="120">|</text>
+    <text x="300" y="120">|</text>
+    <text x="400" y="120">|</text>
+
+    <text x="100" y="140">No 'dx':</text>
+    <text x="200" y="140">Office</text>
+    <text x="300" y="140">A̋</text>
+    <text x="400" y="140">Ä</text>
+
+    <text x="100" y="160">With 'dx':</text>
+    <text x="200" y="160" dx="2,2,2,2,2,2">Office</text>
+    <text x="300" y="160" dx="0, 20">A̋</text>
+    <text x="400" y="160" dx="0, 20">Ä</text>
+
+  </g>
+
+  <text id="requirement" x="240" y="300" text-anchor="middle">Requires DejaVu Sans to be installed.</text>
+  <text id="requirement" x="240" y="320" text-anchor="middle">(Or that a font with diacritical markings be used.)</text>
+
+</svg>