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

Implementation of additional CMAP Formats for TrueType fonts

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.3.1
    • Component/s: FontBox
    • Labels:
      None

      Description

      Hi,

      According to the Apple's "TrueType Reference Manual" and the Microsoft's "TrueType 1.0 Font Files Technical Specification", there are several CMap formats.
      Currently FontBox implements formats 0, 4 and 6.

      In attachment you can find a patch which implements formats 2, 8, 10, 12 and 13 according to my understanding of the following links :

      http://www.microsoft.com/typography/otspec/cmap.htm (OpenType Specification)
      http://developer.apple.com/fonts/TTRefMan/RM06/Chap6cmap.html

      This patch includes changes proposal of the JIRA Issues :
      PDFBOX-668, PDFBOX-670, PDFBOX-691

      I hope this patch will help you.
      Regards,
      Eric

        Attachments

        1. fontbox.patch
          74 kB
          Eric Leleu
        2. CMapFormat.patch
          35 kB
          Eric Leleu

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              leleueri Eric Leleu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: