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

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


    [ http://jira.jboss.com/jira/browse/JBSEAM-1039?page=comments#action_12355898 ] 
            
Petr Ferschmann commented on JBSEAM-1039:
-----------------------------------------

Hmmm, I see that jira can't show this characters properly (c accute,  ...)
Write something from czech language. Copy some text from eg http://blog.softeu.cz/

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

        



More information about the seam-issues mailing list