[
https://issues.apache.org/jira/browse/OFBIZ-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562281#action_12562281
]
Radoslav Kolev commented on OFBIZ-1110:
---------------------------------------
Hello!
Since this issue is still open, I think it is better to post my question here.
I need to generate PDFs with non-latin characters. Since the additions of the
fop.xconf and the DejaVu font collection everything needed is here. After some
config tweaking if I edit the corresponding fo.ftl file and change it to use
one of the DejaVu fonts it works fine.
What I don't know how to do is set,lets say DejaVuSans, as the default font for
all the generated PDFs. I can make a mass search/replace and add this to all
fo.ftl files, but I hope someone can propose a more elegant and clean solution.
May be some template that is inluded in all the fo.ftl files?
Best regards,
Radoslav Kolev
> 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.