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

Surrogate pairs not treated as single unicode codepoint for display purposes

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      51843

      Description

      unicode codepoints outside of the BMP (base multilingual plane), i.e., whose scalar value is greater than 0xFFFF (65535), are coded as UTF-16 surrogate pairs in Java strings, which pair should be treated as a single codepoint for the purpose of mapping to a glyph in a font (that supports extra-BMP mappings);

      at present, FOP does not correctly handle this case in simple (non complex script) rendering paths;

      furthermore, though some support has been added to handle this in the complex script rendering path, it has not yet been tested, so is not necessarily working there either;

        Attachments

        1. Urdu.zip
          2 kB
          simon steiner
        2. tiffttc.zip
          0.7 kB
          simon steiner
        3. testing.xsl
          0.9 kB
          ngkit
        4. testing.xml
          0.0 kB
          ngkit
        5. testing.pdf
          5 kB
          ngkit
        6. testing.pdf
          5 kB
          ngkit
        7. testing.fo
          0.8 kB
          ngkit
        8. testing.fo
          0.6 kB
          ngkit
        9. single-byte.zip
          2 kB
          simon steiner
        10. pcltest.zip
          0.7 kB
          simon steiner

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gadams Glenn Adams
              • Votes:
                6 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated: