Java JRE呈现的字体与Java JDK呈现的字体不同,两者都是相同的版本 [英] Java JRE is rendering fonts differently than Java JDK, both same version
问题描述
这与以下内容有关:相同的Java字体略有不同Eclipse与JNLP
当我通过JDK 1.6.0_24运行应用程序时,字体以我真正喜欢的特定方式呈现.但是,当我通过JRE 1.6.0_24运行应用程序时,它们以我不喜欢的方式呈现.
When I run my application through JDK 1.6.0_24 the fonts render in a particular way that I really like. However, when I run my application through JRE 1.6.0_24, they render in a way that I don't like.
区别在于:(JDK渲染在顶部,JRE渲染在底部)
Here's the difference: (JDK render on top, JRE render on bottom)
那么,如何使JRE渲染字体与JDK相同?
So, how I can make the JRE render fonts the same way as the JDK?
谢谢!
推荐答案
因此,我认为这可能是某些Java 6版本中的错误".我刚刚更新为Java 6 Update 35,JDK和JRE正确地渲染了字体,正如我所期望的那样.这样就可以了.
So, I'm thinking this might be a "bug" in some versions of Java 6. I just updated to Java 6 Update 35 and both the JDK and JRE render fonts correctly and as I would expect. So there you have it.
这篇关于Java JRE呈现的字体与Java JDK呈现的字体不同,两者都是相同的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!