org.apache.fontbox.ttf
public class TrueTypeFont extends Object
Version: $Revision: 1.2 $
Method Summary | |
---|---|
void | addTable(TTFTable table)
Add a table definition.
|
void | close()
Close the underlying resources.
|
CMAPTable | getCMAP()
Get the cmap table for this TTF.
|
GlyphTable | getGlyph()
Get the glyf table for this TTF.
|
HeaderTable | getHeader()
Get the head table for this TTF.
|
HorizontalHeaderTable | getHorizontalHeader()
Get the hhea table for this TTF.
|
HorizontalMetricsTable | getHorizontalMetrics()
Get the hmtx table for this TTF.
|
IndexToLocationTable | getIndexToLocation()
Get the loca table for this TTF.
|
MaximumProfileTable | getMaximumProfile()
Get the maxp table for this TTF.
|
NamingTable | getNaming()
This will get the naming table for the true type font.
|
InputStream | getOriginalData()
This permit to get the data of the True Type Font
program representing the stream used to build this
object (normally from the TTFParser object).
|
OS2WindowsMetricsTable | getOS2Windows()
Get the OS/2 table for this TTF.
|
PostScriptTable | getPostScript()
Get the postscript table for this TTF.
|
Collection | getTables()
Get all of the tables.
|
float | getVersion() |
void | setVersion(float versionValue) |
Parameters: table The table to add.
Throws: IOException If there is an error closing the resources.
Returns: The cmap table.
Returns: The glyf table.
Returns: The head table.
Returns: The hhea table.
Returns: The hmtx table.
Returns: The loca table.
Returns: The maxp table.
Returns: The naming table.
Returns: COSStream True type font program stream
Throws: IOException If there is an error getting the font data.
Returns: The OS/2 table.
Returns: The postscript table.
Returns: All of the tables.
Returns: Returns the version.
Parameters: versionValue The version to set.