Java JRE is rendering fonts differently than Java

2019-07-11 02:07发布

问题:

This is related to: Same Java Fonts Slightly Different in Eclipse vs JNLP

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.

Here's the difference: (JDK render on top, JRE render on bottom)

So, how I can make the JRE render fonts the same way as the JDK?

Thanks!

回答1:

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.



标签: fonts java