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
-
glyphNotAvailable
-
fontDirectoryNotFound
-
svgTextStrokedAsShapes
-