1Font::TTF::Anchor(3)  User Contributed Perl Documentation Font::TTF::Anchor(3)
2
3
4

NAME

6       Font::TTF::Anchor - Anchor points for GPOS tables
7

DESCRIPTION

9       The Anchor defines an anchor point on a glyph providing various
10       information depending on how much is available, including such
11       information as the co-ordinates, a curve point and even device specific
12       modifiers.
13

INSTANCE VARIABLES

15       x   XCoordinate of the anchor point
16
17       y   YCoordinate of the anchor point
18
19       p   Curve point on the glyph to use as the anchor point
20
21       xdev
22           Device table (delta) for the xcoordinate
23
24       ydev
25           Device table (delta) for the ycoordinate
26
27       xid XIdAnchor for multiple master horizontal metric id
28
29       yid YIdAnchor for multiple master vertical metric id
30

METHODS

32   new
33       Creates a new Anchor
34
35   read($fh)
36       Reads the anchor from the given file handle at that point. The file
37       handle is left at an arbitrary read point, usually the end of
38       something!
39
40   out($fh, $style)
41       Outputs the Anchor to the given file handle at this point also
42       addressing issues of deltas. If $style is set, then no output is sent
43       to the file handle. The return value is the output string.
44
45   $a->out_xml($context)
46       Outputs the anchor in XML
47

AUTHOR

49       Martin Hosken <http://scripts.sil.org/FontUtils>.
50

LICENSING

52       Copyright (c) 1998-2016, SIL International (http://www.sil.org)
53
54       This module is released under the terms of the Artistic License 2.0.
55       For details, see the full text of the license in the file LICENSE.
56
57
58
59perl v5.38.0                      2023-07-20              Font::TTF::Anchor(3)
Impressum