| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.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="basic" 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/"> |
| <!--nav data here--> |
| <OperatorScript version="$Revision: 1.6 $" testname="text-intro-01-c-b.svg"> |
| <Paragraph> |
| Test top-to-bottom internationalized text and the |
| following properties: 'writing-mode', |
| 'glyph-orientation-vertical', 'glyph-orientation-horizontal'. |
| </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. |
| Ensure that the two lines of |
| vertical Japanese text have the proper orientation |
| (test of 'glyph-orientation-vertical' property). |
| </Paragraph> |
| <Paragraph> |
| This test requires installation of a system font that supports |
| the various international characters used in this test case. A |
| suitable font should be used by the SVG renderer if none of the |
| specified font families are available (or if they are available but do |
| not have the required glyphs). To |
| minimize system dependencies, a future version of this test |
| might include all necessary glyphs as an SVG font. |
| </Paragraph> |
| </OperatorScript> |
| </SVGTestCase> |
| <title id="test-title">text-intro-03-b</title> |
| <desc id="test-desc">Test top-to-bottom internationalized text and the |
| following properties: 'writing-mode', |
| 'glyph-orientation-vertical', 'glyph-orientation-horizontal'.</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#exoticVertical"/> |
| </font-face-src> |
| </font-face> |
| </defs> |
| <g id="test-body-content"> |
| <g font-size="14" font-family="SVGExotic" writing-mode="tb"> |
| <text x="70" y="10">Text "我能吞下玻璃而不伤身体。" in Chinese</text> |
| <text x="230" y="10" font-size="13">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text> |
| <text x="370" y="13" glyph-orientation-vertical="0" font-size="10">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text> |
| <text x="120" y="80" font-size="32">xt "我能吞</text> |
| <text x="280" y="80" font-size="36">se: 私は</text> |
| <text x="420" y="80" glyph-orientation-vertical="0" font-size="32">se: 私は</text> |
| </g> |
| </g> |
| <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.6 $</text> |
| <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| </svg> |