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,
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–2017 The Apache Software Foundation. All rights reserved.