jdk 1.5 的 ireport pdf RedHat 服务器中的对齐问题

发布于 2025-01-07 22:45:03 字数 151 浏览 6 评论 0原文

Jasper 报告 pdf 在 jdk 1.5 中对齐正确,但在 jdk 1.6 中它在 Redhat 中是错误的。为什么 red hat 的行为类似于 jasper 报告,而在 ubuntu 中没有问题。是否需要任何其他设置来修复它。Redhat 是5.4版本和ubuntu 10.10

Jasper report pdf is in correct alignment in jdk 1.5 but in jdk 1.6 it is wrong in Redhat.Why red hat behaves like that for jasper report where in ubuntu there is no issue.Is there any other settings required to fix it.The Redhat is 5.4 version and ubuntu 10.10

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

愿得七秒忆 2025-01-14 22:45:03

此类问题的答案始终是字体扩展。对齐方式不同,因为其他服务器具有不同的可用字体。使用字体扩展来确保您拥有所需的字体。

The answer to this type of problem is always font extensions. The alignment is different because the other server has different fonts available. Use font extensions to ensure that you have exactly the fonts you need.

残花月 2025-01-14 22:45:03

感谢 mdahlman 的回复...我使用了正确的字体扩展,该扩展在 redhat jdk 1.5 和 ubuntu 上都适用于 jdk 1.5 和 1.6。我使用 Trebuchet MS 的字体,所以它也添加到 jar 列表中。它工作得很好。我的问题是在redhat中使用jdk 1.5和1.6,但我发现

java版本“1.6.0”
OpenJDK 运行时环境(内部版本 1.6.0-b09)
OpenJDK Server VM(版本 1.6.0-b09,混合模式)

字体在 RedHat 中无法正确对齐,

但在低于 jdk 1.6 版本中,它工作正常

java 版本“1.6.0_15”
Java(TM) SE 运行时环境(版本 1.6.0_15-b03)
Java HotSpot(TM) 服务器虚拟机(版本 14.1-b02,混合模式)

不过,我使用 jre 版本 1.6.0_15-b03 修复了我的错误。

Thanks mdahlman for your reply...I used proper font extension which worked both redhat jdk 1.5 and ubuntu for both jdk 1.5 and 1.6 .The font i used Trebuchet MS so it is also added in jar list.it Worked fine.My problem was with jdk 1.5 and 1.6 in redhat but i found the

java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)

The font is not working with correct alignment in RedHat

But in below jdk 1.6 version it is working fine

java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode)

However i fixed my bug with jre build 1.6.0_15-b03.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文