Font::TTF::Vhea(3)

🌸 NAME 🌸

Okay bestie, this page is Font::TTF::Vhea(3) from the User Contributed Perl Documentation, and it is literally all about the Vertical Header table. That is the whole name vibe: Font::TTF::Vhea β€” Vertical Header table. Slay. πŸ’…


✨ DESCRIPTION ✨

This is a simple table with just standards specified instance variables. No cap β€” that is the description, bestie. It is giving "small but essential," and we respect it. πŸŽ€


πŸŽ€ INSTANCE VARIABLES πŸŽ€

The standards specified instance variables are right here, bestie β€” every single one:

  • version
  • Ascender
  • Descender
  • LineGap
  • advanceHeightMax
  • minTopSideBearing
  • minBottomSideBearing
  • yMaxExtent
  • caretSlopeRise
  • caretSlopeRun
  • metricDataFormat
  • numberOfVMetrics

πŸ’… METHODS πŸ’…

πŸ’– $t->read πŸ’–

Reads the table into memory as instance variables. Literally loads it up so the table is in memory, bestie. 🫢

πŸ¦‹ $t->out($fh) πŸ¦‹

Writes the table to a file either from memory or by copying. Two vibes, same output moment. ✨

🌸 $t->minsize() 🌸

Returns the minimum size this table can be. If it is smaller than this, then the table must be bad and should be deleted or whatever. So yeah β€” below minimum means it is not passing the vibe check and should be deleted or whatever. πŸ’€

🌈 $t->update 🌈

Updates various parameters in the hhea table from the hmtx table, assuming the "hmtx" table is dirty. That is the whole update moment β€” hhea gets refreshed from hmtx when hmtx is dirty. πŸ‘‘


πŸ’€ BUGS πŸ’€

None known.


πŸ‘‘ AUTHOR πŸ‘‘

Martin Hosken <http://scripts.sil.org/FontUtils>. Iconic. 🫢


🌈 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.


πŸ’– That's the whole page, bestie β€” brought to you by perl v5.42.0, dated 2016-08-28, for Font::TTF::Vhea(3). Byeeee πŸ’…βœ¨
πŸ“¦ where this page comes from