public final class FontCache extends Object
FontProvider
.
PDFBox is free to purge this cache at will.Constructor and Description |
---|
FontCache() |
Modifier and Type | Method and Description |
---|---|
void |
addFont(FontInfo info,
org.apache.fontbox.FontBoxFont font)
Adds the given FontBox font to the cache.
|
org.apache.fontbox.FontBoxFont |
getFont(FontInfo info)
Returns the FontBox font associated with the given FontInfo.
|
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.