FreeHEP API
Version current

org.freehep.graphicsio.font.truetype
Class TTFFont

java.lang.Object
  extended byorg.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,v 1.1 2001/11/29 01:45:29 duns Exp $
Author:
Simon Fischer
Source Code:
TTFFont.java

Constructor Summary
TTFFont()
           
 
Method Summary
 void close()
           
abstract  int getFontVersion()
           
 TTFTable getTable(String tag)
          Returns the table with the given tag and reads it if necessary.
 void readAll()
          Reads all tables.
 void show()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTFFont

public TTFFont()
Method Detail

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.