|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd" [ |
|
3 <!ENTITY % svgExt "| SVGTestCase"> |
|
4 <!ELEMENT SVGTestCase (OperatorScript)> |
|
5 <!ATTLIST SVGTestCase |
|
6 xmlns CDATA #REQUIRED |
|
7 > |
|
8 <!ELEMENT OperatorScript (Paragraph)*> |
|
9 <!ATTLIST OperatorScript |
|
10 version CDATA #IMPLIED |
|
11 testname CDATA #IMPLIED |
|
12 > |
|
13 <!ELEMENT Paragraph (#PCDATA)> |
|
14 ]> |
|
15 <!--======================================================================--> |
|
16 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =--> |
|
17 <!--= Institute of Technology, Institut National de Recherche en =--> |
|
18 <!--= Informatique et en Automatique, Keio University). All Rights =--> |
|
19 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> |
|
20 <!--======================================================================--> |
|
21 <!-- ===================================================================== --> |
|
22 <!-- Author : Jon Ferraiolo 06-Aug-2000 --> |
|
23 <!-- 1.1 revisions by Vincent Hardy, Chris Lilley --> |
|
24 <!--======================================================================--> |
|
25 <svg version="1.1" baseProfile="tiny" 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"> |
|
26 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/"> |
|
27 <OperatorScript version="$Revision: 1.9 $" testname="text-intro-01-t-a.svg"> |
|
28 <Paragraph> |
|
29 Test basic aspect of internationalized text. |
|
30 </Paragraph> |
|
31 <Paragraph> |
|
32 Various text strings in various languages appear. The main |
|
33 purpose of the test is to verify that the correct characters |
|
34 appear and that they appear in the correct order and orientation. |
|
35 </Paragraph> |
|
36 <Paragraph> |
|
37 Correct rendering requires that each character is rendered. It is not required that a given character |
|
38 be rendered with any particular font; just that it is rendered. |
|
39 It may be rendered with the 'missing glyph' if no |
|
40 glyphs are found in the fonts listed in the content, or in any fallback font that is available. |
|
41 </Paragraph> |
|
42 <Paragraph> |
|
43 A future version of this test |
|
44 might include all necessary glyphs as an SVG font. |
|
45 </Paragraph> |
|
46 </OperatorScript> |
|
47 </SVGTestCase> |
|
48 <title id="test-title">text-intro-04-t</title> |
|
49 <desc id="test-desc">Test basic of internationalized text.</desc> |
|
50 <!--======================================================================--> |
|
51 <!--Content of Test Case follows... =====================--> |
|
52 <!--======================================================================--> |
|
53 <g id="test-body-content"> |
|
54 <text font-family="Arial" font-size="16" fill="red" x="10" y="20">Test horizontal text.</text> |
|
55 <g font-size="17" font-family="'Arial Unicode MS', 'LucidaSansUnicode','MS-Gothic'"> |
|
56 <text x="10" y="60">Polish: Mogę jeść szkło, i mi nie szkodzi.</text> |
|
57 <text x="10" y="90">Russian: Я могу есть стекло, это мне не вредит.</text> |
|
58 <text x="10" y="120" font-size="15">Greek: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.</text> |
|
59 <!-- Greek and japanese smaller just to make it fit on the line --> |
|
60 <text x="10" y="150">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text> |
|
61 <text x="10" y="180">Yiddish: איך קען עסן גלאָז און עס טוט מיר נישט װײ.</text> |
|
62 <text x="10" y="210">Chinese:我能吞下玻璃而不伤身体。</text> |
|
63 <text x="10" y="240" font-size="15">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text> |
|
64 </g> |
|
65 </g> |
|
66 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text> |
|
67 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
|
68 </svg> |