Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / W3C-SVG-1.1 / resources / text-intro-01-f.svg
blobf28b9acabc78b2eb4e9e8078add897106d8cd11a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4 <!--======================================================================-->
5 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
6 <!--= Institute of Technology, Institut National de Recherche en =-->
7 <!--= Informatique et en Automatique, Keio University). All Rights =-->
8 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
9 <!--======================================================================-->
10 <!-- ===================================================================== -->
11 <!-- -->
12 <!-- text-i18n-BE-09.svg -->
13 <!-- renamed for 1.1 suite to text-intro-01-f.svg -->
14 <!-- -->
15 <!-- Test various aspects of internationalized text, including -->
16 <!-- left-to-right, right-to-left, top-to-bottom, and the -->
17 <!-- following properties: 'writing-mode', -->
18 <!-- 'glyph-orientation-vertical', 'glyph-orientation-horizontal', -->
19 <!-- 'direction' and 'unicode-bidi'. -->
20 <!-- -->
21 <!-- Author : Jon Ferraiolo 06-Aug-2000 -->
22 <!-- 1.1 revision by Vincent Hardy -->
23 <!-- -->
24 <!-- History: -->
25 <!-- 06-Aug-2000, JF: Serial#1 created. -->
26 <!-- 19-Aug-2000, LH: fix missing </g>. -->
27 <!-- -->
28 <!-- ===================================================================== -->
29 <!--======================================================================-->
30 <!--= Note. After October 2000, revision history is kept as CVS 'commit' =-->
31 <!--= log messages, and therefore is no longer in the preceding preamble.=-->
32 <!--======================================================================-->
33 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="480" height="360">
34 <SVGTestCase chapter="text" focus="i18n" testType="BE" BENumber="09" >
35 <OperatorScript>
36 <Paragraph>
37 Test various aspects of internationalized text, including
38 left-to-right, right-to-left, top-to-bottom, and the
39 following properties: 'writing-mode',
40 'glyph-orientation-vertical', 'glyph-orientation-horizontal',
41 'direction' and 'unicode-bidi'.
42 </Paragraph>
43 <Paragraph>
44 Various text strings in various languages appear. The main
45 purpose of the test is to verify that the correct characters
46 appear and that they appear in the correct order and orientation.
47 In particular, ensure that the three lines with Hebrew are ordered
48 correctly (test of bidi algorithms and support of 'unicode-bidi' and
49 'direction' properties). Also, ensure that the two lines of
50 vertical Japanese text have the proper orientation
51 (test of 'glyph-orientation-vertical' property).
52 </Paragraph>
53 <Paragraph>
54 This test requires installation of a system font that supports
55 the various international characters used in this test case.
56 Due to differences across systems regarding system fonts and
57 font handling, for some implementations editing of the test case
58 may be necessary to specify the correct system font. To
59 minimize system dependencies, a future version of this test
60 might include all necessary glyphs as an SVG font.
61 </Paragraph>
62 </OperatorScript>
63 </SVGTestCase>
65 <title id="test-title">text-intro-01-f</title>
66 <desc id="test-desc">Test various aspects of internationalized text, including left-to-right, right-to-left, top-to-bottom, and the following properties: 'writing-mode', 'glyph-orientation-vertical', 'glyph-orientation-horizontal', 'direction' and 'unicode-bidi'.</desc>
67 <!--======================================================================-->
68 <!--Content of Test Case follows... =====================-->
69 <!--======================================================================-->
70 <g id="test-body-content">
71 <text font-family="Helvetica" font-size="12" fill="red" x="10" y="20">Test combinations of left-to-right, right-to-left, top-to-bottom text.</text>
72 <g font-size="12" font-family="'LucidaSansUnicode','MS-Gothic'" >
73 <text x="10" y="60">Polish: Mogę jeść szkło, i mi nie szkodzi.</text>
74 <text x="10" y="80">Russian: Я могу есть стекло, это мне не вредит.</text>
75 <text x="10" y="100" font-size="11" >Greek: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.</text>
76 <text x="10" y="120">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
77 <text x="10" y="140">Yiddish: איך קען עסן גלאָז און עס טוט מיר נישט װײ.</text>
78 </g>
79 <g font-size="12" font-family="'MS-Gothic','LucidaSansUnicode'" >
80 <text x="10" y="160">Chinese:我能吞下玻璃而不伤身体。</text>
81 <text x="10" y="180" font-size="12" >Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>
82 </g>
83 <text font-family="Helvetica" font-size="12" fill="red" x="10" y="200">unicode-bidi:bidi-override. First, direction:ltr, then direction:rtl.</text>
84 <g font-size="12" font-family="'LucidaSansUnicode','MS-Gothic'" >
85 <text x="10" y="220" unicode-bidi="bidi-override" direction="ltr" >Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
86 <text x="10" y="240" unicode-bidi="bidi-override" direction="rtl" >Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
87 </g>
88 <g font-size="12" font-family="'MS-Gothic','LucidaSansUnicode'" writing-mode="tb" ><text x="390" y="10">This text "我能吞下玻璃而不伤身体。" is in Chinese</text><text x="410" y="10" font-size="10">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text><text x="430" y="10" glyph-orientation-vertical="0" font-size="10" >Japanese: 私はガラスを食べられます。それは私を傷つけません。</text></g>
89 </g>
91 <!--======================================================================-->
92 <!--Legend and frame: Title, suite and SVG document serialization====-->
93 <!--======================================================================-->
94 <g id="test-legend" fill="black" font-family="Helvetica" font-size="10" >
95 <rect x="10" y="300" width="275" height="50" fill="none" stroke="#000000" />
96 <path fill="none" stroke="#000000" d="M10 315 h275 M205 315 v35 M10 336 h195 M205 332 h80"/>
97 <text x="25" y="311">Scalable Vector Graphics (SVG) v1.1 Conformance Suite</text>
98 <a xlink:href="copyright-documents-19990405.html">
99 <text x="12" y="347" fill="blue" >Copyright 2002 W3C. All Rights Reserved.</text>
100 </a>
101 <text font-size="12" x="35" y="330">text-intro-01-f</text>
102 <text font-size="10" x="210" y="327">$Revision: 1.1 $</text>
103 <text font-size="10" x="210" y="345">Release 1.0</text>
104 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000" />
105 </g>
106 </svg>