Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1033)

Side by Side Diff: LayoutTests/svg/custom/glyph-selection-non-bmp.svg

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" width="200px" height="50px">
3 <!-- Test that SVG fonts correctly render non-bmp, complex characters and mirror ed characters together -->
4 <defs>
5 <font horiz-adv-x="573">
6 <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"/>
7 <missing-glyph horiz-adv-x="500" d="M31 0V800H469V0H31ZM438 31V769H62V31H438 Z"/>
8 <glyph unicode=" " glyph-name="space" horiz-adv-x="370"/>
9 <glyph unicode="&#x0005d;" glyph-name="close-bracket" d="M213 -200h-195v73h1 08v770h-108v72h195v-915z"/>
10 <glyph unicode="&#x0005b;" glyph-name="open-bracket" d="M67 -200v915h195v-72 h-106v-770h106v-73h-195z"/>
11 <glyph unicode="&#x1005b;" glyph-name="nonbmp1" d="M200 0L0 0L0 500L500 300L 500 300L100 800L100 100L300 100Z"/>
12 <glyph unicode="&#x1005d;" glyph-name="nonbmp2" d="M200 0L0 0L0 300L500 300L 500 300L600 800L100 100L300 100Z"/>
13 <glyph unicode="&#x10005b;" glyph-name="nonbmp3" d="M200 0L0 0L0 800L500 300 L500 300L100 800L100 100L600 300Z"/>
14 <glyph unicode="&#x10005d;" glyph-name="nonbmp4" d="M200 0L0 0L0 300L500 300 L100 500L200 800L100 100L300 100Z"/>
15 </font>
16 </defs>
17 <g font-family="SVGAr, serif" font-size="12">
18 <!-- This should show 3 non-bmp characters in an SVG font with the center -->
19 <!-- character in brackets. There should then be a space, a pipe, a space,-->
20 <!-- and 3 more non-bmp characters with the center character in brackets. -->
21 <!-- In both sets of 5 characters, the brackets should point inwards, -->
22 <!-- surrounding the center character. -->
23 <text x="150" y="20" direction="rtl" unicode-bidi="bidi-override">&#x10005b;&# x0005b;&#x1005b;&#x0005d;&#x10005d; | &#x10005b;&#x0005b;&#x1005d;&#x0005d;&#x10 005d;</text>
24 </g>
25 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698