69 lines
4.0 KiB
XML
69 lines
4.0 KiB
XML
|
<?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" [
|
|||
|
<!ENTITY % svgExt "| SVGTestCase">
|
|||
|
<!ELEMENT SVGTestCase (OperatorScript)>
|
|||
|
<!ATTLIST SVGTestCase
|
|||
|
xmlns CDATA #REQUIRED
|
|||
|
>
|
|||
|
<!ELEMENT OperatorScript (Paragraph)*>
|
|||
|
<!ATTLIST OperatorScript
|
|||
|
version CDATA #IMPLIED
|
|||
|
testname CDATA #IMPLIED
|
|||
|
>
|
|||
|
<!ELEMENT Paragraph (#PCDATA)>
|
|||
|
]>
|
|||
|
<!--======================================================================-->
|
|||
|
<!--= 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/. =-->
|
|||
|
<!--======================================================================-->
|
|||
|
<!-- ===================================================================== -->
|
|||
|
<!-- Author : Jon Ferraiolo 06-Aug-2000 -->
|
|||
|
<!-- 1.1 revisions by Vincent Hardy, Chris Lilley -->
|
|||
|
<!--======================================================================-->
|
|||
|
<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">
|
|||
|
<SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
|
|||
|
<OperatorScript version="$Revision: 1.9 $" testname="text-intro-01-t-a.svg">
|
|||
|
<Paragraph>
|
|||
|
Test basic 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.
|
|||
|
</Paragraph>
|
|||
|
<Paragraph>
|
|||
|
Correct rendering requires that each character is rendered. It is not required that a given character
|
|||
|
be rendered with any particular font; just that it 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.
|
|||
|
</Paragraph>
|
|||
|
<Paragraph>
|
|||
|
A future version of this test
|
|||
|
might include all necessary glyphs as an SVG font.
|
|||
|
</Paragraph>
|
|||
|
</OperatorScript>
|
|||
|
</SVGTestCase>
|
|||
|
<title id="test-title">text-intro-04-t</title>
|
|||
|
<desc id="test-desc">Test basic of internationalized text.</desc>
|
|||
|
<!--======================================================================-->
|
|||
|
<!--Content of Test Case follows... =====================-->
|
|||
|
<!--======================================================================-->
|
|||
|
<g id="test-body-content">
|
|||
|
<text font-family="Arial" font-size="16" fill="red" x="10" y="20">Test horizontal text.</text>
|
|||
|
<g font-size="17" font-family="'Arial Unicode MS', 'LucidaSansUnicode','MS-Gothic'">
|
|||
|
<text x="10" y="60">Polish: Mogę jeść szkło, i mi nie szkodzi.</text>
|
|||
|
<text x="10" y="90">Russian: Я могу есть стекло, это мне не вредит.</text>
|
|||
|
<text x="10" y="120" font-size="15">Greek: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.</text>
|
|||
|
<!-- Greek and japanese smaller just to make it fit on the line -->
|
|||
|
<text x="10" y="150">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
|
|||
|
<text x="10" y="180">Yiddish: איך קען עסן גלאָז און עס טוט מיר נישט װײ.</text>
|
|||
|
<text x="10" y="210">Chinese:我能吞下玻璃而不伤身体。</text>
|
|||
|
<text x="10" y="240" font-size="15">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>
|
|||
|
</g>
|
|||
|
</g>
|
|||
|
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
|
|||
|
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
|
|||
|
</svg>
|