[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1039) National characters in PDF

Petr Ferschmann (JIRA) jira-events at lists.jboss.org
Tue Mar 13 06:19:46 EDT 2007

National characters in PDF

                 Key: JBSEAM-1039
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1039
             Project: JBoss Seam
          Issue Type: Patch
          Components: PDF
    Affects Versions: 1.2.0.GA
            Reporter: Petr Ferschmann
            Priority: Critical
         Attachments: fix-for-pdf-jboss-seam-1.2.0.GA.patch

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">

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 seam-issues mailing list