blob: a97f338b537498df58f7410c7dd136ea8fbfcc82 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200px" height="50px">
<!-- Test that SVG fonts correctly render non-bmp, complex characters and mirrored characters together -->
<defs>
<font horiz-adv-x="573">
<font-face font-family="SVGAr" units-per-em="1000" panose-1="5 1 1 1 1 1 1 1 1 1" ascent="1025" descent="-399" alphabetic="0"/>
<missing-glyph horiz-adv-x="500" d="M31 0V800H469V0H31ZM438 31V769H62V31H438Z"/>
<glyph unicode=" " glyph-name="space" horiz-adv-x="370"/>
<glyph unicode="&#x0005d;" glyph-name="close-bracket" d="M213 -200h-195v73h108v770h-108v72h195v-915z"/>
<glyph unicode="&#x0005b;" glyph-name="open-bracket" d="M67 -200v915h195v-72h-106v-770h106v-73h-195z"/>
<glyph unicode="&#x1005b;" glyph-name="nonbmp1" d="M200 0L0 0L0 500L500 300L500 300L100 800L100 100L300 100Z"/>
<glyph unicode="&#x1005d;" glyph-name="nonbmp2" d="M200 0L0 0L0 300L500 300L500 300L600 800L100 100L300 100Z"/>
<glyph unicode="&#x10005b;" glyph-name="nonbmp3" d="M200 0L0 0L0 800L500 300L500 300L100 800L100 100L600 300Z"/>
<glyph unicode="&#x10005d;" glyph-name="nonbmp4" d="M200 0L0 0L0 300L500 300L100 500L200 800L100 100L300 100Z"/>
</font>
</defs>
<g font-family="SVGAr, serif" font-size="12">
<!-- This should show 3 non-bmp characters in an SVG font with the center -->
<!-- character in brackets. There should then be a space, a pipe, a space,-->
<!-- and 3 more non-bmp characters with the center character in brackets. -->
<!-- In both sets of 5 characters, the brackets should point inwards, -->
<!-- surrounding the center character. -->
<text x="150" y="20" direction="rtl" unicode-bidi="bidi-override">&#x10005b;&#x0005b;&#x1005b;&#x0005d;&#x10005d; | &#x10005b;&#x0005b;&#x1005d;&#x0005d;&#x10005d;</text>
</g>
</svg>