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/19 18:28:00 UTC

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

     [ https://issues.apache.org/jira/browse/PIVOT-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb updated PIVOT-1042:
----------------------------------
    Description: 
According to PIVOT-850, most if not all the code that advances through text (such as for label sizing, drawing, etc.) uses 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.

  was:
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.


> 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
>            Priority: Major
>             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.) uses 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)