summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/text-intro-01-t.svg
blob: 7a1ef61f2e48a0b9a4942ae6dc1895e15c3c9d30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<!--======================================================================-->
<!--=  Copyright 2000 World Wide Web Consortium, (Massachusetts          =-->
<!--=  Institute of Technology, Institut National de Recherche en        =-->
<!--=  Informatique et en Automatique, Keio University). All Rights      =-->
<!--=  Reserved. See http://www.w3.org/Consortium/Legal/.                =-->
<!--======================================================================-->
<!-- ===================================================================== -->
<!-- text-i18n-BE-09.svg                                                   -->
<!-- renamed for 1.1 suite to text-intro-01-f.svg                          -->
<!-- renamed and split for svgt/b to text-intro-01-t.svg                 -->
<!-- Author : Jon Ferraiolo 06-Aug-2000                                    -->
<!-- 1.1 revision by Vincent Hardy                                         -->
<!-- Revised for svgt/b: Ola Andersson Jun/26/2002                         -->
<!-- converted to a font fallback test as text-intro-04-t already tested first choice fonts, CL -->
<!--======================================================================-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" version="1.1" baseProfile="basic">
	<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
		<OperatorScript version="$Revision: 1.5 $" testname="text-intro-01-t.svg">
			<Paragraph>
                Test left-to-right aspect of internationalized text.
            </Paragraph>
			<Paragraph>
                Various text strings in various languages appear. The main
                purpose of the test is to verify that the correct characters
                appear and that they appear in the correct order and orientation, even 
                though the first choice font does not have the right glyphs.
            </Paragraph>
			<Paragraph>
                Correct rendering requires that each character is rendered. it may be rendered 
                with the 'missing glyph' if no
                glyphs are found in the fonts listed in the content, or in any fallback font 
                that is available. The first choice font 
                is a special SVG font that only contains the 'missing glyph'. Missing glyph from 
                other fonts may conformantly be used, however.
            </Paragraph>
		</OperatorScript>
	</SVGTestCase>
	<title id="test-title">text-intro-01-t</title>
	<desc id="test-desc"> Test left-to-right aspect of internationalized text.</desc>
	<!--======================================================================-->
	<!--Content of Test Case follows...                  =====================-->
	<!--======================================================================-->
	<g id="test-body-content">
		<defs>
			<font id="Missy" horiz-adv-x="5">
				<font-face font-family="MissingInAction" font-weight="normal" font-style="normal" units-per-em="8" cap-height="8" x-height="4" ascent="8" descent="2" alphabetic="0" mathematical="4" ideographic="-2" hanging="8"/>
				<missing-glyph d="M1,3h2v2h-2z"/>
			</font>
		</defs>
		<text font-family="Arial" font-size="40" fill="red" x="5" y="40">Test left-to-right text.</text>
		<g font-size="30" font-family="MissingInAction, 'LucidaSansUnicode','MS-Gothic'">
			<text x="10" y="75">Polish: Mogę jeść szkło, i mi ...</text>
			<text x="10" y="110">Russian: Я могу есть стекло, ...</text>
			<text x="10" y="145" font-size="30">Greek: Μπορώ να φάω ...</text>
			<text x="10" y="180">Hebrew: אני יכול לאכול זכוכית ... </text>
			<text x="10" y="215">Yiddish: איך קען עסן גלאָז און ...</text>
		</g>
		<g font-size="30" font-family="MissingInAction, SimHei,'LucidaSansUnicode', 'Arial Unicode MS'">
			<text x="10" y="250">Chinese:我能吞下玻璃而不伤身体。</text>
		</g>
		<g font-size="30" font-family="MissingInAction, 'MS-Gothic','LucidaSansUnicode', 'Arial Unicode MS'">
			<text x="10" y="285" font-size="30">Japanese: 私はガラスを食べます。</text>
		</g>
	</g>
	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>