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.

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Stack Overflow | 6 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.

  1. poroszd 1 times, last 3 weeks ago
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