Font::TTF::Delta(3)

πŸ’– NAME πŸ’–

Font::TTF::Delta β€” Opentype Device tables. That's the manual name and the whole assignment, bestie: device tables, periodt. ✨

🌸 DESCRIPTION 🌸

Okay so, each device table corresponds to a set of deltas for a particular point over a range of ppem values. That's the concept, no cap. πŸ’…

  • first β€” the first ppem value in the range. πŸŽ€
  • last β€” the last ppem value in the range. πŸ¦‹
  • val β€” this is an array of deltas corresponding to each ppem in the range between first and last, inclusive. Inclusive is doing a lot of work there, iykyk. πŸ’–
  • fmt β€” this is the fmt used when the device table was read (that's log2 of number bits per value). It is recalculated on output. So it's not a forever vibe. ✨

✨ METHODS ✨

πŸŽ€ new

Creates a new device table. Fresh table, fresh start, main character energy. ✨

πŸ¦‹ read

Reads a device table from the given IO object at the current location. It reads right where you are, no teleporting. πŸ’…

πŸ’… out($fh, $style)

Outputs a device table to the given IO object at the current location, or just returns the data to be output if $style != 0. So if $style is zero, it writes; otherwise it hands you the data. No cap. 🫢

⭐ $d->signature()

Returns a content based identifying string for this delta, for compression purposes. Content based, identifying, compression-ready β€” it's giving signature. πŸ’–

🌈 $d->out_xml($context)

Outputs a delta in XML. XML era, slay. ✨

🫢 AUTHOR 🫢

Martin Hosken <http://scripts.sil.org/FontUtils> β€” that's the author, bestie. πŸ’œ

πŸ‘‘ LICENSING πŸ‘‘

Copyright (c) 1998-2016, SIL International (http://www.sil.org) β€” yes, that's the copyright line, keep it cute but keep it exact. πŸ’–

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. Artistic License 2.0, iconic. 🌈


mwah πŸ’‹ this page was brought to you by perl v5.42.0, dated 2016-08-28. Go off, bestie. πŸ’…

πŸ“¦ where this page comes from