我在我的应用程序中使用 Jfree 图表。国际化非常适合德语、俄语、法语...但在中文、日语中,x 轴和 y 轴文本看起来像方框。如何解决这个问题?
谢谢。
最佳答案
检查下面的链接,它似乎在讨论完全相同的问题:
http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=109313
You need to ensure that you are using a font that supports the characters you are trying to display. If you see squares, that's an indication that the font doesn't have glyphs for the unicode character you are trying to show.
关于java - Jfree Chart 中日文语言不正确,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17453894/