Package org.apache.pdfbox.pdmodel.font
Class FontCache
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.font.FontCache
-
public final class FontCache extends java.lang.ObjectAn in-memory cache for system fonts. This allows PDFBox to manage caching for aFontProvider. PDFBox is free to purge this cache at will.- Author:
- John Hewson
-
-
Constructor Summary
Constructors Constructor Description FontCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFont(FontInfo info, org.apache.fontbox.FontBoxFont font)Adds the given FontBox font to the cache.org.apache.fontbox.FontBoxFontgetFont(FontInfo info)Returns the FontBox font associated with the given FontInfo.
-