Font::TTF::Hdmx(3)
π Font::TTF::Hdmx β Horizontal device metrics π
User Contributed Perl Documentation β okay bestie, this is the Font::TTF::Hdmx page and weβre getting into it. π«Ά
β¨ NAME β¨
Font::TTF::Hdmx β Horizontal device metrics. Thatβs the name, thatβs the game. π
πΈ DESCRIPTION πΈ
Okay so the table is literally a hash of device metric tables, indexed by the ppem for that subtable. Each subtable is an array of advance widths in pixels for each glyph at that ppem β horizontally, bestie. No cap, itβs giving horizontal device metrics. β¨π
π INSTANCE VARIABLES π
Individual metrics are accessed using the following referencing, bestie:
$f->{'hdmx'}{$ppem}[$glyph_num]
In addition, there is one instance variable:
Numβ number of device tables. π
π οΈ METHODS π οΈ
π« $t->read π«
Reads the table into data structures. Slay. π¦
π« $t->out($fh) π«
Outputs the device metrics for this font. π
π« $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. Like, absolutely bye to that table. π
π« $t->tables_do(&func) π«
For each subtable it calls &sub($ref, $ppem). π
π« $t->XML_element($context, $depth, $key, $value) π«
Outputs device metrics a little more tidily. β¨
π BUGS π
None known. Thatβs the whole bug report, bestie. π
π 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. π
Signing off from the perl v5.42.0 era, dated 2016-08-28, with Font::TTF::Hdmx(3) energy β bye bestie, hydrate and go format something cute! π
πβ¨
π¦ 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