[
https://jira.jboss.org/jira/browse/JBSEAM-2791?page=com.atlassian.jira.pl...
]
Nobuyuki Inaba commented on JBSEAM-2791:
----------------------------------------
Can I include your chart in the iText example for others to use?
My example is very little and cheap, so I don't hope things that my example included
iText example. sorry.
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, cjkChart.xhtml, screenshot( not apply patch
version).jpg, screenshot(apply patch version).jpg
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