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屋!