Class PdfUtils
java.lang.Object
org.apache.camel.component.pdf.text.PdfUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
getAverageFontHeight
(org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize) static float
getFontWidth
(String str, org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize)
-
Method Details
-
getAverageFontHeight
public static float getAverageFontHeight(org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize) throws IOException - Throws:
IOException
-
getFontWidth
public static float getFontWidth(String str, org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize) throws IOException - Throws:
IOException
-