9

For anyone that has developed a customer-facing Java Swing application that supports multiple languages, which font(s) did you find best displayed the characters for all languages?

James Webster
  • 31,873
  • 11
  • 70
  • 114
mre
  • 43,520
  • 33
  • 120
  • 170

3 Answers3

6

See wikipedia on unicode. It has a nice list and a comparison chart of unicode fonts. It seems GNU Unifont support most of the languages.

Jomoos
  • 12,823
  • 10
  • 55
  • 92
3

You should also read Loading Font Configuration Files on font configuration with Java 6. This file allows you to specify which font can be used to represent glyphs from a specific locale. I had to use and configure it once, and it really helped me.

Jonas
  • 121,568
  • 97
  • 310
  • 388
Laf
  • 7,965
  • 4
  • 37
  • 52
  • I forgot to mention I found that information thanks to [this](http://stackoverflow.com/questions/340739/setting-unicode-characters-in-java-frames) question on SO. – Laf Dec 09 '11 at 15:40
1

Why not create your own?

You can create your own fonts with tools like the Icomoon App. This app allows you to do each of the following :

  • Get one or more icons from several popular icon fonts
  • Upload other fonts, which may be icon fonts but also regular fonts
  • Combine any number of icons from any number of available fonts
  • Set the UNICODE hex value for whichever characters you need
  • Export and/or save the font set you create

I used the Icomoon App to create the Emoji emoticon font. I also use it for creating custom icon fonts on a per project basis, but it can also be used to create custom fonts that support exactly those languages you need to support.

John Slegers
  • 45,213
  • 22
  • 199
  • 169