Package org.xhtmlrenderer.pdf
Class TrueTypeUtil
- java.lang.Object
-
- org.xhtmlrenderer.pdf.TrueTypeUtil
-
public class TrueTypeUtil extends Object
Uses code from iText's DefaultFontMapper and TrueTypeFont classes. See http://sourceforge.net/projects/itext/ for license information.
-
-
Constructor Summary
Constructors Constructor Description TrueTypeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<String>
getFamilyNames(com.lowagie.text.pdf.BaseFont font)
static void
populateDescription(String path, byte[] contents, com.lowagie.text.pdf.BaseFont font, FontDescription description)
static void
populateDescription(String path, com.lowagie.text.pdf.BaseFont font, FontDescription description)
-
-
-
Method Detail
-
getFamilyNames
public static Collection<String> getFamilyNames(com.lowagie.text.pdf.BaseFont font)
-
populateDescription
public static void populateDescription(String path, com.lowagie.text.pdf.BaseFont font, FontDescription description) 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, FontDescription description) throws IOException, NoSuchFieldException, IllegalAccessException, com.lowagie.text.DocumentException
- Throws:
IOException
NoSuchFieldException
IllegalAccessException
com.lowagie.text.DocumentException
-
-