1 <?xml version=
"1.0" standalone=
"no"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.0//EN"
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
7 Copyright 2001-2003 The Apache Software Foundation
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
22 <!-- ========================================================================= -->
23 <!-- Test description here -->
25 <!-- @author bill.haneman@ireland.sun.com -->
26 <!-- @version $Id: textBiDi.svg,v 1.7 2004/08/18 07:12:21 vhardy Exp $ -->
27 <!-- ========================================================================= -->
28 <?xml-stylesheet type=
"text/css" href=
"../resources/test.css" ?>
30 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" width=
"450" height=
"500" viewBox=
"0 0 450 500">
31 <!-- ============================================================= -->
33 <!-- ============================================================= -->
36 <text class=
"title" x=
"50%" y=
"10%" font-size=
"15" text-anchor=
"middle" >
37 BiDi Text / International Text
</text>
38 <text x=
"50%" y=
"25%" font-size=
"12.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>
40 <text x=
"50%" y=
"30%" font-size=
"12.5" text-anchor=
"middle">Some
<tspan fill=
"darkred" direction=
"rtl" unicode-bidi=
"embed">(embedded bidi)
</tspan> text.
</text>
42 <text style=
"font-style:oblique;font-size:10px;text-anchor:middle" x=
"50%" y=
"35%">
43 Text selection allows visually discontiguous
44 selections across bi-directional text.
46 <g font-family=
"dialog" font-size=
"15" text-anchor=
"start">
47 <text id=
"latin" fill=
"MidnightBlue" x=
"10%" y=
"45%">latin:
49 abcdefghijklmnopqrstuvwxyz
</text>
50 <text id=
"latin-extended" fill=
"Sienna" x=
"10%" y=
"50%">latin-extended:
51 æçèéêëìíîïðñòóô</text>
52 <text id=
"cyrillic" fill=
"Indigo" x=
"10%" y=
"55%">cyrillic:
53 БВГДЕЖЗИЙКЛМНОПРСТУФХЦЧ</text>
54 <text id=
"greek" fill=
"Maroon" x=
"10%" y=
"60%">greek:
55 ΑΒΓΔ αβγδεζηθικλμνξοπρςστυφχψω</text>
56 <text id=
"hebrew" fill=
"DarkOliveGreen" x=
"10%" y=
"65%">hebrew:
57 אבגדהוזחטיךכלםמןנסעףפץצקרשת</text>
58 <text fill=
"DarkOliveGreen" x=
"10%" y=
"70%"
59 >אבגדהוזחטיךכלםמןנסעףפץצקרשת</text>
60 <text id=
"arabic" fill=
"DarkRed" x=
"10%" y=
"75%">arabic:
61 ءأؤإئابةتثجحخدذرزسشصضطظعـفقكلمنهوىِٶ</text>
62 <text fill=
"DarkRed" x=
"10%" y=
"80%"
63 >ءأؤإئابةتثجحخدذرزسشصضطظعـفقكلمنهوىِٶ</text>
67 <!-- ============================================================= -->
68 <!-- Batik sample mark -->
69 <!-- ============================================================= -->
70 <use xlink:
href=
"../resources/batikLogo.svg#Batik_Tag_Box" />