blob: 03d58903c10235b5fd4bd9b8e80e96c5a4bdf6f5 [file] [log] [blame]
<?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="tiny">
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
<OperatorScript version="$Revision: 1.7 $" 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... =====================-->
<!--======================================================================-->
<defs>
<!-- Important SVGExotic font instead of relying on MS Office Fonts to be present -->
<font-face font-family="SVGExotic">
<font-face-src>
<font-face-uri xlink:href="resources/SVGExotic.svg#exotic"/>
</font-face-src>
</font-face>
</defs>
<g id="test-body-content">
<text font-family="Arial" font-size="40" fill="red" x="5" y="40">Test left-to-right text.</text>
<g font-size="17" font-family="SVGExotic">
<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="17">Greek: Μπορώ να φάω ...</text>
<text x="10" y="180">Hebrew: אני יכול לאכול זכוכית ... </text>
<text x="10" y="215">Yiddish: איך קען עסן גלאָז און ...</text>
</g>
<g font-size="17" font-family="SVGExotic">
<text x="10" y="250">Chinese:我能吞下玻璃而不伤身体。</text>
</g>
<g font-size="17" font-family="SVGExotic">
<text x="10" y="285" font-size="17">Japanese: 私はガラスを食べます。</text>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.7 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>