java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to include font when compiling?
    via by Unknown author,
  • Cannot load font in JRE 8
    via Stack Overflow by Khanetor
    ,
  • java.io.IOException: Problem reading font data.
    via by Unknown author,
    • java.io.IOException: Problem reading font data.' Stacktrace given below. I am using Apache Tomcat 8 on linux server. PDFBox version used is 1.8.11. Java version 8 is used. But running the same code using 64 bit java, PDF document is getting converted to image without any issues. Would appreciate any help on this. java.io.IOException: Problem reading font data. at java.awt.Font.createFont0(Font.java:1000) at java.awt.Font.createFont(Font.java:877) at org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font.getawtFont(PDCIDFontType2Font.java:82) at org.apache.pdfbox.pdmodel.font.PDType0Font.getawtFont(PDType0Font.java:92) at org.apache.pdfbox.pdmodel.font.PDSimpleFont.drawString(PDSimpleFont.java:110) at org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:260) at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:504) at org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:56) at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:562) at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:269) at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:236) at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:216) at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:139) at org.apache.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:801)

    Users with the same issue

    poroszdporoszd
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    2 more bugmates