java.lang.Object
eu.europa.esig.dss.pdf.pdfbox.visible.nativedrawer.PdfBoxFontMapper
public class PdfBoxFontMapper
extends Object
Maps Java Fonts and PDFBox fonts
-
Method Summary
static org.apache.pdfbox.pdmodel.font.PDType1Font
Gets a PDFBox font by Java font
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getPDFont
public static org.apache.pdfbox.pdmodel.font.PDType1Font getPDFont(Font javaFont)
Gets a PDFBox font by Java font
- Parameters:
javaFont
- Font
java instance of the font
- Returns:
PDType1Font