Font::TTF::Anchor(3)

🌸 NAME 🌸

okay so bestie, this is the manual page for Font::TTF::Anchor(3) β€” the Font::TTF::Anchor module β€” from the User Contributed Perl Documentation, and it's literally about Anchor points for GPOS tables. no cap, that's the whole vibe. πŸ’…

✨ DESCRIPTION ✨

An Anchor defines an anchor point on a glyph, and it gives you various info depending on how much is available β€” including things like the co-ordinates, a curve point, and even device specific modifiers. it's giving "small object, lots of lore" πŸ¦‹.

πŸŽ€ INSTANCE VARIABLES πŸŽ€

  • x β€” XCoordinate of the anchor point.
  • y β€” YCoordinate of the anchor point.
  • p β€” Curve point on the glyph to use as the anchor point.
  • xdev β€” Device table (delta) for the xcoordinate.
  • ydev β€” Device table (delta) for the ycoordinate.
  • xid β€” XIdAnchor for multiple master horizontal metric id.
  • yid β€” YIdAnchor for multiple master vertical metric id.

πŸ› οΈ METHODS πŸ› οΈ

new

Creates a new Anchor. fresh out the box, slay. πŸ’–

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! so don't be surprised, bestie 😭.

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. iconic behavior fr fr. ✨

$a->out_xml($context)

Outputs the anchor in XML. that's it, that's the method. πŸŽ€

🌟 AUTHOR 🌟

give it up for Martin Hosken <http://scripts.sil.org/FontUtils>. absolute legend. πŸ‘‘

πŸ“œ LICENSING πŸ“œ

Copyright (c) 1998-2016, SIL International (http://www.sil.org)

This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.


okay that's the whole page, bestie 🫢 β€” it's the Font::TTF::Anchor(3) manual page, and the footer says perl v5.42.0, dated 2016-08-28. go be iconic with your anchors πŸ’…βœ¨

πŸ“¦ where this page comes from