test

Class TestType1CFont

public class TestType1CFont extends JPanel implements KeyListener

Constructor Summary
TestType1CFont(InputStream is)
Method Summary
intcalcoffset(int base)
TestType1CFont.RangegetIndexEntry(int index, int id)
intgetIndexSize(int loc)
StringgetSID(int id)
booleanisRequestFocusEnabled()
voidkeyPressed(KeyEvent evt)
voidkeyReleased(KeyEvent evt)
voidkeyTyped(KeyEvent evt)
static voidmain(String[] args)
voidpaint(Graphics g)
voidparseGlyph(TestType1CFont.Range r, TestType1CFont.GlyphData gp, FlPoint pt)
voidreadFNum()
TestType1CFont.GlyphDatareadGlyph(String sid)
Read a single glyph, given its offset
TestType1CFont.GlyphDatareadGlyph(int index)
Read a glyph, given an index

Constructor Detail

TestType1CFont

public TestType1CFont(InputStream is)

Method Detail

calcoffset

public int calcoffset(int base)

getIndexEntry

public TestType1CFont.Range getIndexEntry(int index, int id)

getIndexSize

public int getIndexSize(int loc)

getSID

public String getSID(int id)

isRequestFocusEnabled

public boolean isRequestFocusEnabled()

keyPressed

public void keyPressed(KeyEvent evt)

keyReleased

public void keyReleased(KeyEvent evt)

keyTyped

public void keyTyped(KeyEvent evt)

main

public static void main(String[] args)

paint

public void paint(Graphics g)

parseGlyph

public void parseGlyph(TestType1CFont.Range r, TestType1CFont.GlyphData gp, FlPoint pt)

readFNum

public void readFNum()

readGlyph

public TestType1CFont.GlyphData readGlyph(String sid)
Read a single glyph, given its offset

readGlyph

public TestType1CFont.GlyphData readGlyph(int index)
Read a glyph, given an index