tests/arthur/data/1.1/text-intro-01-t.svg
changeset 0 1918ee327afb
child 7 f7bc934e204c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     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="basic">
       
    19 	<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
       
    20 		<OperatorScript version="$Revision: 1.5 $" 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 	<g id="test-body-content">
       
    46 		<defs>
       
    47 			<font id="Missy" horiz-adv-x="5">
       
    48 				<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"/>
       
    49 				<missing-glyph d="M1,3h2v2h-2z"/>
       
    50 			</font>
       
    51 		</defs>
       
    52 		<text font-family="Arial" font-size="40" fill="red" x="5" y="40">Test left-to-right text.</text>
       
    53 		<g font-size="30" font-family="MissingInAction, 'LucidaSansUnicode','MS-Gothic'">
       
    54 			<text x="10" y="75">Polish: Mogę jeść szkło, i mi ...</text>
       
    55 			<text x="10" y="110">Russian: Я могу есть стекло, ...</text>
       
    56 			<text x="10" y="145" font-size="30">Greek: Μπορώ να φάω ...</text>
       
    57 			<text x="10" y="180">Hebrew: אני יכול לאכול זכוכית ... </text>
       
    58 			<text x="10" y="215">Yiddish: איך קען עסן גלאָז און ...</text>
       
    59 		</g>
       
    60 		<g font-size="30" font-family="MissingInAction, SimHei,'LucidaSansUnicode', 'Arial Unicode MS'">
       
    61 			<text x="10" y="250">Chinese:我能吞下玻璃而不伤身体。</text>
       
    62 		</g>
       
    63 		<g font-size="30" font-family="MissingInAction, 'MS-Gothic','LucidaSansUnicode', 'Arial Unicode MS'">
       
    64 			<text x="10" y="285" font-size="30">Japanese: 私はガラスを食べます。</text>
       
    65 		</g>
       
    66 	</g>
       
    67 	<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
       
    68 	<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
       
    69 </svg>