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,482
  • 11
  • 68
  • 114
mre
  • 42,270
  • 33
  • 119
  • 166

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,230
  • 10
  • 52
  • 90
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
  • 109,920
  • 93
  • 295
  • 369
Laf
  • 7,595
  • 4
  • 38
  • 51
  • 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
  • 41,615
  • 22
  • 193
  • 161