PDF亚洲字符支持 - JasperReports [英] PDF Asian character support - JasperReports

查看:272
本文介绍了PDF亚洲字符支持 - JasperReports的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为使用Jasper Reports创建的PDF文档提供亚洲字符支持。

I am trying to provide Asian character support for PDF documents created using Jasper Reports.

我试过配置jasper来使用iText-Asian库的亚洲字符编码无济于事。对于我使用的所有不同字符集,亚洲字符始终显示为空白。

I have tried configuring jasper to use Asian character encoding with the iText-Asian libraries to no avail. For all of the different charsets I used the Asian characters always appear blank.

是否有人成功配置jasper报告以显示PDF文档中的亚洲字符?如果是这样怎么样?!!

Has anyone successfully configured jasper reports to displayed Asian characters in PDF documents? If so How?!!

推荐答案

是的。字体扩展是一切的答案。好吧,至少他们就是答案。

Yes. Font Extensions are the answer to everything. Well, at least they are the answer to this.

我写了一篇关于字体扩展。它特别显示了生成的PDF中未显示亚洲字符的情况,这似乎是您的主要症状。通过这样做,你一定会使用一个好的字体。一旦你使用了合适的字体,那么你的所有报告都应该没问题。

I wrote an article about font extensions. It shows specifically the case of Asian characters not showing up in the generated PDF, which appears to be your main symptom. By doing that you're sure to use a good font. And once you're using an appropriate font, then all your reports should be fine.

这篇关于PDF亚洲字符支持 - JasperReports的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆