开发者

JasperReports fonts

I need to ex开发者_StackOverflow社区port the Japanese report in PDF. Report font must be Tahoma. So I set the report font as "Tahoma". Initially it thrown like "tahoma" not available to JVM, I have placed the tahoma.ttf as jar in classpath. After that, When I execute, For Tahoma, it doesn't support, pdf encode= "UniJIS-UCS2-HW-H" option.

Error is like: Usupported encoding: "UniJIS-UCS2-HW-H"

PDF font used is "HeiseiKakuGo-W5"

Can anyone suggest a solution please?


Do not use pdfEncoding or isPdfEmbedded. These attributes were deprecated years ago. Use Font Extensions. They were introduced to solve exactly this problem. They'll let you generate the PDF as you are attempting to do. If you Google "jasperreports font extensions" you should find the information that you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜