Font::...medInfo(3pm)
π Font::FreeType::NamedInfo π
okay bestie, welcome to the User Contributed Perl Documentation page whose header is doing a whole Font::...medInfo(3pm) abbreviation moment. The actual module is Font::FreeType::NamedInfo, and it's all about the info hiding in the 'names table' in a font file. no cap, let's get into it. β¨
πΈ NAME πΈ
Font::FreeType::NamedInfo β information from 'names table' in font file π
β¨ SYNOPSIS β¨
use Font::FreeType;
my $freetype = Font::FreeType->new;
my $face = $freetype->face('Vera.ttf');
my $infos = $face->namedinfos;
if($infos && @$infos) {
say $_->string for(@$infos);
}
π DESCRIPTION π
okay so the TrueType and OpenType specifications literally allow the inclusion of a special names table in font files. This table contains textual (and internationalized) information regarding the font, like family name, copyright, version, etc. iconic behavior, honestly. π
Possible values for platform_id, encoding_id, language_id, and name_id are given in the file ttnameid.h from FreeType distribution. For details please refer to the TrueType or OpenType specification. π¦
π METHODS π
bestie, these are the methods:
platform_idencoding_idlanguage_idname_idstringβ The name string. Note that its format differs depending on the (platform,encoding) pair. It can be aPascal String, aUTF-16one, etc.
Generally speaking, the string is not zero-terminated. Please refer to the TrueType specification for details. π
no invented lore here, bestie β every flag, name, file, and caveat from the original is present and accounted for. π«Ά
xoxo, your Unix bestie π
β this page is perl v5.42.3, dated 2026-08-19, and the footer is still serving Font::...medInfo(3pm). periodt. ππ
π¦ where this page comes from
- ubuntu stonking: libfont-freetype-perl 0.16-3build5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms