ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Text > text-i18n-BE-09


File: text-i18n-BE-09
Author: Jon Ferraiolo
Origin: W3C SVG conformance suite

Rendered imageSVG source
ElementsAttributes
axlink:href |
descid |
gid | style |
pathd | style |
rectheight | id | style | width | x | y |
svgheight | id | width |
textstyle | x | y |
titleid |

Source

<svg id="svg-root" width="450" height="450" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <title id="test-title">text-i18n-BE-09</title>
     <desc id="test-desc">Test various aspects of internationalized text, including left-to-right, right-to-left, top-to-bottom, and the following properties: 'writing-mode', 'glyph-orientation-vertical', 'glyph-orientation-horizontal', 'direction' and 'unicode-bidi'.</desc>
     <g id="test-body-content">
          <text style="font-family:Helvetica;font-size:12;fill:red;" x="10" y="20">Test combinations of left-to-right, right-to-left, top-to-bottom text.</text>
          <g style="font-size:14;font-family:'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" style="font-size:11;">Greek: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.</text>
               <text x="10" y="150">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
               <text x="10" y="180">Yiddish: איך קען עסן גלאָז און עס טוט מיר נישט װײ.</text>
          </g>
          <g style="font-size:14;font-family:'MS-Gothic','LucidaSansUnicode';">
               <text x="10" y="210">Chinese:我能吞下玻璃而不伤身体。</text>
               <text x="10" y="240" style="font-size:12;">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>
          </g>
          <text style="font-family:Helvetica;font-size:12;fill:red;" x="10" y="280">unicode-bidi:bidi-override. First, direction:ltr, then direction:rtl.</text>
          <g style="font-size:14;font-family:'LucidaSansUnicode','MS-Gothic';">
               <text x="10" y="320" style="unicode-bidi:bidi-override;direction:ltr;">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
               <text x="10" y="350" style="unicode-bidi:bidi-override;direction:rtl;">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>
          </g>
          <g style="font-size:14;font-family:'MS-Gothic','LucidaSansUnicode';writing-mode:tb;">
               <text x="390" y="10">This text "我能吞下玻璃而不伤身体。" is in Chinese</text>
               <text x="410" y="10">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>>
               <text x="430" y="10" style="glyph-orientation-vertical:0;font-size:12;">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>
          </g>
     </g>
     <g id="test-legend" style="fill:black;font-family:Helvetica;font-size:10;">
          <rect x="10" y="390" width="275" height="50" style="fill:none;stroke:#000000;"/>
          <path style="fill:none;stroke:#000000;" d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
          <text x="25" y="401">Scalable Vector Graphics (SVG) Conformance Suite</text>
          <a xlink:href="copyright-documents-19990405.html">
               <text x="12" y="437" style="fill:blue;">Copyright 2000 W3C. All Rights Reserved.</text>
          </a>
          <text style="font-size:12;" x="35" y="420">text-i18n-BE-09</text>
          <text style="font-size:10;" x="210" y="417">$Revision 1.8 $</text>
          <text style="font-size:10;" x="210" y="435">Release 2.0</text>
          <rect id="test-frame" x="1" y="1" width="448" height="448" style="fill:none;stroke:#000000;"/>
     </g>
</svg>



Sponsored links: conference call service, VoIP Internettelefonie, DSL, SDSL, ADSL, answering service