org.extex.font
Interface LoadableFont
- All Superinterfaces:
- BaseFont, ExtexFont
- All Known Implementing Classes:
- LoadableAfmFont, LoadableTfmFont, LoadableVfFont, LoadableXtfFont
public interface LoadableFont
- extends ExtexFont
Interface for font which can be loaded from an external resource.
- Version:
- $Revision: 5825 $
- Author:
- Michael Niedermair
| Methods inherited from interface org.extex.font.ExtexFont |
getActualSize, getDepth, getDesignSize, getEm, getEx, getFontDimen, getFontName, getHeight, getItalicCorrection, getKerning, getLigature, getScaleFactor, getSpace, getWidth, hasGlyph |
loadFont
void loadFont(java.io.InputStream in,
CoreFontFactory factory,
FontKey fontKey)
throws CorruptFontException,
ConfigurationException
- Load a font from the stream.
- Parameters:
in - The stream for reading.factory - Tthe font factory.fontKey - The font key.
- Throws:
CorruptFontException - if the font is corrupt.
ConfigurationException - from the configuration system.