Swing JLabel 显示 unicode“\u21B5”作为文本不起作用
Swing JLabel display unicode " \u21B5 " as text not working
我在我的应用程序中使用虚拟键盘。我试图通过 unicodes 在键盘中显示箭头键,一些 unicodes 正确显示其他显示为垃圾。
例如:
\u2191 - Displaying
\u21B5 - Not displaying
确保您的 OS 包含支持 unicode 的字体。
尝试使用此列表中的一种字体:http://unicode.org/resources/fonts.html
- Alan Wood's Unicode fonts resource
- Code2000, Code2001, and Code2002 (James Kass)
一个共享软件 Unicode 字体
- Edward Trager's index of free/libre fonts
- Fonts By Range (Alan Wood)
有关每个 Unicode 范围可用的 Unicode 字体的信息
- Gallery of Unicode Fonts
数百种免费的 Unicode 字体,每种字体都有示例图片
- Google Noto fonts
旨在作为涵盖 Unicode 标准所有脚本的字体来源,
在 Apache 2.0 许可下发布。提示和未提示的子目录
版本,捆绑或单独。
- Google能登《早
access" fonts
此存储库包含当前可用的 Noto 字体
正在开发中,因此它们可能不稳定,但可供使用和
评论。 (可以使用讨论论坛。)
- GNU Unifont
此字体包含 Unicode 基本多语言平面 (BMP) 中每个可打印代码点的字形,并定期更新。
- Junicode (Peter S. Baker)
一种基于 Unicode 的中世纪字体。
- Last Resort Font
Link 下载 Last Resort 字体及其最终用户许可协议
- 微软 Arial Unicode MS 和
Lucida Sans Unicode
- Monotype fonts
- SIL Fonts
- George Douros 的 Symbols and Ancient Scripts 字体。
Symbola 涵盖了许多 Symbol 块,包括 Unicode 8.0 字符和象形文字(表情符号)。
旧版本的 Symbola 也可在 other download sites. 获得
- UniMath
一种 OpenType 字体,它包含所有 TeX、LaTeX 和 AMS TeX 符号,以及 Unicode 范围内涵盖数学运算符的数百个其他符号,
箭头和技术符号。
我在我的应用程序中使用虚拟键盘。我试图通过 unicodes 在键盘中显示箭头键,一些 unicodes 正确显示其他显示为垃圾。
例如:
\u2191 - Displaying
\u21B5 - Not displaying
确保您的 OS 包含支持 unicode 的字体。
尝试使用此列表中的一种字体:http://unicode.org/resources/fonts.html
- Alan Wood's Unicode fonts resource
- Code2000, Code2001, and Code2002 (James Kass)
一个共享软件 Unicode 字体 - Edward Trager's index of free/libre fonts
- Fonts By Range (Alan Wood)
有关每个 Unicode 范围可用的 Unicode 字体的信息 - Gallery of Unicode Fonts
数百种免费的 Unicode 字体,每种字体都有示例图片 - Google Noto fonts
旨在作为涵盖 Unicode 标准所有脚本的字体来源, 在 Apache 2.0 许可下发布。提示和未提示的子目录 版本,捆绑或单独。 - Google能登《早
access" fonts
此存储库包含当前可用的 Noto 字体 正在开发中,因此它们可能不稳定,但可供使用和 评论。 (可以使用讨论论坛。) - GNU Unifont
此字体包含 Unicode 基本多语言平面 (BMP) 中每个可打印代码点的字形,并定期更新。 - Junicode (Peter S. Baker)
一种基于 Unicode 的中世纪字体。 - Last Resort Font
Link 下载 Last Resort 字体及其最终用户许可协议 - 微软 Arial Unicode MS 和 Lucida Sans Unicode
- Monotype fonts
- SIL Fonts
- George Douros 的 Symbols and Ancient Scripts 字体。
Symbola 涵盖了许多 Symbol 块,包括 Unicode 8.0 字符和象形文字(表情符号)。 旧版本的 Symbola 也可在 other download sites. 获得
- UniMath
一种 OpenType 字体,它包含所有 TeX、LaTeX 和 AMS TeX 符号,以及 Unicode 范围内涵盖数学运算符的数百个其他符号, 箭头和技术符号。