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

Font not found because of case issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.26
    • 2.0.27, 3.0.0 PDFBox
    • None
    • None

    Description

      In the attached PDF uses a not embedded font, which is referenced as "3of9Barcode".
      The font itself is is declared as "3Of9Barcode" in the TTF.

      Unfortunately it seems Acrobat and some other readers are case-insensitive here and use the font if it is installed on the system, while PDFBox uses a fallback.

      Would it be acceptable to change FontMapperImpl to do a case-insensitive lookup?

      Attachments

        1. Lieferschein_PDF_TEST.pdf
          2 kB
          Oliver Schmidtmer
        2. bugzilla888437.pdf
          342 kB
          Tilman Hausherr
        3. 3OF9.TTF
          15 kB
          Oliver Schmidtmer

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              Schmidor Oliver Schmidtmer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: