| 1 |
<svg id="svg-root" width="100%" height="100%" |
| 2 |
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" |
| 3 |
xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
<d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" |
| 12 |
template-version="1.4" reviewer="AG" author="CL" status="accepted" |
| 13 |
version="$Revision: 1.2 $" testname="$RCSfile: text-intro-07-t.svg,v $"> |
| 14 |
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#CharactersAndGlyphs"> |
| 15 |
<p>This test ensures that mandatory ligatures in Arabic are displayed.</p> |
| 16 |
<p> |
| 17 |
There are two subtests. The first requires an isolate lam-alef ligature |
| 18 |
and the second requires a right-joining lam-alef ligature. |
| 19 |
</p> |
| 20 |
</d:testDescription> |
| 21 |
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml"> |
| 22 |
<p>Run the test. No interaction required.</p> |
| 23 |
</d:operatorScript> |
| 24 |
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml"> |
| 25 |
<p> |
| 26 |
The test is passed if subtests are displayed as following: |
| 27 |
</p> |
| 28 |
<ul> |
| 29 |
<li>The first subtest has the word for 'tools', آلات</li> |
| 30 |
<li>The second subtest has the word for 'three', ثلاثة</li> |
| 31 |
</ul> |
| 32 |
</d:passCriteria> |
| 33 |
</d:SVGTestCase> |
| 34 |
<title id="test-title">$RCSfile: text-intro-07-t.svg,v $</title> |
| 35 |
<defs> |
| 36 |
<font-face |
| 37 |
font-family="SVGFreeSansASCII" |
| 38 |
unicode-range="U+0-7F"> |
| 39 |
<font-face-src> |
| 40 |
<font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> |
| 41 |
</font-face-src> |
| 42 |
</font-face> |
| 43 |
</defs> |
| 44 |
<g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> |
| 45 |
|
| 46 |
<g font-family="Andalus,Diwani Letter,serif"> |
| 47 |
<path d="M10,120 L470,120" stroke="#BBB" /> |
| 48 |
<path d="M10,240 L470,240" stroke="#BBB" /> |
| 49 |
<text text-anchor="middle" x="240" y="120" font-size="140" xml:lang="ar" fill="#700">آلات</text> |
| 50 |
<text text-anchor="middle" x="240" y="240" font-size="140" xml:lang="ar" fill="#700">ثلاثة</text> |
| 51 |
</g> |
| 52 |
|
| 53 |
</g> |
| 54 |
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> |
| 55 |
<text id="revision" x="10" y="340" stroke="none" |
| 56 |
fill="black">$Revision: 1.2 $</text> |
| 57 |
</g> |
| 58 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
</svg> |