[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2791) Support CJK in a chart.
Nobuyuki Inaba (JIRA)
jira-events at lists.jboss.org
Tue Jan 6 09:51:04 EST 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12444709#action_12444709 ]
Nobuyuki Inaba commented on JBSEAM-2791:
----------------------------------------
Hi, Norman.
I attach a xhtml sample and working screen snapshot( apply patch version, not apply patch version).
Japanese is not displayed if you watch snap shots unless I apply a patch.
About a "locale" flag, I think that Seam is used in the country except Japan and U.S.A.
For the countries that had to change kind of the FontMapper, I thought that "locale" flag was necessary.
but I don't know whether there is a country having to change FontMapper. sorry...
P.S.
The AsianFontMapper class is included in iTextAsian.jar.
I downloaded it from here(http://itextpdf.sourceforge.net/).
> Support CJK in a chart.
> -----------------------
>
> Key: JBSEAM-2791
> URL: https://jira.jboss.org/jira/browse/JBSEAM-2791
> Project: Seam
> Issue Type: Feature Request
> Components: PDF
> Affects Versions: 2.1.0.A1
> Environment: ubuntu linux 7.10
> jdk1.5.0_14
> jboss seam 2.1.0A
> Reporter: Nobuyuki Inaba
> Assignee: Norman Richards
> Fix For: 2.1.2.CR1
>
> Attachments: chart.patch
>
>
> Hi,
> Seam 2.1.0A does not support CJK character in a chart( in a PDF file).
> because, UIChart class use DefaultFontMapper class.
> I think UIChart class should use <p:font> settings.
> I attached the patch against this issue to this ticket.Please check the patch.
> When apply the patch to Seam, Seam can support CJK chacter in a chart.
> and In a chart, developer have to appoint the following to use CJK.
> 1. Appoint the 'locale' in <p:document>. e.g. <p:document ... locale="ja">. Now, 'ja' has not mean. but I think that this is necessary when Seam supports other multi-byte languages.
> 2. Setting of <p:font>. already fixed in JBSEAM-1039.
> best regards,
> Nobuyuki Inaba
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list