[jira] Commented: (OFBIZ-170) Incorrect rendering of international characters in PDF reports created using XSL:FO

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-170) Incorrect rendering of international characters in PDF reports created using XSL:FO

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464211 ]

Christian Geisert commented on OFBIZ-170:
-----------------------------------------

Here's the patch which adds the possibility to load a custom configuration for FOP 0.92 (which is needed for using a custom font)

Quick instructions for adding a custom font (I'll add this to the wiki);
-Download FOP (http://xmlgraphics.apache.org/fop/download.html)
-Generate fonts metrics for your new font (http://xmlgraphics.apache.org/fop/trunk/fonts.html)
-Copy generated metrics to framework/widget/config/
-Copy fop.xconf to framework/widget/config/ and add an entry for your font
-Add your font to the template (for example font-family="Verdana")



> Incorrect rendering of international characters in PDF reports created using XSL:FO
> -----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-170
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-170
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework, order
>            Reporter: Eriks Dobelis
>         Attachments: fo.diff, patch_ofbiz_fop_config.diff, QuoteReport-7.pdf, QuoteReport.diff
>
>
> International characters in XSL:FO reports are replaced with # even if in the database, ecommerce webapp, catalog webapp, etc. characters are displayed correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira