org.apache.fontbox.ttf
public class HorizontalHeaderTable extends TTFTable
Version: $Revision: 1.1 $
Field Summary | |
---|---|
static String | TAG
A tag that identifies this table type. |
Method Summary | |
---|---|
int | getAdvanceWidthMax() |
short | getAscender() |
short | getCaretSlopeRise() |
short | getCaretSlopeRun() |
short | getDescender() |
short | getLineGap() |
short | getMetricDataFormat() |
short | getMinLeftSideBearing() |
short | getMinRightSideBearing() |
int | getNumberOfHMetrics() |
short | getReserved1() |
short | getReserved2() |
short | getReserved3() |
short | getReserved4() |
short | getReserved5() |
float | getVersion() |
short | getXMaxExtent() |
void | initData(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.
|
void | setAdvanceWidthMax(int advanceWidthMaxValue) |
void | setAscender(short ascenderValue) |
void | setCaretSlopeRise(short caretSlopeRiseValue) |
void | setCaretSlopeRun(short caretSlopeRunValue) |
void | setDescender(short descenderValue) |
void | setLineGap(short lineGapValue) |
void | setMetricDataFormat(short metricDataFormatValue) |
void | setMinLeftSideBearing(short minLeftSideBearingValue) |
void | setMinRightSideBearing(short minRightSideBearingValue) |
void | setNumberOfHMetrics(int numberOfHMetricsValue) |
void | setReserved1(short reserved1Value) |
void | setReserved2(short reserved2Value) |
void | setReserved3(short reserved3Value) |
void | setReserved4(short reserved4Value) |
void | setReserved5(short reserved5Value) |
void | setVersion(float versionValue) |
void | setXMaxExtent(short maxExtentValue) |
Returns: Returns the advanceWidthMax.
Returns: Returns the ascender.
Returns: Returns the caretSlopeRise.
Returns: Returns the caretSlopeRun.
Returns: Returns the descender.
Returns: Returns the lineGap.
Returns: Returns the metricDataFormat.
Returns: Returns the minLeftSideBearing.
Returns: Returns the minRightSideBearing.
Returns: Returns the numberOfHMetrics.
Returns: Returns the reserved1.
Returns: Returns the reserved2.
Returns: Returns the reserved3.
Returns: Returns the reserved4.
Returns: Returns the reserved5.
Returns: Returns the version.
Returns: Returns the xMaxExtent.
Parameters: ttf The font that is being read. data The stream to read the data from.
Throws: IOException If there is an error reading the data.
Parameters: advanceWidthMaxValue The advanceWidthMax to set.
Parameters: ascenderValue The ascender to set.
Parameters: caretSlopeRiseValue The caretSlopeRise to set.
Parameters: caretSlopeRunValue The caretSlopeRun to set.
Parameters: descenderValue The descender to set.
Parameters: lineGapValue The lineGap to set.
Parameters: metricDataFormatValue The metricDataFormat to set.
Parameters: minLeftSideBearingValue The minLeftSideBearing to set.
Parameters: minRightSideBearingValue The minRightSideBearing to set.
Parameters: numberOfHMetricsValue The numberOfHMetrics to set.
Parameters: reserved1Value The reserved1 to set.
Parameters: reserved2Value The reserved2 to set.
Parameters: reserved3Value The reserved3 to set.
Parameters: reserved4Value The reserved4 to set.
Parameters: reserved5Value The reserved5 to set.
Parameters: versionValue The version to set.
Parameters: maxExtentValue The xMaxExtent to set.