birt report arabic text not showing in pdf

筅森魡賤 提交于 2019-12-11 21:30:27

问题


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


回答1:


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 class has the following method to load it.

setFontConfig( URL fontConfig )



来源:https://stackoverflow.com/questions/23909640/birt-report-arabic-text-not-showing-in-pdf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!