public final class Maxp extends Table
'maxp' tables have a major/minor version number. This implementation:
UnsupportedFontException
at construction time.When some data is not present in the actual version of the table, the accessors return identified values.
Like all tables, these objects are immutable.
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxFunctionDefs() |
int |
getMaxStackElements() |
int |
getMaxStorage() |
int |
getMaxTwilightPoints() |
int |
getNumGlyphs()
Get the number of glyphs
|
int |
getTableMajorVersion()
Get the major version of the table
|
int |
getTableMinorVersion()
Get the minor version of the table
|
void |
stream(Map tables) |
void |
subsetAndStream(Subset subset,
Map tables) |
void |
subsetAndStreamForCFF(int numGlyphs,
Map tables) |
public int getTableMajorVersion()
throws InvalidFontException
InvalidFontExceptionpublic int getTableMinorVersion()
throws InvalidFontException
InvalidFontExceptionpublic int getNumGlyphs()
throws InvalidFontException
InvalidFontExceptionpublic int getMaxTwilightPoints()
throws InvalidFontException
InvalidFontExceptionpublic int getMaxStorage()
throws InvalidFontException
InvalidFontExceptionpublic int getMaxFunctionDefs()
throws InvalidFontException
InvalidFontExceptionpublic int getMaxStackElements()
throws InvalidFontException
InvalidFontExceptionpublic void subsetAndStreamForCFF(int numGlyphs,
Map tables)
public void stream(Map tables)
Copyright © 2010 - 2020 Adobe. All Rights Reserved