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