[ https://issues.apache.org/jira/browse/PIVOT-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046339#comment-16046339 ]
Roger Whitcomb commented on PIVOT-850: -------------------------------------- Revision 1798413: PIVOT-850: Adjust the text width calculations to just use the TextLayout.advance value (adjusted to (int)Math.ceil(...) of course). This is completely accurate and has no issues of the caret jumping around at times like the old code did. Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java > Fail to take input characters other than English in Mac Lion > ------------------------------------------------------------ > > Key: PIVOT-850 > URL: https://issues.apache.org/jira/browse/PIVOT-850 > Project: Pivot > Issue Type: Bug > Components: wtk, wtk-terra > Affects Versions: 2.0.1, 2.0.2, 2.0.3 > Environment: Mac Lion > Reporter: Brendan > Assignee: Roger Whitcomb > Labels: jre, mac > Fix For: 2.5 > > Attachments: ASF.LICENSE.NOT.GRANTED--Input to Mac Lion of Chinese > Character show nothing.jpg, ASF.LICENSE.NOT.GRANTED--Window 7 and Text Area > to show Chinese Input as Box.jpg, inputProblem.png, Screen Shot 2013-03-11 at > 10.56.51 AM.png, Screen Shot 2013-03-11 at 10.59.23 AM.png, Screen Shot > 2013-03-11 at 11.00.14 AM.png, WebStartInput.png > > > In Mac Lion, no Chinese and Korean character can appear in TextInput and > TextArea thru the input method. > However, these components can take the character thru copy and paste. > -- This message was sent by Atlassian JIRA (v6.4.14#64029)