- From: Nikolas Zimmermann <zimmermann@physik.rwth-aachen.de>
- Date: Wed, 09 Mar 2011 15:31:09 +0100
- To: www-svg@w3.org
- Message-id: <AA39BD43-B59C-4B39-99DF-B5148720AA51@physik.rwth-aachen.de>
Am 09.03.2011 um 15:19 schrieb Nikolas Zimmermann: > Hey SVG crowd, > ... > Looking for feedback! Grml, I forgot the most important: text-intro-05-t.svg uses <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18" direction="rtl"> <text x="460" y="80" text-anchor="start" xml:lang="ar" font-size="30" font-family="Andalus">لماذا لا يتكلمون اللّغة العربية فحسب؟</text> The direction="rtl" attribute doesn't take any effect, unless unicode-bidi is set to embed or bidi-override, according to SVG 1.1 Second Edition. Using <text unicode-bidi="bidi-override" / "embed" the direction is respected and the test works as expected (at least on my patched local webKit build and Opera). Side note: For fun, I've implemented a switch to handle the unicode-bidi in two ways, depending on version=1.1 or 1.2, as outlined in the previous mail. If I take the original SVG 1.1 Second edition text-intro-05-t.svg replace version="1.1" with version="1.2" it works as well, looks like the reference image, w/o the need to specify unicode-bidi) Cheers, Nik
Received on Wednesday, 9 March 2011 14:31:38 UTC