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 FontDescriptionextractDescription(String path, byte[] contents, com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, @Nullable org.xhtmlrenderer.css.constants.IdentValue fontWeightOverride, @Nullable org.xhtmlrenderer.css.constants.IdentValue fontStyleOverride) static FontDescriptionextractDescription(String path, com.lowagie.text.pdf.BaseFont font, @Nullable org.xhtmlrenderer.css.constants.IdentValue fontWeightOverride) static Collection<String>getFamilyNames(com.lowagie.text.pdf.BaseFont font)
-
Constructor Details
-
TrueTypeUtil
public TrueTypeUtil()
-
-
Method Details
-
getFamilyNames
-
extractDescription
public static FontDescription extractDescription(String path, com.lowagie.text.pdf.BaseFont font, @Nullable org.xhtmlrenderer.css.constants.IdentValue fontWeightOverride) -
extractDescription
public static FontDescription extractDescription(String path, byte[] contents, com.lowagie.text.pdf.BaseFont font, boolean isFromFontFace, @Nullable org.xhtmlrenderer.css.constants.IdentValue fontWeightOverride, @Nullable org.xhtmlrenderer.css.constants.IdentValue fontStyleOverride)
-