New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.1-beta1-SNAPSHOT can't display chinese charset #73
Comments
Pretty sure that's abug in Netbeans not in jme sdk. Can netbeans display them correctly? |
Does it work with 3.1-alpha1 for example? DarkMonkey uses |
@MeFisto94 I went into the same problem, it happens only when you use the Dark Monkey theme, but won't happen when you use other themes. |
http://dejavu-fonts.org/wiki/Main_Page and http://stackoverflow.com/a/18065154/6470939 show that. So we could now either update the SDK to use a default font (Arial?) or comparable but we shouldn't use Font XYZ because one always has to think about license implications |
I have the same problem, and even I changed DarkMonkey theme to NetBeans default theme it still can't display properly. |
@MeFisto94 Hi,the messy code didn't happened in code editor. It happened in menu ,toolbox and many other JME IDE's GUI. I haven't write anything. I have tried to change the theme, but it didn't work. |
Yeah, you can see on the right that the code is another font. |
I hope the government can solve this BUG earlier. |
|
sdk/jme3-dark-laf/src/org/jme3/netbeans/plaf/darkmonkey/DarkMonkeyLookAndFeel.java Line 109 in 83726d8
It's better to have fallback font ( it means , if there is no font, jme use system default font ). It's easily accomplished with checking font existence. I can create a PR, but I can't build current JMonkey SDK master source. ( because of #231 ? ) |
Are you sure that the Font is not present? I think the Font is present but it just cannot display the characters, in which case we'd need a check to see whether the font supports that language or not. |
Yes, you're right. I misunderstood the point.
I found a API, java.awt.Font#canDisplay. |
@MeFisto94 I created PR, would you please check it ? |
http://chuantu.biz/t5/7/1465529422x1035372876.png
The text was updated successfully, but these errors were encountered: