Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / text-intro-01-t.svg
blob03d58903c10235b5fd4bd9b8e80e96c5a4bdf6f5
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 <!--======================================================================-->
4 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
5 <!--= Institute of Technology, Institut National de Recherche en =-->
6 <!--= Informatique et en Automatique, Keio University). All Rights =-->
7 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
8 <!--======================================================================-->
9 <!-- ===================================================================== -->
10 <!-- text-i18n-BE-09.svg -->
11 <!-- renamed for 1.1 suite to text-intro-01-f.svg -->
12 <!-- renamed and split for svgt/b to text-intro-01-t.svg -->
13 <!-- Author : Jon Ferraiolo 06-Aug-2000 -->
14 <!-- 1.1 revision by Vincent Hardy -->
15 <!-- Revised for svgt/b: Ola Andersson Jun/26/2002 -->
16 <!-- converted to a font fallback test as text-intro-04-t already tested first choice fonts, CL -->
17 <!--======================================================================-->
18 <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="tiny">
19 <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
20 <OperatorScript version="$Revision: 1.7 $" testname="text-intro-01-t.svg">
21 <Paragraph>
22 Test left-to-right aspect of internationalized text.
23 </Paragraph>
24 <Paragraph>
25 Various text strings in various languages appear. The main
26 purpose of the test is to verify that the correct characters
27 appear and that they appear in the correct order and orientation, even
28 though the first choice font does not have the right glyphs.
29 </Paragraph>
30 <Paragraph>
31 Correct rendering requires that each character is rendered. it may be rendered
32 with the 'missing glyph' if no
33 glyphs are found in the fonts listed in the content, or in any fallback font
34 that is available. The first choice font
35 is a special SVG font that only contains the 'missing glyph'. Missing glyph from
36 other fonts may conformantly be used, however.
37 </Paragraph>
38 </OperatorScript>
39 </SVGTestCase>
40 <title id="test-title">text-intro-01-t</title>
41 <desc id="test-desc"> Test left-to-right aspect of internationalized text.</desc>
42 <!--======================================================================-->
43 <!--Content of Test Case follows... =====================-->
44 <!--======================================================================-->
45 <defs>
46 <!-- Important SVGExotic font instead of relying on MS Office Fonts to be present -->
47 <font-face font-family="SVGExotic">
48 <font-face-src>
49 <font-face-uri xlink:href="resources/SVGExotic.svg#exotic"/>
50 </font-face-src>
51 </font-face>
52 </defs>
53 <g id="test-body-content">
54 <text font-family="Arial" font-size="40" fill="red" x="5" y="40">Test left-to-right text.</text>
55 <g font-size="17" font-family="SVGExotic">
56 <text x="10" y="75">Polish: Mogę jeść szkło, i mi ...</text>
57 <text x="10" y="110">Russian: Я могу есть стекло, ...</text>
58 <text x="10" y="145" font-size="17">Greek: Μπορώ να φάω ...</text>
59 <text x="10" y="180">Hebrew: אני יכול לאכול זכוכית ... </text>
60 <text x="10" y="215">Yiddish: איך קען עסן גלאָז און ...</text>
61 </g>
62 <g font-size="17" font-family="SVGExotic">
63 <text x="10" y="250">Chinese:我能吞下玻璃而不伤身体。</text>
64 </g>
65 <g font-size="17" font-family="SVGExotic">
66 <text x="10" y="285" font-size="17">Japanese: 私はガラスを食べます。</text>
67 </g>
68 </g>
69 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
70 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
71 </svg>