com.sun.pdfview.font.ttf

Class GlyfTable

public class GlyfTable extends TrueTypeTable

Model the TrueType Glyf table
Constructor Summary
protected GlyfTable(TrueTypeFont ttf)
Creates a new instance of HmtxTable
Method Summary
ByteBuffergetData()
get the data in this map as a ByteBuffer
GlyfgetGlyph(int index)
Get the glyph at a given index, parsing it as needed
intgetLength()
Get the length of this table
voidsetData(ByteBuffer data)
Initialize this structure from a ByteBuffer
StringtoString()
Create a pretty String

Constructor Detail

GlyfTable

protected GlyfTable(TrueTypeFont ttf)
Creates a new instance of HmtxTable

Method Detail

getData

public ByteBuffer getData()
get the data in this map as a ByteBuffer

getGlyph

public Glyf getGlyph(int index)
Get the glyph at a given index, parsing it as needed

getLength

public int getLength()
Get the length of this table

setData

public void setData(ByteBuffer data)
Initialize this structure from a ByteBuffer

toString

public String toString()
Create a pretty String