Package org.apache.fop.fonts
Interface FontEventListener
- All Known Implementing Classes:
FontEventAdapter
public interface FontEventListener
Event listener interface for font-related events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfontDirectoryNotFound(Object source, String dir) An error occurred trying to find the font directory specified in the config file.voidfontLoadingErrorAtAutoDetection(Object source, String fontURL, Exception e) An error occurred while loading a font for auto-detection.voidfontSubstituted(Object source, FontTriplet requested, FontTriplet effective) Notifies about a font being substituted as the requested one isn't available.voidglyphNotAvailable(Object source, char ch, String fontName) A glyph has been requested that is not available in the font.voidsvgTextStrokedAsShapes(Object source, String fontFamily) The SVG text will be stroked as shapes.
-
Method Details
-
fontSubstituted
Notifies about a font being substituted as the requested one isn't available.- Parameters:
source- the event sourcerequested- the requested font tripleteffective- the effective font triplet
-
fontLoadingErrorAtAutoDetection
An error occurred while loading a font for auto-detection.- Parameters:
source- the event sourcefontURL- the font URLe- the original exception
-
glyphNotAvailable
A glyph has been requested that is not available in the font.- Parameters:
source- the event sourcech- the character for which the glyph isn't availablefontName- the name of the font
-
fontDirectoryNotFound
An error occurred trying to find the font directory specified in the config file.- Parameters:
source- the event sourcedir- the directory in the config file
-
svgTextStrokedAsShapes
The SVG text will be stroked as shapes.- Parameters:
source- the event sourcefontFamily- the family name of the font that is being stroked
-