Scroll to navigation

Font::TTF::Anchor(3) User Contributed Perl Documentation Font::TTF::Anchor(3)

NAME

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

DESCRIPTION

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

INSTANCE VARIABLES

XCoordinate of the anchor point
YCoordinate of the anchor point
Curve point on the glyph to use as the anchor point
Device table (delta) for the xcoordinate
Device table (delta) for the ycoordinate
XIdAnchor for multiple master horizontal metric id
YIdAnchor for multiple master vertical metric id

METHODS

new

Creates a new Anchor

read($fh)

Reads the anchor from the given file handle at that point. The file handle is left at an arbitrary read point, usually the end of something!

out($fh, $style)

Outputs the Anchor to the given file handle at this point also addressing issues of deltas. If $style is set, then no output is sent to the file handle. The return value is the output string.

$a->out_xml($context)

Outputs the anchor in XML

AUTHOR

Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing.

2011-10-13 perl v5.16.3