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

Postscript tables of truetype fonts are not correctly parsed.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.1
    • Component/s: FontBox
    • Labels:
      None
    • Environment:
      all

      Description

      The specification of the 'post' table contains a list of 258 predefined character names.

      However, the current fontbox interprets name indices <258 in terms of MacRomanEncoding, which is wrong.

      Testcase and patch will be attached shortly.

        Attachments

        1. TestTTFParser.java
          3 kB
          Wolfgang Glas
        2. pdfbox-1.7.0-ttf-post-table-fix.patch
          6 kB
          Wolfgang Glas

          Issue Links

            Activity

              People

              • Assignee:
                lehmi Andreas Lehmkühler
                Reporter:
                wolfgang.glas@ev-i.at Wolfgang Glas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: