| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="UTF-8"?> | |
| 2 <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px"> | |
| 3 <!-- Test that SVG fonts in RTL correctly render mirrored characters --> | |
| 4 <defs> | |
| 5 <font horiz-adv-x="500"> | |
| 6 <font-face font-family="SVGFont" units-per-em="1000" ascent="800" descen
t="200" alphabetic="200"/> | |
| 7 <glyph unicode="]" glyph-name="close-bracket" d="M0 0L500 0L500 900L0 90
0L0 800L400 800L400 100L0 100Z"/> | |
| 8 <glyph unicode="[" glyph-name="open-bracket" d="M500 0L0 0L0 900L500 900
L500 800L100 800L100 100L500 100Z"/> | |
| 9 </font> | |
| 10 </defs> | |
| 11 <g font-size="20"> | |
| 12 <!-- SVG Font: Should produce "hello" in brackets: "[hello]" not "]hello[" -
-> | |
| 13 <text font-family="SVGFont, serif" x="20" y="20" direction="ltr" unicode-bid
i="bidi-override">[hello]</text> | |
| 14 <!-- Regular Font: Should produce "hello" in brackets: "[hello]" not "]hello
[" --> | |
| 15 <text x="20" y="40" direction="ltr" unicode-bidi="bidi-override">[hello]</te
xt> | |
| 16 <!-- SVG Font: Should produce "שלום" in brackets: "[שלום]" not "]שלום["--> | |
| 17 <text font-family="SVGFont, serif" x="100" y="70" direction="rtl" unicode-bi
di="bidi-override">[שלום]</text> | |
| 18 <!-- Regular Font: Should produce "שלום" in brackets: "[שלום]" not "]שלום["-
-> | |
| 19 <text x="100" y="90" direction="rtl" unicode-bidi="bidi-override">[שלום]</te
xt> | |
| 20 </g> | |
| 21 </svg> | |
| OLD | NEW |