[
https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562322#action_12562322
]
Radoslav Kolev commented on OFBIZ-1110:
---------------------------------------
Hello Krzysztof,
and thanks for the fast reply.
Unfortunately, this doesn't fix the problem in all PDFs for me.
For example if I generate an Invoice using
https://localhost:8443/accounting/control/invoice.pdf?invoiceId=10000
I will still get # instead of non-latin letters. If I add a
font-family="DejaVuSans" attribute in the corresponding fo.ftl template (in
this case
'applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl') the
characters display fine.
It is a similar situation with a lot of other places where PDFs are generated.
Adding the font-family attribute to the respective fo.ftl file fixes the issue.
Only adding it to the simple.fo.ftl and reportTemplate.fo.ftl (as I read in the
description of some other bug) does not fix all places where PDFs are generated
in my test install. Do you have any idea is this expected behaviour or not?
Regards,
Rado
> Default FOP Font
> ----------------
>
> Key: OFBIZ-1110
> URL: https://issues.apache.org/jira/browse/OFBIZ-1110
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Krzysztof Podejma
> Fix For: SVN trunk
>
> Attachments: widget.diff
>
>
> current ofbiz(OOTB) reporting does not support multilingual users. When you
> use non-english locale you get '#" characters.
> additionally it is hard to track all changes in reports so here default font
> comes up.
> it would be great to add fop.xcon file to trunk with UNICODE font that could
> print any characters in any languages.
> I've made up two another solutions 1) is a property in general.properties
> that store default font
> 2) to associate font-family name with locale as property (in property file)
> and use this font-family to print reports in user language properly.
> with second solution users can define what fonts they have and want to use
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.