Font::TTF::GrFeat(3)
π NAME π
Font::TTF::GrFeat - Graphite Font Features. This is the User Contributed Perl Documentation page for it, bestie, and it's giving Graphite Font Features energy. π¦
β¨ DESCRIPTION β¨
Graphite Font Features. That's the whole DESCRIPTION vibe in the original β the actual deets live in the sections below, iykyk. π
π INSTANCE VARIABLES π
version
The version instance variable. That's literally all the original gives us here β no extra lore, no cap. π
features
An array of hashes of the following form, bestie:
featureβ feature id numbernameβ name index in name tableexclusiveβ exclusive flagdefaultβ the default setting numbersettingsβ hash of setting number against name string index
π₯ METHODS π₯
$t->read
Reads the features from the TTF file into memory. Simple as that. π
$t->out($fh)
Writes the features to a TTF file. Slay. β¨
$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. π«Ά
$t->print($fh)
Prints a human-readable representation of the table. Iconic behavior, honestly. π
$t->tag_to_num ($feat_str)
Converts an alphanumeric feature id tag (string) to a number (32-bit). Tags are normally 4 chars. Graphite ignores space padding if it is present, so we do the same here. No cap. π₯
$t->num_to_tag ($feat_num)
Converts a feature id number (32-bit) back to a tag (string). Trailing space or null padding is removed. Feature id numbers that do not represent alphanumeric tags are returned unchanged. π
π BUGS π
The version 1 Feat table ends with a feature (id 1) named NoName with zero settings but with an offset to the last entry in the setting array. This last setting has id 0 and an invalid name id. This last feature is changed to have one setting. Yeah, that's the bug lore, bestie. π
π AUTHOR π
Alan Ward (derived from Jonathan Kew's Feat.pm). Shoutout, periodt. π
π 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 manual page, bestie! π«Ά This Font::TTF::GrFeat(3) page is from perl v5.42.0, dated 2016-08-28. Go forth and slay those Graphite font features. β¨π
π¦ 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