public class FontInfoFinder extends Object
Constructor and Description |
---|
FontInfoFinder() |
Modifier and Type | Method and Description |
---|---|
EmbedFontInfo[] |
find(URI fontURI,
InternalResourceResolver resourceResolver,
FontCache fontCache)
Attempts to determine EmbedFontInfo from a given font file.
|
void |
setEventListener(FontEventListener listener)
Sets the font event listener that can be used to receive events about particular events
in this class.
|
public void setEventListener(FontEventListener listener)
listener
- the font event listenerpublic EmbedFontInfo[] find(URI fontURI, InternalResourceResolver resourceResolver, FontCache fontCache)
fontURI
- the URI of the font resourceresourceResolver
- font resolver used to resolve fontfontCache
- font cache (may be null)Copyright © 2025 Apache Software Foundation. All rights reserved.