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