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

David Chan (JIRA) jira-events at lists.jboss.org
Fri Feb 9 01:36:30 EST 2007


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(en)
jBPM 3.2 beta-1
JDK 1.5.10
            Reporter: David Chan
         Assigned To: Tom Baeyens


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