kennycason / kumo

Kumo - Java Word Cloud
http://kennycason.com/posts/2014-07-03-kumo-wordcloud.html
MIT License
624 stars 155 forks source link

about default font "Comic Sans" #32

Open hilecx opened 8 years ago

hilecx commented 8 years ago

I deploy my app on centos6, but the chinese chars can not displayed in picture which generated by kumo。

I used following code to make sure that my linux has the font "Comic Sans" . GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();

So I tried some other fonts (songti \AR PL UMing CN ..), they worked well。 I guess there is something wrong with "Comic Sans"。


btw: After some search work.. I found a website :http://bancomicsans.com/main/

kennycason commented 8 years ago

Thanks. I'll do some research in finding a better default font. I may also add functionality that will attempt multiple default fonts and ensure it only selects a font that exists on the system. :)

kennycason commented 6 years ago

@hilecx I wanted to follow up on this. Do you have any recommendation for a good default font? I'm planning on improving font loading/support/sane fallbacks.