fop 0.93

org.apache.fop.fonts.type1
Class Type1FontLoader

java.lang.Object
  extended byorg.apache.fop.fonts.FontLoader
      extended byorg.apache.fop.fonts.type1.Type1FontLoader

public class Type1FontLoader
extends FontLoader

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


Constructor Summary
Type1FontLoader(java.lang.String fontFileURI, java.io.InputStream in, FontResolver resolver)
          Constructs a new Type 1 font loader.
 
Method Summary
 CustomFont getFont()
           
 
Methods inherited from class org.apache.fop.fonts.FontLoader
loadFont
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Type1FontLoader

public Type1FontLoader(java.lang.String fontFileURI,
                       java.io.InputStream in,
                       FontResolver resolver)
                throws java.io.IOException
Constructs a new Type 1 font loader.

Parameters:
fontFileURI - the URI to the PFB file of a Type 1 font
in - the InputStream reading the PFM file of a Type 1 font
resolver - the font resolver used to resolve URIs
Throws:
java.io.IOException - In case of an I/O error
Method Detail

getFont

public CustomFont getFont()
Specified by:
getFont in class FontLoader
Returns:
the font loaded by this loader
See Also:
FontLoader.getFont()

fop 0.93

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