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

IllegalArgumentException: Symbolic fonts must have a built-in encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2, 2.0.3, 3.0.0 PDFBox
    • 2.0.3, 3.0.0 PDFBox
    • PDModel
    • None

    Description

      Happens with text extraction and rendering:

      Exception in thread "main" java.lang.IllegalArgumentException: Symbolic fonts must have a built-in encoding
      	at org.apache.pdfbox.pdmodel.font.encoding.DictionaryEncoding.<init>(DictionaryEncoding.java:113)
      	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.readEncoding(PDSimpleFont.java:126)
      	at org.apache.pdfbox.pdmodel.font.PDType1CFont.<init>(PDType1CFont.java:131)
      	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:60)
      	at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:123)
      	at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60)
      	at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:829)
      

      Attachments

        1. PDFBOX-3403.pdf
          99 kB
          Tilman Hausherr
        2. PDFBOX-3403-XXX.pdf
          99 kB
          Tilman Hausherr
        3. PDFBOX-3403-YYY.pdf
          99 kB
          Tilman Hausherr

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: