75 lines
4.1 KiB
XML
75 lines
4.1 KiB
XML
<?xml version="1.0" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
|
|
"http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
|
|
|
|
<!-- ========================================================================= -->
|
|
<!-- Copyright (C) The Apache Software Foundation. All rights reserved. -->
|
|
<!-- -->
|
|
<!-- This software is published under the terms of the Apache Software License -->
|
|
<!-- version 1.1, a copy of which has been included with this distribution in -->
|
|
<!-- the LICENSE file. -->
|
|
<!-- ========================================================================= -->
|
|
|
|
<!-- ========================================================================= -->
|
|
<!-- Test description here -->
|
|
<!-- -->
|
|
<!-- @author bill.haneman@ireland.sun.com -->
|
|
<!-- @version $Id: textBiDi.svg,v 1.1.1.1 2001-06-10 01:46:41 edburns%acm.org Exp $ -->
|
|
<!-- ========================================================================= -->
|
|
<?xml-stylesheet type="text/css" href="test.css" ?>
|
|
|
|
<svg width="450" height="500" viewBox="0 0 450 500">
|
|
<!-- ============================================================= -->
|
|
<!-- Test content -->
|
|
<!-- ============================================================= -->
|
|
|
|
<g id="testContent">
|
|
<text class="title" x="50%" y="10%" font-size="3%" text-anchor="middle" >
|
|
BiDi Text / International Text</text>
|
|
<text x="50%" y="25%" font-size="2.5%" text-anchor="middle">Some text goes <tspan fill="blue" direction="rtl" unicode-bidi="bidi-override">right to left</tspan>, other text goes left to right.</text>
|
|
<text style="font-style:oblique;font-size:2%;text-anchor:middle" x="50%" y="30%">
|
|
Text selection allows visually discontiguous
|
|
selections across bi-directional text.
|
|
</text>
|
|
<g font-family="dialog" font-size="3%" text-anchor="start">
|
|
<text fill="MidnightBlue" x="10%" y="45%">latin:
|
|
ABCDEFG
|
|
abcdefg
|
|
hijklmnop
|
|
qrstuvwxyz
|
|
</text>
|
|
<text fill="Sienna" x="10%" y="50%">latin-extended:
|
|
æçèéêëì
|
|
íîïðñòóô
|
|
</text>
|
|
<text fill="Indigo" x="10%" y="55%">cyrillic:
|
|
БВГДЕЖЗИЙ
|
|
КЛМНОПРСТ
|
|
УФХЦЧ
|
|
</text>
|
|
<text fill="Maroon" x="10%" y="60%">greek:
|
|
ΑΒΓΔαβγδε
|
|
ζηθικλμνξ
|
|
οπρςστυφχ
|
|
ψω
|
|
</text>
|
|
<text fill="DarkOliveGreen" x="10%" y="65%">hebrew:
|
|
אבגדהוזחט
|
|
יךכלםמןנס
|
|
עףפץצקרשת
|
|
</text>
|
|
<text fill="DarkRed" x="10%" y="70%">arabic:
|
|
ءأؤإئابةت
|
|
ثجحخدذرزس
|
|
شصضطظعـفق
|
|
كلمنهوىِᙶ</text>
|
|
</g>
|
|
</g>
|
|
|
|
<!-- ============================================================= -->
|
|
<!-- Batik sample mark -->
|
|
<!-- ============================================================= -->
|
|
<use xlink:href="../batikLogo.svg#Batik_Tag_Box" />
|
|
|
|
</svg>
|