Class PDFFontMapper

java.lang.Object
de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer
org.apache.poi.xslf.util.PDFFontMapper
All Implemented Interfaces:
de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer, Closeable, AutoCloseable

public class PDFFontMapper extends de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer
  • Nested Class Summary

    Nested classes/interfaces inherited from interface de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer

    de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv
  • Constructor Summary

    Constructors
    Constructor
    Description
    PDFFontMapper(String fontDir, String fontTtf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.pdfbox.pdmodel.font.PDFont
    mapFont(Font font, de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env)
     

    Methods inherited from class de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer

    canDrawText, close, drawText, getFontMetrics, hasDynamicFontMapping, registerFont, registerFont, registerFont, registerFont, registerFont

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PDFFontMapper

      public PDFFontMapper(String fontDir, String fontTtf)
  • Method Details

    • mapFont

      protected org.apache.pdfbox.pdmodel.font.PDFont mapFont(Font font, de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env) throws IOException, FontFormatException
      Overrides:
      mapFont in class de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer
      Throws:
      IOException
      FontFormatException