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

TrueType - Management of CMap format 2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0
    • 1.2.0
    • FontBox
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: