Skip to main content
Participating Frequently
May 24, 2011
Question

Garbled/scrambled text with Air for Android & GPU mode

  • May 24, 2011
  • 1 reply
  • 1046 views

http://i.imgur.com/kOimHl.jpg

Please excuse the big image! Has anyone come across this? As you can  see the 'U' in 'Nebula' is scrambled and so are the digits below best  time.  It only happens within  the space a character would occupy. The line under 'game' is just a reflection.

I can't work out what's causing it, it's not always the same  characters that do it although the U in Nebula is always scrambled.  Sometimes digits are scrambled and sometimes the same ones are not. It  seems to occur with embedded fonts and with normal ones like Arial. I've  tried using both Classic and TLF text, and changing anti-aliasing  settings. It occurs on both dynamic and static text.

But it only happens  with GPU rendering, not CPU rendering.

I can't find any mention of this at all on Google, starting to wonder if perhaps it's just my phone? (Desire S).

Any input is greatly appreciated!

This topic has been closed for replies.

1 reply

May 24, 2011

I know you mentioned you have played around with the anti-aliasing options, but are you sure you tried selecting "use devise fonts" in the anti-alias drop down?  I had a similar problem and changing that made it work for me.

DevChaz5Author
Participating Frequently
May 24, 2011

Thanks for the fast reply! Switching to device fonts does fix the problem, but it means using some horrible default font rather than the one I want to, which I've embedded. I've tried a few more settings and Bitmap Text seems to fix it in some instances but not in others.

DevChaz5Author
Participating Frequently
May 24, 2011

I think I've found a solution that's feasible for me. It looks like drawing the textfield into bitmapData seems to fix it.