日文字体在iReports的导出pdf中不可见 [英] Japanese fonts not visible in the export pdf in iReports

查看:584
本文介绍了日文字体在iReports的导出pdf中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过由日文数据组成的iReport运行报告。当我预览它,通过内部预览,我能够看到日本的数据。但是,当我做一个PDF预览,没有日文字符是可见的。

我使用iReport 4.1.1。我安装了Adobe Reader 9.



任何人都可以建议我如何获得PDF中的日文字体。



等待回复。

解决方案

你是否将iTextAsian.jar设置为类路径?


$

日文字体:HeiseiKakuGo-W5或HeiseiMin-W3

配置字体和编码

b $ b

日文编码:UniJIS-UCS2-H,UniJIS-UCS2-V,UniJIS-UCS2-HW-H或UniJIS-UCS2-HW-V


I ran a report through iReport which consists of data in Japanese. When I preview it, through internal Preview, I am able to the see the data in Japanese. But when i do a PDF Preview, none of the Japanese characters are visible.

I use iReport 4.1.1. I installed Adobe Reader 9.

Can anyone suggest me how can I get the japanese fonts in PDF.

Waiting for the reply.

解决方案

Do you set "iTextAsian.jar" to classpath ?

And configure font and encode.

Japanese font : "HeiseiKakuGo-W5" or "HeiseiMin-W3"

Japanese encode : "UniJIS-UCS2-H", "UniJIS-UCS2-V", "UniJIS-UCS2-HW-H" or "UniJIS-UCS2-HW-V"

这篇关于日文字体在iReports的导出pdf中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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