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

Implementation of additional CMAP Formats for TrueType fonts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0, 1.1.0
    • 1.3.1
    • FontBox
    • 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. CMapFormat.patch
          35 kB
          Eric Leleu
        2. fontbox.patch
          74 kB
          Eric Leleu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: