Font::TTF::PCLT(3)

πŸ’– Font::TTF::PCLT(3) πŸ’–

okay bestie, welcome to the Font::TTF::PCLT(3) page β€” yes, the one from the User Contributed Perl Documentation. This whole thing is about the PCLT TrueType font table, and we're gonna get into it. ✨

πŸŽ€ NAME πŸŽ€

Font::TTF::PCLT - PCLT TrueType font table. That's the whole name, bestie. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

The PCLT table holds various pieces of HP-PCL specific information. Information here is generally not used by other software, except for xHeight and CapHeight, which are stored here (if the table exists in a font). No cap β€” that's the exception, bestie. πŸ’…

🌸 INSTANCE VARIABLES 🌸

Only from table and the standard β€” here's the full set, no skipping:

  • version
  • FontNumber
  • Pitch
  • xHeight
  • Style
  • TypeFamily
  • CapHeight
  • SymbolSet
  • Typeface
  • CharacterComplement
  • FileName
  • StrokeWeight
  • WidthType
  • SerifStyle

Notice that Typeface, CharacterComplement and FileName return arrays of unsigned characters of the appropriate length. That's the important bit, iykyk. ✨

πŸ”₯ METHODS πŸ”₯

🌟 $t->read

Reads the table into memory thanks to some utility functions. That's it β€” utility functions doing the heavy lifting. πŸ’ͺ

πŸ’Ύ $t->out($fh)

Writes the table to a file either from memory or by copying. Both vibes are valid, bestie. πŸ’Ύ

πŸ“ $t->minsize()

Returns the minimum size this table can be. If it's smaller than this, then the table must be bad and should be deleted or whatever. So like, if the vibe check fails, yeet it (or whatever). πŸ‘‹

πŸ’€ BUGS πŸ’€

None known. Not a single one. She's iconic and bug-free as far as we know. ✨

πŸ‘‘ 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 that's the whole page, bestie. This Font::TTF::PCLT(3) doc came from perl v5.42.0 and it's dated 2016-08-28 β€” mwah, historical. πŸ«ΆπŸ’…

πŸ“¦ where this page comes from