[
http://jira.jboss.com/jira/browse/JBSEAM-1039?page=all ]
Bakurecz Zolt?n updated JBSEAM-1039:
------------------------------------
Attachment: jboss-seam-pdf.jar
Nobody nowhere...
Above jboss-seam-pdf.jar attachment
include encoding attribute-handling,
as Petr Ferschmann wrote, but this is
for Seam 1.2.1.GA version.
(Only UIFont.java recompile after patch,
and then change in original jboss-seam-pdf.jar)
National characters in PDF
--------------------------
Key: JBSEAM-1039
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1039
Project: JBoss Seam
Issue Type: Bug
Components: PDF
Affects Versions: 1.2.0.GA
Reporter: Petr Ferschmann
Assigned To: Norman Richards
Fix For: 2.0.0.CR1
Attachments: fix-for-pdf-jboss-seam-1.2.0.GA.patch, jboss-seam-pdf.jar
Create simple projects and use some national characters (such as ???). They are
translated to their entity representation (ї).
So I have fixed it. I modifed src/pdf/org/jboss/seam/pdf/ui/ITextComponent.java and
replace characters back to their character representation (it is due to the bug in
facelets/myfaces implementation
http://issues.apache.org/jira/browse/MYFACES-1396)
I also modified src/pdf/org/jboss/seam/pdf/ui/UIFont.java to allow change of font
encoding (there is hardcoded windows-1252).
To use national characters you have to use:
<p:font encoding="Cp1250" family="Times-Roman">
????
</p:font>
--
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