Package org.xhtmlrenderer.pdf
Class TrueTypeUtil
java.lang.Object
org.xhtmlrenderer.pdf.TrueTypeUtil
Uses code from iText's DefaultFontMapper and TrueTypeFont classes. See
http://sourceforge.net/projects/itext/ for license information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFamilyName
(com.lowagie.text.pdf.BaseFont font) static void
populateDescription
(String path, byte[] contents, com.lowagie.text.pdf.BaseFont font, ITextFontResolver.FontDescription descr) static void
populateDescription
(String path, com.lowagie.text.pdf.BaseFont font, ITextFontResolver.FontDescription descr)
-
Constructor Details
-
TrueTypeUtil
public TrueTypeUtil()
-
-
Method Details
-
getFamilyName
-
populateDescription
public static void populateDescription(String path, com.lowagie.text.pdf.BaseFont font, ITextFontResolver.FontDescription descr) throws IOException, NoSuchFieldException, IllegalAccessException, com.lowagie.text.DocumentException - Throws:
IOException
NoSuchFieldException
IllegalAccessException
com.lowagie.text.DocumentException
-
populateDescription
public static void populateDescription(String path, byte[] contents, com.lowagie.text.pdf.BaseFont font, ITextFontResolver.FontDescription descr) throws IOException, NoSuchFieldException, IllegalAccessException, com.lowagie.text.DocumentException - Throws:
IOException
NoSuchFieldException
IllegalAccessException
com.lowagie.text.DocumentException
-