org.freehep.graphicsio.font.truetype
Class TTFFont
java.lang.Object
org.freehep.graphicsio.font.truetype.TTFFont
- Direct Known Subclasses:
- TTFFile, TTFOpenType
public abstract class TTFFont
- extends Object
TrueType Font with all its tables.
- Version:
- $Id: TTFFont.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Simon Fischer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TTFFont
public TTFFont()
getFontVersion
public abstract int getFontVersion()
show
public void show()
getTable
public TTFTable getTable(String tag)
throws IOException
- Returns the table with the given tag and reads it if necessary.
- Throws:
IOException
readAll
public void readAll()
throws IOException
- Reads all tables. This method does not need to be called since the tables
are read on demand (getTable(). It might be useful to call
it in order to print out all available information.
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.