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

TrueType - Management of CMap format 2

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.2.0
    • Component/s: FontBox
    • Labels:
      None

      Description

      Hi,

      I have found a better documentation about the format 2 for CMap of a TrueType font.
      Here is the link : http://developer.apple.com/fonts/TTRefMan/RM06/Chap6cmap.html

      In attachment you can find my implementation, however I didn't find font to test my code...

      The patch include the patch of the PDFBOX-668 task and a suggestion to send IOException instead of NullPointer during the parsing of TrueType Font if some tables are missing.

      Regards,
      Eric

        Attachments

        1. TrueType.patch
          9 kB
          Eric Leleu

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              leleueri Eric Leleu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: