Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2540

[PATCH] Enhance TTF/OTF support beyond Windows

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0
    • None
    • font/opentype
    • None
    • OS X

    Description

      Currently, cmap tables in TTF/OTF are only supported for Platform ID = 3, i.e. MS Windows. There is no support for Platform ID = 0, i.e. basic Unicode, or 1, i.e. Macintosh.

      This makes quite some system fonts bundled with OS X supposedly unusable. The solution is fairly trivial (patch proposal will be attached shortly), provided the cmap table format in the font is already supported. FOP currently only has support for cmap format 4 (segment to delta mapping), but this seems to suffice for most of the Unicode cmaps as well.

      See also FOP-2539, which triggered me to investigate this closer.

      Attachments

        1. test_osx_fonts_after_1.log
          639 kB
          Andreas L. Delmelle
        2. test_osx_fonts_before.log
          671 kB
          Andreas L. Delmelle
        3. FOP-2540.patch
          61 kB
          Andreas L. Delmelle

        Activity

          People

            adelmelle Andreas L. Delmelle
            adelmelle Andreas L. Delmelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: