org.docx4j.org.xhtmlrenderer.pdf
Class TrueTypeUtil
java.lang.Object
org.docx4j.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrueTypeUtil
public TrueTypeUtil()
getFamilyNames
public static String[] getFamilyNames(com.lowagie.text.pdf.BaseFont font)
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
Copyright © 2011-2012. All Rights Reserved.