Complete list of Fonts which support
Posted
by Yan Cheng CHEOK
on Stack Overflow
See other posts from Stack Overflow
or by Yan Cheng CHEOK
Published on 2010-06-18T01:53:00Z
Indexed on
2010/06/18
6:33 UTC
Read the original article
Hit count: 218
java
Currently, if I change the locale setting of my application by
Locale.setDefault(Locale.ENGLISH);
Locale.setDefault(Locale.SIMPLIFIED_CHINESE);
What I understand from this JFreeChart forum is that, I am not using correct font.
Once you get the reference of the LegentTitle, you can set it to any font. Apparently, JFreeChart's default is "Tahoma" and it doesn't support Chinese characters.
May I know, how I can programmatic determine, as list of available Fonts in my system, which support Chinese?
I can hard code it to Serif (It fully support Chinese, doesn't it?), its look n feel doesn't looks good to me. I would like to have more choices.
© Stack Overflow or respective owner