It appears to be loading the font. This works on html5 and does appear to be using the font there but if I build for native, non-Roman text doesn’t appear even though the font I’m using supports it.
var textField = new TextField();`
var textFormat = new TextFormat();
textFormat.font = Assets.getFont('fonts/osakamono.ttf').fontName;
textField.setTextFormat(textFormat);
text.text = 'テスト';
addChild(textField);
I upgraded to 9.0.2 and still have the problem. If I remember right, I was avoiding 9.x because of a compilation issue so on the plus side, it seems that other problem went away. But yeah it seems to still not work on native (mac in this case, though I can try linux or windows to see if there’s a difference) but does on html5.
I had this exact problem where I couldn’t use different languages ( Asian languages, Cyrillic, some funky characters from European languages etc.) and the fix I’ve posted above fixed the issue for me. I know it’s annoying to edit the OpenFL source files, but it actually helps. And BTW, I develop my project in the 8.7.9 build of OpenFL, so it works.