You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "liang xiao (JIRA)" <ji...@apache.org> on 2010/07/01 06:31:50 UTC

[jira] Commented: (PIVOT-315) Terra's default font cannot display all UTF-8 characters

    [ https://issues.apache.org/jira/browse/PIVOT-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884153#action_12884153 ] 

liang xiao commented on PIVOT-315:
----------------------------------

I finally know why the code setting font to support chinese characters did not work. look into the code. it set font before method "readObject()". so font setting did not really effect pivot. I changed order as bellow. it work fine.

theme.setFont(font.deriveFont(Font.PLAIN,12));
serializer.readObject(this,"hello.xml");



> Terra's default font cannot display all UTF-8 characters
> --------------------------------------------------------
>
>                 Key: PIVOT-315
>                 URL: https://issues.apache.org/jira/browse/PIVOT-315
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.1, 1.2, 1.3
>            Reporter: Todd Volkert
>            Assignee: Todd Volkert
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: screenshot-1.jpg
>
>
> Verdana cannot display all characters in the UTF-8 character set, meaning that if you try to render a string containing extended UTF-8 characters (such as Chinese characters), you will get "non-renderable-character" boxes instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.