org.apache.fop.fonts.type1

Class Type1FontLoader


public class Type1FontLoader
extends FontLoader

Loads a Type 1 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

Type1FontLoader(String fontFileURI, InputStream in, FontResolver resolver)
Constructs a new Type 1 font loader.

Method Summary

protected void
read()

Methods inherited from class org.apache.fop.fonts.FontLoader

getFont, loadFont, loadFont, loadFontFromInputStream, read

Constructor Details

Type1FontLoader

public Type1FontLoader(String fontFileURI,
                       InputStream in,
                       FontResolver resolver)
            throws 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

Method Details

read

protected void read()
            throws IOException
Overrides:
read in interface FontLoader

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