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:
  • 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 interface DSSNativeFont<org.apache.pdfbox.pdmodel.font.PDFont>
      Returns:
      Font object
    • getJavaFont

      public Font getJavaFont()
      Description copied from interface: DSSFont
      Gets the JAVA instance of the Font
      Specified by:
      getJavaFont in interface DSSFont
      Returns:
      Font