org.apache.fontbox.ttf

Class GlyphTable

public class GlyphTable extends TTFTable

A table in a true type font.

Version: $Revision: 1.1 $

Author: Ben Litchfield (ben@benlitchfield.com)

Field Summary
static StringTAG
Tag to identify this table.
Method Summary
GlyphData[]getGlyphs()
voidinitData(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.
voidsetGlyphs(GlyphData[] glyphsValue)

Field Detail

TAG

public static final String TAG
Tag to identify this table.

Method Detail

getGlyphs

public GlyphData[] getGlyphs()

Returns: Returns the glyphs.

initData

public void initData(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.

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.

setGlyphs

public void setGlyphs(GlyphData[] glyphsValue)

Parameters: glyphsValue The glyphs to set.

Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.