org.freehep.graphicsio.font.truetype
Class TTFFileInput
java.lang.Object
org.freehep.graphicsio.font.truetype.TTFInput
org.freehep.graphicsio.font.truetype.TTFFileInput
public class TTFFileInput
- extends TTFInput
Concrete implementation of the TrueType Input for one Table, read from a TTF
File.
Reads one table from the file.
- Version:
- $Id: freehep-graphicsio/src/main/java/org/freehep/graphicsio/font/truetype/TTFFileInput.java 5641ca92a537 2005/11/26 00:15:35 duns $
- Author:
- Simon Fischer
| Methods inherited from class org.freehep.graphicsio.font.truetype.TTFInput |
checkShortZero, checkZeroBit, flagBit, flagBit, popPos, pushPos, readByteFlags, readF2Dot14, readFFFFTerminatedUShortArray, readFixed, readFWord, readShortArray, readUFWord, readUShortArray, readUShortFlags |
TTFFileInput
public TTFFileInput(RandomAccessFile file,
long offset,
long length,
long checksum)
throws IOException
- Throws:
IOException
seek
public void seek(long offset)
throws IOException
- Specified by:
seek in class TTFInput
- Throws:
IOException
readByte
public int readByte()
throws IOException
- Specified by:
readByte in class TTFInput
- Throws:
IOException
readRawByte
public int readRawByte()
throws IOException
- Specified by:
readRawByte in class TTFInput
- Throws:
IOException
readShort
public short readShort()
throws IOException
- Specified by:
readShort in class TTFInput
- Throws:
IOException
readUShort
public int readUShort()
throws IOException
- Specified by:
readUShort in class TTFInput
- Throws:
IOException
readLong
public int readLong()
throws IOException
- Specified by:
readLong in class TTFInput
- Throws:
IOException
readULong
public long readULong()
throws IOException
- Specified by:
readULong in class TTFInput
- Throws:
IOException
readChar
public byte readChar()
throws IOException
- Specified by:
readChar in class TTFInput
- Throws:
IOException
readFully
public void readFully(byte[] b)
throws IOException
- Specified by:
readFully in class TTFInput
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.