fop 0.94

org.apache.fop.fonts.truetype
Class TTFFontLoader

java.lang.Object
  extended by org.apache.fop.fonts.FontLoader
      extended by org.apache.fop.fonts.truetype.TTFFontLoader

public class TTFFontLoader
extends FontLoader

Loads a font into memory directly from the original font file.


Field Summary
 
Fields inherited from class org.apache.fop.fonts.FontLoader
fontFileURI, in, loaded, log, resolver, returnFont
 
Constructor Summary
TTFFontLoader(java.lang.String fontFileURI, java.io.InputStream in, FontResolver resolver)
          Default constructor
 
Method Summary
protected  void read()
          Reads/parses the font data.
 
Methods inherited from class org.apache.fop.fonts.FontLoader
getFont, loadFont, loadFont, loadFontFromInputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTFFontLoader

public TTFFontLoader(java.lang.String fontFileURI,
                     java.io.InputStream in,
                     FontResolver resolver)
Default constructor

Parameters:
fontFileURI - the URI representing the font file
in - the InputStream to load the font from
resolver - the FontResolver for font URI resolution
Method Detail

read

protected void read()
             throws java.io.IOException
Description copied from class: FontLoader
Reads/parses the font data.

Specified by:
read in class FontLoader
Throws:
java.io.IOException - In case of an I/O error
See Also:
FontLoader.read()

fop 0.94

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.