Java – is font rendering quality affected by programming, or is it handled entirely by the operating system?

I'm working with a programmer who uses Java to create interfaces for applications

The font in the program looks ugly Somehow it's too harsh, as if they didn't eliminate sawtooth or something Sorry to be vague, but they just look "bulky" to me

I know that there are some settings in the operating system that can change the rendering mode of fonts, such as sub-pixel smoothing or gray smoothing, sub-pixel order and prompt

Since fonts look terrible in this program, I don't know - is there anything programming that can improve font rendering?

Solution

If you are using java 6, you can use the name AWT Use the system property of systemaafontsettings to control antialiasing Possible values are:

Subpixel antialiasing of "LCD" ClearType style

False disables antialiasing

"Shang" is the best contrast

Gasp standard antialiasing

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>