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: TTFFileInput.java,v 1.1 2001/11/29 01:45:29 duns Exp $
- Author:
- Simon Fischer
- Source Code:
- TTFFileInput.java
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
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()
Copyright © 2000-2004 FreeHEP, All Rights Reserved.