birt 报告阿拉伯语文本未显示在 pdf 中 [英] birt report arabic text not showing in pdf
问题描述
我正在尝试在 brt 报告中输入简单的阿拉伯语文本,阿拉伯语文本在编辑器中显示正常,但在 pdf 中显示未知字符.我猜这是某种编码,我尝试使用 tahoma 字体(因为它包含阿拉伯语,)但同样的问题.
Hi I'm trying to enter simple arabic text in a brt report, the arabic text shows fine in the editor, but in the pdf it shows unknown caracters. I'm guessing it's some sort of encoding, i tried to use tahoma font (since it includes arabic, ) but same problem.
知道如何解决这个问题吗?谢谢
Any idea how to fix this ? Thanks
推荐答案
我在我的应用程序中遇到了类似的问题.它与字体有关.为此,我创建了我的 fontsConfig.xml 版本并在我的应用程序启动时加载它.
I had similar issue in my application.Its related to font. For that I have created my version of fontsConfig.xml and loaded it on my application start.
EngineConfig 类具有以下加载方法.
EngineConfig class has the following method to load it.
setFontConfig( URL fontConfig )
这篇关于birt 报告阿拉伯语文本未显示在 pdf 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!