Debian Codegraph @

test_non_regression/fail/text/text-intro-12-t.svg

raw
1 <svg version="1.1" baseProfile="tiny" id="svg-root"
2 width="100%" height="100%" viewBox="0 0 480 360"
3 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <!--======================================================================-->
5 <!--= SVG 1.1 2nd Edition Test Case =-->
6 <!--======================================================================-->
7 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =-->
8 <!--= Institute of Technology, European Research Consortium for =-->
9 <!--= Informatics and Mathematics (ERCIM), Keio University). =-->
10 <!--= All Rights Reserved. =-->
11 <!--= See http://www.w3.org/Consortium/Legal/. =-->
12 <!--======================================================================-->
13 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
14 template-version="1.4" reviewer="" author="CL" status="created"
15 version="$Revision: 1.3 $" testname="$RCSfile: text-intro-12-t.svg,v $">
16 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">
17 <p>
18 This test ensures that mandatory ligatures in Arabic are displayed.
19 This test uses downloaded WOFF fonts for rendering.
20 </p>
21 <p>
22 There are two subtests. The first
23 requires an isolate lam-alef ligature and the second requires
24 a right-joining lam-alef ligature.
25 </p>
26 <p>
27 The first subtest has the word for 'tools', آلات
28 0622: آ ARABIC LETTER ALEF WITH MADDA ABOVE
29 0644: ل ARABIC LETTER LAM
30 0627: ا ARABIC LETTER ALEF
31 062A: ت ARABIC LETTER TEH
32 </p>
33 <p>
34 The second subtest has the word for 'three', ثلاثة
35 062B: ث ARABIC LETTER THEH
36 0644: ل ARABIC LETTER LAM
37 0627: ا ARABIC LETTER ALEF
38 062B: ث ARABIC LETTER THEH
39 0629: ة ARABIC LETTER TEH MARBUTA
40 </p>
41 </d:testDescription>
42 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
43 <p>
44 Run the test. No interaction required.
45 </p>
46 </d:operatorScript>
47 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
48 <p>
49 The test is passed if subtests are displayed as following:
50 </p>
51 <ul>
52 <li>The first subtest has the word for 'tools', آلات</li>
53 <li>The second subtest has the word for 'three', ثلاثة</li>
54 </ul>
55 <p>In the first subtest, there must be an isolate lam-alef ligature
56 and in the second subtest there must be a right-joining lam-alef
57 ligature, as in the reference image.
58 </p>
59 </d:passCriteria>
60 </d:SVGTestCase>
61 <title id="test-title">$RCSfile: text-intro-12-t.svg,v $</title>
62 <defs>
63 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
64 <font-face-src>
65 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
66 </font-face-src>
67 </font-face>
68 </defs>
69 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
70 <style type="text/css">
71 @font-face {
72 font-family: Scheherazade;
73 src: url(woffs/ScheherazadeRegOT.woff) format("woff");
74 }
75 </style>
76 <g font-family="Scheherazade,serif" font-size="60" direction="rtl">
77 <path d="M10,120 L470,120" stroke="#BBB" />
78 <path d="M10,240 L470,240" stroke="#BBB" />
79 <text text-anchor="middle" x="240" y="120" font-size="140" xml:lang="ar" fill="#700">آلات</text>
80 <text text-anchor="middle" x="240" y="240" font-size="140" xml:lang="ar" fill="#700">ثلاثة</text>
81 </g>
82 </g>
83 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
84 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.3 $</text>
85 </g>
86 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
87 <!-- comment out this watermark once the test is approved -->
88 <g id="draft-watermark">
89 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
90 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
91 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
92 </g>
93 </svg>