1Font::TTF::Maxp(3) User Contributed Perl Documentation Font::TTF::Maxp(3)
2
3
4
6 Font::TTF::Maxp - Maximum Profile table in a font
7
9 A collection of useful instance variables following the TTF standard.
10 Probably the most used being "numGlyphs". Note that this particular
11 value is foundational and should be kept up to date by the application,
12 it is not updated by "update".
13
14 Handles table versions 0.5, 1.0
15
17 No others beyond those specified in the standard:
18
19 numGlyphs
20 maxPoints
21 maxContours
22 maxCompositePoints
23 maxCompositeContours
24 maxZones
25 maxTwilightPoints
26 maxStorage
27 maxFunctionDefs
28 maxInstructionDefs
29 maxStackElements
30 maxSizeOfInstructions
31 maxComponentElements
32 maxComponentDepth
33
35 $t->read
36 Reads the table into memory
37
38 $t->out($fh)
39 Writes the table to a file either from memory or by copying.
40
41 $t->minsize()
42 Returns the minimum size this table can be. If it is smaller than this,
43 then the table must be bad and should be deleted or whatever.
44
45 $t->update
46 Calculates all the maximum values for a font based on the glyphs in the
47 font. Only those fields which require hinting code interpretation are
48 ignored and left as they were read.
49
51 None known
52
54 Martin Hosken <http://scripts.sil.org/FontUtils>.
55
57 Copyright (c) 1998-2016, SIL International (http://www.sil.org)
58
59 This module is released under the terms of the Artistic License 2.0.
60 For details, see the full text of the license in the file LICENSE.
61
62
63
64perl v5.30.1 2020-01-30 Font::TTF::Maxp(3)