如何在 Maven 上为 Jasper Reports 添加自定义字体
我一直在尝试遵循此页面上的示例: http://grysz.com/2010/ 06/01/use-custom-fonts-in-jasperreports-pdf-exporter/ 尽管如此,当我在 Maven 上运行报告时,我发现我的字体在运行时不可用于 JVM,这是来自 tomcat 的错误。 任何人都有为 jasper 报告添加字体到 Maven 的经验,并且可以给我更好的指示来完成此任务吗?我已经尝试这个方法太久了,但它似乎无法正常工作。 谢谢,
帕特里克
I been trying to follow the example on this page:
http://grysz.com/2010/06/01/use-custom-fonts-in-jasperreports-pdf-exporter/
Still, when I ran the reports on maven, I get that my font is not available to the JVM at run-time as an error from tomcat.
Anyone has had experience adding fonts to Maven for a jasper report and can give me a little better instructions to accomplish this? I been trying this already for too long and it does not seem to work correctly.
Thanks,
Patrick
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 iReport,您可以导出字体作为扩展。
然后,您
顺便说一句:
您可以使用 jasperreports.properties 跳过这些错误消息。
Using iReport you can export fonts as an extension.
Then you
By the way:
You can skip those error-messages using the jasperreports.properties.