OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <!-- =====================================================================--> | |
3 <!-- fonts-glyph-04-t.svg --> | |
4 <!-- --> | |
5 <!-- Test the glyph selection rules. See the recent discussion on --> | |
6 <!-- that topic in the mailing list archives. --> | |
7 <!-- --> | |
8 <!-- Author : craign@cisra.canon.com.au --><!D
OCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG
/1.1/DTD/svg11-tiny.dtd"> | |
9 | |
10 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" vie
wBox="0 0 480 360"> | |
11 <SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/descripti
on/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewer="CL"
owner="CN" desc="Test the glyph selection rules" status="accepted" version="$Rev
ision: 1.10 $" testname="$RCSfile: fonts-glyph-04-t.svg,v $"> | |
12 <OperatorScript> | |
13 <Paragraph> | |
14 This tests that glyph selection is done in the | |
15 order in the definition of the font element. | |
16 The first line of text should be represented by | |
17 two triangles and an 'l'. The second line should | |
18 be represented by a square. | |
19 </Paragraph> | |
20 </OperatorScript> | |
21 </SVGTestCase> | |
22 <g> | |
23 <defs> | |
24 <font horiz-adv-x="500"> | |
25 <font-face font-family="SVGFont1" units-per-em="1000" ascent="800" desce
nt="200" alphabetic="200"/> | |
26 <glyph unicode="f" glyph-name="upward-triangle" d="M0 0L500 0L250 900Z"/
> | |
27 <glyph unicode="ffl" glyph-name="square" d="M0 250L500 250L500 750L0 750
Z"/> | |
28 </font> | |
29 <font horiz-adv-x="500"> | |
30 <font-face font-family="SVGFont2" units-per-em="1000" ascent="800" desce
nt="200" alphabetic="200"/> | |
31 <glyph unicode="ffl" glyph-name="square 2" d="M0 250L500 250L500 750L0 7
50Z"/> | |
32 <glyph unicode="f" glyph-name="upward-triangle 2" d="M0 0L500 0L250 900Z
"/> | |
33 </font> | |
34 </defs> | |
35 <text x="100" y="100" font-size="50" font-family="SVGFont1">ffl</text> | |
36 <text x="100" y="200" font-size="50" font-family="SVGFont2">ffl</text> | |
37 </g> | |
38 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$
Revision: 1.10 $</text> | |
39 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke=
"#000000"/> | |
40 </svg> | |
OLD | NEW |