my application will have a place to submit a name, which gets stored on our server, and then later is displayed on a leaderboard. i'm having trouble displaying characters in other languages though. is there a font that includes characters for multiplie languages that i can embed?
Looking for font solution to support multiple languages(6 posts) (3 voices)
What input control are you using? TextInput from Feathers or something else?
I guess if you are trying to go the embed font route I assume it isn't TextInput as StageText doesn't support embeded fonts (unless you are using a Flash TextField?).
I am just setting myTextInput.textEditorProperties.fontFamily = "Helvetica";
with Feathers TextInput and even on iOS and Android, mobile devices should always fall back to some internal system font to render characters that a chosen font might not contain.
What language glyphs aren't showing up for you, and what default font/fontFamily are you trying? Are you currently only having this issue on Android devices?
You simply set an Interface and load separate font assets based on the language, is the easiest way.
For the input I am using feathers TextInput class, which is not dispalying japanese characters, haven't tried any other languages.
for other areas, I'm just showing a starling textfield which just skips any characters that aren't supported. for instance "R漢o字b仮b名y交" just displays as "Robby" even though I tried putting in additional characters.
I am able to type with other languages on the feathers TextInput class, but haven't found a way to display the text after another language was used.
I got it working, turns out my bitmap font was named "Helvetica", so this was obviously being used instead of the device font. When I stopped specifying a font name (default "Verdana"), the other characters began showing up.
Ok cool, yea I was going to say I am able to see fallback device system font glyphs for Arabic, Hebrew, and all East Asian languages in my Feathers TextInput (both desktop and iOS, don't have an Android device atm to confirm). (I'm also using the StageText backed TextInput on iOS and Android).
But then after taking this input text I am currently using TLF text engine for rendering with device and embedded CFF fonts instead of Starling TextField (expressly for the sole purpose of also getting more complete script rendering features for international language scripts, such as right-to-left, Arabic word combining, and East Asian vertical and horizontal text flows with non-Roman spacing layouts...).
So I wouldn't be able to comment on any odd issues when trying to render other language scripts with Starling/Flash TextField)
You must log in to post.