-
-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathCFF-3.html
More file actions
55 lines (55 loc) · 2.8 KB
/
Copy pathCFF-3.html
File metadata and controls
55 lines (55 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:ft="https://github.com/OpenType/fonttest" xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Vollkorn|Vollkorn:i"/>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<h3 id="CFF-3">CFF–3: Endchar With Five Arguments</h3>
<div class="desc">
In the <a href="../fonts/TestCFFThree.otf">font for this test case</a>,
the glyphs <em>Agrave</em> and <em>Udieresis</em> pass five arguments
to the <em>endchar</em> command.
For a description of this particular variant of the <em>endchar</em>
operator, see
<a href="https://adobe-type-tools.github.io/font-tech-notes/pdfs/5177.Type2.pdf#page=35">Adobe PostScript Technical Note #5177</a>, Appendix C,
at the bottom of page 35. See also <a href="https://github.com/opentypejs/opentype.js/issues/117">OpenType.js bug 117</a> and <a href="https://github.com/foliojs/fontkit/issues/322">fontkit bug 322</a>.
</div>
<div class="desc">
If the implementation under test works correctly, you should see
the glyphs <em>À</em> and <em>Ü</em>.
</div>
<table>
<tr>
<th>Expected</th>
<td class="expected" ft:id="CFF-3/1" ft:render="À" ft:font="TestCFFThree.otf">
<svg version="1.1" viewBox="0 -273 544 1257">
<symbol id="CFF-3/1.Agrave" overflow="visible">
<path d="M203,367 C227,440 248,512 268,588 L272,588 C293,512 314,440 338,367 L369,267 L172,267 Z M3,0 L88,0 L151,200 L390,200 L452,0 L541,0 L319,656 L225,656 Z M300,653 L342,694 L201,861 L143,806 Z"/>
</symbol>
<use xlink:href="#CFF-3/1.Agrave" x="0" y="0"/>
</svg>
</td>
<td class="expected" ft:id="CFF-3/2" ft:render="Ü" ft:font="TestCFFThree.otf">
<svg version="1.1" viewBox="0 -273 645 1257">
<symbol id="CFF-3/2.Udieresis" overflow="visible">
<path d="M323,-12 C457,-12 558,60 558,271 L558,656 L478,656 L478,269 C478,111 410,61 323,61 C237,61 170,111 170,269 L170,656 L87,656 L87,271 C87,60 189,-12 323,-12 Z M220,727 C248,727 269,749 269,777 C269,805 248,827 220,827 C191,827 170,805 170,777 C170,749 191,727 220,727 Z M412,727 C441,727 462,749 462,777 C462,805 441,827 412,827 C384,827 363,805 363,777 C363,749 384,727 412,727 Z"/>
</symbol>
<use xlink:href="#CFF-3/2.Udieresis" x="0" y="0"/>
</svg>
</td>
</tr>
<tr>
<th>Observed</th>
<td class="observed" ft:id="CFF-3/1"/>
<td class="observed" ft:id="CFF-3/2"/>
</tr>
<tr>
<th class="conformance-header">Conformance</th>
<td class="conformance" ft:id="CFF-3/1"/>
<td class="conformance" ft:id="CFF-3/2"/>
</tr>
</table>
</body>
</html>