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?
对于那些开发了支持多种语言的面向客户的Java Swing应用程序的人来说,您最好找到哪种字体显示所有语言的字符?
3 个解决方案
#1
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.
在unicode上查看*。它有一个很好的列表和unicode字体的比较图表。似乎GNU Unifont支持大多数语言。
#2
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.
您还应该阅读使用Java 6在字体配置上加载字体配置文件。此文件允许您指定可用于表示特定区域设置的字形的字体。我必须使用和配置一次,它真的帮助了我。
#3
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 :
您可以使用Icomoon App等工具创建自己的字体。此应用程序允许您执行以下每个操作:
- 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
- 为您需要的任何字符设置UNICODE十六进制值
- 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.
我使用Icomoon App创建表情符号表情字体。我还使用它来创建基于每个项目的自定义图标字体,但它也可以用于创建支持您需要支持的语言的自定义字体。
#1
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.
在unicode上查看*。它有一个很好的列表和unicode字体的比较图表。似乎GNU Unifont支持大多数语言。
#2
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.
您还应该阅读使用Java 6在字体配置上加载字体配置文件。此文件允许您指定可用于表示特定区域设置的字形的字体。我必须使用和配置一次,它真的帮助了我。
#3
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 :
您可以使用Icomoon App等工具创建自己的字体。此应用程序允许您执行以下每个操作:
- 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
- 为您需要的任何字符设置UNICODE十六进制值
- 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.
我使用Icomoon App创建表情符号表情字体。我还使用它来创建基于每个项目的自定义图标字体,但它也可以用于创建支持您需要支持的语言的自定义字体。