1Font::TTF::Anchor(3) User Contributed Perl Documentation Font::TTF::Anchor(3)
2
3
4
6 Font::TTF::Anchor - Anchor points for GPOS tables
7
9 The Anchor defines an anchor point on a glyph providing various infor‐
10 mation depending on how much is available, including such information
11 as the co-ordinates, a curve point and even device specific modifiers.
12
14 x XCoordinate of the anchor point
15
16 y YCoordinate of the anchor point
17
18 p Curve point on the glyph to use as the anchor point
19
20 xdev
21 Device table (delta) for the xcoordinate
22
23 ydev
24 Device table (delta) for the ycoordinate
25
26 xid XIdAnchor for multiple master horizontal metric id
27
28 yid YIdAnchor for multiple master vertical metric id
29
31 new
32
33 Creates a new Anchor
34
35 read($fh)
36
37 Reads the anchor from the given file handle at that point. The file
38 handle is left at an arbitrary read point, usually the end of some‐
39 thing!
40
41 out($fh, $style)
42
43 Outputs the Anchor to the given file handle at this point also address‐
44 ing issues of deltas. If $style is set, then no output is set to the
45 file handle. The return value is the output string.
46
47 $a->out_xml($context)
48
49 Outputs the anchor in XML
50
52 Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright
53 and licensing.
54
55
56
57perl v5.8.8 2005-06-14 Font::TTF::Anchor(3)