Font::TTF::Hhea(3)
π Font::TTF::Hhea β the Horizontal Header table, bestie β¨
So you're looking at Font::TTF::Hhea(3) β welcome, this is the manual page for the module, and honestly? It's a whole vibe. Let's get into it π
πΈ NAME πΈ
Font::TTF::Hhea β the Horizontal Header table. That's it, that's the name, iconic.
β¨ DESCRIPTION β¨
Okay so this is a simple table. Like, genuinely simple β it's just your standard, garden-variety table with the standard instance variables you'd expect, and that's the entire personality. No drama, no plot twists, just standards-specified instance variables sitting there looking pretty π
π¦ INSTANCE VARIABLES π¦
Here's the whole squad, in order, no cap:
versionAscenderDescenderLineGapadvanceWidthMaxminLeftSideBearingminRightSideBearingxMaxExtentcaretSlopeRisecaretSlopeRunmetricDataFormatnumberOfHMetrics
That's twelve little icons, all just vibing in the table β¨
π METHODS π
π«Ά $t->read
Reads the table into memory as instance variables. Basically it's the "hey bestie, come in, sit down" of methods π
π«Ά $t->out($fh)
Writes the table to a file β either straight from memory, or by copying. Pick your fighter, both are valid.
π«Ά $t->minsize()
Returns the minimum size this table can be. And listen β if the table ends up smaller than that? It means the table is bad, and you should delete it or whatever. Lowkey a glow-up-by-deletion situation π
π«Ά $t->update
Updates various parameters in the hhea table from the hmtx table. Teamwork, making the dream work π€
π BUGS π
None known. None. Known. We stay unproblematic β¨
π AUTHOR π
Martin Hosken <http://scripts.sil.org/FontUtils>. β an absolute legend, fr fr π«Ά
π 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. Read it, bestie, it's giving responsible main character energy π
ok that's the whole page!! go forth and header horizontally π¦π
perl v5.42.0 Β· 2016-08-28 β mwah, that's the version and date, sealed with a kiss ππΈ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Font-TTF 1.06-bp160.1.12 Β· Artistic-2.0 and OFL-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms