maxp) table contains many max values, which can be used to pre-allocate arrays for speeding up glyph loading and hinting.
struct TT_MaxProfile {
FT_Fixed version;
FT_UShort numGlyphs;
FT_UShort maxPoints;
FT_UShort maxContours;
FT_UShort maxCompositePoints;
FT_UShort maxCompositeContours;
FT_UShort maxZones;
FT_UShort maxTwilightPoints;
FT_UShort maxStorage;
FT_UShort maxFunctionDefs;
FT_UShort maxInstructionDefs;
FT_UShort maxStackElements;
FT_UShort maxSizeOfInstructions;
FT_UShort maxComponentElements;
FT_UShort maxComponentDepth;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | TT_MaxProfile.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MAXCOMPONENTDEPTH
The struct member offsets. |
| public static final int | MAXCOMPONENTELEMENTS
The struct member offsets. |
| public static final int | MAXCOMPOSITECONTOURS
The struct member offsets. |
| public static final int | MAXCOMPOSITEPOINTS
The struct member offsets. |
| public static final int | MAXCONTOURS
The struct member offsets. |
| public static final int | MAXFUNCTIONDEFS
The struct member offsets. |
| public static final int | MAXINSTRUCTIONDEFS
The struct member offsets. |
| public static final int | MAXPOINTS
The struct member offsets. |
| public static final int | MAXSIZEOFINSTRUCTIONS
The struct member offsets. |
| public static final int | MAXSTACKELEMENTS
The struct member offsets. |
| public static final int | MAXSTORAGE
The struct member offsets. |
| public static final int | MAXTWILIGHTPOINTS
The struct member offsets. |
| public static final int | MAXZONES
The struct member offsets. |
| public static final int | NUMGLYPHS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VERSION
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | TT_MaxProfile(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected TT_MaxProfile | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static TT_MaxProfile | |
| public static TT_MaxProfile. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static TT_MaxProfile | |
| public static TT_MaxProfile. | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public short | |
| public static long | |
| public int | |
| public long |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MAXCOMPONENTDEPTH | back to summary |
|---|---|
| public static final int MAXCOMPONENTDEPTH The struct member offsets. | |
| MAXCOMPONENTELEMENTS | back to summary |
|---|---|
| public static final int MAXCOMPONENTELEMENTS The struct member offsets. | |
| MAXCOMPOSITECONTOURS | back to summary |
|---|---|
| public static final int MAXCOMPOSITECONTOURS The struct member offsets. | |
| MAXCOMPOSITEPOINTS | back to summary |
|---|---|
| public static final int MAXCOMPOSITEPOINTS The struct member offsets. | |
| MAXCONTOURS | back to summary |
|---|---|
| public static final int MAXCONTOURS The struct member offsets. | |
| MAXFUNCTIONDEFS | back to summary |
|---|---|
| public static final int MAXFUNCTIONDEFS The struct member offsets. | |
| MAXINSTRUCTIONDEFS | back to summary |
|---|---|
| public static final int MAXINSTRUCTIONDEFS The struct member offsets. | |
| MAXPOINTS | back to summary |
|---|---|
| public static final int MAXPOINTS The struct member offsets. | |
| MAXSIZEOFINSTRUCTIONS | back to summary |
|---|---|
| public static final int MAXSIZEOFINSTRUCTIONS The struct member offsets. | |
| MAXSTACKELEMENTS | back to summary |
|---|---|
| public static final int MAXSTACKELEMENTS The struct member offsets. | |
| MAXSTORAGE | back to summary |
|---|---|
| public static final int MAXSTORAGE The struct member offsets. | |
| MAXTWILIGHTPOINTS | back to summary |
|---|---|
| public static final int MAXTWILIGHTPOINTS The struct member offsets. | |
| MAXZONES | back to summary |
|---|---|
| public static final int MAXZONES The struct member offsets. | |
| NUMGLYPHS | back to summary |
|---|---|
| public static final int NUMGLYPHS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VERSION | back to summary |
|---|---|
| public static final int VERSION The struct member offsets. | |
| TT_MaxProfile | back to summary |
|---|---|
| protected TT_MaxProfile(long address, ByteBuffer container) | |
| TT_MaxProfile | back to summary |
|---|---|
| public TT_MaxProfile(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected TT_MaxProfile create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static TT_MaxProfile create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static TT_MaxProfile. Create a
| |
| createSafe | back to summary |
|---|---|
| public static TT_MaxProfile createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static TT_MaxProfile. Like
| |
| maxComponentDepth | back to summary |
|---|---|
public short maxComponentDepth()
| |
| maxComponentElements | back to summary |
|---|---|
public short maxComponentElements()
| |
| maxCompositeContours | back to summary |
|---|---|
public short maxCompositeContours()
| |
| maxCompositePoints | back to summary |
|---|---|
public short maxCompositePoints()
| |
| maxContours | back to summary |
|---|---|
public short maxContours()
| |
| maxFunctionDefs | back to summary |
|---|---|
public short maxFunctionDefs()
| |
| maxInstructionDefs | back to summary |
|---|---|
public short maxInstructionDefs()
| |
| maxPoints | back to summary |
|---|---|
public short maxPoints()
| |
| maxSizeOfInstructions | back to summary |
|---|---|
public short maxSizeOfInstructions()
| |
| maxStackElements | back to summary |
|---|---|
public short maxStackElements()
| |
| maxStorage | back to summary |
|---|---|
public short maxStorage()
| |
| maxTwilightPoints | back to summary |
|---|---|
public short maxTwilightPoints()
| |
| maxZones | back to summary |
|---|---|
public short maxZones()
| |
| nmaxComponentDepth | back to summary |
|---|---|
| public static short nmaxComponentDepth(long struct) Unsafe version of | |
| nmaxComponentElements | back to summary |
|---|---|
| public static short nmaxComponentElements(long struct) Unsafe version of | |
| nmaxCompositeContours | back to summary |
|---|---|
| public static short nmaxCompositeContours(long struct) Unsafe version of | |
| nmaxCompositePoints | back to summary |
|---|---|
| public static short nmaxCompositePoints(long struct) Unsafe version of | |
| nmaxContours | back to summary |
|---|---|
| public static short nmaxContours(long struct) Unsafe version of | |
| nmaxFunctionDefs | back to summary |
|---|---|
| public static short nmaxFunctionDefs(long struct) Unsafe version of | |
| nmaxInstructionDefs | back to summary |
|---|---|
| public static short nmaxInstructionDefs(long struct) Unsafe version of | |
| nmaxPoints | back to summary |
|---|---|
| public static short nmaxPoints(long struct) Unsafe version of | |
| nmaxSizeOfInstructions | back to summary |
|---|---|
| public static short nmaxSizeOfInstructions(long struct) Unsafe version of | |
| nmaxStackElements | back to summary |
|---|---|
| public static short nmaxStackElements(long struct) Unsafe version of | |
| nmaxStorage | back to summary |
|---|---|
| public static short nmaxStorage(long struct) Unsafe version of | |
| nmaxTwilightPoints | back to summary |
|---|---|
| public static short nmaxTwilightPoints(long struct) Unsafe version of | |
| nmaxZones | back to summary |
|---|---|
| public static short nmaxZones(long struct) Unsafe version of | |
| nnumGlyphs | back to summary |
|---|---|
| public static short nnumGlyphs(long struct) Unsafe version of | |
| numGlyphs | back to summary |
|---|---|
public short numGlyphs()
| |
| nversion | back to summary |
|---|---|
| public static long nversion(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| version | back to summary |
|---|---|
public long version()
| |
TT_MaxProfile structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final TT_MaxProfile |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected TT_MaxProfile | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| protected TT_MaxProfile. | |
| public long |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final TT_MaxProfile ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected TT_MaxProfile getElementFactory() Implements abstract org.
| |
| maxComponentDepth | back to summary |
|---|---|
public short maxComponentDepth()
| |
| maxComponentElements | back to summary |
|---|---|
public short maxComponentElements()
| |
| maxCompositeContours | back to summary |
|---|---|
public short maxCompositeContours()
| |
| maxCompositePoints | back to summary |
|---|---|
public short maxCompositePoints()
| |
| maxContours | back to summary |
|---|---|
public short maxContours()
| |
| maxFunctionDefs | back to summary |
|---|---|
public short maxFunctionDefs()
| |
| maxInstructionDefs | back to summary |
|---|---|
public short maxInstructionDefs()
| |
| maxPoints | back to summary |
|---|---|
public short maxPoints()
| |
| maxSizeOfInstructions | back to summary |
|---|---|
public short maxSizeOfInstructions()
| |
| maxStackElements | back to summary |
|---|---|
public short maxStackElements()
| |
| maxStorage | back to summary |
|---|---|
public short maxStorage()
| |
| maxTwilightPoints | back to summary |
|---|---|
public short maxTwilightPoints()
| |
| maxZones | back to summary |
|---|---|
public short maxZones()
| |
| numGlyphs | back to summary |
|---|---|
public short numGlyphs()
| |
| self | back to summary |
|---|---|
| protected TT_MaxProfile. Implements abstract org.
| |
| version | back to summary |
|---|---|
public long version()
| |