Font::TTF::LTSH(3)

✨ NAME ✨

Bestie, meet Font::TTF::LTSH(3) β€” the Linear Threshold table πŸ’–. This is the User Contributed Perl Documentation page for it, and yes, it’s giving β€œsmall but iconic.” ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this table holds the linear threshold for each glyph. That’s the ppem value at which a glyph’s metrics become linear β€” like the exact point where the glyph’s measurements go linear, periodt. ✨ If a glyph’s metrics are always linear, the value is set to 1. No cap.

πŸ’– INSTANCE VARIABLES πŸ’–

  • glyphs β€” an array of ppem values. One value per glyph, bestie. 🫢

πŸŽ€ METHODS πŸŽ€

πŸ’… $t->read

Reads the table. That’s it, that’s the method. πŸ“–βœ¨

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

Outputs the LTSH to the given fh β€” you know the vibe. πŸ“

πŸ’… $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 😭 β€” the original really said β€œor whatever,” and honestly? Mood.

πŸ’€ BUGS πŸ’€

None known. Zero known bugs, clean vibes only. ✨

πŸ‘‘ 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. πŸŽ€


Signed off with love: this Font::TTF::LTSH(3) page is from perl v5.42.0 and dated 2016-08-28. πŸ’…βœ¨

πŸ“¦ where this page comes from