You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2018/10/18 20:18:00 UTC

[jira] [Created] (PIVOT-1042) Investigate support of surrogate pairs in all text processing

Roger Whitcomb created PIVOT-1042:
-------------------------------------

             Summary: Investigate support of surrogate pairs in all text processing
                 Key: PIVOT-1042
                 URL: https://issues.apache.org/jira/browse/PIVOT-1042
             Project: Pivot
          Issue Type: Bug
          Components: wtk, wtk-terra, wtk-validation
            Reporter: Roger Whitcomb
            Assignee: Roger Whitcomb
             Fix For: 2.1.0


According to PIVOT-850, most if not all the code that advances through text (such as for label sizing, drawing, etc.) is use CharSequence to do so (usually using "charAt()" method).  This does not work correctly for surrogate pairs (such as emoji).  And maybe the TextLayout stuff used by IME support needs tweaking as well....

This issue is meant to collect all the fixes / changes necessary so that emoji (or any surrogate pair characters) will work with all the Pivot text code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)