DOKK / manpages / debian 11 / libfont-ttf-perl / Font::TTF::Maxp.3pm.en
Font::TTF::Maxp(3pm) User Contributed Perl Documentation Font::TTF::Maxp(3pm)

Font::TTF::Maxp - Maximum Profile table in a font

A collection of useful instance variables following the TTF standard. Probably the most used being "numGlyphs". Note that this particular value is foundational and should be kept up to date by the application, it is not updated by "update".

Handles table versions 0.5, 1.0

No others beyond those specified in the standard:

    numGlyphs
    maxPoints
    maxContours
    maxCompositePoints
    maxCompositeContours
    maxZones
    maxTwilightPoints
    maxStorage
    maxFunctionDefs
    maxInstructionDefs
    maxStackElements
    maxSizeOfInstructions
    maxComponentElements
    maxComponentDepth

Reads the table into memory

Writes the table to a file either from memory or by copying.

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.

Calculates all the maximum values for a font based on the glyphs in the font. Only those fields which require hinting code interpretation are ignored and left as they were read.

None known

Martin Hosken <http://scripts.sil.org/FontUtils>.

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.

2020-12-27 perl v5.32.0