-
Notifications
You must be signed in to change notification settings - Fork 158
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
Can not display Chinese #406
Comments
I thin it comes from HaxeUi font. It's not related to Hashlink or Heaps.io
since both can handle correctly Chinese characters.
Le jeu. 6 août 2020 à 04:10, hlizard <notifications@github.com> a écrit :
… I found the neko, hashlink target of haxeui-openfl also not display
Chinese(flash and html target is right), but some diff, Chinese is missing:
[image: image]
<https://user-images.githubusercontent.com/6994037/89480559-3e7c8380-d7c8-11ea-9918-d23be8a0e262.png>
import haxe.ui.Toolkit;
import haxe.ui.components.Button;
import haxe.ui.containers.VBox;
import haxe.ui.core.Screen;
class Main {
static function main() {
trace("你好, 中国!");
trace("你好, 中国!".length);
Toolkit.init();
var main = new VBox();
var button1 = new Button();
button1.text = "按钮 1";
main.addComponent(button1);
var button2 = new Button();
button2.text = "按钮 2";
main.addComponent(button2);
var input = new TextField();
main.addComponent(input);
Screen.instance.addComponent(main);
}
}
also haxeui/haxeui-hxwidgets#25 (comment)
<haxeui/haxeui-hxwidgets#25 (comment)>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#406>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHZXQGMTYJWOERVWKAGNRLR7IGIXANCNFSM4PWDGB2A>
.
|
Maybe like openfl/openfl#2138, i will test it later(wait for the compatibility issue of haxe 4.2 to be resolved). |
This is most likely due to the used font missing the glyphs
Le ven. 26 févr. 2021 à 06:47, hlizard <notifications@github.com> a écrit :
… Maybe like openfl/openfl#2138
<openfl/openfl#2138>, i will test it later(wait
for the compatibility issue of haxe 4.2 to be resolved).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#406 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHZXQCA5S5YYULTWU42VELTA4YY7ANCNFSM4PWDGB2A>
.
|
Now the test is successful, it should be the problem of OpenFL. openfl: [9.1.0] (git b3d910401b47b2c5ae41f0e344212801f3dd2087) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the neko, hashlink target of haxeui-openfl also not display Chinese(flash and html target is right), but some diff, Chinese is missing:
also haxeui/haxeui-hxwidgets#25 (comment)
The text was updated successfully, but these errors were encountered: