Debian Codegraph @

testsuite/svg/manual/text-cjk.svg

raw symbols SCIP
1 <svg width="128" height="128" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg" version="2.0">
2 <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" author="Florian Leander Singer" status="accepted">
3 <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">
4 <p>Test text rendering differences resulting from different lang attributes.</p>
5 </d:testDescription>
6 <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
7 <p>Run the test. No interaction required.</p>
8 </d:operatorScript>
9 <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
10 <p>The test is passed if:</p>
11 <ul>
12 <li>The glyph above the word "Chineese" has a rectangle in the bottom left of the upper part</li>
13 <li>The glyph above the word "Japaneese" has a rectangle in the bottom right of the upper part</li>
14 </ul>
15 </d:passCriteria>
16 </d:SVGTestCase>
17
18 <text font-family="Noto Sans CJK" lang="zh" x="32" y="10" font-size="72" writing-mode="vertical-rl">骨</text>
19 <text font-family="SVGFreeSansASCII,sans-serif" font-size="12" x="4" y="96">Chineese</text>
20 <text font-family="Noto Sans CJK" lang="ja" x="96" y="10" font-size="72" writing-mode="vertical-rl">骨</text>
21 <text font-family="SVGFreeSansASCII,sans-serif" font-size="12" x="66" y="96">Japaneese</text>
22 </svg>