PDFBox
  1. PDFBox
  2. PDFBOX-1349

Postscript tables of truetype fonts are not correctly parsed.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Andreas Lehmkühler
              Reporter:
              Wolfgang Glas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development