public class PDFFontMapper
extends de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer
Constructor and Description |
---|
PDFFontMapper(java.lang.String fontDir,
java.lang.String fontTtf) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.pdfbox.pdmodel.font.PDFont |
mapFont(java.awt.Font font,
de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env) |
public PDFFontMapper(java.lang.String fontDir, java.lang.String fontTtf)
protected org.apache.pdfbox.pdmodel.font.PDFont mapFont(java.awt.Font font, de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env) throws java.io.IOException, java.awt.FontFormatException
mapFont
in class de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer
java.io.IOException
java.awt.FontFormatException
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.