public interface FontEventProducer extends EventProducer
Modifier and Type | Interface and Description |
---|---|
static class |
FontEventProducer.Provider
Provider class for the event producer.
|
Modifier and Type | Method and Description |
---|---|
void |
fontDirectoryNotFound(Object source,
String dir)
An error occurred trying to find the font directory specified in the config file.
|
void |
fontFeatureNotSuppprted(Object source,
String feature,
String onlySupportedIn)
A method to warn the user that the feature they are trying to use is not supported with either the renderer or
other setting.
|
void |
fontLoadingErrorAtAutoDetection(Object source,
String fontURL,
Exception e)
An error occurred while loading a font for auto-detection.
|
void |
fontSubstituted(Object source,
FontTriplet requested,
FontTriplet effective)
Notifies about a font being substituted as the requested one isn't available.
|
void |
glyphNotAvailable(Object source,
char ch,
String fontName)
A glyph has been requested that is not available in the font.
|
void |
svgTextStrokedAsShapes(Object source,
String fontFamily)
The SVG text will be stroked as shapes.
|
void fontSubstituted(Object source, FontTriplet requested, FontTriplet effective)
source
- the event sourcerequested
- the requested font tripleteffective
- the effective font tripletvoid fontLoadingErrorAtAutoDetection(Object source, String fontURL, Exception e)
source
- the event sourcefontURL
- the font URLe
- the original exceptionvoid glyphNotAvailable(Object source, char ch, String fontName)
source
- the event sourcech
- the character for which the glyph isn't availablefontName
- the name of the fontvoid fontDirectoryNotFound(Object source, String dir)
source
- the event sourcedir
- the directory in the config filevoid svgTextStrokedAsShapes(Object source, String fontFamily)
source
- the event sourcefontFamily
- the family name of the font that is being strokedvoid fontFeatureNotSuppprted(Object source, String feature, String onlySupportedIn)
source
- feature
- The feature that has caused the not supported issueonlySupportedIn
- The renderer / setting that this feature works with.Copyright © 2025 Apache Software Foundation. All rights reserved.