[
https://jira.jboss.org/jira/browse/JBSEAM-2791?page=com.atlassian.jira.pl...
]
Norman Richards commented on JBSEAM-2791:
-----------------------------------------
Eek. iText is really ugly here. I had to spend some time convincing myself that iText
was really that messed up.
Can you attach an xhtml example of your usage so I can make sure what I check in works for
you.
I don't want to add a local flag until it's clear we have some interesting
behavior for it.
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