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

HeBo font not found exception even though it's present in the system

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not A Bug
    • Affects Version/s: 2.0.9
    • Fix Version/s: None
    • Component/s: AcroForm
    • Labels:
    • Environment:
      RHEL 7

      Description

      Throws an IO Exception without falling back to other fonts. However, Helvetica-Bold is available IF HeBo means Helvetica-Bold. See .pdfbox.cache file.

       

       

       - Exception : ----Could not find font: /HeBo
      java.io.IOException: Could not find font: /HeBo
              at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processSetFont(PDDefaultAppearanceString.java:179)
              at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processOperator(PDDefaultAppearanceString.java:132)
              at org.apache.pdfbox.pdmodel.interactive.form.PDDefaultAppearanceString.processAppearanceStringOperators(PDDefaultAppearanceString.java:108)

      .pdfbox.cache

        Attachments

        1. font.PNG
          19 kB
          Jim Halpert
        2. page2.PNG
          12 kB
          Jim Halpert
        3. pdf.PNG
          34 kB
          Jim Halpert
        4. pdf2.PNG
          11 kB
          Jim Halpert
        5. field.PNG
          8 kB
          Jim Halpert
        6. .pdfbox.cache
          4 kB
          Jim Halpert

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anealkeshi Jim Halpert
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: