summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/text-intro-01-t.svg
diff options
context:
space:
mode:
authorQt by Nokia <qt-info@nokia.com>2011-04-27 12:05:43 +0200
committeraxis <qt-info@nokia.com>2011-04-27 12:05:43 +0200
commit38be0d13830efd2d98281c645c3a60afe05ffece (patch)
tree6ea73f3ec77f7d153333779883e8120f82820abe /tests/arthur/data/1.1/text-intro-01-t.svg
Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
Diffstat (limited to 'tests/arthur/data/1.1/text-intro-01-t.svg')
-rw-r--r--tests/arthur/data/1.1/text-intro-01-t.svg69
1 files changed, 69 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/text-intro-01-t.svg b/tests/arthur/data/1.1/text-intro-01-t.svg
new file mode 100644
index 0000000000..7a1ef61f2e
--- /dev/null
+++ b/tests/arthur/data/1.1/text-intro-01-t.svg
@@ -0,0 +1,69 @@
+<?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="basic">
+ <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
+ <OperatorScript version="$Revision: 1.5 $" 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... =====================-->
+ <!--======================================================================-->
+ <g id="test-body-content">
+ <defs>
+ <font id="Missy" horiz-adv-x="5">
+ <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"/>
+ <missing-glyph d="M1,3h2v2h-2z"/>
+ </font>
+ </defs>
+ <text font-family="Arial" font-size="40" fill="red" x="5" y="40">Test left-to-right text.</text>
+ <g font-size="30" font-family="MissingInAction, 'LucidaSansUnicode','MS-Gothic'">
+ <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="30">Greek: Μπορώ να φάω ...</text>
+ <text x="10" y="180">Hebrew: אני יכול לאכול זכוכית ... </text>
+ <text x="10" y="215">Yiddish: איך קען עסן גלאָז און ...</text>
+ </g>
+ <g font-size="30" font-family="MissingInAction, SimHei,'LucidaSansUnicode', 'Arial Unicode MS'">
+ <text x="10" y="250">Chinese:我能吞下玻璃而不伤身体。</text>
+ </g>
+ <g font-size="30" font-family="MissingInAction, 'MS-Gothic','LucidaSansUnicode', 'Arial Unicode MS'">
+ <text x="10" y="285" font-size="30">Japanese: 私はガラスを食べます。</text>
+ </g>
+ </g>
+ <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.5 $</text>
+ <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+</svg>