| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="UTF-8"?> | |
| 2 <!--======================================================================--> | |
| 3 <!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =--> | |
| 4 <!--= Institute of Technology, Institut National de Recherche en =--> | |
| 5 <!--= Informatique et en Automatique, Keio University). All Rights =--> | |
| 6 <!--= Reserved. See http://www.w3.org/Consortium/Legal/. =--> | |
| 7 <!--======================================================================--> | |
| 8 <!-- ===================================================================== --> | |
| 9 <!-- --> | |
| 10 <!-- fonts-elem-05-t.svg --> | |
| 11 <!-- --> | |
| 12 <!-- Author : Vincent Hardy 28-01-2004 --> | |
| 13 <!-- --><!
DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SV
G/1.1/DTD/svg11-tiny.dtd"> | |
| 14 | |
| 15 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" id="svg-root" width="480" height="360" viewBox="0 0 480 360" version="1.1" ba
seProfile="tiny"> | |
| 16 <SVGTestCase | |
| 17 xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/" | |
| 18 xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" | |
| 19 owner="VH" reviewer="CN" desc="" status="accepted" version="$Revision: 1.9 $
" testname="$RCSfile: fonts-elem-05-t.svg,v $"> | |
| 20 <OperatorScript> | |
| 21 <Paragraph> | |
| 22 </Paragraph> | |
| 23 </OperatorScript> | |
| 24 </SVGTestCase> | |
| 25 | |
| 26 <title id="test-title">fonts-elem-01-t</title> | |
| 27 <desc id="test-desc">Basic test of embedded fonts using glyph outlines</desc
> | |
| 28 <!--======================================================================--
> | |
| 29 <!--Content of Test Case follows... =====================--
> | |
| 30 <!--======================================================================--
> | |
| 31 <g id="test-body-content"> | |
| 32 <text x="240" y="50" text-anchor="middle" font-size="30"><font> ho
riz-origin-x</text> | |
| 33 <defs> | |
| 34 <font id="orginDefault" horiz-adv-x="1000"> | |
| 35 <font-face font-family="originDefault" units-per-em="1000" ascent="1000" descent
="0" alphabetic="0"/> | |
| 36 <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V7
50H100V50H700Z"/> | |
| 37 <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0
L 250 0 L 250 250 L 0 250 Z"/> | |
| 38 <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0
L 500 0 L 500 500 L 0 500 Z"/> | |
| 39 <glyph unicode="3" glyph-name="gl_3" horiz-adv-x="1500" d="M 0 0
L 750 0 L 750 750 L 0 750 Z"/> | |
| 40 <glyph unicode="4" glyph-name="gl_4" horiz-adv-x="1500" d="M 0 0
L 1000 0 L 1000 1000 L 0 1000 Z"/> | |
| 41 </font> | |
| 42 | |
| 43 <font id="orgin500" horiz-adv-x="1000" horiz-origin-x="500"> | |
| 44 <font-face font-family="origin500" units-per-em="1000" ascent="1000" descent="0"
alphabetic="0"/> | |
| 45 <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V7
50H100V50H700Z"/> | |
| 46 <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0
L 250 0 L 250 250 L 0 250 Z"/> | |
| 47 <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0
L 500 0 L 500 500 L 0 500 Z"/> | |
| 48 <glyph unicode="3" glyph-name="gl_3" horiz-adv-x="1500" d="M 0 0
L 750 0 L 750 750 L 0 750 Z"/> | |
| 49 <glyph unicode="4" glyph-name="gl_4" horiz-adv-x="1500" d="M 0 0
L 1000 0 L 1000 1000 L 0 1000 Z"/> | |
| 50 </font> | |
| 51 | |
| 52 <font id="orgin1000" horiz-adv-x="1000" horiz-origin-x="1000"> | |
| 53 <font-face font-family="origin1000" units-per-em="1000" ascent="1000" descent="0
" alphabetic="0"/> | |
| 54 <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V7
50H100V50H700Z"/> | |
| 55 <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0
L 250 0 L 250 250 L 0 250 Z"/> | |
| 56 <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0
L 500 0 L 500 500 L 0 500 Z"/> | |
| 57 <glyph unicode="3" glyph-name="gl_3" horiz-adv-x="1500" d="M 0 0
L 750 0 L 750 750 L 0 750 Z"/> | |
| 58 <glyph unicode="4" glyph-name="gl_4" horiz-adv-x="1500" d="M 0 0
L 1000 0 L 1000 1000 L 0 1000 Z"/> | |
| 59 </font> | |
| 60 | |
| 61 | |
| 62 <g id="marker"> | |
| 63 <line y2="-40" stroke="red"/> | |
| 64 <rect x="-4" y="-4" width="8" height="8" fill="#8888ff"/> | |
| 65 </g> | |
| 66 | |
| 67 <g id="marker500"> | |
| 68 <line y2="-40" stroke="red"/> | |
| 69 <line x1="15" x2="15" y2="-40" stroke="red"/> | |
| 70 <line x2="15" stroke="red"/> | |
| 71 <rect x="-4" y="-4" width="8" height="8" fill="#8888ff"/> | |
| 72 </g> | |
| 73 | |
| 74 <g id="marker1000"> | |
| 75 <line y2="-40" stroke="red"/> | |
| 76 <line x1="30" x2="30" y2="-40" stroke="red"/> | |
| 77 <line x2="30" stroke="red"/> | |
| 78 <rect x="-4" y="-4" width="8" height="8" fill="#8888ff"/> | |
| 79 </g> | |
| 80 </defs> | |
| 81 | |
| 82 <g transform="translate(20, 120)" font-size="14"> | |
| 83 | |
| 84 <g> | |
| 85 <text>horiz-origin-x unspecified (0)</text> | |
| 86 <use xlink:href="#marker" x="240"/> | |
| 87 <use xlink:href="#marker" x="285"/> | |
| 88 <use xlink:href="#marker" x="330"/> | |
| 89 <use xlink:href="#marker" x="375"/> | |
| 90 <text x="240" font-family="originDefault" font-size="30">1234</t
ext> | |
| 91 </g> | |
| 92 | |
| 93 <g transform="translate(0, 60)"> | |
| 94 <text>horiz-origin-x=500</text> | |
| 95 <use xlink:href="#marker500" x="240"/> | |
| 96 <use xlink:href="#marker500" x="285"/> | |
| 97 <use xlink:href="#marker500" x="330"/> | |
| 98 <use xlink:href="#marker500" x="375"/> | |
| 99 <text x="240" font-family="origin500" font-size="30">1234</text> | |
| 100 </g> | |
| 101 | |
| 102 | |
| 103 <g transform="translate(0, 120)"> | |
| 104 <text>horiz-adv-x=1000 but ignored</text> | |
| 105 <use xlink:href="#marker1000" x="240"/> | |
| 106 <use xlink:href="#marker1000" x="285"/> | |
| 107 <use xlink:href="#marker1000" x="330"/> | |
| 108 <use xlink:href="#marker1000" x="375"/> | |
| 109 <text x="240" font-family="origin1000" font-size="30">1234</text
> | |
| 110 </g> | |
| 111 | |
| 112 </g> | |
| 113 </g> | |
| 114 | |
| 115 <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black"
>$Revision: 1.9 $</text> | |
| 116 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" strok
e="#000000"/> | |
| 117 </svg> | |
| OLD | NEW |