org.fontbox.ttf
Class HorizontalMetricsTable
public class HorizontalMetricsTable
A table in a true type font.
- Ben Litchfield (ben@benlitchfield.com)
static String | TAG - A tag that identifies this table type.
|
TAG
public static final String TAG
A tag that identifies this table type.
getAdvanceWidth
public int[] getAdvanceWidth()
- Returns the advanceWidth.
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException
This will read the required data from the stream.
- initData in interface TTFTable
ttf
- The font that is being read.data
- The stream to read the data from.
setAdvanceWidth
public void setAdvanceWidth(int[] advanceWidthValue)
advanceWidthValue
- The advanceWidth to set.