Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3344

Caused by: java.lang.ClassCastException: org.apache.fontbox.ttf.OpenTypeFont can not be cast to org.apache.fontbox.cff.CFFFont

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.3, 3.0.0 PDFBox
    • FontBox
    • None

    Description

      I'm getting this error opening a specific pdf

      Caused by: java.lang.ClassCastException: org.apache.fontbox.ttf.OpenTypeFont can not be cast to org.apache.fontbox.cff.CFFFont
      

      Attachments

        1. etichette.pdf
          107 kB
          373 mch
        2. helvetica.pdf
          0.8 kB
          Tilman Hausherr
        3. .pdfbox.cache
          83 kB
          373 mch
        4. screenshot_1.png
          191 kB
          373 mch
        5. screenshot_2_pdfdebugger.png
          159 kB
          373 mch
        6. screenshot_3_chrome.png
          161 kB
          373 mch
        7. screenshot_4_acrobat.png
          248 kB
          373 mch
        8. fontfile2.ttf
          165 kB
          Tilman Hausherr
        9. screenshot_5_ansi.png
          187 kB
          373 mch

        Issue Links

          Activity

            People

              jahewson John Hewson
              373mich 373 mch
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: