Font::TTF::Vmtx(3)
πΈ NAME πΈ
okay so bestie, you're looking at Font::TTF::Vmtx(3) β the Vertical Metrics module, and yes it's a User Contributed Perl Documentation page. It's giving "the table that knows how tall your glyphs are feeling today" energy, but make it font-internal, iykyk. π
π¦ DESCRIPTION π¦
This thing contains the advance height and top side bearing for each glyph. Because of the compressability of the data onto disk, this table uses information from other tables, and thus must do part of its output during the output of other tables. No cap β it's a team player. β¨
π INSTANCE VARIABLES π
The vertical metrics are kept in two arrays by glyph id. The variable names do not start with a space β literally, that's a detail, don't come for me.
advanceβ an array containing the advance height for each glyph.topβ an array containing the top side bearing for each glyph.
π« METHODS π«
π§ $t->read π§
Reads the vertical metrics from the TTF file into memory. Simple, iconic, does what it says. π
π«Ά $t->out($fh) π«Ά
Writes the metrics to a TTF file. Assumes that "vhea" has updated the numVMetrics from here. That's the whole vibe check for this one. π
π BUGS π
None known. (Yes, bestie, "none known" is the entire bug report β I'm as shook as you are. π)
π AUTHOR π
Martin Hosken <http://scripts.sil.org/FontUtils>
π 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 bye bestie β source/version: perl v5.42.0, date: 2016-08-28 ππ
π¦ 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