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 Collection<String>getFamilyNames(com.lowagie.text.pdf.BaseFont font) static voidpopulateDescription(String path, byte[] contents, com.lowagie.text.pdf.BaseFont font, FontDescription description) static voidpopulateDescription(String path, com.lowagie.text.pdf.BaseFont font, FontDescription description)
-
Constructor Details
-
TrueTypeUtil
public TrueTypeUtil()
-
-
Method Details
-
getFamilyNames
-
populateDescription
public static void populateDescription(String path, com.lowagie.text.pdf.BaseFont font, FontDescription description) throws IOException, NoSuchFieldException, IllegalAccessException, com.lowagie.text.DocumentException - Throws:
IOExceptionNoSuchFieldExceptionIllegalAccessExceptioncom.lowagie.text.DocumentException
-
populateDescription
public static void populateDescription(String path, byte[] contents, com.lowagie.text.pdf.BaseFont font, FontDescription description) throws IOException, NoSuchFieldException, IllegalAccessException, com.lowagie.text.DocumentException - Throws:
IOExceptionNoSuchFieldExceptionIllegalAccessExceptioncom.lowagie.text.DocumentException
-