Package org.xhtmlrenderer.pdf
Class ITextFontResolver
java.lang.Object
org.xhtmlrenderer.pdf.ITextFontResolver
- All Implemented Interfaces:
FontResolver
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
addFontDirectory
(String dir, boolean embedded) void
void
org.xhtmlrenderer.pdf.ITextFontResolver.FontFamily
getFontFamily
(String fontFamilyName) void
importFontFaces
(List fontFaces) resolveFont
(SharedContext renderingContext, FontSpecification spec)
-
Constructor Details
-
Method Details
-
flushCache
public void flushCache()- Specified by:
flushCache
in interfaceFontResolver
-
flushFontFaceFonts
public void flushFontFaceFonts() -
importFontFaces
-
addFontDirectory
public void addFontDirectory(String dir, boolean embedded) throws com.lowagie.text.DocumentException, IOException - Throws:
com.lowagie.text.DocumentException
IOException
-
addFont
public void addFont(String path, boolean embedded) throws com.lowagie.text.DocumentException, IOException - Throws:
com.lowagie.text.DocumentException
IOException
-
addFont
public void addFont(String path, String encoding, boolean embedded) throws com.lowagie.text.DocumentException, IOException - Throws:
com.lowagie.text.DocumentException
IOException
-
addFont
public void addFont(String path, String encoding, boolean embedded, String pathToPFB) throws com.lowagie.text.DocumentException, IOException - Throws:
com.lowagie.text.DocumentException
IOException
-
getFontFamily