Skip to main content
Inspiring
September 15, 2012
Question

Localized Text in Android

  • September 15, 2012
  • 1 reply
  • 487 views

I have been undertaking an effort to add languages to my app however I have encountered some issues.  My app allows users to add text into a movie clip and then at other points can pinch zoom that movieclip.

1.  Using device fonts disappear under rotation for classic text box

2.  Embedding fonts doesn't seem to work (and for all Chinese, Korean and Japanese characters may be too much overhead anyway).

3.  TLF introduces significant performance issues in the pinch zoom scenario

4.  Drawing the text to bitmap has some major quality issues

I am looking for any suggestions on alternate approaches to this.

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
September 15, 2012

It sounds like you have your stage set to low quality, otherwise the draw technique might have worked ok. If you're using a recent version of AIR you can use the new bitmapdata.drawWithQuality() method. Then you can create a higher quality bitmap than you would get from the current stage quality.