[jboss-jira] [JBoss JIRA] Commented: (JBPM-837) Doesn't support eastern character because the wrong specified font

David Chan (JIRA) jira-events at lists.jboss.org
Wed Mar 21 03:15:48 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPM-837?page=comments#action_12356817 ] 
            
David Chan commented on JBPM-837:
---------------------------------

OK! it works after follow your instruction.thanks a lot!

> Doesn't support eastern character because the wrong specified font
> ------------------------------------------------------------------
>
>                 Key: JBPM-837
>                 URL: http://jira.jboss.com/jira/browse/JBPM-837
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: jBPM 3.1 beta 2
>         Environment: Windows XP SP2 (Chinese)
> jBPM 3.2 beta-1
> JDK 1.5.10
>            Reporter: David Chan
>         Assigned To: David Lloyd
>             Fix For:  jBPM jPDL 3.2.1
>
>
> The client application(console)  written with JSF drawn button image with AWT using a western font 'Arial', this font doesn't support eastern character like Chinese. 
> After I reviewed the source code, found this line in file ButtonRendererprivate.java laid in package org.jbpm.webapp.tag.jbpm.renderer
> private Font font = new Font("Arial", Font.PLAIN, 12);
> as you see, change the font with system's default is more better, but may lose some beauty.
> private Font font = new Font(null, Font.PLAIN, 12);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list