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.

  1. 0

    Error while converting PDF to image using PDFBox on Java 32 bit

    Stack Overflow | 3 months ago | jaikishan_gurav
    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.
  2. 0

    How to include font when compiling?

    Stack Overflow | 2 years ago
    java.io.IOException: Problem reading font data.
  3. 0

    Cannot load font in JRE 8

    Stack Overflow | 2 years ago | Khanetor
    java.io.IOException: Problem reading font data.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Benign "Could not load font!" exception

    GitHub | 2 years ago | cjritola
    java.io.IOException: Problem reading font data.
  6. 0

    Using a Font via Graphics Environment for Java Graphics returning IOException

    Stack Overflow | 2 years ago | Neil Derno
    java.io.IOException: Can't read \sst.TTF

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Java RT
      Font.createFont
      1. java.awt.Font.createFont0(Font.java:1000)
      2. java.awt.Font.createFont(Font.java:877)
      2 frames
    3. Apache PDFBox
      PDPage.convertToImage
      1. org.apache.pdfbox.pdmodel.font.PDCIDFontType2Font.getawtFont(PDCIDFontType2Font.java:82)
      2. org.apache.pdfbox.pdmodel.font.PDType0Font.getawtFont(PDType0Font.java:92)
      3. org.apache.pdfbox.pdmodel.font.PDSimpleFont.drawString(PDSimpleFont.java:110)
      4. org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(PageDrawer.java:260)
      5. org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:504)
      6. org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:56)
      7. org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:562)
      8. org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:269)
      9. org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:236)
      10. org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:216)
      11. org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:139)
      12. org.apache.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:801)
      12 frames