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

Postscript tables of truetype fonts are not correctly parsed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.1
    • FontBox
    • None
    • 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. pdfbox-1.7.0-ttf-post-table-fix.patch
          6 kB
          Wolfgang Glas
        2. TestTTFParser.java
          3 kB
          Wolfgang Glas

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: