Class PdfBoxNativeFont
java.lang.Object
eu.europa.esig.dss.pades.AbstractDSSFont
eu.europa.esig.dss.pdf.pdfbox.visible.PdfBoxNativeFont
- All Implemented Interfaces:
DSSFont
,DSSNativeFont<org.apache.pdfbox.pdmodel.font.PDFont>
,Serializable
public class PdfBoxNativeFont
extends AbstractDSSFont
implements DSSNativeFont<org.apache.pdfbox.pdmodel.font.PDFont>
The PDFBox native implementation of a Font
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.pades.AbstractDSSFont
DEFAULT_TEXT_SIZE, size
-
Constructor Summary
ConstructorDescriptionPdfBoxNativeFont
(org.apache.pdfbox.pdmodel.font.PDFont pdFont) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pdfbox.pdmodel.font.PDFont
getFont()
Returns a native font for the given implementationGets the JAVA instance of the FontMethods inherited from class eu.europa.esig.dss.pades.AbstractDSSFont
getSize, setSize
-
Constructor Details
-
PdfBoxNativeFont
public PdfBoxNativeFont(org.apache.pdfbox.pdmodel.font.PDFont pdFont) Default constructor- Parameters:
pdFont
-PDFont
-
-
Method Details
-
getFont
public org.apache.pdfbox.pdmodel.font.PDFont getFont()Description copied from interface:DSSNativeFont
Returns a native font for the given implementation- Specified by:
getFont
in interfaceDSSNativeFont<org.apache.pdfbox.pdmodel.font.PDFont>
- Returns:
- Font object
-
getJavaFont
Description copied from interface:DSSFont
Gets the JAVA instance of the Font- Specified by:
getJavaFont
in interfaceDSSFont
- Returns:
Font
-