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

IllegalStateException: recursive definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • FontBox
    • None

    Description

      I get this exception with the attached file:

      WARNUNG: Using fallback font 'TimesNewRomanPSMT' for 'Symbol,Italic'
      Sep 10, 2014 12:59:30 PM org.apache.pdfbox.pdmodel.font.PDSimpleFont toUnicode
      WARNUNG: No Unicode mapping for character code 119 in font Symbol,Italic
      Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: recursive definition
              at org.apache.pdfbox.pdmodel.font.PDSimpleFont.isFontSymbolic(PDSimpleFont.java:186)
              at org.apache.pdfbox.pdmodel.font.PDFont.isSymbolic(PDFont.java:370)
              at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.codeToGID(PDTrueTypeFont.java:289)
              at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getWidthFromFont(PDTrueTypeFont.java:250)
              at org.apache.pdfbox.pdmodel.font.PDFont.getWidth(PDFont.java:216)
      

      The file probably does have a problem, AR claims that the /BBox value for "Symbol,Italic" is incorrect. However it displays the file, and so does GSView.

      Attachments

        1. PDFBOX-2338-203886.pdf
          203 kB
          Tilman Hausherr

        Activity

          People

            jahewson John Hewson
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: