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

IllegalStateException: recursive definition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: FontBox
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: